:root {
  --bg: #0b0b0a;
  --ink: #f4efe4;
  --muted: #a9a394;
  --gold: #f5c518;
  --green: #1f9d4c;
  --red: #d92b2b;
  --line: rgba(244, 239, 228, .14);
  --paper: #f4efe4;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --top: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
h2 {
  font: 400 clamp(2.6rem, 7vw, 5rem)/.95 var(--display);
  text-transform: uppercase; letter-spacing: .01em;
}
.tag {
  display: inline-block; background: var(--gold); color: #141200; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  font: 700 15px/1.1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: #141200; }
.btn-gold:hover { background: #ffd83a; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { background: #24231f; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn-xs { min-height: 36px; padding: 0 16px; font-size: 12px; }
.btn-block { display: flex; width: 100%; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid rgba(244, 239, 228, .28); transition: background .15s, border-color .15s, color .15s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn.wa { color: #25d366; border-color: rgba(37, 211, 102, .5); }
.icon-btn.wa:hover { background: #25d366; border-color: #25d366; color: #000; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  font: 600 15px var(--body); text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--top);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: #000; border-bottom: 1px solid var(--line);
}
.top nav { display: flex; gap: 28px; margin-left: auto; }
.top nav a {
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0;
}
.top nav a:hover { color: var(--gold); }
/* The logo is only ever shown on pure black: the header and footer are #000. */
.mark { display: block; line-height: 0; background: #000; }
.mark img { height: 64px; width: auto; }
.mark-lg img { height: clamp(110px, 16vw, 150px); }

/* Hero */
.hero { position: relative; padding-top: var(--top); }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; height: min(50vw, 66svh); min-height: 180px;
  object-fit: cover; object-position: 50% 32%;
}
.hero-art::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(0deg, var(--bg), rgba(11, 11, 10, 0));
}
.hero-body {
  position: relative; max-width: 1180px; margin: -36px auto 0;
  padding: 0 var(--gutter) 56px;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 88px); align-items: end;
}
.hero h1 {
  font: 400 clamp(4rem, 9.5vw, 8.5rem)/.86 var(--display);
  text-transform: uppercase; margin-left: -.03em;
}
.live { margin-top: 14px; }
.live span {
  display: inline-block; background: var(--gold); color: #141200;
  font: 400 clamp(1.15rem, 2.2vw, 1.7rem)/1 var(--display);
  text-transform: uppercase; letter-spacing: .06em; padding: .32em .6em .28em;
}
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-bottom: 26px; }
.facts li { color: var(--muted); font-size: 15px; }
.facts b { display: block; color: var(--ink); font-size: 20px; font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Countdown */
.clock { border-top: 1px solid var(--line); }
.clock-in {
  max-width: 1180px; margin: 0 auto; padding: clamp(22px, 3vw, 36px) var(--gutter);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 88px); align-items: center;
}
.clock-label .eyebrow { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.clock-label .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }
.clock-when { color: var(--muted); font-size: 15px; }
.clock-cells { display: grid; grid-template-columns: repeat(4, 1fr); }
.clock-cells div { padding: 0 clamp(10px, 2vw, 28px); border-left: 1px solid var(--line); }
.clock-cells b {
  display: block; font: 400 clamp(3.4rem, 8.5vw, 7.2rem)/.9 var(--display);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.clock-cells span {
  display: block; margin-top: 8px; color: var(--muted);
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.clock-cells .sec b { color: var(--gold); }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker p { display: flex; flex: none; }
.ticker span, .ticker i {
  font: 400 clamp(1.5rem, 3vw, 2.4rem)/1 var(--display); font-style: normal;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  display: flex; align-items: center;
}
.ticker i { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.ticker span::after, .ticker i::after {
  content: ""; width: 10px; height: 10px; margin: 0 clamp(18px, 3vw, 36px);
  background: var(--gold); transform: rotate(45deg);
}
@keyframes slide { to { transform: translateX(-50%); } }
.stripe { height: 6px; display: flex; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--green); }
.stripe i:nth-child(2) { background: var(--gold); }
.stripe i:nth-child(3) { background: var(--red); }

/* Sections */
.event, .lineup { padding: clamp(64px, 10vw, 128px) 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.copy p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9d3c5; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; }

.acts { counter-reset: act; }
.acts li::before {
  counter-increment: act; content: "0" counter(act);
  color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; min-width: 2em;
}
.acts span { flex: 1; }
.lineup-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.lineup-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.lineup-photo::after {
  content: ""; position: absolute; inset: 45% 0 0 0;
  background: linear-gradient(0deg, rgba(11, 11, 10, .92), rgba(11, 11, 10, 0));
}
.lineup-photo figcaption {
  position: absolute; z-index: 1; inset: auto 0 0 0; padding: clamp(18px, 3vw, 32px);
}
.lineup-photo strong {
  display: block; font: 400 clamp(3.4rem, 8vw, 6.4rem)/.86 var(--display);
  text-transform: uppercase; color: var(--ink);
}
.acts li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.acts li:first-child { border-top: 1px solid var(--line); }
.acts span { font: 400 clamp(1.8rem, 3.8vw, 3rem)/1 var(--display); text-transform: uppercase; }
.acts em {
  font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); text-align: right; white-space: nowrap;
}

/* Listen */
.listen { padding: clamp(64px, 10vw, 128px) 0; }
.eq i {
  display: inline-block; width: 3px; height: 12px; margin-right: 3px; background: var(--gold);
  transform-origin: 50% 100%; animation: eq .9s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-delay: -.3s; }
.eq i:nth-child(3) { animation-delay: -.6s; }
.eq i:nth-child(4) { animation-delay: -.15s; margin-right: 12px; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.listen-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 40px; align-items: start; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border: 1px solid var(--line); background: #000; overflow: hidden; cursor: pointer; color: var(--ink);
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .82; }
.video:hover img { transform: scale(1.03); opacity: 1; }
.play {
  position: absolute; inset: 50% auto auto 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: var(--gold); transition: transform .2s;
}
.play::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; margin: -13px 0 0 -8px;
  border-left: 22px solid #141200; border-block: 13px solid transparent;
}
.video:hover .play { transform: scale(1.08); }
.video-cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px; text-align: left;
  font: 400 13px var(--body); letter-spacing: .04em; color: #d9d3c5;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
}
.video-cap b { display: block; font: 400 1.9rem/1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.spotify iframe { width: 100%; border: 0; border-radius: 12px; display: block; }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.clock-cells b.tick { animation: tick .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes tick { from { transform: translateY(-.14em); opacity: .35; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art { overflow: hidden; }
  .hero-art img { animation: settle 2.2s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-body > div { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .hero-body > div + div { animation-delay: .3s; }
  .clock-in { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .45s both; }
  @keyframes settle { from { transform: scale(1.08); } }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @supports (animation-timeline: scroll()) {
    .top::after {
      content: ""; position: absolute; inset: auto 0 -2px 0; height: 2px; transform-origin: 0 50%;
      background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
      animation: progress linear both; animation-timeline: scroll(root);
    }
    @keyframes progress { from { transform: scaleX(0); } }
    .lineup-photo img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: scale(1.14); } to { transform: scale(1); } }
  }
}

/* Tickets */
.tickets { background: var(--paper); color: var(--bg); padding: clamp(64px, 10vw, 120px) 0; }
.tickets .eyebrow { color: #8a6d00; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--bg); padding: clamp(22px, 3vw, 36px);
}
.card header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.card h3 { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.price { font: 400 clamp(2.6rem, 5vw, 3.6rem)/.9 var(--display); white-space: nowrap; }
.price small { font: 600 13px var(--body); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.card .tag { align-self: flex-start; }
.note { color: #4a473f; max-width: 36em; }
.card-actions { margin-top: auto; padding-top: 28px; }
.card-actions .btn + .btn { margin-top: 10px; }
.fine a { color: inherit; text-decoration: underline; }
.fine { font-size: 13.5px; color: #6a665c; margin-top: 12px; text-align: center; }
.fine:empty { display: none; }
.card-vip { background: var(--bg); color: var(--ink); }
.card-vip .note { color: #cfc9bb; }
.card-vip .fine { color: var(--muted); }

/* General admission on its own: one wide card, button on the right */
.cards-ga { grid-template-columns: 1fr; }
.cards-ga .card { display: grid; grid-template-columns: 1fr minmax(240px, 320px); column-gap: clamp(24px, 4vw, 56px); align-items: center; }
.cards-ga header { justify-content: flex-start; gap: 24px; }
.cards-ga header, .cards-ga .note { grid-column: 1; }
.cards-ga .card-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; }
.cards-ga .fine { grid-column: 2; }

/* VIP packages */
.vip { margin-top: clamp(48px, 7vw, 80px); scroll-margin-top: 80px; }
.vip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.vip-head h3 { font: 400 clamp(2rem, 4.5vw, 3rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.vip-head p { color: #4a473f; max-width: 34em; }
.vip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; align-items: stretch; }
.vip-cards header { flex-direction: column; align-items: flex-start; gap: 10px; }
.vip-cards .card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.vip-cards .tag { margin-top: 4px; }
.perks { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.perks li { position: relative; padding-left: 26px; color: var(--ink); }
.perks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.perks .perks-plus { padding-left: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.perks .perks-plus::before { content: none; }
/* Upgrade cards carry the shared items too; they only show on phones, where VIP Table isn't alongside. */
.perks .perks-inherited { display: none; }
.vip-tabs { display: none; }
.card-elite { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 18px 40px -18px rgba(245, 197, 24, .55); }
.vip > .fine { color: #6a665c; }
/* Side by side, line up each row (name, tag, description, perks, buttons) across the three cards. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 981px) {
    .vip-cards .card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .vip-cards .tag { justify-self: start; align-self: start; }
    .vip-cards .perks { align-content: start; }
    .vip-cards .card-actions { align-self: end; }
  }
}
@media (max-width: 980px) {
  .vip-cards { grid-template-columns: 1fr; max-width: 620px; }
  .perks { gap: 6px; }
  /* One package at a time: tabs pick it, and each card lists everything it includes. */
  .vip-tabs:not([hidden]) {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 620px; margin-top: 20px;
    padding: 4px; background: var(--bg); border-radius: 999px;
  }
  .vip-tabs button {
    display: grid; gap: 2px; justify-items: center; padding: 9px 4px; border: 0; border-radius: 999px;
    background: none; color: var(--ink); cursor: pointer;
    font: 700 11px/1.1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  }
  .vip-tabs button b { font: 400 20px/1 var(--display); letter-spacing: .02em; }
  .vip-tabs button[aria-selected="true"] { background: var(--gold); color: #141200; }
  .vip-tabs + .vip-cards { margin-top: 12px; }
  .vip.tabbed .vip-cards .card:not(.is-active) { display: none; }
  .perks .perks-plus { display: none; }
  .perks .perks-inherited { display: block; }
  .perks .perks-extra { color: var(--gold); font-weight: 600; }
}
/* Where cards are wide enough, the list goes in two columns to halve its height. */
@media (min-width: 440px) and (max-width: 980px) {
  .vip-cards .perks { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

/* Venue */
.venue { padding: clamp(64px, 10vw, 120px) 0; }
.venue h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.venue-facts { margin: 28px 0 30px; }
.map { aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden; }
.map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(1) invert(.92) contrast(.9);
}

/* Footer */
.foot { background: #000; padding: 48px 0 110px; border-top: 6px solid var(--gold); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hash { font-weight: 700; text-decoration: none; }
.hash:hover { color: var(--gold); }
.contact { margin-top: 28px; font-size: 15px; color: #d9d3c5; overflow-wrap: anywhere; }
.contact a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.credit { margin-top: 28px; font-size: 12px; color: var(--muted); }
.credit summary { cursor: pointer; list-style: none; display: inline-block; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; opacity: .7; }
.credit summary::-webkit-details-marker { display: none; }
.credit summary:hover { opacity: 1; color: var(--gold); }
.credit[open] summary { margin-right: 8px; }
.credit[open] { display: block; }

/* Sticky buy bar (phones) */
.bar {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 10, .96); border-top: 1px solid var(--line);
}
.bar p { font-size: 14px; color: var(--muted); }
.bar b { color: var(--ink); }

@media (max-width: 820px) {
  .top nav { display: none; }
  .top-actions { margin-left: auto; gap: 8px; }
  .hero-art img { height: auto; aspect-ratio: 2 / 1; }
  .hero-body { grid-template-columns: 1fr; gap: 26px; margin-top: -10px; padding-bottom: 44px; }
  .hero h1 { font-size: 25vw; }
  .facts { gap: 14px 28px; }
  .clock-in { grid-template-columns: 1fr; gap: 18px; }
  .clock-cells div { padding: 0 0 0 12px; }
  .clock-cells b { font-size: 17vw; }
  .clock-cells span { font-size: 10px; letter-spacing: .14em; }
  .cta .btn { flex: 1 1 auto; }
  .two, .cards, .listen-grid { grid-template-columns: 1fr; }
  .cards-ga .card { display: flex; }
  .cards-ga header { justify-content: space-between; }
  .cards-ga .card-actions { padding-top: 28px; }
  .play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .lineup-photo { aspect-ratio: 1 / 1; }
  .bar { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .ticker-track, .clock-label .eyebrow::before, .eq i, .clock-cells b.tick { animation: none; }
}

/* Opening intro: shown once per visit, skipped for reduced motion */
.splash { display: none; }
.intro body { overflow: hidden; }
.intro .splash {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(120% 80% at 50% 110%, #1c1608 0%, #000 60%);
  transition: opacity .6s ease .15s;
}
.intro .top .mark img { opacity: 0; transition: opacity .2s; }
.intro.intro-done .top .mark img { opacity: 1; }
.intro.intro-done body { overflow: auto; }
.intro.intro-done .splash { opacity: 0; pointer-events: none; }
/* Everything in the opening waits for .intro-go, so a slow video never leaves it half played */
.intro:not(.intro-go) .splash *, .intro:not(.intro-go) .splash *::before, .intro:not(.intro-go) .splash *::after,
.intro:not(.intro-go) .hero-art img, .intro:not(.intro-go) .hero-body > div, .intro:not(.intro-go) .clock-in { animation-play-state: paused; }
.intro .hero-art img, .intro .hero-body > div, .intro .clock-in { animation-delay: 4.3s; }
.intro .hero-body > div + div { animation-delay: 4.45s; }
.intro .clock-in { animation-delay: 4.6s; }

/* Stage footage, graded dark so the gold logo leads */
.splash-stage {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000;
  animation: stageIn 4.6s cubic-bezier(.2, .6, .2, 1) both;
}
@keyframes stageIn { from { transform: scale(1.08); } to { transform: scale(1); } }
.splash-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(62% 44% at 50% 50%, rgba(0, 0, 0, .66), rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .85));
}
/* The flashing rig: strobe hits from the light row, then a bloom as the logo lands */
.strobe {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background:
    radial-gradient(70% 34% at 50% 0%, rgba(190, 235, 255, .95), rgba(120, 190, 255, .35) 45%, rgba(0, 0, 0, 0) 75%),
    radial-gradient(42% 30% at 50% 50%, rgba(255, 226, 140, .9), rgba(245, 197, 24, .25) 55%, rgba(0, 0, 0, 0) 80%);
  animation: strobe 2.2s linear .35s both;
}
@keyframes strobe {
  0% { opacity: 0; } 3% { opacity: .9; } 7% { opacity: 0; }
  12% { opacity: .75; } 16% { opacity: 0; }
  21% { opacity: 1; } 25% { opacity: .1; }
  29% { opacity: .6; } 32% { opacity: 0; }
  35% { opacity: 1; } 60% { opacity: .18; } 100% { opacity: 0; }
}
.splash-fizz { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.beam {
  position: absolute; top: -12%; width: 40vmax; height: 135%; opacity: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(180deg, rgba(200, 235, 255, .42), rgba(120, 180, 255, .12) 45%, rgba(0, 0, 0, 0) 80%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); filter: blur(7px); transform-origin: 50% 0;
}
.beam-l { left: 2%; animation: beamL 3.6s cubic-bezier(.45, 0, .2, 1) .9s both; }
.beam-r { right: 2%; animation: beamR 3.6s cubic-bezier(.45, 0, .2, 1) 1s both; }
.beam-c {
  left: 50%; margin-left: -20vmax; animation: beamC 3.2s ease-out 1.1s both;
  background: linear-gradient(180deg, rgba(255, 220, 120, .4), rgba(245, 197, 24, .1) 50%, rgba(0, 0, 0, 0) 80%);
}
@keyframes beamL { 0% { opacity: 0; transform: rotate(-42deg); } 25% { opacity: 1; } 60% { transform: rotate(-6deg); } 100% { opacity: .5; transform: rotate(-18deg); } }
@keyframes beamR { 0% { opacity: 0; transform: rotate(42deg); } 25% { opacity: 1; } 60% { transform: rotate(6deg); } 100% { opacity: .5; transform: rotate(18deg); } }
@keyframes beamC { 0% { opacity: 0; transform: scaleX(.3); } 20% { opacity: .9; } 100% { opacity: .35; transform: scaleX(1); } }
.splash-in { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 16px; }
.splash-in::before {
  content: ""; position: absolute; left: 50%; top: 36%; width: 165%; aspect-ratio: 1.55; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .9) 42%, rgba(0, 0, 0, .55) 68%, rgba(0, 0, 0, 0)); pointer-events: none;
  animation: pool .9s ease-out .85s both;
}
@keyframes pool { from { opacity: 0; transform: translate(-50%, -50%) scale(.7); } }
.splash-in > * { position: relative; }
/* The logo art sits on black: screen-blend drops the black so the gold glows over the stage */
.splash-logo { position: relative; line-height: 0; overflow: hidden; will-change: transform; mix-blend-mode: screen; }
.splash-logo img { width: min(80vw, 480px); height: auto; animation: logoIn 1s cubic-bezier(.16, .8, .2, 1) 1.05s both; }
.splash-logo::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: overlay; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 1.1s ease-in-out 1.75s both;
}
@keyframes logoIn {
  0% { opacity: 0; transform: scale(1.35); filter: blur(18px) brightness(2.2); }
  45% { opacity: 1; filter: blur(0) brightness(1.6); }
  100% { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); }
}
@keyframes shine { to { transform: translateX(120%); } }
.splash-line { display: flex; width: min(60vw, 300px); height: 3px; margin: 22px 0 18px; transform-origin: 50% 50%; animation: line .7s cubic-bezier(.2, .7, .2, 1) 1.75s both; }
.splash-line i { flex: 1; }
.splash-line i:nth-child(1) { background: var(--green); }
.splash-line i:nth-child(2) { background: var(--gold); }
.splash-line i:nth-child(3) { background: var(--red); }
@keyframes line { from { transform: scaleX(0); } }
.splash-count { display: flex; align-items: baseline; gap: 12px; color: var(--ink); animation: rise .6s cubic-bezier(.2, .7, .2, 1) 1.9s both; }
.splash-count b { font: 400 clamp(3.2rem, 11vw, 5.4rem)/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.splash-count span { font: 400 clamp(1rem, 3vw, 1.4rem)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.splash-sub { display: flex; gap: 14px; margin-top: 10px; font: 500 12px/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: #cfc8b8; }
.splash-sub span { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.splash-sub span:nth-child(1) { animation-delay: 2.1s; }
.splash-sub span:nth-child(2) { animation-delay: 2.2s; color: var(--gold); }
.splash-sub span:nth-child(3) { animation-delay: 2.3s; }
.splash-sub span:nth-child(4) { animation-delay: 2.4s; }
.splash-skip {
  position: absolute; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); padding: 8px 14px;
  border: 1px solid rgba(244, 239, 228, .25); border-radius: 999px; background: transparent;
  font: 500 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #cfc8b8; cursor: pointer;
}
.splash-skip:hover { color: var(--gold); border-color: var(--gold); }
.intro-flying .splash-in > :not(.splash-logo), .intro-flying .beam, .intro-flying .strobe, .intro-flying .splash-skip { opacity: 0; transition: opacity .3s; }
.splash-skip { z-index: 2; }
.splash-sub { text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.splash-count { text-shadow: 0 2px 18px rgba(0, 0, 0, .85); }
@media (max-width: 520px) { .splash-sub { gap: 9px; letter-spacing: .22em; font-size: 11px; } }

/* Buy panel */
.buy {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #151513;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.buy::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.buy[open] { animation: buy-in .22s ease-out; }
@keyframes buy-in { from { opacity: 0; transform: translateY(14px); } }
.buy form { padding: 22px 22px 18px; display: grid; gap: 16px; }
.buy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.buy h2 { font: 400 30px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.buy-meta { margin-top: 6px; color: var(--muted); font-size: 14px; }
.buy-x {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: none; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.buy-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
}
.buy-label { font-weight: 600; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #0b0b0a; color: var(--ink);
  font-size: 20px; cursor: pointer;
}
.qty button:disabled { opacity: .35; cursor: default; }
.qty output { min-width: 32px; text-align: center; font: 400 26px/1 var(--display); }
.buy-field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.buy-field input {
  font: inherit; font-size: 16px; color: var(--ink);
  background: #0b0b0a; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
}
.buy-field input:focus { outline: none; border-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.buy-total small { display: block; color: var(--muted); font-size: 12px; }
.buy-total b { font: 400 28px/1 var(--display); color: var(--gold); }
.buy-err { color: #ff8a80; font-size: 14px; }
.buy .fine { margin-top: 0; color: var(--muted); font-size: 12.5px; }
.buy #buy-go:disabled { opacity: .7; }
@media (max-width: 560px) {
  .buy { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .buy[open] { animation-name: buy-up; }
  @keyframes buy-up { from { transform: translateY(40px); opacity: 0; } }
  .buy form { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
