/* ═══════════════════════════════════════════════════════
   HAMMER DOWN RACING — styles.css
   Purdue University Indianapolis · CRS 2026
═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   CSS Custom Properties
───────────────────────────────────────── */
:root {
  /* Brand Gold */
  --gold:           #DFD199;
  --gold-dim:       #BDB37E;
  --gold-light:     #EDE4B8;
  --gold-deep:      #9A8F5E;
  --gold-glow:      rgba(223, 209, 153, 0.18);
  --gold-border:    rgba(223, 209, 153, 0.14);
  --gold-border-on: rgba(223, 209, 153, 0.42);
  --gold-gradient:  linear-gradient(135deg, #EDE4B8 0%, #DFD199 45%, #BDB37E 100%);
  --gold-shine:     linear-gradient(95deg, #BDB37E 0%, #EDE4B8 50%, #BDB37E 100%);

  /* Racing accent (used sparingly for emphasis only) */
  --race-red:       #D64545;

  /* Backgrounds */
  --bg-void:  #050506;
  --bg-black: #0A0A0B;
  --bg-dark:  #0E0E0F;
  --bg-mid:   #131314;
  --bg-card:  #17171A;
  --bg-card-2: #1E1E22;
  --bg-glass: rgba(18, 18, 21, 0.72);
  --bg-glass-2: rgba(24, 24, 28, 0.55);

  /* Text */
  --text-white:   #FFFFFF;
  --text-primary: #F0EDE8;
  --text-muted:   #878380;
  --text-faint:   #3E3C3A;

  /* Tier Accent Colors */
  --bronze:   #CD7F32;
  --silver:   #C9CAD0;
  --gold-t:   #DFD199;
  --platinum: #E8E7E5;

  /* Layout */
  --section-v:   clamp(5.5rem, 10vw, 10rem);
  --container:   1220px;
  --pad-h:       clamp(1.25rem, 5vw, 3.5rem);

  /* Typography */
  --f-display: 'Bebas Neue', sans-serif;
  --f-heading: 'Rajdhani', sans-serif;
  --f-body:    'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 28px 56px rgba(0, 0, 0, 0.52);
  --shadow-gold: 0 18px 48px rgba(223, 209, 153, 0.14);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────
   Reset & Base
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 82px;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Global grain overlay — very subtle film noise for premium depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Custom selection */
::selection {
  background: var(--gold);
  color: var(--bg-black);
}

/* Scrollbar polish (WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-deep), var(--gold-dim));
  border-radius: 10px;
  border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─────────────────────────────────────────
   Layout Utilities
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

.section {
  padding-top: var(--section-v);
  padding-bottom: var(--section-v);
}

/* Section Label (eyebrow) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--f-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 34px;
  height: 1.5px;
  background: linear-gradient(to right, var(--gold), rgba(223, 209, 153, 0.2));
  flex-shrink: 0;
}

/* Section Title */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  color: var(--text-white);
  margin-bottom: 1.3rem;
}

/* Optional gold accent inside title (add <span class="accent">word</span>) */
.section-title .accent {
  color: var(--gold);
  background: var(--gold-shine);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Intro paragraph */
.section-intro {
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* ─────────────────────────────────────────
   Buttons
───────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.95rem 2.3rem;
  border-radius: 2px;
  transition:
    background 0.3s var(--ease-smooth),
    color      0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    transform  0.2s var(--ease-snap);
  white-space: nowrap;
  overflow: hidden;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; transition: transform 0.3s var(--ease-smooth); }
.btn:hover svg { transform: translateX(3px); }

/* Solid gold — the hero CTA */
.btn-primary {
  background: var(--gold);
  color: #0A0A0B;
  border: 1.5px solid var(--gold);
  box-shadow:
    0 6px 20px rgba(223, 209, 153, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 0.6s var(--ease-smooth);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow:
    0 12px 36px rgba(223, 209, 153, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover::before { transform: translateX(110%); }

/* Ghost (white border) */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  border-color: var(--gold-border-on);
  color: var(--gold);
  background: rgba(223, 209, 153, 0.04);
  box-shadow: 0 0 22px rgba(223, 209, 153, 0.1);
}

/* Outline gold (PDF btn) */
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-border-on);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg-black);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(223, 209, 153, 0.24);
}

/* Small variant */
.btn-sm {
  font-size: 0.78rem;
  padding: 0.6rem 1.35rem;
  letter-spacing: 0.12em;
}

/* ─────────────────────────────────────────
   Glass Card (reusable)
───────────────────────────────────────── */
.glass-card {
  position: relative;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.025) 0%, transparent 40%),
    var(--bg-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  transition:
    border-color 0.35s var(--ease-smooth),
    transform    0.4s var(--ease-snap),
    box-shadow   0.4s var(--ease-smooth),
    background   0.4s var(--ease-smooth);
}
/* Subtle top highlight line */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(223, 209, 153, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}
.glass-card:hover {
  border-color: var(--gold-border-on);
  transform: translateY(-6px);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(223, 209, 153, 0.08);
  background:
    linear-gradient(155deg, rgba(223, 209, 153, 0.04) 0%, transparent 45%),
    var(--bg-glass);
}
.glass-card:hover::before { opacity: 1; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  border-bottom: 1px solid transparent;
  transition:
    padding      0.35s ease,
    border-color 0.5s ease;
}

/* Frosted-glass background lives on a pseudo-element so the navbar
   itself never becomes a containing block for fixed-position children
   (backdrop-filter on the element itself would break the mobile
   full-screen nav overlay which uses position: fixed). */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: inherit;
  z-index: -1;
  transition:
    background      0.5s ease,
    backdrop-filter 0.5s ease;
}

.navbar.scrolled {
  padding: 0.65rem 0;
  border-bottom-color: var(--gold-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.navbar.scrolled::before {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
/* Gradient hairline under navbar when scrolled */
.navbar.scrolled::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border-on), transparent);
  pointer-events: none;
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}


/* Logo */
.nav-logo-img {
  height: 34px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.nav-logo:hover .nav-logo-img {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(223, 209, 153, 0.25));
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--f-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s ease, opacity 0.5s ease;
}

/* Section links are invisible until the navbar scrolls in (desktop only) */
.nav-links a:not(.nav-cta) {
  opacity: 0;
  pointer-events: none;
}
.navbar.scrolled .nav-links a:not(.nav-cta) {
  opacity: 1;
  pointer-events: auto;
}
/* On mobile the links live inside the full-screen overlay — always visible */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) {
    opacity: 1;
    pointer-events: auto;
  }
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* CTA pill in nav */
.nav-cta {
  color: var(--gold) !important;
  border: 1.5px solid var(--gold-border-on);
  padding: 0.48rem 1.2rem;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold) !important;
  color: #0A0A0B !important;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(223, 209, 153, 0.28);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 7rem; /* reserve space for scroll-cta */
}

/* Background photo div — moved by JS parallax */
.hero-bg {
  position: absolute;
  top: -15%;
  left: 0; right: 0;
  bottom: -5%;
  background-image: url('../assets/photos/hdr-mx5-roval-race-photo.png');
  background-size: cover;
  background-position: center 42%;
  will-change: transform;
  z-index: 0;
}

/* Gradient overlay: fades photo to solid black at bottom + vignette */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 45%,
      transparent 0%,
      rgba(10, 10, 11, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 10, 11, 0.40)  0%,
      rgba(10, 10, 11, 0.18) 22%,
      rgba(10, 10, 11, 0.32) 48%,
      rgba(10, 10, 11, 0.72) 70%,
      rgba(10, 10, 11, 0.94) 88%,
      #0A0A0B               100%
    );
  z-index: 1;
}
/* Subtle horizontal scan lines on hero — racing screen feel */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.012) 0px,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

/* Content layer */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem var(--pad-h) 2rem;
  max-width: 920px;
  margin: 0 auto;
}

/* Sits at the same visual row as the navbar when at top of page,
   then scrolls away with the hero — not fixed */
.hero-eyebrow {
  position: absolute;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0.88;
  pointer-events: none;
}

.hero-logo {
  width: clamp(200px, 36vw, 440px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 48px rgba(223, 209, 153, 0.28));
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(5.5rem, 16vw, 12rem);
  line-height: 0.86;
  letter-spacing: 0.015em;
  display: block;
  margin-bottom: 1.4rem;
}
.hero-title-main {
  display: block;
  color: var(--text-white);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.hero-title-gold {
  display: block;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  filter: drop-shadow(0 0 60px rgba(223, 209, 153, 0.22));
}

.hero-subtitle {
  font-size: clamp(0.94rem, 1.8vw, 1.12rem);
  line-height: 1.8;
  color: rgba(240, 237, 232, 0.7);
  margin-bottom: 2.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll CTA arrow at bottom */
.scroll-cta {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.scroll-cta:hover { color: var(--gold); }

.scroll-label {
  font-family: var(--f-heading);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  font-weight: 600;
  padding-left: 0.4em;  /* visually center with the tracking */
}
.scroll-arrow {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.45; transform: scaleY(1); }
  50%       { opacity: 1;    transform: scaleY(1.35); }
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about-section {
  background:
    radial-gradient(ellipse at top right, rgba(223, 209, 153, 0.035), transparent 45%),
    var(--bg-dark);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.78;
  color: var(--text-primary);
  font-weight: 300;
  margin-bottom: 1.1rem;
}
.about-body {
  font-size: 0.97rem;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Stats row */
.about-stats {
  display: flex;
  gap: 2.75rem;
  flex-wrap: wrap;
  padding-top: 2.25rem;
  border-top: 1px solid var(--gold-border);
  position: relative;
}
/* Accent gold line on top-left of stats row */
.about-stats::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 48px; height: 2px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(223, 209, 153, 0.4);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.3s var(--ease-smooth);
}
.stat:hover { transform: translateY(-3px); }
.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 0.08rem;
}
.stat-number {
  font-family: var(--f-display);
  font-size: 3.1rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.stat-text { font-size: 2.15rem; }
.stat-suffix {
  font-family: var(--f-display);
  font-size: 1.85rem;
  color: var(--gold-dim);
  line-height: 1;
  margin-left: 0.05rem;
}
.stat-label {
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Car photo frame */
.about-visual { position: relative; }

.car-frame {
  position: relative;
  transition: transform 0.5s var(--ease-out);
}
.car-frame::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1.5px solid var(--gold-border-on);
  border-radius: 8px;
  z-index: 0;
  transition: opacity 0.45s var(--ease-out), inset 0.45s var(--ease-out);
  opacity: 0.55;
}

.about-visual:hover .car-frame {
  transform: translateY(-1px);
}
.about-visual:hover .car-frame::before {
  opacity: 0.75;
  inset: -16px;
}
.car-img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.08) saturate(0.92);
  transition: filter 0.5s var(--ease-out);
}
.about-visual:hover .car-img {
  filter: brightness(0.86) contrast(1.09) saturate(0.96);
}
.car-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 2.5rem 1.3rem 1rem;
  background: linear-gradient(to top, rgba(10,10,11,0.95), transparent);
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.car-caption::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   CRS SECTION
═══════════════════════════════════════ */
.crs-section {
  background:
    radial-gradient(ellipse at bottom left, rgba(223, 209, 153, 0.04), transparent 50%),
    var(--bg-black);
  position: relative;
}

.crs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.crs-card {
  padding: 2.1rem 1.65rem;
  overflow: hidden;
}
/* Gold corner accent revealed on hover */
.crs-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(225deg, rgba(223, 209, 153, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}
.crs-card:hover::after { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(223, 209, 153, 0.1), rgba(223, 209, 153, 0.03));
  border: 1px solid var(--gold-border);
  border-radius: 9px;
  color: var(--gold);
  margin-bottom: 1.35rem;
  transition: border-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.card-icon svg { width: 24px; height: 24px; }
.glass-card:hover .card-icon {
  border-color: var(--gold-border-on);
  box-shadow: 0 0 22px rgba(223, 209, 153, 0.18), inset 0 0 12px rgba(223, 209, 153, 0.08);
}

.crs-card h3 {
  font-family: var(--f-heading);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}
.crs-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   SEASON / TIMELINE
═══════════════════════════════════════ */
.season-section {
  background:
    radial-gradient(ellipse at top left, rgba(223, 209, 153, 0.035), transparent 50%),
    var(--bg-dark);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 740px;
  padding-left: 2.75rem;
}

/* Animated gold vertical line */
.timeline-track {
  position: absolute;
  left: 7px; top: 10px;
  width: 2px;
  height: 0;                        /* grows via JS */
  background: linear-gradient(to bottom, var(--gold-light), var(--gold) 30%, rgba(223, 209, 153, 0.08));
  border-radius: 2px;
  transition: height 0.06s linear;
  box-shadow: 0 0 8px rgba(223, 209, 153, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.9rem;
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  position: absolute;
  left: -2.75rem;
  top: 1.35rem;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2.5px solid var(--gold);
  box-shadow:
    0 0 0 3px rgba(223, 209, 153, 0.08),
    0 0 0 6px rgba(223, 209, 153, 0.03),
    0 0 14px rgba(223, 209, 153, 0.22);
  flex-shrink: 0;
  transition: background 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}
.timeline-item:hover .timeline-dot {
  background: var(--gold);
  transform: scale(1.1);
  box-shadow:
    0 0 0 4px rgba(223, 209, 153, 0.2),
    0 0 0 8px rgba(223, 209, 153, 0.08),
    0 0 28px rgba(223, 209, 153, 0.4);
}

.timeline-card {
  width: 100%;
  padding: 1.75rem 1.9rem;
}
.timeline-month {
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.timeline-month::before {
  content: '';
  display: block;
  width: 14px; height: 1px;
  background: var(--gold);
}
.timeline-card h3 {
  font-family: var(--f-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}
.timeline-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Tags */
.tag {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
}
.tag-prep {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tag-race {
  background: linear-gradient(180deg, rgba(223, 209, 153, 0.14), rgba(223, 209, 153, 0.06));
  color: var(--gold);
  border: 1px solid rgba(223, 209, 153, 0.28);
}
.tag-finale {
  background: linear-gradient(180deg, rgba(223, 209, 153, 0.22), rgba(223, 209, 153, 0.1));
  color: var(--gold-light);
  border: 1px solid rgba(223, 209, 153, 0.45);
  box-shadow: 0 0 14px rgba(223, 209, 153, 0.18);
}

/* ═══════════════════════════════════════
   SPONSORSHIP
═══════════════════════════════════════ */
.sponsor-section {
  background: var(--bg-black);
  position: relative;
}
/* Subtle gradient glow behind section */
.sponsor-section::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 300px;
  background: radial-gradient(ellipse, rgba(223, 209, 153, 0.03), transparent 70%);
  pointer-events: none;
}

.sponsor-cta-bar { margin-bottom: 3.25rem; }

/* Tier Grid — 5 columns on desktop */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.tier-card {
  background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 2rem 1.55rem 1.9rem;
  position: relative;
  overflow: hidden;
  transition:
    transform    0.4s var(--ease-snap),
    box-shadow   0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth);
}
/* Color-coded top accent bar */
.tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tier-accent, var(--gold));
  opacity: 0.65;
  transition: opacity 0.35s var(--ease-smooth), height 0.35s var(--ease-smooth);
}
[data-tier="bronze"]   { --tier-accent: var(--bronze); }
[data-tier="silver"]   { --tier-accent: var(--silver); }
[data-tier="gold"]     { --tier-accent: var(--gold-t); }
[data-tier="platinum"] { --tier-accent: var(--platinum); }
[data-tier="title"]    { --tier-accent: var(--gold-t); }

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.08);
}
.tier-card:hover::before { opacity: 1; height: 4px; }

/* Gold tier — featured */
.tier-featured {
  border-color: rgba(223, 209, 153, 0.45);
  background:
    linear-gradient(180deg, rgba(223, 209, 153, 0.04) 0%, var(--bg-card) 60%);
  box-shadow:
    0 0 0 1px rgba(223, 209, 153, 0.14),
    0 8px 40px rgba(223, 209, 153, 0.08);
  transform: translateY(-6px);
}
.tier-featured:hover {
  border-color: var(--gold);
  transform: translateY(-12px);
  box-shadow:
    0 0 0 1px var(--gold),
    var(--shadow-lg),
    0 0 60px rgba(223, 209, 153, 0.16);
}
.tier-featured::before { opacity: 1; height: 4px; background: var(--gold-shine); }
.tier-featured-badge {
  position: absolute;
  top: 4px; left: 0; right: 0;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  color: var(--bg-black);
  font-family: var(--f-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.35rem;
}
.tier-featured .tier-name { margin-top: 1.75rem; }

/* Title tier */
.tier-title-card {
  background: linear-gradient(145deg,
    rgba(223, 209, 153, 0.08) 0%,
    rgba(223, 209, 153, 0.02) 30%,
    var(--bg-card) 70%
  );
  border-color: rgba(223, 209, 153, 0.38);
}

/* Tier type names */
.tier-name {
  font-family: var(--f-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.tier-name.bronze  { color: var(--bronze); }
.tier-name.silver  { color: var(--silver); }
.tier-name.gold    { color: var(--gold-t); }
.tier-name.platinum { color: var(--platinum); }
.tier-name.title   {
  background: var(--gold-shine);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-t);
}

.tier-price {
  font-family: var(--f-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  letter-spacing: 0.01em;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tier-plus {
  font-size: 1.6rem;
  color: var(--gold-dim);
  margin-left: 0.1rem;
  font-weight: 400;
}

.tier-benefits {
  display: flex;
  flex-direction: column;
}
.tier-benefits li {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-muted);
  padding: 0.55rem 0 0.55rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  transition: color 0.25s ease;
}
.tier-card:hover .tier-benefits li { color: var(--text-primary); }
.tier-benefits li:last-child { border-bottom: none; }
.tier-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-size: 0.76rem;
}

/* Arrow color by tier */
[data-tier="bronze"]   .tier-benefits li::before { color: var(--bronze); }
[data-tier="silver"]   .tier-benefits li::before { color: var(--silver); }
[data-tier="gold"]     .tier-benefits li::before { color: var(--gold-t); }
[data-tier="platinum"] .tier-benefits li::before { color: var(--platinum); }
[data-tier="title"]    .tier-benefits li::before { color: var(--gold-t); }

/* Benefits Comparison Table */
.benefits-table-wrap { margin-bottom: 3.5rem; }

.table-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
/* Collapse heading's own margin since the row handles spacing */
.table-heading-row .table-heading { margin-bottom: 0; }

.table-scroll-outer { position: relative; }

/* Scroll hint — hidden on desktop, shown on mobile via media query */
.table-scroll-hint {
  display: none;
}

.table-heading {
  font-family: var(--f-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
}

.benefits-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.875rem;
}

.benefits-table thead {
  background: linear-gradient(to bottom, rgba(223, 209, 153, 0.06), rgba(223, 209, 153, 0.02));
}
.benefits-table th {
  padding: 1.1rem 1rem;
  text-align: center;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  border-bottom: 1px solid var(--gold-border-on);
}
.benefits-table th:first-child {
  text-align: left;
  min-width: 240px;
}
.benefits-table th span {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.col-bronze  { color: var(--bronze); }
.col-silver  { color: var(--silver); }
.col-gold    { color: var(--gold-t); }
.col-platinum { color: var(--platinum); }
.col-title   { color: var(--gold-t); }

.benefits-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}
.benefits-table tbody tr:hover { background: rgba(223, 209, 153, 0.035); }
.benefits-table tbody tr:last-child { border-bottom: none; }

.benefits-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.87rem;
}
.benefits-table td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 400;
}
.benefits-table .check {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(223, 209, 153, 0.35);
}
.benefits-table .no {
  color: var(--text-faint);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* Sponsor footer note */
.sponsor-contact-note {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--gold-border);
}
.sponsor-contact-note p {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   SIM RACING
═══════════════════════════════════════ */
.simracing-section {
  background:
    radial-gradient(ellipse at bottom right, rgba(223, 209, 153, 0.04), transparent 50%),
    var(--bg-dark);
  position: relative;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.sim-card { padding: 2.25rem; }

.sim-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-season-label {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-white);
}
.sim-badge {
  font-family: var(--f-heading);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 2px;
}
.sim-badge.completed {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.sim-badge.upcoming {
  background: linear-gradient(180deg, rgba(223, 209, 153, 0.14), rgba(223, 209, 153, 0.05));
  color: var(--gold);
  border: 1px solid rgba(223, 209, 153, 0.3);
  box-shadow: 0 0 12px rgba(223, 209, 153, 0.1);
}

.sim-card h3 {
  font-family: var(--f-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

/* Placeholder block */
.sim-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 2rem 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  text-align: center;
  margin-bottom: 1.25rem;
}
.sim-placeholder svg {
  width: 32px; height: 32px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.sim-placeholder p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

/* Platform note pill */
.sim-platform-note {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
}
.sim-platform-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(223, 209, 153, 0.07);
  border-radius: 6px;
  color: var(--gold);
  flex-shrink: 0;
}
.sim-platform-icon svg { width: 19px; height: 19px; }
.sim-platform-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sim-platform-text strong {
  font-family: var(--f-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
}
.sim-platform-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Series detail pills */
.sim-details-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.75rem;
}
.sim-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  font-family: var(--f-heading);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-smooth);
}
.sim-detail:hover {
  border-color: var(--gold-border-on);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.sim-detail svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.sim-detail-gold {
  border-color: var(--gold-border-on);
  color: var(--gold);
  background: linear-gradient(180deg, rgba(223, 209, 153, 0.08) 0%, rgba(223, 209, 153, 0.02) 100%);
  box-shadow: 0 0 18px rgba(223, 209, 153, 0.08);
}
.sim-detail-gold:hover {
  color: var(--gold-light);
  box-shadow: 0 0 24px rgba(223, 209, 153, 0.16);
}

/* Subheadings inside sim cards */
.sim-subheading {
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.sim-subheading::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--gold);
}
.sim-standings-heading { margin-top: 1.65rem; }

/* Race results list */
.sim-results { display: flex; flex-direction: column; }

.sim-race {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-race:last-child { border-bottom: none; }

.sim-race-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}
.sim-rnd {
  font-family: var(--f-display);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  width: 20px;
  flex-shrink: 0;
  padding-top: 1px;
}
.sim-race-track {
  font-family: var(--f-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.sim-race-date {
  font-family: var(--f-heading);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.06rem;
}
.sim-race-drivers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  padding-left: 1.75rem;
}
.sim-driver-result {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.79rem;
  color: var(--text-muted);
}

/* Position finish badges */
.pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.42rem;
  border-radius: 2px;
  flex-shrink: 0;
  min-width: 28px;
}
.p-top5 {
  background: linear-gradient(180deg, rgba(223, 209, 153, 0.18), rgba(223, 209, 153, 0.08));
  color: var(--gold);
  border: 1px solid rgba(223, 209, 153, 0.3);
  box-shadow: 0 0 10px rgba(223, 209, 153, 0.12);
}
.p-mid {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.p-back {
  background: transparent;
  color: var(--text-faint);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Championship standings */
.sim-standings { display: flex; flex-direction: column; }

.sim-standing {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-standing:last-child { border-bottom: none; }

.sim-champ-pos {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
  width: 32px;
  flex-shrink: 0;
}
.sim-champ-name {
  font-family: var(--f-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  flex: 1;
  letter-spacing: 0.01em;
}
.sim-champ-pts {
  font-family: var(--f-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Season 2 schedule */
.sim-schedule { display: flex; flex-direction: column; }

.sim-round {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-round:last-child { border-bottom: none; }

.sim-rnd-info { display: flex; flex-direction: column; gap: 0.06rem; flex: 1; }

.sim-rnd-track {
  font-family: var(--f-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
}
.sim-rnd-date {
  font-family: var(--f-heading);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-section {
  background:
    radial-gradient(ellipse at top, rgba(223, 209, 153, 0.035), transparent 50%),
    var(--bg-black);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.contact-card {
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
/* Corner accent bracket on hover */
.contact-card::after {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
  pointer-events: none;
}
.contact-card:hover::after {
  opacity: 0.8;
  transform: translate(0, 0);
}

.contact-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(223, 209, 153, 0.1), rgba(223, 209, 153, 0.03));
  border: 1px solid var(--gold-border);
  border-radius: 9px;
  color: var(--gold);
  margin-bottom: 0.85rem;
  transition: border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card:hover .contact-icon {
  border-color: var(--gold-border-on);
  box-shadow: 0 0 22px rgba(223, 209, 153, 0.2), inset 0 0 10px rgba(223, 209, 153, 0.06);
}

.contact-label {
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  word-break: break-all;
  line-height: 1.45;
  font-weight: 400;
}
.contact-action {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.7rem;
  transition: color 0.25s ease, transform 0.25s var(--ease-smooth);
  letter-spacing: 0.02em;
}
.contact-card:hover .contact-action {
  color: var(--gold);
  transform: translateX(3px);
}

/* Sponsor CTA block */
.contact-sponsor-cta {
  text-align: center;
  padding: 3.25rem 2rem;
  background:
    radial-gradient(ellipse at top, rgba(223, 209, 153, 0.06), transparent 55%),
    var(--bg-dark);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
/* Top gold accent line */
.contact-sponsor-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.contact-sponsor-cta p {
  font-family: var(--f-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1.65rem;
  letter-spacing: 0.02em;
}
.contact-sponsor-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--bg-void);
  padding-top: 4rem;
  border-top: 1px solid var(--gold-border);
  position: relative;
}
/* Gradient hairline at very top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border-on), transparent);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  height: 58px; width: auto;
  opacity: 0.85;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.footer-name {
  font-family: var(--f-heading);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.footer-sub {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a {
  font-family: var(--f-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.65rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--gold-border);
  border-radius: 7px;
  color: var(--text-muted);
  transition:
    color        0.25s ease,
    border-color 0.25s ease,
    background   0.25s ease,
    transform    0.25s var(--ease-smooth),
    box-shadow   0.25s ease;
}
.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold-border-on);
  background: rgba(223, 209, 153, 0.07);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(223, 209, 153, 0.12);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-legal {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal span {
  font-size: 0.73rem;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* ── 1024px and below (small laptop / large tablet) ── */
@media (max-width: 1024px) {
  .crs-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 3rem; }
}

/* ── 768px and below (tablet / mobile) ── */
@media (max-width: 768px) {
  :root { --section-v: clamp(3.5rem, 12vw, 5.5rem); }

  /* Nav — hamburger mode */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.42s var(--ease-out);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }

  .nav-links a {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
  }
  .nav-cta {
    font-size: 1.2rem;
    padding: 0.75rem 2.5rem !important;
  }

  /* Hero */
  .hero-bg { background-attachment: scroll; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { order: -1; }

  /* CRS */
  .crs-grid { grid-template-columns: 1fr 1fr; }

  /* Tier grid */
  .tier-grid { grid-template-columns: 1fr 1fr; }
  [data-tier="title"] { grid-column: 1 / -1; }

  /* Sim */
  .sim-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  /* Benefits table — right-edge fade + swipe hint */
  .table-scroll-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4rem;
    background: linear-gradient(to right, transparent, var(--bg-dark));
    border-radius: 0 9px 9px 0;
    pointer-events: none;
    z-index: 1;
  }

  .table-scroll-hint {
    display: inline-flex;
    align-items: center;
    font-family: var(--f-heading);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
    white-space: nowrap;
  }
}

/* ── 480px and below (phones) ── */
@media (max-width: 480px) {
  /* Allow long button text to wrap rather than overflow */
  .btn { white-space: normal; text-align: center; }
  .crs-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  [data-tier="title"] { grid-column: unset; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  .about-stats { gap: 1.5rem; }
  .timeline { padding-left: 2.25rem; }
  .timeline-marker { left: -2.25rem; }

  .contact-sponsor-cta { padding: 2rem 1.25rem; }

  /* Hide eyebrow on mobile — not enough space */
  .hero-eyebrow { display: none; }
}

/* ═══════════════════════════════════════
   AOS — subtler translate distances
   (overrides CDN defaults of 100px)
═══════════════════════════════════════ */
html body [data-aos="fade-up"]    { transform: translate3d(0,  20px, 0); }
html body [data-aos="fade-down"]  { transform: translate3d(0, -20px, 0); }
html body [data-aos="fade-right"] { transform: translate3d(-20px, 0, 0); }
html body [data-aos="fade-left"]  { transform: translate3d( 20px, 0, 0); }
