/*
  Style Guide
  ------------
  Adjust color, spacing, typography, and layout from this single file.

  Brand colors:
    --color-navy: primary brand blue
    --color-gold: accent gold
    --color-cream: soft background
    --color-slate: darker text and surface accents

  Typography:
    --font-family-base: primary readable font stack
    --font-size-base: base font size
    --line-height-base: comfortable line height
*/

:root {
  color-scheme: light;
  --color-navy: #092a55;
  --color-navy-dark: #061e3d;
  --color-gold: #d2a63e;
  /* Gold as body text is 2.03:1 on our light surfaces -- a hard WCAG 1.4.3
     failure. Use --color-gold for fills, borders and gold-on-navy; use this
     for gold-looking text on a light background (5.7:1 at worst). */
  --color-gold-text: #7a5a12;
  --color-gold-soft: #ead8a0;
  --color-cream: #f7f0dc;
  --color-slate: #152b4b;
  --color-soft: #4e627e;
  --color-teal: #2d5f7f;
  --color-surface: #ffffff;
  --color-surface-alt: #eef5fb;
  --color-surface-muted: #f7f2e8;
  --color-border: rgba(9, 42, 85, 0.14);
  --color-shadow: rgba(9, 42, 85, 0.08);
  --font-family-base: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.65;
  --radius: 24px;
  --radius-small: 18px;
  --max-width: 1140px;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

/* Global reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
}

/* Smooth scrolling is a vestibular trigger, and the ticket form's jump nav and
   error-summary focus both rely on it. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  color: var(--color-slate);
  background: var(--color-surface-alt);
}

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

/* Off-screen until focused. Every page repeats ~9 header links before <main>,
   which a keyboard user otherwise re-traverses on every navigation. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-small) 0;
  background: var(--color-navy);
  color: #ffffff;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* The ticket and donate forms carry their own focus treatment; everything else
   fell back to the UA ring, which is close to invisible on the navy header and
   on the gold CTA gradient. */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

.email-link {
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.email-link:hover {
  color: var(--color-gold);
}

/* height:auto is load-bearing, not tidiness. An <img> carrying width/height
   attributes gets them as presentational hints on the CSS width and height, so
   max-width alone caps the width while the height stays pinned at the
   attribute -- which rendered the 3380x1773 rehearsal still on events.html as
   a 720x1773 portrait column, the choir stretched to nearly five times its
   real height. With height:auto the attributes do the job they are there for:
   the browser derives an aspect-ratio from them and reserves correctly shaped
   space before the file arrives, so the image loads without shifting the page. */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.hero {
  background: linear-gradient(180deg, var(--color-navy) 0%, #0f3b6e 100%);
  color: #ffffff;
  padding: var(--space-xl) 0;
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #ffffff;
}

.hero p,
.hero .hero-text,
.hero .page-intro,
.hero .eyebrow,
.page-hero p,
.page-hero .hero-text,
.page-hero .page-intro,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.94);
}

.hero .hero-actions .button-secondary,
.page-hero .button-secondary {
  background: rgba(210, 166, 62, 0.18);
  color: #ffffff;
  border: 1px solid rgba(210, 166, 62, 0.28);
}

.hero .graphic-placeholder,
.page-hero .graphic-placeholder {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}

.brand img {
  height: auto;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Tightened from 1.5rem: Tickets, Donate, Our Story and the two submenu
     groups push nine items into the space left between the logo and the CTA,
     and at 1.5rem the social icons dropped to a second row. */
  gap: 0.8rem;
}

/* The logo was rendering at its natural 256x130, taking a quarter of the header
   width and setting an outsized sticky header height. */
.brand img {
  max-height: 4.5rem;
}

/* Rides in the sticky header, so the buy action is reachable from any scroll
   position on any page. Deliberately smaller than .button-ticket's default:
   a 3.4rem gold pill would set the header height. */
.header-cta {
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(210, 166, 62, 0.4);
  white-space: nowrap;
}

.nav-item.has-submenu {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-caret {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item.has-submenu.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  box-shadow: 0 18px 40px var(--color-shadow);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 30;
}

.nav-submenu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu,
.nav-item.has-submenu.is-open .nav-submenu {
  display: flex;
}

.nav-submenu a {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--color-slate);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  background: var(--color-surface-alt);
  color: var(--color-navy);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  /* content-box so the bars keep their 30x24 geometry while the hit area grows
     to 50x44 -- the most important control on mobile was a 30x24 target. */
  box-sizing: content-box;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-slate);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.site-nav a,
.footer-nav a {
  color: var(--color-slate);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--color-navy);
}

.header-fb {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-fb:hover {
  color: #1877f2 !important;
}

/* 24px glyphs padded out to a 44px hit area; the margins shrink to keep the
   header the same overall width. */
.header-fb-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--color-slate);
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  margin-right: 0.25rem;
}

.header-fb-mobile:hover {
  color: #1877f2;
}

.header-ig {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-ig:hover {
  color: #e1306c !important;
}

.header-ig-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--color-slate);
  min-width: 44px;
  min-height: 44px;
  margin-right: 0.25rem;
}

.header-ig-mobile:hover {
  color: #e1306c;
}

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

.page-hero {
  background: linear-gradient(180deg, var(--color-navy), #0f3b6e);
  color: #ffffff;
  padding: var(--space-xl) var(--space-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold-text);
}

h1,
h2,
h3 {
  color: var(--color-slate);
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.page-intro,
.card p,
.location-card p,
.event-copy p {
  color: var(--color-slate);
}

.page-hero .hero-text,
.page-hero .page-intro,
.hero .hero-text,
.hero .page-intro,
.page-hero .eyebrow,
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.94);
}

.hero-grid,
.split-section,
.feature-row,
.contact-grid,
.event-grid,
.location-list {
  display: grid;
  gap: var(--space-lg);
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-lg);
}

/* Sits under the hero CTAs: the numbers that make the ask credible. */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem var(--space-md);
  margin: var(--space-md) 0 0;
  padding: var(--space-sm) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  font-size: 0.92rem;
}

.trust-strip li {
  color: rgba(255, 255, 255, 0.92);
}

.trust-strip strong {
  color: var(--color-gold-soft);
}

.hero-aside {
  margin: var(--space-sm) 0 0;
  font-size: 0.95rem;
}

.hero-aside a {
  color: var(--color-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The arithmetic behind the 100% claim. Without it the claim is an assertion;
   with it, a mechanism the reader can check. */
.proof-note {
  margin: var(--space-sm) 0 0;
  font-size: 0.92rem;
  font-style: italic;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: none;
  border-radius: 999px;
  padding: 0 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-dark));
  color: #ffffff;
}

.button-secondary {
  background: rgba(210, 166, 62, 0.18);
  color: var(--color-navy);
}

.button-ticket {
  background: linear-gradient(135deg, var(--color-gold), #b8862b);
  color: var(--color-navy-dark);
  min-height: 3.4rem;
  padding: 0 2.2rem;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(210, 166, 62, 0.45);
}

.ticket-qr {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 8px;
}

.ticket-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.ticket-link {
  font-weight: 600;
  word-break: break-all;
}

.copy-link-btn {
  min-height: 2.4rem;
  padding: 0 1.1rem;
  font-size: 0.9rem;
  background: rgba(210, 166, 62, 0.18);
  color: var(--color-navy);
}

.copy-link-btn.is-copied {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

.button-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(210, 166, 62, 0.6);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px var(--color-shadow);
}

.page-hero {
  background: linear-gradient(180deg, var(--color-navy), #0f3b6e);
  color: #ffffff;
  padding: var(--space-xl) var(--space-lg);
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #ffffff;
}

.page-hero p,
.page-hero .page-intro,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.section:not(.page-hero):not(.hero) {
  background: var(--color-surface-alt);
}

/* Ticket and donation forms (tickets.html, donate.html). The catalog and the
   gift limits they render come from the TMAA form manifests at runtime; these
   styles keep both in our own visual language rather than the ticketing site's.
   See tickets-form.js and donate-form.js — the donation form is built almost
   entirely from the shared pieces here (bands, gift chips, the checkout
   summary); `.donate-summary` below is the only rule it adds.

   Three grounds do the information architecture: seats are white and
   transactional, sponsorship is warm cream and ceremonial, the gift is the
   cool blue used elsewhere for supporting surfaces. */
.ticket-shell {
  max-width: 960px;
  margin: 0 auto;
}

.ticket-form-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-sm);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.ticket-form-status-text {
  margin: 0;
  color: var(--color-soft);
}

/* --- bands --- */

.ticket-band {
  margin: 0 0 var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 24px 60px var(--color-shadow);
  /* Clears the sticky site header when a jump link targets a band. */
  scroll-margin-top: 5rem;
}

.band--sponsor {
  background: var(--color-surface-muted);
}

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

.band-head {
  margin-bottom: var(--space-md);
}

.band-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.band-title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--color-navy);
}

.band-lede {
  margin: 0;
  max-width: 44rem;
  color: var(--color-slate);
}

.band-note {
  margin: var(--space-sm) 0 0;
  font-size: 0.85rem;
  color: var(--color-soft);
}

/* --- event fact strip + jump links --- */

/* Deliberately a light surface, not the navy slab this replaced: it sat
   directly beneath the page hero's own navy gradient and the two read as one
   undifferentiated block. Reference data should look like reference data. */
.event-summary {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-small);
  border-left: 4px solid var(--color-gold);
  background: var(--color-surface-alt);
}

/* Named .event-fact-grid, not .event-facts: the homepage spotlight already owns
   .event-facts for a bulleted <ul>, and the later block was silently
   overriding this one's margin and gap. */
.event-fact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 34rem) {
  .event-fact-grid {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}

.event-fact-label {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* 5.9:1 on --color-surface-alt. Gold would fail here at any size. */
  color: var(--color-teal);
}

.event-fact-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-slate);
}

.event-time {
  white-space: nowrap;
}

.event-fact-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-soft);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-sm);
}

.event-action {
  display: inline-flex;
  align-items: center;
  /* 44px, the 2.5.8 target minimum. */
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-navy);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.event-action:hover {
  background: var(--color-surface-muted);
}

/* Last date check before the buyer commits. rgba .9 on navy is 11.2:1. */
.ticket-checkout-when {
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Sits with it: who the money reaches, stated where the card details are about
   to be entered. Gold-on-navy is 6.28:1. */
.ticket-checkout-why {
  margin: calc(var(--space-sm) * -1) 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-gold-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.ticket-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
}

.ticket-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.ticket-jump a:hover {
  background: var(--color-surface-alt);
}

/* --- seat cards --- */

.seat-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}

@media (min-width: 46rem) {
  .seat-grid {
    /* auto-fit, because the manifest can return two tiers or five. */
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
}

.seat-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
}

.seat-card.is-active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px var(--color-gold) inset;
}

.seat-name {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-navy);
}

.seat-price {
  margin: 0.15rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.seat-amount {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}

.seat-unit {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-soft);
}

.seat-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-slate);
}

.seat-qty {
  /* Pushes steppers to a flush row when notes wrap to different heights. */
  margin-top: auto;
  padding-top: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.seat-qty-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-soft);
}

.seat-subtotal:empty,
.seat-clamp:empty {
  display: none;
}

.seat-subtotal {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-teal);
}

.seat-clamp {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9a3412;
}

.seat-soldout {
  margin: auto 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9a3412;
}

/* --- stepper --- */

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-surface);
}

.qty-btn {
  flex: 0 0 auto;
  /* 44px: WCAG 2.5.5 enhanced target size, and the floor Apple and Material
     both use. The audience skews older and phone-first. */
  width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover:not(:disabled) {
  background: var(--color-surface-alt);
}

.qty-btn:disabled {
  color: var(--color-soft);
  opacity: 0.45;
  cursor: not-allowed;
}

.qty-input {
  width: 3.5rem;
  flex: 0 0 auto;
  border: 0;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  /* Must stay >= 16px or iOS zooms the viewport on focus. */
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-slate);
  background: var(--color-surface);
  font-variant-numeric: tabular-nums;
}

/* --- availability --- */

.seat-avail,
.sponsor-avail {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-soft);
}

/* A small allotment that hasn't sold: factual, not urgent. */
.seat-avail[data-tmaa-state="limited"],
.sponsor-avail[data-tmaa-state="limited"] {
  color: var(--color-teal);
}

/* Actually running down. */
.seat-avail[data-tmaa-state="low"],
.sponsor-avail[data-tmaa-state="low"] {
  color: #9a3412;
}

.seat-avail[data-tmaa-state="sold-out"],
.seat-avail[data-tmaa-state="unavailable"],
.sponsor-avail[data-tmaa-state="sold-out"],
.sponsor-avail[data-tmaa-state="unavailable"] {
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Unavailable items stay fully legible. Dimming the row with opacity dropped
   the body text to about 2:1 against white, which fails SC 1.4.3 -- the
   "Sold out" text carries the meaning instead. */
.seat-card.is-unavailable,
.sponsor-card.is-unavailable {
  background: var(--color-surface-muted);
}

.sponsor-card.is-unavailable {
  cursor: default;
  box-shadow: none;
}

/* --- sponsor cards --- */

.sponsor-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 40rem) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sponsor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-md);
  cursor: pointer;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--color-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sponsor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px var(--color-shadow);
}

.sponsor-card.is-unavailable:hover {
  transform: none;
}

/* Kept in the accessibility tree and the tab order -- opacity, not display or
   visibility -- while the whole card acts as the hit target via its label. */
.sponsor-radio {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.sponsor-card:focus-within {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.sponsor-flag {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-gold-soft);
  color: var(--color-navy-dark);
}

.sponsor-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-navy);
}

.sponsor-price {
  margin: 0.15rem 0 0.15rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}

.sponsor-value {
  margin: 0 0 var(--space-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-teal);
}

.sponsor-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 var(--space-md);
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-slate);
}

.sponsor-list li {
  position: relative;
  padding-left: 1.5rem;
}

.sponsor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--color-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* The manifest-derived seats line leads: it is the one bullet always present
   and always true. */
.sponsor-include {
  font-weight: 700;
  color: var(--color-navy);
}

.sponsor-choose {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  background: rgba(210, 166, 62, 0.18);
  color: var(--color-navy);
}

.sponsor-selected {
  display: none;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-navy);
}

.sponsor-card.is-featured {
  border: 2px solid var(--color-gold);
  box-shadow: 0 20px 50px rgba(210, 166, 62, 0.25);
}

/* Selection is signalled three ways -- border, filled CTA, and the "Selected"
   text -- so it never depends on colour alone. */
.sponsor-card.is-selected {
  border: 2px solid var(--color-navy);
  box-shadow: 0 0 0 4px rgba(9, 42, 85, 0.1);
}

.sponsor-card.is-selected .sponsor-choose {
  background: linear-gradient(135deg, var(--color-gold), #b8862b);
  color: var(--color-navy-dark);
}

.sponsor-card.is-selected .sponsor-selected {
  display: block;
}

.sponsor-card.is-unavailable .sponsor-choose {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-soft);
}

.sponsor-clear {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
}

.sponsor-clear-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--color-soft);
  cursor: pointer;
}

.sponsor-clear-label:hover {
  color: var(--color-navy);
  background: rgba(9, 42, 85, 0.04);
}

.sponsor-clear-input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--color-navy);
}

/* --- donation --- */

.gift-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gift-chip {
  position: relative;
}

.gift-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.gift-chip label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-navy);
  cursor: pointer;
}

.gift-chip input:checked + label {
  background: var(--color-gold-soft);
  border-color: var(--color-gold);
}

.gift-chip input:focus-visible + label {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.gift-other {
  margin-top: var(--space-sm);
}

.ticket-donation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 12rem;
  padding: 0 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
}

.ticket-donation:focus-within {
  outline: 3px solid var(--color-navy);
  outline-offset: 2px;
}

.ticket-donation-prefix {
  color: var(--color-soft);
  font-weight: 700;
}

.ticket-donation-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 2.75rem;
  border: none;
  background: none;
  font-size: 1rem;
  color: var(--color-slate);
}

/* Safe only because the ring is drawn on the wrapper above. */
.ticket-donation-input:focus {
  outline: none;
}

/* --- checkout summary --- */

.ticket-checkout {
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--color-navy);
  color: #ffffff;
}

.ticket-summary-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.ticket-summary-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.15rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.ticket-summary-line.is-included {
  padding-left: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.ticket-summary-total {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 1.25rem;
}

.ticket-summary-total-amount {
  color: var(--color-gold-soft);
  font-variant-numeric: tabular-nums;
}

/* A gift is a single amount, not a list of line items, so its total has nothing
   above it to be ruled off from. */
.donate-summary .ticket-summary-total {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ticket-overlap-note {
  margin: var(--space-sm) 0 0;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-small);
  background: rgba(233, 205, 28, 0.16);
  color: var(--color-gold-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.ticket-fineprint,
.ticket-leaving {
  margin: var(--space-sm) 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-form-actions {
  margin-top: var(--space-md);
}

.ticket-form-actions .button {
  width: 100%;
}

/* --- errors and notices --- */

.ticket-error-summary {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border: 3px solid #9a3412;
  border-radius: var(--radius-small);
  background: var(--color-surface);
}

.ticket-error-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: #9a3412;
}

.ticket-error-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #9a3412;
  font-weight: 600;
}

.ticket-error-list a {
  color: inherit;
}

.ticket-availability-notice {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-slate);
}

.ticket-form-error:empty {
  display: none;
}

.ticket-form-error {
  margin: var(--space-xs) 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9a3412;
}

.ticket-form-hint {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--color-soft);
}

/* --- supporting sections around the form --- */

.ticket-aside-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .ticket-aside-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ticket-facts {
  margin: var(--space-sm) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.ticket-facts li {
  position: relative;
  padding-left: 1.5rem;
}

.ticket-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* --- shared --- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ticket-form :is(button, input, a, [tabindex]):focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 2px;
}

.ticket-band :is(button, input, label, a) {
  /* Keeps a focused control clear of the sticky site header. */
  scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-card,
  .sponsor-card:hover {
    transition: none;
    transform: none;
  }
}

@media (max-width: 40rem) {
  .ticket-band {
    padding: var(--space-md) var(--space-sm);
  }

  .band-title {
    font-size: 1.35rem;
  }

  .event-summary {
    padding: var(--space-sm);
  }

  .qty-btn {
    /* 48px, Material's touch target, for thumbs on small screens. */
    width: 3rem;
    min-height: 3rem;
  }

  .seat-qty {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .sponsor-price {
    font-size: 2rem;
  }
}

.graphic-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-surface-muted), #ffffff);
  color: var(--color-slate);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Same framing contract as the rotator: the box owns the shape, the photo fills
   it. Safe for the EXIF-rotated originals. */
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface-muted);
}

.image-rotator .rotator-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-rotator .rotator-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .image-rotator .rotator-slide {
    transition: none;
  }
}

.info-card,
.contact-card,
.contact-info,
.map-block,
.location-card,
.event-card {
  padding: var(--space-lg);
}

/* The tickets/donate embeds are full-width iframes that already have their own
   internal spacing, so the card only needs a slim frame. Less padding also
   gives the form more width on small viewports, avoiding cramped wrapping. */
.embed-card {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-sm);
}

@media (max-width: 640px) {
  .embed-card {
    padding: var(--space-xs, 0.5rem);
  }
}

.location-card,
.event-card,
.contact-card,
.contact-info {
  background: var(--color-surface);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.supporter-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: var(--space-md);
}

/* :not(.button) because this selector outranks .button-primary on specificity,
   so a button placed inside a card was painted navy-on-navy and its label
   vanished. Buttons bring their own colour. */
.info-card a:not(.button) {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-card a:hover {
  opacity: 0.75;
}

.split-section h2 a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split-section h2 a:hover {
  color: var(--color-navy);
}

.location-card:nth-child(odd),
.event-card:nth-child(odd) {
  background: var(--color-surface-alt);
}

.location-list,
.event-grid,
.contact-grid {
  background: var(--color-surface-muted);
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  display: grid;
  align-content: start;
  gap: var(--space-sm);
  background: var(--color-surface-alt);
  border-color: rgba(255, 197, 94, 0.28);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(210, 166, 62, 0.22);
  font-size: 1.4rem;
}

.split-section {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.list-style {
  margin: var(--space-md) 0 0;
  padding-left: 1.25rem;
  color: var(--color-slate);
}

.list-style li {
  margin-bottom: 0.75rem;
}

.page-intro {
  max-width: 40rem;
  margin-top: var(--space-sm);
}

.site-footer {
  margin-top: auto;
  padding: var(--space-lg) 0;
  background: var(--color-navy);
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.locator-panel {
  grid-template-columns: 1.2fr 0.8fr;
}

.locator-search {
  display: grid;
  gap: var(--space-sm);
}

.locator-search label,
.locator-search input,
.contact-grid label,
.contact-grid input,
.contact-grid textarea,
.feature-card label,
.feature-card input,
.feature-card textarea {
  display: block;
  width: 100%;
}

.locator-search input,
.contact-grid input,
.contact-grid textarea,
.feature-card input,
.feature-card textarea {
  padding: 1rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-slate);
}

.field-optional {
  font-weight: 400;
  color: var(--color-soft);
  font-size: 0.85em;
}

.locator-search button {
  width: fit-content;
}

.location-list {
  grid-template-columns: 1fr;
}

.location-card {
  display: grid;
  gap: 0.75rem;
}

.location-meta {
  color: var(--color-gold-text);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 1.4fr 0.9fr;
}

.form-stack {
  display: grid;
  gap: var(--space-md);
}

.form-feedback {
  margin: 0;
  color: var(--color-navy);
  min-height: 1.5rem;
}

/* Errors were rendered in the same navy as successes, so "Network error" and
   "Message sent!" were visually identical. #9a3412 is 6.4:1 on white. */
.form-feedback.is-error {
  color: #9a3412;
  font-weight: 700;
}

.form-feedback.is-error::before {
  content: '⚠ ';
}

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

.event-card {
  display: grid;
  gap: var(--space-md);
}

.event-copy h2 {
  margin-top: 0;
}

/* ── Marketing / event promotion components ── */

/* Site-wide announcement bar (links to tickets) */
.promo-bar {
  display: block;
  background: linear-gradient(135deg, var(--color-gold), #b8862b);
  color: var(--color-navy-dark);
  border-bottom: 1px solid rgba(9, 42, 85, 0.18);
}

.promo-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  text-align: center;
}

.promo-tag {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.promo-text {
  font-weight: 600;
}

.promo-cta {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  white-space: nowrap;
}

.promo-bar:hover .promo-cta {
  color: var(--color-navy);
}

/* Reusable date badge */
.date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-small);
  background: var(--color-gold);
  color: var(--color-navy-dark);
  line-height: 1.05;
  box-shadow: 0 10px 24px rgba(210, 166, 62, 0.4);
}

.date-badge .dow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.date-badge .day {
  font-size: 2.4rem;
  font-weight: 800;
}

.date-badge .mon {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Homepage event spotlight band */
.event-spotlight {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--color-navy) 0%, #0f3b6e 100%);
  color: #ffffff;
}

.event-spotlight .container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.event-spotlight h2,
.event-spotlight h3 {
  color: #ffffff;
}

.event-spotlight p {
  color: rgba(255, 255, 255, 0.94);
}

.event-spotlight .eyebrow {
  color: var(--color-gold);
}

.event-facts {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.event-facts li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255, 255, 255, 0.94);
}

.event-facts li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

.event-facts li strong {
  color: #ffffff;
}

.calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-sm);
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calendar-link:hover {
  color: #ffffff;
}

/* Impact / urgency callout */
.impact-band {
  background: var(--color-surface-muted);
  border: 1px solid rgba(210, 166, 62, 0.35);
  border-radius: var(--radius);
  padding: var(--space-lg);
  text-align: center;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.impact-stat {
  display: grid;
  gap: 0.25rem;
}

.impact-stat .num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.impact-stat .label {
  font-size: 0.9rem;
  color: var(--color-soft);
  font-weight: 600;
}

.impact-band .hero-actions {
  justify-content: center;
  margin-top: var(--space-lg);
}

.impact-note {
  margin-top: var(--space-md);
  color: var(--color-soft);
}

.impact-note a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 2026 beneficiaries */
.beneficiary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.beneficiary-card {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
}

.beneficiary-card h3 {
  color: var(--color-navy);
}

.beneficiary-link {
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.beneficiary-link:hover {
  color: var(--color-gold);
}

@media (max-width: 640px) {
  .event-spotlight .container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .impact-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .feature-row,
  .locator-panel,
  .contact-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Raised from 900px. Tickets, Donate and Our Story took the primary nav to
   nine items, which needs the container at its full 1140px to stay on one row --
   below that it wrapped and split the header around the CTA. The off-canvas
   panel is the better answer at those widths. */
@media (max-width: 1199px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* These duplicate the Facebook and Instagram links that already sit inside
     the nav panel and again in the footer, and on a 375px header they left no
     room for the buy button. The CTA earns the space. */
  .header-fb-mobile,
  .header-ig-mobile {
    display: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  /* The gold pill sits between the logo and the hamburger rather than after
     it, so the buy action is the first thing a thumb reaches. margin-left:auto
     groups it with the toggle at the right instead of letting space-between
     strand it mid-header. */
  .header-cta {
    order: 4;
    min-height: 2.4rem;
    padding: 0 0.9rem;
    font-size: 0.88rem;
    margin-left: auto;
  }

  .mobile-menu-toggle {
    order: 5;
    padding: 10px 0 10px 10px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* visibility, not transform alone: a translated panel is still focusable,
       so a keyboard user tabbing off the logo fell into ten off-screen links.
       Delayed on the way out so the slide-away animation still runs. */
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    z-index: 1000;
    padding: 2rem;
    /* The panel is taller than a 667px phone once the Tickets, Donate and
       Masonic items are in it, and a centred flex container overflows equally
       at both ends -- so "Home" and the social icons were cut off with no way
       to scroll to them. dvh also stops iOS under-reporting usable height. */
    height: 100dvh;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Keeps the optical centring of the old design when the list does fit. */
  .site-nav > :first-child {
    margin-top: auto;
  }

  .site-nav > :last-child {
    margin-bottom: auto;
  }

  .site-nav.open {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.3s ease, visibility 0s;
  }

  .site-nav a {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .site-nav a:hover {
    background-color: var(--color-surface-alt);
  }

  .nav-item.has-submenu {
    width: auto;
    text-align: center;
  }

  .nav-submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.25rem 0 0;
    align-items: center;
  }

  .nav-submenu a {
    font-size: 1.05rem;
  }

  .footer-nav {
    gap: 0.75rem;
  }
}

/* Full-width stacked buttons are right for hero and form actions on a phone,
   but not on a 1024px laptop, so this stays at the original breakpoint rather
   than riding along with the nav change above. The header CTA is excluded
   either way: at 100% it pushed the hamburger off the right edge. */
@media (max-width: 900px) {
  .button:not(.header-cta) {
    width: 100%;
  }
}

/* --- attendee perk band (Men's Wearhouse partnership) --------------------
   The visual job here is to make a benefit feel *earned by buying*, not
   handed out. So the two offers render as value tiles, and the redemption
   code is represented by a locked row rather than printed anywhere: the
   code lives only in the ticket confirmation email, and publishing it on a
   crawlable page would retire the incentive the moment Google indexed it.
   Do not add the code, the rental group ID, or a link to the partner flyer
   to any page in this site -- see the comment in robots.txt. */
.perk-band {
  border: 1px solid rgba(210, 166, 62, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--color-surface-muted), var(--color-surface));
  padding: var(--space-lg);
  box-shadow: 0 24px 60px var(--color-shadow);
  scroll-margin-top: 5rem;
}

.perk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0 0;
}

.perk-item {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: var(--space-md);
  border-radius: var(--radius-small);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.perk-value {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-navy);
}

.perk-label {
  font-weight: 700;
  color: var(--color-slate);
}

.perk-detail {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--color-soft);
}

/* The "you don't have this yet" row. Gold left rule rather than a lock icon
   alone, so it still reads as a gated benefit with images off. */
.perk-unlock {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: var(--space-lg) 0 0;
  padding: var(--space-md);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-small);
  background: var(--color-surface-alt);
}

.perk-unlock-icon {
  flex: none;
  font-size: 1.3rem;
  line-height: 1.3;
}

.perk-unlock p {
  margin: 0;
}

.perk-unlock p + p {
  margin-top: 0.4rem;
}

.perk-fineprint {
  margin: var(--space-md) 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-soft);
}

@media (max-width: 720px) {
  .perk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* One-line version of the band above. Used where a partner offer must be
   announced without displacing the thing the page is actually selling: on
   the ticket page it sits above the form, where a full band pushed the
   seat picker below the fold and reframed the event as a retail promotion. */
.perk-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.85rem var(--space-md);
  border: 1px solid rgba(210, 166, 62, 0.4);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-small);
  background: var(--color-surface-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-slate);
}

.perk-strip p {
  margin: 0;
  /* min-width:0 lets the paragraph shrink instead of forcing the icon to wrap
     onto its own line, which is what a bare flex child does with long text. */
  flex: 1 1 0;
  min-width: 0;
}

.perk-strip-icon {
  flex: none;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* The strip is an aside between two full sections, so it does not need a
   section's worth of padding on both sides of it. */
.section--tight {
  padding: var(--space-md) 0;
}
