:root {
  --plum: #160d1c;
  --plum-2: #271433;
  --plum-3: #3c2148;
  --lime: #dff25a;
  --coral: #ff5c39;
  --cream: #f6f0e6;
  --cream-2: #fffaf4;
  --ink: #24161c;
  --muted: #645058;
  --line: rgba(36, 22, 28, 0.12);
  --mast: 72px;
  --shadow: 0 18px 50px rgba(8, 2, 12, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.68;
  color: var(--cream);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(223, 242, 90, 0.14), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(255, 92, 57, 0.16), transparent 50%),
    var(--plum);
  overflow-x: clip;
}
body.pad-dock { padding-bottom: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--plum); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lime);
  color: var(--plum);
  padding: 8px 12px;
  z-index: 80;
  font-family: "Figtree", sans-serif;
}
.skip:focus { top: 12px; }

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--mast);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(22, 13, 28, 0.92);
  border-bottom: 1px solid rgba(246, 240, 230, 0.08);
}
.mast-in, .inner {
  width: min(1120px, calc(100% - 28px));
  margin-inline: auto;
}
.mast-in {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1120px, calc(100% - 28px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(90deg, var(--lime) 0 7px, #221028 7px);
  color: var(--cream);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  padding-left: 6px;
}
.brand b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-family: "Figtree", sans-serif;
  font-size: 0.72rem;
  color: rgba(246, 240, 230, 0.68);
}
.langs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-family: "Figtree", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}
.langs a {
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
  color: rgba(246, 240, 230, 0.78);
}
.langs a[aria-current="true"] {
  background: var(--lime);
  color: var(--plum);
}
.mast-cta { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  line-height: 1;
}
.btn-lime { background: var(--lime); color: var(--plum); }
.btn-coral { background: var(--coral); color: #1a0c10; }
.btn-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(36, 22, 28, 0.25);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}
.nudge { animation: nudge 1.5s ease 2; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
}

.tape {
  overflow: hidden;
  background: var(--lime);
  color: var(--plum);
  border-bottom: 1px solid rgba(22, 13, 28, 0.15);
}
.tape-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: drift 42s linear infinite;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  padding: 8px 0;
}
.tape span { padding-right: 2.2rem; white-space: nowrap; }
.tape.slow .tape-track { animation-duration: 56s; background: transparent; }
.tape.foot {
  background: #100812;
  color: var(--lime);
  border-top: 1px solid rgba(223, 242, 90, 0.25);
  border-bottom: 0;
}
@keyframes drift { to { transform: translateX(-50%); } }

.stage { padding: 28px 0 18px; position: relative; }
.stage-grid {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.stage-grid > * { min-width: 0; }
.kicker {
  font-family: "Figtree", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; letter-spacing: -0.045em; line-height: 0.98; font-weight: 700; }
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 5.5rem);
  max-width: 11ch;
}
.deck {
  font-size: 1.22rem;
  max-width: 38rem;
  color: rgba(246, 240, 230, 0.88);
  margin: 16px 0 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.fine {
  font-family: "Figtree", sans-serif;
  font-size: 0.92rem;
  color: rgba(246, 240, 230, 0.7);
  margin: 0;
}

.ticket {
  background:
    radial-gradient(circle at 0 62%, transparent 14px, var(--cream-2) 15px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 62%, transparent 14px, var(--cream-2) 15px) right / 51% 100% no-repeat;
  color: var(--ink);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
  position: relative;
}
.ticket-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ticket-top strong { font-family: "Figtree", sans-serif; font-size: 0.95rem; }
.ticket-top em { font-style: normal; font-family: "DM Mono", monospace; font-size: 0.75rem; color: var(--muted); }
.addr {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.35;
  margin: 14px 0 8px;
  overflow-wrap: anywhere;
}
.pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}
.pulse i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f9d55;
  display: block;
  box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.7);
  animation: ping 1.8s ease infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(31, 157, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); }
}
.ticket hr {
  border: 0;
  border-top: 1px dashed rgba(36, 22, 28, 0.28);
  margin: 14px 0;
}
.ticket .row { display: flex; justify-content: space-between; gap: 10px; font-family: "Figtree", sans-serif; font-size: 0.92rem; margin: 6px 0; }
.ticket .row span { min-width: 0; }
.ticket .row span:last-child { text-align: right; }
.ticket .btn { width: 100%; margin-top: 8px; }

.crumb { padding: 8px 0 0; }
.crumb ol {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-family: "Figtree", sans-serif;
  font-size: 0.86rem;
}
.crumb li { display: flex; align-items: center; }
.crumb li + li::before { content: "/"; margin: 0 8px; opacity: 0.5; }
.crumb a { color: rgba(246, 240, 230, 0.8); }

.reel-wrap { padding: 8px 0 6px; }
.reel-head {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 8px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.reel-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.arrows { display: flex; gap: 8px; }
.arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246, 240, 230, 0.25);
  background: transparent;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
}
.reel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(14px, calc((100% - 1120px) / 2));
  padding: 16px max(14px, calc((100% - 1120px) / 2)) 18px;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.frame {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 22px;
  min-height: 230px;
  padding: 16px 16px 18px;
  position: relative;
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 10px;
  background: radial-gradient(circle, var(--plum) 3px, transparent 4px) left center / 16px 10px repeat-x;
}
.frame::before { top: 6px; }
.frame::after { bottom: 6px; }
.frame b {
  font-family: "DM Mono", monospace;
  color: var(--coral);
  font-size: 0.86rem;
}
.frame h3 { margin: 18px 0 8px; font-size: 1.45rem; }
.frame p { margin: 0; font-size: 1.02rem; }

.jump {
  position: sticky;
  top: var(--mast);
  z-index: 30;
  background: rgba(22, 13, 28, 0.94);
  border-bottom: 1px solid rgba(246, 240, 230, 0.08);
}
.jump-in {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.jump-in::-webkit-scrollbar { display: none; }
.jump a {
  flex: 0 0 auto;
  text-decoration: none;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(246, 240, 230, 0.06);
}

.sheet {
  width: min(1120px, calc(100% - 28px));
  margin: 22px auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 48px);
  scroll-margin-top: calc(var(--mast) + 62px);
}
.sheet h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0 0 8px; max-width: 16ch; }
.lede { font-size: 1.28rem; margin-top: 0; max-width: 42rem; }
.sheet p, .sheet li { max-width: 68ch; }
.sheet h3 { font-size: 1.45rem; margin: 1.4em 0 0.3em; }
.meta-line {
  font-family: "Figtree", sans-serif;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.drop::first-letter {
  font-family: "Bricolage Grotesque", sans-serif;
  float: left;
  font-size: 3.3rem;
  line-height: 0.8;
  padding: 8px 8px 0 0;
  color: #9a3418;
}
ol.steps { padding-left: 1.2rem; }
ol.steps li { margin: 0.55rem 0; }
.pull {
  margin: 18px 0;
  padding-left: 16px;
  border-left: 4px solid var(--coral);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.35;
  max-width: 28ch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Figtree", sans-serif;
  font-size: 0.95rem;
  margin: 12px 0 6px;
}
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); }
.inline-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.scores { display: grid; gap: 10px; margin: 14px 0; }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; font-family: "Figtree", sans-serif; }
.bar { height: 8px; background: rgba(36, 22, 28, 0.08); border-radius: 99px; grid-column: 1 / -1; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--lime)); border-radius: inherit; }
.big-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3rem;
  letter-spacing: -0.05em;
  margin: 6px 0;
}
.big-score small { font-family: "Figtree", sans-serif; font-size: 1rem; letter-spacing: 0; color: var(--muted); }

.faq h3 { font-size: 1.25rem; margin-bottom: 0.2em; }
.faq p { margin-top: 0; }

.event {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  background: var(--plum-2);
  color: var(--cream);
  border-radius: 24px;
  padding: 18px;
  margin-top: 12px;
}
.event time {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
  display: block;
}
.event p { max-width: 62ch; }

.foot {
  width: min(1120px, calc(100% - 28px));
  margin: 10px auto 28px;
  font-family: "Figtree", sans-serif;
  font-size: 0.92rem;
  color: rgba(246, 240, 230, 0.75);
}
.foot strong { color: var(--lime); }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.age {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  font-weight: 700;
  color: var(--lime);
  margin-right: 8px;
}

.dock {
  display: none;
  position: fixed;
  z-index: 45;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dock .btn { width: 100%; box-shadow: var(--shadow); }

@media (max-width: 860px) {
  :root { --mast: 64px; }
  .mast-cta { display: none; }
  .brand small { display: none; }
  .mast-in { min-width: 0; }
  .brand { min-width: 0; }
  .langs { flex: 0 0 auto; }
  .stage { padding-top: 16px; }
  .stage-grid { grid-template-columns: 1fr; gap: 16px; }
  .ticket { transform: none; width: 100%; max-width: 100%; }
  .event { grid-template-columns: 1fr; }
  .dock { display: grid; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  h1 { max-width: none; font-size: clamp(2.05rem, 9vw, 2.7rem); }
  .deck { font-size: 1.02rem; margin: 10px 0 12px; }
  .fine { font-size: 0.84rem; }
  .hero-actions { margin-bottom: 8px; }
}

@media (max-width: 420px) {
  .langs a { padding: 6px 5px; font-size: 0.72rem; }
  .btn { padding: 0 12px; font-size: 0.95rem; }
  .dock .btn { padding: 0 8px; font-size: 0.92rem; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border-bottom: 0; padding: 4px 0; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td::before {
    content: attr(data-h);
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
