/* ===== ASM Race Lab Brand Tokens ===== */
:root {
  --black:   #080808; /* Blackout */
  --white:   #F2F2F2; /* Grid White */
  --cyan:    #00E5FF; /* Apex Cyan */
  --lime:    #C6FF00; /* Podium Lime */
  --gray:    #444444;
  --gray-light: #1A1A1A;
  --border-gray: #2A2A2A;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  /* Flat carbon-fiber weave tile reused across every dark section, replacing
     the old blue "wave line" pattern. A tight diagonal crosshatch at near-
     black tones so it reads as woven texture up close, not a busy pattern
     from a normal viewing distance. */
  --texture-carbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Crect width='14' height='14' fill='%230A0A0A'/%3E%3Cpath d='M0 0 L14 14 M14 0 L0 14' stroke='%231E1E1E' stroke-width='1'/%3E%3C/svg%3E");
  /* Paired with the weave above: a center-out vignette that stays solid
     black behind body copy (keeping text legible) and fades to fully
     transparent toward a section's outer edges, where the weave is meant
     to read most clearly. Applied as the top background-image layer. */
  --texture-fade: radial-gradient(ellipse at center, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.95) 32%, rgba(8,8,8,0.55) 58%, rgba(8,8,8,0) 82%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  padding: 0 10px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 18px;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, outline-color 0.12s ease;
}
.btn-primary {
  background: var(--cyan);
  color: var(--black);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { font-size: 21px; padding: 18px 40px; }
.btn-sm { font-size: 13px; padding: 9px 18px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--border-gray);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img--footer { height: 64px; }

/* ===== Hamburger toggle + full-screen menu overlay ===== */
.menu-toggle {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 601;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 550;
  overflow: hidden;
  background-color: var(--black);
  background-image: var(--texture-fade), var(--texture-carbon);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 14px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  position: relative;
  z-index: 1;
}
.menu-link {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  transition: color 0.2s ease, transform 0.2s ease;
}
.menu-link:hover { color: var(--cyan); transform: translateX(-8px); }
.menu-link.is-current {
  color: var(--lime);
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--lime);
}
.menu-link--cta { color: var(--lime); }
.menu-link--cta:hover { color: var(--cyan); }
/* Pinned with both left AND right offsets (instead of a fixed width) so
   its right edge is always reserved short of the menu-links text column,
   it can never grow wide enough to run under the nav words, at any
   viewport size, rather than relying on z-index layering alone. */
.menu-decor {
  position: absolute;
  left: 5vw;
  right: 34vw;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 960px;
}
.menu-decor a { display: block; }
.menu-decor img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border-gray);
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.menu-decor img:hover { filter: grayscale(0); opacity: 1; }
@media (max-width: 860px) {
  .menu-decor { display: none; }
  .menu-overlay { justify-content: center; padding: 0 8vw; text-align: center; }
  .menu-links { text-align: center; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  background: var(--black) center / cover no-repeat;
  border-bottom: 1px solid var(--border-gray);
  /* Was overflow:hidden — loosened so .hero-mascot (added below) can bleed
     past the hero's own bottom edge into the statement banner that follows,
     without being clipped. .hero-lanes stays inset:0 so it never extends
     past this box on its own, this only matters for the mascot. */
  overflow: visible;
}
/* Per-page hero photo (see hero.hero--bg-* below) needs a dark scrim behind
   the copy for text contrast, since the copy now sits over a busy photo
   instead of flat white. Stronger on the left (behind text), fading out
   toward the right (behind the visual/mascot) so the photo still reads.
   Scoped to only heroes that actually have a --bg-* photo modifier, since
   this gradient exists purely to keep text legible over a photo, not as a
   decorative effect. A plain flat-black hero (no photo) should stay flat,
   per the brand's no-smooth-gradient rule. */
.hero[class*="hero--bg-"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(8,8,8,0.90) 0%, rgba(8,8,8,0.72) 38%, rgba(8,8,8,0.32) 65%, rgba(8,8,8,0.08) 100%);
}
.hero--bg-nascar   { background-image: url("images/Nascar-Clipart-web.jpg"); }
.hero--bg-porsche  { background-image: url("images/GT4-Porsche-Clipart-web.jpg"); }
.hero--bg-audi     { background-image: url("images/GT3-Audi-Clipart-web.jpg"); }
.hero--bg-audi-side { background-image: url("images/GT3-Audi-Side-Clipart-web.jpg"); }
.hero--bg-vir       { background-image: url("images/VIR-Trackday-web.jpg"); }
/* Hard-stop striped pattern ("lane lines"), not a smooth blend gradient,
   so it stays compliant with the flat-design / no-gradient brand rule. */
.hero-lanes {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(
    -35deg,
    var(--cyan) 0px,
    var(--cyan) 3px,
    transparent 3px,
    transparent 90px
  );
  background-size: 200% 200%;
  animation: asmLane 16s linear infinite;
}
@keyframes asmLane {
  0%   { background-position: 0 0; }
  100% { background-position: 600px 300px; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--black);
  background: var(--lime);
  padding: 6px 12px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 72px;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-sub {
  font-size: 20px;
  color: #D6D6D6;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: var(--white); border-color: var(--white); }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual img { width: 100%; max-width: 420px; height: auto; }
/* Mascot "drives off" the hero, dipping past its bottom edge onto the
   checkered statement banner that follows (see .statement-banner). Anchored
   right per brand, positioned absolute so it can overlap the section seam;
   overflow:visible on .hero (above) is what lets this actually show instead
   of getting clipped. z-index 5 keeps it above the banner's own content
   (.statement-text is z-index:1) without needing a shared wrapper. */
.hero-mascot {
  position: absolute;
  right: 6%;
  bottom: -46px;
  z-index: 5;
  width: clamp(160px, 20vw, 320px);
  filter: drop-shadow(0 22px 26px rgba(0,0,0,0.5));
  pointer-events: none;
}

/* ===== Statement banner ===== */
.statement-banner {
  position: relative;
  padding: 56px 0;
  background: var(--black);
  border-bottom: 1px solid var(--border-gray);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Checkered-flag pattern: two offset hard-stop gradient layers, animated
   via background-position only (no blur/glow), kept very low-opacity so
   the statement text stays the focal point. */
.statement-flag {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(45deg, var(--white) 25%, transparent 25%, transparent 75%, var(--white) 75%),
    linear-gradient(45deg, var(--white) 25%, transparent 25%, transparent 75%, var(--white) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  animation: asmCheck 9s linear infinite;
}
@keyframes asmCheck {
  0%   { background-position: 0 0, 32px 32px; }
  100% { background-position: 128px 0, 160px 32px; }
}
.statement-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 38px;
  color: var(--white);
  text-align: center;
  padding: 0 24px;
}

/* ===== Section generic ===== */
section { padding: 96px 0; border-bottom: 1px solid var(--border-gray); }
.section-title {
  font-size: 42px;
  margin-bottom: 16px;
  border-left: 6px solid var(--cyan);
  padding-left: 16px;
}
.section-lead {
  font-size: 19px;
  color: #3A3A3A;
  max-width: 680px;
  margin-bottom: 24px;
}

/* ===== Stats bar ===== */
.stats-bar {
  background-color: var(--black);
  background-image: var(--texture-fade), var(--texture-carbon);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 14px 14px;
  border-bottom: 1px solid var(--border-gray);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-block { padding: 0 12px; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C7C7C7;
  font-weight: 600;
}

/* ===== Brand story (aSSIMilation) ===== */
.brand-story { background: var(--black); }
.brand-story-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.brand-story .section-title,
.brand-story .section-lead { color: var(--white); }
.brand-story-word {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--lime);
  letter-spacing: 0.01em;
  margin: 8px 0 24px;
}
.brand-story-copy p {
  color: #C7C7C7;
  font-size: 17px;
  margin-bottom: 16px;
  max-width: 560px;
}
.brand-story-visual {
  display: flex;
  justify-content: center;
}
.brand-story-visual img { width: 100%; max-width: 380px; height: auto; }

/* ===== Pull quote ===== */
.pull-quote {
  background: var(--white);
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: 36px;
  text-transform: uppercase;
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.25;
}
.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ===== Who It's For (check-list, page-level) ===== */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  max-width: 720px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: #3A3A3A;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 700;
}
/* check-list rendered on a dark surface needs light text */
.dark-surface .check-list li { color: #C7C7C7; }
.dark-surface .check-list li::before { color: var(--lime); }

/* ===== What We Offer ===== */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.offering-card {
  background: var(--gray-light);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--lime);
  padding: 28px 24px;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.offering-card:hover { transform: scale(1.025); outline-color: var(--cyan); }
.offering-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.offering-card p { color: #C7C7C7; font-size: 16px; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--gray-light);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--lime);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.pricing-card:hover { transform: scale(1.025); outline-color: var(--cyan); }
/* Fundraisers / Custom cards have no fixed number, so they get a cyan
   left border instead of lime to read as a distinct "let's talk" tier
   rather than another priced package. */
.pricing-card--cta { border-left-color: var(--cyan); }
.pricing-card-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.pricing-card--cta .pricing-card-label { color: var(--cyan); }
.pricing-card-price {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}
.pricing-card-price span { color: var(--cyan); font-size: 30px; }
.pricing-card-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pricing-card-price--tagline {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.pricing-card-desc {
  color: #C7C7C7;
  font-size: 16px;
  margin-bottom: 22px;
  flex-grow: 1;
}
.pricing-card-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
}
.pricing-card-cta:hover { color: var(--lime); }
.pricing-disclaimer {
  margin-top: 40px;
  color: #999;
  font-size: 14px;
  max-width: 720px;
}

/* ===== How It Works ===== */
/* Locked to 5 columns so all steps sit on a single row on desktop;
   collapses to fewer columns, then a single stacked column, as the
   viewport narrows (see responsive block). */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.step {
  background: var(--white);
  border: 1px solid #D8D8D8;
  border-top: 4px solid var(--cyan);
  padding: 22px 16px;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.step:hover { transform: scale(1.03); outline-color: var(--cyan); }
.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--cyan);
  margin-bottom: 10px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: #3A3A3A; font-size: 15px; line-height: 1.45; }

/* ===== Service Area ===== */
.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-area-card {
  background: var(--gray-light);
  border: 1px solid var(--border-gray);
  padding: 26px 24px;
}
.service-area-card h3 { color: var(--white); font-size: 22px; margin-bottom: 14px; }
.service-area-card p {
  color: #C7C7C7;
  font-size: 15px;
  margin-top: 14px;
}
.service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.service-chip {
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--black);
  border: 1px solid var(--border-gray);
  color: var(--white);
  padding: 7px 12px;
}
/* Flagship claim (full Florida coverage) gets the lime treatment so it
   reads as the one solid guarantee, distinct from the satellite states
   listed as opportunities rather than confirmed markets. */
.service-chip--featured {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
  font-weight: 700;
}
.service-area-note {
  margin-top: 24px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 15px;
  max-width: 680px;
}

/* ===== Book Your Event form ===== */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 680px;
}
.book-row { display: flex; gap: 12px; flex-wrap: wrap; }
.book-row > * { flex: 1; min-width: 200px; }
.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  background: var(--gray-light);
  border: 1px solid var(--border-gray);
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.book-form input::placeholder,
.book-form textarea::placeholder { color: #888; }
.book-form select { appearance: none; cursor: pointer; }
.book-form select option { background: var(--gray-light); color: var(--white); }
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus { outline: none; border-color: var(--cyan); }
.book-form .btn { align-self: flex-start; }
.form-note { margin-top: 16px; color: var(--lime); font-size: 14px; }
.form-disclaimers {
  margin-top: 20px;
  max-width: 680px;
  font-size: 13px;
  color: #6A6A6A;
  line-height: 1.5;
}

/* ============================================================
   CLOSING / FOOTER — white fades to lime, dark rounded card
   floats on top with links, CTA, and a bleeding mascot image.
   ============================================================ */
.scene-8-gradient {
  background: linear-gradient(180deg, var(--white) 0%, var(--lime) 100%);
  padding: 120px 24px 0;
  border-bottom: none;
}
.scene-8-card {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  background-color: var(--black);
  background-image: var(--texture-fade), var(--texture-carbon);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 14px 14px;
  border-radius: 48px 48px 0 0;
  padding: 88px 48px 0;
  overflow: visible;
  text-align: center;
}
.scene-8-headline {
  font-size: clamp(40px, 7vw, 88px);
  color: var(--white);
  margin-bottom: 56px;
}
.scene-8-headline span { color: var(--cyan); }
.scene-8-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.scene-8-col { text-align: left; order: 1; }
.scene-8-col--follow { order: 3; text-align: right; }
.scene-8-col-label {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}
.scene-8-col--follow .scene-8-col-label { text-align: right; }
.scene-8-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 48px);
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 0;
  line-height: 1.05;
  transition: transform 0.2s ease, color 0.2s ease;
}
.scene-8-link:hover { color: var(--lime); transform: translateX(10px); }
.scene-8-col--follow .scene-8-link:hover { transform: translateX(-10px); }
.scene-8-mascot-wrap {
  position: relative;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.scene-8-mascot { width: clamp(240px, 28vw, 460px); max-width: 80vw; }
.scene-8-enquiries {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--lime);
  padding: 14px 28px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.scene-8-enquiries:hover { transform: translateY(-2px); background: var(--cyan); }
.scene-8-bottom {
  border-top: 1px solid var(--border-gray);
  margin-top: 40px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #777;
}
.scene-8-legal { display: flex; gap: 20px; }
.scene-8-legal a:hover { color: var(--cyan); }
@media (max-width: 860px) {
  .scene-8-links { flex-direction: column; gap: 32px; }
  .scene-8-col, .scene-8-col--follow { order: initial; text-align: center; }
  .scene-8-col--follow .scene-8-col-label { text-align: center; }
  .scene-8-mascot-wrap { order: initial; }
  .scene-8-card { padding: 64px 24px 0; border-radius: 32px 32px 0 0; }
}

/* ===== Dark surface helper ===== */
.dark-surface {
  background-color: var(--black);
  background-image: var(--texture-fade), var(--texture-carbon);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 14px 14px;
}
.dark-surface .section-title,
.dark-surface h2, .dark-surface h3 { color: var(--white); }
.dark-surface .section-lead { color: #C7C7C7; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 240px; }
  .hero-title { font-size: 48px; }
  /* Narrow viewports don't have room for the mascot to overlap the banner
     below without covering the hero copy, so it drops back into flow at
     a smaller size instead of breaking out. */
  .hero-mascot {
    position: static;
    display: block;
    width: 160px;
    margin: 0 auto;
    filter: none;
  }
  .statement-text { font-size: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .brand-story-layout { grid-template-columns: 1fr; }
  .brand-story-visual img { max-width: 220px; }
  .pull-quote blockquote { font-size: 26px; }
  .offerings-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .service-area-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
  .book-row { flex-direction: column; }
  .book-row > * { min-width: 0; }
}

@media (max-width: 1024px) and (min-width: 861px) {
  /* Keep the included-grid balanced (3 rows of 2) at tablet widths,
     rather than squeezing 3 narrow columns in. */
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lanes, .statement-flag { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   Intro / start-lights entrance animation
   Flat-design compliant: solid color fills + transform/opacity
   transitions only, no blur or glow. Skips entirely under
   prefers-reduced-motion (see rule at bottom of this block).
   ============================================================ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--black);
  background-image: var(--texture-fade), var(--texture-carbon);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.intro-overlay.intro-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-lights { display: flex; gap: 18px; }
.intro-light {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 2px solid var(--border-gray);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.intro-light.lit { background: var(--cyan); border-color: var(--cyan); }
.intro-light.go { background: var(--lime); border-color: var(--lime); }
.intro-tag {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.intro-tag.show { opacity: 1; transform: translateY(0); }

/* Hero "race-in" entrance, driven by body.intro-complete */
body:not(.intro-complete) .hero-copy .eyebrow { opacity: 0; transform: translateY(-16px); }
body:not(.intro-complete) .hero-copy .hero-title { opacity: 0; transform: translateX(-70px); }
body:not(.intro-complete) .hero-copy .hero-sub { opacity: 0; transform: translateY(20px); }
body:not(.intro-complete) .hero-copy .hero-actions { opacity: 0; transform: translateY(20px); }
body:not(.intro-complete) .hero-visual { opacity: 0; transform: translateX(90px); }
body:not(.intro-complete) .hero-mascot { opacity: 0; transform: translateX(90px); }

.hero-copy .eyebrow { transition: opacity 0.5s ease 0.05s, transform 0.5s ease 0.05s; }
.hero-copy .hero-title { transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(.2,.7,.3,1) 0.15s; }
.hero-copy .hero-sub { transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s; }
.hero-copy .hero-actions { transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s; }
.hero-visual { transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(.2,.8,.2,1.05) 0.2s; }
.hero-mascot { transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(.2,.8,.2,1.05) 0.2s; }

body.intro-complete .hero-copy .eyebrow,
body.intro-complete .hero-copy .hero-title,
body.intro-complete .hero-copy .hero-sub,
body.intro-complete .hero-copy .hero-actions,
body.intro-complete .hero-visual,
body.intro-complete .hero-mascot {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
  .hero-copy .eyebrow,
  .hero-copy .hero-title,
  .hero-copy .hero-sub,
  .hero-copy .hero-actions,
  .hero-visual,
  .hero-mascot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Strategy list (borrowed pattern for the Professional page's
   "why it works" section)
   ============================================================ */
.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}
.strategy-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--gray-light);
  border: 1px solid var(--border-gray);
  padding: 28px 24px;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.strategy-item:hover { transform: scale(1.015); outline-color: var(--cyan); }
.strategy-mark {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--cyan);
  line-height: 1;
}
.strategy-copy h3 { font-size: 20px; margin-bottom: 6px; color: var(--white); }
.strategy-copy p { color: #C7C7C7; font-size: 16px; }

/* ============================================================
   Offering card as a link (homepage cards are now clickable)
   ============================================================ */
.offering-card-link { display: block; text-decoration: none; }
.offering-card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ============================================================
   "What's Included" cards (page-level, cyan top border), the
   same visual convention SimWorks uses for "what you get in
   every booking" as opposed to "what kind of event this fits"
   ============================================================ */
/* Locked to 3 columns (not auto-fit) so 6 cards always land evenly as
   two full rows of 3, rather than 4-then-2. */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.included-card { display: flex; flex-direction: column; }
.included-card {
  background: var(--white);
  border: 1px solid #D8D8D8;
  border-top: 4px solid var(--cyan);
  padding: 26px 22px;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.included-card:hover { transform: scale(1.025); outline-color: var(--cyan); }
.included-card h3 { font-size: 19px; margin-bottom: 8px; }
.included-card p { color: #3A3A3A; font-size: 16px; }

/* ============================================================
   Benefit triptych (mimics the "Built for Event Activation"
   reference layout): headline + subhead, a divider rule, then
   3 light-gray rounded cards.
   ============================================================ */
.section-divider {
  border: none;
  border-top: 1px solid var(--border-gray);
  margin: 32px 0 40px;
}
.dark-surface .section-divider,
.section-divider--dark { border-top-color: var(--border-gray); }
.section-divider--light { border-top-color: #D8D8D8; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: var(--gray-light);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 26px 24px;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.benefit-card:hover { transform: scale(1.02); outline-color: var(--cyan); }
.benefit-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--white); }
.benefit-card p { color: #C7C7C7; font-size: 16px; }
.benefit-closing {
  margin-top: 32px;
  text-align: center;
  font-size: 16px;
  color: #C7C7C7;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Proof / stats-in-a-row (mimics the "Proof That Guests..."
   reference layout): label / big number / description, in
   columns separated by a vertical rule.
   ============================================================ */
.proof-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border-gray);
}
.proof-stat {
  padding: 28px 22px;
  text-align: center;
  border-left: 1px solid var(--border-gray);
}
.proof-stat:first-child { border-left: none; }
.proof-stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  font-weight: 700;
  margin-bottom: 10px;
}
.proof-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 10px;
}
.proof-stat-desc { font-size: 14px; color: #C7C7C7; }
.proof-closing {
  margin-top: 28px;
  text-align: center;
  font-size: 16px;
  color: #3A3A3A;
}

@media (max-width: 860px) {
  .proof-stat { border-left: none; border-top: 1px solid var(--border-gray); }
  .proof-stat:first-child { border-top: none; }
}

/* ============================================================
   Sub-page hero tweak: shorter min-height than the homepage
   hero so these pages get to their content faster
   ============================================================ */
.hero--subpage { min-height: 88vh; }

/* ============================================================
   Manifesto: giant statement with inline color-alternating
   keywords inside one continuous sentence, so the eye reads it
   as one thought while the accent color does the emphasis work
   (no extra iconography needed).
   ============================================================ */
.manifesto { padding: 120px 0; border-bottom: 1px solid var(--border-gray); }
.manifesto-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white);
  max-width: 980px;
}
.accent-word { }
.accent-word--cyan { color: var(--cyan); }
.accent-word--lime { color: var(--lime); }

@media (max-width: 860px) {
  .manifesto { padding: 72px 0; }
  .manifesto-text { font-size: 30px; }
}

/* ============================================================
   Marquee section: a looping horizontal text band with a
   fixed, framed image sitting on top of it, so the copy feels
   like it's flowing past a "window" into the brand rather than
   sitting in a static block. Flat/hard-edge (text outline, no
   blur), image crop is a hard-bordered box, not a soft mask.
   ============================================================ */
/* Header ticker: was a full-width scrolling "RACE DAY READY" strip in its
   own section on the homepage; now lives inline in the persistent header
   next to the hamburger, on every page, so it's always visible instead of
   only appearing once a visitor scrolls to it. */
.header-ticker {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  display: none;
}
@media (min-width: 620px) {
  .header-ticker { display: block; }
}
.header-ticker-row {
  display: inline-flex;
  width: max-content;
  animation: asmMarquee 22s linear infinite;
}
.header-ticker-row span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-right: 28px;
}
@keyframes asmMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .header-ticker-row { animation: none; }
}

/* ============================================================
   Offering card hover crossfade: on hover, the default card
   content fades out while a lime "call to action" layer fades
   in on top of it, rather than just scaling/outlining.
   ============================================================ */
.offering-card-link { position: relative; display: block; overflow: hidden; }
.offering-card-link .offering-card {
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease, transform 0.15s ease, outline-color 0.15s ease;
}
.offering-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--lime);
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.offering-card-overlay h4 {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.offering-card-overlay .offering-card-more {
  color: var(--black);
}
.offering-card-link:hover .offering-card-overlay,
.offering-card-link:focus-visible .offering-card-overlay {
  opacity: 1;
  transform: translateY(0);
}
.offering-card-link:hover .offering-card,
.offering-card-link:focus-visible .offering-card {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .offering-card-link .offering-card,
  .offering-card-overlay { transition: none; }
}
