/* ==========================================================================
   Thalavam — common.css
   Loaded on EVERY page. Contains only what is shared:
   1. Fonts & tokens      5. Header + menu dialog
   2. Base / reset        6. Footer
   3. Layout & type       7. Shared components (hero, cards, accordion, CTA …)
   4. Buttons & icons     8. Motion (reveal, view-transitions)
   Page-only styles live in /static/css/pages/<page>.css
   ========================================================================== */

/* ---------- 1. Fonts & tokens ------------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/manrope-variable-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --green-950: #00150f;
  --green-900: #002219;           /* brand dark */
  --green-800: #06352a;
  --green-700: #0e4a3b;
  --green-600: #1b6652;
  --green-500: #2f8870;
  --lime-500: #a9c92f;
  --lime-400: #c0e147;            /* brand lime (logo) */
  --lime-300: #d4ed7d;
  --lime-200: #e5f4aa;
  --lime-100: #f1f9cf;

  /* neutrals (green-tinted) */
  --cream-50: #fbfbf5;
  --cream-100: #f4f5ea;           /* page background */
  --cream-200: #eaecda;
  --sage-200: #dde5d6;
  --sage-300: #c9d6c8;
  --sky-200: #d3e1e0;

  --ink: var(--green-900);
  --ink-soft: #1d3c32;
  --muted: #476158;
  --line: rgb(0 34 25 / 0.12);
  --line-strong: rgb(0 34 25 / 0.24);
  --on-dark: #fff;
  --on-dark-muted: rgb(255 255 255 / 0.72);
  --line-dark: rgb(255 255 255 / 0.16);

  /* type */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.6rem, 1.1rem + 4vw, 4.25rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 3.9vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.7vw, 3.5rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);

  /* shape & space */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 84px;
  --frame: 12px;                  /* inset of big rounded frames */

  --shadow-sm: 0 1px 2px rgb(0 34 25 / 0.06), 0 4px 14px rgb(0 34 25 / 0.05);
  --shadow-md: 0 2px 6px rgb(0 34 25 / 0.06), 0 18px 40px -12px rgb(0 34 25 / 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* masks used for CSS-drawn icons (check, plus) */
  --mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --mask-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --mask-topo: url("/static/img/shared/topo.svg");
}

/* ---------- 2. Base / reset --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }   /* smooth.js writes with behavior:"instant", so they don't fight */
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream-100);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-size-adjust: from-font;      /* keeps the fallback font the same visual size until Manrope loads */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--lime-400); color: var(--green-900); }

:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--lime-400); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 300;
  padding: 0.7rem 1.1rem; border-radius: 999px; background: var(--lime-400); color: var(--green-900);
  font-weight: 700; transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout & typography -------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(960px + var(--gutter) * 2); }
.container--text { max-width: calc(760px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }

/* soft cream → sage → sky → cream band (from the Solarion reference); both ends are cream so sections never show a hard edge */
.section--mist {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--sage-200) 30%, var(--sky-200) 62%, var(--sage-200) 86%, var(--cream-100) 100%);
}

h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; line-height: 1.2; font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.hl { color: var(--green-600); }                 /* highlighted word on light */
.on-dark .hl, .hl--lime { color: var(--lime-400); }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; text-decoration-color: var(--lime-500); }
.text-link:hover { text-decoration-color: currentColor; }
.stack { display: grid; gap: 1.1rem; justify-items: start; }
.prose p + p { margin-top: 1rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: currentColor; }

/* label above a heading. No dot: a soft blurred shadow sits behind the text instead (the omc.com treatment).
   Tune with --eyebrow-glow (colour/strength) and --eyebrow-blur. */
.eyebrow {
  --eyebrow-glow: rgb(0 34 25 / 0.16);
  --eyebrow-blur: 0.85rem;
  position: relative; isolation: isolate; display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: ""; position: absolute; z-index: -1; inset: -0.85em -1.7em; border-radius: 999px;
  background: var(--eyebrow-glow); filter: blur(var(--eyebrow-blur)); pointer-events: none;
}
.on-dark .eyebrow, .eyebrow--light { --eyebrow-glow: rgb(192 225 71 / 0.2); color: var(--on-dark-muted); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4.5vw, 3.75rem); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

.noscript-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 1rem var(--gutter); background: var(--green-900); color: #fff; font-weight: 600; }

/* ---------- 4. Buttons & icons ------------------------------------------ */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  --btn-bg: var(--green-900); --btn-fg: #fff; --btn-ic-bg: var(--lime-400); --btn-ic-fg: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem;
  min-height: 3.25rem; padding: 0.3rem 0.3rem 0.3rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.9375rem; letter-spacing: -0.005em; line-height: 1.2; text-align: left;
  cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn__icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--btn-ic-bg); color: var(--btn-ic-fg); flex: none;
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.btn__icon .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.35s var(--ease); }
.btn:hover .btn__icon .icon { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }

.btn--primary:hover { --btn-bg: var(--green-700); }
.btn--lime { --btn-bg: var(--lime-400); --btn-fg: var(--green-900); --btn-ic-bg: var(--green-900); --btn-ic-fg: var(--lime-400); }
.btn--lime:hover { --btn-bg: var(--lime-300); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-ic-bg: var(--green-900); --btn-ic-fg: var(--lime-400); }
.btn--light:hover { --btn-bg: var(--cream-200); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green-900); --btn-ic-bg: var(--green-900); --btn-ic-fg: var(--lime-400); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: rgb(0 34 25 / 0.06); border-color: var(--green-900); }
.on-dark .btn--ghost { --btn-fg: #fff; --btn-ic-bg: var(--lime-400); --btn-ic-fg: var(--green-900); border-color: rgb(255 255 255 / 0.4); }
.on-dark .btn--ghost:hover { --btn-bg: rgb(255 255 255 / 0.1); border-color: #fff; }
.btn--sm { min-height: 2.75rem; padding-left: 1.2rem; font-size: 0.875rem; gap: 0.7rem; }
.btn--sm .btn__icon { width: 2.1rem; height: 2.1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

/* round icon-only button (carousel arrows, close) */
.round-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--green-900);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.round-btn:hover:not(:disabled) { background: var(--green-900); color: var(--lime-400); border-color: var(--green-900); }
.round-btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- 5. Header + menu dialog ------------------------------------- */
#site-header { display: contents; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 14px; pointer-events: none; transition: padding 0.35s var(--ease); }
.site-header > .container { pointer-events: none; }
.site-header__pill {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.5rem; padding: 0; border-radius: 999px; border: 1px solid transparent;
  transition: padding 0.35s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-stuck { padding-block: 10px; }
.site-header.is-stuck .site-header__pill {
  padding: 0.4rem 0.45rem 0.4rem 1.25rem;
  background: rgb(244 245 234 / 0.82); border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--shadow-sm);
}
.site-header__logo { display: block; line-height: 0; border-radius: 8px; }
.site-header__logo img { height: 2rem; width: auto; }
.site-header__logo .logo--light { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.site-header__cta { display: none; }
@media (min-width: 720px) { .site-header__cta { display: inline-flex; } }

/* over a dark hero (before scrolling) the header switches to the light logo + glass button */
.site-header[data-over="dark"]:not(.is-stuck) .logo--dark { display: none; }
.site-header[data-over="dark"]:not(.is-stuck) .logo--light { display: block; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0 1.3rem;
  border-radius: 999px; background: var(--green-900); color: #fff; font-weight: 700; font-size: 0.9375rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.menu-btn:hover { background: var(--green-700); }
.menu-btn:active { transform: scale(0.97); }
.menu-btn__bars { display: grid; gap: 4px; width: 1rem; }
.menu-btn__bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-btn:hover .menu-btn__bars i:last-child { transform: translateX(-3px); }
.site-header[data-over="dark"]:not(.is-stuck) .menu-btn {
  background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header[data-over="dark"]:not(.is-stuck) .menu-btn:hover { background: rgb(255 255 255 / 0.26); }
.site-header:not(.is-stuck) .menu-btn:focus-visible { outline-color: var(--lime-400); }

/* The menu: a native <dialog> opened with showModal() — inert page, Esc, focus return and ::backdrop for free */
dialog.menu {
  position: fixed; inset: 12px 12px auto auto; margin: 0;
  width: min(30rem, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  padding: clamp(1.1rem, 3vw, 1.6rem); border: 0; border-radius: 2.25rem;
  background: #fff; color: var(--green-900); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 80px -20px rgb(0 21 15 / 0.45);
  transform-origin: top right;
  /* animate in/out of the top layer */
  opacity: 0; translate: 0 -10px; scale: 0.97;
  transition-property: opacity, translate, scale, display, overlay;
  transition-duration: 0.35s; transition-timing-function: var(--ease);
  transition-behavior: allow-discrete;
}
dialog.menu:modal { overscroll-behavior: contain; }
dialog.menu[open]:where(:not([data-closing])) {
  opacity: 1; translate: 0 0; scale: 1;
  @starting-style { opacity: 0; translate: 0 -10px; scale: 0.97; }
}
dialog.menu::backdrop {
  overflow: hidden; overscroll-behavior: contain;
  background: rgb(0 21 15 / 0);
  -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.35s; transition-timing-function: ease-out; transition-behavior: allow-discrete;
}
dialog.menu[open]:where(:not([data-closing]))::backdrop {
  background: rgb(0 21 15 / 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  @starting-style { background: rgb(0 21 15 / 0); backdrop-filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  dialog.menu { translate: 0 0; scale: 1; transition-duration: 0.1s; }
  dialog.menu::backdrop { transition-duration: 0.1s; }
}

.menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(0.5rem, 3vh, 1.5rem); }
.menu__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-left: 0.4rem; }
.menu__close {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--cream-100); color: var(--green-900); transition: background-color 0.2s, transform 0.3s var(--ease);
}
.menu__close:hover { background: var(--lime-400); transform: rotate(90deg); }
.menu__links { display: grid; gap: 0.15rem; justify-items: center; text-align: center; padding-block: 0.5rem 1.5rem; }
.menu__links a {
  display: inline-block; padding: 0.2rem 0.6rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; color: var(--green-900);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.18em;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.menu__links a:hover { color: var(--green-600); text-decoration-color: var(--lime-500); }
.menu__links a[aria-current="page"] { text-decoration-color: var(--green-900); }
.menu__cta { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.menu__secondary { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.4rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.menu__secondary a:hover { color: var(--green-900); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- 6. Footer ---------------------------------------------------- */
#site-footer { display: contents; }
.site-footer {
  position: relative; margin: 0 var(--frame) var(--frame); border-radius: var(--r-xl);
  background: var(--green-900); color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime-400);
  -webkit-mask: var(--mask-topo) center / cover no-repeat; mask: var(--mask-topo) center / cover no-repeat; opacity: 0.07;
}
.site-footer__top { display: grid; gap: 3rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.15fr 1.4fr; gap: 4rem; } }
.site-footer__brand { display: grid; gap: 1.5rem; align-content: start; max-width: 28rem; }
.site-footer__brand img { height: 2.4rem; width: auto; }
.site-footer__tag { font-size: 1.125rem; line-height: 1.5; color: var(--on-dark-muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
/* "Follow us": a text-only row under the three columns (no icons) */
.site-footer__follow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem; padding-top: 1.6rem; margin-top: 0.4rem; border-top: 1px solid var(--line-dark); }
.site-footer__follow h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-400); line-height: 1.3; }
.site-footer__follow ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.site-footer__follow a { color: var(--on-dark-muted); transition: color 0.2s; }
.site-footer__follow a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer__col h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-400); margin-bottom: 1.1rem; line-height: 1.3; }
.site-footer__col ul { display: grid; gap: 0.65rem; }
.site-footer__col a { color: var(--on-dark-muted); transition: color 0.2s; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer__col address { display: grid; gap: 0.65rem; color: var(--on-dark-muted); }
.site-footer__bottom { display: grid; gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: rgb(255 255 255 / 0.6); }
@media (min-width: 900px) { .site-footer__bottom { grid-template-columns: 1.5fr auto; gap: 3rem; align-items: start; } }
.site-footer__disclaimer { max-width: 62ch; }
.site-footer__wordmark { position: relative; height: clamp(5rem, 18vw, 17rem); overflow: hidden; pointer-events: none; user-select: none; }
.site-footer__wordmark img {
  position: absolute; left: 50%; top: 0; width: min(100% - 2 * var(--gutter), 1500px); max-width: none; translate: -50% 0; opacity: 0.95;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 98%); mask-image: linear-gradient(180deg, #000 30%, transparent 98%);
}

/* ---------- 7. Shared components ---------------------------------------- */

/* image slot: gradient placeholder → real photo. common.js adds .is-missing when the file 404s */
.media {
  --ar: 4 / 3;
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: var(--ar);
  border-radius: var(--r-lg); background: linear-gradient(145deg, var(--green-800), var(--green-600));
}
.media::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime-400); opacity: 0.1;
  -webkit-mask: var(--mask-topo) center / cover no-repeat; mask: var(--mask-topo) center / cover no-repeat;
}
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { --ar: 16 / 9; } .media--3x2 { --ar: 3 / 2; } .media--1x1 { --ar: 1; } .media--4x5 { --ar: 4 / 5; } .media--21x9 { --ar: 21 / 9; }
.is-missing > img { visibility: hidden; }
.media.is-missing::after {
  content: attr(data-ph); position: absolute; left: 0.9rem; bottom: 0.9rem; max-width: calc(100% - 1.8rem);
  padding: 0.3rem 0.7rem; border-radius: 999px; background: rgb(0 21 15 / 0.55); color: rgb(255 255 255 / 0.85);
  font: 600 0.6875rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* full-bleed background photo inside a panel */
.bgimg { position: absolute; inset: 0; z-index: -2; }
.bgimg > img { width: 100%; height: 100%; object-fit: cover; }
.bgimg.is-missing > img { visibility: hidden; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card--flat { background: rgb(255 255 255 / 0.62); border-color: rgb(255 255 255 / 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.panel-dark { position: relative; isolation: isolate; background: var(--green-900); color: var(--on-dark); border-radius: var(--r-xl); overflow: hidden; }
.panel-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime-400); opacity: 0.06;
  -webkit-mask: var(--mask-topo) center / cover no-repeat; mask: var(--mask-topo) center / cover no-repeat;
}
.panel-dark .lead, .panel-dark .muted { color: var(--on-dark-muted); }

.icon-badge { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--lime-400); color: var(--green-900); flex: none; }
.icon-badge .icon { width: 1.4rem; height: 1.4rem; stroke-width: 1.6; }
.icon-badge--soft { background: var(--lime-100); }
.icon-badge--dark { background: var(--green-900); color: var(--lime-400); }

.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--lime-100); color: var(--green-900); font-size: 0.8125rem; font-weight: 700; line-height: 1.3; }
.chip .icon { width: 1rem; height: 1rem; }
.chip--dark { background: rgb(255 255 255 / 0.12); color: #fff; }
.chip--line { background: transparent; border: 1px solid var(--line-strong); }

.checklist { display: grid; gap: 0.85rem; }
.checklist li { position: relative; padding-left: 2rem; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green-900); -webkit-mask: none; mask: none;
}
.checklist li::after {
  content: ""; position: absolute; left: 0.2rem; top: calc(0.2em + 0.2rem); width: 0.8rem; height: 0.8rem; background: var(--lime-400);
  -webkit-mask: var(--mask-check) center / contain no-repeat; mask: var(--mask-check) center / contain no-repeat;
}
.on-dark .checklist li::before, .panel-dark .checklist li::before { background: var(--lime-400); }
.on-dark .checklist li::after, .panel-dark .checklist li::after { background: var(--green-900); }

.callout { display: flex; gap: 0.9rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--cream-200); font-size: 0.9375rem; line-height: 1.55; }
.callout .icon { margin-top: 0.15rem; color: var(--green-600); }
.callout strong { display: block; margin-bottom: 0.15rem; }
.panel-dark .callout, .callout--dark { background: rgb(255 255 255 / 0.08); }
.panel-dark .callout .icon, .callout--dark .icon { color: var(--lime-400); }

/* breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a:hover { color: var(--green-900); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--green-900); }

/* inner-page hero (Solutions, Accelerators, About, Contact) */
.page-hero {
  position: relative; isolation: isolate; overflow: clip; margin: var(--frame); border-radius: var(--r-xl);
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, #ecf0e0 0%, var(--sage-200) 55%, var(--sky-200) 100%);
  text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-600); opacity: 0.12;
  -webkit-mask: var(--mask-topo) center / cover no-repeat; mask: var(--mask-topo) center / cover no-repeat;
}
.page-hero__inner { display: grid; justify-items: center; gap: 1.5rem; }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 60ch; color: var(--ink-soft); }
.page-hero .btn-row { justify-content: center; margin-top: 0.5rem; }
.page-hero__note { font-size: 0.875rem; color: var(--muted); font-style: italic; }

/* sticky jump chips (Solutions, Accelerators): <div class="jump"><div class="container"><nav class="jump__nav" data-scrollspy>…</nav></div></div> */
.jump { position: static; margin-top: 0.25rem; }
@media (min-width: 720px) { .jump { position: sticky; top: 4.75rem; z-index: 60; pointer-events: none; } }
.jump .container { pointer-events: none; }
.jump__nav {
  pointer-events: auto; display: flex; gap: 0.4rem; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0.35rem;
  overflow-x: auto; scrollbar-width: none; border-radius: 999px; border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-sm);
}
.jump__nav::-webkit-scrollbar { display: none; }
.jump__nav a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; white-space: nowrap; font-size: 0.875rem; font-weight: 600; color: var(--muted); transition: background-color 0.25s, color 0.25s; }
.jump__nav a span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; opacity: 0.65; }
.jump__nav a:hover { color: var(--green-900); background: var(--cream-200); }
.jump__nav a[aria-current="true"] { background: var(--green-900); color: #fff; }
.jump__nav a[aria-current="true"] span { color: var(--lime-400); opacity: 1; }

/* accordion: native <details>, exclusive via a shared name. The +/× marker sits next to the label.
   Markup:  <details name="faq"><summary><span class="acc-ico"><svg class="icon">…plus…</svg></span><span>Question</span></summary><div class="acc-body">…</div></details> */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.35rem 0; list-style: none; cursor: pointer;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .acc-ico {
  flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--cream-200); color: var(--green-900); transition: background-color 0.25s, rotate 0.35s var(--ease);
}
.accordion .acc-ico .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.accordion summary:hover .acc-ico { background: var(--lime-300); }
.accordion details[open] .acc-ico { background: var(--lime-400); rotate: 45deg; }
.accordion .acc-body { padding: 0 0 1.6rem 3rem; max-width: 70ch; color: var(--muted); }
.accordion .acc-body > * + * { margin-top: 0.8rem; }
.accordion details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.accordion details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .accordion details::details-content { transition: block-size 0.35s ease-in-out, content-visibility 0.35s allow-discrete; }
}
.accordion--dark { border-top-color: var(--line-dark); }
.accordion--dark details { border-bottom-color: var(--line-dark); }
.accordion--dark .acc-ico { background: rgb(255 255 255 / 0.12); color: #fff; }
.accordion--dark summary:hover .acc-ico { background: rgb(255 255 255 / 0.22); }
.accordion--dark details[open] .acc-ico { background: var(--lime-400); color: var(--green-900); }
.accordion--dark .acc-body { color: var(--on-dark-muted); }

/* FAQ block = heading column + accordion column */
.faq { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .faq { grid-template-columns: 0.8fr 1.2fr; } .faq__head { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; } }
.faq__head { display: grid; gap: 1.1rem; justify-items: start; }

/* closing call-to-action panel */
.cta-panel { margin: 0 var(--frame) var(--frame); }
.cta-panel__inner {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); text-align: center;
  background: var(--green-900); color: var(--on-dark);
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter);
  display: grid; justify-items: center; gap: 1.5rem;
}
.cta-panel__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime-400); opacity: 0.08;
  -webkit-mask: var(--mask-topo) center / cover no-repeat; mask: var(--mask-topo) center / cover no-repeat;
}
.cta-panel__inner::after { /* legibility scrim over a real photo */
  content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 100%, rgb(0 34 25 / 0.2), rgb(0 34 25 / 0.78));
}
.cta-panel h2 { max-width: 16ch; }
.cta-panel p:not(.eyebrow) { max-width: 54ch; color: var(--on-dark-muted); font-size: var(--fs-lead); }

/* data table (responsive: stacks to cards on small screens) */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: clip; }
.table-wrap caption { text-align: left; }
.table-wrap th, .table-wrap td { text-align: left; padding: 1.1rem 1.4rem; vertical-align: top; }
.table-wrap thead th { background: var(--green-900); color: #fff; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.table-wrap tbody tr + tr > * { border-top: 1px solid var(--line); }
.table-wrap tbody th { font-weight: 600; }

/* ---------- 8. Motion ---------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; }

  /* above-the-fold load-in: time based */
  @keyframes intro { from { opacity: 0; translate: 0 26px; } }
  [data-intro] { animation: intro 0.95s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }

  /* below-the-fold: scroll-driven entry. Progressive enhancement — unsupported browsers just show the content. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal { from { opacity: 0; translate: 0 38px; } }
    @keyframes reveal-scale { from { opacity: 0; translate: 0 30px; scale: 0.94; } }
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    [data-reveal="scale"] { animation-name: reveal-scale; }
    [data-reveal-d="1"] { animation-range: entry 5% entry 35%; }
    [data-reveal-d="2"] { animation-range: entry 10% entry 40%; }
    [data-reveal-d="3"] { animation-range: entry 15% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

@media print {
  .site-header, dialog.menu { display: none !important; }
  .page-hero, .site-footer, .cta-panel__inner { background: none !important; color: #000 !important; }
}
