/* Humaneese. Living Rind.
   The ground is drawn by js/ground.js. Everything here sits on top of it.
   One typeface, Archivo, whose weight and width stand for pigment: heavy and
   wide means more of it. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --grow { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --intro { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --taper { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  color-scheme: light;

  --mantle: #f1e3d3;
  --pigment: #7a2e1e;
  --ink: #2b1a14;
  --teal: #1fb8a6;
  --teal-deep: #0b6e63;
  --gold: #f2b632;

  /* The colour of the ground behind the middle of the screen. site.js moves --taper. */
  --ground: color-mix(in oklab, var(--mantle), var(--gold) calc(var(--taper) * 100%));
  --ink-soft: color-mix(in oklab, var(--ink) 82%, var(--ground));

  --gutter: max(clamp(20px, 5vw, 72px), calc((100vw - 1640px) / 2));
  --rail: 0px;               /* room kept on the right for the docked dial */
  --col-gap: clamp(18px, 2.4vw, 32px);
  --rule: 3px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swell: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--mantle);
  scroll-behavior: smooth;
  scrollbar-color: var(--pigment) transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  /* What you see when the canvas cannot draw: the same journey, standing still. */
  background: linear-gradient(180deg, var(--mantle) 0%, var(--mantle) 30%, var(--gold) 60%, var(--gold) 100%);
  color: var(--ink);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
  font-weight: 430;
  font-stretch: 100%;
  line-height: 1.5;
  overflow-x: clip;
  caret-color: var(--teal-deep);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pigment); color: var(--mantle); }

#ground {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.no-gl #ground { display: none; }

.nav, main, .foot { position: relative; z-index: 1; }

h1, h2, h3, p, figure, dl, dd, ol, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img, video, svg { max-width: 100%; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }

:focus-visible {
  outline: 4px solid var(--teal-deep);
  outline-offset: 4px;
  border-radius: 6px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--mantle);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.25s var(--ease-out);
}
.skip:focus { top: 16px; }

/* Thin is the voice of what is leaving. */
.thin { font-weight: 230; }

h2 {
  font-size: clamp(2.3rem, 5.4vw, 5.2rem);
  font-weight: 860;
  line-height: 0.97;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.6rem, 2.9vw, 2.6rem);
  font-weight: 840;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

/* ---- controls ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.72em 1.55em;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--mantle);
  font: inherit;
  font-size: 1.14rem;
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: font-stretch 0.45s var(--ease-swell), transform 0.3s var(--ease-out),
    background-color 0.25s, color 0.25s;
}
.btn:hover { font-stretch: 118%; }
.btn:active { transform: scale(0.96); }
.btn--small { min-height: 44px; padding: 0.5em 1.15em; font-size: 1rem; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--mantle); }
.btn[disabled] { opacity: 0.45; cursor: default; }
.btn[hidden] { display: none; }

.link {
  font-weight: 700;
  padding: 0.6em 0.1em;
  text-decoration: none;
  background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 0.35em) / 100% 2px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.link:hover { background-image: linear-gradient(var(--teal), var(--teal)); background-size: 100% 4px; }

/* ---- nav ----------------------------------------------------------------- */

.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 40px);
  padding: clamp(16px, 3.2vh, 34px) var(--gutter);
}
.wordmark {
  margin-right: auto;
  padding: 0.12em 0;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.nav__links {
  display: flex;
  gap: clamp(14px, 2.2vw, 34px);
  font-size: 1rem;
  font-weight: 620;
}
.nav__links a {
  padding: 0.7em 0.1em;
  text-decoration: none;
  background: linear-gradient(var(--teal), var(--teal)) 0 calc(100% - 0.4em) / 0 4px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.nav__links a:hover, .nav__links a:focus-visible { background-size: 100% 4px; }

/* ---- hero ---------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(92px, 14vh, 176px) var(--gutter) clamp(26px, 6vh, 70px);
}
/* Keeps the pigment out of the gap between the headline and the lede. */
.hero__hush {
  grid-row: 1;
  grid-column: 1;
  align-self: stretch;
  width: min(100%, 40rem);
  margin-bottom: -6vh;
  pointer-events: none;
}
.hero__title {
  grid-row: 1;
  grid-column: 1;
  font-size: clamp(3rem, min(10.4vw, 17.2vh), 15rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  animation: gain 1.7s var(--ease-out) both;
}
@keyframes gain { from { --intro: 0; } to { --intro: 1; } }

.line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  --bw: 900;
  --bwd: 96;
  --sw: 0;
}
.line--thin { --bw: 250; --bwd: 90; }
.line--gold {
  color: var(--gold);
  -webkit-text-stroke: 0.03em var(--ink);
  paint-order: stroke fill;
}
/* Weight and width are the pigment. --intro raises them on load, --sw swells them under the pointer. */
.line, .ch {
  font-variation-settings:
    "wght" calc(100 + (var(--bw) - 100) * var(--intro, 1) + (900 - var(--bw)) * var(--sw, 0)),
    "wdth" calc(var(--bwd) + (125 - var(--bwd)) * var(--sw, 0));
}
.ch { display: inline-block; white-space: pre; }

.hero__foot {
  align-self: end;
  display: grid;
  gap: clamp(20px, 3.4vh, 34px);
  max-width: 35rem;
  margin-top: clamp(28px, 6vh, 72px);
}
.hero__lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.38; font-weight: 440; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; width: max-content; max-width: 100%; }

/* ---- pitch --------------------------------------------------------------- */

@media (min-width: 761px) { :root { --rail: max(0px, calc(124px - var(--gutter))); } }
main > section { padding-inline: var(--gutter) calc(var(--gutter) + var(--rail)); }

.pitch { padding-block: clamp(96px, 18vh, 220px) clamp(72px, 12vh, 150px); }
.pitch__title {
  max-width: 15ch;
  font-size: clamp(2.5rem, 6.4vw, 6rem);
}
.pitch__title .thin { display: block; }
.pitch__cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  margin-top: clamp(40px, 8vh, 96px);
}
.pitch__cols p:first-child { grid-column: 5 / span 4; }
.pitch__cols p:last-child { grid-column: 9 / span 4; }

/* ---- cells: media lives in round, expanded cells ------------------------- */

.cell { position: relative; }
.cell__disc {
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  clip-path: circle(51%);
}
.cell__disc > img, .cell__disc > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cell figcaption {
  width: max-content;
  max-width: min(30ch, 100%);
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 520;
  color: var(--ink-soft);
}
.js .cell__disc { transition: clip-path 1.1s var(--ease-out); }
.js .cell:not(.in) .cell__disc { clip-path: circle(0%); }

/* ---- culture ------------------------------------------------------------- */

.culture {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
  padding-block: clamp(72px, 12vh, 160px);
}
.culture__media {
  grid-column: 1 / span 6;
  position: relative;
  padding-bottom: clamp(40px, 7vw, 110px);
}
.cell--xl { width: 84%; }
.cell--xl figcaption { max-width: min(30ch, 62%); }
.cell--m {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
}
.cell--m .cell__disc img { object-position: 38% 50%; }
.culture__text { grid-column: 8 / span 5; display: grid; gap: clamp(20px, 3vh, 30px); }
.culture__text > p { max-width: 44ch; }

.facts { display: grid; gap: 0; margin-top: 6px; }
.facts > div {
  display: grid;
  grid-template-columns: minmax(8.5em, 0.42fr) 1fr;
  gap: 4px 20px;
  padding: 16px 0;
  border-top: var(--rule) solid var(--ink);
}
.facts > div:last-child { border-bottom: var(--rule) solid var(--ink); }
.facts dt { font-weight: 800; }
.facts dd { color: var(--ink-soft); }

/* ---- the taper ----------------------------------------------------------- */

.taper { padding-block: clamp(96px, 16vh, 200px) clamp(40px, 8vh, 110px); }
.taper__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 24px;
  align-items: end;
  margin-bottom: clamp(64px, 12vh, 150px);
}
.taper__head h2 { grid-column: 1 / span 7; max-width: 11ch; }
.taper__head h2 .thin { display: block; }
.taper__head p { grid-column: 8 / span 5; max-width: 40ch; }

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(104px, 24vh, 270px);
}
.step {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
  scroll-margin-top: 12vh;
  transition: --grow 1.2s var(--ease-out);
}
.js .step:not(.in) { --grow: 0; }
.step__media { grid-column: 1 / span 5; width: min(100%, 470px); }
.step__body { grid-column: 7 / span 6; }
.step--flip .step__media { grid-column: 8 / span 5; grid-row: 1; justify-self: end; }
.step--flip .step__body { grid-column: 1 / span 6; grid-row: 1; }

.ratio { margin: 0.5em 0 0; }
.ratio__part {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(2.2rem, 5.3vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings:
    "wght" calc(140 + var(--pct) * 7.6 * var(--grow, 1)),
    "wdth" calc(62 + var(--pct) * 0.63 * var(--grow, 1));
}

.cells { display: flex; gap: 6px; margin: 1.15em 0 1.25em; }
.cells i {
  width: clamp(17px, 2vw, 26px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.cells .p { background: var(--pigment); }
.cells .p--half { transform: scale(0.5); }
.cells .c { background: var(--gold); border: 3px solid var(--ink); }

.step__copy { max-width: 44ch; font-size: 1.08em; }
.step__meta { max-width: 44ch; margin-top: 0.8em; font-size: 0.94rem; font-weight: 600; color: var(--ink-soft); }

/* ---- evidence ------------------------------------------------------------ */

.evidence {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(36px, 7vh, 72px);
  padding-block: clamp(120px, 22vh, 260px) clamp(72px, 12vh, 150px);
}
.evidence__head { grid-column: 1 / span 9; }
.evidence__head h2 { max-width: 13ch; }
.evidence__head h2 .thin { display: block; }
.chart { grid-column: 1 / span 8; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.chart__grid .tick { stroke-width: 1.5; stroke-dasharray: 2 9; opacity: 0.55; }
.chart__line { fill: none; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.chart__line--person { stroke: var(--pigment); }
.chart__line--cheese { stroke: var(--ink); }
.js .chart__line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-out); }
.js .chart:not(.in) .chart__line { stroke-dashoffset: 1; }
.chart__labels text { font-size: 17px; font-weight: 800; fill: var(--ink); }
.chart__labels text:first-child { fill: var(--pigment); }
.chart__axis text { font-size: 14px; font-weight: 640; fill: var(--ink); font-stretch: 88%; }
.chart figcaption { max-width: 52ch; margin-top: 18px; font-size: 0.94rem; font-weight: 520; color: var(--ink-soft); }

.effects { grid-column: 9 / span 4; align-self: end; display: grid; gap: 26px; }
.effects h3 { font-size: 1.3rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.effects__small { font-size: 0.9rem; line-height: 1.4; font-weight: 520; color: var(--ink-soft); }

/* ---- graduates ----------------------------------------------------------- */

.graduates { padding-block: clamp(80px, 14vh, 180px); }
.graduates__head { display: grid; gap: 22px; width: fit-content; max-width: 100%; }
.graduates__head h2 { max-width: 12ch; }
.graduates__head h2 .thin { display: block; }
.graduates__head p { max-width: 46ch; }

.quotes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(44px, 9vh, 104px) var(--col-gap);
  margin-top: clamp(56px, 10vh, 120px);
}
.quote { grid-column: span 5; }
.quote--lead { grid-column: 1 / span 10; }
.quote:nth-child(2) { grid-column: 6 / span 6; }
.quote:nth-child(3) { grid-column: 1 / span 5; }
.quote:nth-child(4) { grid-column: 7 / span 5; }
.quote:nth-child(5) { grid-column: 3 / span 6; }

.quote blockquote {
  quotes: "\201C" "\201D";
  font-size: clamp(1.3rem, 2.15vw, 1.95rem);
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.quote blockquote p { position: relative; text-wrap: balance; }
.quote blockquote p::before { content: open-quote; position: absolute; right: 100%; margin-right: 0.06em; }
.quote blockquote p::after { content: close-quote; }
.quote--lead blockquote {
  font-size: clamp(1.9rem, 4.3vw, 3.9rem);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(16px, 2.4vh, 26px);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink-soft);
}
.quote figcaption img {
  flex: none;
  width: 64px;
  height: 64px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}
.quote figcaption b { display: block; font-weight: 800; color: var(--ink); }

/* ---- friend or food ------------------------------------------------------ */

.exercise {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
  padding-block: clamp(80px, 14vh, 180px);
}
.exercise__intro { grid-column: 1 / span 5; display: grid; gap: 22px; }
.exercise__intro h2 .thin { display: block; }
.exercise__intro p { max-width: 38ch; }

.game { grid-column: 7 / span 6; display: grid; justify-items: center; gap: 22px; }
.game__arena {
  width: min(100%, 520px);
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 13%;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mantle);
  text-align: center;
  outline: 0 solid transparent;
  outline-offset: 8px;
  transition: outline-color 0.3s, outline-width 0.45s var(--ease-swell), transform 0.5s var(--ease-swell);
}
.game__arena[data-state="right"] { outline: 9px solid var(--ink); transform: scale(1.02); }
.game__arena[data-state="wrong"] { outline: 9px solid var(--pigment); transform: scale(0.97); }
.game__card {
  font-size: clamp(1.55rem, 3.2vw, 2.8rem);
  font-weight: 860;
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.game__note { min-height: 4.1em; max-width: 27ch; font-size: 1.02rem; line-height: 1.36; font-weight: 480; }
.game__note b { font-weight: 800; }
.game__count {
  font-size: 0.9rem;
  font-weight: 700;
  font-stretch: 84%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--mantle) 72%, var(--ink));
  order: 3;
}
.game__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; min-height: 58px; }
.game__answer { min-width: 8.5em; }
.game__hint { font-size: 0.92rem; font-weight: 560; color: var(--ink-soft); text-align: center; }
html:not(.js) .game__controls, html:not(.js) #game-hint { display: none; }

/* ---- start --------------------------------------------------------------- */

.start {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding-block: clamp(80px, 14vh, 180px);
  scroll-margin-top: 4vh;
}
.start__media { grid-column: 1 / span 5; width: min(100%, 480px); position: sticky; top: 12vh; }
.kit, .kit__done { grid-column: 7 / span 6; display: grid; gap: clamp(20px, 3vh, 28px); justify-items: start; }
.kit[hidden], .kit__done[hidden] { display: none; }
.kit__done p { max-width: 42ch; font-size: 1.12em; }
.kit__done:focus { outline: none; }

.kit fieldset { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.kit legend { padding: 0; margin-bottom: 12px; font-size: 1.18rem; font-weight: 800; }

.pick, .check { position: relative; display: block; width: 100%; cursor: pointer; }
.pick input, .check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pick span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 0.72em 1.35em 0.72em 3.2em;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  font-weight: 580;
  line-height: 1.3;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.pick span::before, .check span::before {
  content: "";
  position: absolute;
  left: 1.05em;
  top: 50%;
  width: 1.25em;
  height: 1.25em;
  border: var(--rule) solid var(--ink);
  border-radius: 50%;
  translate: 0 -50%;
  transition: background-color 0.25s, border-color 0.25s, scale 0.4s var(--ease-swell);
}
.pick span b { font-weight: 860; font-variant-numeric: tabular-nums; }
.pick:hover span::before, .check:hover span::before { scale: 1.15; }
.pick input:checked + span { background: var(--ink); color: var(--mantle); }
.pick input:checked + span::before { background: var(--gold); border-color: var(--mantle); }
.pick input:focus-visible + span, .check input:focus-visible + span { outline: 4px solid var(--teal-deep); outline-offset: 4px; }

.check span { display: block; padding: 0.5em 0 0.5em 3.2em; font-weight: 580; }
.check span::before { border-radius: 9px; }
.check input:checked + span::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.6 3.6 7.4-8' fill='none' stroke='%23f2b632' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.kit__sum { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.kit__fine { max-width: 44ch; font-size: 0.9rem; font-weight: 520; color: var(--ink-soft); }

/* ---- questions ----------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding-block: clamp(80px, 14vh, 180px);
}
.faq h2 { grid-column: 1 / span 5; }
.faq h2 .thin { display: block; }
.faq__list { grid-column: 7 / span 6; }
.faq details { border-top: var(--rule) solid var(--ink); }
.faq details:last-child { border-bottom: var(--rule) solid var(--ink); }
.faq summary {
  position: relative;
  padding: 1.02em 3.2em 1.02em 0;
  font-size: 1.24rem;
  font-weight: 760;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.3em;
  top: 50%;
  width: 1.15em;
  height: 1.15em;
  border: var(--rule) solid var(--ink);
  border-radius: 50%;
  translate: 0 -50%;
  transition: background-color 0.3s, scale 0.45s var(--ease-swell);
}
.faq summary:hover::after { scale: 1.2; }
.faq details[open] summary::after { background: var(--ink); scale: 0.62; }
.faq details p { max-width: 50ch; padding-bottom: 1.3em; }

/* ---- foot ---------------------------------------------------------------- */

.foot { padding: clamp(56px, 10vh, 130px) calc(var(--gutter) + var(--rail)) clamp(120px, 17vh, 210px) var(--gutter); }
.foot__mark {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(3.3rem, 17.6vw, 20.5rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  --bw: 900;
  --bwd: 80;
  --sw: 0;
  font-variation-settings: "wght" 900, "wdth" 80;
}
.foot__mark .ch {
  font-variation-settings: "wght" 900, "wdth" calc(var(--bwd) + (125 - var(--bwd)) * var(--sw, 0));
}
.foot__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 28px;
  margin-top: clamp(36px, 7vh, 80px);
}
.foot__fiction { grid-column: 1 / span 6; max-width: 54ch; font-size: 0.98rem; }
.foot__fiction b { font-weight: 800; }
.foot__links {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 24px;
  align-content: start;
  width: fit-content;
  font-weight: 640;
}
.foot__links a { padding: 0.45em 0; }

/* ---- the dial ------------------------------------------------------------ */

.hud {
  position: fixed;
  right: clamp(12px, 3.4vw, 54px);
  bottom: clamp(12px, 3.4vw, 54px);
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  transition: right 0.8s var(--ease-out), bottom 0.8s var(--ease-out);
}
.hud--docked { right: 14px; bottom: 14px; flex-direction: column; align-items: center; }
html:not(.js) .hud { display: none; }
.hud__dial { display: grid; justify-items: center; gap: 8px; }
/* Says so beside the one figure in the first screen. */
.hud__note {
  font-size: 0.78rem;
  font-weight: 700;
  font-stretch: 86%;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hud--docked .hud__note { display: none; }

.dial {
  --d: clamp(150px, 20.8vw, 300px);
  --f-label: 7cqw;
  --f-num: 41cqw;
  --f-pct: 6.5cqw;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.dial__disc {
  position: relative;
  display: block;
  flex: none;
  width: var(--d);
  height: var(--d);
  container-type: size;
  transition: width 0.8s var(--ease-out), height 0.8s var(--ease-out);
}
/* The dial's reading as a line of text. Only the phone bar shows it. */
.dial__read { display: none; }
.hud--docked .dial {
  --d: 108px;
  --f-label: 10.5cqw;
  --f-num: 36cqw;
  --f-pct: 10.5cqw;
}
.dial__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
  overflow: visible;
}
.dial__arc {
  fill: none;
  stroke: var(--teal);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: var(--arc, 20) 100;
  transition: stroke-dasharray 0.5s var(--ease-out);
}
.dial__face {
  position: absolute;
  inset: 8%;
  display: grid;
  align-content: center;
  justify-items: center;
  border: max(3px, 2cqw) solid var(--ink);
  border-radius: 50%;
  background: var(--ground);
  transition: scale 0.5s var(--ease-swell);
}
.dial:hover .dial__face { scale: 1.04; }
.dial:active .dial__face { scale: 0.97; }
.dial__label, .dial__pct {
  font-weight: 760;
  font-stretch: 82%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.15;
}
.dial__label { font-size: var(--f-label); }
.dial__pct { font-size: var(--f-pct); }
.dial__num { font-size: var(--f-num); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; }

.motion {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: var(--rule) solid var(--ink);
  border-radius: 50%;
  background: var(--ground);
  color: var(--ink);
  cursor: pointer;
  transition: scale 0.4s var(--ease-swell);
}
.motion:hover { scale: 1.1; }
.motion svg { fill: currentColor; }
.motion .motion__play { display: none; }
.motion[aria-pressed="true"] .motion__play { display: block; }
.motion[aria-pressed="true"] .motion__pause { display: none; }

/* ---- narrower windows ---------------------------------------------------- */

/* The four links stay for as long as they fit beside the wordmark and the pill. */
@media (max-width: 860px) {
  .nav__links { display: none; }
}

@media (max-width: 1060px) {
  .pitch__cols p:first-child { grid-column: 1 / span 6; }
  .pitch__cols p:last-child { grid-column: 7 / span 6; }
  .culture__media { grid-column: 1 / span 6; }
  .culture__text { grid-column: 7 / span 6; }
  .quote--lead { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero { padding-bottom: 190px; }
  .hero__title { font-size: min(14.2vw, 12.5vh); letter-spacing: -0.03em; }
  .chart__weeks { transform: translateY(20px); }
  .chart figcaption { margin-top: 34px; }

  .pitch__cols, .culture, .taper__head, .step, .evidence, .quotes, .exercise, .start, .faq, .foot__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .pitch__cols { row-gap: 20px; }
  .pitch__cols p:first-child, .pitch__cols p:last-child,
  .culture__media, .culture__text,
  .taper__head h2, .taper__head p,
  .step__media, .step__body, .step--flip .step__media, .step--flip .step__body,
  .evidence__head, .chart, .effects,
  .quote, .quote--lead, .quote:nth-child(n),
  .exercise__intro, .game,
  .start__media, .kit, .kit__done,
  .faq h2, .faq__list,
  .foot__fiction, .foot__links {
    grid-column: 1 / -1;
  }
  .culture { row-gap: 44px; }
  .step { row-gap: 26px; }
  .step--flip .step__media, .step--flip .step__body { grid-row: auto; justify-self: start; }
  .step__media { width: min(78%, 340px); }
  .exercise, .start, .faq { row-gap: 40px; }
  .start__media { position: static; width: min(70%, 320px); }
  .quote blockquote p::before { position: static; margin: 0; }
  .facts > div { grid-template-columns: 1fr; }
  .chart__labels text { font-size: 30px; }
  .chart__axis text { font-size: 25px; }
  .chart__line { stroke-width: 11; }
  .foot__links { width: auto; }
  .dial { --d: 132px; }
  .motion { width: 44px; height: 44px; }

  /* On a phone there is no room for a rail, so the docked dial becomes a bar
     along the bottom with its own ground. Nothing is read through it. */
  html { scroll-padding-bottom: 76px; }
  .hero__hush { display: none; }
  .hud--docked {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 14px calc(7px + env(safe-area-inset-bottom, 0px));
    background: var(--ground);
    border-top: var(--rule) solid var(--ink);
    transition: none;
  }
  .hud--docked .dial { --d: 46px; --f-num: 50cqw; display: flex; align-items: center; gap: 12px; padding-right: 8px; }
  .hud--docked .dial__disc { transition: none; }
  .hud--docked .dial__label, .hud--docked .dial__pct { display: none; }
  .hud--docked .dial__read { display: block; font-size: 0.98rem; font-weight: 520; line-height: 1.2; text-align: left; }
  .hud--docked .dial__read b { font-weight: 800; margin-right: 0.35em; }
  .foot { padding-bottom: 150px; }
}

/* ---- stillness ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title { animation: none; }
  .js .cell:not(.in) .cell__disc { clip-path: circle(51%); }
  .js .step:not(.in) { --grow: 1; }
  .js .chart:not(.in) .chart__line { stroke-dashoffset: 0; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (forced-colors: active) {
  #ground { display: none; }
  .cells .p { background: CanvasText; }
  .cells .c { border-color: CanvasText; }
}

@media print {
  #ground, .hud, .skip { display: none; }
  body { background: #fff; }
  .nav { position: static; }
  .js .cell:not(.in) .cell__disc { clip-path: none; }
  .js .step:not(.in) { --grow: 1; }
}
