/* Report shell: <m-cover>, overview page, <m-journey>, bridge, conclusion. */

/* ---- <m-cover>: scroll-scrubbed film opening -------------------------------
 * --s film progress, --t title, --c curtain (set by m-cover.js). The stage is
 * full-bleed on the --film surface, dark in both themes. The section after
 * <m-cover> overlaps the last screen of it (margin-bottom: -100svh) and slides
 * up over the stuck stage. Static (reduced motion): one screen, last frame. */
m-cover { display: block; }
/* before m-cover.js runs: hold the first screen in the stage colour, so the
   report text below does not flash first                                  */
m-cover:not(:defined) > * { display: none; }
m-cover:not(:defined) { height: 100svh; width: var(--page-w, 100vw); margin-left: calc(50% - var(--page-w, 100vw) / 2); margin-top: calc(-1 * (var(--nav-h) + var(--frame, 40px))); background: var(--film); }
m-cover:has(> .cover.armed) { margin-bottom: -100svh; }
.cover { --s: 1; --t: 1; --c: 0; position: relative; margin-top: calc(-1 * (var(--nav-h) + var(--frame, 40px))); }
.cover.armed { --s: 0; --t: 0; height: 450svh; }
.cover-stage {
  position: relative; height: 100svh; overflow: hidden; container: cover-stage / size;
  width: var(--page-w, 100vw); margin-left: calc(50% - var(--page-w, 100vw) / 2); background: var(--film);
}
.cover.armed .cover-stage { position: sticky; top: 0; }
.cover.covered .cover-stage { visibility: hidden; } /* under the curtain */
.cover-film {
  position: absolute; inset: 0;
  opacity: calc(1 - var(--c) * .55);
  transform:
    translateY(calc(var(--c) * -30svh))
    scale(calc(1.08 - var(--s) * .08 + var(--c) * .06)); /* never below 1: a full-frame film must not show its edges */
}
.cover.armed .cover-film { will-change: transform, opacity; }
/* fit="cover" (default): the film fills the stage; focus="x y" is the point
   kept in view when the screen crops it (object-position).
   fit="float": for a film on a black ground. In portrait it floats at
   175% width with soft top and bottom edges, so the subject stays whole. */
.film {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--film-focus, 50% 50%);
}
@media (orientation: portrait) {
  .cover[data-fit="float"] .film {
    inset: 50% auto auto 50%; width: 175cqw; height: auto; aspect-ratio: 16 / 9;
    translate: calc(-1 * var(--film-focus-x, 54%)) -60%;
    mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  }
}
.cover-scrim {
  position: absolute; inset: auto 0 0; height: 60%; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .62) 40%, transparent);
  opacity: var(--t);
}
.title-block {
  position: absolute; left: 0; right: 0; bottom: 13svh; text-align: center;
  opacity: calc(var(--t) - var(--c) * 2.2);
  translate: 0 calc((1 - var(--t)) * 96px - var(--c) * 36svh);
}
.cover-kicker { font-family: var(--font-display); font-size: clamp(14px, 1.5vw, 17px); font-style: italic; color: var(--film-glow); margin: 0 0 6px; }
.cover-title { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 52px); font-weight: 500; line-height: 1.1; color: var(--film-ink); margin: 0; }
.cover-title-line { display: block; }
.cover-mark { display: flex; align-items: center; justify-content: center; gap: 9px; width: max-content; margin: 16px auto 0; }
.cover-mark .mark { width: 24px; height: 24px; }
.cover-mark .word { display: block; height: 22px; aspect-ratio: 281 / 76; background: var(--wordmark) center / contain no-repeat; }
@media (width <= 600px) { .title-block { bottom: 16svh; } }

/* fit="embryo": keep the title in HTML, outside the film's silhouette.
   The camera makes space for it at the end: side by side on desktop,
   title above the subject on mobile. The still uses the same hierarchy. */
.cover.armed[data-fit="embryo"], .cover.armed[data-fit="embryo-still"] { height: 900svh; }
.cover[data-fit="embryo"] .cover-film { transform: translateY(calc(var(--c) * -30svh)); }
.cover[data-fit^="embryo"] .title-block {
  left: 7vw; right: auto; top: 50%; bottom: auto; width: 46vw; text-align: left;
  transform: translateY(-50%); translate: 0 calc((1 - var(--t)) * 32px - var(--c) * 36svh);
  z-index: 2;
}
.cover[data-fit^="embryo"] .cover-kicker { font-size: clamp(16px, 1.45vw, 22px); margin-bottom: 28px; }
.cover[data-fit^="embryo"] .cover-title { font-size: clamp(62px, 8.6vw, 144px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.cover[data-fit^="embryo"] .cover-title-line + .cover-title-line { font-size: .42em; font-style: italic; letter-spacing: -.025em; line-height: 1.2; margin-top: 14px; }
.cover[data-fit^="embryo"] .cover-mark { justify-content: flex-start; margin: 40px 0 0; opacity: .72; }
.cover[data-fit^="embryo"] .cover-mark :is(.mark, .word) { filter: brightness(0) invert(1); }
.cover[data-fit^="embryo"] .cover-scrim {
  inset: 0; height: auto;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18) 42%, transparent 62%);
}
/* Image fallback: composition remains readable without WebGL or motion. */
.cover[data-fit^="embryo"] .cover-film:has(> img) { left: 31%; width: 90%; }
.cover[data-fit^="embryo"] img.film {
  top: 50%; bottom: auto; height: auto; aspect-ratio: 16 / 9; translate: 0 -50%;
  object-fit: contain; mask-image: radial-gradient(ellipse at center, #000 42%, transparent 72%);
}
@media (width <= 760px) {
  .cover[data-fit^="embryo"] .title-block { left: 6vw; top: 9svh; width: 88vw; text-align: center; transform: none; }
  .cover[data-fit^="embryo"] .cover-kicker { font-size: 16px; margin-bottom: 18px; }
  .cover[data-fit^="embryo"] .cover-title { font-size: clamp(56px, 15vw, 102px); }
  .cover[data-fit^="embryo"] .cover-title-line + .cover-title-line { font-size: .45em; margin-top: 8px; }
  .cover[data-fit^="embryo"] .cover-mark { justify-content: center; margin: 22px auto 0; }
  .cover[data-fit^="embryo"] .cover-mark .mark { width: 18px; height: 18px; }
  .cover[data-fit^="embryo"] .cover-mark .word { height: 18px; }
  .cover[data-fit^="embryo"] .cover-scrim { background: linear-gradient(to bottom, rgba(0, 0, 0, .72), rgba(0, 0, 0, .12) 36%, transparent 52%); }
  .cover[data-fit^="embryo"] .cover-film:has(> img) { inset: 28% -50% 0; width: 200%; }
}
@media (width <= 760px) and (height <= 620px) {
  .cover[data-fit^="embryo"] .title-block { top: 5svh; }
  .cover[data-fit^="embryo"] .cover-kicker { margin-bottom: 10px; }
  .cover[data-fit^="embryo"] .cover-title { font-size: clamp(48px, 12vw, 76px); }
  .cover[data-fit^="embryo"] .cover-mark { margin-top: 12px; }
}

/* the notes beside the embryo film: a specimen label in the lower left (see
   m-cover.js). Numbers and labels in mono, the note in the display face, all
   in the film's ink. --n fades it before the title; .on fades it in after the
   light has risen. It is aria-hidden: screen readers get the list instead. */
.cover-hud {
  --hud-dim: color-mix(in srgb, var(--film-ink) 58%, transparent);
  --hud-faint: color-mix(in srgb, var(--film-ink) 30%, transparent);
  position: absolute; left: max(24px, 5vw); bottom: 10svh; width: 340px;
  color: var(--film-ink); opacity: var(--n, 1); pointer-events: none;
}
.hud-in { opacity: 0; translate: 0 10px; transition: opacity 1.2s ease, translate 1.2s ease; }
.cover-hud.on .hud-in { opacity: 1; translate: 0 0; }
.hud-figs { display: flex; gap: 44px; align-items: flex-start; }
.hud-label { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hud-dim); }
.hud-val { display: block; font-family: var(--font-mono); font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hud-unit { margin-left: 6px; font-size: 14px; letter-spacing: .04em; color: var(--hud-dim); }
.hud-scale { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--hud-dim); }
.hud-scale i { display: block; height: 5px; border: 1px solid var(--hud-dim); border-top: 0; }
.hud-note { display: grid; min-height: calc(3 * 1.32em); margin-top: 24px; font-family: var(--font-display); font-size: 20px; line-height: 1.32; text-wrap: pretty; }
.hud-note p { grid-area: 1 / 1; margin: 0; transition: opacity .5s ease, translate .5s ease; }
.hud-note p.enter { opacity: 0; translate: 0 8px; }
.hud-note p.out { opacity: 0; translate: 0 -8px; }
.cover-scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: max(20px, 4svh);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  translate: -50% 0; opacity: var(--scroll-hint, 1); pointer-events: none;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; white-space: nowrap;
  color: color-mix(in srgb, var(--film-ink) 75%, transparent);
}
.cover-scroll-cue svg { animation: cover-scroll-nudge 2.2s ease-in-out infinite; }
@keyframes cover-scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .cover-scroll-cue svg { animation: none; } }
@media (width <= 600px) {   /* numbers above the subject, a short note below */
  .cover-hud { inset: 0; width: auto; }
  .hud-in { display: flex; flex-direction: column; height: 100%; padding: max(20px, 4svh) 20px max(96px, 12svh); box-sizing: border-box; }
  .hud-figs { gap: 32px; margin-bottom: auto; }
  .hud-val { font-size: 30px; }
  .hud-note { position: relative; margin-top: 18px; font-size: 17px; }
  .hud-note::before {
    content: ""; position: absolute; z-index: -1; inset: -50px -20px -5svh;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .78) 48%);
  }
}

/* the curtain: the next section, opaque and full-bleed, above the stage. The
   film rises at under a third of its speed and zooms in a little, so its
   lower edge stays behind the curtain; the title rises a little faster and
   fades. Once it covers the stage, .covered hides the stage, so a short
   section never shows the stage again below it.                           */
m-cover:has(> .cover.armed) + * { position: relative; z-index: 1; }
m-cover:has(> .cover.armed) + *::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - var(--page-w, 100vw) / 2);
  background: var(--bg); border-radius: 28px 28px 0 0; border-top: 1px solid var(--hairline);
  box-shadow: 0 -24px 40px -16px rgba(0, 0, 0, .35);
}

/* ---- overview page (claim, what the report covers, source; the cue sits outside) -- */
.overview { width: 100%; max-width: 940px; margin: 0 auto; padding: var(--chapter-top) 0 var(--chapter-end); color: var(--ink); }
.overview .poster { text-align: center; margin: 8px auto 0; }
.overview .big { font-family: var(--font-display); font-size: clamp(36px, 6vw, 52px); font-weight: 500; line-height: 1.05; text-wrap: balance; margin: 0 auto 16px; }
.overview .support { font-family: var(--font-sans); font-size: 19px; line-height: 1.4; text-align: center; max-width: 42ch; margin: 0 auto; text-wrap: balance; }
/* one chapter object per question, each a link to its chapter. No rules: the columns are set apart by space, and the
   one under the pointer (or keyboard focus) is marked with a soft fill and a thin bar in its chapter's colour
   (data-cat-slot on the li sets --cat-primary). */
.ov-index { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ov-index a {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; height: 100%; box-sizing: border-box;
  padding: 22px 10px 20px; text-align: center; color: inherit; text-decoration: none; outline: none;
  transition: background-color .25s var(--rv-ease);
}
.ov-index a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--cat-primary); transform: scaleX(0); transition: transform .3s var(--rv-ease); }
.ov-index a:hover, .ov-index a:focus-visible { background: color-mix(in srgb, var(--cat-primary) 8%, transparent); }
.ov-index a:hover::before, .ov-index a:focus-visible::before { transform: scaleX(1); }
.ov-index img { width: 68px; height: auto; margin-bottom: 8px; transition: transform .3s var(--rv-ease); }
.ov-index a:hover img, .ov-index a:focus-visible img { transform: translateY(-4px) rotate(-4deg); }
.ov-index .q { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transition: color .25s; }
.ov-index a:hover .q, .ov-index a:focus-visible .q { color: var(--cat-primary); }
.ov-index .c { font-family: var(--font-display); font-size: 16px; line-height: 1.25; color: var(--muted); }
.ov-source { margin: 22px auto 0; max-width: 48ch; text-align: center; font-family: var(--font-mono); font-size: 12px; line-height: 1.55; color: var(--muted); }
/* the scroll cue, outside the card */
.ov-cue { display: grid; justify-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ov-mouse { position: relative; width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; opacity: .8; }
.ov-mouse i { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: op-wheel 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ov-mouse i { animation: none; } }
/* phones: the five questions become rows, the object at the left */
@media (width <= 600px) {
  .ov-index { grid-template-columns: minmax(0, 1fr); margin-top: 24px; gap: 2px; }
  .ov-index a { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; align-items: center; column-gap: 14px; row-gap: 2px; padding: 10px 6px; text-align: left; }
  .ov-index a::before { top: 0; bottom: 0; right: auto; width: 2px; height: auto; transform: scaleY(0); }
  .ov-index a:hover::before, .ov-index a:focus-visible::before { transform: scaleY(1); }
  .ov-index img { grid-row: span 2; width: 56px; margin: 0; }
  .ov-index .c { font-size: 17px; }
}

/* ---- <m-journey>: taped cards on a horizontal rail -------------------------- */
.rail-wrap {
  --rail-gutter: max(var(--fig-gutter), calc((var(--page-w, 100vw) - var(--media-max)) / 2));
  --fade-w: clamp(40px, 9vw, 160px);
  position: relative; left: 50%; transform: translateX(-50%);
  width: var(--page-w, 100vw); margin-top: var(--block-gap);
}
@media (width >= 1200px) { .rail-wrap { --rail-gutter: 64px; } }
.rail-hud { display: flex; flex-direction: column; gap: 14px; padding: 0 var(--rail-gutter) 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hud-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.counter b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.stages { display: flex; gap: 6px; }
.stages .seg {
  flex: var(--n) 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 8px; padding: 0;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left;
  background: none; border: 0; cursor: pointer;
  width: auto; height: auto; overflow: visible; border-radius: 0;
}
.seg-label { display: flex; align-items: baseline; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color .2s; }
.seg-label em { font-style: normal; opacity: .7; font-variant-numeric: tabular-nums; }
.stages .seg:hover .seg-label, .stages .seg.active .seg-label { color: var(--ink); }
.stages .seg.active .seg-label { font-weight: 600; }
.seg-track { display: block; height: 3px; overflow: hidden; border-radius: 2px; background: var(--chart-line); }
.seg-track i { display: block; height: 100%; background: var(--accent2); transform-origin: 0; transform: scaleX(0); transition: transform .12s linear; }
.arrows { display: flex; gap: 6px; }
.arrows button { display: grid; place-items: center; width: 30px; height: 30px; font-size: 13px; color: var(--ink); background: none; border: 1px solid var(--chart-border); border-radius: 6px; cursor: pointer; transition: background .15s, opacity .15s; }
.arrows button:hover:not(:disabled) { background: rgba(var(--surface-rgb), .16); }
.arrows button:disabled { opacity: .3; cursor: default; }
.rail {
  --fade-l: 0px; --fade-r: 0px;
  display: flex; align-items: flex-start; gap: 28px;
  padding: 22px calc(var(--rail-gutter) + 40px) 36px var(--rail-gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  scroll-padding-inline-start: var(--rail-gutter);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
.rail::-webkit-scrollbar { display: none; }
.rail.fade-l { --fade-l: 40px; }
.rail.fade-r { --fade-r: var(--fade-w); }
.phase-group { flex: none; display: flex; align-items: flex-start; gap: 28px; scroll-snap-align: start; }
.phase-group + .phase-group { padding-left: 56px; }
.stage-card { flex: none; align-self: center; display: flex; flex-direction: column; gap: 10px; width: 132px; color: var(--accent2); }
.stage-name { font-family: var(--font-display); font-size: 34px; font-style: italic; font-weight: 400; line-height: 1; color: var(--ink); margin: 0; }
.stage-count { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jcard {
  position: relative; flex: none; display: flex; flex-direction: column;
  width: 236px; padding: 12px 12px 18px;
  background: rgba(var(--surface-rgb), .3);
  border: 1px solid var(--chart-line); border-radius: 3px;
  box-shadow: 0 14px 30px -14px rgba(var(--ink-rgb), .35);
  transform: rotate(var(--tilt));
  scroll-snap-align: start; cursor: pointer;
  transition: transform .26s cubic-bezier(.2, .7, .2, 1), box-shadow .26s, border-color .2s;
}
.phase-group .jcard:nth-of-type(2n) { margin-top: 16px; }
.jcard:hover { outline: 1.5px solid var(--accent2); outline-offset: 4px; box-shadow: 0 22px 40px -16px rgba(var(--ink-rgb), .5); transform: rotate(0) translateY(-6px); }
[data-theme="dark"] .jcard { background: #170a18; border-color: rgba(var(--ink-rgb), .1); box-shadow: 0 14px 30px -14px #000c; }
.jcard .tape { position: absolute; top: -9px; left: 50%; width: 64px; height: 18px; margin-left: -32px; background: rgba(var(--ink-rgb), .14); transform: rotate(var(--tape)); pointer-events: none; }
.plate {
  aspect-ratio: 263 / 200;
  border: 1px solid rgba(var(--ink-rgb), .16); border-radius: 4px;
  background-image: var(--art, none), linear-gradient(135deg, rgba(var(--accent2-rgb), .1), rgba(var(--ink-rgb), .04));
  background-position: center; background-repeat: no-repeat; background-size: cover, auto;
}
.jcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; }
.jcard h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0; }
.jcard-n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.jcard blockquote { font-family: var(--font-display); font-size: 14.5px; font-style: italic; line-height: 1.5; color: rgba(var(--ink-rgb), .76); margin: 8px 0 0; }
@media (width <= 600px) {
  .rail-wrap { --rail-gutter: 16px; }
  .jcard { width: 224px; }
  .stage-card { width: 112px; }
  .stage-name { font-size: 28px; }
  .stages .seg { flex: 1 1 0; }
  .seg-label em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .seg-track i, .rail { transition: none; } }
/* Without JS the moments stay a readable list. */
m-journey:not(:defined) article { margin: 0 0 16px; }

/* ---- bridge after the journey ----------------------------------------------- */
.bridge { margin-top: var(--block-gap); }
/* the last journey page runs straight into chapter 1's badge */
#journey > .chapter-page:last-child { padding-bottom: 20px; }
.bridge p:not(.t-data-para) { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: rgba(var(--ink-rgb), .78); margin: 0 0 12px; }
.bridge p.lead { margin: 0 0 14px; }
.bridge p.big { font-family: var(--font-display); font-size: 22px; line-height: 1.35; color: var(--ink); margin: var(--block-gap) 0 0; }

/* ---- conclusion ------------------------------------------------------------- */
.conclusion .chapter-page { text-align: center; }
.conclusion .t-standfirst { max-width: 48ch; font-size: 21px; font-weight: 450; }
.coda { margin-top: 48px; text-align: left; }
.coda .lead, .coda .big { max-width: 62ch; margin: 0 auto; font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); text-wrap: pretty; }
.coda .big { margin-top: 1.15em; }
.audience { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.ck-title { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 34px); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 12px 0 0; }

/* <m-checklist> teaser */
.checklist { margin-top: 96px; }
m-checklist:not(:defined) { display: block; text-align: left; }
.ck-stream { position: relative; left: 50%; transform: translateX(-50%); width: min(1000px, 100cqw); margin-top: 32px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ck-row { overflow: hidden; white-space: nowrap; margin: 6px 0; }
.ck-track { display: inline-flex; align-items: center; gap: 28px; animation: ck-drift 90s linear infinite; }
.ck-row[data-type="ask"] .ck-track { animation-direction: reverse; animation-duration: 110s; }
.ck-row[data-type="watch"] .ck-track { animation-duration: 100s; }
.ck-stream.still .ck-track { animation: none; }
.ck-row i, .ck-key i, .ck-group h5 i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c); flex: none; }
.ck-item { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.ck-item.q { font-size: 22px; font-style: italic; color: rgba(var(--ink-rgb), .75); }
.ck-item.w { font-family: var(--font-sans); font-size: 18px; color: rgba(var(--ink-rgb), .7); }
@keyframes ck-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ck-track { animation: none; } }
.ck-key { display: flex; justify-content: center; gap: 22px; margin: 18px 0 0; font-family: var(--font-mono); font-size: 10.5px; color: rgba(var(--ink-rgb), .6); }
.ck-key span { display: inline-flex; align-items: center; gap: 7px; }
.ck-cta { display: flex; flex-direction: column; align-items: center; margin-top: 44px; }
.ck-open { display: inline-flex; align-items: center; gap: 18px; padding: 10px 18px 10px 18px; color: var(--ink); background: rgba(var(--surface-rgb), .3); border: 1.5px solid var(--ink); border-radius: 32px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ck-open:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(var(--ink-rgb), .45); }
.ck-open > span:first-of-type { font-family: var(--font-display); font-size: 26px; }
.ck-icon { width: 72px; height: 72px; }
.ck-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; }
.ck-note { border-top: 0; max-width: 60ch; margin: 14px auto 0; padding-top: 0; text-align: center; }

/* checklist dialog */
.ck-dialog { width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; color: var(--ink); background: var(--bg); border: 1px solid var(--hairline); border-radius: 16px; text-align: left; }
.ck-dialog::backdrop { background: var(--nav-scrim); backdrop-filter: blur(2px); }
.ck-sheet { padding: 28px 32px 32px; }
.ck-head { display: flex; justify-content: space-between; gap: 24px; }
.ck-lede { font-family: var(--font-sans); font-size: 16px; line-height: 1.55; color: rgba(var(--ink-rgb), .8); margin: 10px 0 0; max-width: 60ch; }
.ck-close { flex: none; width: 36px; height: 36px; font-size: 22px; line-height: 1; color: var(--ink); background: none; border: 1px solid rgba(var(--ink-rgb), .2); border-radius: 50%; cursor: pointer; }
.ck-tabs { margin: 24px 0 8px; }
.ck-desc { font-family: var(--font-sans); font-size: 15px; color: rgba(var(--ink-rgb), .75); margin: 8px 0 16px; }
.ck-period { border-top: 1px solid var(--hairline); padding: 16px 0 4px; }
.ck-period h4 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 10px; }
.ck-period h4 span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.ck-group h5 { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(var(--ink-rgb), .65); margin: 12px 0 6px; }
.ck-group ul { margin: 0; padding-left: 18px; }
.ck-group li { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; margin: 0 0 6px; }
.ck-group li::marker { color: var(--c); }

/* privacy + colophon */
/* privacy, compact: a short line, then four points in two columns, each with a small line icon */
.privacy { max-width: 760px; margin: 72px auto 0; }
.privacy-copy, .privacy-points, .colophon { text-align: left; }
.privacy-copy { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.6; color: rgba(var(--ink-rgb), .82); margin: 14px 0 0; max-width: 62ch; }
.privacy-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.privacy-points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.pv-ic { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.privacy-points h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin: 2px 0 3px; }
.privacy-points p { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: rgba(var(--ink-rgb), .78); margin: 0; }
@media (width <= 600px) { .privacy-points { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.colophon { max-width: 62ch; margin: 56px auto 0; padding-top: 22px; border-top: 1px solid var(--hairline); }
.colophon p { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.6; color: rgba(var(--ink-rgb), .78); margin: 0 0 14px; }
.colophon .talk { color: var(--ink); margin-bottom: 0; }
.colophon a { color: var(--cat-1); }

/* ---- the people behind the report (conclusion) -----------------------------------------------------------------
 * Square portraits in the report's dot language: a halftone mask (.tools/people/halftone.py) coloured with the
 * page ink, on a soft paper square; where there is no photo yet, a dot field with the initial. */
.people { max-width: 860px; margin: 88px auto 0; text-align: left; }
.pp-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 18px; }
.pp-list li { display: flex; flex-direction: column; gap: 3px; }
.pp-photo {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 10px; overflow: hidden;
  background: color-mix(in srgb, var(--bg) 55%, #fff);
}
.pp-photo i {   /* the halftone: the page ink through the portrait's dot mask (the image is set inline) */
  position: absolute; inset: 0; background: var(--ink);
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.pp-photo.ph i { opacity: .16; background: radial-gradient(circle, var(--ink) 1.2px, transparent 1.6px) 0 0 / 7px 7px; }
.pp-photo.ph b { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font: 400 clamp(30px, 4vw, 44px)/1 var(--font-display); color: rgba(var(--ink-rgb), .7); }
.pp-name { font-family: var(--font-display); font-size: 18px; line-height: 1.2; color: var(--ink); }
.pp-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (width <= 760px) { .pp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (width <= 420px) { .pp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- the checklist, review 17 Nov: roomier and slower, rectangles, a printable PDF, an easier dialog ---------- */
.ck-stream { margin-top: 48px; }
.ck-row { margin: 22px 0; }
.ck-track { gap: 40px; animation-duration: 170s; }
.ck-row[data-type="ask"] .ck-track { animation-duration: 200s; }
.ck-row[data-type="watch"] .ck-track { animation-duration: 185s; }
.ck-key { margin-top: 30px; }
.ck-cta { margin-top: 56px; }
.ck-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 14px; width: min(880px, 92vw); }   /* wider than the text column, centred: the two buttons sit side by side */
/* the two calls to action: sharp rectangles of the same height */
.ck-open { border-radius: 0; padding: 10px 14px 10px 14px; }
.ck-open:hover { transform: none; box-shadow: none; background: rgba(var(--ink-rgb), .05); }
.ck-icon { width: 56px; height: 56px; }
.ck-open > span:first-of-type { font-size: 22px; }
.ck-arrow { width: 38px; height: 38px; border-radius: 0; border-width: 1px; }
.ck-pdf {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 16px; text-decoration: none;
  color: var(--bg); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 0;
  transition: background .15s, color .15s;
}
.ck-pdf:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.ck-pdf:focus-visible, .ck-open:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.ck-pdf span { display: grid; gap: 3px; text-align: left; }
.ck-pdf b { font: 500 17px/1.2 var(--font-sans); }
.ck-pdf small { font: 11px/1.3 var(--font-mono); letter-spacing: .04em; opacity: .75; }
.ck-note { margin-top: 18px; }
/* the dialog: square, roomy, groups side by side */
.ck-dialog { width: min(1080px, calc(100vw - 32px)); border-radius: 0; }
.ck-sheet { padding: 36px 40px 40px; }
.ck-close { border-radius: 0; }
.ck-pdf-head { margin-top: 20px; }
.ck-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 6px; border-bottom: 1px solid var(--hairline); }
.ck-tab { font: 500 14px var(--font-sans); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 16px 9px; margin-bottom: -1px; cursor: pointer; }
.ck-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ck-tab:focus-visible { outline: 2px solid var(--accent2); outline-offset: -2px; }
.ck-desc { font-size: 15.5px; line-height: 1.6; margin: 18px 0 8px; max-width: 70ch; }
.ck-period { padding: 22px 0 10px; }
.ck-period h4 { margin-bottom: 14px; }
.ck-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 32px; align-items: start; }
.ck-group h5 { margin: 4px 0 10px; color: var(--c); }
.ck-group ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.ck-group li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.6; margin: 0; }
.ck-group li::before {   /* a box to tick (things to do), "!" (warning signs), "?" (questions), a dot (good to know) */
  content: ""; position: absolute; left: 0; top: .28em; width: 15px; height: 15px; box-sizing: border-box;
  display: grid; place-items: center; font: 600 10px/1 var(--font-mono);
  border: 1.4px solid var(--c);
}
.ck-group[data-type="watch"] li::before { content: "!"; color: var(--bg); background: var(--c); }
.ck-group[data-type="ask"] li::before { content: "?"; color: var(--c); }
.ck-group[data-type="know"] li::before { width: 6px; height: 6px; top: .62em; left: 4px; border: 0; background: var(--c); }
.ck-group li strong { font-weight: 600; }
@media (width <= 600px) {
  .ck-row { margin: 14px 0; }
  .ck-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .ck-open, .ck-pdf { justify-content: flex-start; }
  .ck-sheet { padding: 22px 18px 26px; }
  .ck-tab { padding: 9px 10px 8px; font-size: 13px; }
}

/* ---- the conclusion's closing sections, with more room (review 17 Nov) ----------------------------------------- */
.checklist { margin-top: clamp(120px, 18vh, 200px); }
.checklist > .ck-title { margin-top: 16px; }
.ck-stream { margin-top: 64px; }
.ck-cta { margin-top: 72px; }
.people { margin-top: clamp(140px, 20vh, 220px); }
.pp-list { margin-top: 40px; gap: 36px 24px; }
.privacy { margin-top: clamp(140px, 20vh, 220px); }
.privacy-copy { margin-top: 20px; }
.privacy-points { margin-top: 36px; gap: 30px 40px; }
.colophon { margin-top: clamp(100px, 14vh, 160px); }
@media (width <= 600px) {
  .checklist, .people, .privacy { margin-top: 110px; }
  .colophon { margin-top: 80px; }
}

/* ---- the embryo app: a card after the checklist (m-app-teaser) ------------------------------------------------- */
.app-promo { max-width: 960px; margin: clamp(140px, 20vh, 220px) auto 0; text-align: left; }
m-app-teaser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; background: color-mix(in srgb, var(--bg) 55%, #fff); box-shadow: 0 24px 70px rgba(var(--ink-rgb), .12); }
.apt-stage { position: relative; min-height: 360px; background: linear-gradient(40deg, #fe411f 0%, #fd8a2f 30%, #fea53d 62%, #fecc62 100%); overflow: hidden; }
.apt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
m-app-teaser.ready .apt-canvas { opacity: 1; }
.apt-text { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.apt-text .ck-title { margin-top: 10px; }
.apt-lede { font: 400 17px/1.55 var(--font-sans); margin: 16px 0 0; max-width: 46ch; }
/* who it is for: highlighted, a marker band in the Sun colour behind the words */
.apt-who { align-self: flex-start; font: 600 15.5px/1.5 var(--font-sans); color: var(--ink); margin: 16px 0 0; max-width: 46ch; padding: 8px 12px; background: color-mix(in srgb, #fea53d 30%, transparent); border-left: 3px solid #fd8a2f; }
.apt-go {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 18px 12px 20px;
  font: 500 16px var(--font-sans); color: var(--bg); background: var(--ink); text-decoration: none; border-radius: 0;
}
.apt-go:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.apt-go:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.apt-arrow { font-family: var(--font-mono); }
.apt-note { margin: 22px 0 0; font: 11px/1.5 var(--font-mono); color: var(--muted); max-width: 52ch; }
@media (width <= 700px) {
  m-app-teaser { grid-template-columns: minmax(0, 1fr); }
  .apt-stage { min-height: 300px; }
}
/* the privacy lead line, centred under its centred title (review 17 Nov) */
.privacy .privacy-copy { text-align: center; margin-left: auto; margin-right: auto; }

/* the checklist rows: one font, one size, one weight for all three rows; bigger colour dots (review 17 Nov) */
.ck-item, .ck-item.q, .ck-item.w { font-family: var(--font-display); font-size: 24px; font-weight: 400; font-style: normal; color: var(--ink); }
.ck-row i, .ck-key i { width: 10px; height: 10px; }
@media (width <= 600px) { .ck-item, .ck-item.q, .ck-item.w { font-size: 19px; } .ck-row i { width: 8px; height: 8px; } }
/* the app card: two equal columns */
m-app-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (width <= 700px) { m-app-teaser { grid-template-columns: minmax(0, 1fr); } }

/* ---- contributors: centred, larger portraits, matched faces (review 17 Nov) ---------------------------------------
 * The tile is white and multiplied into the page, so only the dots show on the page's own background (the conclusion
 * stays light in both themes). Each portrait sets --s (zoom), --cx (head centre, 0–1 of the image) and --top (top of the head,
 * 0–1): the mask is scaled and moved so every head is about the same width, centred, with its top at 12% of the tile. */
.people { max-width: 1080px; text-align: center; }
/* six across needs more than the 720px text column: the row is wider than the column and centred on it */
.pp-list { --pp: 154px; --pw: min(1044px, calc(var(--page-w, 100vw) - 32px)); width: var(--pw); margin-left: calc(50% - var(--pw) / 2); display: grid; grid-template-columns: repeat(auto-fit, var(--pp)); justify-content: center; gap: 36px 24px; }
.pp-list li { align-items: center; }
.pp-photo { width: var(--pp); background: #fff; mix-blend-mode: multiply; box-shadow: 0 0 0 1px #fff; }   /* the shadow hides subpixel seams */
.pp-photo i {
  -webkit-mask-size: calc(var(--s, 1) * 100%) auto; mask-size: calc(var(--s, 1) * 100%) auto;
  -webkit-mask-position: calc(var(--pp) * (.5 - var(--cx, .5) * var(--s, 1))) calc(var(--pp) * (.12 - var(--top, .12) * var(--s, 1)));
  mask-position: calc(var(--pp) * (.5 - var(--cx, .5) * var(--s, 1))) calc(var(--pp) * (.12 - var(--top, .12) * var(--s, 1)));
}
.pp-photo.ph i { -webkit-mask: none; mask: none; }
.pp-photo.ph b { font-size: 52px; }
