/* Grand Entry design system
   Layout: an arrival sequence in daylight. Porcelain ground, ink type, one brand colour per
   palette, a deep band for drama, and a sun signal used sparingly. Gates are numbered because
   the solutions follow the order a company passes through them.
   Type: Newsreader for display and long reading, Schibsted Grotesk for interface,
   IBM Plex Mono for labels, gate numbers and the boarding pass.
   The site is deliberately single-theme (light), so every colour is set explicitly. */

:root {
  /* Ocean (default) */
  --bg: #F5F7F8;
  --surface: #FFFFFF;
  --sunken: #EBF0F2;
  --ink: #0C1E2B;
  --ink-2: #44545F;
  --ink-3: #66757F;
  --line: #DCE3E7;
  --line-2: #C3CED5;
  --accent: #0A6680;
  --accent-soft: #E1EFF3;
  --cta: #0A6680;
  --cta-hover: #075369;
  --cta-ink: #FFFFFF;
  --deep: #072131;
  --deep-2: #0C2E42;
  --deep-3: #123B52;
  --deep-ink: #EAF2F5;
  --deep-mute: #9DB3BF;
  --deep-line: #1D4559;
  --sun: #F2B33D;
  --sun-ink: #241904;
  --focus: #0A6680;
  --shadow: 0 1px 2px rgba(7, 33, 49, .06), 0 18px 40px -18px rgba(7, 33, 49, .22);

  --f-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-ui: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs: .75rem;
  --t-sm: .9rem;
  --t-base: 1.0625rem;
  --t-md: 1.2rem;
  --t-lg: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
  --t-h3: clamp(1.45rem, 1.25rem + .7vw, 1.8rem);
  --t-h2: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
  --t-h1: clamp(2.6rem, 1.6rem + 3.8vw, 4.8rem);
  --t-hero: clamp(2.9rem, 1.6rem + 5vw, 6rem);

  --wrap: 1760px;
  --gutter: clamp(16px, 4.5vw, 88px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 72px;
  color-scheme: light;
}

:root[data-palette="jacaranda"] {
  --bg: #F7F6FA; --surface: #FFFFFF; --sunken: #EEEBF4;
  --ink: #1A1530; --ink-2: #514C68; --ink-3: #6E6985;
  --line: #E3E0EC; --line-2: #CCC6DB;
  --accent: #5B3DA8; --accent-soft: #EEE9F8;
  --cta: #5B3DA8; --cta-hover: #482F8A; --cta-ink: #FFFFFF;
  --deep: #1B1433; --deep-2: #251C45; --deep-3: #302656; --deep-ink: #F1EEF8; --deep-mute: #B3A9CF; --deep-line: #3A2F63;
  --sun: #EDBE4C; --sun-ink: #241904; --focus: #5B3DA8;
  --shadow: 0 1px 2px rgba(27, 20, 51, .06), 0 18px 40px -18px rgba(27, 20, 51, .24);
}

:root[data-palette="amber"] {
  --bg: #F6F5F2; --surface: #FFFFFF; --sunken: #EEECE7;
  --ink: #141414; --ink-2: #4F4C47; --ink-3: #6C6862;
  --line: #E3E1DC; --line-2: #CFCBC3;
  --accent: #8A5C00; --accent-soft: #F7EEDB;
  --cta: #E3A52C; --cta-hover: #CF931C; --cta-ink: #141414;
  --deep: #131313; --deep-2: #1E1D1B; --deep-3: #2A2826; --deep-ink: #F3F1EC; --deep-mute: #B5AFA4; --deep-line: #34322E;
  --sun: #E3A52C; --sun-ink: #141414; --focus: #8A5C00;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 40px -18px rgba(0, 0, 0, .28);
}

:root[data-palette="kenya"] {
  --bg: #F6F6F3; --surface: #FFFFFF; --sunken: #ECEDE8;
  --ink: #111111; --ink-2: #4A4A45; --ink-3: #6B6B64;
  --line: #E0E0DA; --line-2: #C9C9C1;
  --accent: #006B3F; --accent-soft: #E2F1E8;
  --cta: #BB0000; --cta-hover: #960000; --cta-ink: #FFFFFF;
  --deep: #111111; --deep-2: #1C1C1B; --deep-3: #282826; --deep-ink: #F4F4F1; --deep-mute: #B4B4AE; --deep-line: #33332F;
  --sun: #E8473F; --sun-ink: #111111; --focus: #006B3F;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 40px -18px rgba(0, 0, 0, .28);
}
/* Flag stripe: black, white, red, white, green */
:root[data-palette="kenya"] .site-header::before, :root[data-palette="kenya"] .site-footer::before { content: ""; display: block; height: 10px; background: linear-gradient(to bottom, #111111 0 30%, #FFFFFF 30% 36%, #BB0000 36% 64%, #FFFFFF 64% 70%, #006600 70% 100%); }
:root[data-palette="kenya"] .hero h1 em, :root[data-palette="kenya"] .page-hero h1 em, :root[data-palette="kenya"] .masthead h1 em { color: var(--cta); }
:root[data-palette="kenya"] .pass-stub { background: #006600; color: #FFFFFF; border-left-color: rgba(255,255,255,.4); }
:root[data-palette="kenya"] .pass-stub .pass-label { color: rgba(255,255,255,.75); }
:root[data-palette="kenya"] .plan.featured .gate-map i.on, :root[data-palette="kenya"] .tl-bar.go { color: #111111; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-ui); font-size: var(--t-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em;
  margin: 0; text-wrap: balance; font-optical-sizing: auto; color: inherit;
}
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.deep :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1em; height: 1em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }
.surface { background: var(--surface); }
.sunken { background: var(--sunken); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.deep .eyebrow, .site-footer .eyebrow { color: var(--sun); }

.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.deep .lede { color: var(--deep-mute); }
.mono { font-family: var(--f-mono); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px;
  font-family: var(--f-ui); font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { text-decoration: none; }
.btn .i { transition: transform .2s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.deep .btn-primary, .site-footer .btn-primary { background: var(--sun); color: var(--sun-ink); }
.deep .btn-primary:hover, .site-footer .btn-primary:hover { background: var(--deep-ink); color: var(--deep); }
.deep .btn-secondary, .site-footer .btn-secondary { color: var(--deep-ink); border-color: var(--deep-line); }
.deep .btn-secondary:hover, .site-footer .btn-secondary:hover { border-color: var(--deep-ink); }
.btn-sm { min-height: 40px; padding: .55em 1.05em; font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--accent); }
.text-link:hover { text-decoration: underline; }
.text-link .i { transition: transform .2s ease; }
.text-link:hover .i { transform: translateX(3px); }
.deep .text-link { color: var(--sun); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px;
  font-size: .86rem; color: var(--ink); background: transparent; text-decoration: none; line-height: 1.3;
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip .no { font-family: var(--f-mono); font-size: .72rem; color: var(--accent); }

/* Logo equator line and emphasis */
.eq { stroke: var(--accent); }
.site-footer .eq { stroke: var(--sun); }
.nav-link.is-current { background: var(--sunken); }
h1 em, h2 em { font-style: italic; }
.section-head h2 em { color: var(--accent); }
.deep .section-head h2 em { color: var(--sun); }
.gp-foot .for b { color: var(--ink); font-weight: 600; }

/* Announcement */
.announce { background: var(--deep); color: var(--deep-ink); font-size: .9rem; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 40px; padding-block: 8px; text-align: center; }
.announce a { color: var(--deep-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.announce a:hover { text-decoration: underline; }
.announce b { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-ink); background: var(--sun); padding: 3px 8px; border-radius: 999px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .4); }
.nav-row { display: flex; align-items: center; gap: 20px; height: var(--header-h); position: relative; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 36px; flex: none; }
.logo-word { display: grid; line-height: 1; }
.logo-word strong { font-family: var(--f-display); font-weight: 600; font-size: 1.36rem; letter-spacing: -.01em; }
.logo-word small { font-family: var(--f-mono); font-size: .58rem; font-weight: 500; letter-spacing: .38em; color: var(--accent); margin-top: 5px; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font-family: var(--f-ui); font-size: .96rem; font-weight: 550; color: var(--ink); text-decoration: none;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--sunken); text-decoration: none; }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-cta { margin-left: 10px; }
.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 9px 14px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.menu-toggle .bars { width: 16px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.menu-toggle .bars::before { top: 1px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; padding-block: 32px 36px; }
.mega-intro { display: grid; gap: 14px; align-content: start; padding-right: 12px; border-right: 1px solid var(--line); }
.mega-intro h2 { font-size: 1.7rem; line-height: 1.12; }
.mega-intro p { color: var(--ink-2); font-size: .95rem; }
.mega-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.mega-link { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.mega-link:hover { background: var(--sunken); text-decoration: none; }
.mega-link .no { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; color: var(--accent); }
.mega-link strong { font-weight: 650; font-size: .98rem; line-height: 1.3; }
.mega-link span { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }

/* Mobile drawer */
.drawer {
  position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 49; background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
}
.drawer nav { display: grid; }
.drawer a { color: var(--ink); text-decoration: none; }
.drawer .d-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.5rem; }
.drawer .d-group { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.drawer .d-group > span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.drawer .d-sols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin-top: 10px; }
.drawer .d-sols a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 9px 0; font-size: .96rem; line-height: 1.3; }
.drawer .d-sols .no { font-family: var(--f-mono); font-size: .74rem; color: var(--accent); padding-top: 2px; }
.drawer .btn { width: 100%; margin-top: 24px; }
html.drawer-open { overflow: hidden; }
@media (max-width: 1020px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) { .drawer .d-sols { grid-template-columns: 1fr; } }

/* Section head */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h-block { display: grid; gap: 18px; }
.section-head h2 { font-size: var(--t-h2); }
.section-head > p, .section-head .side { color: var(--ink-2); font-size: 1.12rem; max-width: 36rem; }
.deep .section-head > p, .deep .section-head .side { color: var(--deep-mute); }
.section-head.stack { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Hero (home) */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 0; }
.hero h1 { font-size: var(--t-hero); font-weight: 420; letter-spacing: -.03em; line-height: .98; margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero .lede { margin-top: 26px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 36rem; }
.hero-proof div { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.hero-proof b { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; color: var(--ink); line-height: 1; letter-spacing: -.02em; }

.hero-stage { position: relative; width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 5 / 6; }
.hero-panel {
  position: absolute; inset: 0 0 0 14%; border-radius: 30px; background: var(--deep); overflow: hidden;
  background-image:
    repeating-radial-gradient(circle at 78% 112%, transparent 0 46px, color-mix(in srgb, var(--deep-ink) 9%, transparent) 46px 47px),
    linear-gradient(160deg, var(--deep-2), var(--deep));
}
.hero-panel .arch { position: absolute; right: 9%; bottom: 0; width: 46%; height: 62%; border: 1.5px solid color-mix(in srgb, var(--sun) 70%, transparent); border-bottom: 0; border-radius: 999px 999px 0 0; }
.hero-panel .equator { position: absolute; left: 0; right: 0; top: 64%; height: 1.5px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sun) 80%, transparent) 30%, color-mix(in srgb, var(--sun) 80%, transparent) 70%, transparent); }
.hero-panel .coords { position: absolute; right: 22px; bottom: 18px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; color: var(--deep-mute); text-align: right; line-height: 1.6; }
.hero-panel .coords b { color: var(--deep-ink); font-weight: 500; }

/* Boarding pass */
.pass {
  position: absolute; left: 0; top: 20%; width: min(100%, 440px);
  display: grid; grid-template-columns: minmax(0, 1fr) 104px;
  background: var(--surface); color: var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 0 36px 70px -30px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .08);
  transform: rotate(-4deg); transform-origin: 30% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .pass { animation: pass-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes pass-in { from { transform: rotate(-9deg) translate(-14px, 22px); } to { transform: rotate(-4deg); } }
}
.pass-main { padding: 20px 22px 20px; display: grid; gap: 16px; min-width: 0; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pass-top .brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.pass-top .brand svg { width: 14px; height: 17px; }
.pass-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.pass-port { display: grid; gap: 2px; }
.pass-port:last-child { text-align: right; }
.pass-label { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pass-code { font-family: var(--f-display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.9rem); font-weight: 500; line-height: 1; letter-spacing: -.01em; display: inline-block; }
.pass-city { font-size: .8rem; color: var(--ink-2); }
.pass-line { position: relative; height: 22px; margin-bottom: 18px; }
.pass-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--line-2); }
.pass-line svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); background: var(--surface); padding: 2px; color: var(--accent); }
.pass-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-top: 16px; border-top: 1.5px dashed var(--line-2); }
.pass-field { display: grid; gap: 3px; min-width: 0; }
.pass-field b { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.pass-field.wide { grid-column: 1 / -1; }
.pass-field .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.pass-field .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.pass-stub { background: var(--sun); color: var(--sun-ink); padding: 20px 14px 16px; display: grid; align-content: space-between; gap: 14px; border-left: 2px dashed color-mix(in srgb, var(--sun-ink) 35%, transparent); }
.pass-stub .pass-label { color: color-mix(in srgb, var(--sun-ink) 70%, transparent); }
.pass-stub .gate { font-family: var(--f-display); font-size: 2.6rem; font-weight: 500; line-height: .9; }
.pass-stub .seat { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; }
.barcode { height: 70px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 5px, transparent 5px 8px, currentColor 8px 11px, transparent 11px 12px, currentColor 12px 13px, transparent 13px 16px); opacity: .85; border-radius: 2px; }
.flip { display: inline-block; }
.flip.is-flipping { animation: flip .5s ease; }
@keyframes flip { 0% { transform: rotateX(0); opacity: 1; } 45% { transform: rotateX(90deg); opacity: .2; } 55% { transform: rotateX(-90deg); opacity: .2; } 100% { transform: rotateX(0); opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { justify-self: stretch; max-width: none; aspect-ratio: auto; padding: 40px 0 0; }
  .hero-panel { inset: 0; }
  .pass { position: relative; top: auto; margin: 0 auto 56px; }
}
@media (max-width: 460px) {
  .pass { grid-template-columns: minmax(0, 1fr) 82px; }
  .pass-stub .gate { font-size: 2rem; }
  .pass-fields { grid-template-columns: minmax(0, 1fr); }
  .hero-proof { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-proof div { grid-template-columns: 90px minmax(0, 1fr); align-items: baseline; }
}

/* Ticker */
.ticker { background: var(--surface); border-block: 1px solid var(--line); }
.ticker-row { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.ticker-label { flex: none; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); max-width: 15ch; line-height: 1.5; }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; align-items: center; gap: 40px; padding-right: 40px; list-style: none; padding-left: 0; margin: 0; }
.ticker-list li { font-family: var(--f-display); font-size: 1.15rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.ticker-list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 70s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { width: auto; }
  .ticker-list { flex-wrap: wrap; gap: 8px 28px; }
  .ticker-list[aria-hidden="true"] { display: none; }
}
@media (max-width: 700px) { .ticker-row { flex-direction: column; align-items: flex-start; gap: 10px; } .ticker-label { max-width: none; } .ticker-view { width: 100%; } }

/* Facts */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { display: grid; gap: 12px; align-content: start; padding: 26px 24px 6px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { font-family: var(--f-display); font-size: clamp(2.6rem, 1.9rem + 2.2vw, 3.6rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.fact-unit { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fact p { color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.fact .text-link { font-size: .9rem; }
.facts-note { margin-top: 28px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-2); }
@media (max-width: 960px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: 0; padding-left: 0; padding-bottom: 22px; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* Gate explorer */
.explorer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gate-tabs { display: grid; border-top: 1px solid var(--line); }
.gate-tab {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 18px; align-items: center; gap: 12px;
  padding: 15px 12px 15px 4px; border: 0; border-bottom: 1px solid var(--line); background: none;
  text-align: left; cursor: pointer; font: inherit; color: var(--ink); border-radius: 0; transition: background-color .2s ease, padding .2s ease;
}
.gate-tab .no { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.gate-tab .nm { font-family: var(--f-display); font-size: 1.24rem; line-height: 1.2; }
.gate-tab .i { opacity: 0; color: var(--accent); transition: opacity .2s ease, transform .2s ease; }
.gate-tab:hover { background: var(--bg); }
.gate-tab[aria-selected="true"] { background: var(--accent-soft); padding-left: 14px; }
.gate-tab[aria-selected="true"] .nm { color: var(--accent); }
.gate-tab[aria-selected="true"] .no { color: var(--accent); }
.gate-tab[aria-selected="true"] .i { opacity: 1; }
.gate-panels { position: sticky; top: calc(var(--header-h) + 24px); }
.gate-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 44px); display: grid; gap: 20px; }
.gp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.gp-no { font-family: var(--f-display); font-size: clamp(4.2rem, 3rem + 3vw, 6.6rem); line-height: .78; font-weight: 300; letter-spacing: -.05em; color: var(--accent); }
.route-dots { display: flex; gap: 5px; padding-top: 6px; }
.route-dots i { width: 9px; height: 9px; border-radius: 2px; border: 1px solid var(--line-2); }
.route-dots i.past { background: var(--line-2); }
.route-dots i.on { background: var(--accent); border-color: var(--accent); }
.gate-panel h3 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); }
.gate-panel .promise { font-family: var(--f-display); font-style: italic; font-size: 1.28rem; color: var(--ink-2); margin-top: -8px; }
.gate-panel .desc { color: var(--ink-2); max-width: 42rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: .97rem; line-height: 1.45; }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 4px var(--accent-soft), inset 0 0 0 10px var(--accent); }
.gp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.gp-foot .for { font-size: .9rem; color: var(--ink-2); max-width: 30rem; }
@media (min-width: 981px) { .gate-panel:not(.is-active) { display: none; } }
@media (max-width: 980px) {
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .gate-tabs { display: none; }
  .gate-panels { position: static; display: grid; gap: 16px; }
}
@media (max-width: 600px) { .ticks { grid-template-columns: minmax(0, 1fr); } }

/* Deep section */
.deep { background: var(--deep); color: var(--deep-ink); }

/* Timeline (to scale) */
.timeline-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 8px; }
.timeline { min-width: 720px; display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.tl-axis { grid-column: 2; position: relative; height: 30px; font-family: var(--f-mono); font-size: .7rem; color: var(--deep-mute); }
.tl-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tl-axis span:first-child { transform: none; }
.tl-axis span:last-child { transform: translateX(-100%); }
.tl-row { display: contents; }
.tl-name { padding: 14px 16px 14px 0; border-top: 1px solid var(--deep-line); display: grid; gap: 2px; align-content: center; }
.tl-name b { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; }
.tl-name span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; color: var(--deep-mute); text-transform: uppercase; }
.tl-track {
  position: relative; border-top: 1px solid var(--deep-line); padding-block: 14px;
  display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: center;
  background-image: repeating-linear-gradient(90deg, var(--deep-line) 0 1px, transparent 1px calc(100% / 6));
}
.tl-bar { height: 40px; border-radius: 10px; background: var(--deep-3); border: 1px solid var(--deep-line); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-family: var(--f-mono); font-size: .72rem; color: var(--deep-ink); white-space: nowrap; overflow: hidden; }
.tl-bar.go { background: var(--sun); border: 0; color: var(--sun-ink); border-radius: 10px 0 0 10px; position: relative; }
.tl-bar .lb-short { display: none; }
.tl-bar.go::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, transparent, var(--deep)); }
.tl-marker { position: absolute; top: 0; bottom: 0; border-left: 1.5px dashed var(--sun); pointer-events: none; }
.tl-marker-label { grid-column: 2; position: relative; height: 34px; }
.tl-marker-label span { position: absolute; top: 10px; transform: translateX(-100%); padding-right: 10px; font-family: var(--f-mono); font-size: .72rem; color: var(--sun); white-space: nowrap; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--deep-line); }
.stage { padding: 24px 24px 8px; border-left: 1px solid var(--deep-line); display: grid; gap: 10px; align-content: start; }
.stage:first-child { border-left: 0; padding-left: 0; }
.stage .when { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--sun); text-transform: uppercase; }
.stage h3 { font-size: 1.45rem; }
.stage p { color: var(--deep-mute); font-size: .96rem; line-height: 1.55; }
.stage .closes { font-size: .88rem; color: var(--deep-ink); border-top: 1px dashed var(--deep-line); padding-top: 10px; }
.stage .closes b { font-family: var(--f-mono); font-weight: 500; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--deep-mute); display: block; margin-bottom: 4px; }
.route-note { margin-top: 32px; color: var(--deep-mute); font-size: .95rem; max-width: 46rem; }
@media (max-width: 960px) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(3) { border-left: 0; padding-left: 0; }
  .stage:nth-child(n+3) { border-top: 1px solid var(--deep-line); }
}
@media (max-width: 560px) {
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stage { border-left: 0; padding-left: 0; }
  .stage + .stage { border-top: 1px solid var(--deep-line); }
}

/* Light-surface timeline variant */
.light-tl .tl-axis, .light-tl .tl-name span { color: var(--ink-2); }
.light-tl .tl-name, .light-tl .tl-track { border-top-color: var(--line); }
.light-tl .tl-track { background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 6)); }
.light-tl .tl-bar { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--ink); }
.light-tl .tl-bar.go { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.light-tl .tl-bar.go::after { background: linear-gradient(90deg, transparent, var(--bg)); }
.light-tl .tl-marker { border-left-color: var(--accent); }
.light-tl .tl-marker-label span { color: var(--accent); }

/* Who we serve */
.serve { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.serve-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 20px; }
.serve-intro h2 { font-size: var(--t-h2); }
.serve-intro p { color: var(--ink-2); }
.serve-intro .btn { justify-self: start; }
.serve-list { border-top: 1px solid var(--line); }
.serve-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.serve-item h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); line-height: 1.15; }
.serve-item p { color: var(--ink-2); font-size: .98rem; }
.serve-item .chip-row { margin-top: 14px; }
@media (max-width: 900px) {
  .serve { grid-template-columns: minmax(0, 1fr); }
  .serve-intro { position: static; }
}
@media (max-width: 600px) { .serve-item { grid-template-columns: minmax(0, 1fr); } }

/* Ways to engage */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 24px; display: grid; gap: 14px; align-content: start; grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px; }
.plan h3 { font-size: 1.6rem; }
.plan p { color: var(--ink-2); font-size: .96rem; }
.plan .tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan.featured { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
.plan.featured p { color: var(--deep-mute); }
.plan.featured .tag { color: var(--sun); }
.gate-map { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.gate-map i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 5px; border: 1px solid var(--line-2); font-style: normal; font-family: var(--f-mono); font-size: .6rem; color: var(--ink-3); }
.gate-map i.on { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.plan.featured .gate-map i { border-color: var(--deep-line); color: var(--deep-mute); }
.plan.featured .gate-map i.on { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.plan .gm-label { font-size: .82rem; color: var(--ink-2); }
.plan.featured .gm-label { color: var(--deep-mute); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-statement { font-family: var(--f-display); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 420; }
.why-statement em { color: var(--accent); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 44px; }
.principle { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--ink); }
.principle h3 { font-size: 1.4rem; }
.principle p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* Post cards */
.cover { position: relative; border-radius: 18px; overflow: hidden; background: var(--sunken); aspect-ratio: 16 / 9; }
.cover svg { display: block; width: 100%; height: 100%; }
.post-card { display: grid; gap: 14px; align-content: start; color: var(--ink); text-decoration: none; }
.post-card:hover { text-decoration: none; }
.post-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.post-card .meta .cat { color: var(--accent); }
.post-card h3 { font-size: 1.45rem; line-height: 1.16; }
.post-card p { color: var(--ink-2); font-size: .96rem; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.post-card .cover svg { transition: transform .6s ease; }
.post-card:hover .cover svg { transform: scale(1.03); }
.post-card.big h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
.post-card.big .cover { aspect-ratio: 16 / 10; }
.posts-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
.posts-side { display: grid; gap: 30px; align-content: start; }
.posts-side .post-card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 18px; align-items: start; }
.posts-side .post-card .cover { aspect-ratio: 4 / 3; border-radius: 14px; }
.posts-side .post-card h3 { font-size: 1.22rem; }
.posts-side .post-card .body { display: grid; gap: 8px; }
@media (max-width: 900px) { .posts-feature { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .posts-side .post-card { grid-template-columns: minmax(0, 1fr); } }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .h-block { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap h2 { font-size: var(--t-h2); }
.faq-wrap .h-block p { color: var(--ink-2); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 52px 22px 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--accent); transition: transform .25s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .ans { padding: 0 0 24px; color: var(--ink-2); max-width: 46rem; display: grid; gap: 12px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-wrap .h-block { position: static; } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink-2); margin-bottom: clamp(24px, 4vw, 40px); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-hero h1 { font-size: var(--t-h1); letter-spacing: -.028em; font-weight: 440; margin-top: 18px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lede { margin-top: 22px; max-width: 40rem; }
.page-hero .hero-actions { margin-top: 30px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Solutions index rows */
.gate-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin-top: 44px; position: relative; }
.gate-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; border-top: 1.5px dashed var(--line-2); }
.gate-strip a { position: relative; display: grid; gap: 8px; justify-items: start; align-content: start; padding-right: 10px; color: var(--ink); text-decoration: none; font-size: .86rem; line-height: 1.3; }
.gate-strip a .node { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); display: grid; place-items: center; font-family: var(--f-mono); font-size: .66rem; color: var(--accent); }
.gate-strip a:hover .node, .gate-strip a[aria-current="page"] .node { background: var(--accent); color: var(--surface); }
.gate-strip a:hover { color: var(--accent); }
.gate-strip a[aria-current="page"] { font-weight: 650; }
@media (max-width: 900px) {
  .gate-strip-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .gate-strip { min-width: 780px; }
}
.sol-rows { display: grid; }
.sol-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 24px clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); align-items: start; }
.sol-row:last-child { border-bottom: 1px solid var(--line); }
.sol-row .num { font-family: var(--f-display); font-size: clamp(4rem, 3rem + 3vw, 6.2rem); font-weight: 300; line-height: .86; letter-spacing: -.05em; color: var(--accent); }
.sol-row .num small { display: block; font-family: var(--f-mono); font-size: .7rem; line-height: 1.4; font-weight: 500; letter-spacing: .16em; color: var(--ink-2); margin-bottom: 18px; }
.sol-row h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
.sol-row .promise { font-family: var(--f-display); font-style: italic; font-size: 1.22rem; color: var(--ink-2); margin-top: 8px; }
.sol-row .summary { color: var(--ink-2); margin-top: 16px; }
.sol-row .text-link { margin-top: 20px; }
.sol-row .ticks { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .sol-row { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); } .sol-row .ticks { grid-column: 2; } }
@media (max-width: 600px) { .sol-row { grid-template-columns: minmax(0, 1fr); } .sol-row .ticks { grid-column: auto; } }

/* Solution detail */
.sol-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.sol-no { font-family: var(--f-display); font-weight: 300; font-size: clamp(5.5rem, 3.5rem + 8vw, 11rem); line-height: .86; letter-spacing: -.06em; color: var(--accent); }
.sol-no small { display: block; font-family: var(--f-mono); font-size: .72rem; line-height: 1.4; letter-spacing: .18em; font-weight: 500; color: var(--ink-2); margin-bottom: 26px; }
.sol-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); letter-spacing: -.028em; font-weight: 440; margin-top: 26px; }
.sol-promise { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); color: var(--accent); margin-top: 12px; line-height: 1.3; }
.sol-hero .lede { margin-top: 20px; }
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px 26px; display: grid; margin: 0; }
.glance div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; }
.glance dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: 4px; }
.glance dd { margin: 0; font-size: .97rem; line-height: 1.5; }
@media (max-width: 900px) { .sol-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .glance div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.inc { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.inc h3 { font-size: 1.35rem; line-height: 1.2; }
.inc p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 960px) { .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .inc-grid { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 0; counter-reset: step; }
.steps li { position: relative; padding: 0 28px 0 0; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); font-family: var(--f-mono); font-size: .78rem; color: var(--accent); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; border-top: 1.5px dashed var(--line-2); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.25rem; margin-top: 8px; }
.steps p { color: var(--ink-2); font-size: .95rem; }
.deep .steps li::before { background: var(--deep); border-color: var(--sun); color: var(--sun); }
.deep .steps li::after { border-top-color: var(--deep-line); }
.deep .steps p { color: var(--deep-mute); }

.receive { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.receive-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.receive-card .ticks { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.institutions { display: grid; gap: 16px; margin-top: 32px; }
.institutions h3 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 900px) { .receive { grid-template-columns: minmax(0, 1fr); } }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pager a { display: grid; gap: 6px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); text-decoration: none; }
.pager a:hover { border-color: var(--accent); }
.pager a.next { text-align: right; }
.pager span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pager b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.pager .empty { border: 0; background: none; }
@media (max-width: 560px) { .pager { grid-template-columns: minmax(0, 1fr); } .pager a.next { text-align: left; } }

/* Arrival band */
.arrival { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 56px; align-items: start; padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: var(--accent-soft); }
.arrival h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
.arrival p { color: var(--ink-2); margin-top: 12px; }
.arrival .chip { background: var(--surface); border-color: transparent; }
@media (max-width: 860px) { .arrival { grid-template-columns: minmax(0, 1fr); } }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.story .prose-ui { display: grid; gap: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 44rem; }
.story .prose-ui p:first-child { font-family: var(--f-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); color: var(--ink); line-height: 1.35; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } }
.expertise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.exp { background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.exp h3 { font-size: 1.35rem; }
.exp p { color: var(--deep-mute); font-size: .95rem; }
@media (max-width: 1000px) { .expertise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .expertise { grid-template-columns: minmax(0, 1fr); } }
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.reach > div { padding: 26px 26px 6px; border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.reach > div:first-child { border-left: 0; padding-left: 0; }
.reach b { font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.reach p { color: var(--ink-2); }
@media (max-width: 760px) { .reach { grid-template-columns: minmax(0, 1fr); } .reach > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .reach > div:first-child { border-top: 0; } }

/* Checklist (documents) */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.checklist li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid var(--accent); border-radius: 4px; }
@media (max-width: 760px) { .checklist { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-details { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.contact-details dd { margin: 0; font-size: 1.08rem; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.copy-btn { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .78rem; cursor: pointer; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.selectable { user-select: all; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin-bottom: 8px; }
.form-card > p { color: var(--ink-2); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: .88rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px 8px 12px; font-size: .9rem; cursor: pointer; background: var(--surface); user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .box { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.toggle:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.toggle:has(input:checked) .box { background: var(--accent); border-color: var(--accent); }
.toggle:has(input:checked) .box::after { content: ""; width: 6px; height: 3px; border-left: 1.5px solid var(--surface); border-bottom: 1.5px solid var(--surface); transform: rotate(-45deg) translate(1px, -1px); }
.toggle:has(input:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .9rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form-error { grid-column: 1 / -1; color: #B42318; font-size: .92rem; min-height: 1.2em; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions small { color: var(--ink-2); font-size: .84rem; }
.form-result { display: grid; gap: 16px; }
.form-result h3 { font-size: 1.6rem; }
.form-result p { color: var(--ink-2); }
.form-result pre { white-space: pre-wrap; margin: 0; font-family: var(--f-mono); font-size: .84rem; line-height: 1.6; background: var(--sunken); border-radius: 14px; padding: 16px; max-height: 280px; overflow: auto; color: var(--ink); }
.form-result .row { display: flex; flex-wrap: wrap; gap: 10px; }
.form-result .note { font-size: .86rem; color: var(--accent); min-height: 1.2em; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.next-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ns; }
.next-steps li { counter-increment: ns; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; color: var(--accent); }
.next-steps h3 { font-size: 1.3rem; }
.next-steps p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 760px) { .next-steps { grid-template-columns: minmax(0, 1fr); } }

/* Insights index */
.masthead { padding-block: clamp(36px, 5vw, 72px) 0; }
.masthead-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.masthead h1 { font-size: clamp(3.2rem, 1.8rem + 7vw, 8.4rem); letter-spacing: -.045em; line-height: .9; font-weight: 400; padding-block: clamp(20px, 3vw, 36px); }
.masthead h1 em { color: var(--accent); }
.masthead-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.masthead-foot p { color: var(--ink-2); font-size: 1.12rem; max-width: 38rem; }
@media (max-width: 860px) { .masthead-foot { grid-template-columns: minmax(0, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 24px 40px; }
.filter { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 15px; background: transparent; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter .count { font-family: var(--f-mono); font-size: .72rem; opacity: .7; margin-left: 4px; }
.post-card[hidden] { display: none; }
.featured-post { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.featured-post .post-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.featured-post .post-card .body { display: grid; gap: 16px; }
.featured-post .post-card h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); }
.featured-post .post-card p { font-size: 1.08rem; }
@media (max-width: 860px) { .featured-post .post-card { grid-template-columns: minmax(0, 1fr); } }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px 56px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--deep); color: var(--deep-ink); }
.newsletter h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
.newsletter p { color: var(--deep-mute); margin-top: 10px; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1rem; color: var(--deep-ink); background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: 999px; padding: 13px 18px; }
.nl-form input::placeholder { color: var(--deep-mute); }
.nl-form input:focus { outline: none; border-color: var(--sun); }
.nl-result { flex-basis: 100%; font-size: .9rem; color: var(--deep-mute); min-height: 1.2em; }
.nl-result a { color: var(--sun); }
@media (max-width: 860px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }

/* Article */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }
.article-hero { padding-block: clamp(32px, 5vw, 64px) 0; }
.article-hero .eyebrow { margin-top: 4px; }
.article-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.3rem); letter-spacing: -.03em; font-weight: 440; max-width: 20ch; margin-top: 18px; }
.article-dek { font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.45; color: var(--ink-2); max-width: 44rem; margin-top: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 28px; }
.article-meta b { color: var(--ink); font-weight: 500; }
.article-cover { margin-top: clamp(28px, 4vw, 48px); border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 8; background: var(--sunken); }
.article-cover svg { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) { .article-cover { aspect-ratio: 16 / 9; border-radius: 18px; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 320px); justify-content: space-between; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 112px); }
.article-aside { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: grid; gap: 24px; }
.toc { border-top: 1px solid var(--ink); padding-top: 16px; }
.toc h2 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .92rem; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.aside-cta { background: var(--deep); color: var(--deep-ink); border-radius: 22px; padding: 24px; display: grid; gap: 12px; }
.aside-cta .no { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; color: var(--sun); text-transform: uppercase; }
.aside-cta h3 { font-size: 1.45rem; }
.aside-cta p { color: var(--deep-mute); font-size: .94rem; }
.aside-cta .btn { justify-self: start; }
.toc-mobile { display: none; }
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .article-aside { position: static; order: 2; }
  .article-aside .toc { display: none; }
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; background: var(--surface); margin-bottom: 8px; }
  .toc-mobile summary { cursor: pointer; padding: 12px 0; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
  .toc-mobile ol { padding: 0 0 14px 18px; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
  .toc-mobile a { color: var(--ink); text-decoration: none; }
}

.prose { font-family: var(--f-display); font-size: clamp(1.12rem, 1.06rem + .25vw, 1.24rem); line-height: 1.7; color: var(--ink); min-width: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.15; margin-top: 1.9em; letter-spacing: -.02em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.32rem; line-height: 1.25; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 650; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--accent); font-style: italic; color: var(--ink-2); }
.prose .glance-box, .prose .callout, .prose .table-wrap, .prose .worked, .prose .sources { font-family: var(--f-ui); }
.glance-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.glance-box h2 { font-family: var(--f-mono) !important; font-size: .7rem !important; letter-spacing: .14em !important; text-transform: uppercase; font-weight: 500 !important; color: var(--accent); margin: 0 0 12px !important; }
.glance-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1rem; line-height: 1.5; }
.glance-box li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.glance-box li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: .55em; }
.glance-box li + li { margin-top: 0; }
.callout { border-radius: 16px; padding: 18px 22px; background: var(--accent-soft); font-size: 1rem; line-height: 1.6; }
.callout b:first-child { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.callout.warn { background: color-mix(in srgb, var(--sun) 18%, var(--surface)); }
.callout.warn b:first-child { color: var(--sun-ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); background: var(--sunken); }
.prose tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose tr.total td { font-weight: 650; background: var(--accent-soft); }
.worked { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.worked h3 { font-family: var(--f-ui) !important; font-size: 1rem !important; font-weight: 650; margin: 0 !important; padding: 14px 18px; background: var(--sunken); }
.worked table { min-width: 0; }
.updated-note { font-family: var(--f-ui); font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2.4em !important; }
.sources { border-top: 1px solid var(--ink); padding-top: 16px; margin-top: 2.2em !important; }
.sources h2 { font-family: var(--f-mono) !important; font-size: .7rem !important; letter-spacing: .14em !important; text-transform: uppercase; font-weight: 500 !important; color: var(--ink-2); margin: 0 0 10px !important; }
.sources ol { padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; line-height: 1.45; }
.sources li + li { margin-top: 0; }
.sources a { color: var(--ink-2); word-break: break-word; }
.sources a:hover { color: var(--accent); }
.related { border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-ink); }
.footer-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: end; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--deep-line); }
.footer-cta h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.2rem); letter-spacing: -.035em; line-height: .98; font-weight: 420; }
.footer-cta h2 em { color: var(--sun); }
.footer-cta .side { display: grid; gap: 22px; }
.footer-cta .side p { color: var(--deep-mute); font-size: 1.08rem; }
.footer-cta .hero-actions { margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.7fr); gap: 36px; padding-block: 56px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo { color: var(--deep-ink); }
.site-footer .logo-word small { color: var(--sun); }
.footer-brand p { color: var(--deep-mute); font-size: .94rem; max-width: 22rem; }
.footer-col h3 { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-mute); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--deep-ink); text-decoration: none; font-size: .94rem; opacity: .9; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-col address { font-style: normal; color: var(--deep-mute); font-size: .94rem; line-height: 1.6; }
.footer-news p { color: var(--deep-mute); font-size: .94rem; margin-bottom: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--deep-line); font-size: .86rem; color: var(--deep-mute); }
.footer-bottom a { color: var(--deep-mute); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1080px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand, .footer-news { grid-column: 1 / -1; } }
@media (max-width: 860px) { .footer-cta { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* WhatsApp quick button */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 65; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px 10px 12px; box-shadow: var(--shadow); text-decoration: none; font-weight: 600; font-size: .9rem; }
.wa-float:hover { border-color: var(--accent); text-decoration: none; }
.wa-float svg { width: 22px; height: 22px; color: var(--accent); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

/* Palette review (preview only) */
.palette-review { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; }
.palette-review .pr-label { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 0 6px 0 8px; }
.palette-review button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer; font: inherit; font-size: .82rem; color: var(--ink); }
.palette-review button:hover { background: var(--sunken); }
.palette-review button[aria-pressed="true"] { border-color: var(--ink); }
.palette-review .sw { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
@media (max-width: 600px) { .palette-review button .nm, .palette-review .pr-label { display: none; } .palette-review button { padding: 6px; } }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; gap: 22px; padding-block: var(--section); }
.lost .big { font-family: var(--f-display); font-size: clamp(6rem, 4rem + 10vw, 14rem); line-height: .8; letter-spacing: -.06em; color: var(--accent); font-weight: 300; }
.lost h1 { font-size: var(--t-h2); }
.lost p { color: var(--ink-2); max-width: 36rem; }

/* Legal */
.legal { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: 1.6rem; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.split-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }

/* Mobile refinements */
@media (max-width: 900px) {
  .pass { width: min(calc(100% - 28px), 440px); transform: rotate(-2.5deg); animation: none; }
}
@media (max-width: 980px) {
  .gate-panel { gap: 12px; padding: 22px 22px 24px; }
  .gate-panel .desc, .gate-panel .ticks, .gate-panel .gp-foot .for { display: none; }
  .gp-no { font-size: 3rem; }
  .gate-panel h3 { font-size: 1.6rem; }
  .gate-panel .promise { margin-top: -4px; }
  .gp-foot { padding-top: 4px; border-top: 0; }
}
@media (max-width: 700px) {
  .timeline-scroll { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .timeline { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .tl-axis, .tl-marker-label { grid-column: 1; }
  .tl-axis .wk { display: none; }
  .tl-name { grid-template-columns: auto auto; justify-content: space-between; align-items: baseline; padding: 14px 0 2px; }
  .tl-track { border-top: 0; padding-block: 6px 14px; }
  .tl-bar { height: 30px; padding: 0 8px; font-size: .66rem; border-radius: 8px; }
  .tl-bar .lb-full { display: none; }
  .tl-bar .lb-short { display: inline; }
  .tl-bar.go::after { width: 14px; }
}

.worked .table-wrap { margin-top: 0 !important; }
.next-mini { margin-top: 36px; display: grid; gap: 14px; }
.next-mini h2 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.next-mini ol { margin: 0; padding: 0; list-style: none; counter-reset: nm; display: grid; gap: 16px; }
.next-mini li { counter-increment: nm; position: relative; padding: 5px 0 0 48px; min-height: 32px; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.next-mini li::before { position: absolute; left: 0; top: 0; content: counter(nm, decimal-leading-zero); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; font-family: var(--f-mono); font-size: .7rem; color: var(--accent); }
.next-mini b { color: var(--ink); font-weight: 600; }

/* Photography */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: var(--sunken); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; background: linear-gradient(to top, rgba(0, 0, 0, .62), transparent); }
.hero-panel .hero-photo { position: absolute; inset: 0; border-radius: 0; }
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 40%); pointer-events: none; }
.hero-panel .coords { z-index: 1; color: rgba(255, 255, 255, .78); }
.hero-panel .coords b { color: #FFFFFF; }
@media (max-width: 900px) { .hero-stage { padding-top: 0; } .hero-panel { min-height: 100%; } .pass { margin-top: 160px; } }
.band-photo { aspect-ratio: 16 / 5; margin-bottom: clamp(40px, 6vw, 72px); }
.band-photo.tall { aspect-ratio: 16 / 6; margin-bottom: 0; }
@media (max-width: 700px) { .band-photo, .band-photo.tall { aspect-ratio: 4 / 3; } }

.explore-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.explore-copy { display: grid; gap: 20px; }
.explore-copy h2 { font-size: var(--t-h2); }
.explore-copy .ticks { grid-template-columns: minmax(0, 1fr); }
.explore-copy .hero-actions { margin-top: 8px; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mosaic .m-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaic .m-sq { aspect-ratio: 1; border-radius: 16px; }
.mosaic .m-sq figcaption { padding: 24px 10px 8px; font-size: .6rem; }
@media (max-width: 900px) { .explore-grid { grid-template-columns: minmax(0, 1fr); } }

.photo.sq { aspect-ratio: 1; max-width: 420px; }
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tall-photo { aspect-ratio: 4 / 5; }
.reach.stack { grid-template-columns: minmax(0, 1fr); }
.reach.stack > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-bottom: 20px; }
.reach.stack > div:first-child { border-top: 0; }
@media (max-width: 900px) { .where { grid-template-columns: minmax(0, 1fr); } .tall-photo { aspect-ratio: 4 / 3; } }

.explore-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.explore-hero h1 { font-size: var(--t-h1); letter-spacing: -.028em; font-weight: 440; margin-top: 18px; }
.explore-hero .lede { margin-top: 22px; }
.explore-hero .hero-actions { margin-top: 30px; }
.hero-side { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .explore-hero { grid-template-columns: minmax(0, 1fr); } .hero-side { aspect-ratio: 4 / 3; } }

.xp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.xp { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.xp-photo { aspect-ratio: 16 / 10; border-radius: 0; }
.xp-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.xp-body .tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.xp-body h3 { font-size: 1.6rem; }
.xp-body p { color: var(--ink-2); }
@media (max-width: 700px) { .xp-grid { grid-template-columns: minmax(0, 1fr); } }
.mini-head { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.principles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .principles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles.four { grid-template-columns: minmax(0, 1fr); } }

.trip-plan { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--deep-line); }
.trip-plan li { padding: 24px 24px 8px; border-left: 1px solid var(--deep-line); display: grid; gap: 10px; align-content: start; }
.trip-plan li:first-child { border-left: 0; padding-left: 0; }
.trip-plan .when { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--sun); text-transform: uppercase; }
.trip-plan h3 { font-size: 1.45rem; }
.trip-plan p { color: var(--deep-mute); font-size: .96rem; }
@media (max-width: 960px) { .trip-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trip-plan li:nth-child(3) { border-left: 0; padding-left: 0; } .trip-plan li:nth-child(n+3) { border-top: 1px solid var(--deep-line); } }
@media (max-width: 560px) { .trip-plan { grid-template-columns: minmax(0, 1fr); } .trip-plan li { border-left: 0; padding-left: 0; } .trip-plan li + li { border-top: 1px solid var(--deep-line); } }

.karibu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--deep); color: var(--deep-ink); }
.karibu-photo { aspect-ratio: 3 / 2; border-radius: 18px; }
.karibu h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin-top: 12px; }
.karibu p { color: var(--deep-mute); margin-top: 12px; }
.karibu .eyebrow { color: var(--sun); }
.karibu .btn-primary { background: var(--sun); color: var(--sun-ink); }
.karibu .hero-actions { margin-top: 22px; }
@media (max-width: 760px) { .karibu { grid-template-columns: minmax(0, 1fr); } }
.hero-panel .hero-photo { margin: 0; }
.hero-panel .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (min-width: 901px) { .pass { top: 50%; } }
@media (max-width: 900px) { .hero-panel { inset: 0; } .pass { margin-top: 220px; } }
.story .prose-ui { align-content: start; }
.explore-copy h2 em { color: var(--accent); }
:root[data-palette="kenya"] .explore-copy h2 em { color: var(--cta); }

/* ---------- Dynamic site additions ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mobile-only { display: none; }
.search-btn { padding: 10px 12px; }
.search-btn .i { width: 18px; height: 18px; }
@media (max-width: 1020px) { .mobile-only { display: inline-flex; margin-left: auto; } .menu-toggle { margin-left: 6px; } }

/* Reveal: only content below the first screen is prepared, so the first view is always complete */
@media (prefers-reduced-motion: no-preference) {
  .pending { opacity: .2; transform: translateY(22px); }
  .reveal, .stage, .grow-bars, .in { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .grow-bars.pending { opacity: 1; transform: none; }
  .grow-bars.pending .tl-bar { transform: scaleX(.04); }
  .grow-bars .tl-bar { transform-origin: 0 50%; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
  .grow-bars .tl-row:nth-of-type(2) .tl-bar { transition-delay: .12s; }
  .grow-bars .tl-row:nth-of-type(3) .tl-bar { transition-delay: .24s; }
  .grow-bars .tl-row:nth-of-type(4) .tl-bar { transition-delay: .36s; }
  .grow-bars .tl-row:nth-of-type(5) .tl-bar { transition-delay: .48s; }
}

/* Search dialog */
.search-dialog { position: fixed; inset: 0; z-index: 80; background: rgba(10, 10, 10, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; align-items: start; justify-items: center; padding: calc(10vh + env(safe-area-inset-top, 0px)) 16px 24px; }
.search-dialog[hidden] { display: none; }
.search-panel { width: min(680px, 100%); background: var(--surface); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); overflow: hidden; }
.search-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-top .i { width: 20px; height: 20px; color: var(--ink-2); }
.search-top input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.1rem; padding: 8px 0; background: transparent; color: var(--ink); }
.search-top input:focus { outline: none; }
.search-close { border: 1px solid var(--line-2); background: none; border-radius: 8px; padding: 4px 8px; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-2); cursor: pointer; }
.search-results { max-height: min(60vh, 520px); overflow-y: auto; }
.search-results ul { list-style: none; margin: 0; padding: 8px; }
.search-results a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--sunken); outline: none; }
.search-results .sk { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.search-results b { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; }
.search-results span:last-child { font-size: .9rem; color: var(--ink-2); }
.search-hint { padding: 18px 20px; color: var(--ink-2); font-size: .95rem; }
.search-hint button { border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 4px 10px; margin: 4px 4px 0 0; font: inherit; font-size: .86rem; cursor: pointer; color: var(--ink); }

/* Insights search */
.insight-search { position: relative; justify-self: end; width: min(100%, 360px); }
.insight-search input { width: 100%; font: inherit; border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px 12px 42px; background: var(--surface); color: var(--ink); }
.insight-search input:focus { outline: none; border-color: var(--accent); }
.insight-search .i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-2); }
.no-results { padding: 30px 0; color: var(--ink-2); }
.cover .cover-photo { margin: 0; height: 100%; border-radius: 0; }
.article-cover .cover-photo { height: 100%; }

/* Partners and attached plan */
.partner-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.partner { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.partner h3 { font-size: 1.3rem; }
.partner p { color: var(--ink-2); font-size: .94rem; }
.partner .tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
@media (max-width: 860px) { .partner-list { grid-template-columns: minmax(0, 1fr); } }
.plan-attached { background: var(--accent-soft); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* Entry planner */
.planner-note { color: var(--ink-2); font-size: .95rem; border-left: 2px solid var(--accent); padding-left: 14px; max-width: 28rem; }
.planner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.planner-form { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.pq { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 18px; margin: 0; background: var(--surface); min-width: 0; }
.pq legend { font-family: var(--f-display); font-size: 1.15rem; padding: 0 6px; margin-left: -6px; display: flex; gap: 10px; align-items: baseline; }
.pq-no { font-family: var(--f-mono); font-size: .72rem; color: var(--accent); }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; gap: 2px; height: 100%; padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s ease, background-color .15s ease; }
.seg b { font-weight: 650; font-size: .95rem; }
.seg small { color: var(--ink-2); font-size: .8rem; line-height: 1.35; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.seg input:focus-visible + span { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { border-color: var(--accent); color: var(--accent); }
.stepper output { font-family: var(--f-display); font-size: 2rem; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.stepper-hint { color: var(--ink-2); font-size: .85rem; }
.date-in { margin-top: 10px; font: inherit; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; background: var(--bg); color: var(--ink); }
.planner-out { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; min-width: 0; box-shadow: var(--shadow); }
.po-head { display: grid; gap: 14px; }
.po-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); margin-top: 8px; }
.po-head h2 span { color: var(--cta); }
.po-date { color: var(--ink-2); margin-top: 6px; }
.po-gates { display: flex; flex-wrap: wrap; gap: 6px; }
.po-chart { --pc-name: 200px; position: relative; overflow: hidden; }
.pc-axis { position: relative; height: 24px; margin-left: var(--pc-name); font-family: var(--f-mono); font-size: .66rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.pc-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.pc-axis span:first-child { transform: none; }
.pc-axis span:last-child:not(:first-child) { transform: translateX(-100%); }
.pc-row { display: grid; grid-template-columns: var(--pc-name) minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line); min-height: 40px; }
.pc-name { font-size: .84rem; line-height: 1.3; padding: 6px 12px 6px 0; display: flex; gap: 8px; align-items: baseline; }
.pc-gate { font-family: var(--f-mono); font-size: .66rem; color: var(--accent); flex: none; }
.pc-track { position: relative; height: 40px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 100%); }
.pc-bar { position: absolute; top: 9px; height: 22px; border-radius: 6px; background: var(--accent); color: #fff; font-family: var(--f-mono); font-size: .62rem; display: flex; align-items: center; padding: 0 6px; overflow: hidden; white-space: nowrap; transition: left .4s ease, width .4s ease; }
.pc-bar.g01 { background: var(--ink-3); } .pc-bar.g02 { background: var(--accent); } .pc-bar.g03 { background: #8A5C00; }
.pc-bar.g04 { background: var(--cta); } .pc-bar.g05 { background: #3D4FA8; } .pc-bar.g06 { background: #5B3DA8; } .pc-bar.g08 { background: var(--line-2); color: var(--ink); }
.pc-ready { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--cta); pointer-events: none; transition: left .4s ease; }
.pc-lab { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: .62rem; color: var(--ink-2); white-space: nowrap; pointer-events: none; }
.pc-ready.pc-flip span { left: auto; right: 6px; }
.pc-ready span { position: absolute; top: 2px; left: 6px; font-family: var(--f-mono); font-size: .64rem; color: var(--cta); background: var(--surface); padding: 0 4px; white-space: nowrap; }
.po-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.po-cols h3 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.checklist.slim { grid-template-columns: minmax(0, 1fr); }
.checklist.slim li { padding: 9px 0; font-size: .92rem; }
.po-free { color: var(--ink-2); margin-bottom: 10px; }
.po-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.po-msg { color: var(--accent); font-size: .9rem; }
.po-assume summary { cursor: pointer; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.po-assume table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 10px; }
.po-assume td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.po-assume td:first-child { font-weight: 600; width: 38%; }
.po-assume p { color: var(--ink-2); font-size: .86rem; margin-top: 10px; }
@media (max-width: 980px) { .planner { grid-template-columns: minmax(0, 1fr); } .planner-form { position: static; } }
@media (max-width: 600px) { .po-chart { --pc-name: 118px; } .pc-name { font-size: .74rem; } .po-cols { grid-template-columns: minmax(0, 1fr); } .pc-lab { display: none; } }

/* ================= Kenya branding (home) ================= */
/* Hero: the flag waves behind everything */
.hero-ke { --ke-red: #BB0000; --ke-green: #006B3F; --ke-glow: #FF6B5E; background: #070707; color: #fff; isolation: isolate;
  padding-block: clamp(40px, 6vw, 88px) clamp(70px, 8vw, 110px); min-height: min(880px, calc(100svh - 60px)); display: flex; align-items: center; }
.hero-ke > .wrap { position: relative; z-index: 2; width: 100%; }
.flag-stage { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #000; }
.flag-static, .flag-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flag-static { object-fit: cover; object-position: 56% 50%; transform: scale(1.12); transition: opacity .8s ease; }
.flag-stage.live .flag-static { opacity: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.8) 34%, rgba(5,5,5,.42) 58%, rgba(5,5,5,.2) 78%, rgba(5,5,5,.38) 100%),
    linear-gradient(0deg, rgba(5,5,5,.75) 0%, transparent 28%),
    linear-gradient(180deg, rgba(5,5,5,.5) 0%, transparent 18%); }
.hero-ke h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
:root .hero.hero-ke h1 em, :root[data-palette] .hero.hero-ke h1 em { color: #fff; text-decoration: underline; text-decoration-color: #00A65A; text-decoration-thickness: .07em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.hero-ke .eyebrow { color: #fff; }
.hero-ke .eyebrow::before { background: linear-gradient(90deg, #111 0 33%, var(--ke-red) 33% 66%, var(--ke-green) 66%); height: 3px; width: 30px; box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.hero-ke .lede { color: rgba(255,255,255,.86); }
.hero-ke .btn-primary { background: var(--ke-red); color: #fff; }
.hero-ke .btn-primary:hover { background: #fff; color: #111; }
.hero-ke .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.25); backdrop-filter: blur(4px); }
.hero-ke .btn-secondary:hover { border-color: #fff; }
.hero-ke .hero-proof { border-top-color: rgba(255,255,255,.22); }
.hero-ke .hero-proof div { color: rgba(255,255,255,.72); }
.hero-ke .hero-proof b { color: #fff; }
.hero-coords { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; margin: 0; text-align: center; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-coords b { color: #fff; font-weight: 500; }

/* Photo splash: three prints and the boarding pass */
.splash { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1 / 1.08; }
.sp { position: absolute; margin: 0; background: #FBFAF6; padding: 8px 8px 34px; border-radius: 4px; box-shadow: 0 34px 60px -26px rgba(0,0,0,.85), 0 2px 8px rgba(0,0,0,.35); }
.sp .sp-img { margin: 0; }
.sp img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.sp figcaption { position: absolute; left: 10px; right: 10px; bottom: 9px; display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp figcaption .pin { width: 11px; height: 11px; color: #BB0000; flex: none; }
.sp-2 figcaption, .sp-3 figcaption { justify-content: flex-end; }
.splash .pass-top > span:last-child { display: none; }
.sp-1 { left: 3%; top: 0; width: 46%; transform: rotate(-5deg); z-index: 2; }
.sp-1 .sp-img { aspect-ratio: 4 / 5; }
.sp-2 { right: 0; top: 5%; width: 52%; transform: rotate(4deg); z-index: 1; }
.sp-2 .sp-img { aspect-ratio: 4 / 3; }
.sp-3 { right: 1%; bottom: 3%; width: 47%; transform: rotate(3deg); z-index: 3; }
.sp-3 .sp-img { aspect-ratio: 4 / 3; }
.splash .pass { left: -5%; top: auto; bottom: 6%; width: min(66%, 360px); grid-template-columns: minmax(0, 1fr) 84px; z-index: 4; transform: rotate(-3deg); }
.splash .pass-code { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
.splash .pass-stub .gate { font-size: 2rem; }
.splash .pass-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (prefers-reduced-motion: no-preference) {
  .sp { animation: sp-float 7s ease-in-out infinite alternate; }
  .sp-2 { animation-delay: -2.5s; } .sp-3 { animation-delay: -5s; }
  @keyframes sp-float { from { translate: 0 0; } to { translate: 0 -10px; } }
  .splash .pass { animation: pass-in2 1.1s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes pass-in2 { from { transform: rotate(-8deg) translate(-14px, 24px); opacity: 0; } to { transform: rotate(-3deg); opacity: 1; } }
}
@media (max-width: 900px) {
  .hero-ke { min-height: 0; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.72) 55%, rgba(5,5,5,.45) 100%); }
  .splash { justify-self: center; max-width: 520px; margin-top: 18px; aspect-ratio: 1 / 1.05; }
  .hero-coords { display: none; }
}
@media (max-width: 480px) {
  .splash { aspect-ratio: 1 / 1.18; }
  .sp { padding: 5px 5px 26px; }
  .sp figcaption { font-size: .56rem; bottom: 7px; }
  .splash .pass { width: 70%; left: 0; bottom: 2%; grid-template-columns: minmax(0, 1fr) 70px; }
  .splash .pass-top, .splash .pass-stub .barcode { display: none; }
  .splash .pass-stub { padding: 12px 10px; }
  .splash .pass-stub .gate { font-size: 1.6rem; }
  .splash .pass-main { padding: 14px 14px; gap: 10px; }
  .splash .pass-fields { display: none; }
}

/* Maasai shuka check band */
.shuka { height: 18px; background-color: #C1121F;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(0,0,0,.55) 22px 26px, transparent 26px 34px, rgba(18,40,120,.75) 34px 40px, transparent 40px 56px),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(0,0,0,.45) 5px 7px, transparent 7px 11px, rgba(18,40,120,.6) 11px 13px, transparent 13px 18px); }

/* Kenya in pictures */
.frames { padding-block: clamp(56px, 7vw, 96px); background: #0B0B0A; overflow: hidden; }
.frames-head { margin-bottom: clamp(28px, 4vw, 44px); display: grid; gap: 16px; }
.frames-head h2 { font-size: var(--t-h2); max-width: 20ch; }
.frames-head h2 em { color: #FF6B5E; }
.frames .eyebrow { color: #fff; }
.frames-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.frames-row + .frames-row { margin-top: 14px; }
.frames-track { display: flex; width: max-content; }
.frames-set { display: flex; gap: 14px; padding-right: 14px; }
.frame { position: relative; margin: 0; height: clamp(170px, 20vw, 250px); flex: none; border-radius: 14px; overflow: hidden; background: #1a1a18; }
.frame img { height: 100%; width: auto; display: block; transition: transform .8s ease; }
.frame:hover img { transform: scale(1.04); }
.frame figcaption { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(10,10,10,.72); backdrop-filter: blur(6px); color: #fff; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.frame figcaption .pin { width: 11px; height: 11px; color: #FF6B5E; }
@media (prefers-reduced-motion: no-preference) {
  .frames-track { animation: frames-slide 70s linear infinite; }
  .frames-row.rev .frames-track { animation-direction: reverse; animation-duration: 82s; }
  .frames-row:hover .frames-track { animation-play-state: paused; }
  @keyframes frames-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .frames-row { overflow-x: auto; }
  .frames-set[aria-hidden] { display: none; }
}

/* What Kenya offers */
.offers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 330px; grid-auto-flow: dense; gap: 14px; }
.offer { position: relative; border-radius: 18px; overflow: hidden; background: #111; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.offer.o-tall { grid-row: span 2; }
.offer.o-wide { grid-column: span 2; }
.offer-art { position: absolute; inset: 0; z-index: -2; }
.offer-art figure { margin: 0; height: 100%; }
.offer-art img, .offer-svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s ease; }
.offer:hover .offer-art img, .offer:hover .offer-svg { transform: scale(1.04); }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.88) 100%); }
.offer-body { padding: 20px 20px 22px; display: grid; gap: 8px; }
.offer-sw { justify-self: start; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: #BB0000; color: #fff; }
.offer:nth-child(3n+2) .offer-sw { background: #006B3F; }
.offer:nth-child(3n) .offer-sw { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.offer h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); line-height: 1.12; letter-spacing: -.01em; }
.offer.o-tall h3, .offer.o-wide h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); }
.offer p { font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.84); margin: 0; }
.offer-cta { background: #0B0B0A; align-items: center; }
.offer-cta::after { display: none; }
.offer-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: linear-gradient(180deg, #111 0 30%, #fff 30% 34%, #BB0000 34% 66%, #fff 66% 70%, #006600 70%); clip-path: polygon(78% 0, 100% 0, 100% 100%, 62% 100%); }
.offer-cta .offer-body { max-width: 62%; padding: 28px; }
.offer-cta .hero-actions { margin-top: 10px; }
.offer-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
@media (max-width: 1020px) {
  .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-cta .offer-body { max-width: 70%; }
}
@media (max-width: 620px) {
  .offers-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(300px, auto); }
  .offer.o-tall { grid-row: span 1; min-height: 420px; }
  .offer.o-wide { grid-column: span 1; }
  .offer-cta .offer-body { max-width: none; padding: 24px 20px 120px; }
  .offer-cta::before { clip-path: polygon(0 82%, 100% 70%, 100% 100%, 0 100%); }
}

/* ================= Wide screens: use the full width ================= */
@media (min-width: 1680px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 118.75%; } :root { --wrap: 2000px; } .splash { max-width: 780px; } }
.splash .pass-stub .seat { white-space: nowrap; }
@media (min-width: 1500px) {
  .splash { max-width: 660px; }
  .hero-ke .lede { max-width: 38rem; }
  .post-grid { gap: 56px 36px; }
}
/* Guides: contents on the left, the article in the middle, the call to action on the right */
@media (min-width: 1280px) {
  .article-layout { grid-template-columns: 230px minmax(0, 1fr) 300px; justify-content: stretch; gap: clamp(40px, 4vw, 72px); }
  .article-main { grid-column: 2; grid-row: 1; max-width: 800px; justify-self: center; width: 100%; }
  .article-aside { display: contents; }
  .article-aside .toc { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
  .article-aside .aside-cta { grid-column: 3; grid-row: 1; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
}
