/* Missing Millions v2 · one system: the box.
   Violet and pink are sampled from NCPEDP's Missing Millions logo. Every graphic is built from the
   square that the logo's letters are cut with: a box on the form, a person counted. */

@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/lexend-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* a system font stretched to Lexend's proportions, so text does not jump when Lexend arrives */
@font-face { font-family: 'Lexend Fallback'; src: local('Roboto'), local('Arial'); size-adjust: 109%; ascent-override: 92%; descent-override: 23%; line-gap-override: 0%; }

:root {
  --brand: #5A45B0;          /* the logo violet, lightened so large areas feel friendlier */
  --brand-deep: #3F2E91;
  --night: #2B1D66;
  --accent: #F0559B;         /* the logo pink, a touch softer: buttons, ticks, small fills */
  --accent-ink: #C41A6C;     /* pink that passes contrast as text on white and blush */
  --accent-on-dark: #FFB8D5;
  --blush: #FFF1F6;
  --pink-soft: #F36BA7;      /* the pink of the panels: one shade under the logo pink, still punchy */
  --lav: #EFEAFB;            /* large violet areas are this pale lavender */
  --bg: #fff;
  --bg-tint: #F6F3FC;
  --text: #2A1A63;
  --muted: #564B82;
  --line: #E6DCF0;
  --line-strong: #C9BCE8;
  --on-brand: #fff;
  --on-brand-muted: #D9CFF3;
  --on-accent: #2A1A63;

  --font: 'Lexend', 'Lexend Fallback', system-ui, -apple-system, 'Segoe UI', 'Noto Sans', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-q: cubic-bezier(.25, 1, .5, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));   /* where the page's text column starts */
  --r-box: 3px;
  --r-card: 14px;
  --head-h: 72px;
  --draft-h: 38px;   /* height of the draft strip; the script measures the real one */
  --z-head: 20;
  --z-panel: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 20px); overflow-x: clip; }
html.motion-ok { scroll-behavior: smooth; }
html.ax-size-1 { font-size: 112.5%; }
html.ax-size-2 { font-size: 125%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:not(input):focus-visible { outline: 0; }   /* a section reached by an in-page link takes focus quietly */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(64px, 9vw, 132px); }

h1, h2 { font-weight: 600; letter-spacing: -.032em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.25rem); max-width: 18em; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.lede { font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 32em; margin-top: 20px; text-wrap: pretty; }

.no-js :is(.hint, .ax-coach, .map, .state .fld, .qz-pick, .vid-play, .ask .form, .ax-open, .ex-stage, .ex-ctl, .g-plot, .g-today, .rail, .vrow, .seen-hint, .brl-in, .replay, .story-dots) { display: none; }
.no-js .qz-a[hidden] { display: block; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 500; }
.skip:focus { top: 12px; }
.draft { background: var(--night); color: #fff; text-align: center; font-size: .85rem; padding: 8px var(--pad); }
.draft b { font-weight: 600; color: var(--accent-on-dark); }

/* ---------- buttons, links, labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 500; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-solid { background: var(--brand); color: var(--on-brand); }
.btn-solid:hover { background: var(--brand-deep); }
.btn-line { border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--accent); background: var(--blush); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-on-dark); }

.arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; transition: text-decoration-color .2s; }
.arrow::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.arrow:hover { text-decoration-color: currentColor; }
.arrow:hover::after { transform: translateX(4px); }

.status { display: inline-flex; align-items: center; gap: 9px; font-size: .875rem; font-weight: 500; color: var(--muted); }
.status i { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); }
.st-await { color: var(--accent-ink); }
.st-await i { background: var(--accent); }

/* a prompt beside anything that can be tapped, dragged or typed in */
.hint { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--accent-ink); }
.hint::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3.4'/%3E%3Ccircle cx='10' cy='10' r='7.6' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3.4'/%3E%3Ccircle cx='10' cy='10' r='7.6' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* round icon buttons, each with its own small label on hover or focus */
.ib { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1.75px solid currentColor; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.ib-sm { width: 40px; height: 40px; }
.ib:active { transform: scale(.92); }
.ib[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; padding: 6px 10px; border-radius: 8px; background: var(--night); color: #fff; font-size: .78rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s, transform .25s var(--ease); }
.ib:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) { .ib:hover::after { opacity: 1; transform: translate(-50%, 0); } }

.fld { display: block; margin-top: 24px; }
.fld > span:first-child { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 8px; }
.fld em { font-style: normal; font-weight: 400; color: var(--muted); }
select, input[type="text"], textarea { display: block; width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 10px; background-color: var(--bg); font-size: 1.0625rem; transition: border-color .2s, box-shadow .2s; }
select { appearance: none; -webkit-appearance: none; padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235A45B0' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; cursor: pointer; }
textarea { padding: 14px 16px; min-height: 128px; line-height: 1.5; resize: vertical; }
:is(select, input[type="text"], textarea):hover { border-color: var(--accent); }

/* the box, with its tick: used on the form, the checklist and every graphic */
.bx { flex: none; position: relative; width: 24px; height: 24px; border-radius: var(--r-box); box-shadow: inset 0 0 0 1.75px var(--brand); transition: background-color .25s, box-shadow .25s, transform .4s var(--ease); }
.bx::after { content: ""; position: absolute; left: 50%; top: 45%; width: 28%; height: 52%; border: solid var(--on-brand); border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(42deg) scale(.3); opacity: 0; transition: opacity .15s, transform .4s var(--ease); }
.pick input:checked + .bx { background: var(--accent); box-shadow: inset 0 0 0 1.75px var(--accent); }
.pick input:checked + .bx::after { opacity: 1; transform: translate(-50%, -50%) rotate(42deg); }
.pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; cursor: pointer; line-height: 1.25; }
.pick input { position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin: -12px 0 0; opacity: 0; cursor: pointer; }
.pick input:focus-visible + .bx { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
@media (hover: hover) { .pick:hover .bx { transform: scale(1.1); } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: var(--z-head); background: var(--bg); transition: box-shadow .3s; }
.top.is-stuck { box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 16px; }
.brand a { display: block; border-radius: 4px; }
.brand img { height: 42px; width: auto; }
.brand-rule { width: 1px; height: 28px; background: var(--line-strong); }
.nav { display: flex; gap: clamp(16px, 2.2vw, 30px); margin-left: auto; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; white-space: nowrap; padding-block: 10px; background: linear-gradient(var(--accent), var(--accent)) left calc(100% - 5px) / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.nav a:hover { background-size: 100% 2px; }
.tools { display: flex; align-items: center; gap: 10px; }
.ax-wrap { position: relative; display: inline-flex; }
.ax-open { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-weight: 500; font-size: .95rem; transition: border-color .2s, background-color .2s; }
.ax-open:hover, .ax-open[aria-expanded="true"] { border-color: var(--accent); background: var(--blush); }
.ax-open:not(.is-known)::before { content: ""; position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.ax-coach { position: absolute; top: calc(100% + 13px); right: 0; z-index: 2; width: max-content; max-width: min(240px, 68vw); padding: 10px 14px; border-radius: 12px; background: var(--night); color: #fff; font-size: .85rem; font-weight: 500; line-height: 1.35; }
.ax-coach::before { content: ""; position: absolute; top: -5px; right: 16px; width: 12px; height: 12px; border-radius: 2px; background: inherit; transform: rotate(45deg); }
.ax-coach[hidden] { display: none; }
@media (max-width: 370px) { .ax-coach { max-width: 186px; } }
.ax-ic { width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='4.2' r='2.2'/%3E%3Cpath d='M4 7.6c2.6.7 5.3 1 8 1s5.4-.3 8-1l.5 1.9c-2 .6-4.1.9-6.3 1.1v3.7l2.2 7.4-1.9.6-2.5-7.2-2.5 7.2-1.9-.6 2.2-7.4v-3.7c-2.2-.2-4.3-.5-6.3-1.1z'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='4.2' r='2.2'/%3E%3Cpath d='M4 7.6c2.6.7 5.3 1 8 1s5.4-.3 8-1l.5 1.9c-2 .6-4.1.9-6.3 1.1v3.7l2.2 7.4-1.9.6-2.5-7.2-2.5 7.2-1.9-.6 2.2-7.4v-3.7c-2.2-.2-4.3-.5-6.3-1.1z'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* a rail of boxes, one per section, ticked as you pass (only where there is margin to spare) */
.rail { display: none; }
@media (min-width: 1400px) and (min-height: 640px) {
  .rail { position: fixed; left: max(20px, calc((100vw - var(--wrap)) / 2 - 62px)); top: 50%; z-index: 15; display: grid; gap: 11px; transform: translateY(-50%); }
  .rail a { position: relative; display: block; width: 16px; height: 16px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1.5px var(--text), 0 5px 12px -5px rgba(23, 11, 63, .6); transition: background-color .35s var(--ease-q), transform .35s var(--ease), box-shadow .35s; }
  .rail a::before { content: ""; position: absolute; left: 50%; top: 44%; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(42deg) scale(.2); opacity: 0; transition: opacity .2s, transform .4s var(--ease); }
  .rail a.done { background: var(--accent); box-shadow: 0 0 0 1.5px #fff, 0 5px 12px -5px rgba(23, 11, 63, .6); }
  .rail a.done::before { opacity: 1; transform: translate(-50%, -50%) rotate(42deg); }
  .rail a.now { transform: scale(1.35); }
  .rail a::after { content: attr(data-tip); position: absolute; left: calc(100% + 14px); top: 50%; padding: 6px 10px; border-radius: 8px; background: var(--night); color: #fff; font-size: .78rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-4px, -50%); transition: opacity .15s, transform .25s var(--ease); }
  .rail a:hover::after, .rail a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- 2 · NCPEDP's four questions (20 Nov 2026: moved down from the opening, where the slogan was).
   Two by two on a wide screen, one under the other on a phone. Each opens with one of the opening's ticked boxes. ---------- */
.qa { padding-block: clamp(56px, 7vw, 104px); }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.qa-grid li { display: grid; align-content: start; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; padding-top: 22px; border-top: 1.5px solid var(--text); }
.qa-grid li::before { content: ""; grid-row: 1; width: 30px; height: 30px; margin-top: .12em; border-radius: 6px; background: var(--brand-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M8.5 15.5l4.5 4.5 8.5-10' fill='none' stroke='%23F36BA7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.qa h2 { grid-row: 1; max-width: none; font-size: clamp(1.55rem, 2.5vw, 2.15rem); letter-spacing: -.025em; line-height: 1.12; }
.qa p { grid-column: 2; max-width: 31em; margin-top: 14px; font-size: clamp(1.02rem, 1.25vw, 1.16rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.qa p + p { margin-top: 10px; }

/* quick access: NCPEDP's four cards, set as one index row rather than four boxes. Each opens its part of the page. */
.quick { border-bottom: 1.5px solid var(--line); }
.quick-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick li + li { border-left: 1.5px solid var(--line); }
.quick a { display: grid; align-content: start; gap: 10px; height: 100%; padding: clamp(24px, 2.6vw, 36px) clamp(16px, 2vw, 28px) clamp(26px, 2.8vw, 40px); text-decoration: none; }
.quick li:first-child a { padding-left: 0; }
.quick b { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: clamp(1.08rem, 1.45vw, 1.28rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.22; transition: color .25s; }
.quick b::after { content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 5px; box-shadow: inset 0 0 0 1.75px var(--brand); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v9M4.500 8.500 8 12l3.500-3.500' fill='none' stroke='%232A1A63' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color .25s, box-shadow .25s, transform .35s var(--ease); }
.quick span { font-size: .95rem; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.quick a:hover b { color: var(--accent-ink); }
.quick a:hover b::after { background-color: var(--accent); box-shadow: inset 0 0 0 1.75px var(--accent); transform: translateY(3px); }

/* the scroll cue at the foot of the first screen: three small boxes filling downwards */
.cue { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; min-width: 72px; padding: 6px 12px 4px; line-height: 1.2; border-radius: 10px; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--on-accent); transition: opacity .4s var(--ease-q), visibility .4s; }
.cue-boxes { display: grid; gap: 4px; }
.cue-boxes i { width: 10px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1.75px currentColor; }
.cue.is-gone { opacity: 0; visibility: hidden; }


/* ---------- 2 · current update: a chart of the dates ---------- */
.now h2 { margin-top: 18px; }
.gantt { --tw: 30px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(18px, 3.2vw, 44px); border-radius: var(--r-card); background: var(--pink-soft); color: var(--on-accent); }
.g-plot { position: relative; padding: 30px calc(var(--tw) / 2) 26px; }
.g-months { position: absolute; inset: 0 calc(var(--tw) / 2) 70px; font-size: .85rem; font-weight: 600; }
.g-months span { position: absolute; top: 0; bottom: 0; left: var(--l); padding-left: 7px; border-left: 1.5px solid color-mix(in oklab, var(--on-accent) 26%, transparent); line-height: 1.2; }
.g-lane { position: relative; }
.g-lane h3 { position: relative; z-index: 2; margin-top: -1px; padding: 15px 0 8px; background: var(--pink-soft); font-size: .95rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.g-lane small { font-size: .85rem; font-weight: 400; white-space: nowrap; }
.g-lane small::before { content: "· "; }
.g-track { position: relative; height: 36px; border-radius: 8px; background: color-mix(in oklab, var(--on-accent) 13%, transparent); }
.g-track i, .g-dates i { background: #fff; }
.g-track i { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); min-width: 6px; border-radius: 7px; transform-origin: left; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.g-track .pe, .g-dates .pe { background: var(--on-accent); }
.g-track .rr, .g-dates .rr { background: repeating-linear-gradient(135deg, var(--on-accent) 0 3px, #fff 3px 6px); }
.g-track i.is-on { z-index: 1; transform: translateY(-4px); box-shadow: 0 10px 16px -8px rgba(26, 13, 71, .7); }
.g-dates { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 9px; background: var(--pink-soft); font-size: .85rem; }
.g-dates li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px; }
.g-dates i { width: 16px; height: 11px; border-radius: 3px; }
.g-dates b { font-weight: 600; }
.g-now { position: absolute; left: calc(var(--t0, 0) * 100%); top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 2px; background: var(--on-accent); pointer-events: none; }
.g-rail { position: relative; height: 44px; margin-top: 10px; }
.g-rail input { display: block; width: calc(100% + var(--tw)); height: 44px; margin: 0 calc(var(--tw) / -2); padding: 0; border: 0; background: transparent; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.g-rail input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: color-mix(in oklab, var(--on-accent) 30%, transparent); }
.g-rail input::-moz-range-track { height: 4px; border-radius: 2px; background: color-mix(in oklab, var(--on-accent) 30%, transparent); }
.g-rail input::-webkit-slider-thumb { -webkit-appearance: none; width: var(--tw); height: var(--tw); margin-top: calc((4px - var(--tw)) / 2); border: 0; border-radius: 50%; background: transparent; }
.g-rail input::-moz-range-thumb { width: var(--tw); height: var(--tw); border: 0; border-radius: 50%; background: transparent; }
.g-rail input:focus-visible { outline: 3px solid var(--on-accent); outline-offset: 0; border-radius: 22px; }
.g-line { position: absolute; top: 31px; bottom: 48px; left: calc(var(--tw) / 2 + var(--p, 0) * (100% - var(--tw))); width: 0; pointer-events: none; }
.g-line::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--on-accent); }
.g-line i { position: absolute; left: calc(var(--tw) / -2); bottom: calc(var(--tw) / -2); width: var(--tw); height: var(--tw); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 8 6 12l3.5 4M14.5 8 18 12l-3.5 4' fill='none' stroke='%231A0D47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; border: 3px solid var(--on-accent); box-shadow: 0 6px 14px -4px rgba(26, 13, 71, .5); }
.g-line b { position: absolute; top: calc(100% + var(--tw) / 2 + 5px); left: 0; padding: 2px 9px; border-radius: 6px; background: var(--on-accent); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
/* until the handle is first moved, a label beside it says what it is for */
.g-hint { position: absolute; top: calc(100% + var(--tw) / 2 + 6px); left: 46px; display: none; align-items: center; gap: 7px; font-style: normal; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.g-hint::before { content: ""; flex: none; width: 22px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M5.5 3 1.5 7l4 4M16.5 3l4 4-4 4M2 7h18' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M5.5 3 1.5 7l4 4M16.5 3l4 4-4 4M2 7h18' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.gantt.is-fresh .g-hint { display: flex; }
.gantt.is-fresh.flip .g-hint { left: auto; right: 46px; flex-direction: row-reverse; }
.gantt.intro .g-line { transition: left 2s var(--ease); }
.g-out { display: grid; grid-template-columns: minmax(0, 16em) minmax(0, 1fr); gap: 10px clamp(20px, 4vw, 56px); align-items: start; margin-top: 22px; padding-top: 20px; border-top: 1.5px solid color-mix(in oklab, var(--on-accent) 22%, transparent); }
.g-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.g-today { min-height: 34px; padding: 0 13px; border-radius: 8px; border: 1.5px solid var(--on-accent); font-size: .8rem; font-weight: 600; letter-spacing: 0; transition: background-color .2s, color .2s; }
.g-today:hover { background: var(--on-accent); color: #fff; }
.g-out dl { display: grid; gap: 8px; }
.g-out dl div { display: grid; grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr); gap: 2px 16px; }
.g-out dt { font-size: .95rem; font-weight: 600; }
.g-out dd { font-size: .95rem; }
.now-src { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 26px; font-size: .95rem; }

/* ---------- 3 · find your state ---------- */
.state { background: var(--blush); }
.state-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.st-card { margin-top: 20px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-card); background: var(--bg); }
.st-sum li { border-bottom: 1px solid var(--line); }
.st-sum li:last-child { border-bottom: 0; }
.st-key { display: flex; gap: 14px; align-items: flex-start; width: calc(100% + 20px); margin-inline: -10px; padding: 12px 10px; border-radius: 12px; text-align: left; transition: background-color .25s; }
.st-key:hover, .st-key[aria-pressed="true"] { background: var(--blush); }
.st-key[aria-pressed="true"] .k { outline: 2px solid var(--text); outline-offset: 2px; }
.st-sum span { display: flex; flex-direction: column; font-size: .95rem; color: var(--muted); }
.st-sum b { font-size: 1rem; font-weight: 500; color: var(--text); }
.k { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: var(--r-box); }
.k-early { background: var(--accent); }
.k-main { background: var(--brand); }
.k-done { box-shadow: inset 0 0 0 1.75px var(--brand); }
.k-wait, .tile.g-wait { background: repeating-linear-gradient(135deg, var(--line-strong) 0 2px, #fff 2px 6px); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.st-card h3 { font-size: 1.5rem; }
.st-now { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; font-weight: 500; }
.st-dl, .fd-dl { margin-top: 18px; }
.st-dl div, .fd-dl div, .when div { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); gap: 4px 16px; padding-block: 11px; border-top: 1px solid var(--line); }
.st-dl dt, .fd-dl dt, .when dt { font-size: .95rem; color: var(--muted); }
.st-dl dd, .fd-dl dd, .when dd { font-weight: 500; }
.st-note { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.st-card .arrow { margin-top: 16px; font-size: .95rem; }
/* the key sits under its map, two by two; the resources sit under the State picker, so the two sides end together */
.st-res { margin-top: clamp(28px, 3.4vw, 44px); }
.st-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(12px, 2vw, 28px); }
.st-sum li:nth-last-child(-n+2) { border-bottom: 0; }
.acc { border-bottom: 1px solid var(--line-strong); }
.st-res h3 + .acc { margin-top: 12px; border-top: 1px solid var(--line-strong); }
.acc summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 14px 0; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary span { font-weight: 600; line-height: 1.3; }
.acc summary small { grid-column: 1; font-size: .875rem; color: var(--muted); }
.acc summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 5px; box-shadow: inset 0 0 0 1.75px var(--brand); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v9M4.500 8.500 8 12l3.500-3.500' fill='none' stroke='%232A1A63' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease), background-color .25s, box-shadow .25s; }
.acc[open] summary::after { transform: rotate(180deg); background-color: var(--accent); box-shadow: inset 0 0 0 1.75px var(--accent); }
.acc summary:hover span { color: var(--accent-ink); }
.acc-in { display: grid; gap: 8px; justify-items: start; padding: 0 44px 18px 0; }
.acc-in p { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.st-res h3, .q-res h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.q-res .srcs li { border-bottom-color: var(--line-strong); }
.st-more { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.st-res-one { display: grid; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-card .st-res-one .arrow { margin-top: 0; }
.st-res-one small, .src-by { font-size: .82rem; color: var(--muted); }
.src-by { margin-top: 6px; }

.map-wrap { max-width: 580px; width: 100%; justify-self: end; }
.map { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(4px, .7vw, 8px); }
.tile { position: relative; grid-column: calc(var(--x) + 1); grid-row: calc(var(--y) + 1); display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; font-size: clamp(.72rem, 1.05vw, .92rem); font-weight: 600; letter-spacing: .01em; transition: transform .35s var(--ease), opacity .45s var(--ease-q); }
.map[data-sel] .tile { opacity: .26; }
.map[data-sel="early"] .g-early, .map[data-sel="main"] .g-main, .map[data-sel="done"] .g-done, .map[data-sel="wait"] .g-wait, .map[data-sel] .tile:is(:hover, :focus-visible) { opacity: 1; }
.tile.g-main { background: var(--brand); color: var(--on-brand); }
.tile.g-early { background: var(--accent); color: var(--on-accent); }
.tile.g-done { background: var(--bg); box-shadow: inset 0 0 0 1.75px var(--brand); color: var(--brand); }
.tile.g-wait { color: var(--text); }
.tile[aria-pressed="true"] { outline: 3px solid var(--text); outline-offset: 3px; z-index: 1; }
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px) scale(1.04); }
  .tile::after { content: attr(data-n); position: absolute; bottom: calc(100% + 9px); left: 50%; z-index: 3; padding: 6px 10px; border-radius: 8px; background: var(--night); color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s, transform .25s var(--ease); }
  .tile.tip-l::after { left: 0; transform: translate(0, 4px); }
  .tile.tip-r::after { left: auto; right: 0; transform: translate(0, 4px); }
  .tile:hover::after, .tile:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
  .tile:is(.tip-l, .tip-r):hover::after, .tile:is(.tip-l, .tip-r):focus-visible::after { transform: none; }
}

/* ---------- 4 · why missing millions: the explainer loop ---------- */
.ex { display: grid; align-items: center; position: relative; min-height: min(calc(100svh - var(--head-h) - var(--draft-h, 36px)), 1080px); padding-block: clamp(28px, 5vh, 96px) 96px; background: var(--pink-soft); color: var(--on-accent); }   /* the whole first screen */
.ex-in { display: grid; width: 100%; grid-template-columns: minmax(0, min(580px, 50%, 62svh)) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.ex-copy { container-type: inline-size; }
.ex-copy h1 { font-size: min(11.4cqw, 4.6rem, 9vh); letter-spacing: -.035em; line-height: 1; }   /* sized to its column, so "Our Development" always stays on one line */
.ex-copy h1 .l { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ex-copy h1 .l > span { display: block; white-space: nowrap; }
.ex-note { max-width: 31em; margin-top: clamp(20px, 3.2vh, 32px); font-size: clamp(1rem, min(1.4vw, 2.4vh), 1.2rem); font-weight: 450; line-height: 1.5; text-wrap: pretty; }
.ex-note a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; color: inherit; }
.ex-note a:hover { text-decoration-color: #fff; }
.ex-lede { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; max-width: 31em; margin-top: clamp(16px, 2.6vh, 24px); font-size: clamp(1rem, min(1.4vw, 2.4vh), 1.2rem); font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.ex-lede::before { content: ""; width: 26px; height: 26px; margin-top: 1px; border-radius: 5px; background: var(--brand-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.8 3.8 7.2-8.6' fill='none' stroke='%23F36BA7' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ex-art { display: grid; gap: 14px; }
.ex-ctl { display: flex; align-items: center; gap: 10px; }
.ex-bars { flex: 1; display: flex; gap: 6px; max-width: 200px; margin-right: 6px; }
.ex-bars i { position: relative; flex: 1; height: 5px; border-radius: 3px; background: color-mix(in oklab, var(--on-accent) 22%, transparent); overflow: hidden; }
.ex-bars i::after { content: ""; position: absolute; inset: 0; background: var(--on-accent); transform-origin: left; transform: scaleX(0); }
.ex-bars i.done::after, .ex-bars i.on::after { transform: none; }
.ex .ib:hover { background: var(--on-accent); color: #fff; }
.ex:not(.is-paused) .i-play, .ex.is-paused .i-pause { display: none; }
html:not(.motion-ok) #exPlay { display: none; }

.ex-stage { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; cursor: pointer; }
.ex-stage i { position: absolute; left: 0; top: 0; width: 8.2cqw; height: 8.2cqw; border-radius: .9cqw; background: var(--brand-deep); translate: calc(var(--x) * 1cqw) calc(var(--y) * 1cqw); scale: var(--s, 1); transition: translate 1s var(--ease), scale 1s var(--ease), border-radius .5s, background-color .6s var(--ease-q), opacity .6s var(--ease-q), box-shadow .6s; transition-delay: calc(var(--n) * 7ms); }
.ex-stage i::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 .5cqw #fff; opacity: 0; pointer-events: none; }
.ex-stage i::after { content: ""; position: absolute; left: 50%; top: 45%; width: 27%; height: 50%; border: solid var(--pink-soft); border-width: 0 .85cqw .85cqw 0; transform: translate(-50%, -50%) rotate(42deg); opacity: 0; transition: opacity .4s calc(var(--n) * 5ms), border-color .6s; }
.ex:is([data-f="1"], [data-f="3"]) .ex-stage i::after { opacity: 1; }
/* 4 · from 7 to 21: the sheet dims, seven boxes are lit at once and fourteen more one at a time, in step with the number */
.ex[data-f="4"] .ex-stage i { opacity: .2; }
.ex[data-f="4"] .ex-stage i.b { z-index: 1; opacity: 1; background: #fff; scale: 1.18; box-shadow: 0 1.4cqw 2.4cqw -1cqw rgba(26, 13, 71, .7); transition-delay: calc(var(--b) * 110ms); }
.cnt { font-variant-numeric: tabular-nums; }
/* 2 · in the stacks, twenty-one boxes stay white so each stack reads as many people, not one block */
.ex[data-f="2"] .ex-stage i.b { background: #fff; }
/* how long each slide stays: long enough to read it */
.ex { --ex-t: 13s; }
.ex[data-f="3"] { --ex-t: 10s; }
.ex[data-f="4"] { --ex-t: 16s; }

.ex-lab { position: absolute; top: 80cqw; left: calc(.6cqw + var(--i) * 25cqw); width: 23.8cqw; text-align: center; font-size: clamp(10.5px, 2.75cqw, 17px); font-weight: 600; font-style: normal; line-height: 1.15; opacity: 0; transition: opacity .4s; }
.ex[data-f="2"] .ex-lab { opacity: 1; transition-delay: .8s; }

/* ---------- 6 · 9 categories, 21 disabilities: two cards, the 9 leading to the 21 ---------- */
.story { background: var(--lav); }
.trio-card { margin-top: clamp(32px, 5vw, 56px); border: 1.5px solid var(--text); border-radius: var(--r-card); background: var(--bg); }
.trio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.75fr) minmax(0, 1fr); }
.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.story strong { font-weight: 700; color: var(--accent-ink); }   /* NCPEDP: the word "categories" in bold */
.tc { position: relative; padding: clamp(20px, 2.6vw, 36px); }
.tc + .tc { border-left: 1.5px solid var(--text); }
.tc:not(:last-child)::after { content: ""; position: absolute; top: 82px; right: -22px; z-index: 1; width: 42px; height: 42px; border-radius: 10px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='%232A1A63' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 0 0 6px var(--bg); }
.yr { font-size: .95rem; font-weight: 600; color: var(--accent-ink); }
.big { margin: 2px 0 0 -.03em; font-size: clamp(4.2rem, 8.4vw, 7.4rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; color: var(--brand); font-variant-numeric: tabular-nums; }
.say { margin-top: 10px; max-width: 24em; font-size: 1.05rem; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.t21 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; margin-top: 20px; }
.t21 li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; padding: 7px 8px 7px 6px; font-size: .86rem; font-weight: 500; line-height: 1.3; }
.t21 li::before { content: ""; width: 13px; height: 13px; margin-top: 3px; border-radius: 3px; background: var(--accent); }
.t9 { display: grid; gap: 7px; margin-top: 22px; counter-reset: n; }
.t9 li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 11px; align-items: center; font-size: .92rem; font-weight: 500; line-height: 1.25; }
.t9 li::before { counter-increment: n; content: counter(n); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; box-shadow: inset 0 0 0 1.75px var(--brand); font-size: .78rem; font-weight: 600; color: var(--brand); }
.t9 .t9-zero::before { counter-increment: none; content: "0*"; }   /* the enumerator's own entry: not one of the nine */
.t-foot { padding: 15px clamp(20px, 2.6vw, 36px) 17px; border-top: 1.5px solid var(--text); font-size: .92rem; line-height: 1.45; color: var(--muted); }
.cat-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 22px; }
.cat-link span { color: var(--muted); }
.story-lead { max-width: 24em; margin-top: clamp(36px, 5vw, 64px); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.18; text-wrap: balance; }
#h-story span { display: block; }

/* ---------- 5 · what is disability?  7 · question 13 ---------- */
.q-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 6vw, 96px); align-items: start; }
/* "What is" over "disability?", large, so the heading stands as tall as the definition beside it (Johnson, 18 Nov) */
.q-what .q-head { align-items: center; }
.q-what h2 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: .98; letter-spacing: -.04em; }
.q-what h2 span { display: block; }
.q-what h2 span:last-child { color: var(--accent-ink); }
.q-def p:not(.src-by) { margin-top: 8px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.q-def .src-by { margin-top: 12px; }
.q-in { display: grid; grid-template-columns: minmax(0, min(520px, 48%)) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
@media (min-width: 760px) { .q13 { position: sticky; top: calc(var(--head-h) + 20px); } }   /* the form stays in view beside a long explanation */
.q13 { container-type: inline-size; padding: clamp(18px, 2.6vw, 32px); border: 1.5px solid var(--text); border-radius: var(--r-card); background: var(--bg); }
.q13-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.q13-q { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.q13-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-size: 1.15rem; }
.q13 fieldset { min-width: 0; margin-top: 22px; padding: 0; border: 0; transition: opacity .3s; }
.q13 legend { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 500; }
.q13 legend b { font-weight: 500; color: var(--muted); }
.q13 legend em { margin-left: auto; font-style: normal; font-size: .875rem; color: var(--accent-ink); }
.q13-a { display: flex; flex-wrap: wrap; gap: 0 32px; }
.q13-opts { display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 0 18px; }
@container (max-width: 400px) { .q13-opts { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); } }
.opt { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); align-items: baseline; }
.opt small { font-size: .85em; color: var(--muted); }
.q13-b.is-off { opacity: .4; }
.pick.is-full { color: var(--muted); }
.pick.is-full .bx { box-shadow: inset 0 0 0 1.75px var(--line-strong); }
.q13-count { margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: var(--blush); font-size: .95rem; font-weight: 500; }
.q13-zero { margin-top: 14px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.q13-zero b { font-weight: 600; color: var(--text); }
/* what the ticked types cover: beside the form, in NCPEDP's words, the latest on top; two or more and the Multiple Disability line heads them */
.q-stack { display: grid; gap: 14px; }
/* before a type is ticked: a guide that points at the form (Johnson, 18 Nov) */
.q-wait { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--lav); }
.q-wait[hidden] { display: none; }
@media (min-width: 760px) { .q-wait { position: sticky; top: calc(var(--head-h) + 20px); } }
.qw-arrow { display: block; color: var(--accent); }
.motion-ok .qw-arrow { animation: qwPoint 1.6s var(--ease-q) infinite; }
/* 1, 2, 3 light up in order; then the step to do now, and its box on the form, keep pulsing */
.motion-ok .qw-steps i { animation: pop .5s var(--ease) calc(var(--k) * 320ms + 300ms) backwards; }
.motion-ok .qw-steps li.is-now i { animation: pop .5s var(--ease) calc(var(--k) * 320ms + 300ms) backwards, nudgeO 1.6s var(--ease-q) 1.4s infinite; }
.motion-ok .q13 .pick.is-cue input:not(:checked):not(:disabled) + .bx { animation: nudge 1.6s var(--ease-q) .6s infinite; }
@keyframes qwPoint { 0%, 100% { transform: none; } 50% { transform: translateX(-9px); } }
.qw-h { margin-top: 18px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.qw-t { margin-top: 10px; max-width: 30em; color: var(--muted); line-height: 1.5; }
.qw-steps { display: grid; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.qw-go { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; min-height: 32px; text-align: left; font-weight: 500; transition: color .3s; }
button.qw-go:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.qw-steps li { transition: color .3s; }
.qw-steps i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--brand); color: var(--on-brand); font-style: normal; font-size: .8rem; font-weight: 600; transition: background-color .3s; }   /* numbered steps, not boxes to tick: they only follow the form */
.qw-steps li.done i { font-size: 0; }
.qw-steps li.done { color: var(--muted); }
.qw-steps li.done button.qw-go { pointer-events: none; }
.qw-steps li.done i { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l3 3 5.8-6.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.qw-steps li.done .qw-go > span { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.q-stack[hidden] { display: none; }
.q-multi { padding: 16px 20px; border-radius: var(--r-card); background: var(--brand); color: var(--on-brand); font-size: .98rem; line-height: 1.5; }
.q-multi b { font-weight: 600; }
.q-exp { padding: 22px 24px 24px; border-radius: var(--r-card); background: var(--blush); font-size: .95rem; line-height: 1.5; }
.q-exp[hidden] { display: none; }
.q-exp h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.25rem; }
.q-exp p + p { margin-top: 10px; }
.exp-rows { display: grid; gap: 9px; }
.q-exp p + .exp-rows { margin-top: 12px; }
.exp-rows li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); }
.exp-rows li.sub { padding-left: 2.2em; }
.exp-rows li > span:first-child { font-weight: 600; color: var(--brand); }
.exp-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.exp-note b { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.exp-note li { position: relative; padding-left: 20px; }
.exp-note li + li { margin-top: 6px; }
.exp-note li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }

.q-res { margin-top: clamp(32px, 4.4vw, 56px); }
.q-res .srcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 6vw, 96px); margin-top: 10px; border-top: 1px solid var(--line-strong); }

/* ---------- 7 · beyond question 13 ---------- */
.beyond { background: var(--blush); }
.path { --gap: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 5vw, 64px); }
.path > li { position: relative; }
.path > li:not(:last-child)::before { content: ""; position: absolute; top: 29px; left: 60px; right: calc(var(--gap) * -1); height: 2px; background: var(--accent); transform-origin: left; }
.node { position: relative; z-index: 1; display: inline-grid; place-items: center; min-width: 60px; height: 60px; padding: 0 12px; border-radius: 5px; background: var(--accent); color: var(--on-accent); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.path h3 { margin-top: 22px; }
.path > li > p { margin-top: 8px; color: var(--muted); }
.path > li > .status { margin-top: 16px; }
.path .src-by { padding-left: 19px; }
.brl { display: flex; flex-wrap: wrap; gap: 12px; min-height: 40px; margin-top: 18px; }
.brl span { display: grid; grid-template-columns: repeat(2, 10px); grid-auto-rows: 10px; gap: 5px; }
.brl i { border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--line-strong); transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.brl i.on { background: var(--brand); box-shadow: none; }
.brl-in { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .875rem; font-weight: 500; }
.brl-in input { width: 9.5em; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 1rem; text-transform: lowercase; }
.opts { display: grid; gap: 9px; max-width: 300px; margin-top: 18px; }
.opts li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; }
.opts i { flex: none; position: relative; width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--bg); }
.opts .bar { width: var(--w); height: 6px; border-radius: 3px; background: var(--line-strong); }
.opts .on i { background: var(--accent); box-shadow: none; }
.opts .on i::after { content: ""; position: absolute; left: 50%; top: 44%; width: 4px; height: 8px; border: solid var(--on-brand); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(42deg); }

/* ---------- 8 · self-enumeration ---------- */
.self-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 6vw, 96px); align-items: start; }
.self-head .lede { margin-top: 6px; }
.pull { margin-top: 22px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; color: var(--accent-ink); }
.scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 6vw, 80px); }
.sc-box { position: relative; border-radius: var(--r-card); background: var(--pink-soft); color: var(--on-accent); overflow: hidden; }
.sc { width: 100%; height: auto; aspect-ratio: 240 / 180; padding: clamp(10px, 1.4vw, 18px) clamp(10px, 2vw, 26px); overflow: visible; }
.replay { position: absolute; left: 12px; top: 12px; }   /* top left is clear in all four pictures */
.replay:hover { background: var(--on-accent); color: #fff; }
/* the picture box clips at its rounded edge, so this label opens to the right of the button, below it */
.replay[data-tip]::after { left: 0; bottom: auto; top: calc(100% + 9px); transform: translateY(-4px); }
.replay:focus-visible::after { transform: none; }
@media (hover: hover) { .replay:hover::after { transform: none; } }
/* each picture carries its point in words (NCPEDP, 17 Nov 2026) */
.sc-tag { display: flex; align-items: center; min-height: 44px; margin: 0 12px 12px; padding: 8px 14px; border-radius: 8px; background: #fff; font-size: .92rem; font-weight: 600; line-height: 1.25; color: var(--on-accent); text-wrap: balance; }
.se-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.se-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 14px; align-content: start; padding-block: 18px; border-top: 1.5px solid var(--line-strong); }
.se-steps .num { grid-row: span 2; }
.se-steps b { display: flex; align-items: center; min-height: 28px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.se-steps li > span:last-child:not(.num) { grid-column: 2; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.se-steps a { text-decoration-color: var(--line-strong); }
.se-steps a:hover { text-decoration-color: var(--accent); }
.se-last .num { position: relative; background: var(--accent); }
.se-last .num::after { content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(42deg); }
.se-last p { font-size: .95rem; font-weight: 500; line-height: 1.45; }
.num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-box); background: var(--brand); color: var(--on-brand); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.sc text { font-family: var(--font); }
.sc .wh { fill: #fff; }
.sc .ln { fill: none; stroke: var(--on-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sc .chip { fill: var(--blush); stroke: var(--on-accent); stroke-width: 1.5; }
.sc .lang text { font-size: 15px; font-weight: 600; fill: var(--on-accent); text-anchor: middle; opacity: 0; }
.sc .lang text:last-child { opacity: 1; }
.sc .fl { fill: var(--line-strong); }
.sc .bxs, .sc .sq, .sc .in { fill: var(--accent); }
.sc .tk, .sc .tkw, .sc .badge path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.sc .tk { stroke-width: 2.2; }
.sc .tkw { stroke-width: 2.6; }
.sc .badge rect { fill: #fff; }
.sc .badge path { stroke: var(--accent-ink); stroke-width: 4.2; }
.sc .go, .sc .sms path, .sc .door { fill: var(--on-accent); }
.sc .card { fill: #fff; stroke: var(--on-accent); stroke-width: 2.5; }
.sc .win { fill: var(--blush); stroke: var(--on-accent); stroke-width: 2.5; }
.sc .t1 { font-size: 15px; font-weight: 600; fill: var(--on-accent); }
.sc .t2 text { font-size: 15.5px; font-weight: 600; fill: var(--brand); letter-spacing: .06em; }
.sc .sms text { font-size: 11px; font-weight: 600; fill: #fff; text-anchor: middle; }
.sc .door { transform-box: fill-box; transform-origin: left center; transform: scaleX(.3); }
.sc .road { fill: none; stroke: var(--line-strong); stroke-width: 7; stroke-linecap: round; }
.sc .pin { fill: var(--accent); stroke: var(--on-accent); stroke-width: 2.5; stroke-linejoin: round; }
.sc .tkp { fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.self-note { max-width: 54rem; margin-top: clamp(22px, 3vw, 34px); padding: 16px clamp(18px, 2.6vw, 26px); border-radius: var(--r-card); background: var(--blush); }
.self-note b { font-weight: 600; color: var(--accent-ink); }
.self-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: clamp(22px, 3vw, 34px); font-size: .98rem; }
.self-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.else { background: var(--lav); }   /* its own section since 20 Nov 2026, after the enumerator visit */
.now + .self { border-top: 1.5px solid var(--line); }
.h-else { max-width: 18em; font-size: clamp(2rem, 3.9vw, 3.25rem); font-weight: 600; letter-spacing: -.032em; line-height: 1.05; text-wrap: balance; }

/* ---------- 9 · not always visible ---------- */
.seen { background: var(--lav); }
.vrow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(6px, 1.1vw, 14px); max-width: 780px; }
.vb { position: relative; aspect-ratio: 1; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--brand); transition: transform .35s var(--ease), background-color .4s var(--ease-q), box-shadow .4s; }
@media (hover: hover) { .vb:hover { transform: scale(1.08); } }
.vb.no { box-shadow: inset 0 0 0 2px var(--line-strong); }
.vb.yes { background: var(--accent); box-shadow: none; }
.vb.yes::after { content: ""; position: absolute; left: 50%; top: 45%; width: 27%; height: 50%; border: solid #fff; border-width: 0 3px 3px 0; transform: translate(-50%, -50%) rotate(42deg); }
.seen-hint { margin-top: 14px; margin-bottom: clamp(28px, 4vw, 52px); transition: opacity .4s; }
.seen.is-done .seen-hint { opacity: 0; }
.seen-line { margin-top: 28px; font-size: 1.15rem; font-weight: 600; color: var(--accent-ink); }

/* ---------- 10 · when the enumerator visits ---------- */
.visit-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.when { margin-top: 10px; }
.when div:last-child { border-bottom: 1px solid var(--line); }
.when div { grid-template-columns: minmax(0, 15em) minmax(0, 1fr); }
.chk-wrap { margin-top: clamp(36px, 5vw, 64px); }
/* three questions side by side; their rows are shared, so the Yes and No buttons line up whatever the length of the question */
.quiz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 clamp(20px, 3vw, 44px); }
.quiz li { display: grid; grid-row: span 3; grid-template-rows: auto auto 1fr; grid-template-rows: subgrid; align-content: start; padding-top: 20px; border-top: 1.5px solid var(--line-strong); }
.qz-q { font-size: clamp(1.05rem, 1.55vw, 1.28rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; text-wrap: pretty; }
.qz-pick { display: flex; flex-wrap: wrap; align-self: start; gap: 12px; margin-top: 16px; }
.qz-b { display: inline-flex; align-items: center; gap: 12px; min-width: 112px; min-height: 50px; padding: 0 22px 0 13px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
@media (hover: hover) { .qz-b:hover { border-color: var(--accent); background: var(--blush); } }   /* on a touch screen a tapped button must not keep the hover look */
.qz-b.is-right { border-color: var(--accent); background: var(--blush); }
.qz-b.is-right .bx { background: var(--accent); box-shadow: inset 0 0 0 1.75px var(--accent); }
.qz-b.is-right .bx::after { opacity: 1; transform: translate(-50%, -50%) rotate(42deg); }
.qz-b.is-wrong { color: var(--muted); }
.qz-b.is-wrong .bx { box-shadow: inset 0 0 0 1.75px var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' fill='none' stroke='%23564B82' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.qz-a { align-self: start; margin-top: 14px; padding: 13px 16px; border-radius: 12px; background: var(--blush); font-size: .98rem; line-height: 1.45; text-wrap: pretty; }
.qz-a[hidden] { display: none; }
.chk-wrap { position: relative; }
/* the prompt above the list: three small boxes that fill as you answer, and a line that counts with you */
.chk-nudge { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-weight: 600; color: var(--accent-ink); }
.chk-prog { flex: none; display: flex; gap: 5px; }
.chk-prog i { width: 15px; height: 15px; border-radius: 3px; box-shadow: inset 0 0 0 1.75px var(--accent); transition: background-color .35s var(--ease-q); }
.chk-prog i.on { background: var(--accent); }
/* the reward: a pink band with a ticked medal, and a burst of small boxes */
.chk-reward { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 18px 22px; border-radius: var(--r-card); background: var(--accent); color: var(--on-accent); }
.chk-reward[hidden] { display: none; }
.chk-reward p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.chk-medal { flex: none; position: relative; width: 52px; height: 52px; border-radius: 6px; background: #fff; }
.chk-medal::after { content: ""; position: absolute; left: 50%; top: 45%; width: 27%; height: 50%; border: solid var(--accent-ink); border-width: 0 5px 5px 0; transform: translate(-50%, -50%) rotate(42deg); }

/* ---------- 11 · sources and updates ---------- */
.log { padding-block: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line); }   /* Census Updates: kept quiet (NCPEDP, 20 Nov 2026) */
.log h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.log .lede { margin-top: 12px; font-size: 1rem; }
.ntf { width: 100%; margin-top: clamp(24px, 3.4vw, 40px); border-collapse: collapse; font-size: .95rem; line-height: 1.45; text-align: left; }
.ntf th { padding: 0 20px 12px 0; border-bottom: 1.5px solid var(--text); font-size: .875rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ntf td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ntf td:first-child { font-weight: 500; white-space: nowrap; }
.ntf td:last-child, .ntf th:last-child { padding-right: 0; }
.ntf small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }
.ntf a { font-weight: 500; text-decoration-color: var(--line-strong); }
.ntf a:hover { text-decoration-color: var(--accent); }
.log-more { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 26px; font-size: .95rem; }
.log-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.srcs li { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.srcs span { font-size: .875rem; color: var(--muted); }
.srcs a { font-weight: 500; text-decoration-color: var(--line-strong); }
.srcs a:hover { text-decoration-color: var(--accent); }

/* the video pop-up: large in the centre, the page blurred behind it */
.theatre { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.theatre[open] { display: grid; place-items: center; }
.theatre::backdrop { background: rgba(22, 12, 58, .62); -webkit-backdrop-filter: blur(16px) saturate(.9); backdrop-filter: blur(16px) saturate(.9); }
.th-in { width: min(92vw, calc((100svh - 130px) * 1122 / 1402)); }
.th-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.th-name { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: .9rem; line-height: 1.3; color: var(--on-brand-muted); }
.th-name b { font-size: 1.05rem; font-weight: 600; color: #fff; }
.th-ib { color: #fff; background: rgba(22, 12, 58, .55); }
.th-ib:hover { background: #fff; color: var(--night); }
.th-ib[data-tip]::after { bottom: auto; top: calc(100% + 9px); transform: translate(-50%, -4px); background: #fff; color: var(--night); }
.th-ib.tip-on::after { opacity: 1; transform: translate(-50%, 0); }
.th-stage { aspect-ratio: 1122 / 1402; border-radius: var(--r-card); overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.th-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.motion-ok .theatre[open] .th-in { animation: thIn .5s var(--ease) both; }
@keyframes thIn { from { opacity: 0; transform: scale(.94) translateY(10px); } }
html:has(.theatre[open]) { overflow: hidden; }

/* ---------- 13 · ask ---------- */
.ask { background: var(--blush); }
.ask-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
/* ---------- 12 · the videos (NCPEDP, 18 Nov 2026): their own section, large, above Ask. Each video is as wide as its column
   and as tall as the screen allows, so a face, the captions and the signing are all in view. More videos make more rows. ---------- */
.watch { background: var(--night); color: var(--on-brand); }
.watch :focus-visible { outline-color: #fff; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px); margin-top: clamp(32px, 4.4vw, 56px); }
.vid { width: min(100%, calc((100svh - var(--head-h) - 150px) * 1122 / 1402)); min-width: min(100%, 300px); }
.vid-box { position: relative; aspect-ratio: 1122 / 1402; border-radius: var(--r-card); background: #000; overflow: hidden; }
.vid video { display: block; width: 100%; height: 100%; object-fit: contain; }   /* contain: full screen shows the whole picture, never cropped */
.vid-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; }
.vid-play[hidden], .vid.is-playing .vid-play { display: none; }
.vid-play span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 12px; background: #fff; color: var(--text); box-shadow: 0 12px 26px -10px rgba(26, 13, 71, .8); transition: transform .35s var(--ease), background-color .25s; }
.vid-play:hover span { transform: scale(1.08); background: var(--accent); }
.vid-play:focus-visible { outline-offset: -6px; border-radius: var(--r-card); }
.vid figcaption { display: grid; gap: 3px; margin-top: 16px; font-size: 1rem; line-height: 1.4; color: var(--on-brand-muted); }
.vid figcaption b { font-size: 1.15rem; font-weight: 600; color: #fff; }
/* three starter questions under the heading: each fills the question box */
.ask-hint { margin-top: clamp(28px, 3.4vw, 44px); }
.ask-ex { display: grid; gap: 10px; max-width: 30rem; margin-top: 14px; }
.ask-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; padding: 12px 18px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--text); font-weight: 500; text-align: left; line-height: 1.35; transition: border-color .2s, background-color .2s, color .2s; }
.ask-q svg { flex: none; color: var(--accent-ink); transition: transform .3s var(--ease); }
@media (hover: hover) { .ask-q:hover { border-color: var(--brand); } .ask-q:hover svg { transform: translateX(3px); } }
.ask-q[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.ask-q[aria-pressed="true"] svg { color: currentColor; }
.form { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-card); background: var(--bg); }
.form > .fld:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.err { display: block; margin-top: 8px; font-size: .9rem; font-weight: 500; color: var(--accent-ink); }
.err[hidden] { display: none; }
.fld-n { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.form-msg { font-weight: 500; }
.form-msg a { font-weight: 600; }

/* ---------- 13 · the photo booth: a violet band, and three of the pictures the booth makes ---------- */
.pb { background: var(--brand); color: var(--on-brand); }
.pb-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(500px, 44%)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pb .lede { color: var(--on-brand-muted); }
.pb-private { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: .95rem; font-weight: 500; }
.pb-private svg { flex: none; }
.pb .btn { margin-top: 32px; }
.pb :focus-visible { outline-color: #fff; }

/* The pictures. Each sets its own colours, as the booth does: --c card, --f the box outline, --t the tick's square, --h the slogan, --s small words.
   Sizes are in cqw, so the whole group scales as one drawing. */
.pb-show { position: relative; display: block; container-type: inline-size; aspect-ratio: 100 / 92; text-decoration: none; }
.pp { position: absolute; display: flex; flex-direction: column; justify-content: center; background: var(--c); color: var(--s); transition: transform .7s var(--ease); }
.pp b { display: block; font-weight: 700; letter-spacing: -.032em; line-height: 1.08; color: var(--h); }
.pp i { display: block; font-style: normal; }
.pp img { display: block; width: 100%; height: auto; }
.pp-box { position: relative; display: block; flex: none; aspect-ratio: 1; }
.pp-face { position: absolute; inset: 0; overflow: hidden; border: .9cqw solid var(--f); border-radius: 2cqw; background: #EFEAFB; }
.pp-face::before { content: ""; position: absolute; left: 35%; top: 19%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #5A45B0; }   /* a head and shoulders: where the photo goes */
.pp-face::after { content: ""; position: absolute; left: 17%; top: 56%; width: 66%; height: 62%; border-radius: 50% 50% 0 0 / 56% 56% 0 0; background: #5A45B0; }
.pp-tag { position: absolute; left: 6%; top: 0; width: 41%; padding: 3.4%; border-radius: 1.1cqw; background: #fff; box-shadow: 0 0 0 .8cqw var(--c); transform: translateY(-50%); }
.pp-tab { position: absolute; right: -9%; bottom: -9%; width: 27%; aspect-ratio: 1; border-radius: 1.7cqw; background: var(--t); box-shadow: 0 0 0 .9cqw var(--c); }
.pp-tab::after { content: ""; position: absolute; left: 50%; top: 45%; width: 27%; height: 50%; border: solid #fff; border-width: 0 1cqw 1cqw 0; transform: translate(-50%, -50%) rotate(42deg); }
/* Instagram story, pink */
.pp-story { --c: #F0559B; --f: #fff; --t: #2B1D66; --h: #fff; --s: #2A1A63; left: 3.5cqw; top: 5cqw; width: 45cqw; aspect-ratio: 9 / 16; padding: 3cqw 4.5cqw 0; border-radius: 3cqw; }
.pp-story b { margin-top: 6.6cqw; font-size: 3.9cqw; }
.pp-foot { display: flex; justify-content: space-between; margin-top: 3.2cqw; font-size: 1.55cqw; font-weight: 600; line-height: 1.2; }
/* display picture, white */
.pp-dp { --c: #fff; --f: #2A1A63; --t: #F0559B; --h: #2A1A63; --s: #564B82; left: 53.5cqw; top: 0; width: 43cqw; aspect-ratio: 1; align-items: center; border-radius: 50%; text-align: center; }
.pp-dp .pp-box { width: 19.5cqw; }
.pp-dp b { margin-top: 3.9cqw; font-size: 2.55cqw; }
.pp-logo { width: 9.5cqw; margin-top: 1.5cqw; }
/* square, violet */
.pp-sq { --c: #3F2E91; --f: #fff; --t: #F0559B; --h: #fff; --s: #D9CFF3; left: 54.5cqw; top: 49cqw; width: 41cqw; aspect-ratio: 1; padding: 0 3.8cqw; border-radius: 3cqw; }
.pp-sq b { font-size: 3.55cqw; }
.pp-row { display: flex; align-items: flex-start; gap: 3cqw; margin-top: 5.6cqw; }
.pp-sq .pp-box { width: 18.6cqw; }
.pp-side { display: grid; gap: 1.1cqw; padding-top: 1.4cqw; font-size: 1.36cqw; font-weight: 600; line-height: 1.2; }
@media (hover: hover) {   /* reach for the pictures and they move apart a little */
  .pb-show:hover .pp-story { transform: translate(-1.6cqw, .8cqw); }
  .pb-show:hover .pp-dp { transform: translate(1.3cqw, -1.3cqw); }
  .pb-show:hover .pp-sq { transform: translate(1.9cqw, 1.3cqw); }
}

/* ---------- 14 · join: one box is still empty ---------- */
.join { background: var(--pink-soft); }
.join-in { position: relative; }
.join h2 { max-width: none; font-size: clamp(1.7rem, min(8.4vw, 1.2rem + 3.9vw), 4.6rem); }   /* sized so "Our Development" and its box always share a line */
.join h2 > span { display: block; }
.join h2 > span:last-child { white-space: nowrap; }
.lastbox { position: relative; display: inline-block; width: .78em; height: .78em; margin-left: .3em; vertical-align: -.06em; border-radius: .07em; box-shadow: inset 0 0 0 .075em var(--text); transition: background-color .3s var(--ease-q), box-shadow .3s, transform .4s var(--ease); }
@media (hover: hover) { .lastbox:hover { transform: scale(1.06) rotate(-3deg); } }
.lastbox[aria-pressed="true"] { background: #fff; box-shadow: none; }
.lastbox[aria-pressed="true"]::after { content: ""; position: absolute; left: 50%; top: 45%; width: 27%; height: 50%; border: solid var(--accent-ink); border-width: 0 .1em .1em 0; transform: translate(-50%, -50%) rotate(42deg); }
.join .hint { margin-top: 18px; color: var(--text); }
.join .btn-line { border-color: var(--text); }
.join .lede { margin-top: 22px; max-width: 30em; color: var(--text); }
.join .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }   /* the three ways to act, one row; below 760 px one per line */
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; border-radius: 2px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-brand-muted); padding-block: clamp(48px, 6vw, 80px); font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); }
.foot-org img { width: 72px; height: auto; }
.foot-org p { margin-top: 18px; max-width: 30em; color: #fff; }
.foot address { font-style: normal; line-height: 1.75; }
.foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.foot a:hover { text-decoration-color: var(--accent-on-dark); }
.foot-links { display: grid; gap: 8px; align-content: start; }
/* NCPEDP's disclaimer (Joanna, Draft 4 edits): a full-width row under the footer, ruled off */
.foot-disc { grid-column: 1 / -1; display: grid; gap: 6px; max-width: 64em; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; line-height: 1.55; }
.foot-disc b { font-weight: 600; color: #fff; }

/* ---------- accessibility panel ---------- */
.ax-panel { position: fixed; top: calc(var(--head-h) + 12px); right: max(16px, calc((100vw - var(--wrap)) / 2 + var(--pad))); z-index: var(--z-panel); width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - var(--head-h) - 28px); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); box-shadow: 0 30px 70px -20px color-mix(in oklab, var(--night) 45%, transparent); }
.ax-panel[hidden] { display: none; }
.ax-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ax-head h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.ax-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 10px; transition: background-color .2s; }
.ax-close:hover { background: var(--blush); }
.ax-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-bottom: 1px solid var(--line); }
.ax-l { font-weight: 500; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-tint); }
.seg button { min-width: 44px; min-height: 40px; border-radius: 8px; font-weight: 600; transition: background-color .2s, color .2s; }
.seg .a2 { font-size: 1.2rem; }
.seg .a3 { font-size: 1.4rem; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.ax-sw { position: relative; cursor: pointer; }
.ax-sw input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sw { flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: #8A80B0; transition: background-color .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.ax-sw input:checked + .sw { background: var(--brand); }
.ax-sw input:checked + .sw::after { transform: translateX(22px); }
.ax-sw input:focus-visible + .sw { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.ax-reset { margin-top: 16px; width: 100%; }

/* ---------- motion ----------
   Everything above is the finished, still state. Motion only ever plays on top of it, and only when
   html.motion-ok is set (not when the visitor or their device asks for less movement). */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes lineUp { from { transform: translateY(108%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes growY { from { transform: scaleY(0); } }
@keyframes draw { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes cellCount { 0%, 40% { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); } 40% { transform: scale(.9); } 70% { transform: scale(1.1); } }
@keyframes tickIn { from { opacity: 0; transform: translate(-50%, -50%) rotate(42deg) scale(.2); } }
@keyframes ring { from { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent); } to { box-shadow: 0 0 0 16px transparent; } }
@keyframes glyph { 0% { opacity: 0; } 14%, 86% { opacity: 1; } 100% { opacity: 0; } }
@keyframes go { 0% { fill: var(--line-strong); } 55% { transform: scale(.9); } }
@keyframes doorOpen { from { transform: scaleX(1); } }
@keyframes exFill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes stepUp { from { opacity: 0; transform: none; } }
@keyframes cueFall { 0%, 58%, 100% { background-color: transparent; } 18%, 38% { background-color: currentColor; } }
@keyframes cueBob { 50% { transform: translateY(4px); } }
@keyframes exPop { from { opacity: 0; transform: scale(.4); } }
@keyframes exWave { 22% { transform: scale(1.2); } 44% { transform: none; } }
@keyframes exBeat { 50% { transform: scale(1.12); } }
@keyframes exRing { from { opacity: .75; transform: none; } to { opacity: 0; transform: scale(1.9); } }
@keyframes exBreath { 50% { transform: scale(.8); } }
@keyframes exRetick { 12%, 55% { opacity: 0; transform: translate(-50%, -50%) rotate(42deg) scale(.2); } }
@keyframes rip { 45% { transform: scale(.84); } }
@keyframes nudge { from { box-shadow: inset 0 0 0 1.75px var(--brand), 0 0 0 0 color-mix(in oklab, var(--accent) 75%, transparent); } to { box-shadow: inset 0 0 0 1.75px var(--brand), 0 0 0 14px transparent; } }
@keyframes wiggle { 0%, 100% { transform: none; } 30% { transform: translateX(14px); } 65% { transform: translateX(-8px); } }
@keyframes knob { from { box-shadow: 0 6px 14px -4px rgba(26, 13, 71, .5), 0 0 0 0 rgba(255, 255, 255, .85); } to { box-shadow: 0 6px 14px -4px rgba(26, 13, 71, .5), 0 0 0 16px rgba(255, 255, 255, 0); } }
@keyframes nudgeO { 0% { outline: 2.5px solid color-mix(in oklab, var(--accent) 90%, transparent); outline-offset: 0; } 100% { outline: 2.5px solid transparent; outline-offset: 12px; } }
@keyframes axPing { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 80%, transparent); } 55%, 100% { box-shadow: 0 0 0 11px transparent; } }
@keyframes rewardIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes medal { 0% { transform: scale(.3) rotate(-18deg); } 60% { transform: scale(1.12) rotate(4deg); } }

/* opening: unhurried, so there is time to watch the boxes being counted */
.motion-ok .ex-copy h1 .l > span { animation: lineUp 1.3s var(--ease) backwards; }
.motion-ok .ex-copy h1 .l + .l > span { animation-delay: .13s; }
.motion-ok .ex-note { animation: rise 1.2s var(--ease) .35s backwards; }
.motion-ok .ex-lede { animation: rise 1.2s var(--ease) .5s backwards; }
.motion-ok .qa-grid.in li { animation: rise 1s var(--ease) calc(var(--i) * 120ms) backwards; }
.motion-ok .cue-boxes { animation: cueBob 1.9s var(--ease-q) infinite; }
.motion-ok .cue-boxes i { animation: cueFall 1.9s var(--ease-q) infinite; }
.motion-ok .cue-boxes i:nth-child(2) { animation-delay: .22s; }
.motion-ok .cue-boxes i:nth-child(3) { animation-delay: .44s; }
.motion-ok .cue { animation: rise 1s var(--ease) 2.4s backwards; }

.motion-ok [data-anim]:not(.in) :is(.a-draw, .a-pop, .a-grow, .a-fade, .a-go, .door, .lang text) { opacity: 0; }
.motion-ok [data-anim].in .a-draw { stroke-dasharray: 1; animation: draw var(--t, 1s) var(--ease) var(--d, 0s) backwards; }
.motion-ok [data-anim].in .a-pop { transform-box: fill-box; transform-origin: center; animation: pop .7s var(--ease) var(--d, 0s) backwards; }
.motion-ok [data-anim].in .a-grow { transform-box: fill-box; transform-origin: left center; animation: grow .8s var(--ease) var(--d, 0s) backwards; }
.motion-ok [data-anim].in .a-fade { animation: fade .6s var(--ease-q) var(--d, 0s) backwards; }
.motion-ok [data-anim].in .a-go { transform-box: fill-box; transform-origin: center; animation: fade .5s var(--ease-q) 1.3s backwards, go .7s var(--ease) var(--d, 0s) backwards; }
.motion-ok [data-anim].in .door { animation: fade .4s var(--ease-q) 1s backwards, doorOpen .9s var(--ease) var(--d, 0s) backwards; }
.motion-ok [data-anim].in .lang text { animation: glyph .46s linear calc(.9s + var(--i) * .46s) both; }
.motion-ok [data-anim].in .lang text:last-child { animation: fade .3s linear 3.2s backwards; }

.motion-ok .gantt:not(.in) .g-track i { transform: scaleX(0); }
.motion-ok .gantt.in .g-track i { animation: grow 1.2s var(--ease) calc(var(--k) * 180ms + 100ms) backwards; }

.motion-ok .map:not(.in) .tile { opacity: 0; }
.motion-ok .map.in .tile { animation: pop .7s var(--ease) calc(var(--k) * 42ms) backwards; }
.motion-ok .map.in .tile.g-early { animation: pop .7s var(--ease) calc(var(--k) * 42ms) backwards, ring 1.3s var(--ease-q) calc(var(--k) * 42ms + 900ms) 2; }

.motion-ok .ex-bars i.on::after { animation: exFill var(--ex-t, 7s) linear forwards; }
.motion-ok .ex:is(.is-paused, .is-away) .ex-bars i.on::after { animation-play-state: paused; }
/* the opening plays like a film: no slide ever stands still. Each box carries --n (reading order), --d (its diagonal),
   --r (its row once stacked) and --b (its turn among the twenty-one). */
/* 1 · what the Census is: the sheet arrives (first showing only), every box ticks itself, one after another, then a wave runs through */
.motion-ok .ex:not(.looped)[data-f="1"] .ex-stage i { animation: exPop .6s var(--ease) calc(var(--n) * 10ms) backwards, exWave 2.2s var(--ease-q) calc(var(--d) * 80ms + 2.6s) infinite; }
.motion-ok .ex.looped[data-f="1"] .ex-stage i { animation: exWave 2.2s var(--ease-q) calc(var(--d) * 80ms + 1.5s) infinite; }
.motion-ok .ex:not(.looped)[data-f="1"] .ex-stage i::after { animation: tickIn .4s var(--ease) calc(var(--n) * 11ms + 1100ms) backwards; }
.motion-ok .ex.looped[data-f="1"] .ex-stage i::after { animation: tickIn .4s var(--ease) calc(var(--n) * 11ms + 150ms) backwards; }
/* 2 · why it matters: the boxes fly into four stacks, one for each service, and a ripple climbs each */
.motion-ok .ex[data-f="2"] .ex-stage i { animation: exWave 2s var(--ease-q) calc(var(--r, 0) * 120ms + 1.3s) infinite; }
/* 3 · Missing Millions: a band of empty boxes crosses the sheet and is ticked again, then a wave */
.motion-ok .ex[data-f="3"] .ex-stage i { animation: exWave 2.2s var(--ease-q) calc(var(--d) * 80ms + 2.4s) infinite; }
.motion-ok .ex[data-f="3"] .ex-stage i::after { animation: exRetick 1.6s var(--ease-q) calc(var(--d) * 70ms + 250ms) backwards; }
/* 4 · 7 to 21: the lit boxes keep beating while the rest breathe */
.motion-ok .ex[data-f="4"] .ex-stage i { animation: exBreath 2.8s ease-in-out calc(var(--d) * 110ms + .5s) infinite; }
.motion-ok .ex[data-f="4"] .ex-stage i.b { animation: exBeat 1.6s ease-in-out calc(var(--b, 0) * 110ms + .8s) infinite; }
.motion-ok .ex[data-f="4"] .ex-stage i.b::before { animation: exRing 2s var(--ease-q) calc(var(--b, 0) * 110ms + .7s) infinite; }
/* off screen the film waits where it is; paused, it settles into the finished picture of that slide */
.motion-ok .ex.is-away .ex-stage i, .motion-ok .ex.is-away .ex-stage i::before, .motion-ok .ex.is-away .ex-stage i::after { animation-play-state: paused; }
.motion-ok .ex.is-paused .ex-stage i, .motion-ok .ex.is-paused .ex-stage i::before, .motion-ok .ex.is-paused .ex-stage i::after { animation: none; }

.motion-ok .trio:not(.in) :is(.tc, .t21 li, .t9 li) { opacity: 0; }
.motion-ok .trio.in .tc { animation: rise 1s var(--ease) calc(var(--i) * 340ms) backwards; }
.motion-ok .trio.in .t21 li { animation: pop .6s var(--ease) calc(var(--k) * 45ms + 800ms) backwards; }
.motion-ok .trio.in .t9 li { animation: rise .6s var(--ease) calc(var(--k) * 80ms + 1200ms) backwards; }

.motion-ok .q13:not(.in) .q13-opts .pick { opacity: 0; }
.motion-ok .q13.in .q13-opts .pick { animation: rise .7s var(--ease) calc(var(--k) * 55ms + 150ms) backwards; }

.motion-ok .path:not(.in) :is(.node, .opts li) { opacity: 0; }
.motion-ok .path:not(.in) > li::before { transform: scaleX(0); }
.motion-ok .path.in .node { animation: pop .7s var(--ease) calc(var(--i) * 460ms) backwards; }
.motion-ok .path.in > li::before { animation: grow .9s var(--ease) calc(var(--i) * 460ms + 200ms) backwards; }
.motion-ok .brl i.on { animation: pop .45s var(--ease) calc(var(--k) * 45ms) backwards; }
.motion-ok .path.in .opts li { animation: rise .6s var(--ease) calc(var(--k, 0) * 120ms + 1200ms) backwards; }

.motion-ok .vb.yes { animation: bump .6s var(--ease); }
.motion-ok .vb.yes::after { animation: tickIn .5s var(--ease) .1s backwards; }
.motion-ok .pick input:checked + .bx { animation: bump .45s var(--ease); }
.motion-ok .pick input:checked + .bx.cheer { animation: medal .7s var(--ease); }
.motion-ok .pick.is-next input:not(:checked) + .bx, .motion-ok .quiz li.is-next .qz-b .bx { animation: nudge 1.5s var(--ease-q) 3; }
.motion-ok .qz-b.is-right .bx { animation: bump .45s var(--ease); }
.motion-ok .qz-a { animation: rise .6s var(--ease) backwards; }
.motion-ok .vid-play.nudge { animation: none; }
.motion-ok .vid-play.nudge span { animation: nudgeO 1.7s var(--ease-q) 4; }
.motion-ok .nudge { animation: nudgeO 1.7s var(--ease-q) 4; }
.motion-ok .ax-open:not(.is-known) { animation: axPing 3.2s var(--ease-q) 1.5s infinite; }
.motion-ok .ax-coach { animation: rise .6s var(--ease) backwards; }
.motion-ok .lastbox[aria-pressed="true"] { animation: medal .8s var(--ease); }
.motion-ok .pb-show:not(.in) .pp { opacity: 0; }
.motion-ok .pb-show.in .pp { animation: rise .9s var(--ease) calc(var(--i) * 170ms) backwards; }
.motion-ok .pb-show.in .pp-tab { animation: pop .6s var(--ease) calc(var(--i) * 170ms + 750ms) backwards; }
.motion-ok .pb-show.in .pp-tab::after { animation: tickIn .45s var(--ease) calc(var(--i) * 170ms + 950ms) backwards; }
.motion-ok .chk-prog i.on { animation: bump .5s var(--ease); }
.motion-ok .chk-reward { animation: rewardIn .8s var(--ease) backwards; }
.motion-ok .chk-reward .chk-medal { animation: medal .9s var(--ease) .15s backwards; }
.motion-ok .gantt.is-fresh .g-line { animation: wiggle 1.3s var(--ease-q) 2.4s 2; }
.motion-ok .gantt.is-fresh .g-line i { animation: knob 1.6s var(--ease-q) 2.4s 5; }
.motion-ok .gantt.is-fresh .g-hint { animation: rise .7s var(--ease) 2.2s backwards; }

/* the opening sheet of boxes no longer drifts on scroll: the pink film sits directly under it, and a drifting sheet left a white band between the two */

/* ---------- fluid layout: the page reflows at the width its content needs, not at device names ---------- */
@media (max-width: 1159px) {   /* six links need this much room; below it the header keeps the logos, Accessibility and Donate */
  .nav { display: none; }
  .tools { margin-left: auto; }
}
@media (max-width: 899px) {
  .st-sum { grid-template-columns: minmax(0, 1fr); }   /* the key stacks when its column is narrow */
  .st-sum li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .ex-in { grid-template-columns: minmax(0, 1fr); }   /* below 900 px the words come first and the boxes follow, as on a phone */
  .ex-art { order: 2; width: min(400px, 100%, 34svh); justify-self: center; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .quiz { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .quiz li { grid-row: auto; grid-template-rows: none; padding-bottom: 22px; }
  .quiz li:last-child { padding-bottom: 0; }
  .q-res .srcs { grid-template-columns: minmax(0, 1fr); }
  .tc + .tc { border-left: 0; border-top: 1.5px solid var(--text); padding-top: calc(clamp(20px, 2.6vw, 36px) + 26px); }
  .tc:not(:last-child) { padding-bottom: calc(clamp(20px, 2.6vw, 36px) + 26px); }
  .tc:not(:last-child)::after { top: auto; right: auto; bottom: -22px; left: clamp(20px, 2.6vw, 36px); transform: rotate(90deg); }
  .foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }   /* links run on in rows; none of them breaks over two lines */
  .foot-links a { white-space: nowrap; }
}
@media (max-width: 759px) {
  .state-in, .q-in, .q-head, .ex-in, .self-head, .visit-in, .ask-in, .pb-in { grid-template-columns: minmax(0, 1fr); }
  .pb-show { width: min(100%, 440px); margin-top: 38px; }
  .join .cta { gap: 12px; margin-top: 28px; }
  .join .cta .btn { flex: 1 1 100%; }   /* one button per line, full width: never two and one */
  .ex { padding-bottom: 72px; }
  .cue { grid-auto-flow: column; align-items: center; gap: 10px; bottom: 10px; padding: 4px 12px; }
  .state-copy { display: contents; }
  .state-in { gap: 0; }
  .q-in { gap: 28px; }
  .q-wait { display: none; }
  /* on a phone the types run down one column, and what the ticked types cover opens right under them, inside the form */
  .q13-opts { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
  .q13 .q-stack { gap: 10px; margin: 14px 0 2px; }
  .q13 .q-stack .q-exp, .q13 .q-multi { padding: 16px 18px 18px; }
  .state-in > .map-wrap { order: 4; justify-self: center; margin-top: 28px; }
  .state-copy > .st-res { order: 6; }
  .ex-art { order: 2; width: min(300px, 100%, 30svh); justify-self: center; gap: 10px; }   /* on a phone the words come first, the boxes under them */
  .ex-in { gap: 26px; }
  .g-out { grid-template-columns: minmax(0, 1fr); }
  .tl, .path { grid-template-columns: minmax(0, 1fr); }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sc-tag { margin: 0 8px 8px; padding: 7px 10px; font-size: .82rem; }
  .replay { display: none; }   /* the pictures are small here and the button would sit on them; tapping a picture still plays it again */
  .path > li { padding-left: 84px; min-height: 60px; padding-bottom: 8px; }
  .path .node { position: absolute; left: 0; top: 0; min-width: 60px; padding: 0 6px; font-size: 1.1rem; }
  .path h3 { margin-top: 0; padding-top: 4px; }
  .path > li:not(:last-child)::before { top: 60px; bottom: calc(var(--gap) * -1); left: 29px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .motion-ok .path:not(.in) > li::before { transform: scaleY(0); }
  .motion-ok .path.in > li::before { animation-name: growY; }
  .vrow { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 420px; }
}
@media (max-width: 1099px) {
  .se-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) and (min-width: 760px) {
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .quick-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick li:nth-child(odd) { border-left: 0; }
  .quick li:nth-child(odd) a { padding-left: 0; }
  .quick li:nth-child(n+3) { border-top: 1.5px solid var(--line); }
}
@media (max-width: 859px) {
  /* each notification becomes its own block, every value beside its label */
  .ntf thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ntf, .ntf tbody { display: block; }
  .ntf tr { display: grid; gap: 8px; padding-block: 20px; border-bottom: 1px solid var(--line); }
  .ntf td { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 14px; padding: 0; border: 0; white-space: normal; }
  .ntf td:first-child { white-space: normal; }
  .ntf td::before { content: attr(data-label); font-size: .875rem; font-weight: 400; color: var(--muted); }
}
@media (max-width: 599px) {
  .quick-in { grid-template-columns: minmax(0, 1fr); }
  .quick li, .quick li + li { border-left: 0; }
  .quick li + li { border-top: 1.5px solid var(--line); }
  .quick a, .quick li:first-child a { padding: 20px 0 22px; }
  .ntf td { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .se-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  :root { --head-h: 64px; --draft-h: 60px; }
  .brand { gap: 12px; }
  .brand img { height: 36px; }
  .ax-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ax-open { width: 44px; padding: 0; justify-content: center; }
  .ex-note, .ex-lede { font-size: 1rem; }
  .qa-grid li { column-gap: 14px; }
  .qa-grid li::before { width: 26px; height: 26px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .t21 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-dl div, .fd-dl div, .when div, .g-out dl div { grid-template-columns: minmax(0, 1fr); }
  .g-dates { flex-direction: column; }
  .g-hint { width: 8.6em; white-space: normal; line-height: 1.2; }
  .g-lane small { display: block; white-space: normal; }
  .g-lane small::before { content: none; }
  .g-track { height: 30px; }
}

/* ---------- accessibility settings ---------- */
html.ax-font body { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; }
html.ax-font :is(h1, h2, h3, .big, .say, .story-lead, .g-date) { letter-spacing: -.01em; }
html.ax-font .sc text { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; }
html.ax-space :is(p, li, label, dd, dt, figcaption) { line-height: 1.95 !important; letter-spacing: .03em !important; word-spacing: .12em !important; }
html.ax-links a:not(.btn) { text-decoration: underline !important; }
html.ax-motion *, html.ax-motion *::before, html.ax-motion *::after { transition: none !important; }

html.ax-contrast { --pink-soft: #000; --lav: #000; --brand: #fff; --brand-deep: #000; --night: #000; --accent: #FFE500; --accent-ink: #FFE500; --accent-on-dark: #FFE500; --blush: #000; --bg: #000; --bg-tint: #000; --text: #fff; --muted: #fff; --line: #fff; --line-strong: #fff; --on-brand: #000; --on-brand-muted: #fff; --on-accent: #000; }
html.ax-contrast :is(.story, .seen, .else, .watch, .pb, .join, .foot, .draft, .ex, .gantt, .sc-box) { background: #000; color: #fff; --on-brand: #fff; --on-accent: #fff; }
html.ax-contrast :is(.qa, .else, .now, .state, .ex, .story, .q, .beyond, .self, .seen, .visit, .watch, .ask, .pb, .join, .foot) { border-top: 1px solid #fff; }
html.ax-contrast :is(.st-card, .q-exp, .q-multi, .qz-a, .self-note, .q13-count, .form, .gantt, .sc-box, .live, .seg) { border: 1px solid #fff; }
html.ax-contrast .sc-tag { background: #000; color: #fff; border: 1px solid #fff; }
html.ax-contrast .vid-play span { background: #FFE500; color: #000; }
html.ax-contrast .theatre::backdrop { background: #000; }
html.ax-contrast .ask-q { border-color: #fff; }
html.ax-contrast .q-wait { border: 1px solid #fff; }
html.ax-contrast .qz-b.is-wrong .bx { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1.75px #fff; }
html.ax-contrast .se-last .num::after, html.ax-contrast .qz-b.is-right .bx::after { border-color: #000; }
html.ax-contrast .brand-mm img { border-radius: 4px; }
html.ax-contrast .brand-org img { filter: invert(1); }
html.ax-contrast .foot a { color: #fff; }
html.ax-contrast .btn-accent { background: #FFE500; color: #000; box-shadow: none; }
html.ax-contrast :is(.tile.g-wait, .k-wait) { background: #000; box-shadow: none; border: 2px dashed #fff; }
html.ax-contrast .tile.g-done { background: #000; }
html.ax-contrast .chk-reward { background: #FFE500; color: #000; }
html.ax-contrast .chk-medal { background: #000; }
html.ax-contrast .rail a { background: #000; box-shadow: 0 0 0 1.5px #fff; }
html.ax-contrast .rail a.done { background: #FFE500; }
html.ax-contrast .rail a::before { border-color: #000; }
html.ax-contrast .btn-solid { background: #fff; color: #000; }
html.ax-contrast .ax-coach { background: #FFE500; color: #000; }
html.ax-contrast .lastbox[aria-pressed="true"] { background: #FFE500; }
html.ax-contrast .lastbox { box-shadow: inset 0 0 0 .075em #fff; }
html.ax-contrast .vb.yes { background: #FFE500; }
html.ax-contrast .vb.yes::after { border-color: #000; }
html.ax-contrast .step-go { background-color: #fff; box-shadow: 0 0 0 5px #000; }
html.ax-contrast :is(.g-track i, .g-dates i) { background: #FFE500; }
html.ax-contrast :is(.g-track .pe, .g-dates .pe) { background: #fff; }
html.ax-contrast :is(.g-track .rr, .g-dates .rr) { background: repeating-linear-gradient(135deg, #fff 0 3px, #000 3px 6px); }
html.ax-contrast :is(.g-lane h3, .g-dates) { background: #000; }
html.ax-contrast .g-line b { background: #FFE500; color: #000; }
html.ax-contrast .g-line i { background: #000; border-color: #fff; }
html.ax-contrast .ex-stage i { background: #fff; }
html.ax-contrast .ex-stage i::after { border-color: #000; }
html.ax-contrast :is(.ex[data-f="4"] .ex-stage i.b, .ex[data-f="2"] .ex-stage i.b) { background: #FFE500; }
html.ax-contrast :is(.quick b, .acc summary)::after { background-color: #fff; }
html.ax-contrast .ntf th { border-bottom-color: #fff; }
html.ax-contrast :is(.sc .wh, .sc .card, .sc .win, .sc .chip) { fill: #000; }
html.ax-contrast .sc .card { stroke: #fff; }
html.ax-contrast :is(.sc .tk, .sc .tkw, .sc .badge path) { stroke: #000; }
html.ax-contrast .sc .badge rect { fill: #FFE500; }
html.ax-contrast .sc .sms text { fill: #000; }
html.ax-contrast .node, html.ax-contrast .q13-n { color: #000; }
html.ax-contrast select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html.ax-contrast .sw { background: #000; box-shadow: inset 0 0 0 2px #fff; }
html.ax-contrast .sw::after { background: #fff; }
html.ax-contrast .ax-sw input:checked + .sw { background: #FFE500; box-shadow: none; }
html.ax-contrast .ax-sw input:checked + .sw::after { background: #000; }
html.ax-contrast .seg button[aria-pressed="true"] { background: #FFE500; color: #000; }
