:root {
  --night: #0b0716;
  --night-2: #150b2a;
  --ink: #1a1024;
  --paper: #fff3d6;
  --sheet: #fffdf6;
  --ink-text: #fff6ea;
  --hot: #ff2d95;
  --orange: #ff8a3d;
  --gold: #ffd166;
  --teal: #22d3c5;
  --pink-type: #ff8ec4;
  --muted: #e7d3ea;
  --bar: 74px;
  --display: "Bangers", "Arial Black", Impact, sans-serif;
  --story: "Comic Neue", "Comic Sans MS", "Chalkboard SE", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--bar);
  background: var(--night);
  color: var(--ink-text);
  font-family: var(--story);
  font-size: 1.05rem;
  line-height: 1.45;
  overflow-x: hidden;
}

body.is-booting { overflow: hidden; }

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

ul { margin: 0; padding: 0; list-style: none; }

button, input, textarea { font-family: inherit; }

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

a { color: inherit; }

::selection { background: var(--hot); color: var(--ink-text); }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 300;
  font-family: var(--display);
  letter-spacing: 0.06em;
}

.skip:focus { left: 1rem; top: 1rem; }

html.skip-intro #intro { display: none !important; }
html.skip-intro body { overflow-x: hidden; overflow-y: auto; }

h1, h2, h3,
.kicker, .btn, .brand-name, .ticker, .cue, .stamp,
.flagpole .tip, .stripe-menu a, summary,
.intro-brand, .intro-slogan, .intro-punch, .intro-sub,
.ballot header, .specs dt, .charge b, .chip, .ca button,
.lightbox-bar button {
  font-family: var(--display);
  font-weight: 400;
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar);
  z-index: 50;
  background: var(--night);
  border-bottom: 4px solid var(--hot);
}

.bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 3px solid var(--hot);
  background: var(--ink);
  flex: none;
}

.brand-name {
  display: block;
  font-size: 1.65rem;
  line-height: 0.85;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-transform: uppercase;
}

.brand-tick {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--story);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--hot);
  text-decoration: none;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.icon-btn svg { width: 20px; height: 20px; display: block; }

.icon-btn img { width: 22px; height: 22px; object-fit: contain; }

.icon-btn.dex {
  background: var(--night-2);
  border-color: var(--teal);
  box-shadow: 4px 4px 0 var(--teal);
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 0 var(--hot), 0 0 16px rgba(255, 45, 149, 0.45);
}

.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 4px solid var(--ink);
  padding: 0.72rem 1.05rem 0.55rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.btn img { width: 22px; height: 22px; object-fit: contain; flex: none; }

.btn:hover { transform: translateY(-2px); }

.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }

.btn-buy {
  background: linear-gradient(135deg, var(--hot), var(--orange));
  color: var(--ink-text);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-buy:hover {
  box-shadow: 6px 8px 0 var(--ink), 0 0 22px rgba(255, 45, 149, 0.55);
}

.btn-chart {
  background: #140a22;
  color: var(--ink-text);
  border-color: var(--teal);
  box-shadow: 6px 6px 0 #0d6e64;
}

.btn-chart:hover {
  box-shadow: 6px 8px 0 #0d6e64, 0 0 18px rgba(34, 211, 197, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 6px 6px 0 var(--hot);
}

.bar .btn-buy { padding-inline: 0.85rem; }

/* ---------- flagpole ---------- */
.flagpole {
  display: none;
}

.stripe-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--night);
  overflow: auto;
}

.stripe-menu[hidden] { display: none !important; }

.stripe-menu a {
  flex: 1 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0.4rem 7vw 0.2rem;
  text-decoration: none;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform-origin: left center;
}

.stripe-menu a:nth-of-type(odd) { background: var(--hot); color: var(--ink-text); }
.stripe-menu a:nth-of-type(even) { background: var(--paper); color: var(--ink); }

.stripe-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

/* ---------- intro ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: radial-gradient(circle at 50% 16%, #3a1768 0%, var(--night-2) 42%, var(--night) 72%);
  overflow: hidden;
}

#intro[hidden] { display: none !important; }

.intro-stage { position: absolute; inset: 0; }

.intro-moon {
  position: absolute;
  top: 7vh;
  left: 50%;
  width: min(46vw, 340px);
  aspect-ratio: 1;
  margin-left: calc(min(46vw, 340px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff4c8 0%, var(--gold) 28%, var(--orange) 60%, var(--hot) 84%);
  box-shadow: 0 0 70px rgba(255, 138, 61, 0.55);
  opacity: 0;
}

.intro-words {
  position: absolute;
  top: 16vh;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  padding: 0 1rem;
}

.intro-slogan,
.intro-punch,
.intro-sub,
.intro-figure { opacity: 0; }

.intro-slogan {
  color: var(--pink-type);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2rem);
  text-shadow: 3px 3px 0 var(--ink);
}

.intro-punch {
  color: var(--gold);
  font-size: clamp(3.2rem, 18vw, 8.4rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 6px 6px 0 var(--hot);
}

.intro-sub {
  display: inline-block;
  margin-top: 0.4rem;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 0.15rem 0.7rem 0.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
}

.intro-figure-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.intro-figure {
  width: auto;
  height: min(46vh, 520px);
  max-width: 92vw;
  object-fit: contain;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 0 rgba(11, 7, 22, 0.45));
}

.intro-prop {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  opacity: 0.15;
}

.prop-a { top: 22%; left: 14%; width: 16px; height: 16px; background: var(--gold); }
.prop-b { top: 28%; right: 14%; width: 12px; height: 12px; background: var(--hot); }
.prop-c { top: 16%; right: 28%; width: 9px; height: 9px; background: var(--teal); }

.stripes {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.stripes i {
  flex: 1;
  display: block;
  background: var(--hot);
  transform: scaleX(0);
}

.stripes i:nth-child(even) { background: var(--paper); transform-origin: right center; }
.stripes i:nth-child(odd) { transform-origin: left center; }

.intro-brand {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 1.4rem;
}

.intro-actions {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  min-height: calc(100svh - var(--bar));
  background: var(--night);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  padding: 1.7rem 1.2rem 2.1rem;
  min-width: 0;
  background: var(--night);
}

.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hot);
  font-size: 1.2rem;
}

.hero h1 {
  font-size: clamp(3rem, 15vw, 7.1rem);
  line-height: 0.8;
  text-transform: uppercase;
}

.line-pink,
.line-gold {
  display: block;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--hot);
}

.line-pink { color: var(--pink-type); }
.line-gold { color: var(--gold); }

.ticker {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 1.7rem;
}

.lede {
  max-width: 38rem;
  font-size: 1.22rem;
  font-weight: 700;
}

.chips, .actions { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 3px solid var(--gold);
  background: var(--ink);
  color: var(--paper);
  padding: 0.18rem 0.6rem 0.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.chip img { width: 16px; height: 16px; object-fit: contain; }

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0.28rem 0.7rem 0.18rem;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--hot);
}

.pill-live:hover { transform: translateY(-2px); }

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(255, 45, 149, 0.65);
  animation: livepulse 1.6s infinite;
}

@keyframes livepulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 45, 149, 0); }
}

.ca {
  display: flex;
  align-items: stretch;
  max-width: 42rem;
  border: 4px solid var(--gold);
  background: rgba(20, 10, 34, 0.78);
  box-shadow: 6px 6px 0 var(--hot);
  backdrop-filter: blur(8px);
}

.ca code {
  flex: 1;
  padding: 0.7rem 0.8rem;
  font-family: var(--story);
  font-weight: 700;
  font-size: 0.98rem;
  word-break: break-all;
  color: var(--ink-text);
}

.ca button {
  border: 0;
  border-left: 4px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  padding: 0 0.9rem;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
  cursor: pointer;
}

.caution { font-size: 0.95rem; font-weight: 700; color: #ffd6ea; }
.ballot .caution,
.paper .caution,
.band.paper .caution { color: #7a2458; }

.cue {
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.hero-scene {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, #2a1460 0%, #ff2d95 30%, #ff8a3d 62%, #ffd166 100%);
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 7, 22, 0.55), transparent 30%);
  pointer-events: none;
  z-index: 3;
}

.sun {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: min(48%, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 38% 36%, #fff7d1 0%, var(--gold) 26%, var(--orange) 58%, var(--hot) 82%);
  box-shadow: 0 0 60px rgba(255, 138, 61, 0.7);
  z-index: 1;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

.skyline {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 26%;
  height: 38%;
  display: flex;
  align-items: flex-end;
  gap: 7%;
  z-index: 1;
}

.skyline i { display: block; flex: 1; background: #14081f; }
.skyline i:nth-child(1) { height: 42%; }
.skyline i:nth-child(2) { height: 76%; }
.skyline i:nth-child(3) { height: 34%; }
.skyline i:nth-child(4) { height: 62%; }
.skyline i:nth-child(5) { height: 48%; }

.water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.18), #e85a8c 36%, #7a1d5c 100%);
}

.palm {
  position: absolute;
  bottom: 8%;
  width: min(36%, 210px);
  height: auto;
  z-index: 2;
}

.palm-l { left: -4%; }
.palm-r { right: -6%; transform: scaleX(-1); }

/* ---------- sections ---------- */
.band { padding: clamp(3.4rem, 7vw, 5.8rem) 1.1rem; }

.band.night { background: var(--night); color: var(--ink-text); }
.band.paper { background: var(--paper); color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; }

.sec-head { text-align: center; margin: 0 auto 1.6rem; max-width: 46rem; }

.sec-head h2 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.band.night h2 { color: var(--paper); text-shadow: 4px 4px 0 var(--hot); }
.band.paper h2 { color: var(--ink); text-shadow: 4px 4px 0 #ffb0d6; }
.band.paper .kicker { color: #d01278; }

.sub {
  margin-top: 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
}

section[id] { scroll-margin-top: calc(var(--bar) + 12px); }

.poster-frame,
.shot,
.mug,
.wire,
.ballot,
.bubble,
.charge,
.ask {
  border: 4px solid var(--ink);
}

.poster-frame {
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--hot);
}

.poster-frame button,
.shot .frame,
.mug button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.poster-frame img,
.shot img,
.mug img,
.closer-card img,
#lightbox img {
  width: 100%;
  object-fit: contain;
  background: #120a1c;
}

.poster-frame img { height: auto; max-height: none; }

.caption,
.shot figcaption,
.poster-frame figcaption {
  background: var(--sheet);
  color: var(--ink);
  border-top: 4px solid var(--ink);
  padding: 0.85rem 1rem 0.95rem;
  font-weight: 700;
}

.caption h3,
.shot figcaption strong,
.poster-frame figcaption strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.file {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.bubble {
  position: relative;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--hot);
  padding: 1rem 1.15rem 1.05rem;
  margin-left: 22px;
}

.bubble::before,
.bubble::after {
  content: "";
  position: absolute;
  top: 22px;
  border-style: solid;
  border-color: transparent;
}

.bubble::before {
  left: -18px;
  border-width: 10px 16px 10px 0;
  border-right-color: var(--ink);
}

.bubble::after {
  left: -12px;
  top: 24px;
  border-width: 8px 14px 8px 0;
  border-right-color: var(--sheet);
}

.bubble .kicker { margin-bottom: 0.3rem; }

.bubble p + p { margin-top: 0.35rem; }

.mark {
  background: var(--hot);
  color: var(--ink-text);
  padding: 0 0.28rem;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.account {
  background: var(--gold);
  color: var(--ink);
  padding: 0 0.28rem;
  font-family: var(--display);
  letter-spacing: 0.05em;
}

.signoff {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.4rem;
}

.rail-wrap { position: relative; }

.rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.4rem 1.35rem;
  scroll-snap-type: x mandatory;
  cursor: grab;
}

.rail:focus-visible { outline-offset: 4px; }

.rail::-webkit-scrollbar { height: 10px; }
.rail::-webkit-scrollbar-track { background: #1a1024; }
.rail::-webkit-scrollbar-thumb { background: var(--hot); }

.shot {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: start;
  background: var(--sheet);
  box-shadow: 8px 8px 0 var(--hot);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.shot img { height: min(62vh, 460px); }

.shot:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 var(--hot);
}

.rail-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.4rem;
  align-items: center;
}

.mug {
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--hot);
}

.mug img { height: auto; }

.stamp {
  display: inline-block;
  border: 4px solid var(--hot);
  color: var(--hot);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem 0.02rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.charge {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
}

.charge b {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--hot);
}

.charge h3 {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.heat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0.9rem;
  font-weight: 700;
}

.heat svg { width: 18px; height: 18px; fill: var(--gold); }

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.55rem;
}

.specs div {
  background: var(--ink);
  color: var(--paper);
  border: 3px solid var(--gold);
  padding: 0.5rem 0.65rem 0.4rem;
}

.specs dt {
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--gold);
  text-transform: uppercase;
}

.specs dd { margin: 0; font-weight: 700; }

.ballot {
  max-width: 820px;
  margin: 0 auto;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--hot);
}

.ballot header {
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.8rem;
  padding: 0.85rem 1.1rem 0.65rem;
}

.slip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border-top: 2px dashed var(--ink);
}

.slip h3 {
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.slip p { font-weight: 700; margin-top: 0.15rem; }

.slip-icon { width: 42px; height: 42px; object-fit: contain; }

.ca-badge {
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--gold);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.bubble-dot {
  width: 28px;
  height: 28px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 0 var(--hot);
}

.slip.voted .bubble-dot {
  background: radial-gradient(circle at 40% 40%, var(--gold), var(--hot) 72%);
  animation: pop 0.35s var(--ease);
}

@keyframes pop {
  0% { transform: scale(0.4); }
  100% { transform: scale(1); }
}

.ballot footer {
  border-top: 4px solid var(--ink);
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.75rem;
}

.ask {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  margin: 0 auto 0.75rem;
  max-width: 800px;
}

.ask summary {
  padding: 0.85rem 1rem 0.65rem;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.ask summary::-webkit-details-marker { display: none; }

.ask summary::after {
  content: "+";
  color: var(--hot);
  font-size: 1.6rem;
  line-height: 1;
}

.ask[open] summary::after { content: "–"; }

.ask p { padding: 0 1rem 1rem; font-weight: 700; }

.wire {
  background: #120a1c;
  box-shadow: 10px 10px 0 var(--hot);
  max-width: 960px;
  margin: 0 auto;
}

.wire-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 8px var(--gold);
}

.wire-frame iframe,
.wire-pending {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wire-pending {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--paper);
  font-weight: 700;
  background: #120a1c;
}

.wire-pending[hidden],
.wire-frame iframe[hidden] { display: none !important; }

.wire-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  color: var(--ink);
  border-top: 4px solid var(--ink);
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

.wire-cap a { color: #a31262; }

.closer {
  background: linear-gradient(180deg, #ffb15a 0%, var(--hot) 46%, #5b1d8a 100%);
  padding: clamp(3.2rem, 7vw, 5.5rem) 1rem;
}

.closer-card {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  background: var(--night);
  color: var(--ink-text);
  border: 5px solid var(--gold);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 1rem;
}

.closer-card img {
  border: 4px solid var(--hot);
  animation: bob 4.8s ease-in-out infinite;
}

@keyframes bob {
  50% { transform: translateY(-8px); }
}

.closer-copy { display: grid; gap: 0.8rem; padding: 0.4rem 0.3rem 0.4rem 0; }

.closer h2 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--hot);
}

.footer {
  background: #07050f;
  color: var(--muted);
  border-top: 4px solid var(--hot);
  padding: 2rem 1.1rem 2.5rem;
}

.footer .inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 0.8rem; }

.footer strong {
  font-family: var(--display);
  font-weight: 400;
  color: var(--paper);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer a { color: var(--gold); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  transform: translateX(-50%) translateY(12px);
  background: var(--paper);
  color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
  padding: 0.7rem 0.9rem 0.6rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

#lightbox {
  border: 5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  width: min(960px, 94vw);
  max-height: 92vh;
}

#lightbox::backdrop { background: rgba(11, 7, 22, 0.84); }

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.75rem;
  background: var(--paper);
}

.lightbox-bar p { font-weight: 700; }

#lightbox img {
  max-height: 74vh;
  background: #120a1c;
}

@media (min-width: 1100px) {
  body { padding-left: 84px; }
  .bar { padding-left: 84px; }

  .flagpole {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    z-index: 55;
    left: 16px;
    top: calc(var(--bar) + 8px);
    bottom: 12px;
    width: 36px;
  }

  .flagpole .pole {
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--gold);
  }

  .pennant {
    position: absolute;
    left: 22px;
    width: 16px;
    height: 12px;
    background: var(--hot);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: top 0.35s var(--ease);
    pointer-events: none;
  }

  .flagpole a {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    text-decoration: none;
  }

  .flagpole .star {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    fill: var(--night);
    stroke: var(--gold);
    stroke-width: 2;
    transition: transform 0.25s var(--ease);
  }

  .flagpole a.is-active .star {
    fill: var(--gold);
    transform: scale(1.35) rotate(18deg);
    filter: drop-shadow(0 0 6px var(--gold));
  }

  .flagpole .tip {
    position: absolute;
    left: 36px;
    background: var(--paper);
    color: var(--ink);
    border: 3px solid var(--ink);
    padding: 0.12rem 0.5rem 0.02rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .flagpole a:hover .tip,
  .flagpole a:focus-visible .tip { opacity: 1; transform: none; }
}

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .bar .btn-buy span.long { display: none; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-scene { min-height: 240px; order: -1; }
  .hero-scene::after {
    background: linear-gradient(180deg, transparent 42%, rgba(11, 7, 22, 0.92));
  }
  .sheet-grid,
  .closer-card { grid-template-columns: 1fr; }
  .charge { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-tick { display: none; }
  .slip { grid-template-columns: auto minmax(0, 1fr); }
  .slip-icon { display: none; }
  .intro-figure { height: min(34vh, 320px); }
  .intro-words { top: 10vh; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
}

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