:root {
  color-scheme: dark;
  --bg: #050608;
  --ink: #f5f7ee;
  --muted: #a7afa4;
  --acid: #d7ff31;
  --green: #3cff93;
  --hot: #ff315f;
  --blue: #35c8ff;
  --violet: #9d63ff;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(10, 13, 15, 0.74);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(215, 255, 49, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(255, 49, 95, 0.16), transparent 26rem),
    linear-gradient(140deg, #050608 0%, #10130f 46%, #07080b 100%);
}

a {
  color: inherit;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.scene-wall {
  pointer-events: none;
  position: fixed;
  inset: -8vh -8vw;
  z-index: 0;
  overflow: hidden;
  opacity: 0.42;
  filter: saturate(1.55) contrast(1.22);
  background: #050608;
}

.scene-wall:before,
.scene-wall:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.scene-wall:before {
  background:
    radial-gradient(circle at 18% 20%, rgba(215,255,49,0.24), transparent 34rem),
    radial-gradient(circle at 80% 18%, rgba(255,49,95,0.3), transparent 30rem),
    linear-gradient(100deg, rgba(5,6,8,0.94), rgba(5,6,8,0.4) 45%, rgba(5,6,8,0.92));
  mix-blend-mode: hard-light;
}

.scene-wall:after {
  background: repeating-linear-gradient(100deg, rgba(215,255,49,0.12) 0 2px, transparent 2px 18px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.scene-strip {
  position: absolute;
  left: -18vw;
  display: flex;
  gap: 1rem;
  width: max-content;
  transform: rotate(-7deg);
  animation: photoDrift 52s linear infinite;
  opacity: 0.86;
}

.scene-strip.lane-1 {
  top: 5vh;
}

.scene-strip.lane-2 {
  top: 39vh;
  transform: rotate(5deg);
  animation-duration: 62s;
  animation-direction: reverse;
}

.scene-strip.lane-3 {
  top: 72vh;
  transform: rotate(-4deg);
  animation-duration: 58s;
}

.scene-strip img {
  width: clamp(230px, 24vw, 430px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 0 0 5px rgba(5,6,8,0.48);
  filter: grayscale(0.18) saturate(1.8) contrast(1.18) hue-rotate(-8deg);
}

.noise,
.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
}

.noise {
  opacity: 0.15;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 37px 37px;
  mix-blend-mode: screen;
}

.scanline {
  opacity: 0.18;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.08) 10px);
  animation: scan 8s linear infinite;
}

.topbar,
main,
footer {
  position: relative;
  z-index: 2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 8, 0.76);
  backdrop-filter: blur(18px);
}

.brand img {
  width: min(210px, 44vw);
  height: auto;
  display: block;
}

.topbar nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar nav a {
  padding: 0.55rem 0.75rem;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.topbar nav a:hover {
  color: var(--acid);
  border-color: rgba(215, 255, 49, 0.5);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: min(780px, calc(100vh - 86px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.5fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--acid);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 8.5ch;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro {
  max-width: 760px;
  color: #d9ded4;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.rollout-note {
  max-width: 760px;
  margin: 1.2rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--acid);
  color: #f1f6e7;
  background:
    linear-gradient(90deg, rgba(215,255,49,0.16), rgba(255,255,255,0.04)),
    rgba(5, 6, 8, 0.66);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 750;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0;
}

.button.primary {
  color: #070807;
  background: var(--acid);
  border-color: var(--acid);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.06);
}

.signal-tower {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  overflow: hidden;
  position: relative;
}

.signal-tower:after {
  content: "AMPRIOT / LIVE SCENE";
  position: absolute;
  z-index: 3;
  right: -3rem;
  top: 3rem;
  padding: 0.45rem 4rem;
  color: #070807;
  background: var(--acid);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  transform: rotate(32deg);
}

.signal-tower:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--spin, 0deg), transparent, rgba(215,255,49,0.35), transparent, rgba(255,49,95,0.28), transparent);
  animation: rotate 7s linear infinite;
  opacity: 0.85;
}

.tower-core {
  position: relative;
  z-index: 2;
  width: min(250px, 58vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.photo-deck {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.photo-deck:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.1), rgba(5,6,8,0.72)),
    radial-gradient(circle at center, transparent 0 24%, rgba(5,6,8,0.88) 56%);
}

.photo-deck img {
  position: absolute;
  width: min(58%, 390px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.25);
  filter: saturate(1.65) contrast(1.2);
  transform: rotate(var(--tilt, -6deg));
  animation: deckPulse 5.5s ease-in-out infinite;
}

.photo-deck img:nth-child(1) {
  left: 4%;
  top: 7%;
}

.photo-deck img:nth-child(2) {
  right: 4%;
  top: 25%;
  animation-delay: 0.7s;
}

.photo-deck img:nth-child(3) {
  left: 19%;
  bottom: 12%;
  animation-delay: 1.4s;
}

.tower-core img {
  width: 42%;
  filter: drop-shadow(0 0 18px rgba(215, 255, 49, 0.5));
  animation: float 3.5s ease-in-out infinite;
}

.pulse-ring {
  position: absolute;
  inset: 16%;
  border: 2px solid rgba(215,255,49,0.6);
  border-radius: 50%;
  animation: pulse 2.6s ease-out infinite;
}

.pulse-ring.two {
  animation-delay: 0.55s;
  border-color: rgba(53,200,255,0.55);
}

.pulse-ring.three {
  animation-delay: 1.1s;
  border-color: rgba(255,49,95,0.55);
}

.status-list {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.5rem;
}

.status-list span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(5,6,8,0.72);
  color: var(--muted);
  font-size: 0.9rem;
}

.status-list strong {
  color: var(--acid);
  white-space: nowrap;
}

.roles {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 0.85rem;
  padding: 2rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.role-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    var(--panel);
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.role-card:hover {
  transform: translateY(-6px);
  border-color: var(--acid);
  background:
    linear-gradient(180deg, rgba(215,255,49,0.16), rgba(255,255,255,0.03)),
    var(--panel);
}

.role-card span {
  color: var(--acid);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 950;
}

.role-card strong {
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.panel {
  min-height: 330px;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(6, 8, 9, 0.76);
  backdrop-filter: blur(16px);
}

.panel h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

#ticker {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

#ticker li {
  padding: 0.75rem 0.85rem;
  border-left: 4px solid var(--acid);
  background: rgba(255,255,255,0.06);
  color: #dce5da;
  font-weight: 800;
}

.waveform-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wave-bars {
  min-height: 160px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.wave-bars span {
  flex: 1;
  height: 34%;
  min-width: 6px;
  background: linear-gradient(180deg, var(--acid), var(--hot));
  animation: bars 850ms ease-in-out infinite alternate;
}

.wave-bars span:nth-child(2n) { animation-duration: 610ms; background: linear-gradient(180deg, var(--blue), var(--acid)); }
.wave-bars span:nth-child(3n) { animation-duration: 1040ms; }
.wave-bars span:nth-child(5n) { animation-duration: 730ms; }

.waveform-panel p:last-child {
  color: #dce5da;
  font-size: 1.15rem;
  line-height: 1.45;
}

.signup-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  margin: 1rem 0 5rem;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(6, 8, 9, 0.82);
  backdrop-filter: blur(16px);
}

.signup-panel h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.signup-panel p {
  color: #d9ded4;
  line-height: 1.45;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.signup-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: rgba(255,255,255,0.07);
  font: inherit;
}

.signup-form input::placeholder {
  color: #b8bfb4;
  opacity: 1;
}

.signup-form select {
  color: var(--ink);
  background-color: rgba(255,255,255,0.07);
}

.signup-form select option {
  color: #070807;
  background: #f5f7ee;
}

.signup-form input:focus,
.signup-form select:focus {
  outline: 2px solid rgba(215,255,49,0.75);
  outline-offset: 2px;
}

.signup-form label:first-of-type,
.signup-form button,
.signup-message {
  grid-column: 1 / -1;
}

.signup-form .trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-message {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 850;
}

.signup-message.success {
  color: var(--green);
}

.signup-message.notice {
  color: var(--acid);
}

.signup-message.error {
  color: var(--hot);
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.response-page .signup-panel {
  width: min(760px, calc(100vw - 2rem));
  grid-template-columns: 1fr;
}

.victory-page {
  min-height: 100vh;
}

.victory-main {
  width: min(1220px, calc(100% - 2rem));
}

.victory-hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(1rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0 2rem;
}

.victory-copy h1 {
  max-width: 7ch;
  font-size: clamp(4.6rem, 13vw, 11rem);
  line-height: 0.82;
}

.victory-copy p {
  max-width: 740px;
  color: #dfe7da;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  line-height: 1.42;
}

.victory-stage {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(255,49,95,0.22), rgba(215,255,49,0.15)),
    rgba(5, 6, 8, 0.74);
  overflow: hidden;
}

.victory-photo-deck img {
  width: min(64%, 460px);
}

.victory-photo-deck:after {
  background:
    radial-gradient(circle at center, rgba(5,6,8,0.05), rgba(5,6,8,0.82) 70%),
    linear-gradient(135deg, rgba(255,49,95,0.28), rgba(215,255,49,0.18));
}

.victory-stage:before,
.victory-stage:after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(215,255,49,0.28);
  transform: skew(-8deg) rotate(8deg);
}

.victory-stage:after {
  inset: 18%;
  border-color: rgba(255,49,95,0.3);
  transform: skew(10deg) rotate(-14deg);
}

.record {
  position: relative;
  z-index: 2;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 14%, rgba(5,6,8,0.9) 14.5% 18%, transparent 18.5%),
    repeating-radial-gradient(circle at center, #0c0d0d 0 7px, #171a17 8px 10px);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.08),
    0 0 90px rgba(215,255,49,0.22),
    inset 0 0 70px rgba(255,255,255,0.06);
  animation: spinRecord 5.8s linear infinite;
}

.record-label {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215,255,49,0.95), rgba(60,255,147,0.7) 46%, rgba(255,49,95,0.5));
  box-shadow: 0 0 42px rgba(215,255,49,0.52);
}

.record-label img {
  width: 54%;
  animation: counterSpin 5.8s linear infinite;
}

.equalizer-xl {
  position: absolute;
  z-index: 3;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 120px;
  display: flex;
  align-items: end;
  gap: 0.45rem;
}

.equalizer-xl span {
  flex: 1;
  min-width: 5px;
  height: 28%;
  background: linear-gradient(180deg, var(--acid), var(--hot));
  animation: bars 620ms ease-in-out infinite alternate;
}

.equalizer-xl span:nth-child(2n) {
  animation-duration: 760ms;
  background: linear-gradient(180deg, var(--blue), var(--acid));
}

.equalizer-xl span:nth-child(3n) {
  animation-duration: 480ms;
}

.equalizer-xl span:nth-child(5n) {
  animation-duration: 920ms;
}

.victory-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 5rem;
}

.victory-strip article {
  min-height: 220px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(6, 8, 9, 0.76);
}

.victory-strip span {
  color: var(--acid);
  font-weight: 950;
}

.victory-strip strong {
  display: block;
  margin: 1.6rem 0 0.6rem;
  font-size: 1.4rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.victory-strip p {
  color: var(--muted);
  line-height: 1.45;
}

.updates-main {
  width: min(1040px, calc(100% - 2rem));
}

.updates-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.updates-hero h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 10vw, 8rem);
}

.updates-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #dfe7da;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.signed-out-panel {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-feed {
  display: grid;
  gap: 1rem;
  padding: 0 0 5rem;
}

.update-card {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(215,255,49,0.08), rgba(53,200,255,0.05)),
    rgba(6, 8, 9, 0.82);
  backdrop-filter: blur(16px);
}

.update-card h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.update-meta {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-weight: 850;
}

.markdown-body {
  color: #dfe7da;
  font-size: 1.05rem;
  line-height: 1.62;
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  margin: 1.5rem 0 0.65rem;
  color: var(--acid);
  line-height: 1.05;
  text-transform: uppercase;
}

.markdown-body h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.markdown-body h3 {
  font-size: 1.35rem;
}

.markdown-body h4 {
  font-size: 1.1rem;
}

.markdown-body p,
.markdown-body ul {
  max-width: 78ch;
}

.markdown-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.markdown-body li::marker {
  color: var(--acid);
}

.markdown-body a {
  color: var(--acid);
  text-decoration-color: rgba(215,255,49,0.55);
}

.markdown-body code {
  padding: 0.12rem 0.28rem;
  color: var(--acid);
  background: rgba(255,255,255,0.08);
}

.markdown-body figure {
  margin: 1.25rem 0;
}

.markdown-body img {
  display: block;
  max-width: 100%;
  max-height: 620px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  background: rgba(5, 6, 8, 0.8);
}

footer a {
  color: var(--muted);
  text-decoration-color: rgba(215,255,49,0.5);
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  left: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(215,255,49,0.38);
  background: rgba(5, 6, 8, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 42px rgba(0,0,0,0.44);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--acid);
  text-transform: uppercase;
  font-size: 0.88rem;
}

.cookie-banner p {
  margin: 0;
  color: #dfe7da;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@keyframes scan {
  from { transform: translateY(-60px); }
  to { transform: translateY(60px); }
}

@keyframes rotate {
  to { transform: rotate(1turn); }
}

@keyframes photoDrift {
  from { translate: 0 0; }
  to { translate: -50% 0; }
}

@keyframes deckPulse {
  0%, 100% { scale: 1; filter: saturate(1.65) contrast(1.2); }
  50% { scale: 1.035; filter: saturate(2.05) contrast(1.32); }
}

@keyframes pulse {
  from { transform: scale(0.4); opacity: 0.95; }
  to { transform: scale(1.7); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bars {
  from { height: 18%; }
  to { height: 95%; }
}

@keyframes spinRecord {
  to { transform: rotate(1turn); }
}

@keyframes counterSpin {
  to { transform: rotate(-1turn); }
}

@media (max-width: 880px) {
  .hero,
  .signal-grid,
  .signup-panel,
  .victory-hero,
  .victory-strip {
    grid-template-columns: 1fr;
  }

  .signal-tower {
    min-height: 410px;
  }

  h1 {
    max-width: 10ch;
  }

  .victory-stage {
    min-height: 480px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .scene-strip img {
    width: clamp(190px, 46vw, 310px);
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 1rem, 1180px);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13.2vw, 3.6rem);
    line-height: 0.96;
  }

  .victory-copy h1 {
    font-size: clamp(4rem, 22vw, 5.8rem);
    line-height: 0.86;
  }

  .button {
    width: 100%;
  }

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

  .scene-wall {
    opacity: 0.32;
  }

  .signal-tower:after {
    right: -4rem;
    top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
