@import "nav.css";
/* ============================================================
   YEV — SITE STRUCTURE + SOUL PASS v3 (yevent.app)
   Concert poster × culture magazine. Anton poster headlines,
   Instrument Serif italic accent words, tilted stickers and
   cards, heat gradients (amber → red-orange), equalizer bars,
   rotating badge, taped-on marquee strip.
   Mobile-first. CSS-only effects except script.js (reveal).
   All colors/fonts come from tokens.css.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-dark) var(--color-background);
  overflow-x: clip; /* iOS: body-level clip alone doesn't reliably stop ghost-word pan */
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* ghost words + tilted strips bleed off-edge */
}

/* ─── ATMOSPHERE: sunset stage glows (fixed, behind all) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 55% 112%, var(--color-accent-glow), transparent 65%),
    radial-gradient(ellipse 60% 42% at 8% 106%, var(--color-heat-glow), transparent 70%),
    radial-gradient(ellipse 45% 32% at 96% -6%, var(--color-accent-glow), transparent 70%);
}

/* ─── ATMOSPHERE: fine grain over everything ───────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-background); }
::-webkit-scrollbar-thumb { background: var(--color-accent-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ─── MOTION: scroll-reveal (needs .js on <html>) ───────── */
.reveal { --tilt: rotate(0deg); }

.js .reveal {
  opacity: 0;
  transform: translateY(20px) var(--tilt);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: var(--tilt);
}

.js .step-item.reveal:nth-of-type(2),
.js .compare-card.reveal:nth-of-type(2) { transition-delay: 0.1s; }
.js .step-item.reveal:nth-of-type(3) { transition-delay: 0.2s; }
.js .step-item.reveal:nth-of-type(4) { transition-delay: 0.3s; }

/* ─── GHOST DISPLAY TYPE — bleeds off the page edges ────── */
[data-ghost] { position: relative; }

[data-ghost] > * { position: relative; z-index: 1; }

[data-ghost]::before {
  content: attr(data-ghost);
  position: absolute;
  top: -0.14em;
  right: -0.18em;
  z-index: 0;
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(8rem, 32vw, 24rem);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: var(--color-ghost-fill);
}

@supports (-webkit-text-stroke: 1px #fff) {
  [data-ghost]::before {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-ghost);
  }
}

/* right-aligned events section carries its ghost on the left */
.events[data-ghost]::before {
  right: auto;
  left: -0.18em;
}

footer[data-ghost] { overflow: hidden; }
footer[data-ghost]::before {
  top: auto;
  bottom: -0.16em;
  right: 50%;
  transform: translateX(50%);
}

/* (NAV — moved wholesale to nav.css, R2 extraction 2026-08-07.
   The @import on line 1 delivers it to every style.css consumer;
   manager surfaces load nav.css directly and skip this file.) */

/* ─── BUTTONS: gold sweep from left (.nav-cta half moved to
   nav.css at the 2026-08-07 R2 extraction — rules byte-identical) ─── */
.btn-primary {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  text-decoration: none;
  background-image: linear-gradient(100deg, var(--color-accent-dark) 0 50%, var(--color-accent) 50% 100%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover { background-position: 0 0; }
.btn-primary:active { transform: scale(0.97); }


.btn-primary {
  font-family: var(--font-body); /* <button> doesn't inherit */
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 17px 34px;
  display: inline-block;
  border: 0;
  cursor: pointer;
}

.btn-ghost {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text-light);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ─── COPY-EMAIL CHIP — visible address, click to copy ──── */
/* <a mailto> so no-JS falls back to the mail app; script.js
   intercepts the click, copies, and flashes "Copied ✓".
   min-height 44px = thumb-sized tap target. */
.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  text-decoration: none;
  cursor: copy;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.copy-email:hover {
  border-color: var(--color-accent);
  box-shadow: inset 0 0 24px var(--color-accent-glow);
}

.copy-email-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  user-select: text;
  -webkit-user-select: text;
}

.copy-email-hint {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-body-color);
  border-left: 1px solid var(--color-border);
  padding-left: 12px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.copy-email.copied { border-color: var(--color-accent); }
.copy-email.copied .copy-email-hint { color: var(--color-accent); }

/* chip under the CTA-band button */
.cta-band-email { margin-top: 20px; }

/* ─── PUBLIC FORMS (submit-event) ───────────────────────── */
.site-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 20px 90px;
}

.site-form-wrap .section-headline { margin: 18px 0 14px; }

.site-form-intro {
  font-size: 16px; /* 07-20 body-prose standard (straggler closed 2026-07-21) */
  line-height: 1.8;
  color: var(--text-body-color);
  margin-bottom: 36px;
  font-weight: var(--text-body-weight);
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 12px; /* 07-20 chip/eyebrow standard (straggler closed 2026-07-21) */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-body-color);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  box-sizing: border-box;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px; /* ≥16px or iOS zooms on focus */
  padding: 12px;
  min-height: 44px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field textarea { min-height: 110px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-note { font-size: var(--text-body-size); color: var(--text-body-color); margin-top: 5px; line-height: var(--text-body-lh);
  font-weight: var(--text-body-weight);
}

.form-success,
.form-fallback {
  background: var(--color-tint);
  border: 1px solid var(--color-accent-soft);
  padding: 26px 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.form-success strong { color: var(--color-accent); }

button.form-submit {
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px; /* 07-20 button standard (straggler closed 2026-07-21) */
  letter-spacing: 0.2em;
  padding: 15px 26px;
}

/* ─── STICKER LABELS (rotated, gold) ────────────────────── */
.section-label,
.faq-group-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.section-label::before,
.faq-group-title::before {
  content: '\2726';
  font-size: 11px;
  letter-spacing: 0;
}

.events .section-label { transform: rotate(1.5deg); }
.compare .section-label { transform: rotate(-1.4deg); }

/* ─── HEADLINES: poster sans × serif italic accent ──────── */
.section-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--color-text);
}

.hero-headline em,
.hero-sub em,
.section-headline em,
.cta-band-headline em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-accent);
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 20px 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 66vh;
}

.hero > * { position: relative; z-index: 1; }

/* drifting stage heat — 20s loop */
.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 80vmax;
  height: 80vmax;
  left: -25vmax;
  bottom: -50vmax;
  pointer-events: none;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, var(--color-heat-glow) 38%, transparent 62%);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(14vmax, -8vmax, 0) scale(1.18); }
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-body-color);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-secondary);
}

.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(4.5rem, 16vw, 12rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 20px;
}

/* statement hero (inner pages): sentence scale */
.hero-headline--statement {
  font-size: clamp(2.9rem, 9.5vw, 6.75rem);
  line-height: 1.02;
}

/* heat rule — the one gradient accent on every hero */
.hero-divider {
  width: 56px;
  height: 3px;
  background: var(--gradient-heat);
  margin: 26px 0;
}

.hero-sub {
  font-family: var(--font-headline);
  font-size: clamp(19px, 5vw, 30px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--color-text);
  max-width: 620px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 16px;
  font-weight: var(--text-body-weight);
  line-height: 1.8;
  color: var(--text-body-color);
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

/* rotating circular badge — corner accent */
.spin-badge {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  width: 104px;
  height: 104px;
  pointer-events: none;
}

.spin-badge svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: spin 24s linear infinite;
}

.spin-badge text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--color-secondary);
}

.spin-badge::after {
  content: '\2726';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--color-heat);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── MARQUEE — taped-on poster strip, mixed fonts ──────── */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--color-primary);
  border-top: 1px solid var(--color-accent-soft);
  border-bottom: 1px solid var(--color-accent-soft);
  padding: 12px 0;
  transform: rotate(-1.2deg) scale(1.03);
  margin: -10px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee-track b {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--color-text);
}

.marquee-track i {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 17px;
  white-space: nowrap;
  color: var(--color-accent);
}

.mq-star {
  font-style: normal;
  font-size: 12px;
  color: var(--color-heat);
  display: inline-block;
  margin: 0 20px;
}

.mq-star:nth-of-type(odd) { transform: rotate(14deg); }
.mq-star:nth-of-type(even) { transform: rotate(-10deg); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─── STEP / FEATURE LIST ───────────────────────────────── */
.steps {
  background: linear-gradient(180deg, var(--color-surface-lift), var(--color-surface));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 76px 20px 72px;
}

.steps-intro { margin-bottom: 44px; }
.steps-intro .section-label { margin-bottom: 22px; }
.steps-intro .section-headline { margin-bottom: 18px; }

.steps-intro-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body-color);
  max-width: 420px;
  font-weight: var(--text-body-weight);
}

.step-list { display: flex; flex-direction: column; }

.step-item {
  display: grid;
  grid-template-columns: 3px auto 1fr;
  gap: 0 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.step-item:first-child { border-top: 1px solid var(--color-border); }

.step-rule {
  width: 3px;
  background: var(--color-border);
  transition: background 0.2s;
  align-self: stretch;
}

.step-item:hover .step-rule { background: var(--color-accent); }

.step-num {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-secondary);
  padding-top: 3px;
}

/* heat tick draws in under the counter on reveal */
.step-num::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gradient-heat);
  margin-top: 7px;
  transition: width 0.5s ease 0.35s;
}

.step-item.is-visible .step-num::after,
html:not(.js) .step-num::after { width: 24px; }

.step-name {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--color-text);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.step-item:hover .step-name { color: var(--color-accent); }

.step-desc {
  font-size: var(--text-body-size);
  line-height: 1.7;
  color: var(--text-body-color);
  font-weight: var(--text-body-weight);
}

/* ─── EVENTS — right-aligned, eq bars, tilted empty card ── */
.events {
  padding: 76px 20px;
  text-align: right;
}

.events-label-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.events .section-headline { margin-bottom: 44px; }

/* equalizer bars — dancing next to the label */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.eq i {
  width: 3px;
  height: 100%;
  background: var(--gradient-heat);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite;
}

.eq i:nth-child(1) { animation-delay: 0s;    animation-duration: 1.0s; }
.eq i:nth-child(2) { animation-delay: 0.14s; animation-duration: 0.85s; }
.eq i:nth-child(3) { animation-delay: 0.05s; animation-duration: 1.2s; }
.eq i:nth-child(4) { animation-delay: 0.22s; animation-duration: 0.95s; }
.eq i:nth-child(5) { animation-delay: 0.1s;  animation-duration: 1.05s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}

.event-empty {
  --tilt: rotate(-1.2deg);
  transform: var(--tilt);
  text-align: center;
  border: 1px solid var(--color-accent-soft);
  background: var(--color-surface-lift);
  padding: 64px 24px;
  transition: transform 0.35s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.event-empty:hover {
  --tilt: rotate(0deg);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 60px var(--color-accent-glow);
}

.event-empty-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.event-empty-sub {
  font-size: var(--text-body-size);
  line-height: 1.7;
  color: var(--text-body-color);
  max-width: 380px;
  margin: 0 auto;
  font-weight: var(--text-body-weight);
}

/* ─── CTA BAND ──────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 80px 20px;
  text-align: center;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 90% at 50% 115%, var(--color-heat-glow), transparent 65%);
}

.cta-band-rule {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto 32px;
}

.cta-band-headline {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto 16px;
}

.cta-band-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body-color);
  max-width: 480px;
  margin: 0 auto 38px;
  font-weight: var(--text-body-weight);
}

/* ─── QUOTE BAND — editorial serif pull-quote ───────────── */
.quote-section {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 76px 20px;
  text-align: center;
}

.quote-rule {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 auto 32px;
}

.quote-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 5.5vw, 2.9rem);
  line-height: 1.3;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto 28px;
}

.quote-attribution {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-body-color);
}

.quote-attribution span { color: var(--color-accent); }

/* ─── COMPARISON — tilted ticket stubs ──────────────────── */
.compare { padding: 76px 20px; }

.compare .section-label { margin-bottom: 22px; }
.compare .section-headline { margin-bottom: 48px; }

/* venue line under the tier headline — event page (#tickets) only */
#tickets .section-headline { margin-bottom: 16px; }

.tickets-venue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 46px;
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
  color: var(--text-body-color);
  font-weight: var(--text-body-weight);
}

.tickets-venue svg { flex: none; color: var(--color-accent); }

.tickets-venue strong {
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.compare-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.compare-card {
  --tilt: rotate(-1.8deg);
  transform: var(--tilt);
  position: relative;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  padding: 34px 26px 34px 48px;
  transition: transform 0.35s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.compare-card:hover {
  --tilt: rotate(0deg);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 60px var(--color-accent-glow);
}

.compare-card.featured { --tilt: rotate(1.2deg); }
.compare-card.featured:hover { --tilt: rotate(0deg); }

/* punched holes along the left edge — ticket stub */
.compare-card::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  background-image: radial-gradient(circle at 5px 13px, var(--color-background) 3.5px, transparent 4.5px);
  background-size: 10px 26px;
  background-repeat: repeat-y;
  background-position: 0 8px;
}

/* tear line inside the stub */
.compare-card::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 12px;
  bottom: 12px;
  border-left: 1px dashed var(--color-accent-soft);
}

.compare-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, var(--color-tint), var(--color-surface-lift));
}

.compare-card-tier {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-body-color);
  margin-bottom: 16px;
}

.compare-card.featured .compare-card-tier { color: var(--color-accent); }

.compare-card-rate {
  font-family: var(--font-headline);
  font-size: clamp(3.2rem, 9vw, 4.25rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
}

.compare-card-rate small {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  color: var(--color-accent);
}

.compare-card-note {
  font-size: var(--text-body-size);
  line-height: 1.6;
  color: var(--text-body-color);
  margin-bottom: 22px;
  font-weight: var(--text-body-weight);
}

.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-card li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
  color: var(--color-text);
  font-weight: var(--text-body-weight);
}

.compare-card li::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
  position: relative;
  top: -3px;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq {
  padding: 76px 20px;
  max-width: 860px;
  margin: 0 auto;
}

.faq .section-label { margin-bottom: 22px; }
.faq .section-headline { margin-bottom: 14px; }

.faq-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body-color);
  margin-bottom: 40px;
  font-weight: var(--text-body-weight);
}

.faq-group-title { margin: 48px 0 10px; }

.faq-group-title ~ .faq-group-title { transform: rotate(1.3deg); }
.faq-group-title ~ .faq-group-title ~ .faq-group-title { transform: rotate(-1.5deg); }

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 26px 0;
  transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: var(--color-accent-soft); }

.faq-q {
  font-family: var(--font-headline);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--color-text);
  margin-bottom: 10px;
}

.faq-a {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body-color);
  max-width: 70ch;
  font-weight: var(--text-body-weight);
}

.faq-a strong { color: var(--color-text); font-weight: 600; }

.faq-a a { color: inherit; }

.faq-a + .faq-a { margin-top: 10px; }

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding: 64px 20px 40px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-body-color);
  margin-bottom: 28px;
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.75;
  margin-bottom: 28px;
}

.footer-rule {
  width: 40px;
  height: 2px;
  background: var(--gradient-heat);
  margin: 0 auto 28px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 28px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-body-color);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--color-accent); }

.footer-email {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: none;
}

.footer-copy {
  margin-top: 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-body-color);
  opacity: 0.7;
}

/* trust line — link + composition polish (2026-07-21 footer gate).
   Anchors inherit the line's muted cream and go gold on hover — never
   UA blue/purple; hairline affordance reuses the email chip's
   accent-soft token. Tracking calmer than .footer-sub's 0.25em because
   this line runs paragraph-length. */
.footer-trust {
  letter-spacing: 0.12em;
  line-height: 2.1;
  max-width: 680px;
  margin: 28px auto 0;
}

.footer-trust a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-soft);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-trust a:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ─── EVENT PAGE (event-demo.html) ──────────────────────── */
.sample-ribbon {
  position: absolute;
  z-index: 5;
  top: 26px;
  right: -44px;
  transform: rotate(35deg);
  background: var(--gradient-heat);
  color: var(--color-text-inverse);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 56px;
  pointer-events: none;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.event-meta span {
  border: 1px solid var(--color-border);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-body-color);
}

.event-meta .price {
  border-color: var(--color-accent-soft);
  color: var(--color-accent);
}

/* note sits below the meta chips on the event hero */
.event-meta ~ .hero-note { margin-top: 28px; }

/* buy button row inside a tier card */
.tier-buy { margin-top: 22px; }

/* all-in pricing line under the tier grid */
.allin-line {
  margin-top: 22px;
  font-size: var(--text-body-size);
  line-height: 1.7;
  color: var(--text-body-color);
  font-weight: var(--text-body-weight);
}

.allin-line strong { color: var(--color-text); font-weight: 600; }

/* about + venue info */
.event-info {
  padding: 76px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.event-info .section-label { margin-bottom: 20px; }

.event-info p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body-color);
  max-width: 480px;
  font-weight: var(--text-body-weight);
}

.event-info p strong { color: var(--color-text); font-weight: 600; }

.event-info p + p { margin-top: 10px; }

/* organizer card */
.organizer-wrap { padding: 0 20px 76px; }

.organizer {
  --tilt: rotate(1deg);
  transform: var(--tilt);
  max-width: 560px;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  padding: 30px 26px;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.organizer:hover {
  --tilt: rotate(0deg);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 60px var(--color-accent-glow);
}

.organizer-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-body-color);
  margin-bottom: 10px;
}

.organizer-name {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 8px;
}

.organizer-note {
  font-size: var(--text-body-size);
  line-height: 1.6;
  color: var(--text-body-color);
  margin-bottom: 18px;
  font-weight: var(--text-body-weight);
}

/* founder-note closing line — the site's serif-italic accent pattern */
.organizer-note em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-accent);
}

.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-1.6deg);
}

/* ─── HOMEPAGE EVENT CARD (replaces empty state) ────────── */
.events-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.event-card {
  --tilt: rotate(-1.2deg);
  transform: var(--tilt);
  display: grid;
  gap: 10px;
  justify-items: start;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  padding: 28px 24px;
  text-decoration: none;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  --tilt: rotate(0deg);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 60px var(--color-accent-glow);
}

.event-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  margin-bottom: 6px;
}

.event-card-name {
  font-family: var(--font-headline);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--color-text);
}

.event-card-meta {
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-body-color);
  line-height: var(--text-body-lh);
}

.event-card-price {
  font-family: var(--font-headline);
  font-size: 20px;
  color: var(--color-text);
}

.event-card-price i {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--color-accent);
}

/* ─── DEMO OVERLAY (sample-page notice) ─────────────────── */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.demo-overlay.open { display: grid; }

body.modal-open { overflow: hidden; }

.demo-panel {
  position: relative;
  width: min(420px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding-top: 54px; /* room for the close button above the ticket */
}

.demo-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  color: var(--color-text);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.demo-close:hover { border-color: var(--color-accent); color: var(--color-accent); }

.demo-notice {
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  padding: 40px 28px 34px;
}

.demo-notice p {
  font-size: var(--text-body-size);
  line-height: 1.8;
  color: var(--text-body-color);
  margin-bottom: 22px;
  font-weight: var(--text-body-weight);
}

.demo-notice p strong { color: var(--color-text); font-weight: 600; }

/* ─── SAMPLE TICKET — collectible concert stock ─────────── */
/* TICKET THEME SYSTEM — every color/background rule on the ticket
   reads the five --ticket-* variables below. Additional themes =
   a new data-theme value overriding these variables only; no
   structural rule changes needed. */
.ticket[data-theme="classic"] {
  --ticket-bg: #F5EFE0;       /* warm parchment stock */
  --ticket-fg: #16120A;       /* near-black ink */
  --ticket-muted: rgba(22, 18, 10, 0.6);
  --ticket-accent: #FFB300;   /* electric amber — site accent, unchanged */
  --ticket-accent-2: #FF4D00; /* red-orange heat — site accent, unchanged */
}

.ticket {
  position: relative;
  overflow: hidden; /* punches the perforation notches */
  display: flex;
  flex-direction: column;
  transform: rotate(-0.75deg); /* resting tilt — collectible, not clinical */
  color: var(--ticket-fg);
  /* heat-gradient edge trace */
  border: 1px solid transparent;
  border-image: linear-gradient(120deg, var(--ticket-accent), var(--ticket-accent-2)) 1;
  background:
    /* corner sheens — light-on-foil catch, not stage glow */
    radial-gradient(circle 190px at 100% 0%, color-mix(in srgb, var(--ticket-accent-2) 10%, transparent), transparent 70%),
    radial-gradient(circle 210px at 0% 100%, color-mix(in srgb, var(--ticket-accent) 13%, transparent), transparent 70%),
    var(--ticket-bg);
}

/* grain on the ticket stock */
.ticket::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* inner hairline frame */
.ticket::after {
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--ticket-fg) 14%, transparent);
}

/* entrance: slide up + rotation settle */
.demo-overlay.open .ticket {
  animation: ticketIn 0.55s cubic-bezier(0.18, 0.89, 0.32, 1.12) both;
}

@keyframes ticketIn {
  from { opacity: 0; transform: translateY(32px) rotate(2.2deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-0.75deg); }
}

.ticket-main {
  position: relative;
  z-index: 1;
  padding: 24px 22px 20px;
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

/* embossed wordmark — pressed-foil look on light stock */
.ticket-brand {
  font-family: var(--font-headline);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ticket-fg);
  line-height: 1;
  text-shadow:
    0 1px 0 color-mix(in srgb, white 65%, transparent),
    0 -1px 1px color-mix(in srgb, var(--ticket-fg) 25%, transparent);
}

.ticket-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ticket-muted);
  margin-top: 4px;
  text-shadow: none;
}

.ticket-tier {
  display: inline-flex;
  padding: 6px 11px;
  background: linear-gradient(120deg, var(--ticket-accent), var(--ticket-accent-2));
  color: var(--ticket-fg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.ticket-name {
  font-family: var(--font-headline);
  font-size: clamp(27px, 7vw, 38px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: var(--ticket-fg);
  margin-bottom: 18px;
}

.ticket-name em {
  font-family: var(--font-accent);
  font-style: italic;
  /* accent-2 nudged toward ink for large-text contrast on light stock */
  color: color-mix(in srgb, var(--ticket-accent-2) 85%, var(--ticket-fg));
}

/* info row between thin hairlines */
.ticket-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 12px 0;
  border-top: 1px solid color-mix(in srgb, var(--ticket-fg) 16%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ticket-fg) 16%, transparent);
  margin-bottom: 14px;
}

.ticket-info div { display: grid; gap: 3px; }

.ticket-info span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  /* accent-2 deepened for small-label contrast on light stock */
  color: color-mix(in srgb, var(--ticket-accent-2) 72%, var(--ticket-fg));
}

.ticket-info div { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--ticket-fg); }

/* translatable value inside the info row — mirrors the div's value text
   (needed because .ticket-info span styles the small-caps labels) */
.ticket-info .ticket-val {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--ticket-fg);
}

/* street address under the venue name */
.ticket-info .ticket-addr {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ticket-muted);
}

.ticket-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ticket-muted);
}

/* perforation — dashed tear line, punched semicircle notches */
.ticket-perf {
  position: relative;
  z-index: 1;
  border-top: 1px dashed color-mix(in srgb, var(--ticket-fg) 35%, transparent);
  margin: 0 2px;
}

.ticket-perf::before,
.ticket-perf::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  /* notches show the modal backdrop through the ticket — page color, not theme color */
  background: var(--color-background);
}

.ticket-perf::before { top: -8px; left: -10px; }
.ticket-perf::after { top: -8px; right: -10px; }

/* tear-off stub */
.ticket-stub {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 18px 18px 44px;
}

.ticket-admit {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ticket-muted);
  white-space: nowrap;
}

.ticket-qr {
  position: relative;
  width: 146px;
  /* white in every theme — matches the SVG's hardcoded quiet zone */
  background: #FFFFFF;
  border: 1px solid color-mix(in srgb, var(--ticket-fg) 18%, transparent);
  padding: 9px;
}

.ticket-qr svg { display: block; width: 100%; height: auto; }

.ticket-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(-24deg);
  font-family: var(--font-headline);
  font-size: 26px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ticket-accent-2);
  opacity: 0.8;
  pointer-events: none;
}

.ticket-id {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ticket-muted);
}

/* barcode strip — ink bars, screenshot-legible */
.ticket-barcode {
  width: 82%;
  height: 42px;
  background: repeating-linear-gradient(
    90deg,
    var(--ticket-fg) 0 1px, transparent 1px 3px,
    var(--ticket-fg) 3px 6px, transparent 6px 8px,
    var(--ticket-fg) 8px 9px, transparent 9px 13px,
    var(--ticket-fg) 13px 15px, transparent 15px 17px
  );
}

/* landscape ticket on wider screens: stub tears off the right */
@media (min-width: 700px) {
  .demo-panel { width: min(720px, 100%); }

  .ticket { flex-direction: row; align-items: stretch; }

  .ticket-main {
    flex: 1;
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
  }

  .ticket-main .ticket-note { margin-top: auto; }

  .ticket-perf {
    border-top: none;
    border-left: 1px dashed color-mix(in srgb, var(--ticket-fg) 35%, transparent);
    margin: 2px 0;
  }

  .ticket-perf::before { top: -10px; left: -8px; }
  .ticket-perf::after { top: auto; bottom: -10px; left: -8px; right: auto; }

  .ticket-stub {
    width: 232px;
    align-content: center;
    padding: 24px 20px 24px 46px;
  }
}

.demo-pitch {
  margin-top: 18px;
  text-align: center;
  font-size: var(--text-body-size);
  line-height: 1.7;
  color: var(--text-body-color);
  font-weight: var(--text-body-weight);
}

.demo-pitch a { color: var(--color-accent); }

/* ─── REDUCED MOTION: tilts stay (static), motion stops ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .marquee-track { animation: none; }
  .spin-badge svg { animation: none; }
  .eq i { animation: none; transform: scaleY(0.6); }
  .eq i:nth-child(2) { transform: scaleY(0.9); }
  .eq i:nth-child(4) { transform: scaleY(0.4); }
  .js .reveal { opacity: 1; transform: var(--tilt); transition: none; }
  .step-num::after { width: 24px; transition: none; }
  .btn-primary { transition: none; } /* .nav-cta half lives in nav.css (R2) */
  .demo-overlay.open .ticket { animation: none; }
  .nav-links { transition: none; }
}

/* ─── DESKTOP (mobile-first: enhance upward) ────────────── */
@media (min-width: 720px) {
  /* (nav rules retired 2026-07-30 Leg 0 — meganav breakpoints live in
     its own block; this media block keeps its non-nav rules only) */
  .hero { padding: 120px 48px 110px; min-height: 78vh; }
  .spin-badge { right: 56px; bottom: 48px; width: 140px; height: 140px; }
  .steps, .events, .compare { padding: 104px 48px; }
  .cta-band, .quote-section { padding: 100px 48px; }
  .faq { padding: 100px 24px; }
  .marquee-track b { font-size: 17px; }
  .marquee-track i { font-size: 19px; }

  /* asymmetry: index CTA band breaks the centered rhythm */
  .cta-band--left { text-align: left; }
  .cta-band--left .cta-band-rule { margin: 0 0 32px; }
  .cta-band--left .cta-band-headline,
  .cta-band--left .cta-band-sub { margin-left: 0; margin-right: 0; }
}

@media (min-width: 900px) {
  .steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
  .steps-intro { margin-bottom: 0; padding-top: 8px; }
  .compare-cards { grid-template-columns: 1fr 1fr; }
  .event-info { grid-template-columns: 1fr 1fr; gap: 72px; padding: 104px 48px; }
  .organizer-wrap { padding: 0 48px 104px; }
}

/* ─── EVENT LISTING PAGE (events.html) ──────────────────────
   Community listing grid — standalone page component, scoped
   .evl-* classes only. Cards are built at runtime from
   data/events.json; poster slot is a fixed 2:3 portrait so any
   flyer size a promoter sends fills the box cleanly. */
.evlist {
  position: relative;
  padding: 76px 20px 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.evlist .section-label { margin-bottom: 22px; }
.evlist .section-headline { margin-bottom: 14px; }

.evl-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body-color);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: var(--text-body-weight);
}

.evl-search {
  width: 100%;
  max-width: 520px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px; /* >=16px so iOS Safari doesn't zoom-on-focus while live-filtering */
  padding: 15px 18px;
  transition: border-color 0.2s ease;
}

.evl-search::placeholder { color: var(--text-body-color); }
.evl-search:focus { outline: none; border-color: var(--color-accent); }

.evl-search-wrap { margin-bottom: 48px; }

.evl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.evl-card {
  --tilt: rotate(-1deg);
  transform: var(--tilt);
  display: flex;
  flex-direction: column;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-accent-soft);
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.evl-card:nth-child(even) { --tilt: rotate(0.8deg); }

.evl-card:hover {
  --tilt: rotate(0deg);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 60px var(--color-accent-glow);
}

.evl-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--color-tint);
  border-bottom: 1px solid var(--color-border);
}

.evl-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* branded placeholder when an event has no poster */
.evl-poster-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(circle at 50% 30%, var(--color-tint), var(--color-surface-lift) 72%);
}

.evl-poster-ph b {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 54px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  opacity: 0.9;
}

.evl-poster-ph i {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  color: var(--text-body-color);
}

.evl-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  padding: 20px 20px 24px;
}

.evl-name {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--color-text);
}

.evl-when {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.evl-where {
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
  color: var(--text-body-color);
  font-weight: var(--text-body-weight);
}

.evl-actions { margin-top: auto; padding-top: 10px; }

.evl-card .btn-primary { padding: 13px 24px; font-size: 10px; }

/* Sample-event badge + note — only rendered when data/events.json has
   "sample": true (buildCard gates on ev.sample). Gold-on-dark per tokens. */
.evl-sample-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 9px;
  font: 700 10px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(5, 5, 5, 0.82);
  border: 1px solid var(--color-secondary);
  /* pill radius removed — corner rollback, investor ruling 2026-08-01 (was 999px) */
  pointer-events: none;
}

.evl-sample-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-style: italic;
  color: var(--text-body-color);
  opacity: 0.85;
}

/* Diagonal "SAMPLE" watermark across the poster (over the artwork's title
   region). Semi-transparent band — art stays visible; never edits the image.
   Below the badge (z-index 2), above the poster image. */
.evl-sample-wm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  width: 150%;
  z-index: 1;
  text-align: center;
  padding: 8px 0;
  font: 400 clamp(30px, 9vw, 48px)/1 var(--font-headline);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(5, 5, 5, 0.26);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.evl-empty,
.evl-error {
  padding: 26px 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body-color);
  font-weight: var(--text-body-weight);
}

.evl-empty { border: 1px dashed var(--color-border); }
.evl-error { border-left: 3px solid var(--color-heat); background: var(--color-surface); }

@media (min-width: 700px) {
  .evl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .evlist { padding: 104px 48px 140px; }
  .evl-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1320px) {
  .evl-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── YEV SOUNDS — hero playlist card (2026-07-21, scoped CSS
   authorized for this feature). Existing tokens only; tilted-card
   language per the design system (--tilt, straighten on hover).
   Mobile-first: static full-width below the hero CTAs (D1a);
   ≥1100px: absolute top-right of the hero — deliberately clear of
   the spin-badge's bottom-right corner. ──────────────────────── */
.yev-sounds {
  --tilt: -1.5deg;
  width: 400px;
  max-width: 100%;
  margin: 44px 0 0;
  padding: 14px;
  background: var(--color-surface-lift);
  border: 1px solid var(--color-border);
  transform: rotate(var(--tilt));
  transition: transform 0.35s ease;
}

.yev-sounds:hover { transform: rotate(0deg); }

.yev-sounds-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-body-color);
  margin-bottom: 10px;
}

.yev-sounds-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--color-primary);
  overflow: hidden;
}

.yev-sounds-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.yev-sounds-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
}

.yev-sounds-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--color-primary);
}

.yev-sounds-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.yev-sounds-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px; /* floor lift 2026-08-01 (operator-ruled: 16, not 14) */
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: none;
}

.yev-sounds-more:hover { text-decoration: underline; }

@media (min-width: 1100px) {
  /* MOVED 2026-08-01 (granted scoped deviation): the Sounds card lives in
     #invitations — intro text left, card right, centered. The hero slot
     now hosts .yev-hero-ad below. Section stays full-bleed (grid sits
     inside the .steps padding box). */
  #invitations {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px;
    align-items: center;
  }
  .yev-sounds { margin: 0; }
}

/* ── YEV HERO AD (2026-08-01, granted scoped exception) ──────────────
   Config-gated hero video (data/yev-hero-ad.json). Desktop >=1100 +
   motion-ok: muted looping autoplay, iframe injected at window load
   (LCP-friendly). Mobile <1100 or reduced-motion: tap-to-play facade
   (D-1/D-2 rulings); controls=1 (D-3). Reuses the .yev-sounds-play
   glyph for the facade. Square corners, tokens only. */
.yev-hero-ad {
  width: 100%;
  max-width: 1000px; /* v2 TicketSpice pattern 2026-08-01 (unparked same
                        night): large centered 16:9 below headline+CTAs.
                        Frame is 16:9 FOR THE FUTURE landscape asset —
                        the interim portrait clip pillarboxes, operator-
                        accepted until the landscape ad lands. */
  margin: 56px auto 0;
}
.yev-hero-ad-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--color-border);
}
.yev-hero-ad-frame iframe,
.yev-hero-ad-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yev-hero-ad-facade {
  display: block;
  padding: 0;
  cursor: pointer;
  background: #000;
}
.yev-hero-ad-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* v3 reposition (operator blue-box ruling 2026-08-01): at >=1100 the hero
   becomes a two-column grid — text column left, the video filling the
   open right half (760px 16:9 zone), vertically centered against the
   text stack. Mobile keeps the v2 full-width flow block below the CTAs
   (ruled fine). grid-row spans the hero's 6 text children — if a child
   is ever added to the hero, bump the span. */
@media (min-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 760px);
    column-gap: 48px;
    align-items: center;
  }
  .hero > * { grid-column: 1; }
  .hero .yev-hero-ad {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    margin: 0;
    max-width: 760px;
  }
}

/* ── RSVP MODULE (2026-07-23 — GRANTED SCOPED EXCEPTION, leg 3) ──────
   Additive .rsvp-* only, existing tokens only, zero global touches.
   Preset cover picker + one-time link boxes (create.php); .rsvp-cover
   is the invite-page cover slot (leg 4 consumer, declared here so the
   exception is exercised once). */
.rsvp-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rsvp-preset { position: relative; cursor: pointer; display: block; }
.rsvp-preset input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-preset img { width: 100%; display: block; border: 1px solid var(--color-border); }
.rsvp-preset input:checked ~ img { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.rsvp-preset span { display: block; margin-top: 6px; font-size: 12px; color: var(--text-body-color); letter-spacing: 0.08em; text-transform: uppercase; }
.rsvp-linkbox { border: 1px solid var(--color-secondary); background: var(--color-surface); padding: 14px 16px; margin: 14px 0; word-break: break-all; font-size: var(--text-body-size); color: var(--color-text);
  font-weight: var(--text-body-weight);
}
.rsvp-linkbox strong { display: block; color: var(--text-body-color); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.rsvp-warn { border: 1px solid var(--color-accent); background: var(--color-tint); color: var(--color-text); padding: 14px 16px; margin: 18px 0; font-size: var(--text-body-size); line-height: 1.6;
  font-weight: var(--text-body-weight);
}
.rsvp-copy { font-size: 12px; padding: 8px 14px; margin-top: 8px; background: var(--color-accent); color: var(--color-text-inverse); border: 0; cursor: pointer; font-weight: 700; letter-spacing: 0.08em; }
.rsvp-cover { width: 100%; display: block; border: 1px solid var(--color-border); margin-bottom: 22px; }
.rsvp-hook-btn { margin-top: 12px; display: inline-block; }
.rsvp-table { width: 100%; border-collapse: collapse; font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
}
.rsvp-table th { text-align: left;
  color: var(--text-body-color);
}
/* A3 unpark 2026-07-26 (pre-authorized additive extension): dashboard
   preview of a host-uploaded flyer — the ONLY rule this feature adds. */
.rsvp-cover-thumb { display: block; max-width: 220px; border: 1px solid var(--color-border); margin-top: 8px; }

/* ── NAV 8-LINK BAND (2026-07-26 — GRANTED SCOPED BLOCK, public flip;
   operator rulings: hamburger threshold RAISED to 1100, band gap 12).
   The Invitations link made the desktop row 8 links; measured minimum
   single-line row width ≈1093px — below that, single-line-per-link +
   no-clipped-CTA is physically impossible, so <1100 collapses to the
   hamburger (base mobile values mirrored VERBATIM from the base nav
   rules above; the existing min-width:720 desktop block is deliberately
   untouched — it carries non-nav rules — and is overridden here by
   source order). 1100–1279 = tightened band (gap 12, padding 20);
   ≥1280 keeps the original 28/48 spacing. nowrap ≥1100 = single-line
   per link at every width the full row shows. <720 untouched.
   ── SUPERSEDED 2026-07-30 (Leg 0 meganav): the 8-link row this block
   fitted no longer exists — the grouped nav is 4 items + CTA. Its
   rules are retired; the 1100 hamburger THRESHOLD itself stands
   (operator ruling) and is enforced in the .meganav block below. */

/* ── RSVP SOUL PASS (2026-07-26 — GRANTED DESIGN BLOCK; extends the
   granted .rsvp-* scope. Tokens only, presentation only, mobile-first;
   interactive standard per operator amendment 2 = the drum family:
   ~1.06 scale pop, gold ring + soft glow, 0.18s ease-out, focus parity.
   Amendment 1 (tile legibility): preset TILES render a zoomed central
   band of the art (big word + accent — the elements that survive small
   sizes; small-caps/bottom-mark are cropped out at tile size) + a
   contrast/brightness lift; the FULL art still shows on the invite
   cover. Selected tile = persistent 2px ring + glow via :has() on
   modern browsers; ALL browsers additionally get the gold caption +
   brightness fallback via the sibling combinator. */
/* AMENDMENT 3 (operator art-direction ruling 2026-07-26): RSVP surfaces
   adopt a SOFT CARD language — rounded corners via the ONE scoped knob
   below, generous padding, lifted cards. This is a DELIBERATE scoped
   deviation from the site-wide square-corner design system, RSVP
   surfaces only (logged in CLAUDE.md as a ruling, not drift). Nothing
   outside the rsvp scope gains a radius. */
.rsvp-shell { position: relative; --rsvp-radius: 0px; } /* 12px→0 — corner rollback, investor ruling 2026-08-01; restore = 12px */

/* the funnel link rendered UA-blue (no anchor rule) — the 07-21
   footer-trust bug class, fixed in scope */
.rsvp-powered a {
  color: var(--text-body-color);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.rsvp-powered a:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* brand-gold submit (the base .form-submit is washed white) */
.rsvp-shell .form-submit {
  color: var(--color-text-inverse);
  border: 0;
  border-radius: var(--rsvp-radius);
  background-image: linear-gradient(100deg, var(--color-accent-dark) 0 50%, var(--color-accent) 50% 100%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position 0.2s ease, transform 0.1s ease;
}

/* soft-card inputs — rsvp scope only */
.rsvp-shell .form-field input,
.rsvp-shell .form-field select,
.rsvp-shell .form-field textarea {
  border-radius: calc(var(--rsvp-radius) - 4px);
}
.rsvp-shell .form-submit:hover { background-position: 0 0; }
.rsvp-shell .form-submit:active { transform: scale(0.97); }

/* ── invite hero: the flyer, presented with dignity ── */
.rsvp-cover {
  width: 100%;
  display: block;
  max-height: 62vh;
  object-fit: contain;
  background: var(--color-tint);
  border: 1px solid var(--color-accent-soft);
  border-radius: var(--rsvp-radius);
  box-shadow: 0 14px 40px var(--color-accent-glow);
  margin-bottom: 26px;
  transform: rotate(-1.2deg);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.rsvp-cover:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 0 0 1px var(--color-accent), 0 14px 40px var(--color-accent-soft);
}

.rsvp-title { margin-bottom: 10px; }

.rsvp-date {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-accent);
  margin: 0 0 10px;
}

.rsvp-where {
  font-size: var(--text-body-size);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--text-body-color);
  margin: 0 0 18px;
  font-weight: var(--text-body-weight);
}

.rsvp-note-card {
  background: var(--color-tint);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--rsvp-radius);
  padding: 18px 20px;
  font-size: var(--text-body-size);
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 26px;
  font-weight: var(--text-body-weight);
}

.rsvp-form-card {
  background: var(--color-surface-lift);
  border: 1px solid var(--color-border);
  border-radius: var(--rsvp-radius);
  box-shadow: 0 12px 32px var(--color-accent-glow);
  padding: 26px 20px;
  margin-top: 8px;
}

/* one heat element per page: hairline above the funnel hook */
.rsvp-heat-rule {
  height: 2px;
  border: 0;
  margin: 34px 0 18px;
  background: var(--gradient-heat);
  opacity: 0.65;
}

/* ── create.php: fieldsets as lifted cards (amendment 3) ── */
.rsvp-fieldset {
  background: var(--color-surface-lift);
  border: 1px solid var(--color-border);
  border-radius: var(--rsvp-radius);
  box-shadow: 0 12px 32px var(--color-accent-glow);
  padding: 22px 18px;
  margin-top: 22px;
}
.rsvp-fieldset:first-of-type { margin-top: 0; }

/* tiles (amendment 1 REVISED + fork option 2): BIGGER tiles — 1 per
   row mobile, 2 per row from 720px — rendering DEDICATED {p}-tile.jpg
   renditions (word + accent only, auto-fit at generation: long words
   can never clip; the full {p}.jpg art is untouched on invites). The
   in-art word IS the tile name (caption merged away, one name per
   tile; occ* keys still render translated in the occasion select).
   Amendment 2: drum-standard hover pop (1.06), selected = persistent
   2px gold ring + glow (:has; no-:has browsers keep the brightness
   lift + input focus ring — disclosed fallback). */
.rsvp-presets { grid-template-columns: 1fr; gap: 16px; }
.rsvp-preset {
  position: relative;   /* anchors the selected ✓ badge */
  border: 1px solid var(--color-border);
  border-radius: var(--rsvp-radius);
  overflow: hidden;   /* rounds the art with the card */
  background: var(--color-background);
  transition: box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}
.rsvp-preset-art {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: var(--color-tint);
  margin: 0;
}
.rsvp-preset-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}
.rsvp-preset:hover, .rsvp-preset:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), 0 8px 22px var(--color-accent-soft);
}
.rsvp-preset:hover .rsvp-preset-art img,
.rsvp-preset:focus-within .rsvp-preset-art img { transform: scale(1.06); }
.rsvp-preset:has(input:checked) {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent), 0 10px 26px var(--color-accent-soft);
}
/* the selected tile is UNMISTAKABLE vs hover (layout-correction point 4:
   double-selection is structurally impossible — one radio group — but
   hover's 1px ring read too close to selected's 2px at a glance):
   persistent gold ✓ badge, selected only. ✓ = universal glyph
   (watermark-class, untranslated). */
.rsvp-preset:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  /* circle radius removed — corner rollback, investor ruling 2026-08-01 (was 50%) */
  font-size: 15px;
  font-weight: 700;
  z-index: 1;
}
.rsvp-preset input:checked ~ .rsvp-preset-art img { filter: contrast(1.08) brightness(1.22); }

.rsvp-upload {
  border: 1px dashed var(--color-border);
  border-radius: var(--rsvp-radius);
  padding: 18px 18px 10px;
  margin-top: 18px;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.rsvp-upload:hover, .rsvp-upload:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-soft), 0 8px 22px var(--color-accent-glow);
}
.rsvp-upload input[type="file"] { color: var(--text-body-color); font-size: var(--text-body-size); max-width: 100%;
  font-weight: var(--text-body-weight);
}
.rsvp-upload input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: none;
  border: 1px solid var(--color-accent);
  border-radius: calc(var(--rsvp-radius) - 4px);
  padding: 9px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out;
}
.rsvp-upload input[type="file"]::file-selector-button:hover {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

/* ── dashboard: stat chips + table presentation ── */
.rsvp-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.rsvp-stat {
  border: 1px solid var(--color-border);
  border-radius: var(--rsvp-radius);
  background: var(--color-surface-lift);
  box-shadow: 0 8px 22px var(--color-accent-glow);
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-body-color);
}
.rsvp-stat b {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-accent);
  margin-right: 7px;
}

.rsvp-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--rsvp-radius);
  background: var(--color-surface-lift);
  padding: 4px 10px 10px;
}
.rsvp-table { min-width: 560px; }
.rsvp-table th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-accent-soft);
  padding: 10px 12px;
}
.rsvp-table td { padding: 11px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.rsvp-table tbody tr:nth-child(odd) td { background: var(--color-surface-lift); }
.rsvp-table td:first-child { font-weight: 700; }
.rsvp-st-yes { color: var(--color-accent); }
.rsvp-st-maybe { color: var(--color-text); }
.rsvp-st-no { color: var(--text-body-color); }

/* soft-card language for the leg-3 rsvp components (same scope) */
.rsvp-shell .rsvp-linkbox {
  border-radius: var(--rsvp-radius);
  box-shadow: 0 8px 22px var(--color-accent-glow);
  padding: 18px 20px;
}
.rsvp-shell .rsvp-warn {
  border-radius: var(--rsvp-radius);
  padding: 18px 20px;
}
.rsvp-shell .rsvp-copy { border-radius: calc(var(--rsvp-radius) - 4px); }
.rsvp-shell .rsvp-cover-thumb { border-radius: calc(var(--rsvp-radius) - 4px); }
.rsvp-shell .rsvp-hook-btn { border-radius: calc(var(--rsvp-radius) - 4px); }

@media (min-width: 720px) {
  .rsvp-date { font-size: 32px; }
  .rsvp-form-card { padding: 34px 32px; }
  .rsvp-fieldset { padding: 28px 26px; }
  .rsvp-cover { margin-bottom: 32px; }
  .rsvp-presets { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* LAYOUT CORRECTION (operator ruling): flagship desktop tile grid =
   4 + 3, second row CENTERED, ALL SEVEN IDENTICAL SIZE (277-279px —
   LARGER than the ~265px 2-across class, never shrunk). The cover-
   design cluster BREAKS OUT of the 640px form column to a wide
   centered card (min(1240px, 100vw - 48px), homepage-section width
   class); occasion + upload stay in a centered 600px column inside
   it. Breakpoint 1100 = the nav full-row threshold (site rhythm;
   below it four large tiles cannot fit) — 720-1099 keeps the
   2-across degrade, <720 keeps the mobile stack. */
@media (min-width: 1100px) {
  /* WIDTH-MATCH FIX (operator screenshot ruling 2026-08-01): ALL fieldsets
     share the breakout width — the event-details + guests cards used to
     stay in the 640px shell and read narrower than the cover card above.
     One composition now; their inner fields widen to a centered 800px
     column (usable form width), while the cover card's inner column
     keeps its ruled 600px. */
  .rsvp-fieldset {
    width: min(1240px, calc(100vw - 48px));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 32px 34px;
  }
  .rsvp-fieldset:first-of-type > .form-field {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .rsvp-fieldset:not(:first-of-type) > .form-field,
  .rsvp-fieldset:not(:first-of-type) > .form-row,
  .rsvp-fieldset:not(:first-of-type) > .form-note,
  .rsvp-fieldset:not(:first-of-type) > .form-submit {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .rsvp-fieldset:not(:first-of-type) > .form-submit { display: block; }
  .rsvp-presets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* row 2's three tiles center under row 1 */
    gap: 18px;
    width: calc(min(1240px, 100vw - 48px) - 68px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .rsvp-preset { flex: 0 0 calc((100% - 54px) / 4); }
}

/* ── POSTER DRUM (2026-07-26 — in-place rewrite of the granted
   .poster-strip* scoped block, ruling P5; tokens only, zero edits
   outside the block; the flat-marquee keyframes are RETIRED).
   3D cylinder carousel on index.html: the renderer positions each
   panel ONCE — rotateY(i*360/N) translateZ(R) translateX(-50%) — and
   the ONLY animated property is the drum's single transform (rAF,
   constant 12 deg/s; drag/momentum/resume all live in the renderer).
   GHOST SLOTS (ruling P1): backface-visibility hidden on the IMG
   only, while the panel keeps a token-tinted face that IS visible
   from behind — the far side reads as dim turning slots with no
   mirrored poster text, at zero per-frame cost.
   Flat fallback (prefers-reduced-motion or <4 loaded posters):
   .poster-strip-track static scrollable row — no animation exists.
   overflow: clip on the section — the drum's side panels overhang
   the viewport and must never create page scroll (375px rule). */
.poster-strip {
  /* soft-card EXTENSION (operator ruling 2026-07-26, drum polish):
     the 2026-07-26 soft-card deviation now covers RSVP surfaces + THE
     POSTER DRUM — scoped knob mirrors --rsvp-radius; the rest of the
     site stays square. Radius lives on the PANEL and the IMG directly:
     overflow:hidden on the panel would force transform-style:flat and
     resurrect the mirrored-backface bug (the caught 2026-07-26 trap);
     a replaced element's border-radius clips its own art cleanly and
     box-shadow rings follow the rounded shape natively. */
  --poster-radius: 0px; /* 12px→0 — corner rollback, investor ruling 2026-08-01; restore = 12px */
  overflow: clip;
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.poster-strip-stage {
  position: relative;
  height: 200px;        /* mobile-first; 300px from 720px up */
  perspective: 1000px;
  touch-action: pan-y;  /* horizontal drag owns the drum; vertical stays page scroll */
  cursor: grab;
  user-select: none;    /* no selection flashes mid-drag (dragstart is also suppressed in JS) */
  -webkit-user-select: none;
}

.poster-strip-stage:active { cursor: grabbing; }

.poster-strip-drum {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.poster-strip-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-surface); /* the ghost-slot face seen from behind */
  border: 1px solid var(--color-border);
  border-radius: var(--poster-radius); /* NO overflow:hidden — see the block note */
  transform-style: preserve-3d; /* REQUIRED for the img's backface-visibility:
                                   without it the panel flattens its children
                                   and mirrored art shows through (caught in
                                   the 2026-07-26 capture gate) */
}

.poster-strip-panel img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: var(--poster-radius); /* clips the art; rings follow the shape */
  backface-visibility: hidden; /* poster art never shows mirrored */
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out; /* hover pop */
}

/* hover pop (2026-07-26 rider): scale + amber ring/glow on the IMG ONLY —
   the panel's transform carries drum positioning and is NEVER touched.
   Ghost-slot safety is structural: a back-facing img is hidden INCLUDING
   its box-shadow, so far-side panels cannot visibly react to hover.
   :focus-within = same effect for keyboard users once posters carry links. */
.poster-strip-panel:hover img,
.poster-strip-panel:focus-within img {
  transform: scale(1.06);
  box-shadow: 0 0 0 1px var(--color-accent), 0 10px 28px var(--color-accent-soft);
}

.poster-strip-link { display: block; height: 100%; }

/* flat fallback row (reduced motion / fewer than 4 posters) — static */
.poster-strip-track { overflow-x: auto; }

.poster-strip-set {
  display: flex;
  gap: 22px;
  padding: 0 22px;
}

.poster-strip-set img {
  height: 200px;
  width: auto;
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--poster-radius); /* flat fallback rounds too */
}

@media (min-width: 720px) {
  .poster-strip-stage { height: 300px; }
  .poster-strip-set img { height: 300px; }
}

/* (MEGANAV block — moved wholesale to nav.css, R2 2026-08-07) */


/* ── SUBMIT-EVENT INTAKE CARDS (2026-08-01 restyle ruling — additive
   scoped block; zero existing rules edited). submit-event.html's form
   surface adopts the RSVP create card language: same surface tone,
   lift, padding rhythm, and the d9a92d7 unified breakout width. Values
   copied VERIFIED from the .rsvp-fieldset system (style.css RSVP soul
   pass + width-match fix). Corners: ROUNDED per the 2026-08-01 ruling —
   the soft-card deviation now covers SELF-SERVE INTAKE SURFACES
   (RSVP create + submit-event); scoped knob mirrors --rsvp-radius.
   Scoped to .se-card so find-my-ticket.html (same .site-form-wrap
   shell) is untouched. Labels keep the documented 12px exclusion. */
.se-card {
  --intake-radius: 0px; /* 12px→0 — corner rollback, investor ruling 2026-08-01; restore = 12px */
  background: var(--color-surface-lift);
  border: 1px solid var(--color-border);
  border-radius: var(--intake-radius);
  box-shadow: 0 12px 32px var(--color-accent-glow);
  padding: 22px 18px;
  margin: 0 0 22px;
}
.se-card .form-field input,
.se-card .form-field select,
.se-card .form-field textarea {
  border-radius: calc(var(--intake-radius) - 4px);
}
/* mode pills + poster-skip ride radius-4 (rsvp-hook-btn class);
   the submit keeps the full card radius (RSVP .form-submit class) */
.se-card .btn-primary, .se-card .btn-ghost {
  border-radius: calc(var(--intake-radius) - 4px);
}
.se-card .form-fallback { border-radius: var(--intake-radius); }
.se-card button.form-submit { border-radius: var(--intake-radius); }

@media (min-width: 720px) {
  .se-card { padding: 28px 26px; }
}

@media (min-width: 1100px) {
  /* the d9a92d7 pattern verbatim: cards break out of the 640px shell
     to one wide centered composition; inner content rides the unified
     800px usable-form column. */
  .se-card {
    width: min(1240px, calc(100vw - 48px));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 32px 34px;
  }
  .se-card > .form-field,
  .se-card > .form-row,
  .se-card > .form-note,
  .se-card > .form-fallback,
  .se-card > #se-mode-switch,
  .se-card > #se-sched-block,
  .se-card > .form-submit {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .se-card > .form-submit { display: block; }
}

/* ---- Event listing: fully-clickable cards (2026-08-02, click-path Leg 2 —
   ruling A + rulings i-iv; ADDITIVE ONLY, zero existing rules edited).
   The title anchor's ::after stretches over the whole card = single tap
   target. Square corners throughout (corner-rollback knobs govern; this
   block introduces ZERO border-radius). ---- */
.evl-card { position: relative; }
.evl-card-link {
  color: inherit;
  text-decoration: none;
}
.evl-card-link::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}
.evl-card-link:focus-visible { outline: none; }
.evl-card-link:focus-visible::after {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}
/* keyboard parity with the existing .evl-card:hover affordance */
.evl-card:focus-within {
  --tilt: rotate(0deg);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 60px var(--color-accent-glow);
}
.evl-price {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}
