/* Afya Titans. Palette taken from the Titan herself: Nairobi dusk, shuka red, beadwork. */
:root {
  --night: #0A0C1B; --night-2: #10132B; --dusk: #232A52; --haze: #4A5378;
  --bone: #F5EFE4; --mist: #BDBCD2; --mist-2: #8C8EAD; --ink: #14101A;
  --shuka: #D5202B; --shuka-hot: #EE3A3A; --shuka-deep: #A3141F; --shuka-dark: #5E0B14;
  --gold: #F4B63F; --orange: #EE7B2B; --green: #19B36B; --teal: #2BB5A8; --cyan: #6FE3FF; --blue: #2F5DD1;
  --gutter: clamp(16px, 4.4vw, 68px);
  --display: "Unbounded", "Outfit", system-ui, sans-serif;
  --text: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --section: clamp(4.5rem, 13vh, 10rem);
  --sheet: clamp(18px, 2.8vw, 40px); /* the rounded corner of a section that slides over the one before it */
  /* How much of the top of the screen the phone keeps for itself. Nothing in most browsers; about 90px on an
     iPhone whose browser draws the page under its own top bar. The bar at the top of this site moves down by it. */
  --sat: env(safe-area-inset-top, 0px);
  /* The height of the window, for anything pinned to it: the browser's own figure with its bars showing, or the
     height the page measures for itself (--vv, set by js/main.js), whichever is smaller. They agree in every
     browser tested. The second guards against a phone browser that reports a taller window than can be seen,
     which puts the words at the bottom of a pinned part below the edge of the screen (seen on the owner's
     iPhone on his other site, 18 November 2026). */
  --fit: min(100vh, var(--vv, 100vh));
}
@supports (height: 1svh) { :root { --fit: min(100svh, var(--vv, 100svh)); } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--shuka); color: var(--bone); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { padding-inline: var(--gutter); max-width: 96rem; margin-inline: auto; }
.nb { white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
p { text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: .7em; font: 500 .72rem/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--mist); }
.dot { flex: none; width: .62em; height: .62em; border-radius: 50%; background: var(--c, var(--shuka)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--shuka)) 26%, transparent); }
.fine { font-size: .82rem; color: var(--mist-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px; background: var(--shuka); color: var(--bone); font: 600 1rem/1 var(--text); text-decoration: none; white-space: nowrap; transition: background .16s var(--ease), transform .16s var(--ease); }
.btn svg { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .72em 1.15em; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--shuka-hot); } .btn:hover svg { transform: translateX(4px); } }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 60; top: calc(var(--sat) + clamp(10px, 2vh, 20px)); left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .5rem .5rem 1rem; border-radius: 999px; background: rgba(10, 12, 27, .84); box-shadow: inset 0 1px 0 rgba(245, 239, 228, .1), 0 10px 30px -18px rgba(0, 0, 0, .8); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 500 1.08rem/1 var(--text); letter-spacing: -0.01em; }
.brand__mark { width: 2rem; height: 1.94rem; flex: none; }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); font-size: .95rem; }
.nav__links a { text-decoration: none; color: var(--mist); transition: color .15s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--bone); }
/* the section on screen is marked in the bar (js/extras.js keeps aria-current up to date) */
.nav__links a[aria-current] { text-decoration: underline; text-decoration-color: var(--shuka-hot); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.nav__menu, .nav__sound { display: none; }
.nav__end { display: flex; align-items: center; gap: .5rem; }
.sound { appearance: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mist); cursor: pointer; transition: color .15s var(--ease), background .15s var(--ease); }
.sound svg { width: 1.25rem; height: 1.25rem; }
.sound .sound__wave { display: none; }
.sound[aria-pressed="true"] { color: var(--bone); }
.sound[aria-pressed="true"] .sound__wave { display: block; }
.sound[aria-pressed="true"] .sound__off { display: none; }
@media (hover: hover) and (pointer: fine) { .sound:hover { color: var(--bone); background: rgba(245, 239, 228, .08); } }
@media (max-width: 920px) {
  .nav__links { display: none; }
  /* With the page's script running, the links become a menu that drops from the bar. Without it they stay
     hidden, as before, and the page is still read from top to bottom. */
  .js .nav__links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: grid; gap: 0; padding: .45rem 1.15rem .6rem; border-radius: 24px; background: rgba(10, 12, 27, .97); box-shadow: inset 0 1px 0 rgba(245, 239, 228, .1), 0 26px 60px -22px rgba(0, 0, 0, .9); opacity: 0; visibility: hidden; transform: translate3d(0, -10px, 0); transition: opacity .22s var(--ease), transform .35s var(--ease), visibility 0s .22s; }
  .js .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .nav__links a { display: flex; align-items: center; gap: .85rem; min-height: 3.2rem; border-top: 1px solid rgba(245, 239, 228, .1); font: 500 1.15rem/1.2 var(--display); letter-spacing: -0.015em; color: var(--bone); text-decoration: none; }
  .js .nav__links a:first-child { border-top: 0; }
  .js .nav__links a::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mist-2); opacity: .5; transition: background .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease); }
  .js .nav__links a[aria-current]::before { background: var(--shuka-hot); opacity: 1; transform: scale(1.4); }
  .js .nav__menu { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--bone); cursor: pointer; }
  .nav__menu span { position: relative; display: block; width: 18px; height: 10px; }
  .nav__menu span::before, .nav__menu span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .nav__menu span::before { top: 0; } .nav__menu span::after { bottom: 0; }
  .nav.is-open .nav__menu span::before { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__menu span::after { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .brand__name { font-size: 1rem; }
  /* a phone's bar has no room for both switches, so the sound switch moves into the menu */
  .js .nav__end .sound { display: none; }
  .js .nav__sound { display: flex; align-items: center; justify-content: space-between; min-height: 3.2rem; padding: 0; border: 0; border-top: 1px solid rgba(245, 239, 228, .1); background: none; color: var(--mist); font: 500 .76rem/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
  .nav__sound-state { padding: .55em .9em; border-radius: 999px; background: rgba(245, 239, 228, .12); color: var(--bone); }
  .nav__sound[aria-pressed="true"] .nav__sound-state { background: var(--shuka); }
}
/* Narrow phones. Under 390 across, the name, the menu and the button were more than the bar holds: the name
   broke onto two lines, and under 360 the button poked out of the bar's right-hand end. So everything sits a
   little closer; and under 360 the button's words are a little smaller too (it stays as tall as it was). */
@media (max-width: 389px) {
  .nav { gap: .5rem; padding-left: .75rem; } .nav__end { gap: .25rem; }
  .nav .btn--sm { padding-inline: .95em; }
}
@media (max-width: 359px) { .nav .btn--sm { padding-block: .8em; font-size: .84rem; } }
@media (prefers-reduced-motion: reduce) { .js .nav__links, .nav__menu span::before, .nav__menu span::after { transition: none; } }

/* ============ THE JOURNEY ============ */
.journey { position: relative; height: 960vh; height: 960svh; }
.stage { position: sticky; top: 0; height: 100vh; height: var(--fit); overflow: hidden; background: var(--night); isolation: isolate; }
/* Everything the scroll animates on this stage is a layer of its own that is only moved, scaled or faded,
   never repainted: the plate, the scrim over it, the flare, the particle canvas and the words. */
.sky, .gl, .heroscrim { position: absolute; inset: 0; }
.sky { background: linear-gradient(to bottom, #0B0E20 0, #14182E 42%, var(--night) 100%); }
.plate { position: absolute; left: 0; top: calc((100vh - max(100vh, 55.82vw)) * 0.3); width: max(100vw, 179.15vh); aspect-ratio: 2560 / 1429; transform-origin: 38.5% 78.5%; opacity: var(--plate-o, 1); transform: translate3d(var(--plate-x, 0px), var(--plate-y, 0px), 0) scale(var(--plate-s, 1)); will-change: transform, opacity; }
.plate__img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* her head turn, drawn over the still. Only her side of the picture; js/hero.js feathers its right-hand edge into the sky */
.plate__turn { position: absolute; left: 0; top: 0; width: 60%; height: 100%; opacity: var(--turn, 0); pointer-events: none; }
/* the cross on her chest is a door: press it to go inside */
.plate__cross { position: absolute; left: 38.5%; top: 78.5%; width: 5.4%; aspect-ratio: 1; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.plate__cross::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1.5px solid rgba(111, 227, 255, 0); transition: border-color .3s var(--ease), transform .5s var(--ease); }
.plate__cross:hover::after, .plate__cross:focus-visible::after { border-color: rgba(111, 227, 255, .85); transform: scale(1.22); }
.plate__cross:focus-visible { outline: none; }
.heroscrim { pointer-events: none; opacity: var(--hero, 1); will-change: opacity; background: radial-gradient(ellipse 52% 60% at 84% 44%, rgba(10, 12, 27, .7), rgba(10, 12, 27, .36) 50%, transparent 80%), linear-gradient(to bottom, rgba(10, 12, 27, .5) 0, transparent 15%); }
/* the flare: one disc of light, painted once. The page moves it from the cross on her chest and scales it up until it fills the screen */
.flare { position: absolute; left: -25vmax; top: -25vmax; width: 50vmax; height: 50vmax; border-radius: 50%; pointer-events: none; opacity: var(--flare, 0); transform: translate3d(var(--fx, 50vw), var(--fy, 60vh), 0) scale(var(--fk, .3)); will-change: transform, opacity; background: radial-gradient(circle closest-side, rgba(222, 247, 252, .95) 0, rgba(111, 227, 255, .55) 22.2%, rgba(47, 93, 209, .18) 53.3%, transparent 100%); }
/* the particle scene. Its soft glow and darkened corners are drawn inside it (js/journey.js), not as more layers here */
.gl { width: 100%; height: 100%; opacity: var(--gl, 0); pointer-events: none; }

.acts { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.act { position: absolute; width: min(40rem, 40vw); opacity: var(--o, 0); visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.act.is-on { visibility: visible; pointer-events: auto; }
.act > * + * { margin-top: 1.1rem; }
.act h1 { font-size: clamp(2.3rem, 4.5vw, 4.9rem); font-weight: 700; }
.act h2 { font-size: clamp(1.75rem, 3.15vw, 3.3rem); }
.act p:not(.eyebrow):not(.fine):not(.ticker) { font-size: clamp(1.02rem, 1.2vw, 1.2rem); color: var(--mist); max-width: 34rem; }
.act .lede { color: var(--bone) !important; }
.act__last { margin-top: 1.5rem !important; font: 600 clamp(1.1rem, 1.6vw, 1.5rem)/1.2 var(--display); letter-spacing: -0.02em; color: var(--bone); opacity: var(--last, 0); transform: translateY(calc((1 - var(--last, 0)) * 10px)); }
.act--left { left: var(--gutter); top: 50%; transform: translate3d(0, calc(-50% + var(--y, 0px)), 0); }
.act--right, .act--hero { right: calc(var(--gutter) + 2.2rem); top: 50%; transform: translate3d(0, calc(-50% + var(--y, 0px)), 0); }
.act--hero { top: 47%; width: min(46rem, 44vw); }
.act--top { left: var(--gutter); top: clamp(6.2rem, 15vh, 9.5rem); width: min(44rem, 62vw); transform: translate3d(0, var(--y, 0px), 0); }
.act__cta { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.9rem !important; flex-wrap: wrap; }
.hint { font: 500 .72rem/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--mist-2); }
.ticker { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem !important; }
.ticker__name { font: 600 clamp(1.3rem, 2.1vw, 2rem)/1 var(--display); color: var(--gold); letter-spacing: -0.02em; }
.ticker__count { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-variant-numeric: tabular-nums; }
.ticker__count b { color: var(--bone); font-weight: 500; }

.scale { position: absolute; z-index: 7; left: var(--gutter); bottom: clamp(18px, 4.2vh, 38px); display: grid; grid-template-columns: auto auto; column-gap: .9rem; row-gap: .45rem; align-items: center; font: 500 .74rem/1 var(--mono); letter-spacing: .08em; color: var(--bone); font-variant-numeric: tabular-nums; pointer-events: none; }
.scale__bar { grid-column: 1 / -1; display: block; height: 7px; width: var(--w, 96px); border: solid var(--bone); border-width: 0 1.5px 1.5px; opacity: .9; }
.scale__what { color: var(--mist-2); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; }
.thread { position: absolute; z-index: 7; right: calc(var(--gutter) * .42); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.thread button { position: relative; width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.thread button::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--mist-2); opacity: .5; transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease); }
.thread button[aria-current]::before { background: var(--c); opacity: 1; transform: scale(1.7); }
@media (hover: hover) and (pointer: fine) { .thread button:hover::before { opacity: 1; transform: scale(1.3); } }
/* each dot says where it leads when the pointer rests on it, or the keyboard reaches it */
.thread button::after { content: attr(aria-label); position: absolute; right: 100%; top: 50%; padding: .55em .8em; border-radius: 999px; background: rgba(10, 12, 27, .92); color: var(--bone); font: 500 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate3d(0, -50%, 0); transition: opacity .2s var(--ease), transform .3s var(--ease); }
.thread button:focus-visible::after { opacity: 1; transform: translate3d(-6px, -50%, 0); }
@media (hover: hover) and (pointer: fine) { .thread button:hover::after { opacity: 1; transform: translate3d(-6px, -50%, 0); } }

/* The opening. Until the page's script says the picture and the lettering are ready (class "is-live" on <html>),
   the hero is held back; then it arrives in order: the picture (js/main.js fades and settles it), the bar at
   the top, the line above the headline, the headline a word at a time, the rest. */
.js:not(.is-live) .plate, .js:not(.is-live) .nav, .js:not(.is-live) .act--hero > *, .js:not(.is-live) .scale, .js:not(.is-live) .thread { opacity: 0; }
.is-live .nav { animation: drop-in 1s var(--ease) .2s both; }
.is-live .act--hero > :not(h1) { animation: rise-in 1.1s var(--ease) .35s both; }
.is-live .act--hero > .lede { animation-delay: .95s; }
.is-live .act--hero > .act__cta { animation-delay: 1.1s; }
.is-live .scale, .is-live .thread { animation: fade-in 1.4s var(--ease) 1.4s both; }
.act--hero h1.rise { --d: .5s; }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
@keyframes drop-in { from { opacity: 0; transform: translate3d(0, -16px, 0); } }
@keyframes fade-in { from { opacity: 0; } }
.no-intro .nav, .no-intro .act--hero > *, .no-intro .scale, .no-intro .thread { animation: none; }
.no-intro .act--hero h1 .wd { transition: none; }

/* squarer landscape screens (tablets): slide the picture left so the headline has room */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 3/2) { .plate { left: -17vw; } .act--hero { width: 41vw; } }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  /* The picture is half the screen high, or wider if that would leave a gap at the right (a squarish window).
     Either way the cross on her chest stays at the same height on the screen. */
  .plate { --pw: max(50svh * 1.7915, 116vw); top: max(-2svh, calc(47.25svh - var(--pw) * 0.4382)); left: calc(var(--pw) * -0.12); width: var(--pw); }
  .plate__turn { display: none; }
  .plate__cross { width: 7.6%; }
  .heroscrim { background: linear-gradient(to bottom, rgba(10, 12, 27, .45) 0, transparent 14%, transparent 40%, rgba(10, 12, 27, .86) 55%, var(--night) 62%); }
  .act, .act--hero { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: clamp(74px, 11svh, 104px); transform: translate3d(0, var(--y, 0px), 0); }
  .act--hero { top: auto; bottom: clamp(34px, 6svh, 56px); right: var(--gutter); }
  .act--top { top: auto; }
  .act > * + * { margin-top: .8rem; }
  .act h1 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .act h2 { font-size: clamp(1.5rem, 7vw, 2.1rem); }
  .act p:not(.eyebrow):not(.fine):not(.ticker) { font-size: 1rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .1em; }
  .act__cta { margin-top: 1.2rem !important; }
  .hint { display: none; }
  .scale { bottom: auto; top: calc(var(--sat) + clamp(70px, 10svh, 92px)); }
  .thread { right: 2px; top: 36%; }
}

/* ============ sections after the journey ============ */
.beads { position: relative; height: 23px; background: url("../brand/beads.svg") 0 1px / 120px 21px repeat-x; }
.beads.is-set { background: none; }
.beads__clip { height: 23px; overflow: hidden; }
.beads svg { display: block; height: 23px; }
.beads g[data-ch] { transition: opacity .18s var(--ease); cursor: help; }
.beads.is-reading g[data-ch] { opacity: .32; }
.beads.is-reading g[data-ch].is-hot { opacity: 1; }
.beads__tip { position: absolute; bottom: calc(100% + 6px); left: 0; transform: translateX(-50%); padding: .42em .62em; border-radius: 8px; background: var(--bone); color: var(--ink); font: 600 .86rem/1 var(--mono); pointer-events: none; opacity: 0; transition: opacity .15s var(--ease); white-space: nowrap; z-index: 5; }
.beads__tip.is-on { opacity: 1; }
.beads.is-shimmer .beads__clip { animation: shimmer 1.5s var(--ease); }
@keyframes shimmer { 0%, 100% { filter: none; } 35% { filter: brightness(1.9) saturate(1.3); } }
.rv { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
/* headings arrive a word at a time. js/main.js wraps each word; without it the heading is simply there */
.rise .wd { display: inline-block; opacity: 0; transform: translate3d(0, .5em, 0); transition: opacity .7s var(--ease) calc(var(--d, 0s) + var(--i) * 55ms), transform 1.05s var(--ease) calc(var(--d, 0s) + var(--i) * 55ms); }
.rise.is-in .wd { opacity: 1; transform: none; }
/* a section that slides up over the one before it, like a sheet of paper, instead of meeting it at a hard line */
.sheet { position: relative; z-index: 2; margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; }
.sheet--foot { border-radius: var(--sheet); }                                              /* rounded underneath too, against the night ground */
.sheet--over { border-radius: var(--sheet); margin-bottom: calc(var(--sheet) * -1); }      /* and lying over the top of the section after it */

.manifesto { position: relative; background: var(--night); }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.8rem, 4.5vh, 3.2rem); padding-block: var(--section); }
.manifesto__q { font: 500 clamp(1.05rem, 1.55vw, 1.45rem)/1.35 var(--display); letter-spacing: -0.015em; color: var(--gold); max-width: 36rem; }
.manifesto__text { font: 500 clamp(1.7rem, 3.9vw, 4rem)/1.14 var(--text); letter-spacing: -0.028em; max-width: 24ch; max-width: min(100%, 62rem); text-wrap: balance; }
.manifesto__text .w { opacity: calc(.16 + .84 * var(--on, 0)); transition: opacity .25s linear; }
.status { justify-self: end; max-width: 27rem; padding: 1.4rem 1.6rem; border-radius: 18px; background: var(--night-2); box-shadow: inset 0 1px 0 rgba(245, 239, 228, .09); }
.status p + p { margin-top: .8rem; color: var(--mist); }

/* film acts: the footage is scrubbed by the scroll. Until a film is supplied, a painted placeholder holds its place. */
.film { position: relative; height: 230vh; height: 230svh; background: var(--night); }
/* one cell, exactly the size of the screen. Stated outright, or an upright film frame (the phone set) would
   stretch the cell to its own height and push the words off the bottom */
.film__pin { position: sticky; top: 0; height: 100vh; height: var(--fit); overflow: hidden; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.film__pin > *, .film__frame > * { grid-area: 1 / 1; }
.film__canvas, .film__slot, .film__scrim { width: 100%; height: 100%; }
.film__canvas { object-fit: cover; display: none; }
.film__scrim { z-index: 1; }
.film.has-film .film__canvas { display: block; }
.film.has-film .film__slot { display: none; }
.film__slot { position: relative; overflow: hidden; }
.film__tag i { font-style: normal; }
.film__tag { position: absolute; right: var(--gutter); bottom: clamp(18px, 4vh, 36px); font: 500 .68rem/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: rgba(245, 239, 228, .62); padding: .6em .9em; border-radius: 999px; background: rgba(10, 12, 27, .45); }
.film__slot--dusk { background:
  radial-gradient(ellipse 52% 30% at 72% calc(92% - var(--p, 0) * 20%), rgba(244, 182, 63, .85), rgba(232, 120, 80, .5) 38%, transparent 72%),
  linear-gradient(to bottom, #0B0E20 0, #1B1F3A calc(28% - var(--p, 0) * 10%), #3A3F66 calc(52% - var(--p, 0) * 8%), #8E6F8C 72%, #D08A6E 84%, #1A1722 84.4%, #0D0C14 100%); }
.film__slot--tea { background:
  radial-gradient(ellipse 120% 90% at 50% 40%, transparent 40%, rgba(4, 30, 18, .75) 100%),
  repeating-radial-gradient(ellipse 150% 110% at calc(8% + var(--p, 0) * 14%) 128%, transparent 0 calc(11% - 3px), rgba(150, 52, 30, .0) calc(11% - 3px) 11%),
  repeating-radial-gradient(ellipse 140% 100% at calc(12% + var(--p, 0) * 12%) 125%, #0F7A45 0 1.6%, #0B6238 1.6% 2.5%, #129352 2.5% 4.2%, #0A5A33 4.2% 5%),
  #0E6B3C; }
.film__scrim { background: radial-gradient(ellipse 68% 78% at 14% 80%, rgba(10, 12, 27, .94), rgba(10, 12, 27, .7) 46%, transparent 78%); pointer-events: none; }
.film__copy { align-self: end; justify-self: start; width: 100%; padding-bottom: clamp(3rem, 12vh, 7rem); z-index: 2; }
.film__copy h2 { font-size: clamp(2rem, 4.9vw, 5.2rem); max-width: 15ch; }
.film__copy p { margin-top: 1.2rem; font-size: clamp(1.05rem, 1.35vw, 1.3rem); color: var(--bone); max-width: 36rem; }
.film--window { height: 300vh; height: 300svh; background: var(--shuka-deep); }
.film--window .film__pin { place-items: center; }
.film__frame { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); width: 100%; height: 100%; overflow: hidden; isolation: isolate; }
/* The window the film is seen through, opening as it arrives. Everything outside a rounded opening is painted in
   the ground colour. (Clipping the film itself made the browser build a screen-sized mask on every frame.) */
.film__frame::after { content: ""; position: absolute; z-index: 2; inset: calc((1 - var(--q, 0)) * 16% - 1px) calc((1 - var(--q, 0)) * 22% - 1px); border-radius: calc((1 - var(--q, 0)) * 44px); box-shadow: 0 0 0 100vmax var(--shuka-deep); pointer-events: none; }
.film--window .film__scrim { background: radial-gradient(ellipse 64% 58% at 50% 51%, rgba(10, 12, 27, .72), rgba(10, 12, 27, .44) 46%, transparent 80%); }
.film__copy--centre { align-self: center; justify-self: center; text-align: center; padding-bottom: 0; }
/* The motto builds a line at a time as the film runs, and ends with all three lit. js/film.js sets, from the
   scroll, how far each line and each note has come in: the lines and notes only ever move and fade. */
.film__copy--centre { --line: clamp(2.6rem, 7.6vw, 8.4rem); } /* the height of one line of the motto */
/* --gone is how many of the lines have still to arrive. The motto sits lower by half of that and the notes
   higher by half, so whatever is showing stays in the middle of the screen with its note right under it. */
.film__copy .motto { display: grid; justify-items: center; font-size: var(--line); line-height: 1; max-width: none; transform: translate3d(0, calc(var(--gone, 0) * .5 * var(--line)), 0); will-change: transform; }
.motto__line { display: block; opacity: var(--o, 0); transform: translate3d(0, calc(var(--y, 0) * .42em), 0); will-change: opacity, transform; }
.motto__notes { display: grid; justify-items: center; margin-top: clamp(1.1rem, 3vh, 2rem); transform: translate3d(0, calc(var(--gone, 0) * -.5 * var(--line)), 0); will-change: transform; }
.film__copy .motto__note { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.6rem); color: var(--bone); max-width: 30rem; }
.motto__note { grid-area: 1 / 1; opacity: var(--o, 0); transform: translate3d(0, calc(var(--y, 0) * 14px), 0); will-change: opacity, transform; }

/* four ways in: paper ground, rows that take their colour on hover */
.paper { background: var(--bone); color: var(--ink); }
.focus .wrap { padding-block: var(--section); }
.focus__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 7vh, 5rem); }
.focus__head h2 { font-size: clamp(2.1rem, 5.6vw, 6rem); }
.focus__head p { font-size: clamp(1.05rem, 1.4vw, 1.35rem); max-width: 36rem; color: #4B4458; }
.rows { position: relative; }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) auto; gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.4rem, 3.4vh, 2.3rem) clamp(.4rem, 1.4vw, 1.4rem); isolation: isolate; transition: color .25s var(--ease), opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.row:last-child { box-shadow: 0 1.5px 0 var(--ink); }
/* a row fills with its colour from the bottom: under the pointer, or (on a touch screen, class "is-lit" from
   js/main.js) as it passes the middle of the screen. The words change colour only together with the fill:
   in a narrow window the fill used to be switched off while the words still turned pale, and vanished. */
.row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .38s var(--ease); }
/* the rule above each row is drawn from the left as the row arrives */
.row::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) calc(var(--d, 0s) + .1s); }
.row.is-in::after { transform: scaleX(1); }
.row h3 { font-size: clamp(1.25rem, 2.5vw, 2.5rem); }
.row p { color: #4B4458; max-width: 34rem; transition: color .25s var(--ease); }
.row__tag { justify-self: end; font: 500 .7rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .7em 1em; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; }
.row.is-lit { color: var(--on); } .row.is-lit::before { transform: scaleY(1); } .row.is-lit p { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .row:hover { color: var(--on); } .row:hover::before { transform: scaleY(1); } .row:hover p { color: inherit; }
}
@media (max-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr); } .row__tag { justify-self: start; white-space: normal; }
  .row h3::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .5em; border-radius: 50%; background: var(--c); vertical-align: .12em; transition: background .25s var(--ease); }
  .row.is-lit h3::before { background: currentColor; }
}
@media (max-width: 900px) and (hover: hover) and (pointer: fine) { .row:hover h3::before { background: currentColor; } }

/* the programme: a shuka-red ground, panels that travel sideways as you scroll */
.pathway { position: relative; background: var(--shuka-deep); color: var(--bone); }
.pathway__pin { position: sticky; top: 0; min-height: 100vh; min-height: var(--fit); display: flex; flex-direction: column; justify-content: center; gap: clamp(1.4rem, 3.8vh, 2.8rem); padding-block: clamp(5.5rem, 12vh, 8rem) calc(clamp(1.6rem, 4vh, 3rem) + var(--sheet)); overflow: hidden; }
/* the plaid fades in from left to right: the ground colour is laid back over it, so no mask is needed */
.pathway__cloth { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(105deg, var(--shuka-deep) 38%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(20, 8, 26, .275) 0 18px, transparent 18px 108px, rgba(20, 8, 26, .15) 108px 114px, transparent 114px 216px),
    repeating-linear-gradient(90deg, rgba(20, 8, 26, .275) 0 18px, transparent 18px 108px, rgba(20, 8, 26, .15) 108px 114px, transparent 114px 216px); }
.pathway__head, .pathway__viewport, .pathway__note { position: relative; width: 100%; }
.pathway .eyebrow { color: rgba(245, 239, 228, .82); }
.pathway__head h2 { margin-top: 1.1rem; font-size: clamp(2rem, 4.6vw, 4.8rem); max-width: 22ch; }
.pathway__head h2 + p { margin-top: 1rem; max-width: 42rem; color: rgba(245, 239, 228, .92); font-size: clamp(1rem, 1.25vw, 1.2rem); }
.pathway__track { display: flex; gap: clamp(1.4rem, 3vw, 3rem); padding-inline: var(--gutter); width: max-content; will-change: transform; transform: translate3d(var(--x, 0px), 0, 0); }
.phase { width: min(78vw, 27rem); padding: 1.5rem 0 0 1.5rem; border-left: 1.5px solid rgba(245, 239, 228, .55); display: grid; gap: .85rem; align-content: start; }
.phase .phase__when { font: 600 clamp(1.5rem, 2.5vw, 2.3rem)/1 var(--display); letter-spacing: -0.03em; color: var(--gold); }
.phase h3 { font-size: 1.22rem; font-family: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.phase p { color: rgba(245, 239, 228, .9); }
.phase__proof { color: var(--bone) !important; }
.phase__hours { font: 500 .72rem/1.3 var(--mono) !important; letter-spacing: .11em; text-transform: uppercase; color: rgba(245, 239, 228, .78) !important; }
.pathway__note { font-size: .9rem; color: rgba(245, 239, 228, .85); }
/* a rail under the panels that fills as they travel, so it is plain how much of the pathway is left */
.pathway__progress { position: relative; width: 100%; }
.pathway__rail { position: relative; height: 2px; border-radius: 2px; background: rgba(245, 239, 228, .22); overflow: hidden; }
.pathway__rail::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; will-change: transform; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .pathway { height: auto !important; } .pathway__pin { position: static; min-height: 0; padding-block: var(--section); }
  .pathway__track { flex-direction: column; width: auto; transform: none; gap: 2.2rem; } .phase { width: auto; }
  .pathway__progress { display: none; }
}

/* ---------- who is behind this: the founder's note, on paper ---------- */
.founder .wrap { padding-block: var(--section) calc(var(--section) + var(--sheet)); } /* the sheet after it lies over its foot */
.founder__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.9rem, 5vh, 3rem); }
.founder__head { display: grid; gap: 1.3rem; }
/* His own sentence, set as the heading. The opening quotation mark hangs in the margin, so the words line up
   with everything else on the left edge. */
.founder__say { font-size: clamp(1.5rem, 3.3vw, 3.3rem); line-height: 1.14; max-width: 46rem; text-indent: -.51em; } /* the mark is .51em wide in this typeface */
.founder__say .wd { text-indent: 0; } /* each word is a box of its own (js/main.js), and would take the indent again */
/* --pw is how wide the portrait is shown. The beads under it are its base line, and are that wide too. */
.founder__who { --pw: min(72vw, 19rem); display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.founder__print { display: grid; width: var(--pw); aspect-ratio: 210 / 237; }
.founder__print > * { grid-area: 1 / 1; width: 100%; height: 100%; }
.founder__print img { object-fit: cover; border-radius: 10px; }
.founder__print canvas { display: none; }
/* with the script running, the dots stand in for the photograph (js/portrait.js) */
.founder__print.is-print img { opacity: 0; }
.founder__print.is-print canvas { display: block; }
/* The beads under the portrait say one thing once, so the band is drawn at one fixed length (384 units) and
   scaled to the portrait: all of it shows at any size. Without the script there is nothing to spell, so no band. */
.founder__band { width: var(--pw); height: auto; margin-top: .9rem; background: none; }
.founder__band:not(.is-set) { display: none; }
.founder__band .beads__clip { height: auto; }
.founder__band svg { width: 100%; height: auto; }
.paper .beads__tip { background: var(--ink); color: var(--bone); }
.founder__id { display: grid; gap: .55rem; justify-items: start; margin-top: 1.2rem; }
.founder__name { font: 600 clamp(1.2rem, 1.75vw, 1.65rem)/1.1 var(--display); letter-spacing: -0.02em; }
.founder__role { font: 500 .7rem/1.45 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #4B4458; }
.founder__id .textlink { margin-top: .5rem; color: var(--ink); }
.founder__id .textlink svg { transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .founder__id .textlink:hover svg { transform: rotate(-45deg) translateX(4px); } }
.founder__body { display: grid; gap: 1.05rem; max-width: 39rem; }
.founder__body p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: #4B4458; }
.founder__body p:first-child { color: var(--ink); }
/* a window between a phone and a laptop: his name sits beside the portrait, at its foot */
@media (min-width: 480px) and (max-width: 899px) {
  .founder__who { --pw: min(42vw, 19rem); grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(1.2rem, 4vw, 2.2rem); align-items: end; }
  .founder__band { grid-area: 2 / 1; }
  .founder__id { grid-area: 1 / 2 / 3 / 3; margin: 0; }
}
/* a laptop: the portrait down the left, the words beside it */
@media (min-width: 900px) {
  .founder__grid { grid-template: "who head" auto "who body" 1fr / minmax(0, .7fr) minmax(0, 1.3fr); column-gap: clamp(3rem, 8vw, 8rem); row-gap: clamp(1.8rem, 4.5vh, 2.8rem); align-items: start; }
  .founder__head { grid-area: head; } .founder__who { --pw: 100%; grid-area: who; max-width: 24rem; } .founder__body { grid-area: body; }
}

/* get involved */
.join { background: linear-gradient(to bottom, var(--night) 0, var(--night-2) 100%); }
.join .wrap { padding-block: var(--section); }
.join h2 { margin-top: 1.2rem; font-size: clamp(2rem, 4.6vw, 4.8rem); max-width: 18ch; }
.ways { margin-top: clamp(2.5rem, 7vh, 4.5rem); }
.join__lede { margin-top: 1.1rem; color: var(--mist); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.ways__how { color: var(--mist); font-size: .98rem; max-width: 24rem; }
.ways a { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; padding: clamp(1.3rem, 3.6vh, 2.4rem) 0; border-top: 1px solid rgba(245, 239, 228, .2); text-decoration: none; transition: color .2s var(--ease), padding .3s var(--ease); }
.ways li:last-child a { border-bottom: 1px solid rgba(245, 239, 228, .2); }
.ways__who { font: 500 .72rem/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--mist); }
.ways__what { font: 600 clamp(1.7rem, 4.6vw, 4.6rem)/1 var(--display); letter-spacing: -0.03em; }
.ways svg { width: clamp(1.8rem, 3.4vw, 3.2rem); height: clamp(1.8rem, 3.4vw, 3.2rem); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .ways a:hover { color: var(--c); padding-left: 1rem; } .ways a:hover svg { transform: translateX(10px); } }
.ways .is-lit a { color: var(--c); } .ways .is-lit svg { transform: translateX(10px); } /* touch screens: the one passing the middle of the screen */
@media (max-width: 900px) { .ways a { grid-template-columns: minmax(0, 1fr) auto; } .ways__who { grid-area: 1 / 1 / 2 / 3; } .ways__what { grid-area: 2 / 1; } .ways svg { grid-area: 2 / 2; } .ways__how { grid-area: 3 / 1 / 4 / 3; } }
.join__note { margin-top: 2rem; max-width: 40rem; font-size: .92rem; color: var(--mist); }

/* footer */
.foot { background: var(--night-2); overflow: hidden; }
.foot__word { font: 700 clamp(3rem, 12.6vw, 15rem)/.86 var(--display); letter-spacing: -0.045em; text-align: center; white-space: nowrap; padding-top: clamp(2.5rem, 8vh, 5rem); color: var(--bone); }
.foot__word.rise .wd { transform: translate3d(0, .22em, 0); transition-delay: calc(var(--i) * 45ms); }
.foot__word.rise.is-in .wd { transform: none; }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 2rem; padding-block: clamp(2.5rem, 7vh, 4rem) clamp(1.6rem, 4vh, 2.6rem); font-size: .95rem; color: var(--mist); }
.foot__brand { display: flex; gap: .8rem; align-items: center; color: var(--bone); font-weight: 500; }
.foot__brand small { color: var(--mist-2); font-weight: 400; }
.foot__fine { font-size: .8rem; color: var(--mist-2); max-width: 36rem; justify-self: end; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } .foot__fine { justify-self: start; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { transform: none; transition-duration: .3s; }
  .rise .wd, .foot__word.rise .wd { transform: none; transition-duration: .3s; transition-delay: 0s; }
  .row::after { transform: none; transition: none; }
  .btn, .btn svg, .ways a, .ways svg, .row::before { transition: none; }
  .motto__line, .motto__note { opacity: 1; transform: none; } .motto__note { grid-area: auto; }
  .film__copy .motto, .film__copy .motto__notes { transform: none; }
  .close__img { transform: none; }
}

@media (max-width: 760px) {
  .film__scrim { background: linear-gradient(to top, var(--night) 0, rgba(10, 12, 27, .9) 32%, rgba(10, 12, 27, .3) 46%, transparent 58%); }
  .film--window .film__scrim { background: radial-gradient(ellipse 90% 40% at 50% 50%, rgba(10, 12, 27, .62), transparent 78%); }
  .film__tag { right: auto; left: var(--gutter); bottom: auto; top: clamp(74px, 11svh, 96px); }
  .film__tag i { display: none; }
  .film__copy { padding-bottom: clamp(2.2rem, 7svh, 4rem); }
}

/* ---------- ideas worth working on ---------- */
.ideas { position: relative; background: var(--night); }
.ideas > .wrap { padding-block: var(--section); }
.ideas__head { display: grid; gap: 1.1rem; max-width: 48rem; margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.ideas__head h2 { font-size: clamp(2.1rem, 5.2vw, 5.4rem); }
.ideas__head p:last-child { color: var(--mist); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 36rem; }
.ideas__body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ideas__tabs { display: grid; }
.ideas__tabs button { appearance: none; background: none; border: 0; border-top: 1px solid rgba(245, 239, 228, .16); text-align: left; cursor: pointer; display: flex; align-items: center; gap: .9rem; padding: 1.15rem 0; font: 500 clamp(1.1rem, 1.9vw, 1.7rem)/1.15 var(--display); letter-spacing: -0.02em; color: var(--mist-2); transition: color .2s var(--ease), padding .3s var(--ease); }
.ideas__tabs button:last-child { border-bottom: 1px solid rgba(245, 239, 228, .16); }
.ideas__tabs button::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--c); opacity: .35; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.ideas__tabs button[aria-selected="true"] { color: var(--bone); padding-left: .6rem; }
.ideas__tabs button[aria-selected="true"]::before { opacity: 1; transform: scale(1.3); }
@media (hover: hover) and (pointer: fine) { .ideas__tabs button:hover { color: var(--bone); } }
.idea { display: grid; gap: 1.2rem; animation: idea-in .5s var(--ease); }
/* A panel that is not showing is hidden outright, unless the browser can keep it findable: then it is marked
   hidden="until-found" (js/extras.js) and "find in page" can open it. */
.idea[hidden]:not([hidden="until-found"]) { display: none; }
@keyframes idea-in { from { opacity: 0; transform: translateY(14px); } }
.idea h3 { font-size: clamp(1.7rem, 3.4vw, 3.4rem); }
.idea p { color: var(--mist); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 38rem; }
/* how each idea would be gone about: the same three steps every time, side by side */
.approach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); margin-top: .7rem; }
.approach li { display: grid; align-content: start; gap: .6rem; padding-top: .95rem; border-top: 2px solid var(--c); color: var(--bone); line-height: 1.45; }
.approach__step { font: 500 .68rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
@media (max-width: 620px) {
  .approach { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .approach li { padding: .9rem 0 .9rem 1rem; border-top: 0; border-left: 2px solid var(--c); }
  .approach li + li { margin-top: .5rem; }
}
.textlink { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2.2rem; padding-bottom: .25rem; font-weight: 600; color: var(--bone); text-decoration: none; border-bottom: 1.5px solid currentColor; }
.textlink svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .textlink:hover svg { transform: translateX(4px); } }
@media (max-width: 860px) { .ideas__body { grid-template-columns: minmax(0, 1fr); } }

/* ---------- start grounded: a line that draws as you read down it ---------- */
.roadmap .wrap { padding-block: var(--section); }
.roadmap__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.paper .eyebrow { color: #4B4458; }
.roadmap__head { display: grid; gap: 1.2rem; position: sticky; top: clamp(6rem, 16vh, 9rem); }
.roadmap__head h2 { font-size: clamp(2rem, 4.4vw, 4.6rem); }
.roadmap__head p:last-child { color: #4B4458; font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 32rem; }
.steps { position: relative; display: grid; gap: clamp(2.4rem, 7vh, 4.5rem); padding-left: 2.7rem; }
.steps::before, .steps::after { content: ""; position: absolute; left: .47rem; top: .6rem; bottom: .6rem; width: 2px; background: rgba(20, 16, 26, .14); }
.steps::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; gap: .55rem; }
.step::before { content: ""; position: absolute; left: -2.7rem; top: .28rem; width: 1.06rem; height: 1.06rem; border-radius: 50%; background: var(--bone); border: 2px solid var(--ink); z-index: 1; transition: background .3s var(--ease), transform .3s var(--ease); }
.step.is-on::before { background: var(--c); transform: scale(1.18); }
.step__when { font: 500 .72rem/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: #4B4458; }
.step h3 { font-size: clamp(1.3rem, 2.3vw, 2.2rem); }
.step p:last-child { color: #4B4458; max-width: 32rem; }
@media (max-width: 860px) { .roadmap__grid { grid-template-columns: minmax(0, 1fr); } .roadmap__head { position: static; } }

/* ---------- a few good questions ---------- */
.faq { background: var(--night-2); }
.faq .wrap { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__head { display: grid; gap: 1.2rem; position: sticky; top: clamp(6rem, 16vh, 9rem); }
.faq__head h2 { font-size: clamp(2rem, 4.4vw, 4.6rem); }
details { border-top: 1px solid rgba(245, 239, 228, .18); }
details:last-child { border-bottom: 1px solid rgba(245, 239, 228, .18); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font: 500 clamp(1.05rem, 1.55vw, 1.4rem)/1.25 var(--display); letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--gold); transition: transform .3s var(--ease); }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 3rem 1.6rem 0; color: var(--mist); max-width: 44rem; }
/* An answer opens and closes smoothly where the browser can do it (it has to be able to animate to a height
   it works out for itself). Elsewhere these rules are ignored and the answer simply appears. */
@media (prefers-reduced-motion: no-preference) {
  details { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  details[open]::details-content { block-size: auto; }
}
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } details p { padding-right: 0; } }

/* ---------- the close: the savanna at dusk ---------- */
.close { position: relative; min-height: 94vh; min-height: 94svh; display: grid; align-items: end; overflow: hidden; background: var(--night); }
.close__img, .close__scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.close__img { object-fit: cover; object-position: 50% 60%; transform: translate3d(0, var(--drift, 0px), 0) scale(1.1); will-change: transform; } /* js/main.js drifts it more slowly than the page */
.close__scrim { background: linear-gradient(to bottom, var(--night-2) 0, rgba(16, 19, 43, .4) 20%, transparent 44%), radial-gradient(ellipse 85% 75% at 20% 92%, rgba(10, 12, 27, .9), rgba(10, 12, 27, .5) 50%, transparent 82%); }
.close__copy { position: relative; width: 100%; display: grid; gap: 1.5rem; justify-items: start; padding-block: clamp(7rem, 26vh, 15rem) clamp(3.5rem, 11vh, 7rem); }
.close__copy h2 { font-size: clamp(2.5rem, 7.2vw, 8rem); max-width: 12ch; }
.close .eyebrow { color: var(--bone); padding: .6em .95em; border-radius: 999px; background: rgba(10, 12, 27, .62); }

/* ---------- register your interest: a sheet of paper that comes up over the page ---------- */
html.is-modal { overflow: hidden; } /* the page behind stays put while the form is open */
.interest { width: min(46rem, 100vw - 2 * var(--gutter)); max-width: none; max-height: min(92vh, 62rem); max-height: min(calc(var(--fit) * .92 - var(--sat)), 62rem); margin: auto; padding: 0; border: 0; border-radius: var(--sheet); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .85); }
.interest::backdrop { background: rgba(10, 12, 27, .8); }
.interest[open] { animation: sheet-in .55s var(--ease); }
.interest[open]::backdrop { animation: fade-in .35s ease-out; }
@keyframes sheet-in { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
.interest :focus-visible { outline-color: var(--blue); }
.interest { --pad: clamp(1.4rem, 4vw, 2.6rem); }
.interest__form, .interest__done { display: grid; gap: clamp(1.2rem, 2.8vh, 1.75rem); padding: var(--pad); }
.interest__form { padding-bottom: 0; }
.interest__form[hidden], .interest__done[hidden] { display: none; }
.interest__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem 1rem; align-items: start; }
.interest__head h2, .interest__lede { grid-column: 1 / -1; }
.interest h2 { font-size: clamp(1.7rem, 4.2vw, 2.9rem); }
.interest__lede, .interest__done p:not(.eyebrow) { color: #4B4458; font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 34rem; }
.interest__close { appearance: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -.6rem -.6rem 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background .15s var(--ease); }
.interest__close svg { width: 1.45rem; height: 1.45rem; transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .interest__close:hover { background: rgba(20, 16, 26, .08); } }
.interest fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.interest legend, .field__label { display: block; margin-bottom: .65rem; padding: 0; font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #4B4458; }
.optional { margin-left: .5em; padding: .2em .6em; border-radius: 999px; background: rgba(20, 16, 26, .08); font-size: .62rem; letter-spacing: .08em; }
/* the three ways in, as cards: the chosen one fills with its colour, as the rows on the page do */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.role { position: relative; display: grid; cursor: pointer; }
.role input, .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.role__box { display: grid; align-content: start; gap: .4rem; height: 100%; padding: .95rem 1rem 1.1rem; border: 1.5px solid var(--ink); border-radius: 14px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.role__who { font: 500 .62rem/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #4B4458; transition: color .2s var(--ease); }
.role__what { font: 600 clamp(1rem, 1.6vw, 1.2rem)/1.15 var(--display); letter-spacing: -0.02em; }
.role input:checked + .role__box { background: var(--c); border-color: var(--c); color: var(--on); }
.role input:checked + .role__box .role__who { color: inherit; }
.role input:focus-visible + .role__box, .chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .role:hover input:not(:checked) + .role__box, .chip:hover input:not(:checked) + span { background: rgba(20, 16, 26, .06); } }
.interest__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; align-content: start; }
.field input, .field textarea { width: 100%; padding: .8em .95em; border: 1.5px solid var(--ink); border-radius: 12px; background: #FFFDF8; color: var(--ink); font: 400 1.05rem/1.4 var(--text); }
.field textarea { min-height: 5.4rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.field__hint, .interest .fine { margin-top: .5rem; font-size: .84rem; color: #4B4458; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip span { display: block; padding: .62em 1.05em; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .95rem; line-height: 1.2; transition: background .15s var(--ease), color .15s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--bone); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; cursor: pointer; }
.consent input { width: 1.3rem; height: 1.3rem; margin: .12rem 0 0; accent-color: var(--shuka); cursor: pointer; }
.interest__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.interest__error { margin-top: .5rem; font-size: .88rem; font-weight: 500; color: var(--shuka-deep); }
.interest [data-invalid] input:not([type="radio"]):not([type="checkbox"]), .interest [data-invalid] .role__box { border-color: var(--shuka); }
.interest .fine { margin-top: 0; max-width: 34rem; }
/* the send button stays in view at the bottom of the sheet, however long the form above it is */
.interest__foot { position: sticky; bottom: 0; z-index: 1; display: grid; gap: .8rem; justify-items: start; margin-inline: calc(var(--pad) * -1); padding: .95rem var(--pad) calc(.95rem + env(safe-area-inset-bottom, 0px)); background: var(--bone); box-shadow: 0 -1.5px 0 rgba(20, 16, 26, .12); }
.interest__foot .interest__status { justify-self: stretch; }
.interest .btn { border: 0; cursor: pointer; }
.interest .btn[disabled] { opacity: .65; cursor: progress; }
.interest__status { padding: .85rem 1.05rem; border-radius: 12px; background: rgba(213, 32, 43, .1); color: var(--shuka-deep); font-weight: 500; }
.interest__status:empty { display: none; }
.interest__done { justify-items: start; }
.interest__done:focus { outline: none; }
@media (max-width: 760px) {
  /* on a phone it is a sheet that rises from the bottom edge and scrolls inside itself */
  .interest { width: 100vw; max-height: 94vh; max-height: calc(var(--fit) * .94 - var(--sat)); margin: auto 0 var(--over, 0px); border-radius: var(--sheet) var(--sheet) 0 0; }
  .roles, .interest__row { grid-template-columns: minmax(0, 1fr); }
  .role__box { grid-template-columns: minmax(0, 1fr); padding: .8rem 1rem .9rem; }
}
@media (prefers-reduced-motion: reduce) { .interest[open], .interest[open]::backdrop { animation: none; } }

/* ---------- small things ---------- */
.coords { appearance: none; background: none; border: 0; border-bottom: 1px dashed rgba(189, 188, 210, .5); padding: 0; font: inherit; color: inherit; cursor: pointer; font-variant-numeric: tabular-nums; text-align: left; }
.toast { position: fixed; left: 50%; bottom: clamp(18px, 5vh, 44px); z-index: 80; max-width: calc(100vw - 32px); padding: .85em 1.25em; border-radius: 999px; background: rgba(10, 12, 27, .92); color: var(--bone); font: 500 .8rem/1.35 var(--mono); letter-spacing: .06em; text-align: center; box-shadow: inset 0 1px 0 rgba(245, 239, 228, .14), 0 14px 40px -18px #000; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pulse { position: fixed; left: 50%; top: 50%; z-index: 70; width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax; border-radius: 50%; border: 3px solid var(--shuka-hot); pointer-events: none; opacity: 0; transform: scale(.01); }
.pulse.is-go { animation: pulse 1.15s cubic-bezier(.2, .6, .3, 1); }
@keyframes pulse { 0% { opacity: .9; transform: scale(.01); } 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .idea, .pulse.is-go, .beads.is-shimmer .beads__clip { transition: none; animation: none; } }
