/* ============================================================
   DESIGN TOKENS
   Display: Fraunces (characterful serif, used with restraint)
   Body:    Inter
   Data:    JetBrains Mono (seat counter, reference numbers)
   Palette: deep forest green + warm gold, on clean white
   ============================================================ */
:root {
  --forest-900: #060d1a;
  --forest-700: #0b1f3a;
  --forest-500: #15335c;
  --gold-500: #4f8ef7;
  --gold-300: #8ab6fb;
  --cloud-050: #f5f7fa;
  --white: #ffffff;
  --ink-900: #101828;
  --ink-600: #4b5565;
  --line: #dde3ec;
  --danger: #b3261e;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-900);
  background: var(--cloud-050);
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  margin: 0 0 0.4em;
}

a { color: var(--forest-700); }

.container { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---------------- Hero ---------------- */
.hero {
  background: radial-gradient(1200px 500px at 15% -10%, var(--forest-500) 0%, var(--forest-700) 55%, var(--forest-900) 100%);
  color: var(--white);
  padding: 64px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(120deg, rgba(79,142,247,0.07) 0px, rgba(79,142,247,0.07) 1px, transparent 1px, transparent 70px);
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(228,199,101,0.4);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  max-width: 14ch;
}
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin: 18px 0 30px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 34px;
}
.hero-meta div span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 4px;
}

/* Seat availability — signature element */
.seat-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 18px 20px;
  max-width: 360px;
  backdrop-filter: blur(2px);
}
.seat-badge .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.9rem;
  color: var(--gold-300);
}
.seat-badge .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.seat-bar {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  margin-top: 12px;
  overflow: hidden;
}
.seat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.btn-scroll {
  display: inline-block;
  margin-top: 30px;
  background: var(--gold-500);
  color: var(--forest-900);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
}
.btn-scroll:hover { background: var(--gold-300); }

/* ---------------- Form ---------------- */
.form-wrap { padding: 56px 0 90px; }
.section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-500);
  margin: 40px 0 6px;
}
.section-title:first-of-type { margin-top: 0; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-900);
}
.field .hint {
  font-size: 0.78rem;
  color: var(--ink-600);
  margin-top: 4px;
}
.field .counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--ink-600);
  text-align: right;
  margin-top: 4px;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--white);
  color: var(--ink-900);
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--forest-500);
  outline-offset: 1px;
  border-color: var(--forest-500);
}
.radio-row { display: flex; gap: 20px; }

.ticket-options { display: flex; gap: 14px; flex-wrap: wrap; }
.ticket-option {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ticket-option:has(input:checked) {
  border-color: var(--forest-500);
  box-shadow: 0 0 0 1px var(--forest-500);
}
.ticket-option input[type="radio"] { margin-top: 4px; flex-shrink: 0; }
.ticket-option-title { font-weight: 600; color: var(--forest-900); }
.ticket-option-price { font-size: 0.85rem; color: var(--ink-600); margin-top: 2px; }
.ticket-option-price strong { color: var(--forest-700); }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

.submit-btn {
  width: 100%;
  background: var(--forest-700);
  color: var(--white);
  border: none;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 10px;
}
.submit-btn:hover { background: var(--forest-900); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.fee-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-600);
  margin-top: 12px;
}
.error-box {
  background: #fdecea;
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 22px;
  font-size: 0.9rem;
}
.sold-out {
  text-align: center;
  padding: 60px 20px;
}

footer {
  text-align: center;
  padding: 30px 20px 50px;
  color: var(--ink-600);
  font-size: 0.85rem;
}

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}

/* ============================================================
   ANIMATION — one orchestrated hero entrance, quiet scroll
   reveals for the form sections, and small hover feedback.
   All disabled automatically under prefers-reduced-motion above.
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes checkDraw {
  from { stroke-dashoffset: 48; }
  to   { stroke-dashoffset: 0; }
}
@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,142,247,0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(79,142,247,0); }
}

/* Hero load sequence — staggered, plays once on page load */
.hero .eyebrow   { animation: fadeUp 0.6s ease both; }
.hero h1         { animation: fadeUp 0.7s ease 0.08s both; }
.hero p.lede     { animation: fadeUp 0.7s ease 0.16s both; }
.hero-meta       { animation: fadeUp 0.7s ease 0.24s both; }
.seat-badge      { animation: fadeUp 0.7s ease 0.32s both; }
.btn-scroll      { animation: fadeUp 0.7s ease 0.4s both; }

/* Seat bar fills from 0 to its target width on load */
.seat-bar-fill { width: 0; animation: fill-bar 1.1s cubic-bezier(.22,.9,.3,1) 0.5s forwards; }
@keyframes fill-bar { to { width: var(--target-width, 0%); } }

/* Urgency cue when seats are running low */
.seat-badge.low { animation: fadeUp 0.7s ease 0.32s both, gentlePulse 2.4s ease-in-out 1.6s infinite; }

/* Scroll-reveal for form sections (toggled via .in-view by JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Micro-interactions */
.btn-scroll, .submit-btn {
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-scroll:hover { transform: translateY(-2px); }
.submit-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,31,58,0.18); }
.submit-btn:active:not(:disabled) { transform: translateY(0); }

input, select, textarea { transition: border-color 0.15s ease, outline-color 0.15s ease; }

/* Field-level shake for validation errors, triggered via JS by adding .shake */
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.shake { animation: shake 0.5s; border-color: var(--danger) !important; }

/* Success checkmark on callback.php */
.success-check { width: 64px; height: 64px; margin: 0 auto 18px; }
.success-check circle { animation: popIn 0.5s ease both; transform-origin: center; }
.success-check path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: checkDraw 0.5s ease 0.35s forwards; }

/* ============================================================
   v2 ADDITIONS — split hero, manifesto, stepper form, ticket,
   door scanner. Same tokens, same animation language as above.
   ============================================================ */
[hidden] { display: none !important; }

/* ---------- Split hero ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-grid .hero-copy h1 { max-width: 12ch; font-size: clamp(2.4rem, 6vw, 4rem); }
.hero-grid p.lede { font-size: 1.3rem; max-width: 24ch; line-height: 1.35; margin: 20px 0 0; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 26px;
  backdrop-filter: blur(3px);
  animation: popIn 0.7s ease 0.24s both;
}
.hero-card .hero-meta { flex-direction: column; gap: 18px; margin-bottom: 22px; animation: none; }
.hero-card .seat-badge { max-width: none; animation: fadeUp 0.7s ease 0.4s both; }
.hero-card .seat-badge.low { animation: fadeUp 0.7s ease 0.4s both, gentlePulse 2.4s ease-in-out 1.6s infinite; }
.hero-card .btn-scroll { display: block; text-align: center; margin-top: 22px; animation: fadeUp 0.7s ease 0.5s both; }
@media (max-width: 760px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid .hero-copy h1 { max-width: none; }
  .hero-grid p.lede { max-width: 28ch; }
}

/* ---------- Manifesto ---------- */
.manifesto { padding-top: 54px; max-width: 760px; }
.m-line {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--forest-900);
  margin: 0 0 22px;
}
.m-line.m-muted { color: var(--ink-600); font-family: 'Inter', sans-serif; font-size: 1.02rem; }
.m-line.m-strong { font-size: clamp(1.15rem, 2.8vw, 1.45rem); }
.m-caps { color: var(--gold-500); font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.m-line.m-cta {
  font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--forest-500); margin-bottom: 0;
}

/* ---------- Stepper form ---------- */
fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.step legend.section-title { padding: 0; margin: 0 0 18px; width: 100%; }
.stepper, .step-nav { display: none; }
.js .stepper { display: block; margin-bottom: 30px; }
.js .step { display: none; }
.js .step.active { display: block; animation: fadeUp 0.45s ease both; }
.js .step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.stepper-bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.stepper-fill { height: 100%; width: 25%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); border-radius: 999px; transition: width 0.45s cubic-bezier(.22,.9,.3,1); }
.stepper ol { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 10px 0 0; }
.stepper li { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a94a6; transition: color 0.2s; }
.stepper li.current { color: var(--forest-700); font-weight: 600; }
.stepper li.done { color: var(--gold-500); }
.nav-btn { border-radius: var(--radius); padding: 13px 24px; font-size: 0.98rem; font-weight: 600; cursor: pointer; border: 1px solid var(--forest-700); transition: transform .15s ease, background .15s ease; }
.nav-btn.primary { background: var(--forest-700); color: #fff; margin-left: auto; }
.nav-btn.primary:hover { background: var(--forest-900); transform: translateY(-1px); }
.nav-btn.ghost { background: transparent; color: var(--forest-700); }
.nav-btn.ghost:hover { background: var(--cloud-050); }

select { appearance: auto; }

.choice-list { display: grid; gap: 8px; }
.choice {
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
  font-size: 0.93rem; font-weight: 500; cursor: pointer; margin: 0;
  transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.choice input { margin-top: 3px; flex-shrink: 0; accent-color: var(--forest-700); }
.choice:has(input:checked) { border-color: var(--forest-500); box-shadow: 0 0 0 1px var(--forest-500); background: #f6f9ff; }
.choice.is-disabled { opacity: 0.45; cursor: not-allowed; }
.conditional { animation: fadeUp 0.35s ease both; }
.field label .hint { font-weight: 400; margin-left: 4px; }

/* ---------- Ticket ---------- */
.eyebrow.dark { color: var(--forest-500); border-color: rgba(21,51,92,0.35); }
.ticket-page { text-align: center; max-width: 720px; margin: 0 auto; }
.ticket-page h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 14px 0 6px; }
.ticket-help { color: var(--ink-600); font-size: 0.95rem; margin: 6px auto 24px; max-width: 52ch; }
.ticket {
  display: grid; grid-template-columns: 1fr 230px; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); margin: 8px auto 24px; overflow: hidden; position: relative;
  animation: popIn 0.6s ease 0.2s both;
}
.ticket-main {
  background: radial-gradient(700px 300px at 0% 0%, var(--forest-500) 0%, var(--forest-700) 60%, var(--forest-900) 100%);
  color: var(--white); padding: 28px;
}
.ticket-main h3 { color: var(--white); font-size: 1.6rem; margin: 10px 0 18px; }
.ticket-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-300); border: 1px solid rgba(138,182,251,0.45);
  padding: 4px 11px; border-radius: 999px;
}
.ticket.vip .ticket-tag { background: var(--gold-500); color: var(--forest-900); border-color: var(--gold-500); font-weight: 600; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; font-size: 0.95rem; }
.ticket-grid span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 2px; }
.ticket-grid code { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; word-break: break-all; }
.ticket-stub {
  position: relative; padding: 24px 18px; text-align: center; background: var(--white);
  border-left: 2px dashed #c9d2e0; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--cloud-050); border: 1px solid var(--line);
}
.ticket-stub::before { top: -11px; } .ticket-stub::after { bottom: -11px; }
.ticket-stub img { width: 176px; height: 176px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 8px; }
.ticket-stub p { margin: 0; font-size: 0.8rem; color: var(--ink-600); }
.btn-download {
  display: inline-block; background: var(--forest-700); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.85rem; padding: 10px 16px; border-radius: 8px; transition: background .15s, transform .15s;
}
.btn-download:hover { background: var(--forest-900); transform: translateY(-1px); }
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 2px dashed #c9d2e0; }
  .ticket-stub::before, .ticket-stub::after { top: -11px; left: auto; }
  .ticket-stub::before { left: -11px; } .ticket-stub::after { right: -11px; bottom: auto; }
  .ticket-main { padding: 22px; }
}

/* ---------- Door scanner (/scan) ---------- */
.scan-body { background: var(--forest-900); min-height: 100vh; color: #fff; }
.scan-wrap { max-width: 520px; margin: 0 auto; padding: 18px 16px 60px; }
.scan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.scan-top h1 { color: #fff; font-size: 1.15rem; margin: 0; }
.scan-top a, .scan-top button { color: var(--gold-300); font-size: 0.85rem; background: none; border: 0; cursor: pointer; text-decoration: none; }
.scan-stats { display: flex; gap: 10px; margin-bottom: 14px; }
.scan-stats div { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 10px 14px; }
.scan-stats b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; color: var(--gold-300); }
.scan-stats span { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.scan-view { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 1 / 1; border: 1px solid rgba(255,255,255,0.18); }
.scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-view .frame { position: absolute; inset: 14%; border: 2px solid var(--gold-300); border-radius: 14px; box-shadow: 0 0 0 999px rgba(0,0,0,0.35); pointer-events: none; }
.scan-view .hint { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 0.8rem; color: #fff; text-shadow: 0 1px 4px #000; }
.scan-btns { display: flex; gap: 10px; margin: 12px 0; }
.scan-btns button { flex: 1; padding: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; font-weight: 600; cursor: pointer; font-size: 0.9rem; }
.scan-btns button.primary { background: var(--gold-500); color: var(--forest-900); border-color: var(--gold-500); }
.scan-result { border-radius: 14px; padding: 18px; margin: 14px 0; animation: popIn .3s ease both; }
.scan-result h2 { color: inherit; margin: 0 0 4px; font-size: 1.5rem; }
.scan-result .who { font-size: 1.15rem; font-weight: 600; }
.scan-result .meta { font-size: 0.9rem; opacity: 0.9; margin-top: 4px; }
.scan-result.ok { background: #0f5132; border: 1px solid #2f9e6b; }
.scan-result.dup { background: #7a4a00; border: 1px solid #e0a030; }
.scan-result.bad { background: #6b1a14; border: 1px solid #d9534f; }
.scan-badge { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,0.18); margin-left: 6px; }
.scan-badge.vip { background: var(--gold-500); color: var(--forest-900); font-weight: 700; }
.scan-search { margin-top: 22px; }
.scan-search input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: #fff; }
.scan-search input::placeholder { color: rgba(255,255,255,0.5); }
.scan-hits { margin-top: 10px; display: grid; gap: 8px; }
.scan-hit { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; }
.scan-hit small { display: block; color: rgba(255,255,255,0.65); }
.scan-hit button { background: var(--gold-500); color: var(--forest-900); border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.scan-hit.done button { background: transparent; color: var(--gold-300); cursor: default; }
.scan-login { max-width: 380px; margin: 0 auto; padding: 70px 16px; }
.scan-login .card { padding: 28px; }
input[type="password"] { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 0.96rem; background: var(--white); color: var(--ink-900); }


/* ---------- v2.1: manifesto on blue + extra motion ---------- */
.manifesto {
  background: linear-gradient(180deg, var(--forest-900) 0%, var(--forest-700) 55%, var(--forest-900) 100%);
  position: relative; overflow: hidden; padding: 70px 0 80px;
}
.manifesto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(120deg, rgba(79,142,247,0.07) 0, rgba(79,142,247,0.07) 1px, transparent 1px, transparent 70px);
  animation: stripeDrift 18s linear infinite;
}
.manifesto::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(79,142,247,0.28), transparent 65%);
  animation: glowFloat 9s ease-in-out infinite;
}
.manifesto-in { position: relative; z-index: 1; max-width: 760px; padding-left: 34px; }
.manifesto-in::before {            /* accent line that draws down */
  content: ""; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--gold-500), var(--gold-300)); transform-origin: top; animation: lineGrow 1.4s cubic-bezier(.22,.9,.3,1) both;
}
.m-line { color: var(--white); }
.m-line.m-muted { color: rgba(255,255,255,0.68); }
.m-line.m-cta { color: var(--gold-300); }
.manifesto .reveal { transform: translateX(-26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.9,.3,1); }
.manifesto .reveal.in-view { transform: translateX(0); }
.manifesto .reveal:nth-child(2) { transition-delay: .12s; }
.manifesto .reveal:nth-child(3) { transition-delay: .24s; }
.manifesto .reveal:nth-child(4) { transition-delay: .36s; }
.m-caps {
  background: linear-gradient(90deg, var(--gold-500), #cfe1ff, var(--gold-500));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 3.2s linear infinite;
}
.m-cta::after { content: " →"; display: inline-block; animation: nudge 1.4s ease-in-out infinite; }

/* form card rises in, hero gets a slow glow */
.form-wrap .card { animation: fadeUp .8s ease both; }
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; left: -180px; bottom: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(79,142,247,0.22), transparent 65%); animation: glowFloat 10s ease-in-out infinite;
}
.hero::after { animation: stripeDrift 20s linear infinite; }
.choice, .ticket-option { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.choice:hover:not(.is-disabled), .ticket-option:hover { transform: translateX(3px); border-color: var(--gold-500); }
.stepper-fill { background-size: 200% 100%; animation: shimmer 2.8s linear infinite; }

@keyframes stripeDrift { from { background-position: 0 0; } to { background-position: 140px 0; } }
@keyframes glowFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-24px) scale(1.12); } }
@keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 220% 0; } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (max-width: 760px) { .manifesto { padding: 54px 0 60px; } .manifesto-in { padding-left: 30px; } .manifesto-in::before { left: 16px; } }
.manifesto { max-width: none; width: 100%; padding-top: 70px; }
.manifesto-in { max-width: 880px; }
.manifesto-in .m-line { max-width: 700px; }
@media (max-width: 760px) { .manifesto { padding-top: 54px; } }


/* ---------- v2.2: simple hero + "Read more" story ---------- */
.hero-grid { grid-template-columns: 1fr; }
.hero-grid .hero-copy h1 { max-width: none; }
.hero-grid p.lede { max-width: 30ch; }
.hero { padding: 72px 0 64px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; animation: fadeUp .7s ease .35s both; }
.btn-readmore {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--gold-500); color: var(--forest-900); border: 0; border-radius: var(--radius);
  font: 600 1rem 'Inter', sans-serif; padding: 14px 24px; transition: transform .15s, background .15s;
  animation: gentlePulse 2.4s ease-in-out 1.6s infinite;
}
.btn-readmore:hover { background: var(--gold-300); transform: translateY(-2px); }
.rm-arrow { animation: bob 1.4s ease-in-out infinite; transition: transform .35s ease; }
.btn-readmore[aria-expanded="true"] { animation: none; }
.btn-readmore[aria-expanded="true"] .rm-arrow { transform: rotate(180deg); animation: none; }
.skip-link { color: var(--gold-300); font-size: .92rem; text-decoration: none; border-bottom: 1px solid rgba(138,182,251,.4); }
.skip-link:hover { color: #fff; }
@keyframes bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* collapsed until tapped (no-JS visitors just see everything) */
.js .story { display: none; }
.js .story.open { display: block; }
.story { padding-top: 24px; }
.story.open .m-in { animation: storyIn .8s cubic-bezier(.22,.9,.3,1) both; }
.story.open .m-in:nth-child(1) { animation-delay: .05s; }
.story.open .m-in:nth-child(2) { animation-delay: .2s; }
.story.open .m-in:nth-child(3) { animation-delay: .35s; }
.story.open .m-in:nth-child(4) { animation-delay: .5s; }
.story.open .m-in:nth-child(5) { animation-delay: .7s; }
.story.open .m-in:nth-child(6) { animation-delay: .85s; }
.story.open .m-in:nth-child(7) { animation-delay: 1s; }
.story.open .m-in:nth-child(8) { animation-delay: 1.1s; }
@keyframes storyIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.event-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 22px; color: rgba(255,255,255,.92); }
.fact span { display: block; font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 4px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 440px; margin-bottom: 24px; }
.cd-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 14px 6px; text-align: center; }
.cd-box b { display: block; font-family: 'JetBrains Mono', monospace; font-size: clamp(1.5rem, 6vw, 2.1rem); color: var(--gold-300); font-weight: 500; line-height: 1.1; }
.cd-box b.tick { animation: tickPop .35s ease; }
.cd-box span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
@keyframes tickPop { from { transform: translateY(-6px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }
.countdown.live .cd-box:last-child { border-color: var(--gold-500); }

.story .seat-badge { max-width: 440px; animation: none; }
.story.open .seat-badge.m-in { animation: storyIn .8s cubic-bezier(.22,.9,.3,1) 1.1s both; }
.story .btn-scroll { margin-top: 26px; }
@media (max-width: 760px) { .hero { padding: 56px 0 48px; } }

/* ---------- ticket type styling: VIP vs Regular ---------- */
.ticket-grid code.tcode { font-size: .95rem; letter-spacing: .08em; color: #fff; }
.ticket.vip .ticket-stub { background: #eef4ff; }
.ticket.vip .ticket-stub img { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(79,142,247,.25); }
.ticket.vip { box-shadow: 0 10px 30px rgba(79,142,247,.28); border-color: var(--gold-500); }
.stub-type { color: var(--forest-700); letter-spacing: .06em; text-transform: uppercase; }
.ticket.vip .stub-type { color: var(--gold-500); }
.scan-result.vip { background: linear-gradient(135deg, #15335c, #0b1f3a); border: 2px solid var(--gold-500); box-shadow: 0 0 0 4px rgba(79,142,247,.25); }
.scan-result .type-banner { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .8rem; letter-spacing: .14em; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; background: rgba(255,255,255,.18); }
.scan-result.vip .type-banner { background: var(--gold-500); color: var(--forest-900); font-weight: 700; }

.qr-only { font-size: .78rem; color: var(--ink-600); text-decoration: underline; }
.btn-download { border: 0; cursor: pointer; font-family: inherit; }
.btn-download:disabled { opacity: .6; cursor: wait; }

/* ---------- ticket: faded host photo behind the details ---------- */
.ticket-main { position: relative; overflow: hidden; }
.ticket-main::before {
  content: ""; position: absolute; right: 0; bottom: 0; top: 0; width: 62%;
  background: url('../img/host.webp') no-repeat right bottom / auto 108%;
  opacity: .34; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%);
          mask-image: linear-gradient(to left, #000 35%, transparent 100%);
}
.ticket-main > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .ticket-main::before { width: 80%; opacity: .28; } }
