/* =====================================================================
   Helix Overseas — design system (v2)
   1. Fonts & tokens   2. Base   3. Layout   4. Type   5. Buttons & bits
   6. Header & menus   7. Hero   8. Sections   9. Components
   10. Footer  11. Motion  12. Responsive
   ===================================================================== */

/* 1. Fonts & tokens ---------------------------------------------------- */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-var-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  /* colour — taken from the logo (royal blue + its darker fold), on warm paper and deep navy */
  --paper: #FAF9F6;
  --paper-2: #F2F1EC;
  --white: #FFFFFF;
  --ink: #0B1530;
  --text: #3B4561;
  --muted: #6A7389;
  --line: #E4E4E0;
  --line-2: #D6D7D3;
  --blue: #0542BE;
  --blue-d: #03298B;
  --blue-l: #EAF0FC;
  --blue-sky: #8DAEF6;
  --navy: #071433;
  --navy-2: #0D1F47;
  --on-dark: #C3CDE4;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(11, 21, 48, .04), 0 12px 32px -12px rgba(11, 21, 48, .14);
  --shadow-lg: 0 30px 60px -24px rgba(7, 20, 51, .35);
  --header-h: 76px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
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 { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a, li a.inline { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* page-to-page cross-fade (browser built-in, no JavaScript) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* 3. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .eyebrow { color: var(--blue-sky); }
.section--dark .eyebrow::before { background: var(--blue-sky); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split--center { align-items: center; }
.split--4-6 { grid-template-columns: 4fr 6fr; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 4. Type --------------------------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1, h2, .display { font-family: var(--serif); font-weight: 400; letter-spacing: -.022em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.6vw, 6.25rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
h3 { font: 600 1.2rem/1.3 var(--sans); letter-spacing: -.01em; }
h4 { font: 600 1rem/1.35 var(--sans); }
h1 em, h2 em, .display em { font-style: italic; color: var(--blue); }
.section--dark h2 em, .on-dark em { color: var(--blue-sky); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--text); max-width: 60ch; }
.section--dark .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
strong { color: var(--ink); font-weight: 600; }
.section--dark strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.eyebrow .num { color: var(--muted); font-variant-numeric: tabular-nums; }

.sec-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .lead { margin-top: 22px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 760px; }

/* 5. Buttons & small bits ----------------------------------------------- */
/* Buttons — rolling label + arrow bubble (markup added by build.mjs), magnetic pull in main.js */
.btn {
  --bg: var(--blue); --fg: #fff; --fill: var(--navy); --bubble: rgba(255, 255, 255, .16); --bubble-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 .98rem/1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate; will-change: transform;
  transition: box-shadow .4s var(--ease), color .45s var(--ease), border-color .4s;
}
.btn.has-icon { padding-right: 7px; }
.btn::before { /* fill that rises from the bottom in a soft curve */
  content: ''; position: absolute; left: -10%; right: -10%; top: 100%; height: 220%; z-index: -1;
  border-radius: 50% 50% 0 0; background: var(--fill); transition: top .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { top: -60%; border-radius: 0; }
.btn:hover { box-shadow: 0 14px 30px -14px rgba(5, 42, 140, .55); }
.btn-label { position: relative; display: block; overflow: hidden; line-height: 1.25; }
.btn-label > span { display: block; transition: transform .55s var(--ease); }
.btn-label > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn-label > span { transform: translateY(-100%); }
.btn-icon {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  margin-left: 6px; background: var(--bubble); color: var(--bubble-fg); overflow: hidden;
  transition: transform .55s var(--ease), background-color .4s, color .4s;
}
.btn-icon .i { position: absolute; width: 18px; height: 18px; transition: transform .55s var(--ease); }
.btn-icon .i:last-child { transform: translateX(-180%); }
.btn:hover .btn-icon { transform: scale(1.06); }
.btn:hover .btn-icon .i:first-child { transform: translateX(180%); }
.btn:hover .btn-icon .i:last-child { transform: none; }
.btn > .i { width: 1.2em; height: 1.2em; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); --bubble: var(--blue); border-color: var(--line-2); }
.btn--ghost:hover { --fg: #fff; border-color: var(--ink); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--blue-l); --bubble: var(--blue); }
.btn--glass { --bg: rgba(255, 255, 255, .06); --fg: #fff; --fill: #fff; --bubble: var(--blue); border-color: rgba(255, 255, 255, .22); }
.btn--glass:hover { --fg: var(--ink); box-shadow: none; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: .92rem; }
.btn--sm.has-icon { padding-right: 5px; }
.btn--sm .btn-icon { width: 34px; height: 34px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 14px; border-color: var(--blue); color: var(--blue); }
.section--dark .link-arrow { color: #fff; border-color: rgba(255,255,255,.25); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 500 .92rem/1.2 var(--sans); color: var(--ink); }
.chip .i { color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.icon-tile { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blue-l); color: var(--blue); }
.icon-tile .i { width: 28px; height: 28px; }
.section--dark .icon-tile { background: rgba(141, 174, 246, .12); color: var(--blue-sky); }

.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); font: 600 .9rem/1 var(--sans); }

/* 6. Header & menus ----------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease), background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled { background: rgba(250, 249, 246, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { width: 104px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 0; background: none;
  font: 500 .95rem/1 var(--sans); color: var(--ink); transition: background-color .25s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(11, 21, 48, .05); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-link .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-item { position: relative; }
.nav-item.is-open > .nav-link .i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 92vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background-color .2s; }
.mega a:hover { background: var(--paper); }
.mega img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.mega strong { display: block; font-size: .95rem; }
.mega span span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.mega .mega-all { grid-column: 1 / -1; justify-content: space-between; margin-top: 4px; padding: 16px 18px; background: var(--paper); font-weight: 600; color: var(--ink); }
.mega .mega-all:hover { background: var(--blue-l); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); align-items: center; justify-content: center; color: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav > a { font: 400 clamp(1.9rem, 8vw, 2.6rem)/1.15 var(--serif); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .mobile-group { margin: 26px 0 8px; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-sky); }
.mobile-menu .mobile-sub a { display: block; padding: 9px 0; color: var(--on-dark); font-size: 1.05rem; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .brand img { filter: brightness(0) invert(1); }
body.menu-open .nav-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
body.menu-open .header-cta .btn { visibility: hidden; }

/* 7. Hero --------------------------------------------------------------- */
.helix-art { position: absolute; left: 0; width: 100%; height: clamp(160px, 22vw, 260px); pointer-events: none; fill: none; stroke-linecap: round; }
.helix-art__a { stroke: var(--blue); stroke-width: 1.6; opacity: .55; }
.helix-art__b { stroke: var(--blue-sky); stroke-width: 1.6; opacity: .5; }
.helix-art__rungs { stroke: var(--blue-sky); stroke-width: 1; opacity: .25; }

.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 0; overflow: clip; }
.hero .helix-art { top: calc(var(--header-h) + 12%); opacity: .7; }
.hero-top { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero h1 { max-width: 13ch; }
.hero-side { max-width: 380px; padding-bottom: 12px; }
.hero-side .lead { font-size: 1.08rem; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.avatar-stack { display: flex; flex: none; }
.avatar-stack img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); margin-left: -10px; }
.avatar-stack img:first-child { margin-left: 0; }

.hero-media { position: relative; margin-top: clamp(44px, 6vw, 72px); }
.hero-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 7; background: var(--navy); }
.hero-photo img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,51,0) 45%, rgba(7,20,51,.55)); }
.hero-badges { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 40px); display: flex; justify-content: space-between; align-items: end; gap: 16px; z-index: 2; }
.glass {
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.6); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.hero-quote { max-width: 360px; padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
.hero-quote .big { grid-row: span 2; font: 400 3.4rem/1 var(--serif); color: var(--blue); letter-spacing: -.03em; }
.hero-quote .big small { font-size: 1rem; color: var(--ink); font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin-left: 2px; }
.hero-quote p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink); }
.hero-quote cite { font-style: normal; font-size: .8rem; color: var(--muted); }
.hero-steps { padding: 18px 20px; min-width: 250px; }
.hero-steps h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero-steps li { display: flex; align-items: center; gap: 10px; font: 500 .92rem/1.2 var(--sans); color: var(--ink); }
.hero-steps .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
.hero-steps .dot .i { width: 12px; height: 12px; }
.hero-steps .is-now .dot { background: #fff; border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(5,66,190,.15); }
.hero-steps .is-next { color: var(--muted); }
.hero-steps .is-next .dot { background: var(--line); }

/* inner page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 8vw, 100px); overflow: clip; }
.page-hero .helix-art { top: auto; bottom: 0; opacity: .5; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.page-hero .lead { margin: 26px 0 32px; }
.page-hero--simple .container > * { max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.breadcrumb a:hover { color: var(--blue); }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.frame img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.frame--wide { aspect-ratio: 4 / 3; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* 8. Sections ------------------------------------------------------------ */
/* who-we-guide marquee */
.marquee { padding: clamp(36px, 5vw, 56px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee-label { text-align: center; margin-bottom: 22px; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee-track { display: flex; width: max-content; gap: 12px; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .chip { padding: 12px 22px; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

/* big statement whose words light up while scrolling */
.statement { font: 400 clamp(1.8rem, 3.6vw, 3.2rem)/1.22 var(--serif); letter-spacing: -.018em; color: var(--ink); max-width: 30ch; }
.statement em { color: var(--blue); }
.statement-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.statement-foot .num { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.statement-foot p { margin-top: 10px; color: var(--muted); font-size: .95rem; max-width: 30ch; }

/* programs — horizontal scroll on desktop, swipe row on phones */
.hscroll { overflow: hidden; }
.hscroll-track { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; }
.hscroll-pad { width: max(0px, calc((100vw - var(--container)) / 2 - var(--gutter))); flex: none; }
.program {
  position: relative; flex: none; width: clamp(300px, 30vw, 420px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  color: #fff; background: var(--navy); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
}
.program img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.program::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,20,51,.05) 25%, rgba(7,20,51,.9) 100%); }
.program:hover img { transform: scale(1.06); }
.program-body { padding: 28px; }
.program .tag { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 .78rem/1 var(--sans); letter-spacing: .02em; }
.program h3 { color: #fff; font: 400 clamp(1.7rem, 2.4vw, 2.2rem)/1.1 var(--serif); letter-spacing: -.015em; }
.program p { margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.5; }
.program .go { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.program:hover .go { transform: rotate(-45deg); background: var(--blue); color: #fff; }
.program .num { position: absolute; top: 28px; left: 28px; font: 500 .85rem/1 var(--sans); color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
@media (min-width: 901px) {
  /* cards sized to the screen height so the pinned row always fits */
  .program { width: auto; height: min(54vh, 520px); aspect-ratio: 4 / 5; }
  section:has(> [data-hscroll]) { padding-top: clamp(96px, 8vw, 120px); padding-bottom: 64px !important; }
  section:has(> [data-hscroll]) .sec-head { margin-bottom: 40px; }
  [data-hscroll] { padding-bottom: 4px; }
}
.program--end { background: var(--blue); justify-content: space-between; padding: 28px; }
.program--end::after { display: none; }
.program--end h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }

/* feature cards */
.card { position: relative; padding: clamp(26px, 3vw, 34px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon-tile { margin-bottom: 26px; }
.card h3 + p { margin-top: 10px; }
.card p { font-size: .98rem; color: var(--text); }
.card--tint { background: var(--blue-l); border-color: transparent; }
.section--dark .card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.09); }
.section--dark .card p { color: var(--on-dark); }
.section--dark .card:hover { background: rgba(255,255,255,.06); box-shadow: none; }
.card .step-no { font: 400 2.6rem/1 var(--serif); color: var(--blue); margin-bottom: 22px; display: block; }

/* numbered feature list (dark "how we support you") */
.feature-list { display: grid; }
.feature-row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.1); }
.feature-row:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.feature-row h3 { font: 400 clamp(1.5rem, 2.2vw, 1.9rem)/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 8px; }
.feature-row p { color: var(--on-dark); max-width: 56ch; }

/* client story */
.story { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.story-quote { position: relative; padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.story-quote .q { width: 52px; height: 52px; color: var(--blue); margin-bottom: 26px; }
.story-quote blockquote { margin: 0; font: 400 clamp(1.5rem, 2.6vw, 2.3rem)/1.3 var(--serif); color: var(--ink); letter-spacing: -.012em; }
.story-quote mark { background: linear-gradient(transparent 62%, rgba(5,66,190,.16) 62%); color: inherit; padding: 0 2px; }
.story-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: .92rem; }
.story-quote figcaption strong { display: block; }
.story-panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); display: flex; flex-direction: column; }
.story-panel .big { font: 400 clamp(4rem, 8vw, 6.5rem)/.9 var(--serif); color: #fff; letter-spacing: -.04em; }
.story-panel .big small { font: 600 1.1rem/1 var(--sans); letter-spacing: 0; color: var(--blue-sky); margin-left: 6px; }
.story-panel h3 { color: #fff; margin: 26px 0 16px; font-size: 1rem; }
.story-panel .checklist li { color: var(--on-dark); }
.story-panel .checklist strong { color: #fff; }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; line-height: 1.5; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--lg li { padding: 22px 0 22px 44px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.checklist--lg li:last-child { border-bottom: 1px solid var(--line); }
.checklist--lg li::before { top: 24px; }
.section--dark .checklist--lg li { border-color: rgba(255,255,255,.1); }

/* roadmap — vertical timeline whose line fills as you scroll */
.roadmap { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 880px; counter-reset: step; }
.roadmap-rail, .roadmap-fill { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line); }
.roadmap-fill { background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 1)); }
.roadmap li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 3vw, 36px); padding-bottom: clamp(26px, 3.5vw, 40px); }
.roadmap li:last-child { padding-bottom: 0; }
.roadmap .node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line-2); font: 400 1.35rem/1 var(--serif); color: var(--muted);
  transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s;
}
.section--paper2 .roadmap .node { background: var(--paper-2); }
.roadmap li.is-active .node { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(5,66,190,.12); }
.roadmap .step { padding: 14px 0 0; }
.roadmap .step h4 { font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.roadmap .step p { margin-top: 6px; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat .num { font: 400 clamp(2.6rem, 4.6vw, 4rem)/1 var(--serif); color: var(--blue); letter-spacing: -.03em; white-space: nowrap; }
.stat p { margin-top: 14px; font-size: .96rem; color: var(--text); }

/* notice */
.notice { display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--blue-l); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.notice .i { color: var(--blue); margin-top: 2px; }

/* glossary */
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
.term { padding: 30px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.term dt { font: 400 1.6rem/1.15 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.term dt .say { display: block; margin-top: 8px; font: 600 .74rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.term dd { margin: 16px 0 0; font-size: .96rem; }

/* language levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.level { position: relative; padding: 36px 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.level .lv { font: 400 clamp(3rem, 5vw, 4.4rem)/1 var(--serif); color: var(--blue); letter-spacing: -.03em; margin-bottom: 28px; }
.level h3 { margin-bottom: 8px; }
.level:nth-child(2) { background: var(--blue-l); border-color: transparent; }
.level:nth-child(3) { background: var(--navy); border-color: transparent; color: var(--on-dark); }
.level:nth-child(3) h3 { color: #fff; }
.level:nth-child(3) .lv { color: var(--blue-sky); }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member .photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover .photo img { transform: scale(1.04); }
.member h3 { margin-top: 18px; font: 400 1.45rem/1.2 var(--serif); letter-spacing: -.01em; }
.member p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.team-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team-mosaic figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; }
.team-mosaic figure:nth-child(2), .team-mosaic figure:nth-child(4) { transform: translateY(40px); }
.team-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* stats strip — two tilted bands gliding in opposite directions */
.ticker { position: relative; z-index: 3; padding: 26px 0; margin: -46px 0; overflow: hidden; pointer-events: none; }
.ticker-row { background: var(--blue); color: #fff; transform: rotate(-1.6deg); box-shadow: 0 18px 40px -22px rgba(5, 30, 100, .55); width: 104%; margin-left: -2%; }
.ticker-row--alt { background: var(--ink); transform: rotate(1.1deg); margin-top: -6px; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-set { display: flex; align-items: center; flex: none; }
.tick { display: inline-flex; align-items: baseline; gap: 12px; padding: 18px 26px; font: 500 .95rem/1 var(--sans); color: rgba(255, 255, 255, .78); white-space: nowrap; }
.tick b { font: 400 clamp(1.5rem, 2.2vw, 1.95rem)/1 var(--serif); color: #fff; letter-spacing: -.01em; }
.ticker-row--alt .tick b { color: var(--blue-sky); }
.tick-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); flex: none; }
.anim-fallback .ticker-row .ticker-track { animation: ticker 48s linear infinite; }
.anim-fallback .ticker-row--alt .ticker-track { animation-direction: reverse; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* testimonials — three columns of cards drifting upward at different speeds (pause on hover) */
.tcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcols.is-looping {
  height: min(760px, 82vh); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.tcol { min-width: 0; }
.tcol-track { display: flex; flex-direction: column; gap: 20px; }
.is-looping .tcol-track { animation: tcol var(--dur, 50s) linear infinite; }
.is-looping .tcol:nth-child(2) .tcol-track { animation-direction: reverse; }
.tcols.is-looping:hover .tcol-track, .tcols.is-looping:focus-within .tcol-track { animation-play-state: paused; }
@keyframes tcol { to { transform: translateY(calc(-50% - 10px)); } }
.tcard { margin: 0; padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 21, 48, .04); transition: border-color .3s, box-shadow .4s; }
.tcard:hover { border-color: transparent; box-shadow: var(--shadow); }
.tcard figcaption { display: flex; align-items: center; gap: 14px; font-size: .9rem; margin-bottom: 18px; }
.tcard figcaption strong { display: block; font-size: 1rem; }
.tcard figcaption span span { color: var(--muted); }
.tcard blockquote { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.tcard blockquote h4 { font: 400 1.25rem/1.25 var(--serif); margin-bottom: 8px; }
.tcard blockquote p { font-size: .97rem; line-height: 1.65; }
.tcard-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0; border: 0; background: none; font: 600 .9rem/1 var(--sans); color: var(--blue); }
.tcard-more .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tcard-more:hover .i { transform: translateX(4px); }
.t-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.t-dialog::backdrop { background: rgba(7, 20, 51, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.t-dialog[open] { animation: dlg-in .45s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.t-dialog-body { max-height: min(86vh, 900px); overflow-y: auto; padding: clamp(28px, 5vw, 48px); overscroll-behavior: contain; }
.t-dialog-body figcaption { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.t-dialog-body figcaption strong { display: block; font-size: 1.05rem; }
.t-dialog-body figcaption span span { color: var(--muted); font-size: .92rem; }
.t-dialog-body blockquote { margin: 0; }
.t-dialog-body blockquote h4 { font: 400 1.6rem/1.2 var(--serif); margin-bottom: 12px; }
.t-dialog-body blockquote p { font: 400 1.22rem/1.6 var(--serif); color: var(--ink); }
.t-dialog-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: grid; place-items: center; color: var(--ink); z-index: 1; }
.t-dialog-close:hover { background: var(--ink); color: #fff; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq summary:hover .pm { border-color: var(--ink); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq .answer { overflow: hidden; }
.faq .answer > div { padding: 0 64px 30px 0; max-width: 70ch; }

/* call to action */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark);
  padding: clamp(48px, 8vw, 110px) clamp(28px, 6vw, 90px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
}
.cta .helix-art { top: 50%; transform: translateY(-50%); z-index: -1; opacity: .45; height: 100%; }
.cta .helix-art__a { stroke: var(--blue-sky); }
.cta h2 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.4rem); }
.cta h2 em { color: var(--blue-sky); }
.cta p { color: var(--on-dark); margin-bottom: 28px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-item .icon-tile { width: 48px; height: 48px; border-radius: 14px; }
.contact-item .icon-tile .i { width: 24px; height: 24px; }
.contact-item small { display: block; font-size: .8rem; color: var(--muted); }
.contact-item strong { font-size: 1.02rem; word-break: break-word; }
.contact-item--wa .icon-tile { background: #E7F8EE; color: #128C4B; }
.contact-item .arrow { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.contact-item:hover .arrow { color: var(--blue); transform: translate(2px, -2px); }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.form-card > p { margin: 10px 0 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 .9rem/1.2 var(--sans); color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7389' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(5,66,190,.12); }
.field [aria-invalid="true"] { border-color: #C2362B; background: #FFF7F6; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.consent input[aria-invalid="true"] { outline: 2px solid #C2362B; outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.form-status:not(:empty) { margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-size: .95rem; }
.form-status.is-ok { background: #E7F8EE; color: #0F5A33; }
.form-status.is-error { background: #FCEBEA; color: #8E2A22; }

/* legal text */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 52px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* 10. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 36px; margin-top: var(--section); position: relative; overflow: hidden; }
.site-footer--flush { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.footer-logo { width: 130px; margin-bottom: 22px; }
.footer-top p { font-size: .95rem; max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .i { color: var(--blue-sky); margin-top: 3px; }
.footer-contact small { display: block; font-size: .78rem; color: rgba(195,205,228,.65); }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); transition: background-color .3s, color .3s; }
.social a:hover { background: #fff; color: var(--navy); }
/* Sized from the footer's own width (cqi), so it always fits edge to edge and stays centred on any screen or zoom level. */
.site-footer > .container { container-type: inline-size; }
.footer-mark { margin: clamp(56px, 8vw, 100px) 0 0; font: 400 12vw/.85 var(--serif); font-size: 14cqi; letter-spacing: -.045em; color: #fff; white-space: nowrap; text-align: center; opacity: .95; }
.footer-mark em { color: var(--blue-sky); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom nav { display: flex; gap: 22px; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  border-radius: 999px; background: #1FAF5A; color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(18,140,75,.6);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.wa-float .i { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); }

/* 11. Motion --------------------------------------------------------------
   Before JavaScript runs, hero text is hidden so it can animate in. If the scripts fail,
   html.anim-fallback (set after 2.5 s in layout.html) shows everything anyway. */
.js-anim [data-hero] { visibility: hidden; }
.anim-fallback [data-hero], .reduced [data-hero] { visibility: visible !important; }
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .glossary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .tcols { grid-template-columns: 1fr 1fr; }
  .tcols.is-looping .tcol:nth-child(3) { display: none; }
  :root { --header-h: 68px; }
  .hero-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { max-width: 560px; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .hero-badges { position: static; margin-top: 14px; flex-direction: column; align-items: stretch; }
  .hero-badges .glass { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); max-width: none; }
  .hero-steps { display: none; }
  .split, .split--4-6, .page-hero-grid, .story, .contact-grid, .cta { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .grid-3, .levels { grid-template-columns: 1fr 1fr; }
  .frame { aspect-ratio: 4 / 3.2; }
  .statement-foot { grid-template-columns: 1fr; gap: 28px; }
  .program { width: min(78vw, 360px); }
  .hscroll-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .program { scroll-snap-align: center; }
  .hscroll-pad { display: none; }
  .team-mosaic figure:nth-child(2), .team-mosaic figure:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
  .tcols { grid-template-columns: 1fr; }
  .tcols.is-looping .tcol:nth-child(2) { display: none; }
  .ticker { margin: -34px 0; }
  .tick { padding: 14px 18px; }
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .levels, .glossary, .stats, .form-grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 26px 0 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); margin-top: 26px; }
  .stat:nth-child(3) { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .team { gap: 14px; }
  .member h3 { font-size: 1.2rem; }
  .brand img { width: 92px; }
  .btn-row .btn { flex: 1 1 auto; }
  .feature-row { grid-template-columns: 1fr; gap: 16px; }
  .roadmap li { grid-template-columns: 48px 1fr; gap: 18px; }
  .roadmap .node { width: 48px; height: 48px; font-size: 1.15rem; }
  .roadmap-rail, .roadmap-fill { left: 23px; }
  .faq .answer > div { padding-right: 0; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .site-footer { padding-bottom: 96px; }
  .footer-bottom nav { flex-wrap: wrap; }
  .hero-quote { grid-template-columns: 1fr; }
  .hero-quote .big { grid-row: auto; }
}

/* small extras */
.section--dark .statement em { color: var(--blue-sky); }
.page-hero--simple { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero--simple .lead { margin: 26px 0 32px; }
.hero-trust p strong { color: var(--ink); }
/* without the animation library (or with reduced motion) the program row scrolls sideways normally */
.anim-fallback .hscroll, .reduced .hscroll { overflow-x: auto; scrollbar-width: thin; }
.hero .helix-art { opacity: .45; }
.mobile-menu nav > a.btn { font: 600 1rem/1 var(--sans); padding: 0 26px; border-bottom: 0; }

/* background helix: flows sideways one full twist at a time, forever (paused off-screen by main.js) */
.helix-art__flow { animation: helix-flow 16s linear infinite; will-change: transform; }
.cta .helix-art__flow { animation-duration: 22s; }
.helix-art.is-paused .helix-art__flow { animation-play-state: paused; }
@keyframes helix-flow { to { transform: translateX(-480px); } }
@media (prefers-reduced-motion: reduce) { .helix-art__flow { animation: none; } }
