/* ============================================================================
   NextGen Golf Events — Design System / Global Stylesheet
   Mobile-first. Breakpoints: tablet ~768px, desktop ~1024px+.
   Fonts loaded via includes/header.php <link> tags: Playfair Display
   (headings) + Inter (body).
   --logo-green (#66804A) was sampled directly via PIL pixel-sampling from
   the real nextgen-logo.png supplied by the client (dominant green pixel
   value in the "GOLF EVENTS" wordmark / flag icon).
   ============================================================================ */

:root {
  /* Brand colors */
  --deep-green: #062D1C;
  --dark-bg: #050A07;
  --logo-green: #66804A; /* sampled from nextgen-logo.png via PIL */
  --gold: #C99A32;
  --gold-dark: #A87E22;
  --white: #FFFFFF;
  --off-white: #F7F6F1;
  --body-text: #4B4B4B;

  /* Derived / utility colors */
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-light: #E3E1D8;
  --overlay-dark: rgba(5, 10, 7, 0.72);
  --success: #2E7D4F;
  --error: #B3261E;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.5rem;

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

  /* Hero background image: currently every page's hero <img> points at the
     same shared placeholder SVG (public/assets/images/placeholders/
     hero-golf-placeholder.svg). Per-page real photography paths are
     reserved at public/assets/images/hero/{home,about,events,sponsors,
     contact}-hero.jpg — see the "HERO PHOTO SWAP POINT" comment above each
     page's <section class="hero"> markup for the exact filename expected.
     This --hero-bg-image variable is not currently referenced by any CSS
     rule (the hero background is an <img> in markup, not a CSS
     background-image) — retained as a token in case a future pass moves
     the hero graphic to a CSS background-image approach instead. */
  --hero-bg-image: url('/assets/images/placeholders/hero-golf-placeholder.svg');

  /* Misc tokens */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.22);
  --transition-fast: 0.18s ease;
  --transition-base: 0.3s ease;
  --container-width: 1180px;
}

/* ---------------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--body-text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--deep-green);
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--space-sm); }

a {
  color: var(--logo-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--gold); }

ul, ol { padding-left: 1.25rem; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

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

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

@media (min-width: 1024px) {
  h1 { font-size: var(--fs-4xl); }
  section { padding: var(--space-2xl) 0; }
}

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--dark-bg);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--deep-green);
}

.btn--secondary {
  background: var(--deep-green);
  color: var(--white);
  border-color: var(--deep-green);
}
.btn--secondary:hover {
  background: var(--logo-green);
  border-color: var(--logo-green);
}

.btn--nav {
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ---------------------------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--border-subtle);
}

/* Offset in-page jump targets so the sticky header doesn't overlap the
   top of the target section/heading when scrolled to via an anchor link
   (e.g. /sponsors.php#inquire). Matches the header's approximate height. */
[id] {
  scroll-margin-top: 90px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

@media (min-width: 1024px) {
  .site-header__logo-img { width: 64px; height: 64px; }
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-header__logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
}

/* Retained in case a page needs the text wordmark again; unused in the
   default header markup since the logo image already includes the
   wordmark (see includes/header.php). */
.site-header__wordmark {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header__wordmark span { color: var(--logo-green); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--deep-green);
  padding: 5rem var(--space-md) var(--space-md);
  transition: right var(--transition-base);
  overflow-y: auto;
}
.primary-nav.is-open { right: 0; }

.primary-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.primary-nav__list a:not(.btn) {
  color: var(--white);
  font-weight: 500;
  font-size: var(--fs-lg);
  display: inline-block;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav__list a:not(.btn):hover,
.primary-nav__list a:not(.btn).active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
  }
  .primary-nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
  }
}

/* ---------------------------------------------------------------------------
   Hero sections
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--dark-bg);
  color: var(--white);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  /* Prevents layout shift (CLS) when a real photo replaces the placeholder
     SVG later: the hero box already reserves this minimum height via
     padding above, but min-height pins it explicitly so a future <img>
     with real intrinsic dimensions can't change section height on load. */
  min-height: 360px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
/* Targets the actual <img> used for the hero background graphic (markup is
   <div class="hero__bg"><img src="..."></div>, not an inline <svg>) so the
   placeholder graphic — and any real photo that later replaces it at the
   same src path — fills the absolutely-positioned .hero__bg box edge-to-
   edge without distortion. object-position is set slightly above center
   (35% from top) rather than dead-center: real photography of standing
   people/groups typically has more usable headroom below face-height than
   above it, so a slightly higher focal point keeps faces in frame on both
   narrow (mobile, taller crop) and wide (desktop, shorter crop) viewports.
   Verified against the current placeholder SVG: its "PHOTO COMING SOON"
   badge sits at ~51% vertical (y=460 of a 900-tall viewBox) and is wide/
   short, so a 35% focal point does not crop or visibly shift it. */
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero h1 { color: var(--white); margin-bottom: var(--space-xs); }
.hero__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}
.hero__supporting {
  font-size: var(--fs-lg);
  color: var(--off-white);
  max-width: 620px;
}

/* ---------------------------------------------------------------------------
   Cards & grids
   --------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--white);
  color: var(--body-text);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 0.5rem; color: var(--deep-green); }
.card p { color: var(--body-text); }
.card--dark {
  background: var(--deep-green);
  color: var(--off-white);
  border: none;
}
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--off-white); }

.card--featured {
  border: 2px solid var(--gold);
  position: relative;
  margin-top: 14px;
}
.card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark-bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}
.founder-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid var(--gold);
}

/* ---------------------------------------------------------------------------
   Section helpers
   --------------------------------------------------------------------------- */
.section--dark {
  background: var(--deep-green);
  color: var(--off-white);
}
/* IMPORTANT: scoped to direct section text only — must NOT cascade into
   .card, .notice, or other light-background components nested inside a
   dark section, otherwise white text lands on a white/light card and
   becomes unreadable. Cards always keep their own dark text colors
   (see .card / .card h3 rules) regardless of the section they sit in. */
.section--dark > .container > h2,
.section--dark > .container > h3,
.section--dark .section-heading h2,
.section--dark .section-heading h3 { color: var(--white); }

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}
.section-heading p { color: inherit; opacity: 0.85; }

/* ---------------------------------------------------------------------------
   Badges / pills
   --------------------------------------------------------------------------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--logo-green);
  color: var(--deep-green);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}
.section--dark .pill {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: var(--white);
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------------------------
   Event details card
   --------------------------------------------------------------------------- */
.details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.details-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.details-list .details-list__label {
  font-weight: 600;
  color: var(--deep-green);
}
.coming-soon {
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------------- */
.form { max-width: 760px; }
.form-row {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-sm);
}
@media (min-width: 768px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--deep-green);
  margin-bottom: 0.35rem;
}
/* Inside dark-background sections (e.g. the contact form panel), the
   default deep-green label text is unreadable against the deep-green
   section background, so flip labels to white there. Required-mark
   asterisks stay red via .required-mark and are unaffected. */
.section--dark label {
  color: var(--white);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--body-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--logo-green);
  box-shadow: 0 0 0 3px rgba(102, 128, 74, 0.2);
}
/* Only show the red error border after the user has interacted with a field
   (browser :user-invalid) or after a failed submit attempt — never on a
   field's first, untouched render. */
input:user-invalid, select:user-invalid, textarea:user-invalid {
  border-color: var(--error);
}
textarea { resize: vertical; min-height: 120px; }

/* Visible keyboard-focus ring across all interactive elements, including
   inside dark sections/header/footer. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.radio-group input:focus-visible,
.checkbox-row input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.required-mark { color: var(--error); }
.field-error {
  color: var(--error);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: 0.3rem 0 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
}
.checkbox-row input { width: auto; margin-top: 0.3rem; }
.checkbox-row label { font-weight: 400; margin-bottom: 0; }

.radio-group { display: flex; gap: var(--space-md); }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: 0.4rem; }
.radio-group input { width: auto; }

.form-note { font-size: var(--fs-sm); color: var(--body-text); opacity: 0.8; }

/* ---------------------------------------------------------------------------
   Tables (sponsor comparison)
   --------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
/* Mobile scroll cue for wide tables (e.g. sponsor comparison table) —
   shown only below desktop width, hidden once the table fits. */
.table-wrap--scrollcue::after {
  content: "Swipe to see more \2192";
  display: none;
}
@media (max-width: 767px) {
  .table-wrap--scrollcue {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
  }
  .table-wrap--scrollcue::after {
    display: block;
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--deep-green);
    background: var(--off-white);
    padding: 0.5rem;
    border-top: 1px solid var(--border-light);
  }
  .table-wrap--scrollcue table.compare { min-width: 720px; }
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
}
table.compare th, table.compare td {
  padding: 0.9rem 1rem;
  text-align: left;
  border: 1px solid var(--border-light);
}
table.compare thead th {
  background: var(--deep-green);
  color: var(--white);
  font-family: var(--font-heading);
}
table.compare tbody tr:nth-child(even) { background: var(--off-white); }
table.compare td.check { text-align: center; font-weight: 700; color: var(--success); }
table.compare th.tier-featured { background: var(--gold); color: var(--dark-bg); }

/* ---------------------------------------------------------------------------
   Draft / legal banner
   --------------------------------------------------------------------------- */
.draft-banner {
  background: #FBE9B0;
  border: 2px solid var(--gold-dark);
  color: #5A4413;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

/* ---------------------------------------------------------------------------
   Notice / callout boxes
   --------------------------------------------------------------------------- */
.notice {
  background: var(--white);
  color: var(--body-text);
  border-left: 4px solid var(--logo-green);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.notice p { color: var(--body-text); }
.notice--gold { border-left-color: var(--gold); }

/* Alert banners for form success/error feedback (contact, sponsor inquiry) */
.alert {
  background: var(--white);
  color: var(--body-text);
  border-left: 4px solid var(--logo-green);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.alert--error {
  border-left-color: var(--error);
  color: var(--error);
  background: #FBEAE9;
}
.alert--success {
  border-left-color: var(--success);
  color: #1E5C39;
  background: #E9F5EE;
}

/* ---------------------------------------------------------------------------
   Scroll-reveal
   --------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--off-white);
  padding: var(--space-xl) 0 var(--space-md);
}
.site-footer__inner {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__logo-img { border-radius: 50%; }
.site-footer__tagline { font-style: italic; color: var(--gold); }
.site-footer__nav ul, .site-footer__legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__nav a, .site-footer__legal a, .site-footer__contact a {
  color: var(--off-white);
}
.site-footer__nav a:hover, .site-footer__legal a:hover, .site-footer__contact a:hover {
  color: var(--gold);
}
.site-footer__location { font-weight: 600; color: var(--white); }
.site-footer__copyright {
  font-size: var(--fs-sm);
  opacity: 0.7;
  margin-top: var(--space-sm);
}

/* ---------------------------------------------------------------------------
   Utility
   --------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0; }
.muted { opacity: 0.75; }

/* ---------------------------------------------------------------------------
   Registration multi-step form (public/register.php)
   --------------------------------------------------------------------------- */
.reg-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
}
.reg-steps__item {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  color: var(--body-text);
  opacity: 0.6;
}
.reg-steps__item.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep-green);
  font-weight: 600;
  opacity: 1;
}
.reg-step legend { padding: 0; width: 100%; }
.reg-step__nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.radio-group--stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.radio-group--stack label {
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.player-block h3 { margin-top: 0; }

/* ---------------------------------------------------------------------------
   Ticket page (public/ticket.php)
   --------------------------------------------------------------------------- */
.ticket {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.ticket__header {
  background: var(--deep-green);
  color: var(--white);
  padding: var(--space-md);
  text-align: center;
}
.ticket__body { padding: var(--space-md); }
.ticket__qr { text-align: center; margin: var(--space-md) 0; }
.ticket__number {
  font-family: monospace;
  letter-spacing: 0.15em;
  font-size: var(--fs-lg);
  text-align: center;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin: var(--space-sm) 0;
}
.ticket__barcode {
  font-family: monospace;
  letter-spacing: 0.05em;
  text-align: center;
  background: #111;
  color: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xl);
  word-break: break-all;
}
@media print {
  .site-header, .site-footer, .ticket__print-btn { display: none !important; }
}

/* ---------------------------------------------------------------------------
   Legal pages (privacy-policy, terms, waiver, refund-policy)
   --------------------------------------------------------------------------- */
.hero.legal-hero {
  /* Compact hero — less height than full marketing heroes. */
  padding: var(--space-xl) 0;
  min-height: 0;
}
.legal-content {
  /* Constrained reading width for long-form text. */
  max-width: 720px;
}
.legal-updated {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--body-text);
  padding-bottom: var(--space-md);
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-light);
}
.legal-section {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}
.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.legal-section h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
}
.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}