/* ============================================================
   ALREADY CANCELLED — Wright26 Design System
   Design tokens, layout, components, dark mode, animations
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ============================================================
   1. CUSTOM PROPERTIES — LIGHT MODE (default)
   ============================================================ */
:root {
  /* Core palette */
  --alabaster:     #FBF6F2;
  --terracotta:    #94533F;
  --navy:          #14264D;
  --frost-blush:   #F7E5E0;
  --fern-sage:     #5F7F4B;
  --honey-gold:    #D4A762;

  /* Semantic tokens */
  --bg-primary:    var(--alabaster);
  --bg-secondary:  var(--frost-blush);
  --bg-inverse:    var(--navy);
  --text-primary:  var(--navy);
  --text-secondary: #3D4F6A;
  --text-inverse:  var(--alabaster);
  --text-muted:    #7A8BA5;
  --accent-warm:   var(--terracotta);
  --accent-cool:   var(--fern-sage);
  --accent-gold:   var(--honey-gold);
  --card-bg:       #FFFFFF;
  --card-border:   rgba(20, 38, 77, 0.06);
  --card-shadow:   0 2px 16px rgba(20, 38, 77, 0.06);
  --card-shadow-hover: 0 8px 32px rgba(20, 38, 77, 0.12);
  --pill-bg:       var(--frost-blush);
  --pill-text:     var(--terracotta);
  --divider:       rgba(20, 38, 77, 0.08);
  --overlay:       rgba(20, 38, 77, 0.5);

  /* Typography scale */
  --font-display:  'Bricolage Grotesque', sans-serif;
  --font-body:     'Atkinson Hyperlegible', sans-serif;
  --font-accent:   'Cormorant Garamond', serif;
  --font-mono:     'Space Mono', monospace;
  --fs-hero:       clamp(3.5rem, 10vw, 8rem);
  --fs-h1:         clamp(2rem, 4vw, 3.5rem);
  --fs-h2:         clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3:         clamp(1.15rem, 2vw, 1.5rem);
  --fs-body:       1.0625rem;
  --fs-small:      0.875rem;
  --fs-xs:         0.75rem;
  --lh-tight:      1.15;
  --lh-body:       1.65;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill:  999px;
  --radius-round: 50%;

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:  150ms;
  --dur-med:   300ms;
  --dur-slow:  600ms;

  /* Layout */
  --max-w:     1200px;
  --max-w-narrow: 800px;
  --gutter:    clamp(1rem, 4vw, 2.5rem);
}

/* ============================================================
   2. DARK MODE
   ============================================================ */
[data-theme="dark"] {
  --bg-primary:    #0E1A2E;
  --bg-secondary:  #162240;
  --bg-inverse:    var(--alabaster);
  --text-primary:  #E8E0D8;
  --text-secondary:#B0A898;
  --text-inverse:  var(--navy);
  --text-muted:    #6B7A8E;
  --card-bg:       #162240;
  --card-border:   rgba(232, 224, 216, 0.08);
  --card-shadow:   0 2px 16px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.45);
  --pill-bg:       rgba(148, 83, 63, 0.2);
  --pill-text:     #D4A762;
  --divider:       rgba(232, 224, 216, 0.08);
  --overlay:       rgba(0, 0, 0, 0.6);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
  overflow-x: hidden;
}

a {
  color: var(--accent-warm);
  text-decoration: none;
  transition: color var(--dur-fast);
}
a:hover, a:focus-visible { color: var(--honey-gold); }

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

ul, ol { list-style: none; }

::selection {
  background: var(--terracotta);
  color: var(--alabaster);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--accent-warm);
  color: var(--text-inverse);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: var(--space-md); }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

.mono-text {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: var(--max-w-narrow); }

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.section__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section__label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-warm);
  border-radius: var(--radius-round);
  display: inline-block;
}

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.nav.scrolled {
  background: var(--bg-primary);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="dark"] .nav.scrolled {
  background: rgba(14, 26, 46, 0.92);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* CW Monogram */
.monogram {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  background: var(--navy);
  color: var(--alabaster);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  transition: transform var(--dur-med) var(--ease-spring),
              background var(--dur-med);
  flex-shrink: 0;
  text-decoration: none;
}

[data-theme="dark"] .monogram {
  background: var(--alabaster);
  color: var(--navy);
}

.monogram:hover {
  transform: scale(1.08) rotate(-4deg);
  color: var(--alabaster);
}

[data-theme="dark"] .monogram:hover { color: var(--navy); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-warm);
  border-radius: 1px;
  transition: width var(--dur-med) var(--ease-out);
}

.nav__link:hover::after,
.nav__link:focus-visible::after { width: 100%; }

.nav__link:hover,
.nav__link:focus-visible { color: var(--text-primary); }

/* Dark mode toggle */
.theme-toggle {
  appearance: none;
  border: none;
  background: var(--pill-bg);
  color: var(--pill-text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform var(--dur-med) var(--ease-spring),
              background var(--dur-fast);
}

.theme-toggle:hover {
  transform: rotate(20deg) scale(1.1);
}

/* Mobile menu toggle */
.nav__menu-btn {
  display: none;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.nav__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px auto;
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out),
              opacity var(--dur-fast);
}

.nav__menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__menu-btn.open span:nth-child(2) { opacity: 0; }
.nav__menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   7. XP PROGRESS BAR
   ============================================================ */
.xp-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--honey-gold), var(--fern-sage));
  z-index: 1001;
  transition: width 100ms linear;
  border-radius: 0 2px 2px 0;
}

/* +1 Win counter */
.win-counter {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-pill);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 999;
  transition: transform var(--dur-med) var(--ease-spring),
              box-shadow var(--dur-fast);
  cursor: default;
  user-select: none;
}

.win-counter__icon {
  width: 24px;
  height: 24px;
  background: var(--honey-gold);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: var(--navy);
  font-weight: 700;
}

.win-counter.pop {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(212, 167, 98, 0.4);
}

/* Win toast */
.win-toast {
  position: fixed;
  bottom: calc(var(--space-lg) + 56px);
  right: var(--space-lg);
  background: var(--honey-gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  z-index: 999;
  transition: opacity var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-spring);
}

.win-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--gutter);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(148, 83, 63, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(212, 167, 98, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--alabaster);
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

/* Halo / back-lit glow */
.hero__title .line-1 {
  text-shadow:
    0 0 60px rgba(148, 83, 63, 0.5),
    0 0 120px rgba(148, 83, 63, 0.25),
    0 0 200px rgba(212, 167, 98, 0.15);
  color: var(--alabaster);
}

.hero__title .line-2 {
  text-shadow:
    0 0 60px rgba(212, 167, 98, 0.5),
    0 0 120px rgba(212, 167, 98, 0.25),
    0 0 200px rgba(148, 83, 63, 0.15);
  color: var(--honey-gold);
  margin-top: -0.1em;
}

.hero__sub {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(251, 246, 242, 0.65);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.04em;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ============================================================
   9. BUTTONS & PILLS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-med) var(--ease-out);
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--alabaster);
}
.btn--primary:hover {
  background: #7A4433;
  color: var(--alabaster);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(148, 83, 63, 0.35);
}

.btn--outline {
  background: transparent;
  border-color: rgba(251, 246, 242, 0.3);
  color: var(--alabaster);
}
.btn--outline:hover {
  border-color: var(--alabaster);
  color: var(--alabaster);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-warm);
  padding: 0.5rem 1rem;
}
.btn--ghost:hover {
  background: var(--pill-bg);
  color: var(--accent-warm);
}

.btn--gold {
  background: var(--honey-gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: #C4974F;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 167, 98, 0.4);
}

.btn--sage {
  background: var(--fern-sage);
  color: var(--alabaster);
}
.btn--sage:hover {
  background: #4D6A3B;
  color: var(--alabaster);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(95, 127, 75, 0.35);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--pill-text);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--sage  { background: rgba(95,127,75,0.12);  color: var(--fern-sage); }
.pill--gold  { background: rgba(212,167,98,0.15);  color: var(--honey-gold); }
.pill--navy  { background: rgba(20,38,77,0.08);    color: var(--navy); }

[data-theme="dark"] .pill--navy { background: rgba(232,224,216,0.08); color: var(--text-primary); }

/* Category indicator dot */
.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  display: inline-block;
  flex-shrink: 0;
}
.dot--terracotta { background: var(--terracotta); }
.dot--navy       { background: var(--navy); }
.dot--sage       { background: var(--fern-sage); }
.dot--gold       { background: var(--honey-gold); }
.dot--blush      { background: #E8A898; }

/* ============================================================
   10. CARDS
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--card-border);
}

.card--flat:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--accent-warm);
}

.card--feature {
  border-left: 4px solid var(--terracotta);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

/* ============================================================
   11. BIO & DISCLAIMER
   ============================================================ */
.bio-section { }

.bio-card, .disclaimer-card {
  padding: var(--space-2xl);
}

.disclaimer-card {
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border: none;
}

[data-theme="dark"] .disclaimer-card {
  background: var(--alabaster);
  color: var(--navy);
}

.disclaimer-card .section__label {
  color: var(--honey-gold);
}

[data-theme="dark"] .disclaimer-card .section__label {
  color: var(--terracotta);
}

.disclaimer-card .section__label::before {
  background: var(--honey-gold);
}

[data-theme="dark"] .disclaimer-card .section__label::before {
  background: var(--terracotta);
}

.bio-sig {
  margin-top: var(--space-lg);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-warm);
}

/* ============================================================
   12. PILLARS GRID
   ============================================================ */
.pillar-card {
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  cursor: default;
}

.pillar-card__dot {
  margin-top: 6px;
  flex-shrink: 0;
}

.pillar-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
}

.pillar-card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ============================================================
   13. EPISODE CARD
   ============================================================ */
.episode-card {
  padding: var(--space-2xl);
}

.episode-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.episode__number {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.episode__duration {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--space-lg) 0;
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--divider);
  position: relative;
}

.timeline__item:last-child { border-bottom: none; }

.timeline__time {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent-warm);
  min-width: 72px;
  flex-shrink: 0;
  padding-top: 2px;
}

.timeline__label {
  font-weight: 600;
}

.timeline__bar {
  width: 100%;
  height: 6px;
  background: var(--divider);
  border-radius: 3px;
  overflow: hidden;
  margin-top: var(--space-md);
}

.timeline__progress {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--honey-gold));
  width: 0%;
  transition: width 1.5s var(--ease-out);
}

/* ============================================================
   14. SEGMENTS GRID
   ============================================================ */
.segment-card {
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
}

.segment-card__emoji {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.segment-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  margin-bottom: var(--space-xs);
}

.segment-card__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ============================================================
   15. MERCH
   ============================================================ */
.merch-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.merch-feature__visual {
  background: var(--frost-blush);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .merch-feature__visual {
  background: rgba(148, 83, 63, 0.12);
}

.merch-feature__cover {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  color: var(--navy);
  line-height: 1.2;
}

[data-theme="dark"] .merch-feature__cover {
  color: var(--alabaster);
}

.merch-feature__inside {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.merch-feature__details h3 {
  margin-bottom: var(--space-md);
}

.merch-feature__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.merch-feature__list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
}

.merch-feature__list li::before {
  content: '✓';
  color: var(--fern-sage);
  font-weight: 700;
  flex-shrink: 0;
}

.merch-grid__item {
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.merch-grid__swatch {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
  border: 2px solid var(--card-border);
}

.merch-grid__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
}

.merch-grid__type {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   16. R.S.V.P. MEMBERSHIP
   ============================================================ */
.rsvp-section { }

.rsvp-acronym {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.rsvp-acronym__letter {
  text-align: center;
  padding: var(--space-lg);
}

.rsvp-acronym__char {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent-warm);
  line-height: 1;
}

.rsvp-acronym__word {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.rsvp-tier {
  background: linear-gradient(135deg, var(--navy), #1D3A6E);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--alabaster);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  border: 1px solid rgba(212, 167, 98, 0.2);
}

[data-theme="dark"] .rsvp-tier {
  background: linear-gradient(135deg, #1D3A6E, #0E1A2E);
  border: 1px solid rgba(212, 167, 98, 0.15);
}

.rsvp-tier__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  color: var(--honey-gold);
}

.rsvp-tier__desc {
  color: rgba(251, 246, 242, 0.75);
  margin: var(--space-md) 0 var(--space-lg);
}

.rsvp-tier__perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.rsvp-tier__perk {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: rgba(251, 246, 242, 0.85);
}

.rsvp-tier__perk .dot {
  width: 8px;
  height: 8px;
}

.rsvp-lounge {
  text-align: center;
  padding: var(--space-2xl);
}

.rsvp-lounge__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--honey-gold);
  color: var(--navy);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(251, 246, 242, 0.7);
  padding: var(--space-2xl) 0;
}

[data-theme="dark"] .footer {
  background: #080F1E;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.footer__link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(251, 246, 242, 0.5);
  transition: color var(--dur-fast);
}
.footer__link:hover { color: var(--honey-gold); }

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(251, 246, 242, 0.35);
  width: 100%;
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(251, 246, 242, 0.08);
}

/* ============================================================
   18. SCROLL-REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* Hero entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.hero__title  { animation: heroFadeUp 1s var(--ease-out) 0.2s both; }
.hero__sub    { animation: heroFadeUp 1s var(--ease-out) 0.5s both; }
.hero__ctas   { animation: heroFadeUp 1s var(--ease-out) 0.7s both; }

.hero__title .line-2 {
  animation: heroFadeUp 1s var(--ease-out) 0.35s both;
}

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: block; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 1000;
  }

  .nav__link {
    font-size: var(--fs-body);
  }

  .merch-feature {
    grid-template-columns: 1fr;
  }

  .rsvp-tier {
    grid-template-columns: 1fr;
  }

  .rsvp-acronym {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__title {
    font-size: clamp(2.75rem, 12vw, 5rem);
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .rsvp-acronym {
    grid-template-columns: 1fr 1fr;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .nav, .xp-bar, .win-counter, .win-toast, .theme-toggle { display: none !important; }
  .hero { min-height: auto; background: #fff; color: #000; }
  .hero__title { color: #000; text-shadow: none; }
  body { background: #fff; color: #000; }
}
