/* ==========================================================================
   Ishara Kids — site styles
   Palette and type follow the Website Strategy document (section 3.7).
   Final colour values to be matched to the Ishara Kids logo files.

   Visual system: layered depth (soft sapphire-tinted shadows), warm gradients,
   glass surfaces, and gentle motion. Every animation is switched off under
   prefers-reduced-motion, and nothing here relies on sound or on hover alone.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence — see assets/fonts) ---------- */
@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo-2-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo-2-devanagari-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Mukta";
  src: url("../fonts/mukta-devanagari-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Mukta";
  src: url("../fonts/mukta-devanagari-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* ---------- Tokens ---------- */
:root {
  --sapphire: #0F52BA;
  --sapphire-deep: #0A2D6E;
  --sapphire-bright: #1C63D6;
  --sun: #F9C74F;
  --sun-light: #FFD66E;
  --apricot: #F7A35C;
  --cream: #FFF8EC;
  --ink: #1E2433;

  --ink-soft: #454C5E;
  --sky: #EAF1FB;
  --sun-tint: #FEF1CC;
  --paper: #FFFFFF;
  --line: #E7DCC6;
  --line-soft: #F0E8D6;
  --line-strong: #6B7280;
  --error: #B42318;
  --success: #146C43;

  /* Gradients */
  --grad-sapphire: linear-gradient(135deg, var(--sapphire-bright) 0%, var(--sapphire) 55%, #0C46A0 100%);
  --grad-deep: linear-gradient(135deg, #0A2D6E 0%, #0C3A8C 55%, #082660 100%);
  --grad-sun: linear-gradient(135deg, #FFD66E 0%, var(--sun) 50%, var(--apricot) 100%);
  --grad-accent: linear-gradient(90deg, var(--sun) 0%, var(--apricot) 100%);
  --grad-text: linear-gradient(120deg, var(--sapphire-deep) 0%, var(--sapphire) 60%, #2B6FD8 100%);

  /* Depth: sapphire-tinted so shadows sit naturally on cream */
  --shadow-xs: 0 1px 2px rgba(10, 45, 110, .06), 0 1px 1px rgba(10, 45, 110, .04);
  --shadow-s: 0 2px 6px -1px rgba(10, 45, 110, .08), 0 6px 16px -8px rgba(10, 45, 110, .12);
  --shadow-m: 0 6px 14px -4px rgba(10, 45, 110, .12), 0 18px 36px -14px rgba(10, 45, 110, .18);
  --shadow-l: 0 12px 24px -8px rgba(10, 45, 110, .16), 0 32px 64px -20px rgba(10, 45, 110, .24);
  --shadow-glow: 0 10px 30px -10px rgba(15, 82, 186, .55);
  --shadow-sun: 0 10px 28px -10px rgba(249, 199, 79, .7);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s;
  --t-med: .32s;
  --t-slow: .6s;

  --font-body: "Lexend", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Baloo 2", "Lexend", "Mukta", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 3.9rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(3.25rem, 7vw, 5.75rem);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--sapphire-deep);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); letter-spacing: -0.01em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p, ul, ol, dl { margin: 0 0 1em; }
p { max-width: 66ch; text-wrap: pretty; }
strong, b { font-weight: 600; }
a { color: var(--sapphire); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
a:hover { color: var(--sapphire-deep); text-decoration-thickness: 2.5px; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); margin: 2rem 0; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--sapphire-deep); }

/* Scrollbar (WebKit / Blink) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--sapphire), var(--sapphire-deep)); border-radius: 99px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--sapphire-deep); }

:focus-visible {
  outline: 3px solid var(--sapphire-deep);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--sun);
  border-radius: 6px;
}
.band-deep :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); box-shadow: none; }

.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 {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--sapphire-deep); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-s);
  box-shadow: var(--shadow-l);
}
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 68ch; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); font-weight: 350; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* To-confirm markers: visible on purpose until the client answers */
.tbc {
  background: #FFEBC2; color: #6B3300; font-weight: 600; font-size: 0.92em;
  padding: 0.05em 0.35em; border-radius: 4px; border: 1px dashed #C77700;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.draft-note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: #FFEBC2; border: 1px dashed #C77700; color: #4A2500;
  padding: 0.9rem 1.1rem; border-radius: var(--radius-s); margin-bottom: 2rem; max-width: 72ch;
}

/* ---------- Scroll progress (added by main.js) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 90; width: 100%; height: 3px;
  background: var(--grad-accent); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.7rem 1.35rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  border-radius: 12px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
/* Shine sweep on the filled buttons */
.btn-primary::after, .btn-sun::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.32) 50%, transparent 100%);
  transform: skewX(-22deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn-primary:hover::after, .btn-sun:hover::after { left: 130%; }
.btn-primary {
  background: var(--grad-sapphire); color: #fff;
  box-shadow: 0 8px 20px -10px rgba(15, 82, 186, .65), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(15, 82, 186, .75), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-sun {
  background: var(--grad-sun); color: var(--sapphire-deep);
  box-shadow: 0 8px 20px -10px rgba(247, 163, 92, .8), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-sun:hover { color: var(--sapphire-deep); box-shadow: 0 16px 30px -12px rgba(247, 163, 92, .9), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { background: rgba(255,255,255,.35); color: var(--sapphire-deep); border-color: var(--sapphire); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--sky); color: var(--sapphire-deep); box-shadow: var(--shadow-s); }
.band-deep .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); }
.band-deep .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.95rem; border-radius: 11px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .icon { transition: transform var(--t-med) var(--ease); }
.btn:hover .icon { transform: scale(1.12); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
/* Glass is on a pseudo-element, so the fixed mobile nav inside keeps the viewport as its containing block */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 248, 236, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: rgba(231, 220, 198, .8); box-shadow: 0 12px 32px -20px rgba(10, 45, 110, .3); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto;
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1;
  color: var(--sapphire-deep); text-decoration: none; padding-top: 0.2rem;
}
.brand:hover { color: var(--sapphire-deep); text-decoration: none; }
.brand svg { width: 38px; height: 38px; margin-top: -0.2rem; flex: none; }
.brand svg g { transform-box: view-box; transform-origin: 50% 50%; transition: transform 1.2s var(--ease); }
.brand:hover svg g { transform: rotate(60deg); }
.brand svg circle { transition: transform var(--t-med) var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.brand:hover svg circle { transform: scale(1.12); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.primary-nav li + li { margin-top: 0; }
.primary-nav ul a {
  position: relative;
  display: block; white-space: nowrap; padding: 0.55rem 0.8rem; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 3px; border-radius: 99px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.primary-nav ul a:hover { background: rgba(234, 241, 251, .8); color: var(--sapphire-deep); }
.primary-nav ul a:hover::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"], .primary-nav a.is-section { color: var(--sapphire-deep); }
.primary-nav a[aria-current="page"]::after, .primary-nav a.is-section::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn, .lang { white-space: nowrap; }
@media (max-width: 1240px) { .header-inner { gap: 0.6rem; } .primary-nav ul a { padding-inline: 0.6rem; } .primary-nav ul a::after { left: 0.6rem; right: 0.6rem; } .lang .en, .lang .sep { display: none; } }
.lang { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; }
.lang [aria-current] { font-weight: 600; color: var(--sapphire-deep); }
.lang a { padding: 0.45rem 0.4rem; text-decoration: none; font-family: system-ui, "Noto Sans Devanagari", "Nirmala UI", sans-serif; border-radius: 8px; }
.lang a:hover { text-decoration: underline; background: var(--sky); }
.lang .sep { color: var(--line-strong); }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--sapphire);
  background: rgba(255,255,255,.4); color: var(--sapphire-deep); align-items: center; justify-content: center; cursor: pointer;
  transition: background-color var(--t-fast), transform var(--t-med) var(--ease);
}
.menu-toggle:hover { background: var(--sky); }
.menu-toggle:active { transform: scale(.94); }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon path { transition: d var(--t-med) var(--ease), transform var(--t-med) var(--ease); }

@media (max-width: 1080px) {
  .header-actions .join-link { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .isl-link .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .isl-link { padding: 0.5rem 0.75rem; }
  .lang .en, .lang .sep { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: linear-gradient(180deg, #FFFBF2 0%, var(--cream) 100%);
    border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.5rem;
    display: none; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .primary-nav.is-open { display: block; animation: navIn .35s var(--ease) both; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav.is-open li { animation: fadeUp .5s var(--ease) both; }
  .primary-nav.is-open li:nth-child(1) { animation-delay: .04s; }
  .primary-nav.is-open li:nth-child(2) { animation-delay: .09s; }
  .primary-nav.is-open li:nth-child(3) { animation-delay: .14s; }
  .primary-nav.is-open li:nth-child(4) { animation-delay: .19s; }
  .primary-nav.is-open li:nth-child(5) { animation-delay: .24s; }
  .primary-nav.is-open .nav-extra { animation: fadeUp .5s var(--ease) .3s both; }
  .primary-nav ul a { padding: 0.9rem 0.75rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav ul a::after { display: none; }
  .primary-nav ul a:hover { background: var(--sky); padding-left: 1rem; }
  .primary-nav a[aria-current="page"], .primary-nav a.is-section { box-shadow: inset 4px 0 0 var(--sun); border-radius: 0; }
  .nav-extra { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
}

/* ---------- Bands ---------- */
.band { padding-block: var(--band); position: relative; }
.band-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.band-sun { background: linear-gradient(135deg, #FFF4D9 0%, var(--sun-tint) 50%, #FFEFC6 100%); }
.band-sky { background: linear-gradient(180deg, #EEF4FC 0%, #E6EEFA 100%); }
.band-paper { background: var(--paper); box-shadow: inset 0 1px 0 rgba(10, 45, 110, .05), inset 0 -1px 0 rgba(10, 45, 110, .05); }
.band-deep { background: var(--grad-deep); color: #fff; isolation: isolate; overflow: hidden; }
.band-deep::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 60% at 8% 0%, rgba(28, 99, 214, .6), transparent 70%),
    radial-gradient(38% 50% at 96% 100%, rgba(249, 199, 79, .2), transparent 70%);
}
.band-deep::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(280px, 42vw, 620px); aspect-ratio: 1; border-radius: 50%; right: -8%; top: -35%;
  border: 1.5px solid rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 40px rgba(255,255,255,.025), inset 0 0 0 90px rgba(255,255,255,.02);
}
.band-deep h2, .band-deep h3 { color: #fff; }
.band-deep a:not(.btn) { color: #fff; }
.band-deep .lead { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2::before { content: ""; display: block; width: 56px; height: 6px; border-radius: 99px; background: var(--grad-accent); margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); }
.band-deep .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 88% 12%, rgba(249, 199, 79, .38), transparent 70%),
    radial-gradient(50% 50% at 6% 85%, rgba(15, 82, 186, .10), transparent 70%),
    radial-gradient(40% 40% at 60% 105%, rgba(247, 163, 92, .16), transparent 70%);
  background-size: 200% 200%;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image: radial-gradient(rgba(10, 45, 110, .12) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
}
.page-hero::before { background:
    radial-gradient(55% 60% at 92% 0%, rgba(249, 199, 79, .3), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(15, 82, 186, .09), transparent 70%);
  background-size: 200% 200%; }
.hero { padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { max-width: 13ch; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1, .page-hero h1 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.hero .lead { max-width: 48ch; }
.hero-notes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; color: var(--ink-soft); font-size: 0.98rem; }
.hero-notes li {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); padding: 0.45rem 0.9rem 0.45rem 0.7rem; border-radius: 999px;
  box-shadow: var(--shadow-xs); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-notes .icon { color: var(--sapphire); }

/* Entrance choreography (only when JS is on, so no-JS visitors never wait) */
.js .hero .hero-grid > div:first-child > *, .js .hero .wrap:not(.hero-grid) > *, .js .page-hero .wrap > :not(.hero-grid), .js .page-hero .hero-grid > div:first-child > * { animation: fadeUp .9s var(--ease) both; }
.js .hero .wrap:not(.hero-grid) > :nth-child(1) { animation-delay: .02s; }
.js .hero .wrap:not(.hero-grid) > :nth-child(2) { animation-delay: .12s; }
.js .hero .wrap:not(.hero-grid) > :nth-child(3) { animation-delay: .22s; }
.js .hero .wrap:not(.hero-grid) > :nth-child(4) { animation-delay: .32s; }
.js .hero .wrap:not(.hero-grid) > :nth-child(5) { animation-delay: .42s; }
.js .hero .hero-grid > div:first-child > :nth-child(1), .js .page-hero .hero-grid > div:first-child > :nth-child(1) { animation-delay: .05s; }
.js .hero .hero-grid > div:first-child > :nth-child(2), .js .page-hero .hero-grid > div:first-child > :nth-child(2) { animation-delay: .17s; }
.js .hero .hero-grid > div:first-child > :nth-child(3), .js .page-hero .hero-grid > div:first-child > :nth-child(3) { animation-delay: .29s; }
.js .hero .hero-grid > div:first-child > :nth-child(4), .js .page-hero .hero-grid > div:first-child > :nth-child(4) { animation-delay: .41s; }
.js .page-hero .wrap > :nth-child(1) { animation-delay: .02s; }
.js .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.js .page-hero .wrap > :nth-child(3) { animation-delay: .22s; }
.js .page-hero .wrap > :nth-child(4) { animation-delay: .32s; }
.js .hero .isl, .js .page-hero .isl { animation: scaleIn 1.1s var(--ease) .25s both; }

.page-hero { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(2.25rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.3rem); max-width: 20ch; }
.page-hero .hero-grid h1 { max-width: 16ch; }
.crumbs { font-size: 0.95rem; margin-bottom: 1rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

.subnav { margin-top: 1.75rem; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subnav li + li { margin: 0; }
.subnav a {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; border: 1.5px solid var(--sapphire);
  text-decoration: none; color: var(--sapphire-deep); font-weight: 500; font-size: 0.97rem;
  background: rgba(255,255,255,.5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background-color var(--t-fast), color var(--t-fast);
}
.subnav a:hover { background: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.subnav a[aria-current="page"] { background: var(--grad-sapphire); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

/* ---------- ISL video panel (the signature element) ---------- */
.isl { margin: 0; }
.isl-frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-l);
  background: radial-gradient(120% 90% at 20% 15%, #1C63D6 0%, var(--sapphire) 45%, var(--sapphire-deep) 100%);
  box-shadow: 12px 12px 0 var(--sun), 0 28px 56px -18px rgba(10, 45, 110, .45);
  overflow: hidden; color: #fff; isolation: isolate;
  margin-right: 12px;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
  will-change: transform;
}
.isl:hover .isl-frame { transform: none; box-shadow: 15px 15px 0 var(--sun), 0 36px 64px -18px rgba(10, 45, 110, .5); }
/* Glass sheen across the top-left */
.isl-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 30%, transparent 55%);
}
.isl-sun { position: absolute; right: -8%; bottom: -30%; width: 50%; z-index: -1; filter: drop-shadow(0 0 24px rgba(249, 199, 79, .35)); }
.isl-sun g { transform-box: view-box; transform-origin: 50% 50%; animation: rays 60s linear infinite; }
.isl-corners span { position: absolute; width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.55); transition: inset var(--t-med) var(--ease), border-color var(--t-med); }
.isl-corners span:nth-child(1) { top: 18px; left: 18px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.isl-corners span:nth-child(2) { top: 18px; right: 18px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.isl-corners span:nth-child(3) { bottom: 18px; left: 18px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.isl-corners span:nth-child(4) { bottom: 18px; right: 18px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.isl:hover .isl-corners span { border-color: rgba(255,255,255,.85); }
.isl:hover .isl-corners span:nth-child(1) { top: 14px; left: 14px; }
.isl:hover .isl-corners span:nth-child(2) { top: 14px; right: 14px; }
.isl:hover .isl-corners span:nth-child(3) { bottom: 14px; left: 14px; }
.isl:hover .isl-corners span:nth-child(4) { bottom: 14px; right: 14px; }
.isl-lang {
  position: absolute; top: 22px; left: 56px; font-weight: 600; font-size: 0.92rem; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 0.25rem 0.75rem 0.25rem 0.6rem; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.isl-lang::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(249, 199, 79, .3); }
.isl-play {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  background: none; border: 0; color: #fff; cursor: pointer; font: 600 1.05rem/1.2 var(--font-body);
  padding: 0.5rem; border-radius: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.isl-play .disc {
  position: relative;
  width: clamp(64px, 11vw, 88px); height: clamp(64px, 11vw, 88px); border-radius: 50%;
  background: var(--grad-sun); color: var(--sapphire-deep); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}
.isl-play .disc::before, .isl-play .disc::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(249, 199, 79, .8); animation: pulse 2.6s var(--ease) infinite; pointer-events: none;
}
.isl-play .disc::after { animation-delay: 1.3s; }
.isl-play:hover .disc { transform: scale(1.08); box-shadow: 0 16px 36px -8px rgba(0, 0, 0, .5), 0 0 0 8px rgba(249, 199, 79, .18), inset 0 1px 0 rgba(255,255,255,.5); }
.isl-play .disc svg { width: 40%; height: 40%; margin-left: 8%; }
.isl-status {
  position: absolute; left: 22px; right: 22px; bottom: 20px; margin: 0; max-width: none;
  font-size: 0.93rem; line-height: 1.4; color: rgba(255,255,255,.92); padding-left: 34px; max-width: 58%;
}
@media (max-width: 480px) { .isl-status { max-width: 62%; font-size: 0.85rem; } }
.isl-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 2; }
.isl figcaption { margin-top: 1.4rem; margin-right: 12px; }
.isl-title { font-weight: 600; color: var(--sapphire-deep); display: block; margin-bottom: 0.4rem; }
.isl-message { background: var(--paper); border-left: 4px solid var(--sun); padding: 0.75rem 1rem; border-radius: 8px; margin: 0.75rem 0 0; font-size: 0.97rem; box-shadow: var(--shadow-s); animation: fadeDown .4s var(--ease) both; }
.isl-compact .isl-frame { aspect-ratio: 16 / 9; }

details.transcript { margin-top: 0.5rem; }
details.transcript > summary {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--sapphire); padding: 0.4rem 0; min-height: 44px;
  transition: color var(--t-fast);
}
details.transcript > summary:hover { color: var(--sapphire-deep); }
details.transcript > summary::-webkit-details-marker { display: none; }
details.transcript > summary::before { content: ""; width: 0.55em; height: 0.55em; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--t-med) var(--ease); margin-right: 0.15rem; }
details.transcript[open] > summary::before { transform: rotate(45deg); }
details.transcript .transcript-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.25rem; font-size: 0.98rem; box-shadow: var(--shadow-s); }
details.transcript[open] .transcript-body { animation: fadeDown .4s var(--ease) both; }
details.transcript .transcript-body p:last-child { margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust li {
  display: flex; align-items: center; gap: 0.85rem; margin: 0; font-weight: 600; color: var(--sapphire-deep); line-height: 1.35;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-m); padding: 0.9rem 1rem;
  box-shadow: var(--shadow-s); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background-color var(--t-med);
}
.trust li:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); background: rgba(255,255,255,.85); }
.trust .badge {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--sapphire);
  background: linear-gradient(145deg, #fff 0%, var(--sky) 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .14), 0 6px 14px -8px rgba(15, 82, 186, .5);
  transition: transform var(--t-med) var(--ease-spring);
}
.trust li:hover .badge { transform: scale(1.1) rotate(-6deg); }
.trust .badge .icon { width: 26px; height: 26px; }

/* ---------- Ishara word ---------- */
.word-grid { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 820px) { .word-grid { grid-template-columns: auto 1fr; } }
.word {
  position: relative; isolation: isolate;
  font-family: var(--font-display); font-weight: 800; color: var(--sapphire);
  font-size: clamp(5rem, 16vw, 10.5rem); line-height: 0.9; margin: 0; padding-top: 0.15em;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .word { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .word .word-roman { -webkit-text-fill-color: var(--ink-soft); }
}
.word::before { display: none; }
.word-roman { display: block; font-size: 1rem; font-family: var(--font-body); font-weight: 500; color: var(--ink-soft); margin-top: 0.75rem; letter-spacing: 0.02em; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 0.9rem; }
.checklist li:first-child { margin-top: 0; }
.checklist .icon { color: var(--sapphire); margin-top: 0.25rem; background: var(--sky); border-radius: 50%; padding: .2em; width: 1.6em; height: 1.6em; flex: none; }
.band-deep .checklist .icon { color: var(--sapphire-deep); background: var(--sun); }

.split { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 0.85fr; align-items: start; } .split-even { grid-template-columns: 1fr 1fr; } .split-rev { grid-template-columns: 0.85fr 1.15fr; } }

.promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.promise-list li {
  position: relative; overflow: hidden; margin: 0;
  padding: 1.35rem 1.5rem 1.35rem 1.85rem;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.promise-list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--sapphire) 0%, var(--sun) 100%); }
.promise-list li:hover { transform: translateY(-3px) translateX(2px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .25); }
.promise-list h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.promise-list p { margin: 0; }

.aside {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fff 0%, #FBFCFF 100%);
  border: 1.5px solid rgba(15, 82, 186, .28); border-radius: var(--radius-m);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) calc(clamp(1.25rem, 3vw, 1.75rem) + 6px);
  box-shadow: var(--shadow-m);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.aside::before { display: none; }
.aside::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--sapphire), var(--sun)); }
.aside:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.aside h3 { font-size: var(--step-1); }
.aside p:last-child { margin-bottom: 0; }

/* Steps: only for real sequences */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .steps-row { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } .steps-row.four { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; margin: 0; position: relative; }
.steps > li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-sun); color: var(--sapphire-deep); font: 800 1.35rem/1 var(--font-display); margin-bottom: 0.85rem; padding-top: 0.15rem;
  box-shadow: var(--shadow-sun), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform var(--t-med) var(--ease-spring);
}
.steps > li:hover::before { transform: scale(1.1) rotate(-8deg); }
.steps h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.steps p { margin: 0; }
.steps-row > li {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 1.5rem;
  box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.steps-row > li:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .22); }
@media (min-width: 820px) {
  .steps-row > li:not(:last-child)::after {
    content: ""; position: absolute; top: calc(1.5rem + 21px); left: calc(100% + 0.4rem); width: calc(2.5rem - 0.8rem); height: 0;
    border-top: 2px dashed rgba(15, 82, 186, .45);
  }
}
.steps-inline > li { padding-left: 3.75rem; }
.steps-inline > li::before { position: absolute; left: 0; top: 0; margin: 0; }
.loop-note { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; margin-top: 1.75rem; color: var(--ink-soft); }
.loop-note .icon { color: var(--apricot); animation: spin 14s linear infinite; }

/* Founders */
.monograms { display: flex; gap: 0; }
.mono {
  width: clamp(110px, 18vw, 150px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font: 800 clamp(2rem, 4vw, 2.75rem)/1 var(--font-display); padding-top: 0.2em;
  transition: transform var(--t-slow) var(--ease);
}
.mono-a { background: var(--grad-sapphire); color: #fff; box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.2); animation: floatA 7s ease-in-out infinite; }
.mono-b { background: var(--grad-sun); color: var(--sapphire-deep); margin-left: -22px; border: 6px solid var(--cream); box-shadow: var(--shadow-sun), inset 0 1px 0 rgba(255,255,255,.4); animation: floatB 8s ease-in-out infinite; }
.band-paper .mono-b { border-color: var(--paper); }
.band-sky .mono-b { border-color: #EAF1FB; }
.monograms:hover .mono-a { transform: translateX(-6px) rotate(-4deg); }
.monograms:hover .mono-b { transform: translateX(6px) rotate(4deg); }

/* Offer */
.offer-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.offer-list { list-style: none; padding: 0; margin: 0; font-size: var(--step-1); display: grid; gap: 0.65rem; }
.offer-list li {
  display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.95rem 1.1rem; margin: 0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-med) var(--ease), background-color var(--t-med), border-color var(--t-med);
}
.offer-list li:hover { transform: translateX(6px); background: rgba(255,255,255,.12); border-color: rgba(249, 199, 79, .45); }
.offer-list .icon {
  color: var(--sapphire-deep); background: var(--grad-sun); border-radius: 50%; padding: .28em; margin-top: 0.15rem; width: 1.55em; height: 1.55em; flex: none;
  box-shadow: 0 4px 12px -4px rgba(249, 199, 79, .7);
}
.fine { font-size: 0.95rem; color: rgba(255,255,255,.82); margin-top: 1rem; }
.band-deep .tbc { color: #4A2500; }

/* Signposts */
.signposts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.signposts li { margin: 0; }
.signposts a {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 0.25rem 2rem; padding: 1.25rem 1.5rem; text-decoration: none; color: var(--ink);
  grid-template-columns: 1fr;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.signposts a::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad-accent); transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-med) var(--ease); }
.signposts a::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--sky) 0%, transparent 60%); opacity: 0; transition: opacity var(--t-med); }
@media (min-width: 760px) { .signposts a { grid-template-columns: 1.3fr 1fr; align-items: baseline; } }
.signposts .say { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--sapphire-deep); line-height: 1.2; }
.signposts .go { color: var(--sapphire); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .4em; }
.signposts .go::after { content: "→"; display: inline-block; text-decoration: none; transition: transform var(--t-med) var(--ease); }
.signposts a:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .25); }
.signposts a:hover::before { transform: scaleY(1); }
.signposts a:hover::after { opacity: 1; }
.signposts a:hover .go { text-decoration-thickness: 2.5px; }
.signposts a:hover .go::after { transform: translateX(6px); }

/* FAQ */
.faq { border-top: 2px solid var(--sapphire-deep); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); transition: background-color var(--t-med); }
.faq details[open] { background: linear-gradient(90deg, rgba(234, 241, 251, .5), transparent 70%); }
.faq summary {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; list-style: none;
  padding: 1.15rem 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--sapphire-deep); line-height: 1.3;
  transition: color var(--t-fast), padding-left var(--t-med) var(--ease);
}
.faq summary:hover { color: var(--sapphire); padding-left: 0.85rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font: 600 1.5rem/1 var(--font-body); color: var(--sapphire); background: var(--sky); flex: none;
  transition: transform var(--t-med) var(--ease), background-color var(--t-med), color var(--t-med);
}
.faq summary:hover::after { background: var(--sapphire); color: #fff; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); color: var(--sapphire-deep); }
.faq .answer { padding: 0 0.5rem 1.25rem; }
.faq details[open] .answer { animation: fadeDown .4s var(--ease) both; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 3rem; }

/* Panels & link panels */
.panel {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-s); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.panel:hover { box-shadow: var(--shadow-m); }
.panel > :last-child { margin-bottom: 0; }
.link-panels { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); list-style: none; padding: 0; margin: 0; }
.link-panels li { margin: 0; }
.link-panels a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; height: 100%; gap: 0.4rem; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  padding: 1.6rem 1.4rem 1.5rem; box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.link-panels a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--sapphire); }
.link-panels a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.link-panels a:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .25); }
.link-panels a:hover::after { transform: scaleX(1); }
.link-panels .title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--sapphire-deep); line-height: 1.2; }
.link-panels .icon {
  width: 52px; height: 52px; padding: 11px; border-radius: 14px; color: var(--sapphire); margin-bottom: 0.6rem;
  background: linear-gradient(145deg, #fff, var(--sky)); box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .12);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-med), color var(--t-med);
}
.link-panels a:hover .icon { transform: scale(1.08) rotate(-6deg); background: var(--grad-sapphire); color: #fff; }

.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 0; }
.glance div {
  padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); box-shadow: var(--shadow-s);
  border-top: 4px solid var(--sapphire);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.glance div:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.glance div:nth-child(even) { border-top-color: var(--sun); }
.glance dt { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.glance dd { margin: 0.15rem 0 0; font-weight: 600; color: var(--sapphire-deep); line-height: 1.4; }

/* Two-card "equally at home" */
.pair { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .panel h3 { font-size: var(--step-1); }
.pair .panel:first-child { border-top: 6px solid var(--sapphire); }
.pair .panel:last-child { border-top: 6px solid var(--sun); }
.pair .panel:hover { transform: translateY(-3px); }

.is-not { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .is-not { grid-template-columns: 1fr 1fr; } }
.is-not h3 { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step-1); }

/* Domains */
.domains { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.domains li {
  margin: 0; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem; border-radius: var(--radius-m); background: var(--cream); border: 1px solid var(--line-soft);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background-color var(--t-med);
}
.domains li:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); background: #fff; }
.domains .badge {
  width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #fff, var(--sky)); color: var(--sapphire); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .12), 0 6px 14px -8px rgba(15, 82, 186, .5);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-med), color var(--t-med);
}
.domains li:hover .badge { transform: scale(1.08) rotate(-6deg); background: var(--grad-sapphire); color: #fff; }
.domains .badge .icon { width: 26px; height: 26px; }
.domains h3 { font-size: var(--step-1); margin-bottom: 0.2rem; }
.domains p { margin: 0; }

/* Timeline table */
.timeline { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius-m); overflow: hidden; font-size: 1rem; box-shadow: var(--shadow-m); }
.timeline caption { text-align: left; font-weight: 600; margin-bottom: 0.75rem; color: var(--ink-soft); }
.timeline th, .timeline td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.timeline thead th { background: var(--grad-deep); color: #fff; font-weight: 600; }
.timeline tbody tr { transition: background-color var(--t-fast); }
.timeline tbody tr:hover { background: var(--sky); }
.timeline tbody th { font-family: var(--font-display); font-size: 1.35rem; color: var(--sapphire); white-space: nowrap; font-weight: 700; }
.timeline td:last-child { color: var(--ink-soft); }
.timeline strong { color: var(--sapphire-deep); }
@media (max-width: 700px) {
  .timeline thead { display: none; }
  .timeline, .timeline tbody, .timeline tr, .timeline th, .timeline td { display: block; width: 100%; }
  .timeline tr { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
  .timeline th, .timeline td { border: 0; padding: 0.2rem 1rem; }
}
.table-wrap { overflow-x: auto; border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.compare { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 1rem; min-width: 560px; }
.compare th, .compare td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.compare thead th { background: var(--grad-deep); color: #fff; }
.compare tbody th { color: var(--sapphire-deep); width: 26%; }
.compare tbody tr:hover { background: var(--sky); }
.words-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 1rem; margin: 1rem 0 2rem; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-s); }
.words-table th, .words-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.words-table thead th { background: var(--sky); color: var(--sapphire-deep); }

/* Diagram */
.loop-figure { margin: 0; }
.loop-figure svg { width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 16px 24px rgba(10, 45, 110, .14)); }
.loop-figure svg > circle:first-of-type { animation: dash 40s linear infinite; }
.loop-list { list-style: none; padding: 0; margin: 0; }
.loop-list li { display: grid; grid-template-columns: 14px 1fr; gap: 0.9rem; padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line); margin: 0; border-radius: 8px; transition: background-color var(--t-fast); }
.loop-list li:hover { background: rgba(255,255,255,.7); }
.loop-list .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 0.45rem; box-shadow: 0 0 0 4px rgba(255,255,255,.8), 0 2px 6px rgba(10, 45, 110, .2); }
.loop-list strong { color: var(--sapphire-deep); display: block; }

/* Levels */
.levels { display: grid; gap: 1.25rem; }
.level {
  display: grid; gap: 0.5rem 2rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-s); position: relative; overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.level::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--sapphire), var(--sun)); }
.level:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
@media (min-width: 820px) { .level { grid-template-columns: 220px 1fr; } }
.level .age { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--sapphire); line-height: 1.05; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .level .age { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .level .age small { -webkit-text-fill-color: var(--ink-soft); }
}
.level .age small { display: block; font: 500 0.95rem/1.4 var(--font-body); color: var(--ink-soft); margin-top: 0.4rem; }
.level h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.level p:last-child { margin-bottom: 0; }
.level.pending { background: transparent; border-style: dashed; border-color: #C9B99A; box-shadow: none; }
.level.pending::before { display: none; }

/* Team */
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.person {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 1.5rem;
  box-shadow: var(--shadow-s); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.person::before { display: none; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.person .mono { width: 96px; font-size: 2rem; margin: 0 0 1rem; border: 0; animation: none; }
.person:hover .mono { transform: scale(1.05) rotate(-4deg); }
.person h3 { font-size: var(--step-2); margin-bottom: 0.15rem; }
.person .role { font-weight: 600; color: var(--sapphire); margin-bottom: 0.75rem; }
.person dl { margin: 1rem 0 0; font-size: 0.97rem; }
.person dt { color: var(--ink-soft); font-size: 0.88rem; }
.person dd { margin: 0 0 0.5rem; }
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--sapphire-deep); }
.roles li { display: grid; gap: 0.25rem 2rem; padding: 1rem 0.5rem; border-bottom: 1px solid var(--line); margin: 0; transition: background-color var(--t-fast); }
.roles li:hover { background: rgba(255,255,255,.7); }
@media (min-width: 760px) { .roles li { grid-template-columns: 1fr 1.2fr; } }
.roles strong { color: var(--sapphire-deep); }

/* Contact routes */
.routes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: route; }
.routes li {
  margin: 0; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 1.25rem; box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.routes li:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .25); }
.routes li:first-child { border: 2px solid var(--sapphire); box-shadow: var(--shadow-glow); }
.routes .badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #fff, var(--sky)); color: var(--sapphire); box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .12); transition: transform var(--t-med) var(--ease-spring); }
.routes li:hover .badge { transform: scale(1.08) rotate(-6deg); }
.routes li:first-child .badge { background: var(--grad-sun); color: var(--sapphire-deep); box-shadow: var(--shadow-sun); }
.routes .badge .icon { width: 28px; height: 28px; }
.routes h3 { font-size: var(--step-1); margin-bottom: 0.2rem; }
.routes .order { font-size: 0.88rem; color: var(--ink-soft); display: block; }
.routes p { margin: 0.2rem 0 0.6rem; }
.map-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius-m); border: 2px dashed #C9B99A; display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--ink-soft); background: var(--paper); }

/* Resources */
.resource-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.resource-list li {
  margin: 0; display: grid; gap: 0.5rem 1.5rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-s); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.resource-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .25); }
@media (min-width: 760px) { .resource-list li { grid-template-columns: 1fr auto; align-items: center; } }
.resource-list h3 { font-size: var(--step-1); margin-bottom: 0.2rem; }
.resource-list p { margin: 0; }
.books { list-style: none; padding: 0; margin: 0; }
.books li { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line); margin: 0; border-radius: 8px; transition: background-color var(--t-fast); }
.books li:hover { background: rgba(255,255,255,.7); }
.books cite { font-style: normal; font-weight: 600; color: var(--sapphire-deep); }

/* Blog */
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.posts li { margin: 0; }
.post-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 1.4rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-s); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
a.post-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
a.post-card:hover { border-color: rgba(15, 82, 186, .3); transform: translateY(-5px); box-shadow: var(--shadow-m); }
a.post-card:hover::after { transform: scaleX(1); }
.post-card .title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--sapphire-deep); line-height: 1.25; }
.post-card .status { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.post-card.soon { background: transparent; border-style: dashed; border-color: #C9B99A; box-shadow: none; }
.article { max-width: 70ch; }
.article h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.byline { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Forms ---------- */
.form-shell {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: clamp(1.25rem, 4vw, 2.5rem); max-width: 820px;
  box-shadow: var(--shadow-l);
}
.form-shell::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--sapphire) 0%, var(--sun) 60%, var(--apricot) 100%); }
.progress { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.progress li { position: relative; margin: 0; font-size: 0.9rem; color: var(--ink-soft); padding-top: 0.7rem; border-top: 5px solid var(--line-soft); transition: color var(--t-med); }
.progress li::before { content: ""; position: absolute; left: 0; top: -5px; height: 5px; width: 100%; border-radius: 99px; background: var(--grad-sapphire); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.progress li.is-current { color: var(--sapphire-deep); font-weight: 600; }
.progress li.is-current::before { transform: scaleX(1); }
.progress li.is-done::before { transform: scaleX(1); background: var(--grad-accent); }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--sapphire-deep); margin-bottom: 0.4rem; padding: 0; }
.step-intro { color: var(--ink-soft); margin-bottom: 1.5rem; }
.js .step:not([data-inactive]) { animation: fadeUp .5s var(--ease) both; }
.field { margin-bottom: 1.4rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 2fr 1fr; } }
.field > label, .field .label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
.hint { display: block; font-size: 0.93rem; color: var(--ink-soft); margin: -0.15rem 0 0.5rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: 0.65rem 0.85rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid var(--line-strong); border-radius: var(--radius-s);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-fast), box-shadow var(--t-med), transform var(--t-fast);
}
input[type="text"]:hover, input[type="tel"]:hover, input[type="email"]:hover, select:hover, textarea:hover { border-color: var(--sapphire); }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--sapphire); box-shadow: 0 0 0 5px rgba(249, 199, 79, .6), var(--shadow-s); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { display: block; color: var(--error); font-weight: 600; font-size: 0.95rem; margin-top: 0.4rem; animation: fadeDown .3s var(--ease) both; }
.choices { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice {
  position: relative; display: flex; align-items: center; gap: 0.7rem; min-height: 52px; padding: 0.6rem 0.9rem; border: 2px solid var(--line); border-radius: var(--radius-s); background: #fff; cursor: pointer; font-weight: 400; margin: 0;
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-med) var(--ease), box-shadow var(--t-med);
}
.choice:hover { border-color: var(--sapphire); transform: translateY(-1px); box-shadow: var(--shadow-s); }
.choice input { width: 22px; height: 22px; accent-color: var(--sapphire); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--sapphire); background: var(--sky); box-shadow: inset 0 0 0 1px var(--sapphire); font-weight: 500; }
.choice:has(input:focus-visible) { outline: 3px solid var(--sapphire-deep); outline-offset: 2px; }
.consent-field { margin-bottom: 0.25rem; }
.consent { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 0; font-weight: 400; margin: 0; cursor: pointer; }
.consent input { width: 24px; height: 24px; accent-color: var(--sapphire); flex: none; margin-top: 0.1rem; }
.counter { font-size: 0.88rem; color: var(--ink-soft); text-align: right; margin-top: 0.3rem; }
.form-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.form-note { background: var(--sky); border-left: 4px solid var(--sapphire); border-radius: var(--radius-s); padding: 0.85rem 1rem; font-size: 0.95rem; margin: 0.5rem 0 1rem; }
.form-status { margin-top: 1rem; }
.form-status .ok { background: #E7F5EE; border-left: 4px solid var(--success); padding: 0.9rem 1rem; border-radius: 8px; color: #0B3D26; box-shadow: var(--shadow-s); animation: fadeDown .4s var(--ease) both; }
.form-status .bad { background: #FDECEA; border-left: 4px solid var(--error); padding: 0.9rem 1rem; border-radius: 8px; color: #6B1109; box-shadow: var(--shadow-s); animation: fadeDown .4s var(--ease) both; }
.js .step[data-inactive] { display: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--sapphire-deep) 0%, #071F4E 100%); color: rgba(255,255,255,.88);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.98rem;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sun) 0%, var(--apricot) 45%, var(--sapphire-bright) 100%); }
.site-footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(320px, 50vw, 760px); aspect-ratio: 1; border-radius: 50%; right: -15%; top: -40%;
  background: radial-gradient(circle, rgba(28, 99, 214, .45) 0%, transparent 65%);
}
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.site-footer a:hover { text-decoration-color: var(--sun); }
.footer-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff; display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
.footer-brand svg { width: 36px; height: 36px; filter: drop-shadow(0 0 12px rgba(249, 199, 79, .5)); }
.footer-brand svg g { transform-box: view-box; transform-origin: 50% 50%; animation: rays 80s linear infinite; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--sun); margin-bottom: 0.9rem; letter-spacing: 0.01em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.55rem; }
.site-footer ul a { text-decoration: none; display: inline-block; transition: transform var(--t-med) var(--ease), color var(--t-fast); }
.site-footer ul a:hover { transform: translateX(4px); color: var(--sun); }
.site-footer address { font-style: normal; }
.legal { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.9rem; color: rgba(255,255,255,.75); }
.legal p { max-width: none; margin-bottom: 0.4rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.35fr; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.88); border-top: 1px solid rgba(231, 220, 198, .8); padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 -12px 32px -16px rgba(10, 45, 110, .3);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0.5rem 0.75rem; font-size: 0.97rem; }
  .mobile-bar .btn:hover { transform: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px;
  background: var(--paper); border: 2px solid var(--sapphire-deep); border-radius: var(--radius-m);
  padding: 1.1rem 1.25rem; box-shadow: 8px 8px 0 var(--sun), var(--shadow-l);
  animation: fadeUp .6s var(--ease) both;
}
.cookie p { margin-bottom: 0.8rem; font-size: 0.97rem; }
.cookie .actions { margin: 0; }
@media (max-width: 900px) { .cookie { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Photos ---------- */
.photo { margin: 0; position: relative; }
.photo .pic {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-l); isolation: isolate;
  background: var(--sky); box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.photo .pic::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 45, 110, 0) 55%, rgba(10, 45, 110, .28) 100%);
  opacity: 0; transition: opacity var(--t-slow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.photo:hover .pic { transform: translateY(-4px); box-shadow: var(--shadow-l), 0 40px 70px -30px rgba(10, 45, 110, .4), inset 0 0 0 1px rgba(255,255,255,.6); }
.photo:hover img { transform: scale(1.04); }
.photo:hover .pic::after { opacity: 1; }
.photo figcaption { margin-top: 0.85rem; font-size: 0.93rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: flex-start; }
.photo figcaption::before { content: ""; flex: none; width: 18px; height: 3px; border-radius: 99px; background: var(--grad-accent); margin-top: .6em; }
/* Yellow offset edge, echoing the ISL panel, for hero photos */
.photo-hero .pic { margin-right: 12px; margin-bottom: 12px; box-shadow: 12px 12px 0 var(--sun), 0 28px 56px -18px rgba(10, 45, 110, .45); }
.photo-hero:hover .pic { transform: translate(-3px, -3px); box-shadow: 15px 15px 0 var(--sun), 0 36px 64px -18px rgba(10, 45, 110, .5); }
.photo-hero .pic::before {
  content: ""; position: absolute; z-index: 2; width: 26px; height: 26px; top: 18px; left: 18px;
  border: 3px solid rgba(255,255,255,.8); border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0;
}
/* Aspect ratios */
.photo-wide .pic { aspect-ratio: 16 / 9; }
.photo-tall .pic { aspect-ratio: 4 / 5; }
.photo-square .pic { aspect-ratio: 1; }
.photo-standard .pic { aspect-ratio: 3 / 2; }
.photo-band .pic { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .photo-band .pic { aspect-ratio: 4 / 3; } }
/* Overlay caption inside the picture (bands) */
.photo-band .tag {
  position: absolute; z-index: 2; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); max-width: min(90%, 34ch);
  background: rgba(255, 248, 236, .86); color: var(--sapphire-deep); font-weight: 600; font-size: 0.97rem; line-height: 1.35;
  padding: 0.7rem 1rem 0.7rem 0.85rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-m);
  display: flex; gap: .6rem; align-items: center;
}
.photo-band .tag::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-sun); box-shadow: 0 0 0 3px rgba(249, 199, 79, .35); }
.photo-band .pic::after { opacity: 1; background: linear-gradient(180deg, rgba(10, 45, 110, 0) 50%, rgba(10, 45, 110, .35) 100%); }
/* Photo sitting beside text inside .split */
.split > .photo, .split > div > .photo { align-self: center; }
.photo + .actions, .photo + .aside { margin-top: 1.5rem; }
/* Article lead image */
.article .photo { margin: 0 0 2rem; }
.article .photo .pic { border-radius: var(--radius-m); }
/* Page hero with a photo instead of an ISL panel */
.page-hero .hero-grid { align-items: center; }
.page-hero .hero-grid .photo-hero { max-width: 560px; margin-left: auto; }
@media (max-width: 899px) { .page-hero .hero-grid .photo-hero { margin-left: 0; } }
.js .page-hero .photo-hero { animation: scaleIn 1.1s var(--ease) .25s both; }
@media (prefers-reduced-motion: reduce) { .photo .pic, .photo img { transform: none !important; } }

/* ---------- Document downloads & three-column panels ---------- */
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.docs li { margin: 0; }
.docs a {
  display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; height: 100%; padding: 1.25rem;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-s); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.docs a:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .25); color: var(--ink); }
.docs .badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-sapphire); color: #fff;
  font: 700 0.72rem/1 var(--font-body); letter-spacing: .08em; box-shadow: var(--shadow-glow); transition: transform var(--t-med) var(--ease-spring);
}
.docs a:hover .badge { transform: scale(1.08) rotate(-6deg); }
.docs .title { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--sapphire-deep); line-height: 1.2; }
.docs p { margin: 0.3rem 0 0.6rem; font-size: 0.95rem; color: var(--ink-soft); }
.docs .meta { display: inline-flex; gap: .3rem; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--sapphire); text-decoration: underline; text-underline-offset: 3px; }
.docs .meta::after { content: "\2193"; text-decoration: none; display: inline-block; transition: transform var(--t-med) var(--ease); }
.docs a:hover .meta::after { transform: translateY(3px); }
.panel .docs a { box-shadow: none; background: var(--cream); }
.trio { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio .panel h3 { font-size: var(--step-1); }
.trio .panel .checklist { margin-bottom: 0; font-size: 0.97rem; }
.trio .panel:nth-child(1) { border-top: 6px solid var(--sapphire); }
.trio .panel:nth-child(2) { border-top: 6px solid var(--sun); }
.trio .panel:nth-child(3) { border-top: 6px solid var(--apricot); }
.compare.curriculum tbody th { width: 22%; }
.compare.curriculum td:last-child { color: var(--ink-soft); }

/* ---------- Scroll reveal (classes added by main.js) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes rays { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes dash { to { stroke-dashoffset: -140; } }

/* ==========================================================================
   Premium layer 2: announcement bar, stacked sheets, hero choreography,
   stats, spotlight cards, magnetic buttons, footer CTA, back-to-top
   ========================================================================== */

/* Typography refinements */
h2 { letter-spacing: -0.02em; }
.lead { color: var(--ink-soft); }
.hero .lead, .page-hero .lead { color: var(--ink); }
.band-deep .lead { color: rgba(255,255,255,.92); }
.section-head p { font-size: var(--step-1); line-height: 1.55; }

/* Announcement bar */
.topbar { background: var(--grad-deep); color: #fff; font-size: 0.92rem; position: relative; z-index: 51; }
.topbar p { margin: 0; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; max-width: none; text-align: center; padding: .35rem 0; }
.topbar .pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--grad-sun); color: var(--sapphire-deep); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 999px; }
.topbar .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sapphire-deep); animation: blink 2.2s ease-in-out infinite; }
.topbar a { color: #fff; font-weight: 600; text-decoration-color: rgba(249,199,79,.7); white-space: nowrap; }
.topbar a:hover { color: var(--sun); }
@media (max-width: 640px) { .topbar .msg { display: none; } .topbar p { min-height: 36px; } }

/* Stacked sheets: each coloured band sits on the one before it */
main > .band-paper, main > .band-sky, main > .band-sun, main > .band-deep, .site-footer {
  border-radius: clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px) 0 0;
  margin-top: calc(-1 * clamp(22px, 4vw, 44px));
  padding-top: calc(var(--band) + clamp(22px, 4vw, 44px) * 0.5);
  box-shadow: 0 -18px 40px -30px rgba(10, 45, 110, .35);
  position: relative;
}
main > .band-tight.band-sun, main > .band-tight.band-paper { padding-top: calc(clamp(2rem, 5vw, 3.5rem) + clamp(22px, 4vw, 44px) * 0.5); }
main > section:first-child { margin-top: 0; }
.site-footer { padding-top: calc(clamp(3rem, 6vw, 4.5rem) + clamp(22px, 4vw, 44px) * 0.5); }
.site-footer::before { border-radius: inherit; }
/* Grain on the dark surfaces */
.band-deep::after, .site-footer .grain {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; width: auto; aspect-ratio: auto; border-radius: inherit; border: 0; right: auto; top: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .08; mix-blend-mode: overlay; box-shadow: none;
}
.band-deep::before {
  background:
    radial-gradient(45% 60% at 8% 0%, rgba(28, 99, 214, .6), transparent 70%),
    radial-gradient(38% 50% at 96% 100%, rgba(249, 199, 79, .2), transparent 70%),
    radial-gradient(circle at 92% -10%, transparent 30%, rgba(255,255,255,.06) 30.4%, rgba(255,255,255,.06) 31%, transparent 31.4%, transparent 37%, rgba(255,255,255,.04) 37.4%, rgba(255,255,255,.04) 38%, transparent 38.4%);
}

/* Hero: word-by-word headline, swoosh underline, floating panel */
.js .hero h1 .w, .js .page-hero h1 .w { display: inline-block; animation: wordIn .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1:has(.w), .page-hero h1:has(.w) { background: none; color: var(--sapphire-deep); -webkit-text-fill-color: var(--sapphire-deep); }
  .hero h1 .wi, .page-hero h1 .wi { display: inline-block; color: var(--sapphire-deep); -webkit-text-fill-color: var(--sapphire-deep); }
  .js .hero h1, .js .page-hero h1 { background: none; color: var(--sapphire-deep); -webkit-text-fill-color: var(--sapphire-deep); }
}
.hero-underline { display: none; }
.hero-underline svg { width: 100%; height: 100%; overflow: visible; display: block; }
.hero-underline path { fill: none; stroke: var(--apricot); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.hero-underline.is-on path { stroke-dashoffset: 0; }
.js .hero .isl { animation: scaleIn 1.1s var(--ease) .25s both; }
.js .hero .isl-frame { animation: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sapphire); margin-bottom: 1.1rem; }
.hero-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: var(--grad-accent); }

/* Stats */
.stats { list-style: none; padding: 0; margin: clamp(2.5rem, 6vw, 4rem) 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li {
  margin: 0; padding: 1.25rem 1.35rem; border-radius: var(--radius-m);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--shadow-s);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.stats li:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.stats .num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1; color: var(--sapphire); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@supports (-webkit-background-clip: text) or (background-clip: text) { .stats .num { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; } }
.stats .lbl { display: block; margin-top: .45rem; font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.js .stats { counter-reset: none; }
.js .stats li { animation: fadeUp .9s var(--ease) both; }
.js .stats li:nth-child(1) { animation-delay: .5s; } .js .stats li:nth-child(2) { animation-delay: .6s; } .js .stats li:nth-child(3) { animation-delay: .7s; } .js .stats li:nth-child(4) { animation-delay: .8s; }

/* Photo band parallax (main.js sets --py) */
.photo-band img { transform: translateY(var(--py, 0)) scale(1.12); transition: none; }
.photo-band:hover img { transform: translateY(var(--py, 0)) scale(1.15); transition: transform 1.2s var(--ease); }

/* Footer CTA */
.footer-cta {
  display: grid; gap: 1.5rem 2rem; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-l); position: relative; overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.footer-cta::before { display: none; }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1.2fr auto; } }
.footer-cta-title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); color: #fff; line-height: 1.1; margin-bottom: .4rem; letter-spacing: -0.02em; }
.footer-cta p { color: rgba(255,255,255,.85); max-width: 48ch; }
.footer-cta .actions { margin: 0; }
.site-footer .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); }
.site-footer .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.footer-tagline { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; color: #fff; letter-spacing: -0.02em; margin: 0 0 .75rem; max-width: 14ch; }
@supports (-webkit-background-clip: text) or (background-clip: text) { .footer-tagline { background: linear-gradient(120deg, #fff 0%, var(--sun) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; } }

/* Back to top */
.to-top {
  position: fixed; right: 1rem; bottom: 1.25rem; z-index: 65; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-sapphire); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-glow);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity var(--t-med), transform var(--t-med) var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top .icon { width: 22px; height: 22px; }
@media (max-width: 900px) { .to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); right: .85rem; width: 44px; height: 44px; } }

main, .site-header, .site-footer, .topbar { position: relative; z-index: 1; }
.site-header { z-index: 50; }

/* Page transitions */
.js body { animation: pageIn .5s var(--ease) both; }
body.is-leaving { opacity: 0; transition: opacity .22s ease; }

/* Tables: zebra */
.compare tbody tr:nth-child(even), .timeline tbody tr:nth-child(even) { background: rgba(234, 241, 251, .45); }

/* Keyframes */
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .w, .js .page-hero h1 .w, .js .stats li { animation: none !important; opacity: 1; }
  .hero-underline path { transition: none; stroke-dashoffset: 0; }
  .photo-band img { transform: none !important; }
}
@media print { .topbar, .to-top, .footer-cta { display: none !important; } }

/* ---------- Background videos ---------- */
.hero.has-video, .page-hero.has-video { overflow: hidden; }
.hero-video, .band-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: -3; pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-video.is-ready, .band-video.is-ready { opacity: 1; }
.hero.has-video::before, .page-hero.has-video::before {
  background: linear-gradient(90deg, rgba(8, 30, 74, .72) 0%, rgba(8, 30, 74, .5) 50%, rgba(8, 30, 74, .3) 100%);
  background-size: 100% 100%; animation: none;
}
@media (max-width: 899px) { .hero.has-video::before, .page-hero.has-video::before { background: linear-gradient(180deg, rgba(8, 30, 74, .72) 0%, rgba(8, 30, 74, .6) 100%); } }
.hero.has-video::after, .page-hero.has-video::after { display: none; }
.has-video { background: var(--sapphire-deep); color: #fff; }
.has-video .hero-video { opacity: 0; }
.has-video .hero-video.is-ready { opacity: 1; }
.has-video h1, .js .has-video h1, .has-video h1 .wi, .js .has-video h1 .wi, .has-video h2 { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.has-video .lead, .has-video p, .has-video .crumbs, .has-video .crumbs a, .has-video .byline { color: rgba(255,255,255,.92); }
.has-video .hero-eyebrow { color: var(--sun); }
.has-video .hero-notes { color: rgba(255,255,255,.9); }
.has-video .hero-notes li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.has-video .hero-notes .icon { color: var(--sun); }
.has-video .btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.has-video .btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.has-video .subnav a { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.has-video .subnav a:hover { background: rgba(255,255,255,.18); }
.has-video .subnav a[aria-current="page"] { background: var(--grad-sun); color: var(--sapphire-deep); border-color: transparent; }
.has-video .isl-title, .has-video details.transcript > summary { color: #fff; }
.has-video .isl figcaption, .has-video .transcript-body { color: var(--ink); }
.has-video .isl-frame { box-shadow: 12px 12px 0 var(--sun), 0 28px 56px -18px rgba(0, 0, 0, .55); }
.has-video .stats li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.has-video .stats .num { color: var(--sun); -webkit-text-fill-color: var(--sun); background: none; }
.has-video .stats .lbl { color: rgba(255,255,255,.85); }
.has-video .hero-underline path { stroke: var(--sun); }
.has-video :focus-visible { outline-color: var(--sun); box-shadow: none; }
.has-video .video-toggle { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.has-video .video-toggle:hover { background: rgba(255,255,255,.26); }
.has-video .photo-hero .pic { box-shadow: 12px 12px 0 var(--sun), 0 28px 56px -18px rgba(0, 0, 0, .55); }
.band-deep.has-video .band-video { opacity: 0; }
.band-deep.has-video .band-video.is-ready { opacity: .5; }
.band-deep.has-video::before {
  background:
    linear-gradient(100deg, rgba(10, 45, 110, .96) 0%, rgba(10, 45, 110, .9) 45%, rgba(12, 58, 140, .78) 100%),
    radial-gradient(45% 60% at 8% 0%, rgba(28, 99, 214, .5), transparent 70%);
}
.video-toggle {
  position: absolute; right: var(--gutter); bottom: 1rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(15, 82, 186, .35);
  background: rgba(255,255,255,.7); color: var(--sapphire-deep); display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast);
}
.video-toggle:hover { background: #fff; transform: translateY(-2px); }
.video-toggle .icon { width: 20px; height: 20px; }
.video-toggle .ic-play { display: none; }
.video-toggle[aria-pressed="true"] .ic-play { display: block; }
.video-toggle[aria-pressed="true"] .ic-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-video, .band-video { display: none; } }
@media print { .hero-video, .band-video, .video-toggle { display: none !important; } }

/* ---------- Hero refinement (cinematic video hero) ---------- */
.hero.has-video { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5rem); }
.hero.has-video::before {
  background:
    linear-gradient(180deg, rgba(8, 30, 74, .35) 0%, rgba(8, 30, 74, 0) 30%, rgba(8, 30, 74, 0) 55%, rgba(8, 30, 74, .82) 100%),
    linear-gradient(100deg, rgba(8, 30, 74, .9) 0%, rgba(8, 30, 74, .72) 38%, rgba(8, 30, 74, .38) 72%, rgba(8, 30, 74, .22) 100%);
}
@media (max-width: 899px) { .hero.has-video::before { background: linear-gradient(180deg, rgba(8, 30, 74, .82) 0%, rgba(8, 30, 74, .68) 60%, rgba(8, 30, 74, .9) 100%); } }
.hero.has-video .hero-video { transform: none; animation: none; object-position: 50% 18%; }
.hero.has-video .hero-grid { gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .hero.has-video .hero-grid { grid-template-columns: 1.12fr 0.88fr; } }
.hero.has-video h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 12ch; margin-bottom: .5em; text-shadow: 0 2px 24px rgba(0, 0, 0, .18); }
.hero.has-video .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.6; max-width: 46ch; color: rgba(255,255,255,.9); }
.hero.has-video .hero-eyebrow { letter-spacing: .14em; font-size: .82rem; margin-bottom: 1.4rem; }
.hero.has-video .hero-eyebrow::before { width: 0; animation: accentLine .9s var(--ease) .3s forwards; }
.hero.has-video .actions { gap: .9rem; margin-top: 1.9rem; }
.hero.has-video .btn { min-height: 54px; padding-inline: 1.6rem; font-size: 1.02rem; border-radius: 14px; }
.hero.has-video .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero.has-video .hero-notes { margin-top: 1.4rem; gap: .6rem; }
.hero.has-video .hero-notes li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: .5rem 1rem .5rem .8rem; font-size: .93rem; }
/* ISL card: glass, thin blue highlight, softer golden accent */
.hero.has-video .isl-frame {
  border-radius: 26px; margin-right: 8px;
  background: linear-gradient(135deg, rgba(28, 99, 214, .92) 0%, rgba(15, 82, 186, .9) 45%, rgba(10, 45, 110, .94) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 8px 8px 0 rgba(249, 199, 79, .9), 0 30px 60px -20px rgba(0, 0, 0, .55), 0 10px 24px -12px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(150, 190, 255, .45), inset 0 1px 0 rgba(255,255,255,.25);
}
.hero.has-video .isl:hover .isl-frame { box-shadow: 10px 10px 0 rgba(249, 199, 79, .95), 0 40px 70px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(150, 190, 255, .6), inset 0 1px 0 rgba(255,255,255,.3); }
.hero.has-video .isl-sun { opacity: .85; width: 46%; }
.hero.has-video .isl-play::before {
  content: ""; position: absolute; left: 50%; top: 38%; width: 210px; height: 210px; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(249, 199, 79, .32) 0%, rgba(249, 199, 79, .12) 40%, transparent 68%);
}
.hero.has-video .isl-play .disc { width: clamp(72px, 11vw, 92px); height: clamp(72px, 11vw, 92px); }
.hero.has-video .isl-status { font-size: .9rem; color: rgba(255,255,255,.85); }
.hero.has-video .isl-title { font-size: 1rem; }
/* Stats: glass cards */
.hero.has-video .stats { margin-top: clamp(2.75rem, 6vw, 4.5rem); gap: 1.1rem; }
.hero.has-video .stats li { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.18); padding: 1.35rem 1.4rem; }
.hero.has-video .stats li:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.hero.has-video .stats .num { color: #FFE08A; -webkit-text-fill-color: #FFE08A; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
.hero.has-video .stats .lbl { color: rgba(255,255,255,.82); font-size: .93rem; }
@media (max-width: 639px) {
  .hero.has-video .stats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .85rem; padding-bottom: .5rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .hero.has-video .stats::-webkit-scrollbar { display: none; }
  .hero.has-video .stats li { flex: 0 0 72%; scroll-snap-align: start; }
}
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.2%, -1%); } }
@keyframes accentLine { to { width: 28px; } }
@media (prefers-reduced-motion: reduce) { .hero.has-video .hero-video { animation: none; transform: none; } .hero.has-video .hero-eyebrow::before { width: 28px; animation: none; } }

.legal { display: flex; flex-wrap: wrap; gap: .4rem 2rem; align-items: flex-end; }
.legal > p:first-child { flex: 1 1 60%; }
.legal .built-by { margin-left: auto; text-align: right; white-space: nowrap; color: rgba(255,255,255,.85); }
.legal .built-by a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #E53935; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.legal .built-by a:hover { color: var(--sun); text-decoration-color: #E53935; }
@media (max-width: 640px) { .legal .built-by { margin-left: 0; text-align: left; } }

/* ---------- Footer redesign ---------- */
.site-footer {
  background: linear-gradient(170deg, #081F4E 0%, #0A2D6E 45%, #0E3C8A 100%);
  padding-bottom: 1.5rem;
}
.site-footer::before { height: 3px; background: linear-gradient(90deg, transparent 0%, var(--sun) 30%, var(--apricot) 60%, transparent 100%); opacity: .8; }
.site-footer::after {
  width: auto; aspect-ratio: auto; right: 0; top: 0; inset: 0; border-radius: inherit; opacity: .9;
  background:
    radial-gradient(38% 45% at 88% 12%, rgba(249, 199, 79, .12), transparent 70%),
    radial-gradient(40% 50% at 8% 95%, rgba(28, 99, 214, .35), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.2'%3E%3Cpath d='M-20 300c60-70 120-70 180 0s120 70 180 0 120-70 180 0'/%3E%3Cpath d='M-20 360c60-70 120-70 180 0s120 70 180 0 120-70 180 0'/%3E%3Ccircle cx='330' cy='90' r='42'/%3E%3Cpath d='M330 30v14M330 136v14M270 90h14M376 90h14M288 48l10 10M362 122l10 10M288 132l10-10M362 58l10-10'/%3E%3Cpath d='M70 60c0-22 12-34 30-34s30 12 30 34v40c0 8-6 14-14 14H84c-8 0-14-6-14-14z'/%3E%3Cpath d='M90 26v-8M110 26v-12M130 60v-20'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 420px 420px;
}
.site-footer .footer-cta {
  margin-bottom: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(28, 99, 214, .28) 0%, rgba(15, 82, 186, .18) 100%);
  border: 1px solid rgba(150, 190, 255, .28); border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 60px rgba(28, 99, 214, .18);
}
.site-footer .footer-cta::before { display: none; }
.site-footer .footer-cta-title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); max-width: 16ch; }
.site-footer .footer-cta p { margin-bottom: 0; }
.site-footer .footer-cta > div:first-child p:first-child { margin-bottom: .6rem; }
.site-footer .footer-cta .actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .site-footer .footer-cta .actions { flex-direction: row; } }
.site-footer .footer-cta .btn { min-height: 52px; padding-inline: 1.5rem; border-radius: 14px; }
.site-footer .footer-cta .btn-sun { box-shadow: 0 12px 24px -12px rgba(249, 199, 79, .8), inset 0 1px 0 rgba(255,255,255,.45); }
.site-footer .footer-cta .btn-sun:hover { transform: translateY(-4px); box-shadow: 0 20px 32px -14px rgba(249, 199, 79, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.site-footer .footer-cta .btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-footer .footer-cta .btn-ghost:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }

.site-footer .footer-grid { gap: 2.5rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem 3.5rem; } }
.site-footer .footer-brand { font-size: 1.55rem; margin-bottom: .6rem; }
.site-footer .footer-brand svg { filter: none; }
.site-footer .footer-statement { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 1.4rem; max-width: 30ch; }
.site-footer .footer-tagline { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.5; }
.contact-list .icon { width: 20px; height: 20px; margin-top: .15rem; color: var(--sun); flex: none; stroke-width: 1.8; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); transition: color var(--t-fast), border-color var(--t-fast); }
.contact-list a:hover { color: var(--sun); border-color: var(--sun); }
.site-footer h2 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; letter-spacing: .01em; color: var(--sun); margin-bottom: 1rem; }
.site-footer .fcol li + li { margin-top: .6rem; }
.site-footer ul a { position: relative; display: inline-block; font-weight: 400; color: rgba(255,255,255,.88); text-decoration: none; padding-bottom: 2px; transition: color var(--t-fast); transform: none; }
.site-footer ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.site-footer ul a:hover { color: #fff; transform: none; }
.site-footer ul a:hover::after { transform: scaleX(1); }
.site-footer .contact-list a::after { display: none; }
.site-footer .legal { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: rgba(255,255,255,.62); }
.site-footer .legal p { margin-bottom: .35rem; }
.site-footer .legal > div { flex: 1 1 60%; }
.site-footer .legal .built-by { color: rgba(255,255,255,.7); }

/* Mobile: navigation groups become accordions (JS handles the toggling) */
@media (max-width: 639px) {
  .site-footer .footer-grid { gap: 1.5rem 0; }
  .js .site-footer .fcol:not(.fcol-brand):not(.fcol-contact) h2 { display: flex; justify-content: space-between; align-items: center; cursor: pointer; margin: 0; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.12); }
  .js .site-footer .fcol:not(.fcol-brand):not(.fcol-contact) h2::after { content: ""; width: .55em; height: .55em; border-right: 2px solid var(--sun); border-bottom: 2px solid var(--sun); transform: rotate(45deg); transition: transform var(--t-med) var(--ease); margin-right: .3rem; }
  .js .site-footer .fcol.is-open h2::after { transform: rotate(-135deg); }
  .js .site-footer .fcol:not(.fcol-brand):not(.fcol-contact) ul { display: none; padding-bottom: 1rem; }
  .js .site-footer .fcol.is-open ul { display: block; animation: fadeDown .35s var(--ease) both; }
  .js .site-footer .fcol:not(.fcol-brand):not(.fcol-contact) + .fcol:not(.fcol-brand):not(.fcol-contact) { margin-top: -1.5rem; }
}
.to-top:hover { transform: translateY(-4px) rotate(-8deg); box-shadow: 0 16px 30px -12px rgba(15, 82, 186, .7); }

.pull { margin: 0 0 2rem; padding: 1.5rem 1.75rem 1.5rem 2rem; background: var(--paper); border-left: 6px solid var(--sun); border-radius: 0 var(--radius-m) var(--radius-m) 0; box-shadow: var(--shadow-s); }
.pull p { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.4; color: var(--sapphire-deep); margin-bottom: .6rem; }
.pull footer { font-size: .92rem; color: var(--ink-soft); }

/* Footer: compact spacing */
.site-footer { padding-top: calc(1.75rem + clamp(22px, 4vw, 44px) * 0.5) !important; padding-bottom: 1rem !important; }
.site-footer .footer-cta { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.25rem); }
.site-footer .footer-cta-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: .35rem; }
.site-footer .footer-cta .btn { min-height: 48px; }
.site-footer .footer-grid { gap: 1.75rem 2.5rem; }
@media (min-width: 1000px) { .site-footer .footer-grid { gap: 1.75rem 3rem; } }
.site-footer h2 { margin-bottom: .75rem; }
.site-footer .fcol li + li { margin-top: .45rem; }
.site-footer .footer-statement { margin-bottom: 1rem; }
.contact-list { gap: .5rem; }
.site-footer .legal { margin-top: clamp(1.5rem, 3vw, 2rem); padding-top: 1.1rem; }
.site-footer .legal p { margin-bottom: .2rem; }

/* ---------- Hero: fit one screen ---------- */
.hero.has-video { padding-block: clamp(2rem, 4.5vw, 3.25rem) calc(clamp(1.5rem, 3vw, 2rem) + clamp(22px, 4vw, 44px)); }
.hero.has-video .hero-grid { gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero.has-video h1 { font-size: clamp(2.3rem, 1.3rem + 3vw, 3.9rem); max-width: 15ch; margin-bottom: .45em; }
.hero.has-video .hero-eyebrow { margin-bottom: 1rem; }
.hero.has-video .lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.2rem); line-height: 1.55; max-width: 44ch; }
.hero.has-video .actions { margin-top: 1.5rem; gap: .75rem; }
.hero.has-video .btn { min-height: 50px; padding-inline: 1.4rem; }
.hero.has-video .hero-notes { margin-top: 1.1rem; }
.hero.has-video .hero-notes li { padding: .4rem .85rem .4rem .7rem; font-size: .9rem; }
.hero.has-video .isl-frame { aspect-ratio: 16 / 10; }
.hero.has-video .isl figcaption { margin-top: 1rem; }
.hero.has-video .isl-title { font-size: .95rem; margin-bottom: .2rem; }
.hero.has-video details.transcript > summary { min-height: 38px; padding: .2rem 0; font-size: .95rem; }
.hero.has-video .stats { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); gap: .9rem; }
.hero.has-video .stats li { padding: .95rem 1.1rem; border-radius: 14px; }
.hero.has-video .stats .num { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); }
.hero.has-video .stats .lbl { font-size: .88rem; margin-top: .3rem; }
@media (min-width: 1500px) { .hero.has-video .hero-grid { grid-template-columns: 1.1fr 0.9fr; } .hero.has-video .isl { max-width: 520px; margin-left: auto; } }
@media (max-width: 899px) {
  .hero.has-video { padding-block: 2rem calc(1.5rem + clamp(22px, 4vw, 44px)); }
  .hero.has-video h1 { font-size: clamp(2.1rem, 1.2rem + 4.5vw, 3rem); }
  .hero.has-video .hero-grid { gap: 2rem; }
  .hero.has-video .stats { margin-top: 1.5rem; }
}

/* ---------- Hero text styling ---------- */
.hero.has-video .hero-grid > div:first-child { position: relative; }
.hero.has-video .hero-grid > div:first-child::before { display: none; content: none; }
.hero.has-video .hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .42rem .95rem .42rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #FFE7A8; font-size: .78rem; letter-spacing: .12em;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 1.2rem;
}
.hero.has-video .hero-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(249, 199, 79, .3); animation: blink 2.4s ease-in-out infinite; }
.hero.has-video h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .28); }
.hero.has-video h1 .accent, .hero.has-video h1 .wi.accent {
  background: linear-gradient(115deg, #FFE9AE 0%, #F9C74F 45%, #F7A35C 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; padding-right: .06em; text-shadow: none;
}
.hero.has-video .lead { color: rgba(255, 244, 222, .92); }
.hero.has-video .lead::first-letter { font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .hero.has-video .hero-eyebrow::before { animation: none; } }

/* Hero overlay: light tint only, so the video reads clearly */
.hero.has-video::before {
  background:
    linear-gradient(180deg, rgba(8, 30, 74, .12) 0%, rgba(8, 30, 74, 0) 35%, rgba(8, 30, 74, 0) 60%, rgba(8, 30, 74, .45) 100%),
    linear-gradient(100deg, rgba(8, 30, 74, .42) 0%, rgba(8, 30, 74, .26) 40%, rgba(8, 30, 74, .08) 70%, rgba(8, 30, 74, 0) 100%);
}
@media (max-width: 899px) { .hero.has-video::before { background: linear-gradient(180deg, rgba(8, 30, 74, .38) 0%, rgba(8, 30, 74, .3) 60%, rgba(8, 30, 74, .5) 100%); } }
.hero.has-video .hero-video { filter: none; }
.hero.has-video h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 6px 30px rgba(0, 0, 0, .35); }
.hero.has-video .lead { text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 4px 18px rgba(0, 0, 0, .35); }
.hero.has-video .hero-eyebrow { background: rgba(8, 30, 74, .35); }
.hero.has-video .hero-notes li { background: rgba(8, 30, 74, .35); }
.hero.has-video .btn-ghost { background: rgba(8, 30, 74, .3); }
.hero.has-video .stats li { background: rgba(8, 30, 74, .32); border-color: rgba(255,255,255,.22); }
.hero.has-video .stats li:hover { background: rgba(8, 30, 74, .42); }
.hero.has-video .isl-title, .hero.has-video details.transcript > summary { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* ---------- Page heroes: same text treatment as the home hero ---------- */
.page-hero.has-video::before {
  background:
    linear-gradient(180deg, rgba(8, 30, 74, .12) 0%, rgba(8, 30, 74, 0) 40%, rgba(8, 30, 74, .4) 100%),
    linear-gradient(100deg, rgba(8, 30, 74, .45) 0%, rgba(8, 30, 74, .28) 40%, rgba(8, 30, 74, .08) 70%, rgba(8, 30, 74, 0) 100%);
}
@media (max-width: 899px) { .page-hero.has-video::before { background: linear-gradient(180deg, rgba(8, 30, 74, .4) 0%, rgba(8, 30, 74, .3) 60%, rgba(8, 30, 74, .5) 100%); } }
.page-hero.has-video { padding-block: clamp(2rem, 4.5vw, 3.25rem) calc(clamp(1.75rem, 3.5vw, 2.5rem) + clamp(22px, 4vw, 44px)); }
.page-hero.has-video .hero-grid > div:first-child, .page-hero.has-video .wrap > div:first-child { position: relative; }
.page-hero.has-video .hero-grid > div:first-child::before { display: none; content: none; }
.page-hero.has-video .crumbs, .page-hero.has-video .hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem .4rem .7rem; border-radius: 999px; margin-bottom: 1.1rem;
  background: rgba(8, 30, 74, .35); border: 1px solid rgba(255,255,255,.22); color: #FFE7A8; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.page-hero.has-video .crumbs::before, .page-hero.has-video .hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(249, 199, 79, .3); animation: blink 2.4s ease-in-out infinite; }
.page-hero.has-video .crumbs a { color: #FFE7A8; text-decoration: none; }
.page-hero.has-video .crumbs a:hover { color: #fff; }
.page-hero.has-video h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 6px 30px rgba(0, 0, 0, .35); line-height: 1.05; letter-spacing: -0.02em; }
.page-hero.has-video h1 .accent, .page-hero.has-video h1 .wi.accent {
  background: linear-gradient(115deg, #FFE9AE 0%, #F9C74F 45%, #F7A35C 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; padding-right: .06em; text-shadow: none;
}
.page-hero.has-video .lead { color: rgba(255, 244, 222, .92); text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 4px 18px rgba(0, 0, 0, .35); }
.page-hero.has-video .byline { text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.page-hero.has-video .subnav a { background: rgba(8, 30, 74, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-hero.has-video .subnav a[aria-current="page"] { background: var(--grad-sun); }
.page-hero.has-video .btn-ghost { background: rgba(8, 30, 74, .3); }
.page-hero.has-video .isl-title, .page-hero.has-video details.transcript > summary { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.page-hero.has-video .photo-hero .pic { box-shadow: 8px 8px 0 rgba(249, 199, 79, .9), 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255,255,255,.35); }

/* Trust strip: illustrated icons */
.trust li { align-items: center; gap: 1rem; }
.trust .badge.badge-img { width: 74px; height: 74px; border-radius: 20px; background: #fff; padding: 6px; box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .1), 0 8px 18px -10px rgba(15, 82, 186, .45); }
.trust .badge.badge-img picture, .trust .badge.badge-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.trust li:hover .badge.badge-img { transform: scale(1.06) rotate(-3deg); }
@media (max-width: 480px) { .trust .badge.badge-img { width: 64px; height: 64px; } }

/* Link panels: illustrated icons */
.link-panels .badge.badge-img { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(145deg, #fff, var(--sky)); padding: 8px; margin-bottom: .9rem; display: block; box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .1), 0 10px 22px -12px rgba(15, 82, 186, .45); transition: transform var(--t-med) var(--ease-spring); }
.link-panels .badge.badge-img picture, .link-panels .badge.badge-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.link-panels a:hover .badge.badge-img { transform: scale(1.06) rotate(-3deg); }

/* ---------- "How the week fits together" ---------- */
.week-loop-section { background: #FFFCF7; }
.week-loop { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .week-loop { grid-template-columns: 1fr 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sapphire); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 99px; background: var(--grad-accent); }
.week-loop h2 { color: #123B78; margin-bottom: 1.5rem; }
.week-loop h2::before { display: none; }

.loop-wrap { position: relative; max-width: 540px; margin-inline: auto; width: 100%; }
.loop-bg { position: absolute; inset: -8% ; pointer-events: none; z-index: 0; }
.loop-bg .blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; }
.loop-bg .b1 { width: 46%; height: 46%; left: -4%; top: 4%; background: #EAF2FF; }
.loop-bg .b2 { width: 40%; height: 40%; right: -2%; top: 8%; background: #FFF0C2; }
.loop-bg .b3 { width: 42%; height: 42%; left: 30%; bottom: -4%; background: #FFE3CC; }
.loop-bg .dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #2164C7; opacity: .22; animation: floatY 7s ease-in-out infinite; }
.loop-bg .d1 { left: 6%; top: 42%; } .loop-bg .d2 { right: 8%; top: 30%; background: #FFC94D; animation-delay: 1s; } .loop-bg .d3 { left: 22%; bottom: 12%; background: #F5A05A; animation-delay: 2s; }
.loop-bg .d4 { right: 20%; bottom: 8%; animation-delay: 3s; } .loop-bg .d5 { left: 48%; top: 2%; background: #FFC94D; animation-delay: 1.5s; width: 6px; height: 6px; }
.loop { position: relative; z-index: 1; aspect-ratio: 1; margin: 0; }
.loop-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-centre {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center; align-content: center; gap: .15rem; text-align: center;
  box-shadow: 0 20px 40px -18px rgba(18, 59, 120, .35), 0 0 0 8px rgba(255,255,255,.7), inset 0 0 0 1px rgba(33, 100, 199, .1);
}
.loop-child { width: 40%; height: auto; }
.loop-centre-label { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, .7rem + 1.2vw, 1.45rem); line-height: 1.05; color: #123B78; }
.node {
  position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: .05rem; text-align: center;
  padding: 6%; color: #123B78;
  background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -16px rgba(18, 59, 120, .35), 0 0 0 6px rgba(255,255,255,.65), inset 0 0 0 1.5px var(--node-line);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
}
.node:hover { transform: translateY(-4px) scale(1.03); }
.node::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; z-index: -1; background: var(--node-glow); filter: blur(18px); opacity: .6; }
.node-icon { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--node-fill); color: var(--node-ink); margin-bottom: .25rem; }
.node-icon svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.node-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(.9rem, .55rem + 1.2vw, 1.25rem); line-height: 1.1; }
.node-sub { font-size: clamp(.62rem, .45rem + .6vw, .8rem); color: var(--ink-soft); line-height: 1.2; }
.node-centre { left: 50%; top: 0; transform: translate(-50%, -6%); --node-line: #2164C7; --node-fill: #2164C7; --node-ink: #fff; --node-glow: #BBD3FF; }
.node-app { right: 0; top: 50%; transform: translate(6%, -50%); --node-line: #FFC94D; --node-fill: #FFC94D; --node-ink: #123B78; --node-glow: #FFE7A8; }
.node-workshop { left: 50%; bottom: 0; transform: translate(-50%, 6%); --node-line: #F5A05A; --node-fill: #F5A05A; --node-ink: #123B78; --node-glow: #FFD6B5; }
.node-meeting { left: 0; top: 50%; transform: translate(-6%, -50%); --node-line: #2164C7; --node-fill: #EAF2FF; --node-ink: #2164C7; --node-glow: #DCE9FF; }
.node-centre:hover { transform: translate(-50%, -10%) scale(1.03); } .node-app:hover { transform: translate(6%, -54%) scale(1.03); }
.node-workshop:hover { transform: translate(-50%, 2%) scale(1.03); } .node-meeting:hover { transform: translate(-6%, -54%) scale(1.03); }
.js .node { animation: nodeIn .8s var(--ease) both; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }
.js .node-centre { animation-delay: .1s; } .js .node-app { animation-delay: .25s; } .js .node-workshop { animation-delay: .4s; } .js .node-meeting { animation-delay: .55s; }

.week-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.week-cards li {
  display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; margin: 0;
  padding: 1.15rem 1.3rem; background: #fff; border: 1px solid rgba(18, 59, 120, .08); border-radius: 20px; box-shadow: var(--shadow-s); position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.week-cards li::before { content: ""; position: absolute; left: 1.3rem; top: 1.15rem; width: 10px; height: 10px; border-radius: 50%; background: var(--wc); transform: translate(-1.9rem, .35rem); display: none; }
.week-cards li:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: rgba(18, 59, 120, .16); }
.wc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--wc-bg); color: var(--wc); position: relative; }
.wc-icon::after { content: ""; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--wc); box-shadow: 0 0 0 3px #fff; }
.wc-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.week-cards strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: #123B78; line-height: 1.2; margin-bottom: .25rem; }
.week-cards p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.wc-blue { --wc: #2164C7; --wc-bg: #EAF2FF; } .wc-yellow { --wc: #E0A400; --wc-bg: #FFF4D1; } .wc-coral { --wc: #E8853C; --wc-bg: #FFE9D8; } .wc-sky { --wc: #2164C7; --wc-bg: #F1F6FF; }
.wc-yellow .wc-icon { color: #123B78; } .wc-coral .wc-icon { color: #123B78; }
@media (prefers-reduced-motion: reduce) { .loop-bg .dot { animation: none; } .js .node { animation: none; } }

/* Domains: illustrated icons, five across on wide screens */
.domains li { grid-template-columns: 1fr; gap: .9rem; align-content: start; padding: 1.35rem 1.25rem; }
.domains .badge.badge-img { width: 78px; height: 78px; border-radius: 22px; background: #fff; padding: 7px; box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .1), 0 10px 22px -12px rgba(15, 82, 186, .45); }
.domains .badge.badge-img picture, .domains .badge.badge-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.domains li:hover .badge.badge-img { transform: scale(1.06) rotate(-3deg); background: #fff; }
@media (min-width: 1100px) { .domains { grid-template-columns: repeat(5, 1fr); gap: 1rem; } .domains li { padding: 1.25rem 1.1rem; } }
@media (min-width: 700px) and (max-width: 1099px) { .domains { grid-template-columns: repeat(3, 1fr); } }

/* Transcript panel on dark heroes: readable and clickable */
.has-video details.transcript > summary { position: relative; z-index: 3; cursor: pointer; }
.has-video details.transcript > summary:hover { color: var(--sun); }
.has-video .transcript-body, .has-video .transcript-body p { color: var(--ink); text-shadow: none; }
.has-video .isl-message { color: var(--ink); text-shadow: none; }
.has-video .isl figcaption { position: relative; z-index: 3; }

/* Google map */
.map { margin: 0; }
.map iframe { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-m); box-shadow: var(--shadow-m); background: var(--sky); }
.map figcaption { margin-top: .75rem; font-size: .93rem; color: var(--ink-soft); }

/* Week loop: illustrated nodes */
.node-icon.node-img { width: 46%; background: none; margin-bottom: .1rem; }
.node-icon.node-img picture, .node-icon.node-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.loop-centre { padding: 6%; }
.loop-child { width: 46%; display: block; }
.loop-child picture, .loop-child img { width: 100%; height: auto; display: block; object-fit: contain; }
.node { padding: 4% 5%; gap: 0; }

/* ==========================================================================
   Mobile optimisation pass
   ========================================================================== */
@media (max-width: 899px) {
  /* Announcement bar: one line */
  .topbar p { min-height: 36px; padding: .3rem 0; gap: .5rem; flex-wrap: nowrap; }
  .topbar .pill { font-size: .7rem; padding: .18rem .55rem; }
  .topbar a { font-size: .88rem; }
  /* Hero */
  .hero.has-video .hero-eyebrow, .page-hero.has-video .hero-eyebrow, .page-hero.has-video .crumbs { font-size: .7rem; letter-spacing: .08em; padding: .35rem .8rem .35rem .6rem; }
  .hero.has-video h1 { font-size: clamp(2.1rem, 1rem + 5.5vw, 2.8rem); max-width: none; }
  .hero.has-video .lead { font-size: 1.02rem; }
  .hero.has-video .actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero.has-video .actions .btn { width: 100%; padding-inline: .75rem; font-size: .95rem; }
  .hero.has-video .hero-notes li { font-size: .85rem; }
  .hero.has-video .isl-frame { margin-right: 8px; }
  .hero.has-video .stats li { flex-basis: 64%; padding: .9rem 1rem; }
  .hero.has-video .stats .num { font-size: 1.7rem; }
  /* Page heroes: photo/ISL under the text, smaller */
  .page-hero.has-video .hero-grid .photo-hero { max-width: none; }
  .page-hero.has-video h1 { font-size: clamp(1.9rem, 1rem + 4.5vw, 2.5rem); }
  /* Stacked sheets: smaller radius */
  main > .band-paper, main > .band-sky, main > .band-sun, main > .band-deep, .site-footer { border-radius: 22px 22px 0 0; margin-top: -22px; padding-top: calc(var(--band) + 11px); }
  /* Cards & lists: tighter */
  .band { padding-block: clamp(2.5rem, 8vw, 3.5rem); }
  .section-head { margin-bottom: 1.5rem; }
  .word { font-size: clamp(4rem, 22vw, 6rem); }
  .signposts a { padding: 1.1rem 1.15rem; }
  .signposts .say { font-size: 1.25rem; }
  .steps-row > li { padding: 1.25rem; }
  .offer-list { font-size: 1.05rem; }
  .offer-list li:hover { transform: none; }
  .promise-list li { padding: 1.15rem 1.2rem 1.15rem 1.5rem; }
  .aside { padding: 1.25rem 1.25rem 1.25rem calc(1.25rem + 6px); }
  .trust .badge.badge-img { width: 60px; height: 60px; border-radius: 16px; }
  .domains .badge.badge-img, .link-panels .badge.badge-img { width: 70px; height: 70px; }
  .domains li { grid-template-columns: 70px 1fr; gap: .9rem; align-items: center; }
  /* Footer CTA and legal */
  .site-footer .footer-cta { padding: 1.4rem 1.25rem; border-radius: 20px; }
  .site-footer .footer-cta .btn { width: 100%; }
  .site-footer .legal { flex-direction: column; gap: .75rem; }
  .site-footer .legal .built-by { margin-left: 0; text-align: left; }
  /* Back-to-top: sits above the action bar, out of the way of content */
  .to-top { width: 42px; height: 42px; right: .75rem; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); opacity: .9; }
  /* Sticky bar must never cover a form's own buttons */
  .form-shell { padding-bottom: 1.5rem; }
  .form-nav { position: relative; z-index: 2; padding-bottom: .25rem; }
  .js .form-shell { scroll-margin-bottom: 100px; }
  #form, .form-shell { margin-bottom: 1rem; }
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  /* Photo bands */
  .photo-band .tag { font-size: .85rem; padding: .55rem .8rem .55rem .7rem; max-width: 92%; }
  .photo-hero .pic { margin-right: 8px; margin-bottom: 8px; box-shadow: 8px 8px 0 var(--sun), 0 20px 40px -18px rgba(10, 45, 110, .45); }
  /* Week loop: contain the blurred blobs so nothing spills sideways */
  .week-loop-section { overflow: hidden; }
  .loop-bg { inset: 0; }
  .loop-bg .blob { filter: blur(30px); }
  /* Inline links: comfortable tap height */
  .article a, .answer a, .faq a, .panel a:not(.btn), .aside a:not(.btn), p > a:not(.btn) { padding-block: .2em; }
  .contact-list li { min-height: 44px; align-items: center; }
  .contact-list a { padding-block: .35rem; }
  /* Tables that don't fit: stack rows into cards */
  .table-wrap { overflow: visible; box-shadow: none; border-radius: 0; }
  .compare { min-width: 0; display: block; background: none; }
  .compare thead { display: none; }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); box-shadow: var(--shadow-s); padding: 1rem 1.1rem; margin-bottom: .9rem; }
  .compare tbody tr:hover { background: var(--paper); }
  .compare th, .compare td { border: 0; padding: .2rem 0; }
  .compare tbody th { width: auto; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .35rem; }
  .compare td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sapphire); margin-top: .5rem; }
  .compare td:first-of-type::before { margin-top: 0; }
  /* Curriculum table: same treatment */
  .compare.curriculum tbody th { width: auto; }
  /* Timeline table */
  .timeline tr { padding: .9rem 0; }
  .timeline tbody th { font-size: 1.2rem; padding-bottom: .1rem; }
  /* Glance grid: single column */
  .glance { grid-template-columns: 1fr; gap: .75rem; }
  /* Hero notes & nav */
  .header-actions .isl-link { min-width: 44px; }
  /* Menu */
  .primary-nav ul a { padding: 1rem .75rem; }
}
@media (max-width: 420px) {
  .hero.has-video .actions { grid-template-columns: 1fr; }
  .topbar .pill { display: none; }
  .brand { font-size: 1.35rem; }
  .brand svg { width: 32px; height: 32px; }
}

/* Hero slideshow */
.hero-slides { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--sapphire-deep); }
.page-hero.has-slides { overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transform: scale(1); }
.hero-slide.is-active { opacity: 1; }
.js .hero-slide.is-active img { animation: slideZoom 5.5s ease-out both; }
@keyframes slideZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .js .hero-slide.is-active img { animation: none; } }


@media (max-width: 900px) { .site-header .header-inner { min-height: 72px; } :root { --header-h: 72px; } }

/* Footer: compact logo + balanced columns */
.site-footer .footer-brand { margin: 0 0 1.1rem; padding: .8rem 1rem; background: #fff; border-radius: 16px; display: inline-block; box-shadow: 0 12px 28px -18px rgba(0,0,0,.5); }
.footer-logo, .footer-logo img { display: block; height: 96px; width: auto; }
@media (max-width: 900px) { .footer-logo img { height: 84px; } }
.site-footer .footer-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 1.5rem 2.5rem; } }
.site-footer .fcol-brand { max-width: 34ch; }
.contact-list { gap: .45rem; }
.contact-list li { font-size: .92rem; }
.site-footer .legal { margin-top: 1.75rem; padding-top: 1rem; }

/* ---------- Final polish ---------- */
/* Readable line length and a floor on small labels */
p { max-width: 62ch; }
.hero-eyebrow, .page-hero.has-video .crumbs, .topbar .pill, .eyebrow { font-size: .8rem; }
@media (max-width: 480px) { .hero-eyebrow, .eyebrow { font-size: .75rem; } }
/* Solid colour under every gradient surface, so text stays readable if the gradient fails */
.timeline thead th, .compare thead th { background-color: var(--sapphire-deep); }
.btn-primary { background-color: var(--sapphire); }
.btn-sun, .steps > li::before { background-color: var(--sun); }
.band-deep, .site-footer, .topbar, .login-art { background-color: var(--sapphire-deep); }
.mono-a { background-color: var(--sapphire); }
.mono-b { background-color: var(--sun); }
.node-icon { background-color: currentColor; }
.node-centre .node-icon { background-color: #2164C7; }
/* Consistent vertical rhythm between a section heading and what follows */
.section-head + * { margin-top: 0; }
h2 + p, h3 + p { margin-top: 0; }
/* Lists never collide with the text above them */
.checklist, .promise-list, .steps, .domains, .signposts, .link-panels, .docs, .resource-list, .week-cards { margin-top: 1.25rem; }
.section-head + .checklist, .section-head + .steps, .section-head + .domains, .section-head + .signposts, .section-head + .link-panels { margin-top: 0; }
/* Focus ring is always visible, including on dark and image backgrounds */
.has-video :focus-visible, .band-deep :focus-visible, .site-footer :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(10, 45, 110, .5); }
/* Selected text stays readable on dark sections */
.band-deep ::selection, .site-footer ::selection, .has-video ::selection { background: var(--sun); color: var(--sapphire-deep); }
/* Links inside body copy are unmistakable */
main p > a:not(.btn), main li > a:not(.btn), .answer a, .article a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 500; }
/* Images never overflow their card while loading */
img { max-width: 100%; }

/* Small uppercase labels: never below 13px, so they stay legible */
.hero.has-video .hero-eyebrow,
.page-hero.has-video .hero-eyebrow,
.page-hero.has-video .crumbs,
.eyebrow,
.topbar .pill,
.compare td::before,
.docs .badge { font-size: .82rem; }
@media (max-width: 899px) {
  .hero.has-video .hero-eyebrow, .page-hero.has-video .hero-eyebrow, .page-hero.has-video .crumbs, .eyebrow { font-size: .78rem; letter-spacing: .1em; }
}

/* Form progress: the steps are buttons you can move between */
.progress li { padding-top: 0; }
.progress .progress-go {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; padding: .7rem .1rem .2rem; border-radius: 8px;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.progress .progress-go[aria-disabled="true"] { cursor: default; }
.progress li.is-current .progress-go { color: var(--sapphire-deep); font-weight: 600; }
.progress li.is-reachable .progress-go:hover { color: var(--sapphire); background: var(--sky); }

.progress li:not(.is-current) .progress-go { color: var(--ink-soft); }
.progress .progress-go:focus-visible { outline: 3px solid var(--sapphire-deep); outline-offset: 2px; }
@media (max-width: 560px) {
  .progress { grid-template-columns: 1fr; gap: 0; }
  .progress li { border-top: 0; }
  .progress li::before { top: 0; }
  .progress .progress-go { font-size: .95rem; min-height: 46px; display: flex; align-items: center; padding: .55rem .5rem; }
  .progress li + li { border-top: 1px solid var(--line-soft); }
}
@media (min-width: 561px) { .progress .progress-go { min-height: 44px; display: flex; align-items: flex-start; } }

/* "Where to next" cards at the foot of a page */
.next-steps .link-panels a { gap: .5rem; }
.next-steps .link-panels .title { font-size: var(--step-1); }
.next-steps .go { margin-top: auto; padding-top: .75rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--sapphire); font-weight: 600; }
.next-steps .go .icon { width: 1.1em; height: 1.1em; transition: transform var(--t-med) var(--ease); }
.next-steps a:hover .go .icon { transform: translateX(4px); }






/* ---------- Logos ----------
   Both logos are sized by height (header) or width (footer); the <picture> wrapper is
   left to follow the image so nothing is cropped or spills out of its container. */
.brand { display: inline-flex; align-items: center; min-width: 0; padding: 0; line-height: 0; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: auto; height: auto; max-width: 100%; line-height: 0; }
.brand-logo img { display: block; width: auto; height: 104px; max-width: 100%; object-fit: contain; }
@media (max-width: 1240px) { .brand-logo img { height: 92px; } }
@media (max-width: 1080px) { .brand-logo img { height: 84px; } }
@media (max-width: 900px)  { .brand-logo img { height: 74px; } }
@media (max-width: 480px)  { .brand-logo img { height: 62px; } }
@media (max-width: 380px)  { .brand-logo img { height: 54px; } }

.site-header .header-inner { min-height: 0; padding-block: 12px; align-items: center; }
:root { --header-h: 128px; }
@media (max-width: 1080px) { :root { --header-h: 108px; } }
@media (max-width: 900px)  { :root { --header-h: 98px; } }
@media (max-width: 480px)  { :root { --header-h: 86px; } }
@media (max-width: 380px)  { :root { --header-h: 78px; } }

.site-footer .footer-brand { display: inline-block; width: auto; height: auto; max-width: 100%; padding: .9rem 1rem; margin: 0 0 1.1rem; background: #fff; border-radius: 16px; line-height: 0; box-shadow: 0 12px 28px -18px rgba(0,0,0,.5); }
.footer-logo { display: block; width: auto; height: auto; line-height: 0; }
.footer-logo img { display: block; width: 230px; max-width: 100%; height: auto; object-fit: contain; }
@media (max-width: 900px) { .footer-logo img { width: 200px; } }
.login-logo { object-fit: contain; max-width: 100%; }

/* ---------- Touch targets ----------
   Every link and control is comfortable to tap: inline links in a sentence get a little
   vertical padding, and the small standalone links are lifted above the 24px minimum. */
@media (max-width: 900px) {
  main a:not(.btn):not(.post-card):not(.brand),
  .site-footer a:not(.btn),
  .contact-list a,
  .crumbs a,
  .legal a,
  .map figcaption a { display: inline-block; padding-block: .3em; line-height: 1.45; }
  .built-by a { padding-block: .35em; }
  .map figcaption { line-height: 1.6; }
  /* the tick and dot controls themselves, not just the row around them */
  .choice input, .consent input { width: 26px; height: 26px; }
  .choice { min-height: 56px; }
  .consent { padding-block: 1rem; }
  /* the whole field label row is clickable, so give it room */
  .field > label, .field .label { padding-block: .15rem; }
}

/* ---------- Photo bands: show the whole picture ----------
   These were cropped to a 21:9 strip and then zoomed 12% for parallax, which cut the
   children out of the frame. The picture now keeps its own shape and is never zoomed. */
.photo-band .pic { aspect-ratio: auto; }
.photo-band img { position: static; width: 100%; height: auto; transform: none !important; transition: none; object-fit: contain; }
.photo-band:hover img { transform: none !important; }
.photo-band .pic::after { background: linear-gradient(180deg, rgba(10, 45, 110, 0) 62%, rgba(10, 45, 110, .34) 100%); }
@media (max-width: 700px) { .photo-band .pic { aspect-ratio: auto; } }

/* ---------- Brand logos (official files) ----------
   Header: the horizontal lockup, which reads cleanly in a wide bar.
   Footer: the full stacked logo. Both keep their own proportions. */
.brand-logo img { height: 72px; }
@media (max-width: 1240px) { .brand-logo img { height: 64px; } }
@media (max-width: 1080px) { .brand-logo img { height: 58px; } }
@media (max-width: 900px)  { .brand-logo img { height: 52px; } }
@media (max-width: 560px)  { .brand-logo img { height: 44px; } }
@media (max-width: 380px)  { .brand-logo img { height: 38px; } }
:root { --header-h: 96px; }
@media (max-width: 1080px) { :root { --header-h: 84px; } }
@media (max-width: 900px)  { :root { --header-h: 78px; } }
@media (max-width: 560px)  { :root { --header-h: 70px; } }
@media (max-width: 380px)  { :root { --header-h: 64px; } }
.footer-logo img { width: 240px; }
@media (max-width: 900px) { .footer-logo img { width: 210px; } }

/* ---------- Footer: five columns, contact on the right, tighter overall ---------- */
.site-footer { padding-top: calc(1.25rem + clamp(22px, 4vw, 44px) * 0.5) !important; padding-bottom: .75rem !important; }
.site-footer .footer-cta { margin-bottom: 1.75rem; padding: 1.25rem 1.5rem; }
.site-footer .footer-cta-title { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.8rem); }
.site-footer .footer-cta .btn { min-height: 46px; }
.site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.5rem 2rem; }
@media (min-width: 640px)  { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer .footer-grid { grid-template-columns: auto 1fr 1fr 1fr 1.25fr; gap: 1.5rem 2.25rem; align-items: start; } }
.site-footer .fcol-brand { max-width: none; }
.site-footer .footer-brand { margin-bottom: 0; padding: .6rem .7rem; border-radius: 14px; }
.footer-logo img { width: 168px; }
@media (max-width: 1240px) { .footer-logo img { width: 150px; } }
@media (max-width: 900px)  { .footer-logo img { width: 160px; } }
.site-footer h2 { margin-bottom: .6rem; font-size: 1rem; }
.site-footer .fcol li + li { margin-top: .4rem; }
.site-footer .fcol-contact address { font-style: normal; }
.contact-list { gap: .5rem; }
.contact-list li { font-size: .9rem; line-height: 1.4; }
.contact-list .icon { width: 18px; height: 18px; }
.site-footer .legal { margin-top: 1.25rem; padding-top: .9rem; font-size: .84rem; }
.site-footer .legal p { margin-bottom: .15rem; }

/* ---------- Hero without the ISL card, and the card's own section ---------- */
/* Hero text keeps the page gutter on the left; only the lines themselves are capped */
.hero-single { max-width: var(--wrap); }
.hero.has-video .hero-single > h1, .page-hero.has-video .hero-single > h1,
.hero.has-video .hero-single > div > h1, .page-hero.has-video .hero-single > div > h1 { max-width: 16ch; }
.hero.has-video .hero-single .lead, .page-hero.has-video .hero-single .lead { max-width: 48ch; }
.hero-single .hero-notes, .hero-single .actions, .hero-single .subnav ul { max-width: 44rem; }

.isl-section { background: var(--paper); }
.isl-wrap { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .isl-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.isl-wrap h2 { margin-bottom: .5rem; }
.isl-wrap h2::before { display: none; }
.isl-wrap > div:first-child p { color: var(--ink-soft); margin-bottom: 0; }
.isl-section .isl-frame { margin-right: 12px; }
.isl-section .isl-title { color: var(--sapphire-deep); }

/* ==========================================================================
   Landing page sections (mission, founder story, pillars, welcome form, corporate)
   ========================================================================== */

/* 2. The heart of our mission */
.mission { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .mission { grid-template-columns: 1.15fr .85fr; } }
.mission h2 { margin-bottom: .6rem; }
.mission h2::before { display: none; }
.window-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.window-stats li {
  margin: 0; padding: 1.15rem 1.35rem; border-radius: var(--radius-m);
  background: linear-gradient(135deg, #F7FAFF 0%, var(--sky) 100%);
  border: 1px solid rgba(15, 82, 186, .12); box-shadow: var(--shadow-s);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.window-stats li:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.window-stats .num { display: block; font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); color: var(--sapphire); letter-spacing: -.02em; }
.window-stats .lbl { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .96rem; line-height: 1.45; }

/* 3. Founder story */
.story-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.05fr .95fr; } }
.story-grid h2 { margin-bottom: .7rem; }
.story-grid h2::before { display: none; }
.story-sign { margin-top: 1.5rem; }
.story-video { margin: 0; }
.story-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-l); isolation: isolate;
  box-shadow: 12px 12px 0 var(--sun), 0 28px 56px -18px rgba(10, 45, 110, .45);
  margin-right: 12px; background: var(--sapphire-deep);
}
.story-frame img { width: 100%; height: auto; display: block; object-fit: contain; aspect-ratio: auto; }
.story-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,45,110,.15) 0%, rgba(10,45,110,.55) 100%); pointer-events: none; }
.story-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 3; }
.story-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .6rem;
  background: none; border: 0; color: #fff; cursor: pointer; font: 600 1.05rem/1.2 var(--font-body);
  padding: .5rem; border-radius: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.story-play .disc {
  width: clamp(64px, 10vw, 84px); height: clamp(64px, 10vw, 84px); border-radius: 50%;
  background: var(--grad-sun); color: var(--sapphire-deep); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform var(--t-med) var(--ease-spring);
}
.story-play .disc .icon { width: 40%; height: 40%; margin-left: 8%; }
.story-play:hover .disc { transform: scale(1.08); }
.story-note {
  position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: 1rem; margin: 0; max-width: 42ch;
  font-size: .9rem; line-height: 1.4; color: rgba(255,255,255,.94); text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.story-video figcaption { margin-top: .9rem; margin-right: 12px; font-size: .93rem; color: var(--ink-soft); }
.band-sun .story-video figcaption { color: #6B5316; }

/* 4. Three pillars */
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li {
  margin: 0; padding: 1.75rem 1.5rem; background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-m); box-shadow: var(--shadow-s); position: relative; overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.pillars li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.pillars li:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: rgba(15, 82, 186, .22); }
.pillars li:hover::before { transform: scaleX(1); }
.pillar-icon {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; margin-bottom: 1rem;
  background: linear-gradient(145deg, #fff, var(--sky)); color: var(--sapphire);
  box-shadow: inset 0 0 0 1px rgba(15, 82, 186, .12), 0 10px 22px -12px rgba(15, 82, 186, .5);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-med), color var(--t-med);
}
.pillar-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pillars li:hover .pillar-icon { transform: scale(1.06) rotate(-5deg); background: var(--grad-sapphire); color: #fff; }
.pillars h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.pillars p { margin: 0; color: var(--ink-soft); }

/* 5. Welcome gift and form */
.welcome-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .welcome-grid { grid-template-columns: 1fr 1fr; } }
.welcome-grid h2 { margin-bottom: .6rem; }
.welcome-grid h2::before { display: none; }
.gifts { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .85rem; }
.gifts li {
  display: flex; gap: .9rem; align-items: flex-start; margin: 0; padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #FFF8E6 0%, var(--sun-tint) 100%);
  border: 1.5px solid rgba(249, 199, 79, .8); border-radius: var(--radius-m);
  box-shadow: 0 10px 24px -16px rgba(247, 163, 92, .8);
}
.gifts strong { color: var(--sapphire-deep); }
.gift-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-sun); color: var(--sapphire-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.gift-icon .icon { width: 22px; height: 22px; }
.inline-icon { display: inline-grid; place-items: center; vertical-align: -.35em; }
.inline-icon .icon { width: 1.15em; height: 1.15em; color: var(--sapphire); }
.welcome-form { max-width: none; }
.welcome-form .btn { width: 100%; min-height: 54px; font-size: 1.02rem; }
.welcome-form .field:last-of-type { margin-bottom: 1rem; }

/* 6. Corporate foundation */
.corporate { background: var(--paper); border-top: 1px solid var(--line-soft); }
.corporate-grid { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .corporate-grid { grid-template-columns: 1.35fr .65fr; } }
.corporate p { color: var(--ink-soft); margin: 0; max-width: 70ch; }
.corporate strong { color: var(--sapphire-deep); }
.corporate-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.corporate-facts li { margin: 0; display: flex; gap: .75rem; align-items: baseline; font-size: .9rem; }
.corporate-facts .k { flex: none; min-width: 5.5rem; color: var(--ink-soft); }
.corporate-facts .v { font-weight: 600; color: var(--sapphire-deep); }

/* 7. Footer social links */
.footer-social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: .6rem; }
.footer-social li { margin: 0; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease);
}
.footer-social a::after { display: none; }
.footer-social a:hover { background: rgba(255,255,255,.2); border-color: var(--sun); color: var(--sun); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 899px) {
  .story-frame img { width: 100%; height: auto; }
  .story-frame { margin-right: 8px; box-shadow: 8px 8px 0 var(--sun), 0 20px 40px -18px rgba(10, 45, 110, .45); }
  .gifts li { padding: .95rem 1rem; }
  .window-stats li { padding: 1rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .window-stats li, .pillars li, .pillar-icon, .story-play .disc { transform: none !important; }
}

/* ---------- Home hero on a clean, light background (landing-page brief) ---------- */
.hero.hero-light { background: linear-gradient(170deg, #FFFDF8 0%, var(--cream) 55%, #FFF4E2 100%); color: var(--ink); overflow: visible; }
.hero.hero-light::before {
  background:
    radial-gradient(52% 52% at 88% 8%, rgba(249, 199, 79, .3), transparent 70%),
    radial-gradient(46% 46% at 2% 92%, rgba(15, 82, 186, .09), transparent 70%);
  background-size: 100% 100%;
}
.hero.hero-light::after { display: none; }
.hero.hero-light .hero-grid { align-items: center; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .hero.hero-light .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.hero.hero-light h1 { color: var(--sapphire-deep); -webkit-text-fill-color: var(--sapphire-deep); text-shadow: none; max-width: 19ch; font-size: clamp(2.1rem, 1.25rem + 2.5vw, 3.2rem); line-height: 1.1; }
.hero.hero-light .actions { display: flex; flex-wrap: wrap; align-items: center; }
.hero.hero-light .actions .btn { flex: 0 1 auto; }
@media (max-width: 560px) { .hero.hero-light .actions { display: grid; grid-template-columns: 1fr; } .hero.hero-light .actions .btn { width: 100%; } }
.hero.hero-light h1 .accent, .hero.hero-light h1 .wi.accent {
  background: linear-gradient(115deg, #F0A93A 0%, #E9822F 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero.hero-light .lead { color: var(--ink); text-shadow: none; max-width: 46ch; }
.hero.hero-light .hero-eyebrow {
  background: #fff; border-color: rgba(15, 82, 186, .18); color: var(--sapphire);
  box-shadow: var(--shadow-xs);
}
.hero.hero-light .hero-notes { color: var(--ink-soft); }
.hero.hero-light .hero-notes li { background: #fff; border-color: var(--line-soft); color: var(--ink); box-shadow: var(--shadow-xs); }
.hero.hero-light .hero-notes .icon { color: var(--sapphire); }
.hero.hero-light .btn-ghost { background: #fff; color: var(--sapphire-deep); border-color: var(--sapphire); }
.hero.hero-light .btn-ghost:hover { background: var(--sky); }
.hero.hero-light :focus-visible { outline-color: var(--sapphire-deep); box-shadow: 0 0 0 6px var(--sun); }

/* the photographs now sit in a rounded card beside the words */
.hero-photo { position: relative; }
.hero-photo .hero-slides {
  position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-l);
  overflow: hidden; margin-right: 12px; background: var(--sky);
  box-shadow: 12px 12px 0 var(--sun), 0 28px 56px -18px rgba(10, 45, 110, .35);
}
.hero-photo .hero-slide { position: absolute; inset: 0; }
.hero-photo .hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 899px) {
  .hero-photo .hero-slides { aspect-ratio: 16 / 11; margin-right: 8px; box-shadow: 8px 8px 0 var(--sun), 0 20px 40px -18px rgba(10, 45, 110, .35); }
}

/* footer: legal name and the brief's contact line */
.footer-legalname { font-weight: 600; color: #fff; margin: .1rem 0 .35rem; font-size: 1rem; }
.footer-reachout { color: rgba(255,255,255,.85); margin: 0 0 .7rem; font-size: .93rem; }

/* Footer social: the official marks, in colour, on white tiles */
.footer-social { gap: .55rem; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 12px; padding: 5px;
  background: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: var(--shadow-xs);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast);
}
.footer-social a:hover { background: #fff; transform: translateY(-3px); border-color: var(--sun); box-shadow: 0 10px 20px -10px rgba(0,0,0,.55); }
.footer-social svg { width: 100%; height: 100%; fill: none; }
/* Tablet portrait: two columns instead of three, so the text is not squeezed */
@media (min-width: 700px) and (max-width: 899px) {
  .domains { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars li:last-child { grid-column: 1 / -1; }
}

/* Footer on small screens: only the three link lists fold away.
   The contact details and the social links are always visible. */
@media (max-width: 639px) {
  .js .site-footer .fcol-contact h2 { display: block; justify-content: flex-start; margin: 0 0 .6rem; padding: 0; border-top: 0; cursor: default; }
  .js .site-footer .fcol-contact h2::after { display: none; }
  .js .site-footer .fcol-contact ul, .js .site-footer .fcol-contact address { display: block; }
  .js .site-footer .fcol-contact { margin-top: 1.25rem; }
  .site-footer .footer-social { margin-top: 1rem; }
}
.site-footer .fcol-brand .footer-social { margin-top: 1rem; }

/* Footer logo is smaller on a phone so the footer stays short */
@media (max-width: 639px) {
  .footer-logo img { width: 150px; }
  .site-footer .footer-brand { padding: .55rem .65rem; border-radius: 12px; }
  .footer-legalname { font-size: .95rem; }
  .site-footer .footer-social a { width: 42px; height: 42px; }
}

/* Social icons: all three exactly level and the same size */
.site-footer .footer-social { display: flex; align-items: center; gap: .55rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.site-footer .footer-social li { margin: 0 !important; padding: 0; display: block; line-height: 0; }
.site-footer .footer-social a { display: grid; place-items: center; width: 44px; height: 44px; padding: 5px; box-sizing: border-box; }
.site-footer .footer-social svg { width: 34px; height: 34px; display: block; flex: none; }
@media (max-width: 639px) {
  .site-footer .footer-social a { width: 42px; height: 42px; }
  .site-footer .footer-social svg { width: 32px; height: 32px; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .isl-frame, .btn, .trust li, .promise-list li, .aside, .steps-row > li, .signposts a, .link-panels a, .post-card, .person, .level, .routes li, .resource-list li, .glance div, .domains li, .subnav a, .offer-list li { transform: none !important; }
  .hero::before, .page-hero::before { background-size: 100% 100%; }
}
@media print {
  .site-header, .mobile-bar, .cookie, .site-footer, .isl-frame, .scroll-progress { display: none !important; }
  body { background: #fff; padding: 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1, .page-hero h1, .word, .level .age { -webkit-text-fill-color: var(--sapphire-deep); color: var(--sapphire-deep); background: none; }
}
