/* Blind Matter website, style E "Voorstel": blue ink, warm paper, and gold light that has to be earned. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif/instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink-950: #060a12;
  --ink-900: #0a111d;
  --ink-800: #101a2b;
  --paper-50: #f3eee4;
  --paper-300: #b9b3a7;
  --paper-500: #8a857c;
  --light: #f5b85c;
  --light-deep: #c9852f;
  --signal: #ff5b3a;
  --line: rgb(243 238 228 / 0.12);
  --line-strong: rgb(243 238 228 / 0.2);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --header: 64px;
  --section: clamp(96px, 11vw, 176px);
}

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

html {
  color-scheme: dark;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper-50);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Film grain over everything, as in the film; it also breaks up banding in the dark gradients. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--paper-50);
  color: var(--ink-950);
  font-weight: 500;
}

.skip:focus {
  top: 12px;
}

/* Type */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 1.6rem + 5.2vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.375rem, 1.55rem + 2.8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  max-width: 32em;
  font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.prose p {
  max-width: 34em;
  color: var(--paper-300);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1.1em;
}

/* Layout */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: calc(44rem + 2 * var(--gutter));
}

.section {
  padding-block: var(--section);
}

.split {
  display: grid;
  gap: 32px 64px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 6fr;
    align-items: start;
  }

  .split--end {
    align-items: end;
  }
}

/* Actions */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5em;
  border-radius: 999px;
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}

/* The one action that lets light in gets a physical key (style E). */
.button--light {
  background: var(--light);
  color: #1d1406;
  box-shadow:
    0 3px 0 var(--light-deep),
    0 12px 32px rgb(245 184 92 / 0.16);
}

.button--light:hover {
  background: #f8c47a;
}

.button--light:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--light-deep);
}

.button--quiet {
  min-height: 40px;
  padding: 0 1.1em;
  border: 1px solid var(--line-strong);
  font-size: 0.9375rem;
}

.button--quiet:hover {
  border-color: var(--paper-300);
}

.link {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s var(--ease);
}

.link:hover {
  text-decoration-color: var(--paper-50);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgb(6 10 18 / 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.site-nav a,
.lang {
  color: var(--paper-300);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.lang:hover {
  color: var(--paper-50);
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .site-header__end {
    margin-left: auto;
  }
}

.page-privacy main,
.page-404 main {
  padding-top: var(--header);
}

/* Scroll film: a sticky stage; the canvas shows the frame for the scroll position, chapters fade over it. */

.story {
  position: relative;
  height: 560vh;
  background: var(--ink-950);
}

.story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.story__poster,
.story__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story__poster {
  object-fit: cover;
}

/* Portrait: the same cinematic band the canvas draws (top 10%, 56% high), so nothing jumps when it takes over.
   Both fade out at the band's top and bottom edges, so the film melts into the page instead of ending in a hard line. */
@media (max-aspect-ratio: 1 / 1) {
  .story__poster {
    top: 10%;
    height: 56%;
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent);
  }

  .story__canvas {
    mask-image: linear-gradient(180deg, transparent 10%, #000 16.72%, #000 53.68%, transparent 66%);
  }
}

.story__canvas {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.story.is-ready .story__canvas {
  opacity: 1;
}

.story__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(6 10 18 / 0.5) 0%, rgb(6 10 18 / 0) 22%, rgb(6 10 18 / 0) 48%, rgb(6 10 18 / 0.78) 84%, var(--ink-950) 100%),
    radial-gradient(80% 60% at 8% 100%, rgb(6 10 18 / 0.72) 0%, rgb(6 10 18 / 0) 60%);
  pointer-events: none;
}

.story__chapters {
  position: absolute;
  inset: auto 0 clamp(72px, 12vh, 140px);
  display: grid;
}

.story__chapter {
  grid-area: 1 / 1;
  align-self: end;
  opacity: var(--o, 0);
  transform: translateY(calc((1 - var(--o, 0)) * 18px));
  pointer-events: none;
}

.story__chapter--intro {
  --o: 1;
}

.story__chapter.is-active {
  pointer-events: auto;
}

.story .display {
  max-width: 10.5em;
}

.story .lead {
  margin-top: 28px;
  color: var(--paper-300);
}

.story__line {
  max-width: 13em;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.story__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--paper-500);
  font-size: 0.8125rem;
  opacity: var(--cue, 1);
  transform: translateX(-50%);
}

.story__cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--paper-300), rgb(185 179 167 / 0));
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
    opacity: 1;
  }
  60% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* What it is: the text beside the room, which runs off the right edge. */

.what__inner {
  display: grid;
  gap: 48px;
  padding-inline: var(--gutter);
}

.what__text .prose {
  margin-top: 32px;
}

.what__media {
  margin-inline: calc(-1 * var(--gutter));
}

.what__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 1000px) {
  .what__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 72px;
    padding-right: 0;
    padding-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  }

  .what__media {
    margin-inline: 0;
  }

  .what__media img {
    aspect-ratio: 3 / 2;
    border-radius: 20px 0 0 20px;
    box-shadow: 0 0 0 1px var(--line);
  }
}

/* Session: a lighter band, one visual per step. */

.session {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 85% 0%, rgb(30 52 92 / 0.32) 0%, rgb(30 52 92 / 0) 62%),
    var(--ink-900);
}

.step__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(120% 90% at 30% 0%, #13203a 0%, var(--ink-950) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
  container-type: inline-size;
}

.step__visual picture,
.step__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-label {
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  color: var(--paper-300);
  font-size: 4.4cqw;
}

.sv-label .mark {
  width: 4.8cqw;
  height: 4.8cqw;
}

.sv-hud {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  padding: 6cqw;
  background: linear-gradient(180deg, rgb(6 10 18 / 0.7) 0%, rgb(6 10 18 / 0) 65%);
}

.sv-hud__time {
  font-size: 12cqw;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sv-hud__objective {
  grid-column: 1 / -1;
  max-width: 70%;
  margin-top: 3cqw;
  font-family: var(--serif);
  font-size: 8.5cqw;
  line-height: 1.05;
}

.sv-role {
  position: absolute;
  inset: 9cqw 11cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3cqw;
  padding: 0 8cqw;
  border-radius: 6cqw;
  background: rgb(16 26 43 / 0.92);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 20px 50px rgb(0 0 0 / 0.45);
}

.sv-role .sv-label {
  color: var(--paper-500);
}

.sv-role .role-icon {
  width: 10cqw;
  height: 10cqw;
  color: var(--paper-50);
}

.sv-role__title {
  font-family: var(--serif);
  font-size: 11cqw;
  line-height: 1;
}

.sv-role__text {
  color: var(--paper-300);
  font-size: 4.6cqw;
  line-height: 1.35;
}

.sv-clock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10cqw;
  background: radial-gradient(80% 60% at 30% 40%, rgb(255 91 58 / 0.1) 0%, rgb(255 91 58 / 0) 70%);
}

.sv-clock__time {
  color: var(--signal);
  font-size: 27cqw;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sv-clock__ticks {
  display: block;
  height: 4cqw;
  margin-top: 5cqw;
  background: linear-gradient(90deg, rgb(185 179 167 / 0.5) 0 83.3%, var(--signal) 83.3% 100%);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 2.5cqw);
  mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 2.5cqw);
}

.sv-clock__rule {
  display: block;
  width: 16%;
  height: 3px;
  margin-top: 4cqw;
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 0 0 12px rgb(255 91 58 / 0.6);
}

.sv-debrief {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5cqw;
  padding: 0 10cqw;
  background: radial-gradient(80% 70% at 15% 100%, rgb(245 184 92 / 0.09) 0%, rgb(245 184 92 / 0) 70%);
}

.sv-debrief__question {
  font-family: var(--serif);
  font-size: 11.5cqw;
  line-height: 1.04;
  text-wrap: balance;
}

.steps {
  display: grid;
  gap: 48px 32px;
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step__number {
  display: block;
  margin-bottom: 12px;
  color: var(--paper-500);
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1;
}

.step__title {
  margin-bottom: 10px;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.step p,
.surfaces__list p {
  color: var(--paper-300);
}

/* Surfaces */

.surfaces .lead {
  color: var(--paper-300);
}

.stage {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 24px 20px;
  margin-top: clamp(56px, 7vw, 104px);
}

.stage .mock-screen {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  /* Tall enough that phone and console sit below the big screen's team rail. */
  .stage {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11.6;
  }

  .stage .mock-screen {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
  }

  .stage .mock-phone {
    position: absolute;
    bottom: 0;
    left: 1%;
    width: 17%;
  }

  .stage .mock-console {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
  }
}

.surfaces__list {
  display: grid;
  gap: 32px;
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .surfaces__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

.surfaces__list h3,
.builder__title {
  margin-bottom: 8px;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Mockups: sized in container units, so each scales as one object. */

.mock {
  container-type: inline-size;
  color: var(--paper-50);
}

.ticks {
  display: block;
  opacity: 0.45;
  background: repeating-linear-gradient(90deg, var(--paper-300) 0 1px, transparent 1px var(--tick, 0.7cqw));
}

.lock {
  width: 0.85em;
  height: 1em;
  flex: none;
}

.live-dot {
  width: 0.55em;
  height: 0.55em;
  flex: none;
  border-radius: 50%;
  background: var(--light);
  box-shadow: 0 0 0 0.25em rgb(245 184 92 / 0.18);
}

.mock-screen__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.1cqw;
  background: var(--ink-900);
  box-shadow:
    0 0 0 0.7cqw #0d1420,
    0 0 0 calc(0.7cqw + 1px) var(--line),
    0 40px 120px rgb(0 0 0 / 0.55);
}

.mock-screen__world,
.mock-screen__world img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hud {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 3.2cqw 3.6cqw 2.6cqw;
  background: linear-gradient(180deg, rgb(6 10 18 / 0.6) 0%, rgb(6 10 18 / 0) 38%, rgb(6 10 18 / 0) 62%, rgb(6 10 18 / 0.8) 100%);
}

.hud__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hud__brand {
  display: flex;
  align-items: center;
  gap: 1cqw;
  color: var(--paper-300);
  font-size: 1.5cqw;
}

.hud__brand .mark {
  width: 2.2cqw;
  height: 2.2cqw;
}

.hud__clock {
  text-align: right;
}

.hud__time {
  display: block;
  font-size: 6.4cqw;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hud__clock .ticks {
  width: 17cqw;
  height: 0.9cqw;
  margin: 1.1cqw 0 0 auto;
}

.hud__objective {
  max-width: 48%;
  margin-top: -3cqw;
  font-family: var(--serif);
  font-size: 3.6cqw;
  line-height: 1.05;
}

.hud__rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1cqw;
  margin: auto 0 0;
  padding: 1.5cqw 0 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
  font-size: 1.35cqw;
}

.hud__rail li {
  display: flex;
  flex-direction: column;
  gap: 0.3cqw;
}

.hud__rail li > span:first-child {
  font-weight: 500;
}

.hud__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  color: var(--paper-300);
}

.hud__rail .is-decided .hud__status {
  color: var(--paper-50);
}

.mock-phone__body {
  aspect-ratio: 400 / 868;
  padding: 3.4cqw;
  border-radius: 14cqw;
  background: linear-gradient(160deg, #2b3242 0%, #10151f 55%, #1c2331 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.08),
    0 30px 80px rgb(0 0 0 / 0.6);
}

.mock-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6cqw;
  height: 100%;
  padding: 13cqw 7cqw 8cqw;
  overflow: hidden;
  border-radius: 11cqw;
  background: radial-gradient(120% 60% at 50% 0%, #142036 0%, var(--ink-950) 70%);
  font-size: 4.6cqw;
  line-height: 1.35;
}

.ph__camera {
  position: absolute;
  top: 4cqw;
  left: 50%;
  width: 5cqw;
  height: 5cqw;
  margin-left: -2.5cqw;
  border-radius: 50%;
  background: #04060a;
}

.ph__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--paper-300);
}

.ph__time {
  color: var(--paper-50);
  font-size: 14cqw;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mock-phone .ticks {
  --tick: 2.6cqw;
  height: 3cqw;
  margin-top: -3cqw;
}

.ph__role {
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  padding: 7cqw 6cqw;
  border-radius: 6cqw;
  background: rgb(16 26 43 / 0.92);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ph__label {
  color: var(--paper-500);
  font-size: 3.8cqw;
}

.role-icon {
  width: 6cqw;
  height: 6cqw;
  color: var(--paper-300);
}

.role-icon--large {
  width: 12cqw;
  height: 12cqw;
  color: var(--paper-50);
}

.ph__title {
  font-family: var(--serif);
  font-size: 10.5cqw;
  line-height: 1;
}

.ph__text {
  color: var(--paper-300);
  font-size: 4.3cqw;
}

.ph__team ul {
  display: flex;
  gap: 3cqw;
  margin: 2.6cqw 0 0;
  padding: 0;
  list-style: none;
}

.ph__team li {
  display: grid;
  place-items: center;
  width: 12cqw;
  height: 12cqw;
  border-radius: 3.2cqw;
  background: rgb(16 26 43 / 0.85);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ph__team li.is-you {
  box-shadow: inset 0 0 0 1px var(--paper-300);
}

.ph__objective {
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  padding-top: 5cqw;
  border-top: 1px solid var(--line);
}

.ph__objective-text {
  font-family: var(--serif);
  font-size: 8cqw;
  line-height: 1.05;
}

.ph__foot {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  margin-top: auto;
  color: var(--paper-500);
  font-size: 3.8cqw;
}

.ph__round {
  margin-left: auto;
}

.mock-console__lid {
  padding: 1.8cqw 1.8cqw 2.4cqw;
  border-radius: 2.4cqw 2.4cqw 0 0;
  background: linear-gradient(180deg, #252c39 0%, #121822 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.07),
    0 30px 80px rgb(0 0 0 / 0.55);
}

.mock-console__screen {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  aspect-ratio: 16 / 10;
  padding: 2.8cqw;
  overflow: hidden;
  border-radius: 0.8cqw;
  background: radial-gradient(90% 70% at 20% 0%, #101b2d 0%, var(--ink-950) 70%);
  font-size: 2.3cqw;
  line-height: 1.3;
}

.mock-console__base {
  height: 2.4cqw;
  margin: 0 -4%;
  border-radius: 0 0 2.6cqw 2.6cqw;
  background: linear-gradient(180deg, #2c3341 0%, #161b25 100%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
}

.cs__bar {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding-bottom: 2cqw;
  border-bottom: 1px solid var(--line);
}

.cs__bar .mark {
  width: 2.8cqw;
  height: 2.8cqw;
}

.cs__title {
  font-weight: 500;
}

.cs__live {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  margin-left: auto;
  color: var(--paper-300);
}

.cs__meta {
  color: var(--paper-500);
}

.cs__grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs__clock {
  color: var(--paper-50);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.cs__card {
  display: flex;
  flex-direction: column;
  gap: 1.5cqw;
  padding: 2cqw 2.2cqw;
  border-radius: 1.6cqw;
  background: rgb(10 17 29 / 0.92);
  box-shadow: inset 0 0 0 1px var(--line);
}

.cs__card.is-selected {
  box-shadow: inset 0 0 0 1px var(--paper-300);
}

.cs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
}

.cs__team {
  font-weight: 500;
}

.cs__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  color: var(--paper-300);
  font-size: 0.9em;
}

.cs__status.is-decided {
  color: var(--paper-50);
}

.cs__choices {
  display: flex;
  gap: 0.8cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs__choices li {
  display: grid;
  place-items: center;
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 0.8cqw;
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.85em;
  font-weight: 600;
}

.cs__choices li.is-empty {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.cs__note {
  margin-top: auto;
  color: var(--paper-500);
  font-size: 0.85em;
  line-height: 1.3;
}

/* Trainers: the room, with the facts written over its dark side. */

.trainers {
  position: relative;
  isolation: isolate;
  display: grid;
}

.trainers__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainers .lead {
  margin-top: 24px;
  color: var(--paper-300);
}

.quote {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--light);
}

.quote p {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  text-wrap: balance;
}

.note {
  margin-top: 32px;
  color: var(--paper-300);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .trainers {
    align-items: center;
    min-height: min(92vh, 900px);
  }

  .trainers__image {
    position: absolute;
    inset: 0;
    z-index: -2;
  }

  .trainers__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg, var(--ink-950) 0%, rgb(6 10 18 / 0.86) 34%, rgb(6 10 18 / 0.25) 64%, rgb(6 10 18 / 0) 100%),
      linear-gradient(180deg, var(--ink-950) 0%, rgb(6 10 18 / 0) 16%, rgb(6 10 18 / 0) 84%, var(--ink-950) 100%);
  }

  .trainers__content {
    display: grid;
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 5vw, 88px);
    padding-block: var(--section);
  }
}

@media (max-width: 899px) {
  .trainers__image img {
    aspect-ratio: 16 / 10;
  }

  .trainers__content {
    padding-block: 48px var(--section);
  }

  .trainers__panel {
    margin-top: 48px;
  }
}

/* Team detail: the console's choice timeline, floating over the room. */

.md {
  padding: 2.6cqw 3cqw 2.8cqw;
  border-radius: 1.8cqw;
  background: rgb(8 13 23 / 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 40px 100px rgb(0 0 0 / 0.55);
  font-size: 1.75cqw;
  line-height: 1.35;
}

.md__bar {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding-bottom: 2cqw;
  border-bottom: 1px solid var(--line);
}

.md__bar .mark {
  width: 2.4cqw;
  height: 2.4cqw;
}

.md__title {
  font-weight: 500;
}

.md__sub {
  color: var(--paper-300);
}

.md__meta {
  margin-left: auto;
  color: var(--paper-500);
}

.md__decided {
  display: inline-flex;
  align-items: center;
  gap: 0.7cqw;
  padding: 0.5cqw 1.2cqw;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.md__chart {
  width: 100%;
  height: auto;
  margin-top: 2.4cqw;
  color: var(--paper-500);
}

.md-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.md-tick {
  fill: var(--paper-500);
  font: 400 19px var(--sans);
}

.md-role {
  fill: var(--paper-300);
  font: 500 21px var(--sans);
}

.md-track {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.md-link {
  stroke: var(--paper-500);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}

.md-decision {
  stroke: var(--paper-50);
  stroke-width: 1.5;
  stroke-dasharray: 2 5;
  opacity: 0.55;
}

.md-chip rect {
  fill: var(--ink-800);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.md-chip text {
  fill: var(--paper-50);
  font: 600 19px var(--sans);
}

.md-chip.is-changed rect {
  stroke: var(--paper-300);
}

.md-chip.is-decision rect {
  fill: var(--paper-50);
  stroke: var(--paper-50);
}

.md-chip.is-decision text {
  fill: var(--ink-950);
}

.md__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6cqw 3cqw;
  margin-top: 1.6cqw;
  padding-top: 2cqw;
  border-top: 1px solid var(--line);
}

.md__legend,
.md__notes {
  display: flex;
  gap: 0.8cqw 2.4cqw;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--paper-300);
}

.md__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.9cqw;
}

.md__notes {
  flex-direction: column;
  text-align: right;
}

.md-key {
  width: 1.9cqw;
  height: 1.9cqw;
  border-radius: 0.5cqw;
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.md-key.is-changed {
  box-shadow: inset 0 0 0 1px var(--paper-300);
}

.md-key.is-decision {
  background: var(--paper-50);
  box-shadow: none;
}

/* Worlds */

.worlds .lead {
  color: var(--paper-300);
}

.worlds__grid {
  display: grid;
  gap: 32px 20px;
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .worlds__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .world--feature {
    grid-column: 1 / -1;
  }

  .world--wide {
    grid-column: span 7;
  }

  .world--narrow {
    grid-column: span 5;
  }
}

/* The wide images set each row's height at 16:9; the narrow ones fill that height (cropping the sides). */
.world figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.world picture {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
  aspect-ratio: 16 / 9;
}

.world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 760px) {
  .world--narrow picture {
    aspect-ratio: auto;
  }

  .world--feature picture {
    aspect-ratio: 21 / 9;
  }
}

.world figcaption {
  margin-top: 14px;
  font-weight: 500;
}

.builder {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.builder__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
}

.builder p {
  max-width: 34em;
  color: var(--paper-300);
}

/* Audience: a world beside the list of who it is for. */

.audience__grid {
  display: grid;
  gap: 48px 72px;
}

@media (min-width: 900px) {
  .audience__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
}

.audience__media {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line);
}

.audience__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.audience .statement {
  margin-bottom: 32px;
}

.audience__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience__list li {
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.audience__list li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

/* Contact: the end card. */

.contact {
  padding-bottom: clamp(120px, 14vw, 200px);
  background: radial-gradient(60% 55% at 20% 62%, rgb(245 184 92 / 0.07) 0%, rgb(245 184 92 / 0) 70%);
}

.contact__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.contact__art {
  order: -1;
  max-width: 360px;
}

.endcard-art {
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .contact__art {
    order: 0;
    max-width: none;
  }
}

.contact .display {
  max-width: 8.5em;
}

.contact .lead {
  margin-top: 28px;
  color: var(--paper-300);
}

.contact__address {
  margin-top: 22px;
  color: var(--paper-500);
  font-size: 0.9375rem;
}

.contact__address a {
  color: var(--paper-300);
}

/* Footer */

.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  color: var(--paper-500);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.site-footer .brand {
  color: var(--paper-50);
  font-size: 0.9375rem;
}

.site-footer__legal {
  margin-left: auto;
}

.site-footer__nav {
  display: flex;
  gap: 24px;
}

.site-footer__nav a {
  color: var(--paper-300);
}

/* Text pages */

.article {
  padding-block: clamp(80px, 10vw, 140px);
}

.article .statement {
  margin-bottom: 40px;
}

.article p {
  max-width: 36em;
  color: var(--paper-300);
}

.article p + p {
  margin-top: 1.1em;
}

.article .muted {
  color: var(--paper-500);
  font-size: 0.9375rem;
}

/* Reduced motion: no scrubbing; the first frame stands still and the chapters read as one text. */

@media (prefers-reduced-motion: reduce) {
  .story {
    height: auto;
  }

  .story__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    min-height: 100svh;
  }

  .story__canvas,
  .story__cue {
    display: none;
  }

  .story__chapters {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-block: calc(var(--header) + 48px) 96px;
  }

  .story__chapter {
    --o: 1;
    transform: none;
    pointer-events: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
