/* ============================================================
   style.css — Pirate Pots UK (Crimson Stage Edition)
   pirate-pots.uk
   Class names intentionally DIFFERENT from pirate-pots.com
   to prevent cross-contamination when both load in same browser.
   ============================================================ */

/* ── CSS Custom Properties ────────────────────────────────── */
/* PHP injects inline overrides from $THEME; these are defaults */
:root {
  --color-bg:          #0a0608;
  --color-surface:     #15090c;
  --color-surface-alt: #0f0709;
  --color-border:      #3a1a20;
  --color-text:        #f5ede0;
  --color-text-muted:  #a08878;
  --color-accent:      #dc143c;
  --color-accent-hover:#ff2547;
  --color-cta:         #dc143c;
  --color-cta-hover:   #ff2547;
  --color-cta-text:    #fff8e8;
  --color-gold:        #c4a052;
  --color-gold-hover:  #e0bf6c;
  --color-curtain:     #5a0a18;

  /* Spacing tokens */
  --space-xs:   0.375rem;
  --space-sm:   0.75rem;
  --space-md:   1.25rem;
  --space-lg:   2rem;
  --space-xl:   3rem;
  --space-2xl:  5rem;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;

  /* Transition */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration:   220ms;
}

/* ── Global Body ──────────────────────────────────────────── */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
}

/* ── Keyframe Animations ──────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(220,20,60,0.45), 0 0 30px 4px rgba(196,160,82,0.18); }
  50%       { box-shadow: 0 0 22px 6px rgba(220,20,60,0.70), 0 0 50px 10px rgba(196,160,82,0.30); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes nav-slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   1. CONTAINER HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* ============================================================
   2. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              color var(--duration) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

/* CTA — crimson bg, gold border, ivory text, Playfair italic label */
.btn--cta {
  background-color: var(--color-cta);
  border-color: var(--color-gold);
  color: var(--color-cta-text);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  box-shadow: 0 0 10px 1px rgba(220,20,60,0.35), 0 0 22px 2px rgba(196,160,82,0.12);
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background-color: var(--color-cta-hover);
  border-color: var(--color-gold-hover);
  box-shadow: 0 0 18px 4px rgba(255,37,71,0.55), 0 0 40px 8px rgba(224,191,108,0.25);
  color: var(--color-cta-text);
  text-decoration: none;
}

/* Ghost — transparent, gold border */
.btn--ghost {
  background-color: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: rgba(196,160,82,0.10);
  border-color: var(--color-gold-hover);
  color: var(--color-gold-hover);
  text-decoration: none;
}

/* Size modifiers */
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn--full {
  width: 100%;
  display: flex;
}

.btn--mobile {
  display: none;
}

@media (max-width: 768px) {
  .btn--mobile {
    display: inline-flex;
  }
}

/* ============================================================
   3. SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 60px;
  background-color: #000;
  border-bottom: 1px solid var(--color-accent);
}

.site-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Left nav group */
.site-header__nav--left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-content: flex-end;
}

/* Right nav group */
.site-header__nav--right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-content: flex-start;
}

.site-header__nav--left a,
.site-header__nav--right a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--duration) var(--ease);
  text-transform: uppercase;
}

.site-header__nav--left a:hover,
.site-header__nav--right a:hover,
.site-header__nav--left a[aria-current="page"],
.site-header__nav--right a[aria-current="page"] {
  color: var(--color-gold);
}

/* Logo — centred */
.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-logo::before,
.site-logo::after {
  content: '★';
  font-style: normal;
  font-size: 0.6em;
  color: var(--color-gold);
  -webkit-text-fill-color: var(--color-gold);
  margin-inline: 0.45em;
  opacity: 0.85;
}

/* Hamburger button */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
  color: var(--color-text);
  transition: border-color var(--duration) var(--ease);
}

.site-header__hamburger:hover {
  border-color: var(--color-gold);
}

.site-header__hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

/* Hamburger "open" state */
.site-header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.site-header__mobile-nav {
  display: none;
  position: fixed;
  inset: 60px 0 0 auto;
  width: 100%;
  max-width: 320px;
  background-color: #0d060a;
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-lg);
  flex-direction: column;
  gap: var(--space-md);
  z-index: 850;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0,0,0,0.5);
}

.site-header__mobile-nav.is-open {
  display: flex;
  animation: nav-slide-in 240ms var(--ease) both;
}

.site-header__mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  text-decoration: none;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--duration) var(--ease);
}

.site-header__mobile-nav a:last-child {
  border-bottom: none;
}

.site-header__mobile-nav a:hover {
  color: var(--color-gold);
}

/* ── Responsive Header ────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__nav--left,
  .site-header__nav--right {
    display: none;
  }

  .site-header__hamburger {
    display: flex;
  }

  .site-logo {
    margin-inline: auto;
  }
}

/* ============================================================
   4. CURTAIN HERO
   ============================================================ */
.curtain-hero {
  position: relative;
  padding-block: 7rem;
  text-align: center;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Radial gold glow bg */
.curtain-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 60%,
              rgba(196,160,82,0.08) 0%,
              rgba(90,10,24,0.06) 50%,
              transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.curtain-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Gold ornament line */
.curtain-hero__ornament {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  color: var(--color-gold);
  letter-spacing: 0.4em;
  margin-bottom: var(--space-lg);
  opacity: 0.75;
}

/* Headline */
.curtain-hero__headline {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* Italic accent word within headline */
.curtain-hero__headline em {
  font-style: italic;
}

/* Gradient crimson→gold on accent words */
.curtain-hero__headline .accent-gradient,
.accent-gradient {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Sub-headline */
.curtain-hero__sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

/* CTA wrapper */
.curtain-hero__cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Credit line below */
.curtain-hero__credit {
  margin-top: var(--space-xl);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ============================================================
   5. MARQUEE HERO (sub-pages)
   ============================================================ */
.marquee-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  padding-block: 3.5rem;
}

.marquee-hero__inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.marquee-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.marquee-hero__desc {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* ============================================================
   6. STAGE SECTION
   ============================================================ */
.stage {
  padding-block: var(--space-2xl);
  background-color: var(--color-bg);
}

.stage--alt {
  background-color: var(--color-surface-alt);
}

.stage__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stage__header h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.stage__intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.stage__inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* ============================================================
   7. DROP CAP
   ============================================================ */
.dropcap::first-letter,
p.has-dropcap::first-letter {
  float: left;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3em;
  line-height: 0.9;
  margin-right: 0.5rem;
  margin-top: 0.05em;
  color: var(--color-gold);
  -webkit-text-fill-color: var(--color-gold);
}

/* ============================================================
   8. ORNAMENT RULE
   ============================================================ */
.ornament-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-block: 1.5rem;
  margin-inline: auto;
  max-width: 120px;
  color: var(--color-gold);
}

.ornament-rule::before,
.ornament-rule::after {
  content: '';
  display: block;
  height: 1px;
  width: 50px;
  background-color: var(--color-gold);
  opacity: 0.55;
}

.ornament-rule__mark {
  font-size: 0.75rem;
  opacity: 0.8;
  flex-shrink: 0;
  line-height: 1;
}

/* When used inline without .ornament-rule__mark child, render ♦ via CSS */
.ornament-rule:not(:has(.ornament-rule__mark))::before {
  content: '';
}

/* Full-width variant for section dividers */
.ornament-rule--wide {
  max-width: 100%;
}

.ornament-rule--wide::before,
.ornament-rule--wide::after {
  width: 80px;
}

/* ============================================================
   9. SPOTLIGHT CARD
   ============================================================ */
.spotlight {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.spotlight:hover {
  border-color: var(--color-gold-hover);
  box-shadow: 0 0 18px rgba(196,160,82,0.12);
}

.spotlight__title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.spotlight__body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.spotlight__value {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.spotlight__extra {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.spotlight__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.75;
  margin-top: var(--space-sm);
}

/* ============================================================
   10. SPOTLIGHT GRID
   ============================================================ */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.spotlight-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.spotlight-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .spotlight-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .spotlight-grid,
  .spotlight-grid--3,
  .spotlight-grid--4 {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* ============================================================
   11. ENCORE STRIP
   ============================================================ */
.encore-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding-block: var(--space-md);
  text-align: center;
}

.encore-strip__item {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--color-gold);
  font-size: 0.9375rem;
  white-space: nowrap;
  padding-inline: 1rem;
}

.encore-strip__divider {
  color: var(--color-gold);
  opacity: 0.55;
  font-size: 0.75rem;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

/* ============================================================
   12. ENCORE LIST
   ============================================================ */
.encore-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.encore-list--center {
  align-items: center;
  text-align: center;
}

.encore-list li,
.encore-list__item {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.encore-list--center li,
.encore-list--center .encore-list__item {
  padding-left: 0;
}

.encore-list li::before,
.encore-list__item::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-gold);
  font-size: 0.75em;
}

.encore-list--center li::before,
.encore-list--center .encore-list__item::before {
  display: none;
}

/* ============================================================
   13. DUET (2-col grid)
   ============================================================ */
.duet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.duet--center {
  align-items: center;
}

@media (max-width: 768px) {
  .duet {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================================
   14. BILL (playbill table)
   ============================================================ */
.bill {
  max-width: 600px;
  margin-inline: auto;
}

.bill__title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.bill dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.bill__row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--color-border);
}

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

.bill__key {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 0;
}

.bill__leader {
  flex: 1;
  border-bottom: 1px dotted var(--color-gold);
  opacity: 0.35;
  margin-bottom: 2px;
}

.bill__val {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  text-align: right;
  margin-bottom: 0;
}

/* ============================================================
   15. ASIDE BOX
   ============================================================ */
.aside-box {
  background-color: var(--color-surface);
  border-left: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  padding: 1.5rem var(--space-lg);
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 640px;
  margin-inline: auto;
}

.aside-box__attribution {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: normal;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}

/* ============================================================
   16. TIER LADDER
   ============================================================ */
.tier-ladder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 600px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
  position: relative;
}

/* Vertical connecting line */
.tier-ladder::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 1px;
  border-left: 1px dotted rgba(196,160,82,0.3);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.tier-ladder__step {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem 1rem 4.5rem;
  margin-block: 0.5rem;
  text-align: left;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

/* Ordinal badge */
.tier-ladder__step::before {
  content: attr(data-ordinal);
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  background-color: var(--color-bg);
  line-height: 1;
  /* flex doesn't work on ::before; use text-align + padding instead */
  text-align: center;
  padding-top: 0.45rem;
}

/* Progressive brightness by tier index */
.tier-ladder__step:nth-child(1) { opacity: 0.60; }
.tier-ladder__step:nth-child(2) { opacity: 0.72; }
.tier-ladder__step:nth-child(3) { opacity: 0.82; }
.tier-ladder__step:nth-child(4) { opacity: 0.90; }
.tier-ladder__step:nth-child(5) { opacity: 0.96; }
.tier-ladder__step:nth-child(6) {
  opacity: 1;
  border-color: var(--color-gold);
  box-shadow: 0 0 16px rgba(196,160,82,0.20), 0 0 4px rgba(220,20,60,0.15);
}

.tier-ladder__name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.6rem;
  line-height: 1;
}

.tier-ladder__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.tier-ladder__stat {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  background-color: rgba(196,160,82,0.08);
  border: 1px solid rgba(196,160,82,0.25);
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
  color: var(--color-gold);
  white-space: nowrap;
}

.tier-ladder__stat strong {
  font-weight: 700;
  color: var(--color-text);
}

.tier-ladder__note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Legend tier extra glow */
.tier-ladder__step:nth-child(6) .tier-ladder__name {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   17. ACT TABS
   ============================================================ */
.act-tabs {
  width: 100%;
}

.act-tabs__nav {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.act-tabs__btn {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: color var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  margin-bottom: -1px;
  text-decoration: none;
}

.act-tabs__btn:hover {
  color: var(--color-text);
}

.act-tabs__btn.active,
.act-tabs__btn[aria-selected="true"] {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.act-tabs__panel {
  display: none;
}

.act-tabs__panel.active {
  display: block;
  animation: fade-in 250ms var(--ease) both;
}

/* ============================================================
   18. CABARET FAQ
   ============================================================ */
.cabaret-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.cabaret-faq-item {
  border-left: 2px solid var(--color-gold);
  background-color: var(--color-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.cabaret-faq-item[open] {
  border-left-color: var(--color-accent);
}

.cabaret-faq-item summary {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 1rem 3rem 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  transition: color var(--duration) var(--ease);
}

.cabaret-faq-item summary::-webkit-details-marker {
  display: none;
}

/* + marker that rotates to × on open */
.cabaret-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  font-size: 1.25rem;
  font-style: normal;
  line-height: 1;
  transition: transform var(--duration) var(--ease);
}

.cabaret-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.cabaret-faq-item[open] summary {
  color: var(--color-gold);
}

.cabaret-faq-item__body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding: 0 1.25rem 1.25rem;
  line-height: 1.7;
  animation: fade-in 180ms var(--ease) both;
}

/* ============================================================
   19. STAT ROW
   ============================================================ */
.stat-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.stat-row__cell {
  flex: 1 1 0;
  min-width: 140px;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  position: relative;
}

/* Gold vertical divider between cells */
.stat-row__cell + .stat-row__cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background-color: var(--color-gold);
  opacity: 0.25;
}

.stat-row__value {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-row__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media (max-width: 600px) {
  .stat-row {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .stat-row__cell {
    min-width: 0;
    flex: none;
    width: 100%;
    max-width: 260px;
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-sm);
  }

  .stat-row__cell:last-child {
    border-bottom: none;
  }

  .stat-row__cell::before {
    display: none;
  }
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding-block: var(--space-xl);
  padding-inline: var(--space-lg);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-md);
  font-size: 0.8125rem;
}

.site-footer__legal a {
  color: var(--color-text-muted);
  text-decoration: none;
  padding-inline: 0.5rem;
  transition: color var(--duration) var(--ease);
}

.site-footer__legal a:hover {
  color: var(--color-gold);
}

.site-footer__legal-dot {
  color: var(--color-gold);
  opacity: 0.5;
  font-size: 0.625rem;
  line-height: 1;
  padding: 0;
}

.site-footer__disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.65;
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* ============================================================
   21. STICKY BAR
   ============================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: 44px;
  background-color: var(--color-curtain);
  border-top: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding-inline: var(--space-lg);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
  pointer-events: none;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--color-cta-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar .btn {
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  height: 28px;
}

/* ============================================================
   22. PROSCENIUM (stage frame with gold ornament corners)
   ============================================================ */
.proscenium {
  position: relative;
  padding: var(--space-2xl) var(--space-lg);
}

.proscenium::before,
.proscenium::after {
  content: '✦';
  position: absolute;
  font-size: 1.25rem;
  color: var(--color-gold);
  opacity: 0.55;
  line-height: 1;
}

.proscenium::before {
  top: var(--space-md);
  left: var(--space-lg);
}

.proscenium::after {
  top: var(--space-md);
  right: var(--space-lg);
}

/* Bottom corners via a wrapper pseudo hack using the inner element */
.proscenium__inner {
  position: relative;
}

.proscenium__inner::before,
.proscenium__inner::after {
  content: '✦';
  position: absolute;
  font-size: 1.25rem;
  color: var(--color-gold);
  opacity: 0.55;
  line-height: 1;
  bottom: calc(-1 * var(--space-2xl) + var(--space-md));
}

.proscenium__inner::before {
  left: calc(-1 * var(--space-lg));
}

.proscenium__inner::after {
  right: calc(-1 * var(--space-lg));
}

/* ============================================================
   23. TOLL LIST (payment methods etc.)
   ============================================================ */
.toll-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
  list-style: none;
}

.toll-list__item {
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              background-color var(--duration) var(--ease);
  opacity: 0.8;
}

.toll-list__item:hover {
  border-color: var(--color-gold-hover);
  color: var(--color-text);
  background-color: rgba(196,160,82,0.05);
  opacity: 1;
}

@media (max-width: 600px) {
  .toll-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .toll-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   UTILITIES & SHARED TYPOGRAPHY
   ============================================================ */

/* Gold text */
.text-gold {
  color: var(--color-gold);
}

/* Muted text */
.text-muted {
  color: var(--color-text-muted);
}

/* Crimson text */
.text-crimson {
  color: var(--color-accent);
}

/* Ivory text */
.text-ivory {
  color: var(--color-cta-text);
}

/* Centred */
.text-center {
  text-align: center;
}

/* Small caps label */
.label-caps {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Gold shimmer on arbitrary text */
.shimmer-gold {
  background: linear-gradient(90deg,
    var(--color-gold) 0%,
    var(--color-gold-hover) 40%,
    var(--color-gold) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* CTA glow animation on btn--cta */
.btn--cta.glow-animate {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* Fade-in animation helper */
.fade-in {
  animation: fade-in 400ms var(--ease) both;
}

/* Spacing helpers */
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================================
   RESPONSIVE — Global
   ============================================================ */
@media (max-width: 480px) {
  .container,
  .container--narrow {
    padding-inline: var(--space-md);
  }

  .stage__inner,
  .stage__header,
  .stage__intro,
  .cabaret-faq,
  .tier-ladder {
    padding-inline: var(--space-md);
  }

  .curtain-hero {
    padding-block: 4rem;
  }

  .curtain-hero__sub {
    font-size: 1.0625rem;
  }

  .spotlight-grid,
  .spotlight-grid--3,
  .spotlight-grid--4 {
    grid-template-columns: 1fr;
  }

  .duet {
    grid-template-columns: 1fr;
  }

  .encore-strip {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .encore-strip__divider {
    display: none;
  }

  .tier-ladder::before {
    display: none;
  }

  .tier-ladder__step {
    padding-left: 4rem;
  }

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

/* ═══════════════════════════════════════════════════════════════
   FIX: Mobile nav + nav toggle — hide on desktop, show on mobile
   ═══════════════════════════════════════════════════════════════ */

/* Hamburger toggle - hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--color-gold);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile nav drawer - completely hidden on desktop */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}
.nav-mobile.is-open {
  visibility: visible;
  pointer-events: auto;
}
.nav-mobile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.25s;
}
.nav-mobile.is-open .nav-mobile__overlay { opacity: 1; }

.nav-mobile__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: var(--color-surface);
  border-left: 2px solid var(--color-accent);
  padding: 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
}
.nav-mobile.is-open .nav-mobile__panel { transform: translateX(0); }

.nav-mobile__close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.nav-mobile__close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.nav-mobile__list {
  list-style: none !important;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile__list li {
  list-style: none !important;
}
.nav-mobile__list li::before { content: none !important; }

.nav-mobile a,
.nav-mobile__list a {
  display: block;
  padding: 0.85rem 1rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.nav-mobile a:hover,
.nav-mobile__list a:hover {
  background: rgba(220, 20, 60, 0.08);
  border-color: var(--color-border);
  color: var(--color-accent);
}
.nav-mobile a.is-active {
  color: var(--color-accent);
  background: rgba(220, 20, 60, 0.05);
}

.nav-mobile__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Mobile breakpoint: hide desktop nav, show hamburger */
@media (max-width: 768px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .site-header__nav--left,
  .site-header__nav--right {
    display: none !important;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-logo {
    font-size: 1.1rem;
  }
}
