@font-face {
  font-family: "Chido";
  src: url("fonts/CHIDO-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

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

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

@font-face {
  font-family: "Urbanist";
  src: url("fonts/Urbanist-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("fonts/Urbanist-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --page: #f2ead7;
  --page-deep: #e7ddc7;
  --hero-background: #041425;
  --surface: #fff8f0;
  --surface-raised: #e4f3ee;
  --text: #0b1d3a;
  --text-soft: #3e5365;
  --navy: #0b1d3a;
  --coral: #ff6b6b;
  --coral-hover: #ff8a85;
  --accent-ink: #aa303b;
  --status-ink: #0b645e;
  --focus-ring: #0b1d3a;
  --turquoise: #0abab5;
  --turquoise-soft: #8bded8;
  --gold: #f4c95d;
  --spark: #7cffa9;
  --line: rgba(11, 29, 58, 0.16);
  --line-strong: rgba(11, 29, 58, 0.48);
  --shadow: 0 30px 90px rgba(87, 66, 35, 0.18);
  --radius: 24px;
  --radius-input: 14px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  background: var(--coral);
  color: #311218;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pointer-wash {
  position: fixed;
  inset: 0;
  /* Inside the hero, below its bottom fade, so mouse glow cannot reveal a seam. */
  z-index: -2;
  pointer-events: none;
  opacity: 0.25;
  background: radial-gradient(430px circle at var(--pointer-x, 50%) var(--pointer-y, 30%), rgba(10, 186, 181, 0.16), transparent 72%);
}

.money-spark {
  position: fixed;
  z-index: 55;
  pointer-events: none;
  color: var(--spark);
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 0.35px #146941;
  text-shadow: 0 1px 2px rgba(20, 105, 65, 0.48), 0 0 8px rgba(124, 255, 169, 0.72);
  mix-blend-mode: normal;
  will-change: transform, opacity;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(87, 66, 35, 0.18));
}

.brand span {
  overflow: hidden;
  font-family: "Staatliches", "Urbanist", sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  /* The requested dark opening transitions to the light page at the crime tape. */
  --page-deep: var(--hero-background);
  --surface: #071b2f;
  --text: #fff8f0;
  --text-soft: #d6cbbb;
  --accent-ink: #ff6b6b;
  --status-ink: #8bded8;
  --focus-ring: #f4c95d;
  --line-strong: rgba(255, 248, 240, 0.55);
  color: var(--text);
  color-scheme: dark;
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--page-deep);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > picture {
  display: contents;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.035) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform 180ms ease-out;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 20, 37, 0.96) 0%, rgba(4, 20, 37, 0.84) 37%, rgba(4, 20, 37, 0.22) 67%, rgba(4, 20, 37, 0.16) 100%),
    linear-gradient(180deg, rgba(4, 20, 37, 0.3), rgba(4, 20, 37, 0.18) 64%, var(--hero-background));
}

.hero::after {
  /* Keep the image-to-tape fade opaque at every responsive breakpoint. */
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: clamp(140px, 22vh, 260px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 20, 37, 0), var(--hero-background) calc(100% - 1rem));
}

.hero-inner {
  width: min(calc(100% - 2.5rem), var(--wrap));
  min-height: max(760px, 100svh);
  margin-inline: auto;
  display: grid;
  align-items: center;
  padding: 96px 0 4rem;
}

.hero-copy {
  grid-area: 1 / 1;
  min-width: 0;
  width: min(100%, 860px);
}

/* Hero layers: background below content; both panels share one grid cell.
   The room enters only after a saved game signup with newsletter interest. */
.hero-copy,
.secret-room {
  transition: transform 780ms var(--ease), opacity 480ms ease;
}

.hero.is-secret-open .hero-copy.reveal {
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
}

.hero.is-secret-open .hero-image {
  opacity: 0;
}

.hero-image {
  transition: transform 180ms ease-out, opacity 600ms ease;
}

.secret-room {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  transform: translateX(110vw);
  opacity: 0;
  pointer-events: none;
}

.secret-room[hidden],
.newsletter-about[hidden] { display: none; }

.hero.is-secret-open .secret-room {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.secret-character {
  grid-column: 1;
  width: 100%;
  mask-image: linear-gradient(180deg, transparent, #000 6% 88%, transparent), linear-gradient(90deg, transparent, #000 8% 90%, transparent);
  mask-composite: intersect;
}

.secret-content {
  grid-column: 2;
  min-width: 0;
  text-align: center;
}

.secret-saved {
  margin: 0 0 0.8rem;
  color: var(--turquoise-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.secret-intro h2 {
  margin: 0;
  color: var(--gold);
  font: 400 clamp(2.8rem, 5vw, 4.3rem)/0.98 "Chido", sans-serif;
  letter-spacing: -0.025em;
}

.secret-intro > p:last-child {
  margin: 1rem 0 1.5rem;
  color: var(--text);
  font-size: 1rem;
}

.substack-window {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 93, 0.5);
  border-radius: var(--radius-input);
  background: #fff;
  color-scheme: light;
  box-shadow: 0 18px 55px rgba(2, 11, 22, 0.3);
}

.secret-email {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  background: var(--hero-background);
}

.secret-email input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  text-overflow: ellipsis;
}

.secret-email button { font-size: 0.85rem; white-space: nowrap; }
.copy-status { min-height: 1.4em; margin: 0.4rem 0 0.8rem; color: var(--text-soft); font-size: 0.76rem; }

.substack-window iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  background: transparent;
}

.substack-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  margin: 0;
  padding: 1rem;
  color: var(--navy);
  font-size: 0.9rem;
}

.substack-loading[hidden] { display: none; }

.secret-fallback,
.secret-privacy {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.secret-fallback a { color: var(--turquoise-soft); text-underline-offset: 0.2em; }

.text-button {
  min-height: 44px;
  border: 0;
  padding: 0.5rem 0;
  background: transparent;
  color: var(--turquoise-soft);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.text-button:hover { color: var(--text); }
.text-button:active { transform: translateY(1px); }
.secret-back { margin-top: 0.5rem; font-size: 0.9rem; }

.newsletter-choice {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.35rem;
}

.newsletter-choice .opt-in {
  min-height: 44px;
  align-items: center;
  margin-top: 0;
}

.newsletter-info {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.newsletter-info span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.newsletter-info:hover span,
.newsletter-info[aria-expanded="true"] span { background: var(--gold); color: var(--navy); }

.newsletter-about {
  max-width: 570px;
  margin-block: 0.4rem 1rem;
  padding: 1.15rem 1.3rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  background: var(--hero-background);
  color: var(--text);
  font-size: 0.88rem;
}

.newsletter-about h2 { margin: 0; font: 400 1.8rem/1.1 "Chido", sans-serif; color: var(--gold); }
.newsletter-about p { margin: 0.6rem 0 0; }
.newsletter-about p:last-child { color: var(--text-soft); }

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Chido", "Urbanist", sans-serif;
  font-weight: 400;
  text-wrap: balance;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4.2rem, 8vw, 8rem);
  line-height: 0.79;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 36px rgba(2, 11, 22, 0.48);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:last-child {
  color: var(--accent-ink);
}

.hero-deck {
  width: max-content;
  max-width: none;
  margin: 1.35rem 0 1.55rem;
  color: var(--text);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  font-weight: 600;
  white-space: nowrap;
}

.signup-form {
  width: min(100%, 650px);
}

.signup-launch {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.62rem;
}

.signup-row input {
  min-width: 0;
  min-height: 56px;
  padding: 0 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  outline: 0;
  background: rgba(4, 20, 37, 0.82);
  color: var(--text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.signup-row input::placeholder {
  color: var(--text-soft);
}

.signup-row input:focus {
  border-color: var(--focus-ring);
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.signup-row input[aria-invalid="true"] {
  border-color: var(--accent-ink);
}

.button {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #311218;
  box-shadow: 0 14px 34px rgba(255, 107, 107, 0.23), inset 0 1px 0 rgba(255, 248, 240, 0.36);
  cursor: pointer;
  font-family: "Staatliches", "Urbanist", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, box-shadow 220ms ease, transform 220ms var(--ease);
}

.button:hover {
  background: var(--coral-hover);
  box-shadow: 0 18px 44px rgba(255, 107, 107, 0.32), inset 0 1px 0 rgba(255, 248, 240, 0.44);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.opt-in {
  position: relative;
  margin-top: 0.78rem;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.62rem;
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.35;
}

.opt-in input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  position: relative;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid var(--text-soft);
  border-radius: 5px;
  background: var(--surface);
}

.opt-in input:focus-visible + .checkmark {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.opt-in input:checked + .checkmark {
  border-color: var(--coral);
  background: var(--coral);
}

.opt-in input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #311218;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-help,
.form-status {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  font-size: 0.77rem;
  line-height: 1.35;
}

.form-status {
  min-height: 1.1em;
  color: var(--status-ink);
  font-weight: 600;
}

.form-status.is-error {
  color: var(--accent-ink);
}

.signup-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.newsletter-next {
  max-width: 55ch;
  margin: 0.5rem 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.newsletter-next a {
  color: var(--status-ink);
  text-underline-offset: 0.2em;
}

.privacy-page {
  width: min(calc(100% - 2.5rem), 760px);
  margin: 0 auto;
  padding: 4rem 0;
}

.privacy-page h1,
.privacy-page h2 {
  font-family: "Staatliches", "Urbanist", sans-serif;
  line-height: 1.15;
}

.privacy-page h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
.privacy-page h2 { margin-top: 2rem; font-size: 1.5rem; }
.privacy-page a { text-underline-offset: 0.2em; }


.laundry-ticket {
  --tape-yellow: #ffd43b;
  --tape-ink: #17202c;
  --tape-angle: -2.35deg;
  position: relative;
  z-index: 4;
  margin-block: -1px;
  padding-block: calc(3vw + 1rem);
  /* Let the ribbon's shadow fade over the next section, without a box-shaped cutoff. */
  overflow: visible;
  /* Clip only sideways overscan; unlike hidden, clip keeps vertical overflow visible. */
  overflow-x: clip;
  /* The colour boundary and ribbon share a centre and angle, hiding the seam. */
  background: linear-gradient(
    calc(180deg + var(--tape-angle)),
    var(--hero-background) 50%,
    var(--page) 50%
  );
}

.ticket-ribbon {
  position: relative;
  width: 105%;
  margin-inline: -2.5%;
  overflow: hidden;
  border-block: 2px solid var(--tape-ink);
  background: var(--tape-yellow);
  color: var(--tape-ink);
  transform: rotate(var(--tape-angle));
  box-shadow: 0 15px 34px rgba(2, 11, 22, 0.22);
}

.ticket-ribbon::before,
.ticket-ribbon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  z-index: 1;
  height: 6px;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, var(--tape-ink) 0 12px, transparent 12px 24px);
}

.ticket-ribbon::before {
  top: 0;
}

.ticket-ribbon::after {
  bottom: 0;
}

.ticket-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0;
  animation: ticket-roll 25s linear infinite;
  will-change: transform;
}

.ticket-group {
  min-width: 110vw;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 1.35rem;
  font-family: "Staatliches", "Urbanist", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-group i {
  flex: 0 0 auto;
  width: 30px;
  height: 18px;
  background: repeating-linear-gradient(115deg, var(--tape-ink) 0 5px, transparent 5px 10px);
}

.tape-warning {
  padding: 0.08rem 0.6rem;
  background: var(--tape-ink);
  color: var(--tape-yellow);
}

@keyframes ticket-roll {
  to { transform: translateX(calc(-50% - 1rem)); }
}

.section {
  position: relative;
  z-index: 2;
  padding: clamp(6.5rem, 11vw, 10rem) 0;
}

.section h2 {
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  letter-spacing: -0.025em;
  line-height: 0.9;
}

/* Support-section styles retained for restoration; frozen copy is in docs/website/. */
.donate {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 75%, rgba(244, 201, 93, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(244, 201, 93, 0.04), transparent 42%),
    var(--page-deep);
}

.donate-shell,
.manifesto-shell {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.donate-shell {
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.donate-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4ead2;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(-1.7deg);
  transition: transform 180ms ease-out;
}

.donate-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 14px solid rgba(11, 29, 58, 0.08);
  border-radius: inherit;
}

.donate-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.donate-lede {
  max-width: 47ch;
  margin: 1.35rem 0 2rem;
  color: var(--text-soft);
  font-size: 1.16rem;
}

.amount-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.amount-picker button,
.amount-picker label {
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.amount-picker button {
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.amount-picker button:hover {
  transform: translateY(-2px);
}

.amount-picker button[aria-pressed="true"] {
  border-color: var(--coral);
  background: var(--coral);
  color: #311218;
}

.amount-picker label {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}

.amount-picker label:focus-within {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.amount-picker label > span:not(.sr-only) {
  color: var(--text-soft);
}

.amount-picker input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.amount-picker input::placeholder {
  color: var(--text-soft);
  opacity: 0.88;
}

.button-donate {
  width: 100%;
}

.donation-note {
  min-height: 2.7em;
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.donation-note.is-error {
  color: var(--accent-ink);
}

.manifesto {
  overflow: hidden;
  padding-block: clamp(5.5rem, 8vw, 8rem);
  padding-bottom: 2rem;
  background:
    /* Match the tape's cream edge before introducing the existing coral glow. */
    linear-gradient(180deg, var(--page), transparent 8rem),
    radial-gradient(circle at 85% 30%, rgba(255, 107, 107, 0.13), transparent 32%),
    var(--page);
}

.manifesto-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.manifesto-copy {
  min-width: 0;
}

.manifesto-heading {
  margin: 0;
}

.manifesto-line {
  display: block;
  margin: 0;
  color: var(--text);
  font-family: "Chido", "Urbanist", sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.83;
  letter-spacing: -0.03em;
}

.manifesto-line:nth-child(2) {
  padding-left: clamp(0rem, 2vw, 1.5rem);
}

.manifesto-accent {
  color: var(--accent-ink);
}

.manifesto-body {
  max-width: 43ch;
  margin: 2.2rem 0 0;
  color: var(--text-soft);
  font-size: 1.12rem;
}

.manifesto-art {
  min-width: 0;
  margin: 0;
}

.manifesto-art img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: var(--page-deep);
}

.manifesto-credits {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  color: var(--text-soft);
  text-align: center;
}

.satire-note {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
}

.product-signoff {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  text-align: center;
}

.product-signoff a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.dad-logo {
  width: auto;
  height: 15px;
}

.operation-zone {
  --text: #fff8f0;
  --text-soft: #d6cbbb;
  --focus-ring: #f4c95d;
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 22%, rgba(10, 186, 181, 0.13), transparent 30%),
    radial-gradient(circle at 92% 72%, rgba(255, 107, 107, 0.12), transparent 28%),
    #041425;
  color-scheme: dark;
}

.operation-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.12);
}

.game-brief {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 0 clamp(4rem, 7vw, 7rem);
}

.game-brief-shell,
.questions-shell {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.game-brief-shell {
  max-width: 1080px;
  margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2));
}

.game-brief h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.5rem, 7.6vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.game-brief-lede {
  max-width: 56ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0 clamp(0rem, 8vw, 8rem);
  color: var(--text-soft);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.48;
}

.game-brief-status {
  margin: 1.25rem 0 0 clamp(0rem, 8vw, 8rem);
  color: var(--gold);
  font-family: "Staatliches", "Urbanist", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.055em;
}

.questions {
  position: relative;
  padding: 0 0 clamp(6rem, 10vw, 10rem);
}

.questions-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.questions-art {
  min-width: 0;
  margin: 0 0 -2rem;
}

.questions-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 42px rgba(0, 4, 12, 0.42));
}

.questions-copy {
  min-width: 0;
}

.questions-copy h2 {
  max-width: 11ch;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  color: var(--text);
  font-size: clamp(3.25rem, 6vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.questions-list {
  margin: 0;
}

.questions-list > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 248, 240, 0.2);
}

.questions-list > div:first-child {
  padding-top: 0;
}

.questions-list dt {
  color: var(--gold);
  font-weight: 700;
  line-height: 1.35;
}

.questions-list dd {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.questions-list a {
  color: var(--text);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.footer-signoff {
  width: min(calc(100% - 2.5rem), var(--wrap));
  min-height: 82px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.footer-main {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.footer-main {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-main p {
  margin-block: 0;
}

.footer-brand {
  justify-self: start;
}

.footer-tagline {
  justify-self: end;
  text-align: right;
}

.footer-brand .brand-icon {
  width: 50px;
  height: 50px;
}

.footer-privacy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--text-soft);
  font-size: 0.76rem;
  text-underline-offset: 0.2em;
  text-align: center;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .footer-main {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    text-align: center;
  }

  .footer-brand,
  .footer-tagline {
    justify-self: center;
    text-align: center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(4, 20, 37, 0.95), rgba(4, 20, 37, 0.7) 54%, rgba(4, 20, 37, 0.22)),
      linear-gradient(180deg, rgba(4, 20, 37, 0.28), rgba(4, 20, 37, 0.76));
  }

  .questions-shell {
    grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
    gap: 3rem;
  }

  .donate-shell {
    grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .hero.is-secret-open .hero-inner { align-items: center; padding-top: 2rem; }
  .secret-room { position: relative; grid-template-columns: minmax(0, 1fr); }
  .secret-content { grid-column: 1; width: min(100%, 480px); margin-inline: auto; }
  .secret-character { position: absolute; right: 0; top: 0; width: 135px; height: 200px; object-fit: contain; }
  .secret-intro { min-height: 205px; padding: 1rem 130px 0 0; text-align: left; }
  .secret-intro h2 { font-size: clamp(2.3rem, 8vw, 3.4rem); }
  .secret-intro > p:last-child { font-size: 0.87rem; margin-top: 0.8rem; }
  .secret-saved { font-size: 0.8rem; }
  .secret-fallback, .secret-privacy { font-size: 0.78rem; }

  body {
    font-size: 16px;
  }

  .pointer-wash {
    display: none;
  }

  .hero-inner,
  .donate-shell,
  .manifesto-shell,
  .manifesto-credits,
  .game-brief-shell,
  .questions-shell,
  .footer-main {
    width: min(calc(100% - 2rem), var(--wrap));
  }

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero,
  .hero-inner {
    min-height: 100svh;
  }

  .hero-image {
    object-position: 66% center;
    opacity: 0.82;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 20, 37, 0.52) 0%, rgba(4, 20, 37, 0.24) 28%, rgba(4, 20, 37, 0.86) 61%, var(--hero-background) 100%),
      linear-gradient(90deg, rgba(4, 20, 37, 0.46), transparent 68%);
  }

  .hero-inner {
    align-items: flex-end;
    padding: 82px 0 1.6rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
    line-height: 0.84;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-deck {
    width: auto;
    max-width: 35ch;
    margin: 0.95rem 0 1rem;
    font-size: 0.98rem;
    white-space: normal;
  }

  .eyebrow {
    margin-bottom: 0.62rem;
    font-size: 0.76rem;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .signup-row input,
  .signup-row .button {
    min-height: 50px;
  }

  .opt-in {
    font-size: 0.8rem;
  }

  .form-help {
    display: none;
  }

  .laundry-ticket {
    --tape-angle: -3.1deg;
  }

  .ticket-ribbon {
    width: 108%;
    margin-inline: -4%;
  }

  .ticket-track {
    padding: 0.67rem 0;
  }

  .ticket-group {
    font-size: 0.92rem;
  }

  .section {
    padding: 6rem 0;
  }

  .section h2 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .donate-shell {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .donate-art {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .donate-lede {
    font-size: 1rem;
  }

  .amount-picker {
    grid-template-columns: repeat(3, 1fr);
  }

  .amount-picker label {
    grid-column: 1 / -1;
  }

  .manifesto-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .manifesto-line {
    font-size: clamp(2.25rem, 11.5vw, 5.5rem);
    line-height: 0.88;
  }

  .manifesto-line:nth-child(2) {
    padding-left: 0;
  }

  .manifesto-body {
    margin-left: 0;
  }

  .manifesto-art {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .game-brief-shell {
    margin-inline: auto;
  }

  .game-brief {
    padding-bottom: 1.5rem;
  }

  .questions {
    padding-top: 0;
  }

  .game-brief h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .game-brief-lede,
  .game-brief-status {
    margin-left: 0;
  }

  .questions-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .questions-art {
    width: min(82%, 520px);
    margin: 0 auto;
  }

  .questions-copy h2 {
    max-width: 10ch;
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .questions-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }

}

@media (max-width: 420px) {
  .brand span {
    max-width: 205px;
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pointer-wash,
  .money-spark {
    display: none;
  }

  .hero-image,
  .donate-art {
    transform: none !important;
  }

  .ticket-track {
    width: 100%;
  }

  .ticket-group {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 1rem;
  }

  .ticket-group[aria-hidden="true"] {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .signup-row input {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--surface);
  }
}
