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

:root {
  --red: #F42412;
  --red-dim: #CC0100;
  --red-dark: #B20000;
  --bg: #000000;
  --bg-dark: #212121;
  --surface: #1A1A1A;
  --surface-2: #2A2A2A;
  --border: rgba(255,255,255,0.1);
  --text: #FFFFFF;
  --text-dim: #787878;
  --text-secondary: #C3C3C3;
  --silver: #C3C3C3;
  --impact-blue: #41B6E6;
  --impact-blue-soft: #9AD7F0;
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Utilities ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}
.page-hero-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.section { padding: 90px 0; }
.section-dark { background: var(--bg-dark); }

.section-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dim); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,24,42,0.3); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(8,10,12,0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img { height: 38px; width: auto; display: block; }
.logo-aeros { color: #fff; }
.logo-racing { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); border-bottom-color: var(--red); }
.nav-cta {
  padding: 8px 18px !important;
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 5px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--red-dim) !important; color: #fff !important; }
.nav-cta.active { background: var(--red-dim) !important; border-bottom: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HOME HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-orb-1 { width: 600px; height: 600px; background: rgba(232,24,42,0.12); top: -100px; left: -150px; }
.hero-orb-2 { width: 500px; height: 500px; background: rgba(232,24,42,0.07); bottom: -100px; right: -100px; }

.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(232,24,42,0.4);
  background: rgba(232,24,42,0.08);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 9vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-title .accent { color: var(--red); }
.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-record {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 40px;
}
.record-value {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -1px;
}
.record-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── HOME quick links ── */
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ql-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.ql-card:hover { border-color: rgba(232,24,42,0.3); transform: translateY(-4px); }
.ql-icon { width: 40px; height: 40px; color: var(--red); }
.ql-icon svg { width: 100%; height: 100%; }
.ql-card h3 { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.ql-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; flex: 1; }
.ql-link {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.ql-card:hover .ql-link { gap: 10px; }

/* ── ABOUT ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-card:hover { border-color: rgba(232,24,42,0.3); }
.stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.team-divisions { display: flex; flex-direction: column; gap: 52px; }
.division-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-grid-center { grid-template-columns: 200px; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: rgba(232,24,42,0.3); transform: translateY(-4px); }
.team-card-mentor { opacity: 0.65; }
.team-card-mentor:hover { opacity: 1; }
.team-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #7a0010);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
}
.mentor-avatar { background: linear-gradient(135deg, #2A3040, #1a2030); }
.team-name { font-family: var(--font-head); font-size: 13px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.5px; }
.team-role { font-family: var(--font-body); font-size: 12px; color: var(--red); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ── ENGINEERING ── */
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.eng-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.eng-card:hover { border-color: rgba(232,24,42,0.35); transform: translateY(-4px); }
.eng-icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 20px; }
.eng-icon svg { width: 100%; height: 100%; }
.eng-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.eng-card p { font-size: 15px; color: var(--text-dim); line-height: 1.65; }

.record-banner {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(232,24,42,0.08) 100%);
  border: 1px solid rgba(232,24,42,0.25);
  border-radius: 16px;
  overflow: hidden;
}
.record-banner-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 48px;
}
.rb-left { text-align: center; flex-shrink: 0; }
.rb-time {
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -2px;
}
.rb-time span { font-size: 44px; }
.rb-subtitle { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }
.rb-divider { width: 1px; height: 80px; background: var(--border); flex-shrink: 0; }
.rb-title { font-family: var(--font-head); font-size: 22px; font-weight: 800; margin-bottom: 12px; letter-spacing: 0.5px; }
.rb-desc { font-size: 15px; color: var(--text-dim); line-height: 1.65; }

/* ── SUSTAINABILITY ── */
.sustain-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sustain-text p { font-size: 16px; color: var(--text-dim); line-height: 1.75; margin-bottom: 16px; }
.sustain-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(195,195,195,0.25);
  background: rgba(195,195,195,0.06);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.5px;
}
.sustain-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 360px;
  margin: 0 auto;
}
.sg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(195,195,195,0.12);
  animation: rotate-ring linear infinite;
}
.sg-ring-1 { width: 90%; height: 90%; animation-duration: 20s; border-color: rgba(195,195,195,0.18); }
.sg-ring-2 { width: 65%; height: 65%; animation-duration: 14s; animation-direction: reverse; }
.sg-ring-3 { width: 40%; height: 40%; animation-duration: 8s; border-color: rgba(195,195,195,0.08); }
@keyframes rotate-ring { to { transform: rotate(360deg); } }
.sg-core { width: 18%; height: 18%; color: var(--silver); z-index: 1; }
.sg-core svg { width: 100%; height: 100%; }

.sustain-initiatives { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.initiative {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.initiative:hover { border-color: rgba(244,36,18,0.25); }
.initiative-icon { width: 36px; height: 36px; color: var(--red); flex-shrink: 0; }
.initiative-icon svg { width: 100%; height: 100%; }
.initiative h4 { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.initiative p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }

/* ── SPONSORSHIP ── */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.sponsor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
}
.sponsor-card:hover { transform: translateY(-6px); }
.tier-bronze { --tier-color: #CD7F32; }
.tier-silver { --tier-color: #A8B0B8; }
.tier-gold { --tier-color: #F5C842; border-color: rgba(245,200,66,0.2); }
.tier-platinum { --tier-color: #E2E8F0; border-color: rgba(226,232,240,0.15); }
.tier-bronze:hover { border-color: rgba(205,127,50,0.4); }
.tier-silver:hover { border-color: rgba(168,176,184,0.4); }
.tier-gold:hover { border-color: rgba(245,200,66,0.5); }
.tier-platinum:hover { border-color: rgba(226,232,240,0.4); }
.tier-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--tier-color);
  color: #000;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 10px;
}
.tier-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tier-color);
  margin-bottom: 4px;
}
.tier-price {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 18px;
}
.tier-price span { font-size: 22px; color: var(--text-dim); }
.tier-perks { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 22px; }
.tier-perks li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.tier-perks li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tier-color);
}
.btn-tier {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-tier:hover { border-color: var(--tier-color); color: var(--tier-color); }
.btn-tier-accent { background: var(--red); border-color: var(--red); color: #fff; }
.btn-tier-accent:hover { background: var(--red-dim) !important; border-color: var(--red-dim) !important; color: #fff !important; }
.nonprofit-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: rgba(195,195,195,0.05);
  border: 1px solid rgba(195,195,195,0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--silver);
  font-weight: 500;
}
.nonprofit-badge svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── NEWS ── */
.news-grid { display: flex; flex-direction: column; gap: 24px; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  transition: border-color 0.2s, transform 0.2s;
}
.news-card:hover { border-color: rgba(232,24,42,0.3); transform: translateX(4px); }
.news-date-block { text-align: center; flex-shrink: 0; }
.news-month {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}
.news-day {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
}
.news-year {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.news-content {}
.news-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(232,24,42,0.1);
  border: 1px solid rgba(232,24,42,0.25);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.news-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.3px; line-height: 1.3; }
.news-card p { font-size: 15px; color: var(--text-dim); line-height: 1.65; }

/* ── CONTACT ── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-text p { font-size: 16px; color: var(--text-dim); line-height: 1.75; margin-bottom: 32px; }
.contact-socials { display: flex; gap: 14px; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-head); font-size: 9px; font-weight: 700; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,149,163,0.45); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group select option { background: var(--surface-2); }
.form-success {
  display: none;
  padding: 14px;
  background: rgba(195,195,195,0.07);
  border: 1px solid rgba(195,195,195,0.25);
  border-radius: 8px;
  color: var(--silver);
  font-size: 14px;
  text-align: center;
}
.form-success.show { display: block; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo { margin-bottom: 10px; }
.footer-logo-img { height: 36px; width: auto; display: block; }
.footer-brand p { font-family: var(--font-body); font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span:last-child { font-family: var(--font-head); font-size: 9px; letter-spacing: 3px; }

/* ── DRIVER PROFILE PAGE ── */

/* Tall section gives scroll room */
.ph-section {
  height: 220vh;
  position: relative;
}

/* Viewport-locked container */
.ph-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Dark left panel */
.ph-panel-left {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 62%;
  background: #06070d;
  z-index: 1;
}
.ph-panel-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 90% 90% at 0% 100%, black 25%, transparent 75%);
  pointer-events: none;
}

/* Red right panel — brand colours */
.ph-panel-right {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(150deg, #7a0800 0%, #CC0100 50%, #3d0400 100%);
  z-index: 1;
}

/* Back button */
.ph-back {
  position: absolute;
  top: 88px;
  left: 64px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.2s;
  z-index: 20;
}
.ph-back:hover { color: rgba(255,255,255,0.9); }
.ph-back svg { width: 14px; height: 14px; }

/* ── STATE 1: big name at bottom ── */
.ph-name-initial {
  position: absolute;
  bottom: 80px;
  left: 64px;
  z-index: 10;
  will-change: opacity, transform;
  max-width: 55%;
}

.ph-member-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.ph-name-big {
  font-family: var(--font-head);
  font-size: clamp(52px, 8.5vw, 100px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 20px;
}

.ph-role-big {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  margin-bottom: 44px;
}

.ph-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.ph-scroll-hint svg { width: 18px; height: 18px; }

/* ── STATE 2: compact name + stats ── */
.ph-stats-state {
  position: absolute;
  bottom: 80px;
  left: 64px;
  z-index: 10;
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
  pointer-events: none;
  max-width: 52%;
}

.ph-stats-name {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1;
}

.ph-stats-role {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 38px;
}

.ph-stats-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0;
}

.ph-stat-item {
  padding: 0 44px 26px 0;
}

.ph-stat-num {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 5px;
}

.ph-stat-lbl {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── Photo ── */
.ph-photo-wrap {
  position: absolute;
  bottom: 0;
  left: 36%;
  height: 97%;
  z-index: 8;
  will-change: transform;
  pointer-events: none;
}

.ph-photo {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  mix-blend-mode: screen;
}

/* Profile stats bar */
.profile-stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.profile-stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.ps-item {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ps-item:last-child { border-right: none; }
.ps-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ps-value {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.ps-value.accent { color: var(--red); }

/* Profile body */
.profile-about {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.pa-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.pa-heading {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0;
}
.pa-text p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}
.pa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pa-tag {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(232,24,42,0.3);
  background: rgba(232,24,42,0.07);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

/* Milestones horizontal scroll */
.profile-milestones-section {
  background: var(--bg-dark);
  padding: 80px 0;
  overflow: hidden;
}
.pms-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 52px;
}
.pms-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.milestones-track-wrapper {
  position: relative;
  padding: 0 24px;
}
.milestones-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-left: calc((100vw - 1112px) / 2);
  padding-right: 48px;
}
.milestones-track::-webkit-scrollbar { display: none; }

.milestone-card {
  flex: 0 0 360px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: default;
  transition: transform 0.3s ease;
}
.milestone-card:hover { transform: scale(1.02); }

.mc-year-bg {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-head);
  font-size: 130px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -6px;
  user-select: none;
  pointer-events: none;
}

.mc-accent-bar {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}

.mc-year {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.mc-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.85));
}

.mc-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.mc-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* Back to team CTA */
.profile-footer-cta {
  background: var(--bg);
  padding: 72px 0;
  text-align: center;
}
.profile-footer-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

@media (max-width: 960px) {
  .profile-hero { grid-template-columns: 1fr; height: auto; }
  .ph-left { padding: 120px 32px 60px; }
  .ph-right { height: 280px; }
  .ph-back { left: 32px; }
  .profile-about { grid-template-columns: 1fr; gap: 36px; padding: 52px 24px; }
  .profile-stats-inner { flex-wrap: wrap; }
  .ps-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--border); }
  .milestone-card { flex: 0 0 280px; }
  .milestones-track { padding-left: 24px; }
}

/* ── TEAM PREVIEW (Homepage) ── */
.team-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.team-preview-card {
  position: relative;
  width: 195px;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.35s ease,
              filter 0.35s ease,
              opacity 0.35s ease;
  flex-shrink: 0;
}

/* Unique gradient per card */
.team-preview-card:nth-child(1) { background: linear-gradient(150deg, #1e1020 0%, #0d0f18 55%, rgba(232,24,42,0.22) 100%); }
.team-preview-card:nth-child(2) { background: linear-gradient(160deg, #0e1a26 0%, #0d0f18 55%, rgba(59,130,246,0.18) 100%); }
.team-preview-card:nth-child(3) { background: linear-gradient(140deg, #1c120e 0%, #0d0f18 55%, rgba(251,146,60,0.18) 100%); }
.team-preview-card:nth-child(4) { background: linear-gradient(155deg, #110d1e 0%, #0d0f18 55%, rgba(139,92,246,0.18) 100%); }
.team-preview-card:nth-child(5) { background: linear-gradient(165deg, #0d1c1c 0%, #0d0f18 55%, rgba(20,184,166,0.18) 100%); }
.team-preview-card:nth-child(6) { background: linear-gradient(145deg, #0e1122 0%, #0d0f18 55%, rgba(99,102,241,0.18) 100%); }
.team-preview-card:nth-child(7) { background: linear-gradient(170deg, #1c0d1a 0%, #0d0f18 55%, rgba(236,72,153,0.18) 100%); }

/* Diagonal racing stripe accent */
.team-preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    transparent 58%,
    rgba(232,24,42,0.05) 58%,
    rgba(232,24,42,0.05) 61%,
    transparent 61%
  );
  pointer-events: none;
  z-index: 0;
}

/* Group hover: dim non-hovered cards */
.team-cards-grid:hover .team-preview-card {
  opacity: 0.38;
  filter: brightness(0.5) saturate(0.5);
}

/* Hovered card: full highlight */
.team-cards-grid:hover .team-preview-card:hover {
  opacity: 1;
  filter: brightness(1.08) saturate(1.1);
  transform: scale(1.08) translateY(-14px);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.6),
    0 0 0 1px rgba(232,24,42,0.45),
    0 0 50px rgba(232,24,42,0.18);
  z-index: 5;
}

/* Racing number badge */
.tpc-number {
  position: absolute;
  top: 13px;
  right: 13px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -1.5px;
  z-index: 3;
  text-shadow: 0 2px 18px rgba(232,24,42,0.7);
}

/* Large initials — watermark style */
.tpc-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 55px;
  font-family: var(--font-head);
  font-size: 92px;
  font-weight: 900;
  color: rgba(255,255,255,0.055);
  letter-spacing: -6px;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* Bottom overlay with name/role */
.tpc-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 52px 14px 16px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.65) 35%, rgba(0,0,0,0.93));
  z-index: 3;
}

.tpc-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.tpc-role {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.team-preview-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .team-preview-card { width: 160px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .engineering-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .record-banner-inner { flex-direction: column; gap: 24px; text-align: center; padding: 32px 24px; }
  .rb-divider { width: 60px; height: 1px; }
  .quick-links { grid-template-columns: 1fr; }
  /* Profile */
  .ph-panel-left { width: 100%; }
  .ph-panel-right { display: none; }
  .ph-name-initial, .ph-stats-state { left: 32px; max-width: 80%; }
  .ph-back { left: 32px; }
  .ph-photo-wrap { left: 45%; }
  .profile-about { grid-template-columns: 1fr; gap: 36px; padding: 52px 24px; }
  .milestone-card { flex: 0 0 280px; }
  .milestones-track { padding-left: 24px; }
}
@media (max-width: 640px) {
  .team-preview-card { width: calc(50% - 8px); }
  .tpc-initials { font-size: 72px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(8,10,12,0.97); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .news-card { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
