/* Sovereign Strain: the website.
   Layout: one continuous dark room, no bands and no frames. Pictures bleed off the edges and fade into the dark;
   the few panels are frosted glass over slow glows; every section moves in layers as it scrolls (parallax), with the
   words as the still point.
   One deliberate dark look, taken from the game itself, so no light variant. */

@font-face { font-family: "Arkibal Serif"; src: url("../fonts/ArkibalSerif-Regular.woff2") format("woff2"); font-weight: 400 499; font-style: normal; font-display: swap; }
@font-face { font-family: "Arkibal Serif"; src: url("../fonts/ArkibalSerif-Medium.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Kineks Text"; src: url("../fonts/KineksText-Regular.woff2") format("woff2"); font-weight: 300 449; font-style: normal; font-display: swap; }
@font-face { font-family: "Kineks Text"; src: url("../fonts/KineksText-Oblique.woff2") format("woff2"); font-weight: 300 449; font-style: italic; font-display: swap; }
@font-face { font-family: "Kineks Text"; src: url("../fonts/KineksText-Medium.woff2") format("woff2"); font-weight: 450 549; font-style: normal; font-display: swap; }
@font-face { font-family: "Kineks Text"; src: url("../fonts/KineksText-SemiBold.woff2") format("woff2"); font-weight: 550 700; font-style: normal; font-display: swap; }

:root {
  /* colour: the game's war room */
  --ink: #14070b;          /* the room */
  --wine: #1d0a10;
  --parchment: #f3e8d8;    /* text */
  --dust: #cdb2a6;         /* quiet text */
  --brass: #c9a25e;        /* small capitals, the globe's ring */
  --brass-hi: #e3c58a;
  --strain: #e8a3e0;       /* touch: everything you can press is the colour of the strain */
  --strain-deep: #7c2f78;
  --cure: #a9c4dc;
  --glow-wine: rgba(110, 30, 52, 0.55);
  --glow-strain: rgba(150, 56, 140, 0.32);
  --glow-sea: rgba(24, 52, 96, 0.42);
  --glow-brass: rgba(201, 162, 94, 0.14);
  --glass: linear-gradient(140deg, rgba(255, 236, 226, 0.11), rgba(255, 236, 226, 0.035) 55%, rgba(227, 154, 219, 0.06));
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.03);

  /* type */
  --display: "Arkibal Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Kineks Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --step-ledger: 0.8125rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.3rem, 1.35rem + 3vw, 3.8rem);
  --step-4: clamp(3rem, 1.6rem + 4.6vw, 5.9rem);

  /* space and motion */
  --gut-l: max(16px, min(5vw, 72px), env(safe-area-inset-left, 0px));
  --gut-r: max(16px, min(5vw, 72px), env(safe-area-inset-right, 0px));
  --band: clamp(88px, 11vw, 168px);
  --settle: cubic-bezier(0.16, 1, 0.3, 1);
  --pk: 1; /* how strongly layers move with the scroll; js/site.js sets --p on each [data-parallax] section */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.88 0 0 0 0 0.78 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --pk: 0.55; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font: 400 var(--step-0) / 1.6 var(--text);
  font-kerning: normal;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: rgba(20, 7, 11, 0.6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--grain);
  z-index: 40;
}
main, .footer { position: relative; }
/* The glows and bleeding pictures reach past the sides on purpose; clip them sideways only, so nothing gets a hard edge top or bottom. */
main { overflow-x: clip; }
img, video, canvas, svg { max-width: 100%; }
img, video { display: block; height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--strain); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ the room behind everything */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmos span { position: absolute; border-radius: 50%; filter: blur(40px); }
.atmos-a { width: 70vmax; height: 70vmax; left: -22vmax; top: -18vmax; background: radial-gradient(closest-side, var(--glow-wine), transparent 98%); }
.atmos-b { width: 60vmax; height: 60vmax; right: -24vmax; top: 18vh; background: radial-gradient(closest-side, var(--glow-strain), transparent 98%); }
.atmos-c { width: 64vmax; height: 64vmax; left: 18vw; bottom: -36vmax; background: radial-gradient(closest-side, var(--glow-sea), transparent 98%); }
@media (prefers-reduced-motion: no-preference) {
  .atmos-a { animation: drift-a 46s ease-in-out infinite alternate; }
  .atmos-b { animation: drift-b 58s ease-in-out infinite alternate; }
  .atmos-c { animation: drift-c 52s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate3d(8vw, 10vh, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-10vw, 14vh, 0) scale(0.92); } }
@keyframes drift-c { to { transform: translate3d(-6vw, -12vh, 0) scale(1.1); } }

/* ------------------------------------------------------------------ shared pieces */
.ledger {
  font: 600 var(--step-ledger) / 1.5 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  text-wrap: balance;
}
.ledger span[aria-hidden] { padding-inline: 0.45em; color: rgba(201, 162, 94, 0.45); }
.section-title {
  font: 400 var(--step-3) / 1.04 var(--display);
  letter-spacing: -0.01em;
  color: var(--parchment);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(20, 7, 11, 0.6);
}
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--parchment); max-width: 34em; }
p { max-width: 38em; }
.text-link {
  color: var(--strain);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color 0.4s var(--settle);
}
.text-link:hover { color: var(--parchment); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: var(--parchment);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.5s var(--settle), box-shadow 0.5s var(--settle), background 0.5s var(--settle);
}
.button:hover { transform: translateY(-2px); }
.button--strain {
  background: linear-gradient(135deg, #b75cab, #7c2f78 70%);
  box-shadow: 0 18px 44px -14px rgba(215, 123, 208, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.button--strain:hover { box-shadow: 0 22px 54px -12px rgba(215, 123, 208, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.button--glass, .glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--glass-edge), 0 30px 80px -36px rgba(0, 0, 0, 0.8);
}
.glass { border-radius: 30px; }
figcaption { font-size: 0.9375rem; color: var(--dust); }

.collage img, .collage video, .plate-art img, .sides-art img, .headset-art img { mix-blend-mode: lighten; }

/* Pictures fade into the room instead of sitting in frames. Each fade is ONE gradient: Chrome leaves a 1px seam at
   the edge when two mask layers are combined. */

/* Each [data-parallax] section gets --p: how far (px) its middle sits from the middle of the screen. Layers move by
   a share of it: a positive share runs ahead of the scroll (near), a negative one lags behind (far). */
[data-parallax] { --p: 0; }
.depth-near { translate: 0 calc(var(--p) * 0.08px * var(--pk)); }
.depth-far { translate: 0 calc(var(--p) * -0.12px * var(--pk)); }

/* ------------------------------------------------------------------ masthead: a sheet of glass */
.masthead {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: linear-gradient(180deg, rgba(20, 7, 11, 0.94), rgba(20, 7, 11, 0.8));
  -webkit-backdrop-filter: blur(32px) saturate(130%);
  backdrop-filter: blur(32px) saturate(130%);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-left: var(--gut-l);
  padding-right: var(--gut-r);
}
.wordmark {
  font: 400 1.375rem / 1 var(--display);
  letter-spacing: 0.01em;
  color: var(--brass-hi);
  text-decoration: none;
  white-space: nowrap;
}
.masthead-nav { display: flex; gap: 30px; align-items: center; }
.masthead-nav a {
  font: 600 var(--step-ledger) / 1 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dust);
  text-decoration: none;
  padding-block: 12px;
  transition: color 0.4s var(--settle);
}
.masthead-nav a:hover { color: var(--parchment); }
.masthead-nav .masthead-news { color: var(--strain); }
@media (max-width: 760px) {
  .masthead-nav a:not(.masthead-news) { display: none; }
  .wordmark { font-size: 1.2rem; }
}

/* ------------------------------------------------------------------ hero: the globe */
.hero { position: relative; }
.hero-dust {
  position: absolute;
  inset: -12% 0 -12%;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle, rgba(243, 232, 216, 0.7) 0 1px, transparent 1.6px) 0 0 / 137px 151px,
    radial-gradient(circle, rgba(243, 232, 216, 0.45) 0 0.8px, transparent 1.4px) 41px 63px / 211px 173px,
    radial-gradient(circle, rgba(227, 197, 138, 0.6) 0 1.1px, transparent 1.8px) 97px 17px / 293px 251px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 65% 45%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 65% 45%, #000, transparent 75%);
  translate: 0 calc(var(--p) * -0.3px * var(--pk));
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding-left: var(--gut-l);
  padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 88px);
}
.hero-copy { display: grid; gap: 22px; align-content: center; min-width: 0; translate: 0 calc(var(--p) * -0.05px * var(--pk)); }
.hero-title {
  font: 400 var(--step-4) / 0.96 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(20, 7, 11, 0.7);
}
.hero-second {
  font: 400 clamp(1.5rem, 1rem + 1.8vw, 2.4rem) / 1.15 var(--display);
  color: var(--brass-hi);
  margin-top: -6px;
}
.hero-body { color: var(--dust); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 8px; }

.globe { position: relative; min-width: 0; margin-right: calc(-0.5 * var(--gut-r)); translate: 0 calc(var(--p) * 0.1px * var(--pk)); }
.globe-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: min(720px, calc(100vh - 210px)); margin-inline: auto; }
.globe-stage::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 110, 180, 0.22), rgba(150, 56, 140, 0.12) 60%, transparent 98%);
  filter: blur(10px);
}
.globe-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
  border-radius: 50%;
}
.globe-stage canvas:focus-visible { outline-offset: -14px; border-radius: 50%; }
.globe-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 1.2s var(--settle); }
.globe.is-live .globe-still { opacity: 0; }
.globe.is-static canvas { display: none; }
.globe-tip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 10, 18, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--glass-edge);
  font: 600 var(--step-ledger) / 1.2 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  white-space: nowrap;
}
.globe-readout { position: relative; display: grid; gap: 12px; max-width: 34rem; margin: -5% auto 0; }
.globe-prompt { font: 400 1.5rem / 1.2 var(--display); color: var(--parchment); min-height: 2.4em; text-wrap: balance; }
.globe[data-phase="ready"] .globe-prompt { color: var(--strain); }
.globe-stats { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: start; }
.globe-stats dt { font: 600 var(--step-ledger) / 1.4 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.globe-stats dd { font: 400 1.75rem / 1.1 var(--display); font-variant-numeric: tabular-nums; }
.globe-stats dd span { font: inherit; }
.globe-bar { display: block; width: 140px; height: 3px; margin-top: 7px; border-radius: 999px; background: rgba(169, 196, 220, 0.16); overflow: hidden; }
.globe-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7fa4c8, var(--cure)); box-shadow: 0 0 12px rgba(169, 196, 220, 0.6); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--settle); }
.globe-line { font: italic 400 var(--step-0) / 1.5 var(--text); color: var(--dust); min-height: 3em; text-wrap: pretty; }
.globe-after { display: flex; flex-wrap: wrap; gap: 8px 28px; }

@media (max-width: 860px) {
  /* On a phone the globe comes straight after the headline, before the paragraph. */
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-right: var(--gut-r); gap: 18px; }
  .hero-copy { display: contents; }
  .hero-copy > .ledger { order: 1; }
  .hero-title { order: 2; }
  .hero-second { order: 3; }
  .globe { order: 4; margin-right: 0; }
  .hero-body { order: 5; }
  .hero-actions { order: 6; }
  .globe-readout { margin: -2% 0 0; }
}

/* ------------------------------------------------------------------ the tally: a line of small capitals, nothing round it */
.tally { padding: 8px var(--gut-r) clamp(24px, 4vw, 56px) var(--gut-l); }
.tally-line { max-width: 62rem; margin-inline: auto; text-align: center; line-height: 2.1; translate: 0 calc(var(--p) * -0.06px * var(--pk)); }

/* ------------------------------------------------------------------ street: the film melts into the page, then a loose collage */
.film {
  position: relative;
  height: clamp(440px, 60vw, 880px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 2%, #000 18%, #000 78%, transparent 98%);
  mask-image: linear-gradient(180deg, transparent 2%, #000 18%, #000 78%, transparent 98%);
}
.film-video {
  position: absolute;
  left: 0;
  width: 100%;
  top: -14%;
  height: 128%;
  object-fit: cover;
  translate: 0 calc(var(--p) * -0.16px * var(--pk));
}
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 18% 78%, rgba(20, 7, 11, 0.82), rgba(20, 7, 11, 0) 70%);
}
.film-copy {
  position: absolute;
  left: 0;
  bottom: 22%;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 42rem;
  padding: 0 var(--gut-r) 0 var(--gut-l);
  translate: 0 calc(var(--p) * 0.08px * var(--pk));
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(24px, 4vw, 64px) var(--gut-r) var(--band) var(--gut-l);
}
.collage figure { position: relative; display: grid; gap: 10px; }
.collage-tall { grid-column: 1 / span 5; grid-row: 1 / span 3; margin-left: calc(-1 * var(--gut-l)); align-self: start; }
.collage-tall img { translate: 0 calc(var(--p) * -0.1px * var(--pk)); }
.collage-tall img {
  -webkit-mask-image: radial-gradient(ellipse 100% 52% at 0% 50%, #000 52%, transparent 94%);
  mask-image: radial-gradient(ellipse 100% 52% at 0% 50%, #000 52%, transparent 94%);
}
.collage-tall figcaption { padding-left: var(--gut-l); }
.collage-copy { grid-column: 7 / span 6; grid-row: 1; display: grid; gap: 20px; align-self: end; padding-top: clamp(24px, 6vw, 96px); }
.collage-copy > p:not(.lead) { color: var(--dust); }
.collage-wide { grid-column: 6 / -1; grid-row: 2; margin-right: calc(-1 * var(--gut-r)); margin-top: clamp(24px, 4vw, 56px); }
.collage-wide img { translate: 0 calc(var(--p) * 0.05px * var(--pk)); }
.collage-wide img {
  -webkit-mask-image: radial-gradient(ellipse 100% 52% at 100% 50%, #000 52%, transparent 94%);
  mask-image: radial-gradient(ellipse 100% 52% at 100% 50%, #000 52%, transparent 94%);
}
.collage-wide figcaption { justify-self: end; padding-right: var(--gut-r); margin-top: -28px; }
.collage-film { grid-column: 5 / span 4; grid-row: 3; margin-top: -9%; }
.collage-film video { translate: 0 calc(var(--p) * 0.14px * var(--pk)); }
.collage-film video {
  width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 58%, transparent 98%);
}
.collage-film figcaption { text-align: center; margin-top: -18px; }
@media (max-width: 860px) {
  .film { height: auto; aspect-ratio: 4 / 5; }
  .film-copy { bottom: 16%; }
  .collage { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .collage-tall, .collage-copy, .collage-wide, .collage-film { grid-column: 1; grid-row: auto; }
  .collage-copy { order: -1; padding-top: 0; }
  .collage-tall { margin-left: calc(-1 * var(--gut-l)); margin-right: calc(-1 * var(--gut-r)); }
  .collage-tall img {
    -webkit-mask-image: linear-gradient(180deg, transparent 2%, #000 10%, #000 84%, transparent 98%);
    mask-image: linear-gradient(180deg, transparent 2%, #000 10%, #000 84%, transparent 98%);
  }
  .collage-tall figcaption { padding-left: var(--gut-l); margin-top: -20px; }
  .collage-wide { margin-left: calc(-1 * var(--gut-l)); margin-top: 0; }
  .collage-film { margin-top: -8%; }
}

/* ------------------------------------------------------------------ the audience chamber */
.leaders { position: relative; }
.leaders::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 18%;
  width: 70%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(120, 36, 70, 0.45), transparent 98%);
  translate: 0 calc(var(--p) * -0.2px * var(--pk));
}
.leaders-inner { position: relative; padding: var(--band) var(--gut-r) var(--band) var(--gut-l); display: grid; gap: clamp(32px, 4vw, 56px); }
.leaders-head { display: grid; gap: 18px; max-width: 46rem; }
.chamber { display: grid; gap: clamp(28px, 4vw, 52px); }
.seals { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.seal {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 104px;
  text-align: center;
  font: 600 0.8125rem / 1.25 var(--text);
  color: var(--dust);
  transition: color 0.4s var(--settle);
}
.seal img {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 18%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 230, 240, 0.16), rgba(90, 30, 60, 0.35) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.5s var(--settle), transform 0.5s var(--settle);
}
.seal:hover img { transform: translateY(-3px); }
.seal[aria-pressed="true"] { color: var(--parchment); }
.seal[aria-pressed="true"] img { box-shadow: 0 0 0 2px rgba(232, 163, 224, 0.9), 0 0 28px rgba(232, 163, 224, 0.45), 0 14px 30px -12px rgba(0, 0, 0, 0.7); }

.audience { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.holo { display: grid; gap: 18px; justify-items: center; text-align: center; translate: 0 calc(var(--p) * -0.06px * var(--pk)); }
.holo-stage { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
.holo-stage::before {
  content: "";
  position: absolute;
  inset: 4% 10% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 190, 236, 0.16), transparent 98%);
}
.holo-stage::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 3%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 197, 138, 0.42), rgba(201, 162, 94, 0.08) 65%, transparent 98%);
  filter: blur(2px);
}
.holo-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 66%, transparent 96%);
  filter: drop-shadow(0 0 30px rgba(160, 196, 236, 0.22));
  transition: opacity 0.5s var(--settle), transform 0.7s var(--settle);
}
.holo.is-changing .holo-stage img { opacity: 0; transform: translateY(10px); }
@media (prefers-reduced-motion: no-preference) {
  .holo-stage img { animation: hover-float 7s ease-in-out infinite alternate; }
}
@keyframes hover-float { from { translate: 0 0; } to { translate: 0 -8px; } }
.holo-name { font: 400 2.25rem / 1.05 var(--display); text-shadow: 0 2px 24px rgba(20, 7, 11, 0.7); }
.holo figcaption { display: grid; gap: 8px; justify-items: center; }
.holo-quote { font: italic 400 var(--step-1) / 1.4 var(--text); color: var(--brass-hi); max-width: 22em; }

.card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(28px, 3.4vw, 48px);
  translate: 0 calc(var(--p) * 0.05px * var(--pk));
}
.card::before {
  content: "";
  position: absolute;
  inset: auto -6% -10% 30%;
  height: 60%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 56, 140, 0.35), transparent 98%);
  filter: blur(20px);
}
.card .ledger { color: var(--brass-hi); }
.card-title { font: 400 2.1rem / 1.1 var(--display); text-wrap: balance; }
.card-text { font-size: var(--step-1); line-height: 1.5; }
.card-ask { font: 600 var(--step-ledger) / 1.5 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-top: 8px; }
.choices { display: grid; gap: 4px; }
.choice {
  position: relative;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px 10px 40px;
  border-radius: 999px;
  text-align: left;
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--strain);
  transition: background 0.4s var(--settle), color 0.4s var(--settle), opacity 0.4s var(--settle);
}
.choice::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor;
}
.choice:hover { background: rgba(232, 163, 224, 0.1); color: #f6cdf0; }
.choice[aria-pressed="true"] { background: rgba(232, 163, 224, 0.14); color: var(--parchment); }
.choice[aria-pressed="true"]::before { background: var(--strain); box-shadow: 0 0 12px rgba(232, 163, 224, 0.8); }
.choices.is-answered .choice:not([aria-pressed="true"]) { opacity: 0.4; }
.card-result { padding-top: 8px; font-size: var(--step-0); color: var(--parchment); }
.card-result strong { font: 600 var(--step-ledger) / 1.5 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-hi); margin-right: 0.7em; }
.card-next { justify-self: start; }
.footnote { font-size: 0.9375rem; color: var(--dust); }
@media (max-width: 860px) {
  .audience { grid-template-columns: minmax(0, 1fr); }
  .holo-stage { width: min(100%, 330px); }
  .seals { gap: 12px 8px; }
  .seal { width: 92px; }
  .seal img { width: 66px; height: 66px; }
}

/* ------------------------------------------------------------------ cities: one big picture, then a staggered drift of four */
.cities { position: relative; }
.cities::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 30%;
  width: 60%;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-sea), transparent 98%);
  translate: 0 calc(var(--p) * -0.2px * var(--pk));
}
.cities-inner { position: relative; padding: var(--band) var(--gut-r) var(--band) var(--gut-l); display: grid; gap: clamp(36px, 5vw, 72px); }
.cities-head { display: grid; gap: 18px; max-width: 46rem; }
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px); }
.plate { display: grid; gap: 14px; align-content: start; min-width: 0; }
.plate-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 98%);
}
.plate-art { margin-inline: -6%; }
.plate-copy { display: grid; gap: 6px; position: relative; margin-top: -26px; }
.plate-copy p:last-child { color: var(--dust); font-size: 1.0625rem; }
.plate-title { font: 400 var(--step-2) / 1.1 var(--display); text-shadow: 0 2px 20px rgba(20, 7, 11, 0.8); }
/* After the capital, the right-hand pictures (the 3rd and 5th) sit lower and run ahead of the scroll. */
.plate:nth-child(even) .plate-art img { translate: 0 calc(var(--p) * -0.04px * var(--pk)); }
.plate:nth-child(odd):not(.plate--capital) { margin-top: clamp(0px, 8vw, 120px); }
.plate:nth-child(odd) .plate-art img { translate: 0 calc(var(--p) * 0.06px * var(--pk)); }
.plate--capital {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: end;
  gap: clamp(20px, 3vw, 48px);
}
.plate--capital .plate-art { margin: 0 0 0 calc(-1 * var(--gut-l)); }
.plate--capital .plate-art img {
  -webkit-mask-image: radial-gradient(ellipse 100% 52% at 0% 50%, #000 52%, transparent 94%);
  mask-image: radial-gradient(ellipse 100% 52% at 0% 50%, #000 52%, transparent 94%);
}
.plate--capital .plate-copy { margin: 0 0 8% -16%; }
.plate--capital .plate-title { font-size: 2.6rem; }
@media (max-width: 760px) {
  .plates { grid-template-columns: minmax(0, 1fr); }
  .plate:nth-child(odd):not(.plate--capital) { margin-top: 0; }
  .plate--capital { grid-template-columns: minmax(0, 1fr); }
  .plate--capital .plate-art { margin-right: calc(-1 * var(--gut-r)); }
  .plate--capital .plate-copy { margin: -30px 0 0; }
}

/* ------------------------------------------------------------------ both sides */
.sides { position: relative; }
.sides-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 88px);
  padding: var(--band) var(--gut-r) var(--band) var(--gut-l);
}
.sides-title { grid-column: 1 / -1; max-width: 20ch; }
.side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.side p:not(.ledger) { color: var(--dust); font-size: var(--step-1); line-height: 1.5; }
.side--strain { padding-top: clamp(0px, 4vw, 64px); translate: 0 calc(var(--p) * -0.05px * var(--pk)); }
.side--strain .ledger:first-child { color: var(--strain); }
.side--cure .ledger:first-child { color: var(--cure); }
.ledger--skills { color: var(--parchment); font-size: 0.875rem; margin-top: 6px; }
.sides-art { margin: 10px calc(-1 * var(--gut-r)) 0 -8%; }
.sides-art img { translate: 0 calc(var(--p) * 0.07px * var(--pk)); }
.sides-art img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 100% 52% at 100% 50%, #000 52%, transparent 94%);
  mask-image: radial-gradient(ellipse 100% 52% at 100% 50%, #000 52%, transparent 94%);
}
.sides-together { grid-column: 1 / -1; max-width: 48rem; justify-self: center; text-align: center; font-size: var(--step-1); padding-top: clamp(8px, 3vw, 40px); }
.sides-together .ledger { display: block; margin-bottom: 8px; }
@media (max-width: 860px) {
  .sides-inner { grid-template-columns: minmax(0, 1fr); }
  .side--strain { padding-top: 0; }
  .sides-art { margin-left: calc(-1 * var(--gut-l)); }
  .sides-together { text-align: left; justify-self: start; }
}

/* ------------------------------------------------------------------ headset */
.headset {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: var(--band);
  padding-right: var(--gut-r);
}
.headset-art { position: relative; }
.headset-art img { translate: 0 calc(var(--p) * -0.08px * var(--pk)); }
.headset-art img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 100% 52% at 0% 50%, #000 52%, transparent 94%);
  mask-image: radial-gradient(ellipse 100% 52% at 0% 50%, #000 52%, transparent 94%);
}
.headset-copy { display: grid; gap: 18px; min-width: 0; margin-left: -10%; translate: 0 calc(var(--p) * 0.05px * var(--pk)); }
@media (max-width: 860px) {
  .headset { grid-template-columns: minmax(0, 1fr); padding-left: var(--gut-l); }
  .headset-art { margin-left: calc(-1 * var(--gut-l)); margin-right: calc(-1 * var(--gut-r)); }
  .headset-art img {
    -webkit-mask-image: linear-gradient(180deg, transparent 2%, #000 14%, #000 78%, transparent 98%);
    mask-image: linear-gradient(180deg, transparent 2%, #000 14%, #000 78%, transparent 98%);
  }
  .headset-copy { margin: -12% 0 0; }
}

/* ------------------------------------------------------------------ ways to win */
.win { position: relative; }
.win::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 10%;
  width: 60%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-brass), transparent 98%);
  translate: 0 calc(var(--p) * -0.2px * var(--pk));
}
.win-inner { position: relative; padding: var(--band) var(--gut-r) var(--band) var(--gut-l); display: grid; gap: clamp(36px, 5vw, 64px); }
.win-head { display: grid; gap: 18px; }
.wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(32px, 6vw, 96px); }
.win-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 24px; align-content: start; }
.win-item:nth-child(even) { margin-top: clamp(0px, 5vw, 72px); translate: 0 calc(var(--p) * 0.05px * var(--pk)); }
.glyph {
  grid-row: span 2;
  width: 76px;
  height: 76px;
  padding: 14px;
  border-radius: 50%;
  fill: none;
  stroke: var(--brass-hi);
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  background: radial-gradient(circle at 35% 30%, rgba(255, 240, 220, 0.14), rgba(201, 162, 94, 0.06) 60%, rgba(201, 162, 94, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px -18px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 162, 94, 0.1);
}
.win-name { font: 400 var(--step-2) / 1.1 var(--display); align-self: end; }
.win-item p { color: var(--dust); }
@media (max-width: 760px) {
  .wins { grid-template-columns: minmax(0, 1fr); }
  .win-item:nth-child(even) { margin-top: 0; }
  .win-item { grid-template-columns: 64px minmax(0, 1fr); }
  .glyph { width: 64px; height: 64px; padding: 12px; }
}

/* ------------------------------------------------------------------ every screen */
.screens-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: var(--band) var(--gut-r) var(--band) var(--gut-l);
}
.screens-copy { display: grid; gap: 20px; min-width: 0; }
.screens-copy > p:not(.lead):not(.ledger) { color: var(--dust); }
.screens-phone {
  position: relative;
  width: min(100%, 290px);
  justify-self: center;
  rotate: -6deg;
  translate: 0 calc(var(--p) * 0.12px * var(--pk));
}
.screens-phone img { width: 100%; border-radius: 34px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 60px rgba(150, 56, 140, 0.25); }
.screens-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
@media (max-width: 760px) {
  .screens-inner { grid-template-columns: minmax(0, 1fr); }
  .screens-phone { justify-self: center; width: min(100%, 230px); }
}

/* ------------------------------------------------------------------ release news */
.news { position: relative; }
.news::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -10%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 70%, rgba(150, 56, 140, 0.36), transparent 98%);
  translate: 0 calc(var(--p) * -0.15px * var(--pk));
}
.news-inner { position: relative; padding: var(--band) var(--gut-r) var(--band) var(--gut-l); display: grid; gap: 22px; justify-items: center; text-align: center; }
.news-inner p { margin-inline: auto; }
.news-title { font: 400 clamp(2.8rem, 1.4rem + 5vw, 5.8rem) / 1 var(--display); letter-spacing: -0.015em; text-wrap: balance; max-width: 14ch; text-shadow: 0 4px 40px rgba(20, 7, 11, 0.7); }
.news-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; max-width: none; color: var(--dust); }
.news-form { display: grid; gap: 10px; width: min(100%, 34rem); margin-top: 8px; }
.news-form label { font: 600 var(--step-ledger) / 1.5 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.news-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: var(--glass-edge); }
.news-row input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--parchment);
  font: inherit;
}
.news-note { font-size: 0.9375rem; color: var(--dust); }

/* ------------------------------------------------------------------ footer */
.footer-inner { padding: 40px var(--gut-r) 64px var(--gut-l); display: grid; gap: 14px; justify-items: center; text-align: center; }
.footer-inner p { margin-inline: auto; }
.footer-inner p:not(.ledger):not(.wordmark) { color: var(--dust); font-size: 0.9375rem; opacity: 0.85; }
.wordmark--small { font-size: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  [data-parallax] { --p: 0 !important; }
}
