/* =========================================================
   Wheaton Concours d'Elegance — teaser
   American muscle / gritty aesthetic
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-elev-2: #1c1c1c;
  --ink: #f4f1ec;
  --ink-dim: #9a948b;
  --ink-mute: #6b6760;
  --line: #2a2926;
  --red: #c8102e;
  --red-deep: #8a0a1f;
  --chrome: #d9d2c4;
  --gold: #d4a93e;
  --gold-light: #efc964;
  --warn: #ffb84d;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --grain-opacity: 0.06;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }

a { color: inherit; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow { max-width: 720px; }

.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;
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.brand-mark {
  display: block;
  width: 100px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text { font-size: 14px; }

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav a {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}

.topnav a:hover { opacity: 1; color: #fff; }

/* "Become a sponsor" nav link with diamond gem icon */
.topnav-sponsor {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

.topnav-sponsor-icon {
  width: 14px;
  height: 14px;
  color: #b9e6f0;
  filter: drop-shadow(0 0 6px rgba(185, 230, 240, 0.55));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.topnav-sponsor:hover .topnav-sponsor-icon {
  transform: rotate(8deg) scale(1.08);
}

.topnav-cta {
  padding: 8px 14px;
  border: 1px solid var(--red);
  color: var(--ink) !important;
  background: rgba(200,16,46,0.08);
}

.topnav-cta:hover { background: rgba(200,16,46,0.2); }

/* Mobile nav controls — hidden on desktop */
.mobile-nav-controls { display: none; align-items: center; gap: 10px; }

.mobile-register-btn {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: #C8FF00;
  color: #000;
  padding: 8px 14px;
  border-radius: 5px;
  white-space: nowrap;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 75vw;
  max-width: 300px;
  height: 100vh;
  background: #111;
  border-left: 1px solid #2a2a2a;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 80px 28px 40px;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-link {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ccc;
  padding: 14px 0;
  border-bottom: 1px solid #222;
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: #fff; }
.mobile-menu-link-cta {
  margin-top: 20px;
  background: #C8FF00;
  color: #000;
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  border-bottom: none;
}
.mobile-menu-link-cta:hover { color: #000; background: #d4ff1a; }

/* Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 640px) {
  .topnav { display: none; }
  .mobile-nav-controls { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu-overlay { display: block; }
  .brand-text { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #050505;
  background-image: url("image/hero-background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.05);
}

.hero-stripes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg,
      transparent 0%, transparent calc(50% - 60px),
      rgba(200,16,46,0.7) calc(50% - 60px), rgba(200,16,46,0.7) calc(50% - 36px),
      transparent calc(50% - 36px), transparent calc(50% + 36px),
      rgba(200,16,46,0.7) calc(50% + 36px), rgba(200,16,46,0.7) calc(50% + 60px),
      transparent calc(50% + 60px));
  opacity: 0.08;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 80px;
  width: 100%;
}

@media (max-width: 879px) {
  .hero-inner { text-align: center; padding-top: 80px; }
  .hero-inner .kicker { margin-left: auto; margin-right: auto; }
  .hero-inner .hero-date,
  .hero-inner .hero-cta,
  .hero-inner .hero-countdown,
  .hero-inner .countdown { justify-content: center; }
  .hero-inner .hero-meta { justify-content: center; }

  /* Eyebrow: center text, move red bar from left of text to above it */
  .hero-inner .eyebrow {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.14rem;
  }

  /* Hard 72px headline on mobile */
  .hero-inner .display { font-size: 72px; margin: 0 0 12px; }

  /* Date chip: red bar on top instead of left; lighter weight, more breathing room */
  .hero-inner .hero-date {
    border-left: 1px solid rgba(200, 16, 46, 0.45);
    border-top: 3px solid var(--red);
    font-weight: 500;
    line-height: 1.5;
    padding: 16px 20px;
    font-size: 12px;
  }
  .hero-date-break { display: none; }

  /* Quick facts: plain centered text instead of pill chips */
  .hero-inner .hero-meta { gap: 6px 14px; }
  .hero-inner .hero-meta-item { font-size: 11px; }
  .hero-inner .hero-meta-item:nth-child(1),
  .hero-inner .hero-meta-item:nth-child(2) {
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    justify-content: center;
  }
  .hero-inner .hero-meta-item:nth-child(1)::after {
    content: "\00b7";
    margin-left: 14px;
    color: var(--red);
  }
  /* "Add to calendar": demoted from chip to a small text link on its own line */
  .hero-inner .hero-meta-item:nth-child(3) {
    flex-basis: 100%;
    justify-content: center;
  }
  .hero-inner .hero-meta-link {
    font-size: 11px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(200, 16, 46, 0.6);
  }

  /* Full-width CTA on mobile */
  .hero-inner .hero-cta { width: 100%; }
  .hero-inner .hero-cta .btn { flex: 1 1 100%; width: 100%; text-align: center; justify-content: center; }
}

@media (min-width: 880px) {
  .hero-inner {
    padding-top: 140px;
    padding-bottom: 96px;
  }
  .hero-inner .display { margin-bottom: 28px; }
  .hero-inner .display-sub { margin-top: 16px; }
  .hero-inner .kicker { margin-bottom: 36px; max-width: 520px; }
  .hero-inner .hero-date { margin-bottom: 16px; font-size: clamp(15px, 1.25vw, 18px); }
  .hero-inner .hero-cta { margin-bottom: 32px; gap: 16px; }
}

@media (min-width: 1200px) {
  .hero-inner {
    padding-top: 160px;
    padding-bottom: 120px;
  }
  .hero-inner .eyebrow { margin-bottom: 32px; }
  .hero-inner .kicker { margin-bottom: 40px; max-width: 540px; }
  .hero-inner .hero-date { margin-bottom: 18px; }
  .hero-inner .hero-cta { margin-bottom: 0; }
}

@media (min-width: 1440px) {
  .hero-inner {
    max-width: 1320px;
    padding-top: 180px;
  }
}

.eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--chrome);
  margin: 0 0 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 36px; height: 2px;
  background: var(--red);
  display: inline-block;
}

/* Hero eyebrow — white with shadow for readability over any background */
.hero-inner .eyebrow {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 0 24px rgba(0,0,0,0.6);
}

.display {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(56px, 9.5vw, 132px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  max-width: 12ch;
}

.display-sub {
  display: block;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: 0.5em;
  color: var(--chrome);
  margin-top: 14px;
  padding-left: 6px;
  text-transform: uppercase;
}

.kicker {
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: #d9d8d6;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-countdown {
  position: absolute;
  top: clamp(90px, 12vh, 130px);
  right: var(--gutter);
  z-index: 3;
  margin: 0;
}

@media (min-width: 1200px) {
  .hero-countdown {
    top: 150px;
    right: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter)));
  }
}

@media (min-width: 1440px) {
  .hero-countdown {
    top: 170px;
    right: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter)));
  }
}

@media (max-width: 760px) {
  .hero-countdown {
    position: static;
    margin-top: 20px;
  }
  .hero-bg {
    background-image:
      linear-gradient(
        180deg,
        rgba(36, 28, 16, 0.75) 0%,
        rgba(36, 28, 16, 0.50) 20%,
        rgba(36, 28, 16, 0.15) 55%,
        rgba(36, 28, 16, 0.00) 80%
      ),
      url("image/hero-mobile.jpg");
  }
  .hero-date-break { display: inline; }
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin: 0 0 14px;
  padding: 14px 20px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(200, 16, 46, 0.45);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-left-width 0.3s ease;
}

.hero-date:hover {
  transform: translateY(-2px);
  background: rgba(20, 20, 20, 0.75);
  border-color: var(--red);
  border-left-width: 5px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(200, 16, 46, 0.4),
    0 0 24px rgba(200, 16, 46, 0.18);
}

.hero-date:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.hero-date-icon {
  width: clamp(20px, 2vw, 26px);
  height: clamp(20px, 2vw, 26px);
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-date:hover .hero-date-icon {
  transform: translateY(-2px) scale(1.1);
}

.hero-date-arrow {
  width: 14px;
  height: 14px;
  color: var(--ink-dim);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease;
}

.hero-date:hover .hero-date-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--red);
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(244, 241, 236, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-meta-icon {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.hero-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-meta-item:has(.hero-meta-link) {
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-meta-link {
  padding: 8px 14px;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(200, 16, 46, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-meta-link:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(20, 20, 20, 0.8);
}

.hero-meta-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 4px 10px;
}

.countdown-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: transform 0.18s ease, color 0.18s ease;
}

.countdown-num.is-flash {
  color: var(--red);
  transform: scale(1.08);
}

.countdown-label {
  margin-top: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.countdown-sep {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  color: var(--red);
  padding-bottom: 14px;
  user-select: none;
}

.countdown.is-over .countdown-num { color: var(--chrome); }

@media (max-width: 520px) {
  .countdown { padding: 10px 12px; gap: 2px; }
  .countdown-unit { min-width: 44px; padding: 4px 6px; }
  .countdown-sep { padding-bottom: 12px; }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 20px;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 6px 24px rgba(200,16,46,0.25), inset 0 -2px 0 rgba(0,0,0,0.35);
}

.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(244,241,236,0.25);
}

.btn-ghost:hover { border-color: var(--ink); background: rgba(244,241,236,0.05); }

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.section-eyebrow {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--red);
  margin: 0 0 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.section-eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-dim);
  margin: 0 0 18px;
}

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

/* ---------- Doors scroll reveal (sticky image-sequence panel) ---------- */

.section-doors {
  position: relative;
  height: 150vh;
  background: #050505;
}

.doors-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
}

.doors-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}

.doors-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 1500px;
  object-fit: contain;
  opacity: 0;
  will-change: opacity;
}

.doors-frame[data-frame="0"] { opacity: 1; }

.doors-overlay {
  position: absolute;
  top: clamp(90px, 12vh, 140px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  max-width: 720px;
  padding: 0 var(--gutter);
}

.doors-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.doors-eyebrow::before,
.doors-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.doors-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 9vw, 128px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.doors-hint {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: doors-pulse 2.4s ease-in-out infinite;
}

@keyframes doors-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.doors-progress-track {
  position: absolute;
  bottom: clamp(40px, 6vh, 60px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(180px, 24vw, 280px);
  height: 2px;
  background: rgba(244, 241, 236, 0.15);
  z-index: 2;
  border-radius: 1px;
  overflow: hidden;
}

.doors-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 80ms linear;
  box-shadow: 0 0 12px rgba(200, 16, 46, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .section-doors { height: 100vh; }
  .doors-frame { opacity: 1; }
  .doors-frame[data-frame="0"], .doors-frame[data-frame="1"] { opacity: 0; }
  .doors-frame[data-frame="2"] { opacity: 1; }
  .doors-hint { animation: none; }
}

/* ---------- Showcase (oversize-type feature panel) ---------- */

.section-showcase {
  position: relative;
  background:
    radial-gradient(ellipse at center, #141414 0%, #0a0a0a 60%, #050505 100%);
  padding: clamp(80px, 10vw, 120px) 0;
  overflow: hidden;
  isolation: isolate;
}

.section-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.015) 12px 13px);
  pointer-events: none;
  z-index: 0;
}

.showcase-bigtext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(180px, 28vw, 440px);
  line-height: 0.82;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(200,16,46,0.32) 0%, rgba(200,16,46,0.08) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.showcase-content {
  position: relative;
  z-index: 2;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
  flex-wrap: wrap;
}

.showcase-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.showcase-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.showcase-mark {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}

.showcase-mark span {
  font-family: "Oswald", sans-serif;
  font-size: 0.42em;
  letter-spacing: 0.32em;
  color: var(--chrome);
  margin-left: 10px;
  vertical-align: middle;
  font-weight: 500;
}

.showcase-tabs {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.showcase-tabs a {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  padding-bottom: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.showcase-tabs a:hover { color: var(--ink); }

.showcase-tabs a.is-active {
  color: var(--ink);
  border-bottom: 2px solid var(--red);
}

.showcase-stage {
  position: relative;
  text-align: center;
  margin: 24px 0 32px;
  min-height: clamp(260px, 32vw, 460px);
  display: grid;
  place-items: center;
}

.showcase-car {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 8px;
  filter:
    drop-shadow(0 40px 80px rgba(0,0,0,0.7))
    saturate(1.05)
    contrast(1.08);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at center, black 45%, transparent 92%);
          mask-image: radial-gradient(ellipse 70% 80% at center, black 45%, transparent 92%);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-showcase:hover .showcase-car { transform: scale(1.02); }

.showcase-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

@media (max-width: 760px) {
  .showcase-footer { grid-template-columns: 1fr; }
}

.showcase-stats {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 8px;
  width: fit-content;
}

.showcase-stats .stat {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 110px;
}

.stat-sep {
  width: 1px;
  background: var(--line);
}

.stat-val {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.stat-val span {
  font-family: "Oswald", sans-serif;
  font-size: 0.28em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.stat-key {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 6px 0 0;
}

.showcase-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.22) 0%, rgba(200, 16, 46, 0.02) 70%),
    rgba(20, 20, 20, 0.85);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 24px 24px 22px;
  max-width: 320px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(200, 16, 46, 0.12);
}

.showcase-card-tier {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}

.showcase-card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.showcase-card-desc {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0 0 20px;
  line-height: 1.5;
}

.showcase-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.showcase-card-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.showcase-card-price small {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
}

.showcase-card-cta { padding: 10px 16px; font-size: 12px; }

.section-classes {
  background:
    linear-gradient(to bottom, var(--bg-elev), var(--bg)),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.02) 20px 21px);
}

/* ---------- Multi-vehicle list (up to 5 per registration) ---------- */

.vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vehicle-card {
  position: relative;
  padding: 22px 22px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: 4px;
}

.vehicle-card[data-vehicle-card]:not(:first-child) {
  animation: vehicle-fade-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.vehicle-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.vehicle-card-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.vehicle-card-num { color: var(--red); }

.vehicle-card-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.vehicle-card-remove:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.08);
}

.vehicle-card-remove[hidden] { display: none; }

.add-vehicle-btn {
  margin-top: 18px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: transparent;
  color: var(--ink-dim);
  border: 1px dashed var(--line);
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.add-vehicle-btn:hover {
  color: var(--red);
  border-color: var(--red);
  border-style: solid;
  background: rgba(200, 16, 46, 0.06);
}

.add-vehicle-btn:disabled,
.add-vehicle-btn[hidden] {
  display: none;
}

.add-vehicle-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.add-vehicle-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.add-vehicle-count {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  font-weight: 500;
}

.add-vehicle-btn:hover .add-vehicle-count { color: var(--red); }

/* ---------- Show-day highlights grid ---------- */

.section-highlights {
  background: var(--bg);
  position: relative;
}

.highlights-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  margin-top: 0;
}

.highlights-text {
  display: flex;
  flex-direction: column;
}

.highlights-text .section-eyebrow,
.highlights-text .section-title,
.highlights-text .lede { margin-top: 0; }

.highlights-text .highlight-list { margin-top: 28px; }

@media (max-width: 880px) {
  .highlights-split { grid-template-columns: 1fr; gap: 32px; }
  .highlights-map { min-height: 580px; }
}

@media (max-width: 760px) {
  .highlights-media { height: auto; }
  .highlights-map { min-height: unset; height: 420px; flex: none; }
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.highlight-item:last-child { border-bottom: 0; }

.highlight-item:hover {
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.04), rgba(200, 16, 46, 0));
  padding-left: 12px;
}

.highlight-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--red);
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.highlight-item:hover .highlight-icon {
  background: rgba(200, 16, 46, 0.18);
  transform: scale(1.06);
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.highlight-body { flex: 1; min-width: 0; }

.highlight-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1;
}

.highlight-desc {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0;
}

.highlight-desc strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Highlights right column: map + thumbnails ---------- */

.highlights-media {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.highlights-map {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 480px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.highlights-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Live Google My Maps embed (replaces the static screenshot) */
/* Pulled up 66px to clip the My Maps header (owner byline + Google notice).
   Scoped under .highlights-map to outrank the `.highlights-map iframe` height rule. */
.highlights-map .highlights-map-iframe {
  filter: none;
  pointer-events: auto;
  position: absolute;
  top: -66px;
  left: 0;
  height: calc(100% + 66px);
}

/* Custom venue map image inside .highlights-map */
.highlights-map-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}

.highlights-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.95);
}

.highlights-map-trigger:hover .highlights-map-img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.highlights-map-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 241, 236, 0.18);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.highlights-map-trigger:hover .highlights-map-zoom {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.06);
}

.highlights-map-meta {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 10px;
}

.highlights-map-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.highlights-map-cta {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.highlights-map-cta:hover { color: var(--red); gap: 10px; }

.highlights-map-cta-secondary { color: var(--chrome); }
.highlights-map-cta-secondary:hover { color: var(--red); }

/* ---------- Map lightbox modal ---------- */

.map-modal[hidden] { display: none; }

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: modal-in 0.2s ease;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.map-modal-panel {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  max-width: min(95vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
  animation: modal-pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.map-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.map-modal-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 6px;
}

.map-modal-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.map-modal-close {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.map-modal-close:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.08);
}

.map-modal-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  background: #050505;
  display: block;
}

.map-modal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-legend-pill {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding: 0 7px;
  border-radius: 3px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  /* Yellow box with red border + red P — matches the parking markers on the map */
  background: #f3ca20;
  color: #c8102e;
  border: 1.5px solid #c8102e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.map-legend-pill-vip {
  background: #f3ca20;
  color: #c8102e;
  border-color: #c8102e;
}

.map-legend-pill-food {
  /* White circle with dark fork+knife — matches the food icon on the map */
  background: #ffffff;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  border-radius: 50%;
  min-width: 26px;
  width: 26px;
  height: 26px;
  padding: 0;
}

.map-legend-pill-food svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  display: block;
}

.map-legend-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--chrome);
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.2s ease, gap 0.2s ease;
}

.map-legend-link:hover {
  color: var(--red);
  gap: 10px;
}

@media (max-width: 640px) {
  .map-modal-image { max-height: 60vh; }
  .map-legend-link { margin-left: 0; }
}

.highlights-map:hover {
  border-color: var(--red);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 16, 46, 0.3);
}

/* Info card sits in flow directly under the map box */
.highlights-map-overlay {
  margin-top: 14px;
  background: rgba(10, 10, 10, 0.92);
  padding: 18px 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.highlights-map-legend {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.highlights-map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.highlights-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.highlights-legend-dot--blue { background: #4285f4; }
.highlights-legend-dot--red { background: #e53935; }
.highlights-legend-dot--yellow { background: #fbc02d; }
.highlights-legend-dot--ash { background: #9aa0a6; }

.highlights-map-label {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 4px;
}

.highlights-map-addr {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.1;
}

.highlights-map-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s ease, gap 0.2s ease;
}


.highlights-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.highlights-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev-2);
  isolation: isolate;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.highlights-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.85) contrast(1.05);
}

.highlights-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.highlights-thumb figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlights-thumb-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.highlights-thumb-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.highlights-thumb:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.highlights-thumb:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.1);
}

@media (max-width: 880px) {
  .highlights-map { min-height: 320px; }
}

/* ---------- Highlights photo strip (below the split) ---------- */

.highlights-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}

/* Trophies row — centered heading + 6 award cards below DJ + Food photos */
.trophy-heading {
  text-align: center;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin: clamp(32px, 5vw, 48px) 0 16px;
}

.trophy-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.trophy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 10px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, background 0.25s ease;
}

.trophy-card:hover {
  transform: translateY(-2px);
  background: var(--bg-elev-2);
  border-top-color: var(--gold-light);
}

.trophy-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(212, 169, 62, 0.3));
}

.trophy-name {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

@media (max-width: 880px) {
  .trophy-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .trophy-cards { grid-template-columns: repeat(2, 1fr); }
  .trophy-icon { width: 36px; height: 36px; }
}

.highlights-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--bg-elev-2);
  isolation: isolate;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.highlights-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.88) contrast(1.05);
}

.highlights-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.highlights-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlights-photo-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.highlights-photo-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.highlights-photo-desc {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--ink-dim);
  margin-top: 4px;
}

.highlights-photo:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.highlights-photo:hover img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.1);
}

@media (max-width: 760px) {
  .highlights-photos { grid-template-columns: 1fr; gap: 12px; }
  .highlights-photo { aspect-ratio: 4 / 3; }
}

/* ---------- Show stats strip (trophies + classes with icons) ---------- */

.show-stats {
  list-style: none;
  padding: 0;
  margin: 36px 0 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.show-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  flex: 1 1 240px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, background 0.25s ease;
}

.show-stat:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  background: var(--bg-elev-2);
}

.show-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--red);
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.show-stat:hover .show-stat-icon {
  background: rgba(200, 16, 46, 0.18);
  transform: scale(1.05);
}

/* Trophy variant — gold */
.show-stat-trophy {
  border-left-color: var(--gold);
}

.show-stat-trophy .show-stat-icon {
  color: var(--gold);
  background: rgba(212, 169, 62, 0.1);
  border-color: rgba(212, 169, 62, 0.4);
  box-shadow: 0 0 16px rgba(212, 169, 62, 0.15);
}

.show-stat-trophy:hover {
  border-color: var(--gold);
}

.show-stat-trophy:hover .show-stat-icon {
  background: rgba(212, 169, 62, 0.22);
  box-shadow: 0 0 24px rgba(212, 169, 62, 0.3);
}

.show-stat-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.show-stat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.show-stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.show-stat-label {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Classes section: full-bleed background variant ---------- */

.section-classes-bg {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.65) 45%, rgba(5, 5, 5, 0.95) 100%),
    url("image/web/porsche-911-gt3rs-01.jpg") center / cover no-repeat;
  padding: clamp(80px, 11vw, 140px) 0;
}

.section-classes-bg .container { position: relative; z-index: 1; }

.classes-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.section-classes-bg .lede { margin-left: auto; margin-right: auto; max-width: 620px; }

.classes-content .section-eyebrow {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.classes-tiles {
  list-style: none;
  padding: 0;
  margin: clamp(36px, 5vw, 56px) auto 0;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(4, 300px);
  justify-content: center;
  gap: 16px;
}

.classes-tiles .classes-tile:nth-child(n) {
  grid-column: span 1;
  width: 300px;
  height: 400px;
  aspect-ratio: unset;
}

.classes-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1.5px solid #C8FF00;
  aspect-ratio: unset;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: tileReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.classes-tile:nth-child(1) { animation-delay: 0.05s; }
.classes-tile:nth-child(2) { animation-delay: 0.15s; }
.classes-tile:nth-child(3) { animation-delay: 0.25s; }
.classes-tile:nth-child(4) { animation-delay: 0.35s; }
.classes-tile:nth-child(5) { animation-delay: 0.45s; }

@keyframes tileReveal {
  to { opacity: 1; transform: translateY(0); }
}

.classes-tile:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 48px rgba(0,0,0,0.8), 0 0 20px rgba(200,255,0,0.35);
  border-color: #C8FF00;
}

.classes-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.classes-tile:hover .classes-tile-img {
  transform: scale(1.1);
}

/* Dark overlay always visible */
.classes-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
  transition: opacity 0.35s ease;
}

/* Neon green overlay on hover */
.classes-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(200,255,0,0.18) 0%, transparent 60%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.classes-tile:hover::after {
  opacity: 1;
}

.classes-tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 22px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  text-align: center;
  z-index: 2;
  transform: translateY(4px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.35s ease;
}

.classes-tile:hover .classes-tile-label {
  transform: translateY(-4px);
  color: #C8FF00;
}

.classes-tile-hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 20px 64px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.classes-tile:hover .classes-tile-hover-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.classes-tile-subtitle {
  margin: 0;
  font-size: clamp(11px, 1vw, 13px);
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.classes-tile-reg-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #C8FF00;
  color: #000;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.classes-tile-reg-btn:hover {
  background: #d4ff1a;
  transform: scale(1.04);
}

/* Mobile: must come AFTER the base tile rules above so it overrides them.
   The neon box holds only the photo + title; the description and Register
   Now button flow in normal page space right under the box. */
@media (max-width: 720px) {
  .classes-tiles { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 20px 12px; }
  .classes-tiles .classes-tile:nth-child(n) { width: 100%; height: auto; }

  .classes-tile {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 0;
    overflow: visible;
    cursor: default;
  }

  /* The bordered "box" is now the image itself */
  .classes-tile-img {
    position: relative;
    inset: auto;
    height: 200px;
    border: 1.5px solid #C8FF00;
    border-radius: 10px;
  }

  /* Clamp the dark scrim to the image box only */
  .classes-tile::before {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.1) 100%);
  }
  .classes-tile::after { display: none; }

  /* Title sits at the top of the box */
  .classes-tile-label {
    position: absolute;
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 10px 0;
    font-size: 21px;
    transform: none;
  }

  /* Description + CTA live under the box, always visible */
  .classes-tile-hover-content {
    position: relative;
    inset: auto;
    flex: 1;
    padding: 10px 2px 0;
    gap: 10px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  /* Keep the row of buttons on one line even when descriptions wrap unevenly */
  .classes-tile-reg-btn { margin-top: auto; }
  .classes-tile-subtitle {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255,255,255,0.75);
  }
  .classes-tile-reg-btn {
    padding: 8px 18px;
    font-size: 11px;
  }
}

.classes-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--bg-elev);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.classes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.95) contrast(1.03);
}

.classes-image:hover img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

@media (max-width: 880px) {
  .classes-image {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 18-class list (legacy, no longer used in the page) ---------- */

.class-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.class-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: default;
}

.class-item:hover {
  transform: translateX(2px);
  border-color: var(--red);
  background: var(--bg-elev-2);
}

.class-letter {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
  flex-shrink: 0;
  min-width: 22px;
}

.class-name { flex: 1; }

.class-badge {
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  background: var(--red);
  color: #fff;
  padding: 3px 7px;
  border-radius: 2px;
  font-weight: 700;
}

.class-item-new {
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.12), rgba(200, 16, 46, 0) 60%),
    var(--bg-elev);
}

/* ---------- Mail-in card (replaces sponsor section on register page) ---------- */

.section-mailin { background: #050505; }

.mailin-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.mailin-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.mailin-step-num {
  flex-shrink: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.mailin-step-body { flex: 1; min-width: 0; }

.mailin-step-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1;
}

.mailin-step-desc {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0;
}

.mailin-step-desc strong { color: var(--ink); }

.mailin-step-desc a.mailin-contact-link {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}

/* Single download trigger (button — opens format chooser modal) */

.download-trigger {
  appearance: none;
  font: inherit;
  cursor: pointer;
  margin-top: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  color: inherit;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.download-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  background: var(--bg-elev-2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 16, 46, 0.3);
}

.download-trigger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.download-trigger .download-icon { width: 48px; height: 48px; }
.download-trigger .download-icon svg { width: 24px; height: 24px; }
.download-trigger .download-arrow { color: var(--ink-dim); transition: transform 0.25s, color 0.2s; }
.download-trigger:hover .download-arrow { color: var(--red); transform: translateX(4px); }

/* Download cards (kept in case we ever want the inline cards layout back) */

.mailin-downloads {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  background: var(--bg-elev-2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 16, 46, 0.3);
}

.download-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.download-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 6px;
  color: var(--red);
  transition: background 0.25s ease, transform 0.25s ease;
}

.download-card:hover .download-icon {
  background: rgba(200, 16, 46, 0.2);
  transform: scale(1.05);
}

.download-icon svg { width: 22px; height: 22px; }

.download-icon-pdf {
  color: var(--red);
  background: rgba(200, 16, 46, 0.1);
  border-color: rgba(200, 16, 46, 0.3);
}

.download-icon-doc {
  color: var(--chrome);
  background: rgba(217, 210, 196, 0.08);
  border-color: rgba(217, 210, 196, 0.3);
}

.download-card:hover .download-icon-doc {
  background: rgba(217, 210, 196, 0.18);
}

.download-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.download-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.download-icon-doc + .download-body .download-eyebrow {
  color: var(--chrome);
}

.download-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}

.download-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
}

.download-arrow {
  color: var(--ink-dim);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease;
}

.download-card:hover .download-arrow {
  color: var(--red);
  transform: translateY(2px);
}

/* ---------- Format-chooser modal ---------- */

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  animation: modal-in 0.18s ease;
}

@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modal-pop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-dim);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.08);
}

.modal-close:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.modal-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.modal-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1;
}

.modal-desc {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 420px;
}

.modal-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.modal-choice {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.modal-choice:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  background: var(--bg-elev-2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}

.modal-choice:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.modal-choice-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.3);
  color: var(--red);
  transition: background 0.25s ease, transform 0.25s ease;
}

.modal-choice:hover .modal-choice-icon {
  background: rgba(200, 16, 46, 0.2);
  transform: scale(1.05);
}

.modal-choice-icon-doc {
  color: var(--chrome);
  background: rgba(217, 210, 196, 0.08);
  border-color: rgba(217, 210, 196, 0.3);
}

.modal-choice:hover .modal-choice-icon-doc {
  background: rgba(217, 210, 196, 0.18);
}

.modal-choice-icon svg { width: 22px; height: 22px; }

.modal-choice-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-choice-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.modal-choice-icon-doc + .modal-choice-body .modal-choice-eyebrow {
  color: var(--chrome);
}

.modal-choice-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.modal-choice-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  font-family: "Oswald", sans-serif;
  margin-top: 2px;
}

/* Lock body scroll while modal is open */
body.is-modal-open {
  overflow: hidden;
}

/* Mail-in card (kept for the address block inside step 02) */

.mailin-card {
  margin-top: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 22px 26px;
}

.mailin-label {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.mailin-address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.mailin-note {
  font-size: 13px;
  color: var(--ink-dim);
  font-style: italic;
  margin: 12px 0 0;
}

@media (max-width: 640px) {
  .mailin-step { flex-direction: column; gap: 12px; }
  .mailin-step-num { font-size: 44px; }
}

/* ---------- Classes grid ---------- */

.class-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.class-card {
  position: relative;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.class-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.class-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.class-card p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 14px;
}

.class-card-featured {
  background:
    linear-gradient(135deg, rgba(200,16,46,0.16), rgba(200,16,46,0) 60%),
    var(--bg-elev-2);
  border-color: var(--red);
}

.class-tag {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200,16,46,0.12);
  padding: 4px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ---------- Tiers ---------- */

/* ---------- Full-bleed feature image (between Tiers and Classes) ---------- */

.section-feature {
  background: #050505;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.section-feature-image {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.section-feature-image img,
.section-feature-image video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(1) contrast(1.02);
}

.section-feature:hover .section-feature-image img,
.section-feature:hover .section-feature-image video {
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}


.section-tiers {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.section-tiers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("image/section-2-bg.jpg") center / cover no-repeat;
  filter: brightness(0.75) contrast(1.05) saturate(1.05);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.section-tiers::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 50%, rgba(10,10,10,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.section-tiers > * { position: relative; z-index: 2; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tier-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Higher specificity than [data-reveal] so all hover properties animate */
.tier-grid .tier-card {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tier-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(200, 16, 46, 0.18), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

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

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(200, 16, 46, 0.4),
    0 0 32px rgba(200, 16, 46, 0.18);
}

.tier-card:hover::after { opacity: 1; }

.tier-card:hover .tier-price-amount { color: var(--red); }

.tier-card:hover .tier-list li::before {
  transform: translateX(3px);
}

.tier-list li::before {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tier-card:hover .tier-cta {
  transform: translateY(-1px);
}

.tier-cta { transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease; }

.tier-price-amount { transition: color 0.25s ease; }

/* Premier card gets its own hover accent */
.tier-card-premier:hover::after {
  background: radial-gradient(circle at top right, rgba(200, 16, 46, 0.28), transparent 60%);
}

.tier-card header { margin-bottom: 20px; }

.tier-kicker {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink-dim);
  margin: 0 0 12px;
}

.tier-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }

.tier-price-amount {
  font-family: "Bebas Neue", sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.tier-price-unit {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.tier-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 15px;
}

.tier-list li:last-child { border-bottom: 0; }

.tier-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.tier-status {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warn);
  margin: 0;
}

.tier-card-premier {
  background:
    linear-gradient(180deg, rgba(200,16,46,0.14), rgba(200,16,46,0) 55%),
    var(--bg-elev);
  border-color: var(--red);
}

.tier-flag {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--red);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(200,16,46,0.35);
}

/* ---------- Notify ---------- */

.section-notify {
  background:
    linear-gradient(180deg, var(--bg), #050505);
  text-align: left;
}

.notify-form {
  display: grid;
  grid-template-columns: 1fr 200px auto;
  gap: 10px;
  margin-top: 24px;
}

.notify-form input,
.notify-form select {
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify-form input:focus,
.notify-form select:focus {
  border-color: var(--red);
  background: var(--bg-elev);
}

.notify-form input::placeholder { color: var(--ink-mute); }

.notify-form button {
  white-space: nowrap;
}

.form-status {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  min-height: 20px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.form-status.is-success { color: #6bd99c; }
.form-status.is-error { color: var(--warn); }

@media (max-width: 720px) {
  .notify-form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px) 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 2.5vw, 28px);
}

.footer-address { text-align: left; }
.footer-contact {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.5;
}

.footer-brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.footer-meta {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.5;
}

.footer-contact a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 560px) {
  .footer-inner { justify-content: center; text-align: center; }
  .footer-address, .footer-contact { text-align: center; }
  .footer-contact { align-items: center; }
}

.footer-bottom-inner {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.footer-bottom-inner p { margin: 0; }

.footer-bottom-inner a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-bottom-inner a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.4;
  user-select: none;
}

/* ---------- Class card images ---------- */

.class-card {
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.class-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.6s ease;
  z-index: 0;
}

.class-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.1) 0%, rgba(10,10,10,0.85) 75%, rgba(10,10,10,0.95) 100%);
  z-index: 1;
}

.class-card > * { position: relative; z-index: 2; }

.class-card:hover::before {
  opacity: 0.55;
  transform: scale(1.06);
}

.class-card-muscle::before  { background-image: url("https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=900&q=80"); }
.class-card-classic::before { background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=900&q=80"); }
.class-card-jdm::before     { background-image: url("https://images.unsplash.com/photo-1626668893632-6f3a4466d22f?auto=format&fit=crop&w=900&q=80"); }
.class-card-exotic::before  { background-image: url("https://images.unsplash.com/photo-1544636331-e26879cd4d9b?auto=format&fit=crop&w=900&q=80"); }

/* ---------- Gallery ---------- */

.section-gallery {
  background: #050505;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding: clamp(60px, 8vw, 100px) 0;
  /* Left edge aligns with container; right edge is flush to viewport. */
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-right: 0;
}

.gallery-text {
  padding-right: clamp(20px, 2.5vw, 40px);
}

.gallery-cta {
  margin-top: clamp(24px, 3vw, 36px);
  align-self: flex-start;
}

.section-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(140px, 12vw, 180px);
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: none;
}

.section-gallery .gallery-item { grid-column: span 3; grid-row: span 1; }
.section-gallery .gallery-item-tall { grid-row: span 2; }
.section-gallery .gallery-item-wide { grid-column: span 6; min-height: 180px; }

@media (max-width: 880px) {
  .section-gallery {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 0;
  }
  .gallery-text {
    padding: 0 var(--gutter);
  }
  .section-gallery .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    padding: 0 0 0 var(--gutter);
  }
  .section-gallery .gallery-item { grid-column: span 3; }
  .section-gallery .gallery-item-wide { grid-column: span 6; }
}

@media (max-width: 520px) {
  .section-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .section-gallery .gallery-item,
  .section-gallery .gallery-item-tall,
  .section-gallery .gallery-item-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  grid-row: span 1;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--bg-elev-2);
  isolation: isolate;
}

.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 8; }

.gallery-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.8) contrast(1.05);
}

/* Wide panorama tile: stretch image to fill the full tile width */
.section-gallery .gallery-item-wide .gallery-img {
  background-size: cover;
  background-position: center;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* old standalone .gallery-grid breakpoints removed — now scoped inside .section-gallery */

/* ---------- Scroll reveals ---------- */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Staggered children inside a reveal-group */
[data-reveal-group] [data-reveal]:nth-child(1) { transition-delay: 0.00s; }
[data-reveal-group] [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-group] [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-group] [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-group] [data-reveal]:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-group] [data-reveal]:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Hero parallax ---------- */

.hero-bg {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 0.08s linear;
}

/* ---------- Register page ---------- */

.topnav a.is-active {
  color: var(--ink);
  position: relative;
}

.topnav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--red);
}

.register-hero {
  padding: clamp(120px, 16vw, 180px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(ellipse at top left, rgba(200,16,46,0.12), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-bottom: 1px solid var(--line);
}

/* ---------- Split register layout (sticky aside + scrolling form) ---------- */

.register-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(120px, 14vw, 160px) var(--gutter) clamp(60px, 8vw, 100px);
  align-items: start;
  background:
    radial-gradient(ellipse at top left, rgba(200,16,46,0.10), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.register-aside {
  position: sticky;
  top: 96px;
  align-self: start;
}

.register-aside-inner {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.register-aside-inner::-webkit-scrollbar { width: 4px; }
.register-aside-inner::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 2px;
}
.register-aside-inner::-webkit-scrollbar-track { background: transparent; }

.register-aside .eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.register-aside .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.register-aside .register-display {
  font-size: clamp(48px, 8vw, 92px) !important;
  line-height: 0.88;
  margin: 0 0 20px;
}

.register-aside .kicker {
  color: var(--ink-dim);
  font-size: clamp(15px, 1.2vw, 17px);
  margin: 0 0 28px;
  max-width: 480px;
}

/* Aside summary card */
.aside-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 22px 22px 18px;
}

.aside-card-label {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
}

.aside-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.aside-card-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 14px;
}

.aside-card-list li:last-child { border-bottom: 0; }

.aside-card-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.aside-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  gap: 12px;
  flex-wrap: wrap;
}

.aside-card-price {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.aside-card-amount {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.aside-card-unit {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aside-card-meta {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warn);
}

.aside-qr {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.aside-qr:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  background: var(--bg-elev-2);
}

.aside-qr-image {
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  padding: 6px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aside-qr-image img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.aside-qr:hover .aside-qr-image {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.25);
}

.aside-qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.aside-qr-eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.aside-qr-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.aside-qr-sub {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.4;
}

.aside-secondary {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.aside-secondary a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  margin-left: 6px;
  transition: color 0.2s ease;
}

.aside-secondary a:hover { color: var(--red); }

/* Right column */
.register-main {
  min-width: 0;
}

.register-main .register-form { margin-top: 0; }

/* Mobile fallback — stack the columns */
@media (max-width: 880px) {
  .register-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: clamp(100px, 14vw, 140px);
  }
  .register-aside { position: static; }
  .register-aside-inner {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

.register-display {
  font-size: clamp(56px, 11vw, 140px) !important;
}

.tab-nav {
  display: inline-flex;
  gap: 6px;
  margin-top: 28px;
  padding: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.tab-link {
  padding: 10px 18px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-link:hover { color: var(--ink); background: var(--bg-elev-2); }

/* ---------- Register form ---------- */

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

.register-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.form-step + .form-step {
  position: relative;
}

.form-step + .form-step::before {
  content: "";
  position: absolute;
  top: calc(-1 * clamp(40px, 5vw, 64px) / 2);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 1px;
  background: var(--line);
}

.form-step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.2s ease;
}

.form-step:focus-within {
  border-color: rgba(200, 16, 46, 0.6);
}

.form-step-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-step-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--red);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.form-step-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.form-step-pill {
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(244, 241, 236, 0.08);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 2px;
  font-weight: 500;
}

.form-step-sub {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.5;
}

.form-step-optional .form-step-num { color: var(--chrome); }

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.form-row:last-child { margin-bottom: 0; }

.form-row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-row-3 { grid-template-columns: minmax(0, 1.6fr) 90px minmax(0, 1fr); }
.form-row-4 { grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }

@media (max-width: 640px) {
  .form-row-2, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }

  /* Tighten card padding so inputs get more horizontal room */
  .form-step { padding: 18px 16px; border-radius: 6px; }
  .vehicle-card { padding: 16px 14px; }

  /* Stack the step number above the title instead of side-by-side */
  .form-step-header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }
  .form-step-num { font-size: 32px; }
  .form-step-title { font-size: 22px; }
  .form-step-sub { font-size: 12px; }

  /* Vehicle card header — keep "Car 1" + Remove on one row but tighter */
  .vehicle-card-header { margin-bottom: 14px; padding-bottom: 10px; }
  .vehicle-card-title { font-size: 18px; }

  /* Form summary: stack label/price on top, full-width submit below */
  .form-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 18px;
  }
  .form-summary-amount { font-size: 36px; }
  .form-summary .btn { width: 100%; justify-content: center; text-align: center; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.req { color: var(--red); }

.form-help {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  background: #232323;
}

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

.form-field input[type="file"] {
  padding: 10px;
  font-size: 13px;
}

/* ---------- Photo upload slots ---------- */

.photo-upload-hint {
  margin: 4px 0 12px;
}

.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.03);
}

.photo-slot:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

.photo-slot.has-image {
  border-color: transparent;
}

.photo-slot-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-slot-plus {
  font-size: 32px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1;
  pointer-events: none;
  transition: color 0.2s;
}

.photo-slot:hover .photo-slot-plus {
  color: rgba(255,255,255,0.7);
}

.photo-slot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-slot-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: none;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 2;
}

.photo-slot.has-image:hover .photo-slot-remove {
  opacity: 1;
}

@media (max-width: 480px) {
  .photo-upload-grid { gap: 8px; }
}

/* ---------- Liability consent checkbox ---------- */

.form-consent {
  margin-top: 12px;
  padding: 20px clamp(20px, 3vw, 28px);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* Non-refundable + curation notice — sits above the consent checkbox */
.form-notice {
  margin-top: 12px;
  padding: 18px clamp(18px, 2.5vw, 24px);
  background: rgba(200, 16, 46, 0.06);
  border: 1px solid rgba(200, 16, 46, 0.35);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.form-notice-icon {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-notice-body { flex: 1; min-width: 0; }

.form-notice-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}

.form-notice-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0;
}

.form-notice-text strong { color: var(--ink); }

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.consent-field input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.consent-box {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: var(--bg-elev-2);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.consent-box svg {
  width: 14px;
  height: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.4, 1.8, 0.5, 0.9);
}

.consent-field:hover .consent-box {
  border-color: var(--red);
}

.consent-field input[type="checkbox"]:focus-visible + .consent-box {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.consent-field input[type="checkbox"]:checked + .consent-box {
  background: var(--red);
  border-color: var(--red);
}

.consent-field input[type="checkbox"]:checked + .consent-box svg {
  opacity: 1;
  transform: scale(1);
}

.consent-field input[type="checkbox"]:invalid:not(:checked):focus + .consent-box,
.consent-field.is-error .consent-box {
  border-color: var(--warn);
  background: rgba(255, 184, 77, 0.08);
}

.consent-text {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim);
}

.consent-text .req {
  color: var(--red);
  margin-left: 2px;
}

.form-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 24px clamp(24px, 3vw, 36px);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  flex-wrap: wrap;
}

.form-summary-label {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 4px;
}

.form-summary-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }

.form-summary-amount {
  font-family: "Bebas Neue", sans-serif;
  font-size: 44px;
  line-height: 1;
}

.form-summary-unit {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Sponsors logo wall (placeholder until real logos arrive) ---------- */

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

.lede-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.lede-link:hover { color: var(--red); }

.sponsor-wall-wrap {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* Compact sponsor strip between hero and tiers */
.section-sponsor-strip {
  padding: 40px 0 44px;
  background-color: #0e0e0e;
  background-image:
    linear-gradient(27deg, #1a1a1a 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #1a1a1a 5px, transparent 5px) 10px 0,
    linear-gradient(27deg, #242424 5px, transparent 5px) 0 10px,
    linear-gradient(207deg, #242424 5px, transparent 5px) 10px 5px;
  background-size: 20px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Full-width strip: logos span the whole viewport instead of the 1200px cap */
.section-sponsor-strip .container {
  max-width: none;
}

.section-sponsor-strip .sponsor-wall-eyebrow {
  margin: 0 0 22px;
}

.section-sponsor-strip .sponsor-wall {
  margin: 0;
  max-width: none;
  /* minmax(0,1fr) lets tracks shrink so all 6 fit instead of overflowing */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

/* Translucent cards inside the strip so the carbon fiber pattern shows through */
.section-sponsor-strip .sponsor-wall-item {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.section-sponsor-strip .sponsor-wall-item:hover {
  background: rgba(30, 30, 30, 0.7);
}

/* Sponsor strip — mobile layout: 3 cards per row */
@media (max-width: 720px) {
  .section-sponsor-strip { padding: 28px 0 32px; }
  .section-sponsor-strip .sponsor-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .section-sponsor-strip .sponsor-wall-eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.24em;
  }
  .section-sponsor-strip .sponsor-wall-placeholder {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}

.sponsor-wall-eyebrow {
  margin: 0 0 20px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}

.sponsor-wall {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.sponsor-wall-item {
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}

.sponsor-wall-item:hover {
  border-color: var(--red);
  background: var(--bg-elev-2);
  transform: translateY(-2px);
}

.sponsor-wall-placeholder {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.sponsor-wall-logo {
  max-width: 62%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.sponsor-wall-item:has(.sponsor-wall-logo) {
  border-color: transparent;
}
.sponsor-wall-item:has(.sponsor-wall-logo):hover {
  border-color: transparent;
}
.section-sponsor-strip .sponsor-wall-item:has(.sponsor-wall-logo) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section-sponsor-strip .sponsor-wall-item:has(.sponsor-wall-logo):hover {
  background: transparent;
}

/* Special Olympics logo has dark text — needs a light chip to read on the dark strip.
   Selector specificity matches the transparent-background rule above so it wins. */
.section-sponsor-strip .sponsor-wall-item-chip:has(.sponsor-wall-logo),
.section-sponsor-strip .sponsor-wall-item-chip:has(.sponsor-wall-logo):hover {
  background: #fff;
}
.sponsor-wall-item-chip .sponsor-wall-logo {
  max-width: 80%;
  max-height: 72%;
}
/* Police patch is tall — give it a touch more vertical room */
.sponsor-wall-item:has(img[src*="police-patch"]) .sponsor-wall-logo {
  max-height: 88%;
}

/* ---------- Sponsor tier gem icon (top-right corner) ---------- */

.sponsor-gem {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  pointer-events: none;
}

.sponsor-gem svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}

.sponsor-gem-gold     { color: var(--gold); }
.sponsor-gem-platinum { color: #d9d8d6; }
.sponsor-gem-diamond  { color: #b9e6f0; }

.sponsor-gem-gold svg     { filter: drop-shadow(0 0 14px rgba(212, 169, 62, 0.45)); }
.sponsor-gem-platinum svg { filter: drop-shadow(0 0 14px rgba(217, 216, 214, 0.45)); }
.sponsor-gem-diamond svg  { filter: drop-shadow(0 0 14px rgba(185, 230, 240, 0.55)); }

/* ---------- Sponsor "call to book" caption above the CTA ---------- */

.sponsor-call-line {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
}

/* ---------- Sponsor tier cards ---------- */

.section-sponsor {
  background: #050505;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.sponsor-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
}

.sponsor-card header { margin-bottom: 20px; }

.sponsor-tier-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.sponsor-tier-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
  margin: 0 0 4px;
}

.sponsor-value {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
}

.sponsor-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }

.sponsor-amount {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  line-height: 1;
}

.sponsor-unit {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sponsor-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.sponsor-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 14px;
}

.sponsor-list li:last-child { border-bottom: 0; }

.sponsor-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.sponsor-cta { width: 100%; }

.sponsor-card-featured {
  background:
    linear-gradient(180deg, rgba(200,16,46,0.18), rgba(200,16,46,0) 55%),
    var(--bg-elev);
  border-color: var(--red);
}

.sponsor-card-premier {
  background:
    linear-gradient(180deg, rgba(217,210,196,0.10), rgba(217,210,196,0) 55%),
    var(--bg-elev);
  border-color: var(--chrome);
}

.sponsor-card-premier .sponsor-tier-name,
.sponsor-card-premier .sponsor-amount { color: var(--chrome); }

.sponsor-flag {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--red);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(200,16,46,0.35);
}

.sponsor-flag-headline {
  background: var(--chrome);
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(217,210,196,0.25);
}

.sponsor-contact {
  margin-top: 32px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 14px;
}

.sponsor-contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  text-decoration: none;
  padding-bottom: 1px;
}

/* ---------- Tier card register CTA on home ---------- */

.tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  width: 100%;
}

/* ---------- Thanks page ---------- */

/* ── Thanks page — full-width background image ── */

body.page-thanks {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  margin: 0;
}

.thanks-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(36, 28, 16, 0.55) 0%,
      rgba(36, 28, 16, 0.35) 30%,
      rgba(36, 28, 16, 0.12) 50%,
      rgba(36, 28, 16, 0.00) 70%
    ),
    url('image/thankyou.jpg');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #000;
  padding: 120px clamp(32px, 6vw, 100px) 60px;
}

.thanks-content { margin-bottom: 40px; }

/* Hide the red dash before the eyebrow on the thanks page */
.page-thanks .thanks-content .eyebrow::before { display: none; }
.page-thanks .thanks-content .eyebrow { padding-left: 0; }

.thanks-display {
  font-size: clamp(56px, 7vw, 120px) !important;
  line-height: 0.88 !important;
  margin-bottom: 8px !important;
  max-width: none !important;
  white-space: nowrap;
}

.thanks-thankyou {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(24px, 3.5vw, 48px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 24px;
  line-height: 1;
}

.thanks-message {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
  color: #fff;
  margin: 0 0 32px;
  max-width: 420px;
}

.thanks-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.thanks-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.thanks-back-arrow {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.thanks-back-btn:hover .thanks-back-arrow {
  transform: translateX(-4px);
}

/* Mobile */
@media (max-width: 760px) {
  body.page-thanks { overflow: auto; height: auto; }
  .thanks-hero {
    height: auto;
    min-height: 100svh;
    background-image:
      linear-gradient(
        180deg,
        rgba(36, 28, 16, 0.65) 0%,
        rgba(36, 28, 16, 0.45) 25%,
        rgba(36, 28, 16, 0.20) 50%,
        rgba(36, 28, 16, 0.00) 75%
      ),
      url('image/thankyou-mobile.jpg');
    background-size: 100% auto;
    padding: 100px 24px max(24px, env(safe-area-inset-bottom, 24px));
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }
  .page-thanks .thanks-content .eyebrow { text-align: center; }
  .thanks-thankyou { font-size: 48px; }
  .thanks-message { max-width: 100%; }
  .thanks-cta { justify-content: center; }
  .thanks-back-btn { width: 100%; max-width: 320px; justify-content: center; }
  .page-thanks .topbar { justify-content: center; }
  .page-thanks .topbar .topnav { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* =========================================================
   Community partners (police support + Special Olympics)
   ========================================================= */

.community-grid {
  margin-top: clamp(32px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.community-card {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 28px);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.community-logo {
  flex: none;
  width: clamp(84px, 9vw, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-logo img { width: 100%; height: auto; }

/* White chip for logos with dark text that need a light background */
.community-logo-chip {
  width: clamp(150px, 16vw, 190px);
  background: #fff;
  border-radius: 6px;
  padding: 12px 14px;
}

.community-name {
  margin: 0 0 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.community-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-dim);
}

@media (max-width: 880px) {
  .community-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .community-card { flex-direction: column; align-items: flex-start; }
}

/* Credits line under the hero countdown */
/* Always two stacked lines so the line's width never pushes the timer */
.hero-credits {
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 16px;
  background: rgb(10 10 10 / 0%);
  border: 1px solid var(--line);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.hero-credits-sep { display: none; }

.hero-credits-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(200, 16, 46, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero-credits-link:hover { color: var(--red); text-decoration-color: var(--red); }

@media (max-width: 640px) {
  .hero-credits { font-size: 9px; letter-spacing: 0.14em; }
}
