/* ==========================================================================
   GS Group v4 design system
   Brand: navy #1a1a2e, sage #a3c1ad, white. DM Sans + DM Mono (self-hosted).
   Motif: the parallelogram slash from the GS logo.
   ========================================================================== */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/dm-sans-var.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url('../fonts/dm-sans-var-italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-mono-500.woff2') format('woff2'); }

:root {
  /* brand */
  --ink: #1a1a2e;
  --ink-2: #15152a;
  --ink-3: #0f0f20;
  --ink-raise: #222240;
  --sage: #a3c1ad;
  --sage-2: #8fb39a;
  --sage-3: #6f957c;
  --sage-soft: #cddfd2;
  --sage-tint: #e6efe8;
  --paper: #f4f3ef;
  --paper-2: #ebe9e2;
  --white: #ffffff;

  /* text */
  --on-dark: #eef0f2;
  --on-dark-2: rgba(238, 240, 242, .68);
  --on-dark-3: rgba(238, 240, 242, .46);
  --on-light: #1a1a2e;
  --on-light-2: #4e5064;
  --on-light-3: #7b7d8c;

  /* lines */
  --line-dark: rgba(255, 255, 255, .1);
  --line-dark-2: rgba(255, 255, 255, .18);
  --line-light: rgba(26, 26, 46, .12);
  --line-light-2: rgba(26, 26, 46, .22);

  /* type */
  --font: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* layout */
  --maxw: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --r-sm: 6px;
  --r: 14px;
  --r-lg: 22px;
  --frame: clamp(8px, 1vw, 14px);
  /* hero inset: inside a full-bleed frame, the extra indent that lines content up with the header (logo) column
     once the window is wider than it. Resolves against the element that uses it (100% = the frame's width). */
  --hx: max(0px, calc((100% + 2 * var(--frame) - 1600px) / 2 - var(--gutter)));
  --section-y: clamp(88px, 11vw, 168px);

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --slash: -43.2deg;              /* the logo slash: 63 across for every 67 up */
  --t: .5s var(--ease);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--ink-3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.05; letter-spacing: -.018em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--sage); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--sage); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.hidden, [hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(980px + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(64px, 7vw, 104px); }
.section--flush-top { padding-top: 0; }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--deep { background: var(--ink-3); color: var(--on-dark); }
.section--paper { background: var(--paper); color: var(--on-light); }
.section--white { background: var(--white); color: var(--on-light); }
.section--sage { background: var(--sage); color: var(--ink); }

/* light-surface helper: anything inside a light section flips text tokens */
.section--paper, .section--white, .section--sage, .surface-light {
  --fg: var(--on-light); --fg-2: var(--on-light-2); --fg-3: var(--on-light-3); --line: var(--line-light); --line-2: var(--line-light-2);
}
.section--ink, .section--deep, .surface-dark, body {
  --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --line-2: var(--line-dark-2);
}

/* rounded "sheet" that a light section sits in, over a dark page */
.sheet { border-radius: var(--r-lg); margin-inline: var(--frame); }
.sheet + .sheet { margin-top: var(--frame); }

/* subtle column grid lines for dark sections, aligned to the .wrap content box (4 columns) */
.gridlines { position: absolute; top: 0; bottom: 0; left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); pointer-events: none; z-index: 0;
  border-right: 1px solid var(--line-dark);
  background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  opacity: .6; }
.gridlines--3 { background-size: calc(100% / 3) 100%; }
.section > .wrap { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--center { align-items: center; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- type ---------- */
.display { font-size: clamp(3.1rem, 8.4vw, 8.75rem); font-weight: 500; line-height: .92; letter-spacing: -.028em; }
.h-xl { font-size: clamp(2.5rem, 5.6vw, 5.25rem); font-weight: 500; line-height: .98; letter-spacing: -.025em; }
.h-lg { font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -.022em; }
.h-md { font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.1; letter-spacing: -.018em; }
.h-sm { font-size: clamp(1.2rem, 1.5vw, 1.4rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.lead { font-size: clamp(1.12rem, 1.45vw, 1.35rem); line-height: 1.5; color: var(--fg-2); font-weight: 400; letter-spacing: -.005em; }
.body-lg { font-size: 1.1rem; line-height: 1.6; color: var(--fg-2); }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.accent { color: var(--sage); }
.section--paper .accent, .section--white .accent { color: var(--sage-3); }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--fg-2); }
.prose strong { color: var(--fg); font-weight: 600; }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
em.serifish { font-style: italic; font-weight: 400; }

/* eyebrow label with the brand slash */
.label { display: inline-flex; align-items: center; gap: .7em; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.label::before { content: ""; width: .95em; height: .55em; background: var(--sage); transform: skewX(var(--slash)); flex: none; }
.section--paper .label::before, .section--white .label::before { background: var(--sage-3); }
.section--sage .label::before { background: var(--ink); }
.label--plain::before { display: none; }

/* section heading block */
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .label { padding-top: .55em; }
.sec-head__body > * + * { margin-top: 1.25rem; }
.sec-head__body .lead { max-width: 46rem; }
.sec-head--stack { grid-template-columns: 1fr; gap: 20px; }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head--center .lead { margin-inline: auto; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } .sec-head .label { padding-top: 0; } }

/* ---------- buttons ---------- */
.btn { --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em; height: var(--bh); padding: 0 1.45em; border-radius: var(--r-sm); font-size: .98rem; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap; isolation: isolate; overflow: hidden; transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover .icon--ur { transform: translate(3px, -3px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--sage { background: var(--sage); color: var(--ink); }
.btn--sage::after { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink::after { background: var(--sage); }
.btn--ink:hover { color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white::after { background: var(--sage); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); background: transparent; }
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover { color: var(--ink); border-color: var(--fg); }
.section--paper .btn--ghost:hover, .section--white .btn--ghost:hover, .surface-light .btn--ghost:hover { color: var(--white); }
.btn--sm { --bh: 42px; font-size: .9rem; padding: 0 1.1em; }
.btn--lg { --bh: 62px; font-size: 1.05rem; padding: 0 1.7em; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* text link with arrow */
.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease), color .3s; }
.link .icon { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.link:hover { background-size: 100% 1px; }
.link:hover .icon { transform: translateX(3px); }
.link--sage { color: var(--sage); }
.section--paper .link--sage, .section--white .link--sage { color: var(--sage-3); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); transition: transform .55s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.has-open { background: rgba(15, 15, 32, .8); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-open { transform: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.site-header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(163, 193, 173, .35), var(--sage)); transform-origin: left center; transform: scaleX(0); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.is-scrolled .site-header__progress { opacity: 1; }
.menu-open .site-header__progress { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; max-width: calc(1600px + var(--gutter) * 2); margin-inline: auto; padding-inline: calc(var(--gutter) + var(--frame)); }
.brand { display: block; flex: none; position: relative; z-index: 2; }
.brand img { height: 30px; width: auto; transition: opacity .3s; }
.brand:hover img { opacity: .86; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--on-dark); opacity: .86; transition: opacity .25s, background-color .25s; }
.nav__link .icon { width: 14px; height: 14px; opacity: .7; transition: transform .45s var(--ease); }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"], .nav__item:has(.nav__panel [aria-current="page"]) > .nav__link { opacity: 1; background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"]::after, .nav__item:has(.nav__panel [aria-current="page"]) > .nav__link::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 9px; height: 3px; margin-left: -4.5px; background: var(--sage); transform: skewX(var(--slash)); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }

/* small dropdown */
.nav__panel { position: absolute; top: calc(100% + 10px); left: 50%; width: 400px; padding: 10px; border-radius: var(--r); background: rgba(20, 20, 40, .96); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
html:not(.js) .nav__item:hover .nav__panel, html:not(.js) .nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__panel > a { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; padding: 12px 34px 12px 12px; border-radius: 10px; transition: background-color .25s, opacity .3s var(--ease), transform .5s var(--ease); }
.nav__panel > a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1.5px solid var(--sage); border-right: 1.5px solid var(--sage); transform: rotate(45deg) translate(-4px, 4px); opacity: 0; transition: opacity .25s, transform .45s var(--ease); }
.nav__panel > a:hover, .nav__panel > a:focus-visible { background: rgba(255, 255, 255, .06); }
.nav__panel > a:hover::after, .nav__panel > a:focus-visible::after { opacity: 1; transform: rotate(45deg); }
.nav__panel .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(163, 193, 173, .12); color: var(--sage); transition: background-color .3s, color .3s; }
.nav__panel > a:hover .ico, .mega__card:hover .ico { background: var(--sage); color: var(--ink); }
.nav__panel .ico .icon { width: 20px; height: 20px; }
.nav__panel strong { font-weight: 600; font-size: .95rem; color: var(--on-dark); }
.nav__panel span:not(.ico):not(.mega__num) { font-size: .84rem; color: var(--on-dark-3); line-height: 1.35; }
.nav__panel [aria-current="page"] strong { color: var(--sage); }
/* items settle in one after another as a panel opens */
html.js .nav__panel a, html.js .nav__panel .mega__intro > * { opacity: 0; transform: translate3d(0, 6px, 0); }
html.js .nav__item.is-open .nav__panel a, html.js .nav__item.is-open .nav__panel .mega__intro > * { opacity: 1; transform: none; transition: background-color .25s, color .25s, opacity .35s var(--ease) calc(var(--i, 0) * 22ms + 50ms), transform .55s var(--ease) calc(var(--i, 0) * 22ms + 50ms); }

/* mega panel (Expertise) */
.nav__item--mega { position: static; }
.nav__panel--mega { top: calc(100% - 6px); width: min(1180px, calc(100vw - 2 * (var(--gutter) + var(--frame)))); padding: 0; overflow: hidden; }
.nav__panel--mega::before { top: -26px; height: 26px; }
.site-header.is-scrolled .nav__panel--mega { top: calc(100% + 6px); }
.mega { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 6fr) minmax(0, 3.3fr); }
.mega__intro { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; min-height: 312px; padding: 28px 28px 26px; border-right: 1px solid var(--line-dark); background: radial-gradient(120% 80% at 0% 100%, rgba(163, 193, 173, .1), transparent 60%); overflow: hidden; }
.mega__eyebrow { display: inline-flex; align-items: center; gap: .7em; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.mega__eyebrow::before { content: ""; width: .95em; height: .55em; background: var(--sage); transform: skewX(var(--slash)); }
.mega__title { font-size: 1.45rem; font-weight: 500; letter-spacing: -.018em; line-height: 1.15; color: var(--on-dark); max-width: 15em; }
.mega__all { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem; color: var(--sage); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.mega__all .icon { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.mega__all:hover { background-size: 100% 1px; }
.mega__all:hover .icon { transform: translateX(3px); }
.mega__art { position: absolute; z-index: -1; right: -46px; bottom: 58px; width: 250px; height: 158px; pointer-events: none; opacity: .85; }
.mega__art path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mega__art .r { stroke: rgba(238, 240, 242, .12); stroke-width: 1; }
.mega__art .p { stroke: var(--sage); stroke-width: 1.6; stroke-dasharray: 10 100; stroke-dashoffset: 110; animation: mega-run 3.4s linear infinite; filter: drop-shadow(0 0 3px rgba(163, 193, 173, .9)); }
.mega__art .p:nth-of-type(2) { animation-delay: -1.1s; animation-duration: 4.2s; }
.mega__art .p:nth-of-type(3) { animation-delay: -2.3s; animation-duration: 3.8s; }
.mega__art .n { fill: #16162c; stroke: var(--sage); stroke-width: 1; }
@keyframes mega-run { to { stroke-dashoffset: 0; } }
.mega__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; padding: 16px; align-content: start; }
.mega__list a { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .93rem; line-height: 1.3; color: var(--on-dark-2); }
.mega__list a:hover, .mega__list a:focus-visible { background: rgba(255, 255, 255, .055); color: var(--on-dark); }
.mega__num { flex: none; min-width: 1.6em; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--sage); opacity: .75; transition: opacity .25s; }
.mega__list a:hover .mega__num { opacity: 1; }
.mega__aside { display: grid; gap: 6px; align-content: start; padding: 16px; border-left: 1px solid var(--line-dark); }
.mega__card { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; padding: 14px 12px; border-radius: 10px; }
.mega__card:hover, .mega__card:focus-visible { background: rgba(255, 255, 255, .06); }
.mega__card .ico { grid-row: span 2; }
.mega__note { margin-top: 6px; padding: 14px 12px 4px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); line-height: 1.6; }
@media (max-width: 1260px) { .mega { grid-template-columns: minmax(0, 6fr) minmax(0, 3.4fr); } .mega__intro { display: none; } }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.menu-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-dark-2); margin-left: auto; transition: border-color .3s, background-color .3s; }
.menu-toggle:hover { border-color: var(--sage); }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--on-dark); transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* mobile menu: wipes in at the slash angle */
.mobile-menu { --mm-s: 94vh; position: fixed; inset: 0; z-index: 85; background: var(--ink-3); display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) calc(var(--gutter) + var(--frame)) 28px; overflow-y: auto; overscroll-behavior: contain; isolation: isolate;
  clip-path: polygon(0 0, 0 0, calc(var(--mm-s) * -1) 100%, 0 100%); visibility: hidden; transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s; }
.mobile-menu.is-open { clip-path: polygon(0 0, calc(100% + var(--mm-s)) 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path .75s var(--ease-in-out), visibility 0s; }
.mobile-menu::before { content: ""; position: absolute; z-index: -1; right: -18vw; bottom: -6vh; width: 70vw; height: 64vh; pointer-events: none; background: linear-gradient(180deg, rgba(163, 193, 173, .14), rgba(163, 193, 173, 0) 85%); clip-path: polygon(52% 0, 100% 0, 48% 100%, 0 100%); }
.mobile-menu::after { content: ""; position: absolute; z-index: -1; right: 30vw; bottom: -6vh; width: 22vw; height: 40vh; pointer-events: none; border-left: 1px solid rgba(163, 193, 173, .22); transform: skewX(var(--slash)); transform-origin: bottom; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.6rem, 6.5vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .45s var(--ease), transform .7s var(--ease), color .25s; }
.mobile-menu nav a small { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--sage); min-width: 2em; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--sage); }
.mobile-menu.is-open nav a, .mobile-menu.is-open .mobile-menu__foot > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 200ms); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; }
.mobile-menu__foot > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.mobile-menu__foot .btn-row .btn { flex: 1 1 160px; }
.mobile-menu__contact { display: grid; gap: 6px; font-size: .95rem; color: var(--on-dark-2); }
.mobile-menu__contact a:hover { color: var(--sage); }
.mobile-menu__time { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.mobile-menu__time time { color: var(--on-dark); }
body.no-scroll { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: var(--frame); background: var(--ink-3); }
.hero__frame { position: relative; min-height: calc(100svh - var(--frame) * 2); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
/* the dot globe (js/pages/home.js), in place of the team video (Anthony, 6 Oct 2026) */
.hero__glow { position: absolute; inset: 0; background:
  radial-gradient(46% 62% at 72% 44%, rgba(163, 193, 173, .13) 0%, rgba(163, 193, 173, 0) 70%),
  radial-gradient(60% 70% at 96% 0%, rgba(64, 66, 128, .4) 0%, rgba(64, 66, 128, 0) 62%); }
.hero__globe { --globe-o: 1; position: absolute; top: 48%; right: max(-9vw, -150px); width: min(62vw, 106svh); aspect-ratio: 1; transform: translateY(-50%); opacity: 0; transition: opacity 1.8s var(--ease) .2s; }
.is-loaded .hero__globe { opacity: var(--globe-o); }
.hero__globe canvas { display: block; width: 100%; height: 100%; pointer-events: auto; cursor: grab; touch-action: pan-y; }
.hero__globe.is-dragging canvas { cursor: grabbing; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, rgba(15, 15, 32, .72) 0%, rgba(15, 15, 32, .2) 30%, rgba(15, 15, 32, .38) 55%, rgba(15, 15, 32, .94) 100%),
  linear-gradient(90deg, rgba(26, 26, 46, .86) 0%, rgba(26, 26, 46, .5) 42%, rgba(26, 26, 46, .05) 80%); }
.hero__content { margin-top: auto; margin-left: var(--hx); padding: calc(var(--header-h) + 40px) calc(var(--gutter)) clamp(36px, 5vw, 64px); max-width: 1200px; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__content .label { color: var(--on-dark-2); margin-bottom: clamp(20px, 2.5vw, 32px); }
.hero__title { margin-bottom: clamp(22px, 2.6vw, 36px); }
.hero__title .accent { color: var(--sage); }
.hero__sub { max-width: 34rem; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--on-dark-2); margin-bottom: clamp(26px, 3vw, 40px); }
.hero__barwrap { position: relative; }
.hero__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: var(--hx); border-top: 1px solid var(--line-dark); background: rgba(15, 15, 32, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__bar--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__bar > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px var(--gutter) 20px; border-left: 1px solid var(--line-dark); }
.hero__bar > div:first-child { border-left: 0; }
.hero__bar dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 6px; }
.hero__bar dd { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; color: var(--on-dark); }
.hero__bar dd span { color: var(--sage); }
@media (max-width: 860px) {
  .hero__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__bar > div:nth-child(3) { border-left: 0; }
  .hero__bar > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero__bar--3 { grid-template-columns: 1fr; }
  .hero__bar--3 > div { flex-direction: row-reverse; align-items: baseline; gap: 14px; padding-top: 12px; padding-bottom: 12px; border-left: 0; }
  .hero__bar--3 > div + div { border-top: 1px solid var(--line-dark); }
  .hero__bar--3 dd { flex: none; min-width: 3.2em; }
  .hero__bar--3 dt { margin-top: 0; }
  .hero__globe { width: 96vw; right: -28vw; top: 38%; }
}
@media (max-width: 760px) {
  .hero__globe { --globe-o: .62; width: 132vw; right: auto; left: 50%; top: 27%; transform: translate(-50%, -50%); }
}
.scroll-cue { position: absolute; right: calc(var(--gutter) + var(--hx)); bottom: calc(100% + 28px); display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line-dark-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--sage); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 860px) { .scroll-cue { display: none; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: var(--frame); background: var(--ink-3); }
.page-hero__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; min-height: clamp(520px, 78svh, 820px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); }
.page-hero--short .page-hero__frame { min-height: clamp(420px, 56svh, 600px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .page-hero__media img, .is-loaded .page-hero__media video { transform: scale(1); }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 15, 32, .66) 0%, rgba(15, 15, 32, .35) 40%, rgba(15, 15, 32, .92) 100%), linear-gradient(90deg, rgba(26, 26, 46, .7), rgba(26, 26, 46, 0) 70%); }
.page-hero--plain .page-hero__frame { background: radial-gradient(120% 90% at 85% 0%, rgba(163, 193, 173, .16), transparent 55%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.page-hero__content { margin-left: var(--hx); padding: calc(var(--header-h) + 56px) var(--gutter) clamp(40px, 5vw, 72px); max-width: 1180px; }
.page-hero__content .label { margin-bottom: clamp(18px, 2.2vw, 28px); }
.page-hero__title { font-size: clamp(2.9rem, 7.2vw, 7rem); font-weight: 500; line-height: .94; letter-spacing: -.028em; margin-bottom: clamp(18px, 2.2vw, 28px); }
.page-hero__title .accent { color: var(--sage); }
.page-hero .lead { max-width: 40rem; color: var(--on-dark-2); }
.page-hero .btn-row { margin-top: clamp(24px, 3vw, 36px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 20px; }
.crumbs a:hover { color: var(--sage); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-hero__meta { display: flex; flex-wrap: wrap; padding-inline: var(--hx); border-top: 1px solid var(--line-dark); }
.page-hero__meta > div { flex: 1 1 200px; padding: 16px var(--gutter) 18px; border-left: 1px solid var(--line-dark); }
.page-hero__meta > div:first-child { border-left: 0; }
.page-hero__meta dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 4px; }
.page-hero__meta dd { font-size: 1.05rem; font-weight: 500; color: var(--on-dark); }

/* ---------- cards ---------- */
.card { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(380px circle at var(--mx, -500px) var(--my, -500px), rgba(163, 193, 173, .085), transparent 70%), rgba(255, 255, 255, .025); padding: clamp(24px, 2.4vw, 36px); transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease); }
.section--paper .card, .section--white .card, .surface-light .card { background: var(--white); border-color: var(--line-light); }
.section--white .card { background: var(--paper); }
.card--hover:hover { border-color: rgba(163, 193, 173, .5); background: rgba(163, 193, 173, .05); transform: translateY(-4px); }
.section--paper .card--hover:hover, .section--white .card--hover:hover { border-color: var(--sage-2); background: var(--white); box-shadow: 0 24px 48px -28px rgba(26, 26, 46, .28); }
.card__num { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--sage); }
.section--paper .card__num, .section--white .card__num { color: var(--sage-3); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(163, 193, 173, .12); color: var(--sage); margin-bottom: 22px; }
.section--paper .card__icon, .section--white .card__icon { background: var(--sage-tint); color: var(--sage-3); }
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin-bottom: .6em; }
.card p { color: var(--fg-2); font-size: 1rem; line-height: 1.6; }
.card .link { margin-top: 1.25rem; }

/* media card: image on top */
.media-card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-raise); isolation: isolate; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-card:hover img { transform: scale(1.05); }

/* framed image with parallax hook */
.frame-img { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-raise); }
.frame-img img { width: 100%; height: 100%; object-fit: cover; }
.frame-img[data-parallax] img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; will-change: transform; }
.frame-img__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(15, 15, 32, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }
.frame-img__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(163, 193, 173, .25); }

/* ---------- hairline rows (lists) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease), color .3s; }
.row__num { font-family: var(--mono); font-size: .8rem; color: var(--fg-3); }
.row__title { font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.018em; line-height: 1.15; }
.row__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .35s, border-color .35s, color .35s, transform .45s var(--ease); }
.row__arrow .icon { width: 18px; height: 18px; }
a.row:hover { padding-left: 14px; }
a.row:hover .row__arrow { background: var(--sage); border-color: var(--sage); color: var(--ink); transform: rotate(-45deg); }
a.row:hover .row__title { color: var(--sage); }
.section--paper a.row:hover .row__title, .section--white a.row:hover .row__title { color: var(--sage-3); }

/* tags / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--fg-2); white-space: nowrap; transition: border-color .3s, color .3s, background-color .3s; }
.chip .icon { width: 16px; height: 16px; color: var(--sage); }
.section--paper .chip .icon, .section--white .chip .icon { color: var(--sage-3); }
a.chip:hover { border-color: var(--sage); color: var(--fg); }
.chip--mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; height: 32px; }

/* ticks list */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--fg-2); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(163, 193, 173, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3c1ad' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--paper .ticks li::before, .section--white .ticks li::before { background-color: var(--sage-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f957c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }

/* ---------- stats ---------- */
/* .stats = 4 columns; .stats--3 / .stats--2 for fewer. Borders are drawn between cells. */
.stats { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats--3 { --cols: 3; }
.stats--2 { --cols: 2; }
.stat { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); min-width: 0; }
.stats .stat:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.stats--3 .stat:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
.stats--3 .stat:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.stats--2 .stat:nth-child(n) { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
.stats--2 .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.stat__value { display: flex; align-items: baseline; flex-wrap: nowrap; white-space: nowrap; gap: 0; font-size: clamp(2.6rem, 5.2vw, 5rem); font-weight: 500; line-height: .95; letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .42em; letter-spacing: -.02em; color: var(--sage); font-weight: 500; margin-left: .05em; }
.section--paper .stat__value small, .section--white .stat__value small, .section--sage .stat__value small { color: var(--sage-3); }
.stat__label { margin-top: 14px; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.stat__note { margin-top: 8px; font-size: .92rem; color: var(--fg-3); line-height: 1.45; }
@media (max-width: 960px) {
  .stats, .stats--3 { --cols: 2; }
  .stats .stat:nth-child(n) { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
  .stats .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .stats, .stats--3, .stats--2 { --cols: 1; }
  .stats .stat:nth-child(n) { border-left: 0; padding-left: 0; }
}

/* ---------- marquee ---------- */
.marquee { --gap: clamp(28px, 4vw, 64px); --speed: 40s; display: flex; overflow: hidden; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; align-items: center; gap: var(--gap); padding-right: var(--gap); min-width: 100%; animation: marquee var(--speed) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee--words .marquee__track > span { display: inline-flex; align-items: center; gap: var(--gap); font-size: clamp(2.4rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; white-space: nowrap; color: var(--fg); }
.marquee--words .marquee__track > span::after { content: ""; width: .5em; height: .28em; background: var(--sage); transform: skewX(var(--slash)); }
.marquee--words.marquee--outline .marquee__track > span { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee--logos .marquee__track img { height: clamp(40px, 4.4vw, 60px); width: auto; filter: grayscale(1) contrast(1.1); opacity: .62; transition: filter .4s, opacity .4s; }
.marquee--logos .marquee__track img:hover { filter: none; opacity: 1; }
/* [data-marquee]: one track, cloned by js/site.js to fill the width */
[data-marquee] { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
[data-marquee] > * { flex: none; }
.gs-marquee__rail { display: flex; width: max-content; animation: gs-marquee var(--marquee-dur, 40s) linear infinite; }
[data-marquee]:hover .gs-marquee__rail, [data-marquee].is-paused .gs-marquee__rail { animation-play-state: paused; }
[data-marquee][data-direction="right"] .gs-marquee__rail { animation-direction: reverse; }
[data-marquee].is-static { mask-image: none; -webkit-mask-image: none; }
[data-marquee].is-static > * { flex-wrap: wrap; justify-content: center; }
@keyframes gs-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- motion states (js/site.js) ----------
   Hidden-before-reveal only applies under html.js; js/site.js adds .is-in once (and .is-done when the
   entrance has finished). Delays: style="--d:N" = N x 90ms, data-delay="0.3" = seconds. */
html.js [data-reveal]:not(.is-done) { transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.25s var(--ease-in-out), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + var(--dl, 0s)); }
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
html.js [data-reveal="fade"]:not(.is-in) { transform: none; }
html.js [data-reveal="left"]:not(.is-in) { transform: translate3d(-36px, 0, 0); }
html.js [data-reveal="right"]:not(.is-in) { transform: translate3d(36px, 0, 0); }
html.js [data-reveal="scale"]:not(.is-in) { transform: scale(.95); }
html.js [data-reveal="blur"]:not(.is-in) { transform: translate3d(0, 14px, 0); filter: blur(10px); }
html.js [data-reveal="mask"]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
html.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
/* slash: a wipe whose edge leans like the logo slash; --slant sets the lean (default 40% of the width) */
html.js [data-reveal="slash"]:not(.is-in) { opacity: 1; transform: none; clip-path: polygon(0 0, 0 0, calc(var(--slant, 40%) * -1) 100%, 0 100%); }
html.js [data-reveal="slash"].is-in { clip-path: polygon(0 0, calc(100% + var(--slant, 40%)) 0, 100% 100%, 0 100%); }
html.js [data-reveal="slash"]:not(.is-done) { transition: clip-path 1.3s var(--ease-in-out); transition-delay: calc(var(--d, 0) * 90ms + var(--dl, 0s)); }
html.js [data-stagger]:not(.is-done) > * { transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + var(--dl, 0s)); }
html.js [data-stagger]:not(.is-in) > * { opacity: 0; transform: translate3d(0, 24px, 0); }

/* split text: words rise out of masks. The mask pads the word (and pulls the padding back with
   negative margins) so descenders, accents and italics are never clipped; once the words have landed
   the clip comes off. data-split="lines" uses GSAP SplitText when it is loaded. */
html.js [data-split]:not(.is-split):not(.is-in) { opacity: 0; }
[data-split] .w { display: inline-block; vertical-align: top; overflow: hidden; padding: .04em .22em .3em; margin: -.04em -.22em -.3em; }
html.js [data-split] .w > span { display: inline-block; transform: translate3d(0, calc(100% + .5em), 0); transition: transform 1.15s var(--ease); transition-delay: calc(min(var(--i, 0) * 40ms, 640ms) + var(--d, 0) * 90ms + var(--dl, 0s)); }
html.js [data-split].is-in .w > span { transform: none; }
[data-split].is-split-done .w { overflow: visible; }
html.js [data-split].is-split-done .w > span { transition: none; }
.gs-line-mask { padding: .04em .22em .3em; margin: -.04em -.22em -.3em; }
[data-split].is-split-done .gs-line-mask { overflow: visible !important; }
.gs-line { will-change: transform; }
[data-split].is-split-done .gs-line { will-change: auto; }

/* statement text that lights up word by word as it scrolls through */
html.js [data-highlight] .hw { opacity: .16; }
[data-highlight] .hw.on .accent, [data-highlight] .accent .hw.on { color: var(--sage); }
html.js [data-highlight].is-lit .hw { opacity: 1; }

/* SVG draw: strokes stay hidden until js/site.js has measured them */
html.js [data-draw]:not(.gs-draw-ready) { visibility: hidden; }

/* older image wipe */
html.js [data-wipe] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out); }
html.js [data-wipe].is-in { clip-path: inset(0 0 0 0); }

/* failsafe: if js/site.js never starts, show everything after 4s */
@keyframes gs-failsafe { to { opacity: 1; transform: none; clip-path: none; filter: none; visibility: visible; } }
html.js:not(.gs-ready) [data-reveal], html.js:not(.gs-ready) [data-split], html.js:not(.gs-ready) [data-stagger] > *,
html.js:not(.gs-ready) [data-draw], html.js:not(.gs-ready) [data-wipe] { animation: gs-failsafe .01s linear 4s forwards; }

/* looping CSS animations pause while their section is off screen, and inside closed menus */
.gs-off[data-gs-loop], .gs-off[data-gs-loop]::before, .gs-off[data-gs-loop]::after,
.gs-off [data-gs-loop], .gs-off [data-gs-loop]::before, .gs-off [data-gs-loop]::after,
.mobile-menu:not(.is-open) *, html.js .nav__item:not(.is-open) > .nav__panel * { animation-play-state: paused !important; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .field__label { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.field .req { color: var(--sage); }
.section--paper .field .req, .section--white .field .req { color: var(--sage-3); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--fg); font-size: 1rem; line-height: 1.4; transition: border-color .25s, background-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3c1ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field select option { color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(163, 193, 173, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background-color: rgba(163, 193, 173, .06); box-shadow: 0 0 0 4px rgba(163, 193, 173, .16); }
.section--paper .field input, .section--paper .field select, .section--paper .field textarea,
.section--white .field input, .section--white .field select, .section--white .field textarea,
.surface-light .field input, .surface-light .field select, .surface-light .field textarea { background-color: var(--white); }
.section--white .field input, .section--white .field select, .section--white .field textarea { background-color: var(--paper); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .25s, background-color .25s; }
.check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check input:checked { background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--sage); }
.check:has(input:checked) { border-color: var(--sage); background: rgba(163, 193, 173, .08); }
.check:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(163, 193, 173, .2); }
.dropzone { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 12px; border: 1.5px dashed var(--line-2); cursor: pointer; transition: border-color .25s, background-color .25s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--sage); background: rgba(163, 193, 173, .06); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(163, 193, 173, .14); color: var(--sage); flex: none; }
.section--paper .dropzone__icon, .section--white .dropzone__icon { background: var(--sage-tint); color: var(--sage-3); }
.dropzone__text strong { display: block; font-weight: 600; color: var(--fg); }
.dropzone__text span { font-size: .9rem; color: var(--fg-3); }
.form-note { font-size: .86rem; color: var(--fg-3); line-height: 1.5; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-card { border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.section--paper .form-card, .section--white .form-card { background: var(--white); border-color: var(--line-light); box-shadow: 0 40px 80px -48px rgba(26, 26, 46, .3); }
.form-card__head { margin-bottom: 28px; }
.form-card__head > * + * { margin-top: 10px; }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; gap: 16px; padding: 26px 0; text-align: left; }
.acc__btn .row__num { justify-self: start; }
.acc__btn h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.018em; line-height: 1.15; }
.acc__btn .pm { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, transform .45s var(--ease); }
.acc__btn .pm::before, .acc__btn .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.acc__btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .pm { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.acc__item.is-open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel .acc__body { padding: 0 56px 28px 72px; color: var(--fg-2); max-width: 60rem; }
@media (max-width: 640px) { .acc__btn { grid-template-columns: 40px 1fr 40px; } .acc__panel .acc__body { padding: 0 0 24px 56px; } }

/* ---------- testimonials ---------- */
.quote { position: relative; }
.quote__mark { width: 44px; height: 44px; color: var(--sage); margin-bottom: 28px; }
.quote blockquote { font-size: clamp(1.6rem, 3.2vw, 2.9rem); font-weight: 400; line-height: 1.2; letter-spacing: -.018em; color: var(--fg); text-wrap: balance; }
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.quote figcaption::before { content: ""; width: 28px; height: 1px; background: var(--sage); }
.slider { position: relative; }
.slider__viewport { display: grid; }
.slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .7s; }
.slider__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease) .1s, transform 1s var(--ease) .1s, visibility 0s; }
.slider__controls { display: flex; align-items: center; gap: 18px; margin-top: clamp(36px, 4vw, 56px); }
.slider__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s, color .3s; }
.slider__btn:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.slider__btn .icon { width: 20px; height: 20px; }
.slider__progress { flex: 1; max-width: 260px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.slider__progress i { position: absolute; inset: 0; background: var(--sage); transform-origin: left; transform: scaleX(0); }
.slider__count { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--fg-2); min-width: 4.5em; }

/* ---------- world map ---------- */
.map { position: relative; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .map-land { stroke: rgba(255, 255, 255, .2); stroke-width: 4; stroke-linecap: round; }
.map .map-on { stroke: var(--sage); stroke-width: 4.4; stroke-linecap: round; }
.map .map-marker { fill: var(--sage); r: 4.5; }
.map .map-marker.map-hq { fill: #fff; }
.map .map-pulse { fill: none; stroke: var(--sage); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; animation-delay: var(--pd, 0s); }
.map .map-pulse.map-hq { stroke: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }
.map__label { position: absolute; transform: translate(10px, -50%); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); background: rgba(15, 15, 32, .72); border: 1px solid var(--line-dark); padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
@media (max-width: 760px) { .map__label { display: none; } }

/* ---------- CTA panels ---------- */
.cta-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--frame); }
.cta-panel { position: relative; display: flex; flex-direction: column; min-height: clamp(300px, 30vw, 420px); padding: clamp(24px, 2.6vw, 40px); border-radius: var(--r-lg); background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(163, 193, 173, .12), transparent 70%), var(--ink-raise); color: var(--on-dark); overflow: hidden; isolation: isolate; transition: color .22s var(--ease-in-out) .18s; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sage); clip-path: polygon(0 0, 0 0, -95% 100%, -95% 100%); transition: clip-path .6s var(--ease-in-out); }
/* the sage wipe only on a real hover (a tap would leave it stuck half way on touch screens) and on keyboard focus;
   the text turns ink just after the wipe has passed it, and back again just before the wipe uncovers it */
.cta-panel:focus-visible { color: var(--ink); transition: color .2s var(--ease-in-out) .02s; }
.cta-panel:focus-visible::before { clip-path: polygon(0 0, 195% 0, 100% 100%, -95% 100%); transition: clip-path .8s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .cta-panel:hover { color: var(--ink); transition: color .2s var(--ease-in-out) .02s; }
  .cta-panel:hover::before { clip-path: polygon(0 0, 195% 0, 100% 100%, -95% 100%); transition: clip-path .8s var(--ease); }
}
.cta-panel .mono { color: inherit; opacity: .7; }
.cta-panel h3 { margin-top: auto; font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 500; letter-spacing: -.022em; line-height: 1.02; }
.cta-panel p { margin-top: 12px; opacity: .74; max-width: 22rem; }
.cta-panel__arrow { position: absolute; top: clamp(24px, 2.6vw, 40px); right: clamp(24px, 2.6vw, 40px); width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .8; transition: transform .6s var(--ease); }
.cta-panel__arrow .icon { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .cta-panel:hover .cta-panel__arrow { transform: rotate(-45deg); } }
.cta-panel:focus-visible .cta-panel__arrow { transform: rotate(-45deg); }
@media (max-width: 960px) { .cta-panels { grid-template-columns: 1fr; } .cta-panel { min-height: 240px; } }

/* ---------- footer: the closing moment ---------- */
.site-footer { position: relative; isolation: isolate; background: var(--ink-3); color: var(--on-dark); padding: clamp(80px, 10vw, 150px) 0 28px; overflow: hidden; }
/* a soft light that follows the pointer across the footer, and a dim horizon behind the mark */
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(640px circle at var(--mx, 70%) var(--my, 120%), rgba(163, 193, 173, .07), transparent 62%); }
.site-footer::after { content: ""; position: absolute; left: 50%; bottom: -260px; z-index: -1; width: min(1500px, 140%); height: 520px; translate: -50% 0; pointer-events: none; background: radial-gradient(closest-side, rgba(163, 193, 173, .11), rgba(64, 66, 128, .08) 55%, transparent 100%); }
.footer-rail { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); overflow: hidden; pointer-events: none; }
.footer-rail::after { content: ""; position: absolute; top: 0; left: 0; width: 22%; height: 1px; background: linear-gradient(90deg, transparent, var(--sage), transparent); animation: footer-run 7s var(--ease-in-out) infinite; }
@keyframes footer-run { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(560%); } }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.footer-cta .label { margin-bottom: 22px; }
.footer-cta h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.025em; line-height: .98; margin-bottom: 28px; }
.footer-cta h2 > span:not(.w), .footer-cta h2 .accent { color: var(--sage); }
.footer-cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.25fr); gap: 32px; }
.footer-col a[href^="mailto"], .footer-col a[href^="tel"] { white-space: nowrap; }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 1px; transition: color .25s, background-size .45s var(--ease); }
.footer-col a:hover { color: var(--sage); background-size: 100% 1px; }
.footer-col address { font-style: normal; color: var(--on-dark-2); line-height: 1.6; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-2); }
.footer-col .contact-line .icon { width: 18px; height: 18px; color: var(--sage); margin-top: 3px; }
.optronix { font-family: 'Montserrat', var(--font); font-weight: 700; letter-spacing: -.01em; }

/* where we work, with each region's local time */
.footer-live { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.footer-live__head { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 6px; }
.footer-regions { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-regions li { position: relative; display: grid; gap: 4px; padding: 0 clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--line-dark); }
.footer-regions li:first-child { border-left: 0; padding-left: 0; }
.footer-regions__name { font-size: 1.02rem; font-weight: 500; color: var(--on-dark); letter-spacing: -.01em; }
.footer-regions__meta { font-size: .84rem; color: var(--on-dark-3); }
.footer-regions__time { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-family: var(--mono); font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.footer-regions__time small { font-size: .62rem; letter-spacing: .12em; color: var(--sage); }
@media (max-width: 960px) {
  .footer-live { grid-template-columns: 1fr; }
  .footer-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .footer-regions li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* the mark: GS assembles from dots as the page reaches its end (js/gs/art.js); GROUP slides in.
   Without the art it is the plain logo image. */
.footer-mark { position: relative; margin: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 36px); }
.footer-mark img { position: relative; width: 100%; height: auto; opacity: .95; }
.footer-mark .gs-art__canvas { position: absolute; inset: auto; left: -4%; top: -22%; width: 108%; height: 138%; }
.footer-mark.gs-art-ready img.is-split { clip-path: inset(0 calc((1 - var(--asm, 1)) * (100% - var(--gs-split, 50%))) 0 var(--gs-split, 50%)); opacity: calc(.15 + var(--asm, 1) * .8); }
.footer-mark.gs-art-ready img.is-split { transition: opacity .3s; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-3); }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-bottom a { transition: color .25s; }
.footer-bottom a:hover { color: var(--sage); }
.footer-portal { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-dark-2); color: var(--on-dark-2); font-size: .86rem; font-weight: 500; transition: border-color .25s, color .25s, background-color .25s; }
.footer-portal .icon { width: 15px; height: 15px; }
.footer-portal:hover { border-color: var(--sage); color: var(--sage); }
.to-top { display: inline-flex; align-items: center; gap: 10px; }
.to-top .icon { transform: rotate(-90deg); width: 16px; height: 16px; transition: transform .45s var(--ease); }
.to-top__ring { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark-2); display: grid; place-items: center; transition: border-color .3s, background-color .3s; }
.to-top:hover .to-top__ring { border-color: var(--sage); background: rgba(163, 193, 173, .12); }
.to-top:hover .icon { transform: rotate(-90deg) translateX(3px); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols .footer-col:last-child { grid-column: 1 / -1; } .footer-regions__time { font-size: 1.25rem; } }

/* ---------- intro loader (home, first visit per session): two bands at the slash angle ---------- */
.intro-wipe { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
.intro-wipe.is-on { display: block; }
.intro-wipe i { position: absolute; top: -10%; bottom: -10%; width: 160%; left: -30%; transform: translateX(-120%) skewX(var(--slash)); }
.intro-wipe i:nth-child(1) { background: var(--sage); animation: wipe 1.15s var(--ease-in-out) forwards; }
.intro-wipe i:nth-child(2) { background: var(--ink); animation: wipe 1.15s var(--ease-in-out) .12s forwards; }
@keyframes wipe { 0% { transform: translateX(-120%) skewX(var(--slash)); } 100% { transform: translateX(120%) skewX(var(--slash)); } }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.mt-xl { margin-top: clamp(48px, 6vw, 88px); }
.mb-l { margin-bottom: 40px; }
.ta-c { text-align: center; }
.maxw-s { max-width: 34rem; }
.maxw-m { max-width: 46rem; }
.maxw-l { max-width: 60rem; }
.divider { height: 1px; background: var(--line); border: 0; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1024px) { .sticky { position: static; } }

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-700.woff2') format('woff2'); }

/* ---------- cross-page transitions: a sage band sweeps across at the slash angle ----------
   Chrome, Edge and Safari 18.2+ run this between pages of the site (cross-document view transitions);
   other browsers navigate as normal. The old page is clipped to the right of the band and the new page
   to its left; the band itself is the image pair's background. Skipped under reduced motion. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-image-pair(root) { background: var(--sage); }
::view-transition-old(root) { animation: gs-vt-old .78s cubic-bezier(.76, 0, .24, 1) both; }
::view-transition-new(root) { animation: gs-vt-new .78s cubic-bezier(.76, 0, .24, 1) both; }
::view-transition-group(site-header) { animation-duration: .5s; }
@keyframes gs-vt-new {
  from { clip-path: polygon(0 0, calc(-18vw) 0, calc(-18vw - 94vh) 100%, 0 100%); }
  to { clip-path: polygon(0 0, calc(100vw + 94vh) 0, 100vw 100%, 0 100%); }
}
@keyframes gs-vt-old {
  from { clip-path: polygon(0 0, 100vw 0, 100vw 100%, calc(-94vh) 100%); transform: none; }
  to { clip-path: polygon(calc(100vw + 94vh + 18vw) 0, 100vw 0, 100vw 100%, calc(100vw + 18vw) 100%); transform: translateX(4vw); }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- shared fixes from page builds ---------- */
.section--sage .btn--ghost { border-color: rgba(26, 26, 46, .3); }
.section--sage .btn--ghost:hover { color: var(--white); }
.section--paper :focus-visible, .section--white :focus-visible, .section--sage :focus-visible, .surface-light :focus-visible { outline-color: var(--ink); }
.nw { white-space: nowrap; }
@media (max-width: 900px) {
  .page-hero__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__meta > div { border-left: 1px solid var(--line-dark); }
  .page-hero__meta > div:nth-child(odd) { border-left: 0; }
  .page-hero__meta > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .page-hero__meta > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.footer-top + .footer-mark { padding-top: clamp(40px, 6vw, 80px); margin-top: 0; border-top: 1px solid var(--line-dark); }

/* =====================================================================================
   v5 motion components (see DESIGN.md, "Motion API")
   ===================================================================================== */

/* ---------- GS art: hero art and other generative pieces (js/gs/art.js) ---------- */
.page-hero__art { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.page-hero__art ~ .page-hero__shade { display: none; }
.gs-art__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease) .1s; }
.gs-art__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.gs-art.is-ready .gs-art__canvas { opacity: 1; }
.page-hero__art .gs-art__canvas, .page-hero__art .gs-art__svg { translate: 0 calc(var(--out, 0) * 14%); }
/* legibility shade over the art: default leaves the right side bright and darkens behind the text */
.page-hero__art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(26, 26, 46, .92) 0%, rgba(26, 26, 46, .7) 30%, rgba(26, 26, 46, .16) 60%, rgba(26, 26, 46, 0) 78%),
  linear-gradient(180deg, rgba(26, 26, 46, .5) 0%, rgba(26, 26, 46, 0) 24%, rgba(26, 26, 46, 0) 56%, rgba(15, 15, 32, .86) 100%); }
.page-hero__art[data-art-shade="bottom"]::after { background: linear-gradient(180deg, rgba(26, 26, 46, .45) 0%, rgba(26, 26, 46, 0) 26%, rgba(26, 26, 46, .2) 50%, rgba(15, 15, 32, .94) 100%); }
.page-hero__art[data-art-shade="center"]::after { background: radial-gradient(60% 62% at 50% 52%, rgba(26, 26, 46, .88), rgba(26, 26, 46, .45) 60%, rgba(26, 26, 46, .1) 100%), linear-gradient(180deg, rgba(26, 26, 46, .4), transparent 30%, transparent 70%, rgba(15, 15, 32, .7)); }
.page-hero__art[data-art-shade="none"]::after { display: none; }
@media (max-width: 760px) {
  .page-hero__art::after, .page-hero__art[data-art-shade]::after { display: block; background: linear-gradient(180deg, rgba(26, 26, 46, .3) 0%, rgba(26, 26, 46, .04) 20%, rgba(26, 26, 46, .5) 40%, rgba(26, 26, 46, .88) 64%, var(--ink) 100%); }
  /* phones: the art gets its own band under the header and the copy sits on plain navy below it, so small mono
     text (breadcrumb, eyebrow) never lands on bright dots. Stops are in px because the band is a fixed height. */
  .page-hero:not(.ts-hero):not(.contact-hero):not(.status) .page-hero__frame:has(> .page-hero__art) > .page-hero__content { padding-top: calc(var(--header-h) + 128px); }
  .page-hero:not(.ts-hero):not(.status) .page-hero__art::after { background: linear-gradient(180deg, rgba(15, 15, 32, .55) 0px, rgba(26, 26, 46, .2) 64px, rgba(26, 26, 46, .02) 108px, rgba(26, 26, 46, .06) 160px, rgba(26, 26, 46, .74) 204px, rgba(26, 26, 46, .95) 238px, var(--ink) 100%); }
}
/* light tone (navy on paper): a paper shade instead of the navy one */
.page-hero__art[data-art-tone="light"]::after { background: linear-gradient(90deg, rgba(244, 243, 239, .94) 0%, rgba(244, 243, 239, .72) 30%, rgba(244, 243, 239, .12) 62%, rgba(244, 243, 239, 0) 80%); }
/* art as a background anywhere: .art-fill covers its nearest positioned ancestor, with no shade */
.art-fill { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
/* slash art: slats drift apart in depth as the hero scrolls away and lean towards the pointer */
.gs-art--slash .gs-slat { transform: translate(calc((var(--hp, 0) * -90px + var(--px, 0) * 26px) * var(--z, 1)), calc((var(--hp, 0) * 50px + var(--py, 0) * 12px) * var(--z, 1))); }
html.js .gs-art--slash:not(.is-ready) .gs-slat { opacity: 0; transform: translate(calc(-60px * var(--z, 1)), calc(56px * var(--z, 1))); }
html.js .gs-art--slash .gs-slat { transition: opacity 1.2s var(--ease) calc(var(--k, 0) * 55ms + .1s), transform 1.6s var(--ease) calc(var(--k, 0) * 55ms + .1s); }
html.js .gs-art--slash.is-ready .gs-slat { transition: opacity 1.2s var(--ease) calc(var(--k, 0) * 55ms + .1s), transform .2s linear; }
.gs-slat__run { stroke-dasharray: 7 93; stroke-dashoffset: 100; opacity: .85; animation: gs-slat-run var(--rd, 6s) linear var(--ro, 0s) infinite; filter: drop-shadow(0 0 4px rgba(163, 193, 173, .8)); }
.gs-slat__run--main { stroke-dasharray: 12 88; }
@keyframes gs-slat-run { to { stroke-dashoffset: 0; } }
/* type art (404): the text keeps its place; the dots take over once drawn */
.gs-art--type { position: relative; }
.gs-art__canvas--bleed { inset: auto; left: -6%; top: -30%; width: 116%; height: 144%; }
.gs-art--type > :not(canvas) { transition: opacity .9s var(--ease) .15s; }
.gs-art--type.gs-art-ready > :not(canvas) { opacity: 0; }

/* ---------- slash divider: three slashes cut in and a hairline runs out from them ---------- */
.slash-divider { position: relative; display: flex; align-items: center; gap: 7px; height: 24px; color: var(--sage); }
.section--paper .slash-divider, .section--white .slash-divider, .surface-light .slash-divider { color: var(--sage-3); }
.slash-divider > i { flex: none; width: 20px; height: 9px; background: currentColor; transform: skewX(var(--slash)); }
.slash-divider > i:nth-child(2) { opacity: .55; }
.slash-divider > i:nth-child(3) { opacity: .25; }
.slash-divider__line { position: relative; flex: 1; height: 1px; margin-left: 8px; background: var(--line-2); overflow: hidden; transform-origin: left center; }
.slash-divider__line::after { content: ""; position: absolute; top: 0; left: 0; width: 18%; height: 1px; background: linear-gradient(90deg, transparent, currentColor, transparent); transform: translateX(-100%); }
html.js .slash-divider > i { opacity: 0; transform: translate3d(-24px, 0, 0) skewX(var(--slash)); transition: opacity .6s var(--ease), transform .9s var(--ease); }
html.js .slash-divider > i:nth-child(2) { transition-delay: .08s; }
html.js .slash-divider > i:nth-child(3) { transition-delay: .16s; }
html.js .slash-divider .slash-divider__line { transform: scaleX(0); transition: transform 1.4s var(--ease) .25s; }
html.js .slash-divider.is-in > i:nth-child(1) { opacity: 1; transform: skewX(var(--slash)); }
html.js .slash-divider.is-in > i:nth-child(2) { opacity: .55; transform: skewX(var(--slash)); }
html.js .slash-divider.is-in > i:nth-child(3) { opacity: .25; transform: skewX(var(--slash)); }
html.js .slash-divider.is-in .slash-divider__line { transform: scaleX(1); }
.slash-divider.is-in .slash-divider__line::after { animation: slash-run 2.4s var(--ease-in-out) 1s 1 forwards; }
@keyframes slash-run { to { transform: translateX(560%); } }
.slash-divider--center { justify-content: center; }
.slash-divider--center .slash-divider__line { flex: 0 1 240px; }

/* small slash marks: inline <span class="slash-mark"></span>, a stepping trio <span class="slash-steps"><i></i><i></i><i></i></span> */
.slash-mark { display: inline-block; width: .95em; height: .55em; background: var(--sage); transform: skewX(var(--slash)); vertical-align: .05em; }
.slash-steps { display: inline-flex; gap: .2em; align-items: flex-end; }
.slash-steps i { width: .7em; height: .4em; background: var(--sage); transform: skewX(var(--slash)); }
.slash-steps i:nth-child(2) { height: .7em; opacity: .7; }
.slash-steps i:nth-child(3) { height: 1em; opacity: .4; }

/* data-cut: the top edge of a section comes in at an angle and settles flat as it scrolls into view */
html.js [data-cut] { clip-path: polygon(0 calc(var(--cut, 1) * var(--cut-h, clamp(48px, 8vw, 140px))), 100% 0, 100% 100%, 0 100%); }

/* data-pin: a sticky stage held while --p runs from 0 to 1 */
html.js [data-pin].is-pinned { height: calc(100svh + var(--pin-len, 1.5) * 100svh); padding-block: 0; }
html.js [data-pin].is-pinned > .pin__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }

/* ---------- process: numbered steps on a rail that fills as you scroll ---------- */
.process-rail { --n: 4; position: relative; list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 32px); }
.process-rail__track { position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-2); pointer-events: none; }
.process-rail__fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(163, 193, 173, .4), var(--sage)); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.process-rail__head { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #f1f7f2; box-shadow: 0 0 0 4px rgba(163, 193, 173, .2), 0 0 18px 4px rgba(163, 193, 173, .55); opacity: calc(var(--p, 0) * 40); }
.process-rail__step { position: relative; padding-top: 44px; min-width: 0; }
.process-rail__step::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .5s var(--ease), background-color .5s; }
.section--ink .process-rail__step::before { background: var(--ink); }
.section--paper .process-rail__step::before, .section--white .process-rail__step::before { background: var(--paper); }
.process-rail__step.is-lit::before { box-shadow: inset 0 0 0 4px var(--ink-3), inset 0 0 0 8px var(--sage), 0 0 16px rgba(163, 193, 173, .5); }
.section--paper .process-rail__step.is-lit::before, .section--white .process-rail__step.is-lit::before { box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 8px var(--sage-3); }
.process-rail__num { display: block; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; color: var(--fg-3); margin-bottom: 12px; transition: color .5s; }
.process-rail__step.is-lit .process-rail__num { color: var(--sage); }
.section--paper .process-rail__step.is-lit .process-rail__num, .section--white .process-rail__step.is-lit .process-rail__num { color: var(--sage-3); }
.process-rail__title { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.process-rail__text { margin-top: 8px; font-size: .98rem; color: var(--fg-2); }
@supports (width: 1cqw) { .process-rail__track { container-type: size; } .process-rail__head { translate: calc(var(--p, 0) * 100cqw) 0; } }
@media (max-width: 899px) {
  .process-rail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .process-rail__track { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .process-rail__fill { transform-origin: center top; transform: scaleY(var(--p, 0)); }
  .process-rail__head { left: 50%; top: 0; translate: 0 calc(var(--p, 0) * 100cqh); }
  .process-rail__step { padding: 0 0 0 44px; }
  .process-rail__step::before { top: 2px; }
}
.process-rail--vertical { grid-template-columns: minmax(0, 1fr); }
.process-rail--vertical .process-rail__track { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
.process-rail--vertical .process-rail__fill { transform-origin: center top; transform: scaleY(var(--p, 0)); }
.process-rail--vertical .process-rail__head { left: 50%; top: 0; translate: 0 calc(var(--p, 0) * 100cqh); }
.process-rail--vertical .process-rail__step { padding: 0 0 0 44px; }
.process-rail--vertical .process-rail__step::before { top: 2px; }

/* ---------- tabs ---------- */
.tabs__list { position: relative; display: inline-flex; flex-wrap: nowrap; gap: 4px; max-width: 100%; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.tabs__list::-webkit-scrollbar { display: none; }
.section--paper .tabs__list, .section--white .tabs__list { background: var(--white); }
.tabs__list [role="tab"] { position: relative; z-index: 1; flex: none; white-space: nowrap; height: 42px; padding: 0 18px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--fg-2); transition: color .3s; }
.tabs__list [role="tab"]:hover { color: var(--fg); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; z-index: 0; left: 0; top: 0; width: var(--w, 0); height: var(--h, 0); transform: translate(var(--x, 0), var(--y, 0)); border-radius: 999px; background: var(--sage); transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); }
[role="tabpanel"].is-active { animation: tab-in .6s var(--ease) both; }
@keyframes tab-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- live: pulsing dot, status pill, clocks ---------- */
.live-dot { position: relative; display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--sage); animation: gs-ping 2.4s var(--ease) infinite; }
@keyframes gs-ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.status-pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); background: rgba(255, 255, 255, .03); }
[data-clock] { font-variant-numeric: tabular-nums; }

/* ---------- pointer: spotlight, magnetic, roll ---------- */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(460px circle at var(--mx, -999px) var(--my, -999px), rgba(163, 193, 173, .12), transparent 46%); opacity: 0; transition: opacity .5s; }
[data-spotlight]:hover::after { opacity: 1; }
[data-magnetic] { transition: translate .2s linear; }
.has-roll .roll { position: relative; display: inline-flex; }
.roll__vis { position: relative; display: inline-flex; overflow: hidden; vertical-align: bottom; line-height: 1.25; padding-block: .06em; margin-block: -.06em; }
.roll__row { display: inline-flex; white-space: pre; }
.roll__row + .roll__row { position: absolute; left: 0; top: 100%; }
.roll__c { display: inline-block; transition: transform .5s var(--ease); transition-delay: calc(var(--ci) * 12ms); }
.has-roll:hover .roll__c, .has-roll:focus-visible .roll__c { transform: translateY(-100%); }

/* ---------- statement text and dark panels ---------- */
/* .statement: a large paragraph, usually with data-highlight. .panel: a raised dark panel (works inside light
   sheets too); add data-spotlight for the soft pointer glow and data-tilt for a slight 3D lean. */
.statement { font-size: clamp(1.85rem, 4.1vw, 3.8rem); font-weight: 500; line-height: 1.1; letter-spacing: -.022em; color: var(--fg); max-width: 23em; text-wrap: pretty; }
.statement .accent { color: var(--sage); }
.section--paper .statement .accent, .section--white .statement .accent { color: var(--sage-3); }
.statement--sm { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 44px); background: linear-gradient(180deg, var(--ink-raise), var(--ink)); border: 1px solid var(--line-dark); color: var(--on-dark);
  --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --line-2: var(--line-dark-2); }
.panel--deep { background: var(--ink-3); }
.panel__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }

/* ---------- section rail (opt in: data-rail="Label" on 3+ sections) ---------- */
.gs-rail { position: fixed; z-index: 60; left: max(var(--frame), calc((100vw - var(--maxw)) / 2 - 64px)); top: 50%; transform: translate(-10px, -50%); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s linear .5s; }
.gs-rail.is-on { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.gs-rail ol { position: relative; list-style: none; display: grid; gap: 2px; padding: 8px 3px; border-radius: 999px; background: rgba(15, 15, 32, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.gs-rail__track { position: absolute; left: 50%; top: 19px; bottom: 19px; width: 1px; margin-left: -.5px; background: rgba(255, 255, 255, .1); pointer-events: none; z-index: 1; }
.gs-rail__fill { position: absolute; inset: 0; background: var(--sage); transform-origin: top; transform: scaleY(var(--p, 0)); }
.gs-rail a { position: relative; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.gs-rail__mark { width: 8px; height: 3px; background: #4a4c63; transform: skewX(var(--slash)); transition: width .4s var(--ease), height .4s var(--ease), background-color .3s; box-shadow: 0 0 0 3px rgba(15, 15, 32, .9); }
.gs-rail a.is-past .gs-rail__mark { background: rgba(163, 193, 173, .7); }
.gs-rail a.is-active .gs-rail__mark { width: 13px; height: 5px; background: var(--sage); }
.gs-rail a:hover .gs-rail__mark { background: var(--on-dark); }
.gs-rail__label { position: absolute; left: calc(100% + 14px); top: 50%; display: flex; gap: 10px; align-items: center; transform: translate(-6px, -50%); white-space: nowrap; padding: 7px 12px; border-radius: 8px; background: rgba(15, 15, 32, .9); border: 1px solid rgba(255, 255, 255, .1); font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); opacity: 0; pointer-events: none; transition: opacity .25s, transform .45s var(--ease); }
.gs-rail__num { color: var(--sage); }
.gs-rail a:hover .gs-rail__label, .gs-rail a:focus-visible .gs-rail__label { opacity: 1; transform: translate(0, -50%); }
/* only where the side gutter can hold it clear of the sheets' content (it would sit on the sheet edge below 1600px) */
@media (max-width: 1599px) { .gs-rail { display: none; } }


/* ---------- reduced motion: everything composed and still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-split], html.js [data-split] .w > span, html.js [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  html.js [data-wipe], html.js [data-cut] { clip-path: none !important; }
  html.js [data-highlight] .hw { opacity: 1 !important; }
  html.js .slash-divider > i { transform: skewX(var(--slash)) !important; }
  html.js .slash-divider .slash-divider__line { transform: none !important; }
  html.js .slash-divider > i:nth-child(2) { opacity: .55 !important; }
  html.js .slash-divider > i:nth-child(3) { opacity: .25 !important; }
  html.js .slash-divider > i:nth-child(1) { opacity: 1 !important; }
  .marquee__track, .gs-marquee__rail { animation: none !important; }
  .intro-wipe { display: none !important; }
}

/* heading accent sweep (js/site.js): each accent word fills from the heading colour to the accent colour, left to right */
.accent.is-sweep .sw-word {
  background-image: linear-gradient(90deg, var(--sw-on) 0%, var(--sw-on) 45%, var(--sw-off) 55%, var(--sw-off) 100%);
  background-size: 220% 100%; background-repeat: no-repeat;
  background-position: calc(100% - var(--f, 0) * 100%) 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* section rail on the right, next to the scrollbar (Anthony, 6 Oct 2026) */
.gs-rail { left: auto; right: 10px; transform: translate(10px, -50%); }
.gs-rail.is-on { transform: translate(0, -50%); }
.gs-rail__label { left: auto; right: calc(100% + 14px); transform: translate(6px, -50%); }
.gs-rail a:hover .gs-rail__label, .gs-rail a:focus-visible .gs-rail__label { transform: translate(0, -50%); }
@media (min-width: 1280px) and (max-width: 1599px) { .gs-rail { display: block; } }

/* home headline is Joe's line (7 Oct 2026), longer than the old two-word pair: a size that keeps it to three lines */
.hero__title--long { font-size: clamp(2.6rem, 6.1vw, 6.6rem); line-height: .96; max-width: 15ch; }

/* cookie choices (js/consent.js, 14 Oct 2026): a quiet panel bottom left on the first visit; the footer's
   "Cookie settings" opens it again. Not a modal: the page stays usable behind it. */
.cc { position: fixed; z-index: 95; left: calc(var(--frame) + 12px); bottom: calc(var(--frame) + 12px); width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 22px 20px; border-radius: var(--r-lg); background: rgba(34, 34, 64, .94); color: var(--on-dark); border: 1px solid var(--line-dark-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .75);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --line-2: var(--line-dark-2);
  opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.cc.is-in { opacity: 1; transform: none; }
.cc[hidden], .cc [hidden] { display: none !important; }
.cc .label { margin-bottom: 10px; }
.cc__title { font-size: 1.3rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; outline: none; }
.cc__text { margin-top: 8px; font-size: .92rem; line-height: 1.55; color: var(--on-dark-2); }
.cc__text a { color: var(--sage); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.cc__prefs { margin-top: 14px; border-top: 1px solid var(--line-dark); }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
label.cc__row { cursor: pointer; }
.cc__row strong { display: block; font-size: .92rem; font-weight: 500; color: var(--on-dark); }
.cc__row span { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.45; color: var(--on-dark-3); }
.cc__row .cc__always { flex: none; margin: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.cc__switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid var(--line-dark-2); cursor: pointer; transition: background-color .25s, border-color .25s; }
.cc__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-dark); transition: transform .3s var(--ease), background-color .25s; }
.cc__switch:checked { background: var(--sage); border-color: var(--sage); }
.cc__switch:checked::after { transform: translateX(18px); background: var(--ink); }
.cc__switch:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.cc__more { margin-left: auto; padding: 6px 2px; font-size: .88rem; color: var(--on-dark-2); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; transition: color .25s; }
.cc__more:hover { color: var(--on-dark); }
.no-scroll .cc { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .cc { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px 16px 16px; }
  .cc__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .cc { transform: none; transition: opacity .2s; } }

/* footer: the group companies strip (gs-group.io/group/companies.js, shared by every group site) and the cookie links */
.footer-group { margin-top: clamp(28px, 3vw, 40px); }
.footer-bottom .footer-cookie { padding: 0; font-size: inherit; color: inherit; transition: color .25s; }
.footer-bottom .footer-cookie:hover { color: var(--sage); }

/* phones: sideways reveals rise instead, so an element waiting off to the right never widens the page */
@media (max-width: 760px) {
  html.js [data-reveal="right"]:not(.is-in), html.js [data-reveal="left"]:not(.is-in) { transform: translate3d(0, 24px, 0); }
}
