/* Spinhold promo site.
   Colours come from tools/art/make_brand.py and the game's own neon: the space black
   under the wordmark, its magenta edge and violet depth, the cyan orbit and the tender's
   cyan. Cottony's felt card becomes a panel of dark glass, and its dashed stitch stays: the
   Viglet stitch drawn as a laser trail, the one mark the game shares with the studio. */

:root {
  --space: #0B0B1A;
  --space-2: #12122A;
  --space-3: #1A1A3A;
  --ink: #F4F7FF;
  --text: #C9CCE8;
  --text-soft: #8E91B8;
  --magenta: #FF3DCB;
  --magenta-deep: #A3127F;
  --violet: #6A1B9A;
  --cyan: #3FE8FF;
  --cyan-deep: #138AA6;
  --lift: #4DFF73;
  --gold: #FFD94D;
  --holder: #FFE3C4;
  --holder-coral: #FF7A59;
  --bow: #1A73FF;
  --waist: #8C33FF;
  --stern: #FF4033;

  --radius: 22px;
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .9);
  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--space);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--cyan); }

button { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--magenta); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* ------------------------------------------------------------------ panel */

.panel {
  position: relative;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(63, 232, 255, .09), transparent 55%),
    linear-gradient(180deg, rgba(26, 26, 58, .92), rgba(18, 18, 42, .92));
  border-radius: var(--radius);
  box-shadow: 0 0 0 1.5px rgba(63, 232, 255, .28), 0 0 26px -8px rgba(63, 232, 255, .35), var(--shadow);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px dashed rgba(63, 232, 255, .32);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  --btn: var(--magenta);
  --btn-deep: var(--magenta-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: 12px 30px;
  border: 0;
  border-radius: 12px;
  background: var(--btn) linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 55%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transform: skewX(-8deg);
  box-shadow: 0 5px 0 var(--btn-deep), 0 0 28px -4px var(--btn);
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed rgba(255, 255, 255, .55);
  border-radius: 8px;
  pointer-events: none;
}
.btn:hover { transform: skewX(-8deg) translateY(-2px); box-shadow: 0 7px 0 var(--btn-deep), 0 0 40px -2px var(--btn); }
.btn:active { transform: skewX(-8deg) translateY(4px); box-shadow: 0 1px 0 var(--btn-deep), 0 0 20px -6px var(--btn); }

.btn-ghost {
  --btn: rgba(63, 232, 255, .12);
  --btn-deep: var(--cyan-deep);
  color: var(--cyan);
  box-shadow: 0 0 0 1.5px var(--cyan), 0 5px 0 var(--cyan-deep);
}
.btn-ghost::after { border-color: rgba(63, 232, 255, .5); }
.btn-ghost:hover { box-shadow: 0 0 0 1.5px var(--cyan), 0 7px 0 var(--cyan-deep), 0 0 30px -6px var(--cyan); }

.cta-row { display: flex; flex-wrap: wrap; gap: 22px 26px; align-items: center; }
.cta-center { justify-content: center; }

.chip {
  display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 6px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--violet); color: #fff; vertical-align: 2px;
}
.chip-wip { background: var(--lift); color: #0B3316; }
.chip-plan { background: rgba(255, 61, 203, .18); color: var(--magenta); box-shadow: inset 0 0 0 1px var(--magenta); }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 26, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px dashed rgba(63, 232, 255, .25);
}

.nav-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--text); text-decoration: none; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { background: rgba(63, 232, 255, .1); color: var(--cyan); }

.lang {
  display: flex; padding: 4px; gap: 2px; border-radius: 10px;
  background: var(--space-3); box-shadow: 0 0 0 1.5px rgba(63, 232, 255, .3);
}
.lang button {
  border: 0; background: none; cursor: pointer; font-weight: 700; font-size: .85rem;
  padding: 6px 11px; border-radius: 7px; color: var(--text-soft);
}
.lang button[aria-pressed="true"] { background: var(--magenta); color: #fff; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .brand img { height: 40px; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(106, 27, 154, .55), transparent 70%),
    radial-gradient(50% 60% at 10% 80%, rgba(26, 115, 255, .28), transparent 70%),
    linear-gradient(180deg, #0B0B1A 0%, #120F2E 60%, #0B0B1A 100%);
}

/* two layers of stars drawn by gradients, drifting at two speeds */
.stars, .stars::after {
  position: absolute; inset: -50% 0 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 90px 120px, #cfe9ff, transparent),
    radial-gradient(1.5px 1.5px at 160px 60px, #ffd6f5, transparent),
    radial-gradient(1px 1px at 230px 190px, #fff, transparent),
    radial-gradient(1px 1px at 300px 90px, #bff6ff, transparent);
  background-size: 320px 240px;
  opacity: .55;
  animation: stars 80s linear infinite;
}
.stars::after { content: ""; inset: 0; background-size: 210px 170px; opacity: .35; animation-duration: 50s; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 8px;
  background: rgba(63, 232, 255, .08); color: var(--ink);
  font-weight: 600; font-size: .92rem;
  box-shadow: inset 0 0 0 1.5px rgba(63, 232, 255, .35);
}
.status-pill .dot {
  width: 10px; height: 10px; border-radius: 2px; background: var(--magenta);
  animation: ping 1.8s ease-out infinite;
}

.presents {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--magenta); letter-spacing: .14em; text-transform: uppercase;
}

.hero h1 {
  margin-top: 6px;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-style: italic;
  letter-spacing: -.01em;
  text-shadow: 3px 5px 0 rgba(255, 61, 203, .5);
}
.hero h1 em {
  font-style: italic;
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(63, 232, 255, .55), 3px 5px 0 rgba(106, 27, 154, .8);
}

.lead { margin-top: 18px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 34em; }

.hero .cta-row { margin-top: 30px; }

.facts {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.facts li {
  padding: 5px 13px; border-radius: 6px;
  background: rgba(11, 11, 26, .55);
  border: 1.5px dashed rgba(63, 232, 255, .4);
  font-weight: 600; font-size: .9rem; color: var(--ink);
}

.hero-art { margin: 0; position: relative; }
.screen {
  position: relative; border-radius: 18px; overflow: hidden;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  box-shadow: 0 0 0 2px rgba(63, 232, 255, .55), 0 0 60px -8px rgba(255, 61, 203, .55), 0 40px 60px -30px #000;
}
.screen img { display: block; width: 100%; }
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px);
}
.hero-art figcaption {
  margin-top: 14px; text-align: right; font-size: .85rem; color: var(--text-soft);
  font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase;
}

.orbit-line { display: block; width: 100%; height: clamp(60px, 9vw, 130px); margin-top: -10px; position: relative; z-index: 1; filter: drop-shadow(0 0 6px var(--cyan)); }
.orbit-line path { animation: march 2.4s linear infinite; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; margin-inline: auto; order: -1; }
  .screen { transform: none; }
}

/* ------------------------------------------------------------------ sections */

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-deep { background: linear-gradient(180deg, #0B0B1A 0%, #100E26 100%); }
.section-grid {
  background:
    linear-gradient(rgba(63, 232, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(63, 232, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, #100E26 0%, #0D0C22 100%);
}

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 8px; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 1.12rem; }
.section-head-left { text-align: left; margin: 0 0 28px; }

.kicker {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--magenta);
}
.kicker::before { content: "// "; color: var(--cyan); }

.subhead { text-align: center; max-width: 680px; margin: clamp(64px, 8vw, 96px) auto 40px; }
.subhead h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.subhead p { margin-top: 12px; }

/* ------------------------------------------------------------------ sprites */

/* the 8 by 8 voxel sprites app.js paints, kept square and pixel-sharp */
.sprite { image-rendering: pixelated; image-rendering: crisp-edges; display: block; }

/* ------------------------------------------------------------------ world */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 56px 30px;
  padding-top: 40px;
}
.pillar { padding: 70px 28px 34px; text-align: center; }
.pillar-icon {
  position: absolute; left: 50%; top: -44px; translate: -50% 0;
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 20px;
  background: var(--space); box-shadow: 0 0 0 1.5px rgba(63, 232, 255, .45), 0 0 30px -6px var(--cyan);
}
.pillar-icon img { width: 76px; border-radius: 14px; }
.pillar-icon .sprite { width: 56px; height: 56px; filter: drop-shadow(0 0 8px var(--glow, var(--cyan))); }
.pillar-lattice .pillar-icon { --glow: #FF5933; box-shadow: 0 0 0 1.5px rgba(255, 89, 51, .6), 0 0 30px -6px #FF5933; }
.pillar-holders .pillar-icon { --glow: var(--holder-coral); box-shadow: 0 0 0 1.5px rgba(255, 122, 89, .6), 0 0 30px -6px var(--holder-coral); }
.pillar:hover .pillar-icon { animation: bob 1.2s ease-in-out; }
.pillar h3 { font-size: 1.55rem; }
.pillar p { margin-top: 10px; }

.holders-card {
  margin-top: clamp(56px, 7vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center;
  padding: clamp(22px, 3vw, 34px);
}
.holders-card img { display: block; width: 100%; border-radius: 14px; position: relative; z-index: 1; box-shadow: 0 0 0 1.5px rgba(255, 122, 89, .5); }
.holders-card h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.holders-card p { margin-top: 10px; }

@media (max-width: 760px) {
  .holders-card { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ lattice */

.roster {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
@media (max-width: 760px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.foe { padding: 30px 20px 26px; text-align: center; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 55%, transparent), 0 0 30px -10px var(--c), var(--shadow); }
.foe::before { border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.foe .foe-art { display: block; width: 150px; height: 150px; margin: -8px auto 8px; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 70%, transparent)); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.foe:hover .foe-art { transform: scale(1.1) rotate(-4deg); }
.foe h3 { font-size: 1.35rem; color: var(--c); text-shadow: 0 0 14px color-mix(in srgb, var(--c) 60%, transparent); }
.foe p { margin-top: 8px; font-size: .98rem; }

.foremen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.reveal {
  border: 0; padding: 0; background: none; cursor: pointer; text-align: center;
  perspective: 1200px; min-height: 280px; border-radius: var(--radius);
}
.reveal-inner {
  position: relative; display: block; width: 100%; height: 100%; min-height: 280px;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.34, 1.3, .64, 1);
}
.reveal[aria-pressed="true"] .reveal-inner { transform: rotateY(180deg); }
.reveal:hover .reveal-inner { transform: rotateY(-8deg); }
.reveal[aria-pressed="true"]:hover .reveal-inner { transform: rotateY(188deg); }

.face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 30px 26px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent), 0 0 34px -10px var(--c), var(--shadow);
}
.face.back { transform: rotateY(180deg); }
.mystery {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  border: 3px dashed var(--c);
  font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--c);
  text-shadow: 0 0 18px var(--c);
  animation: spin 14s linear infinite;
}
.ring-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.tap {
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c); padding: 3px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--c);
}
.foreman-name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 2rem; color: var(--c); text-shadow: 0 0 20px var(--c); }
.foreman-text { font-size: 1.02rem; max-width: 20em; }

/* ------------------------------------------------------------------ tender */

.tools {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.tool { padding: 32px 28px; }
.tool svg {
  width: 56px; height: 56px; fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px var(--c));
}
.tool h3 { margin-top: 14px; font-size: 1.5rem; color: var(--c); }
.tool p { margin-top: 8px; }

.streak, .rescue {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px;
  padding: 34px clamp(26px, 4vw, 46px);
}
.streak > div, .rescue > div { max-width: 32em; }
.streak h3, .rescue h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.streak p, .rescue p { margin-top: 8px; }

.ladder { list-style: none; padding: 0; margin: 0; display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ladder li {
  --i: 0;
  display: grid; place-items: center;
  min-width: calc(44px + var(--i) * 7px); height: calc(44px + var(--i) * 7px);
  padding-inline: 8px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; color: #1A1400;
  font-size: calc(.95rem + var(--i) * .08rem);
  background: color-mix(in srgb, var(--gold) calc(40% + var(--i) * 12%), var(--space-3));
  box-shadow: 0 0 calc(var(--i) * 5px) color-mix(in srgb, var(--gold) 70%, transparent);
}
.ladder li:nth-child(2) { --i: 1; }
.ladder li:nth-child(3) { --i: 2; }
.ladder li:nth-child(4) { --i: 3; }
.ladder li:nth-child(5) { --i: 4; }
.ladder li:nth-child(6) { --i: 5; }

.rewards { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: reward; }
.rewards li {
  counter-increment: reward;
  padding: 8px 14px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--lift);
  box-shadow: inset 0 0 0 1.5px var(--lift), 0 0 16px -6px var(--lift);
}
.rewards li::before { content: counter(reward) " · "; color: var(--text-soft); }

/* ------------------------------------------------------------------ fly it */

.try-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hud { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 8px 16px; padding: 22px 26px; }
.hud-cell { position: relative; z-index: 1; }
.hud-label { display: block; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.hud-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; line-height: 1.1; color: var(--ink); }
.hud-streak { color: var(--gold); text-shadow: 0 0 12px rgba(255, 217, 77, .6); }
.hud-value.bump { animation: bump .25s ease-out; }

.keys { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 18px; }
.keys div { display: flex; align-items: center; gap: 10px; }
.keys dt { display: flex; gap: 4px; }
.keys dd { margin: 0; }
kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px;
  border-radius: 6px; background: var(--space-3); color: var(--cyan);
  font: 700 .85rem var(--font-display);
  box-shadow: inset 0 0 0 1.5px rgba(63, 232, 255, .45), 0 3px 0 #05050f;
}

.fine { margin-top: 20px; font-size: .92rem; color: var(--text-soft); max-width: 34em; }

.stage { position: relative; }
.stage-frame { padding: clamp(10px, 2vw, 16px); max-width: 600px; margin-inline: auto; }
.stage-frame::before { inset: 5px; border-radius: calc(var(--radius) - 4px); }

.arena {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 58%, #17123A 0%, #0B0B1A 70%);
  touch-action: none; user-select: none; -webkit-user-select: none;
  cursor: crosshair;
}
.arena:focus-visible { outline-offset: 5px; }
.arena canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.arena.quake { animation: quake .2s linear; }

.announce {
  position: absolute; left: 50%; top: 9%; z-index: 3; translate: -50% 0;
  padding: 4px 16px; border-radius: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(.9rem, 2.6vw, 1.2rem); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: rgba(11, 11, 26, .7); box-shadow: inset 0 0 0 1.5px var(--magenta), 0 0 20px -4px var(--magenta);
  opacity: 0; pointer-events: none; white-space: nowrap;
}
.announce.show { animation: tag 1.8s ease-out forwards; }

.arena-card {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; padding: 9%;
  background: rgba(11, 11, 26, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fade .3s ease-out;
}
.end-card { width: 100%; max-width: 380px; padding: 30px 26px 34px; text-align: center; }
.end-card > * { position: relative; z-index: 1; }
.card-title { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.card-text { margin-top: 10px; font-size: .98rem; }
.end-score { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.end-card .btn { margin-top: 22px; }

.touch { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: none; gap: 8px; }
.touch-btn {
  min-width: 64px; min-height: 44px; padding: 6px 12px; border: 0; border-radius: 10px;
  font: 700 .85rem var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(11, 11, 26, .7); color: var(--cyan); box-shadow: inset 0 0 0 1.5px var(--cyan);
}
.touch-btn[data-touch="pulse"] { color: var(--magenta); box-shadow: inset 0 0 0 1.5px var(--magenta); }
@media (pointer: coarse) { .arena.live .touch { display: flex; } }

@media (max-width: 960px) {
  .try-grid { grid-template-columns: 1fr; }
  .section-head-left { text-align: center; }
  .try-copy { max-width: 620px; margin-inline: auto; }
  .fine { margin-inline: auto; text-align: center; }
}
@media (max-width: 520px) {
  .hud { grid-template-columns: repeat(3, auto); }
  .hud-value { font-size: 1.5rem; }
}

/* ------------------------------------------------------------------ gallery */

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.shot { margin: 0; padding: 12px 12px 16px; display: flex; flex-direction: column; }
.shot::before { inset: 5px; border-radius: calc(var(--radius) - 4px); }
.shot-wide { grid-column: 1 / -1; }
.shot-open {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  cursor: zoom-in; background: var(--space); position: relative; z-index: 1;
}
.shot-open img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.shot-open:hover img { transform: scale(1.03); }
.shot figcaption { padding: 14px 8px 2px; font-weight: 500; position: relative; z-index: 1; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
}

.lightbox {
  border: 0; padding: 16px; max-width: min(1400px, 94vw); max-height: 94vh;
  border-radius: 18px; background: var(--space-2); color: var(--text);
  box-shadow: 0 0 0 1.5px rgba(63, 232, 255, .5), 0 30px 60px -20px #000;
}
.lightbox::backdrop { background: rgba(5, 5, 15, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 110px); margin-inline: auto; border-radius: 10px; }
.lightbox-caption { text-align: center; padding: 12px 40px 2px; font-weight: 500; }
.lightbox-close {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  width: 42px; height: 42px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--magenta); color: #fff; font-size: 1.6rem; line-height: 1;
}

/* ------------------------------------------------------------------ next */

.plans {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px;
}
.plan { padding: 30px 26px; }
.plan > * { position: relative; z-index: 1; }
.plan h3 { margin-top: 12px; font-size: 1.4rem; }
.plan p { margin-top: 8px; }
.plan-hook {
  grid-column: span 2;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 61, 203, .22), transparent 60%),
    linear-gradient(180deg, rgba(26, 26, 58, .95), rgba(18, 18, 42, .95));
  box-shadow: 0 0 0 1.5px rgba(255, 61, 203, .5), 0 0 34px -8px var(--magenta), var(--shadow);
}
.plan-hook::before { border-color: rgba(255, 61, 203, .4); }
.plan-hook h3 { font-size: 1.8rem; }
@media (max-width: 620px) { .plan-hook { grid-column: auto; } }

.crew-line {
  margin: clamp(48px, 6vw, 72px) auto 0; max-width: 640px; padding: 30px 36px; text-align: center;
  box-shadow: 0 0 0 1.5px rgba(255, 122, 89, .5), 0 0 34px -10px var(--holder-coral), var(--shadow);
}
.crew-line::before { border-color: rgba(255, 122, 89, .4); }
.crew-line p { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--holder); }
.crew-line footer { margin-top: 8px; color: var(--text-soft); font-size: .95rem; }

/* ------------------------------------------------------------------ studio */

.studio { text-align: center; }
.lockup-plate {
  display: inline-block; padding: 18px 30px; border-radius: 22px;
  background: #FFFAEE; box-shadow: 0 0 0 5px rgba(255, 250, 238, .25), 0 0 40px -10px rgba(255, 250, 238, .5);
}
.lockup { display: block; width: clamp(220px, 30vw, 340px); }
.studio h2 { margin-top: 30px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.studio-text { margin: 12px auto 0; max-width: 36em; font-size: 1.12rem; }

.values {
  list-style: none; padding: 0; margin: 48px auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.values li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.value-icon {
  display: grid; place-items: center; width: 80px; height: 80px; border-radius: 20px; position: relative;
  background: var(--space-3); box-shadow: inset 0 0 0 1.5px rgba(255, 61, 203, .5), 0 0 26px -10px var(--magenta);
}
.value-icon::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(255, 61, 203, .4); border-radius: 14px; }
.value-icon svg { width: 40px; height: 40px; fill: var(--magenta); filter: drop-shadow(0 0 6px var(--magenta)); }

/* ------------------------------------------------------------------ finale */

.finale {
  position: relative;
  padding-block: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(106, 27, 154, .5), transparent 70%),
    linear-gradient(180deg, #100E26 0%, #0B0B1A 100%);
}
.finale-card {
  max-width: 820px; margin-inline: auto; text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 64px);
}
.finale-card > * { position: relative; z-index: 1; }
.finale-logo { width: min(440px, 86%); display: block; margin: 0 auto; }
.finale-holder {
  position: absolute !important; width: clamp(64px, 9vw, 96px); height: auto; aspect-ratio: 1;
  left: clamp(-24px, -2vw, -8px); top: -44px; z-index: 2 !important;
  filter: drop-shadow(0 0 12px rgba(255, 122, 89, .6));
  animation: bob 4s ease-in-out infinite;
}
.finale h2 { margin-top: 18px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.finale-card > p { margin: 12px auto 0; max-width: 32em; font-size: 1.12rem; }
.finale .cta-row { margin-top: 30px; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
  border: 1.5px dashed var(--cyan); font-weight: 600; color: var(--cyan);
}
.soon-pill::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 25%, transparent 0 50%, var(--cyan) 0 75%, transparent 0);
  animation: spin 3s linear infinite;
}
.share-status { min-height: 1.6em; margin-top: 12px; font-weight: 600; color: var(--cyan); }

.foot { background: #07070F; color: var(--text-soft); padding-block: 22px 30px; text-align: center; font-size: .92rem; border-top: 1.5px dashed rgba(63, 232, 255, .2); }

/* ------------------------------------------------------------------ motion */

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes stars { to { transform: translateY(240px); } }
@keyframes march { to { stroke-dashoffset: -46; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 203, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 61, 203, 0); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bump { 50% { transform: scale(1.18); } }
@keyframes quake { 0%, 100% { translate: 0 0; } 20% { translate: -6px 2px; } 40% { translate: 5px -3px; } 60% { translate: -3px 2px; } 80% { translate: 2px -1px; } }
@keyframes tag { 0% { opacity: 0; transform: scale(.6); } 12% { opacity: 1; transform: scale(1.06); } 20% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars, .stars::after, .orbit-line path, .status-pill .dot, .mystery, .soon-pill::before, .finale-holder { animation: none; }
  .reveal-inner { transition: none; }
  .reveal:hover .reveal-inner { transform: none; }
  .reveal[aria-pressed="true"]:hover .reveal-inner { transform: rotateY(180deg); }
  .arena.quake { animation: none; }
}
