/* ═══════════════════════════════════════════════
   SCHOOL OF SPORTS — SHARED STYLESHEET
   All pages reference this file
   Tokens · Reset · Nav · Footer · Components
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #0d0d0b; color: #fff; font-family: 'DM Sans', sans-serif; overflow-x: hidden; }

:root {
  --yellow:   #F5E040;
  --charcoal: #3C3B39;
  --dark:     #0d0d0b;
  --dark2:    #141412;
  --dark3:    #0a0908;
  --border:   rgba(255,255,255,0.09);
  --mid:      rgba(255,255,255,0.38);
}

/* ── NAV ── */

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 148px 56px 88px;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 16px; display: block;
}
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.88; letter-spacing: 0.02em; color: #fff;
  max-width: 900px;
}
.page-hero-title .yellow { color: var(--yellow); }
.page-hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.38); line-height: 1.7;
  max-width: 520px; margin-top: 24px;
}
.page-hero-bg-mark {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 32vw; line-height: 1;
  color: rgba(255,255,255,0.025); pointer-events: none; user-select: none;
  letter-spacing: 0.02em; white-space: nowrap; z-index: 0;
}
.page-hero > *:not(.page-hero-bg-mark) { position: relative; z-index: 1; }

/* ── SECTION WRAPPER ── */
.sos-section {
  padding: 88px 56px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.sos-section.dark    { background: var(--dark); }
.sos-section.dark2   { background: var(--dark2); }
.sos-section.dark3   { background: var(--dark3); }
.sos-section.charcoal { background: var(--charcoal); }
.sos-section.yellow  { background: var(--yellow); color: #111; }

.section-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase;
  color: rgba(255,255,255,0.22); margin-bottom: 12px; display: block;
}
.section-eyebrow.dark-text { color: rgba(0,0,0,0.3); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.9; letter-spacing: 0.02em; color: #fff; margin-bottom: 40px;
}
.section-title.dark-text { color: #111; }
.section-title .yellow { color: var(--yellow); }
.section-lead {
  font-size: 15px; color: rgba(255,255,255,0.42); line-height: 1.75;
  max-width: 560px; margin-bottom: 48px;
}
.section-lead.dark-text { color: rgba(0,0,0,0.5); }

/* ── COMMON BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 40px; background: var(--yellow); color: #111;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; border: 2px solid var(--yellow);
  transition: background 0.22s, color 0.22s;
}
.btn-primary:hover { background: transparent; color: var(--yellow); }
.btn-primary.dark-bg:hover { color: var(--yellow); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 40px; background: transparent; color: rgba(255,255,255,0.6);
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; border: 1.5px solid rgba(255,255,255,0.16);
  transition: border-color 0.22s, color 0.22s;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 40px; background: #111; color: var(--yellow);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; border: 2px solid #111;
  transition: background 0.22s, color 0.22s;
}
.btn-dark:hover { background: transparent; color: #111; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}
.card-item {
  background: var(--dark); padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: background 0.2s;
}
.card-item:hover { background: var(--dark2); }
.card-item-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 40px;
  color: rgba(255,255,255,0.06); line-height: 1; margin-bottom: 16px;
}
.card-item-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px, 2.5vw, 32px);
  color: #fff; letter-spacing: 0.02em; margin-bottom: 12px;
}
.card-item-body {
  font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; flex: 1;
}
.card-item-cta {
  margin-top: 24px; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.22); text-decoration: none;
  transition: color 0.2s;
}
.card-item:hover .card-item-cta { color: var(--yellow); }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--yellow);
}
.stat-block {
  padding: 48px 40px;
  border-left: 1px solid rgba(0,0,0,0.1);
}
.stat-block:first-child { border-left: none; }
.stat-block-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6vw, 80px); color: #111; line-height: 1;
}
.stat-block-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(0,0,0,0.45); margin-top: 8px;
}
.stat-block-sub { font-size: 11px; color: rgba(0,0,0,0.3); margin-top: 3px; }

/* ── TWO-COLUMN LAYOUT ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.two-col.align-center { align-items: center; }

/* ── TIMELINE ── */
.timeline-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid rgba(255,255,255,0.07);
}
.tl-step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.tl-step:last-child { border-right: none; }
.tl-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.tl-step.active::before { transform: scaleX(1); }
.tl-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 36px;
  color: rgba(255,255,255,0.07); line-height: 1; margin-bottom: 12px;
}
.tl-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(20px, 2vw, 28px);
  color: #fff; letter-spacing: 0.02em; margin-bottom: 8px;
}
.tl-date  { font-size: 11px; color: var(--yellow); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.tl-body  { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.6; }

/* ── REVEAL UTIL ── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.up { opacity: 1; transform: translateY(0); }

/* ── CONTACT CTA STRIP ── */
.cta-strip {
  background: var(--yellow); padding: 72px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-strip-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 5vw, 64px);
  color: #111; line-height: 0.92; letter-spacing: 0.02em;
}
.cta-strip-body { font-size: 14px; color: rgba(0,0,0,0.45); margin-top: 12px; max-width: 400px; line-height: 1.6; }

/* ── FOOTER ── */
.site-footer {
  background: #0a0908; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 56px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo  { height: 28px; width: 28px; object-fit: cover; border-radius: 5px; mix-blend-mode: screen; }
.footer-name  { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); }
.footer-op    { font-size: 10px; color: rgba(255,255,255,0.18); letter-spacing: 0.5px; margin-top: 1px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy  { font-size: 11px; color: rgba(255,255,255,0.18); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .page-hero  { padding: 128px 24px 64px; }
  .sos-section { padding: 64px 24px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .timeline-row { grid-template-columns: 1fr 1fr; }
  .cta-strip { padding: 56px 24px; flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 520px) {
  .stats-row    { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; }
  .card-grid    { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
@media (prefers-reduced-motion: reduce) {
  .reveal, .tl-step::before { transition: none; }
}




/* ════════════════════════════════════════
   NAVIGATION — f1.audi.com.au style
   Minimal top bar + full-screen overlay.
   Each link: large title + small sub-line.
════════════════════════════════════════ */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(13,13,11,0.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo      { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo-img  { height:34px; width:34px; border-radius:6px; object-fit:cover; display:block; background: rgba(255,255,255,0.04); }
.nav-logo-sep  { width:1px; height:18px; background:var(--border); }
.nav-logo-name { font-size:11px; font-weight:500; letter-spacing:2.5px; text-transform:uppercase; color:rgba(255,255,255,0.3); }

/* ── Menu button ── */
.nav-menu-btn {
  display:flex; align-items:center; gap:10px;
  background:none; border:none; cursor:pointer;
  padding:6px 0; position:relative; z-index:501;
}
.nav-menu-lines { display:flex; flex-direction:column; gap:5px; }
.nav-menu-lines span {
  display:block; width:22px; height:1.5px;
  background:rgba(255,255,255,0.6);
  transition:all 0.32s cubic-bezier(0.4,0,0.2,1);
}
.nav-menu-label {
  font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase;
  color:rgba(255,255,255,0.45); transition:color 0.2s;
  font-family:'DM Sans',sans-serif;
}
.nav-menu-btn:hover .nav-menu-label         { color:#fff; }
.nav-menu-btn:hover .nav-menu-lines span    { background:rgba(255,255,255,0.9); }
.nav-menu-btn.open .nav-menu-lines span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-menu-btn.open .nav-menu-lines span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-menu-btn.open .nav-menu-lines span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }
.nav-menu-btn.open .nav-menu-label                    { color:rgba(255,255,255,0.28); }

/* ── Full-screen overlay ── */
.nav-overlay {
  position:fixed; inset:0; z-index:400;
  background:#0a0908;
  transform:translateY(-100%);
  transition:transform 0.52s cubic-bezier(0.4,0,0.2,1);
  overflow-y:auto;
  display:flex; align-items:stretch;
}
.nav-overlay.open { transform:translateY(0); }

.nav-ov-inner,
.nav-overlay-inner {
  width:100%;
  display:flex; flex-direction:column; justify-content:center;
  padding:100px 56px 52px;
  min-height:100vh;
}

/* ── Link list — f1.audi style ──
   Each row: large Bebas title LEFT + small italic sub RIGHT
   Full width, separated by 1px borders
── */
.nav-ov-links {
  list-style:none;
  margin:0 0 36px;
  border-top:1px solid rgba(255,255,255,0.07);
}

.nav-ov-links li { border-bottom:1px solid rgba(255,255,255,0.07); overflow:hidden; }

.nav-ov-links a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  text-decoration:none;
  /* stagger-in animation */
  transform:translateY(28px); opacity:0;
  transition:
    transform 0.4s cubic-bezier(0.4,0,0.2,1) calc(var(--i,0)*0.05s + 0.06s),
    opacity   0.4s ease                       calc(var(--i,0)*0.05s + 0.06s);
}
.nav-overlay.open .nav-ov-links a { transform:translateY(0); opacity:1; }

.nol-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(32px, 4.8vw, 62px);
  letter-spacing:0.02em;
  color:rgba(255,255,255,0.38);
  transition:color 0.2s, padding-left 0.2s;
  line-height:1;
}
.nol-sub {
  font-size:11px; font-weight:400; letter-spacing:1.5px; text-transform:uppercase;
  color:rgba(255,255,255,0.18); font-style:italic;
  transition:color 0.2s;
  text-align:right;
}

.nav-ov-links a:hover .nol-title { color:#fff; padding-left:12px; }
.nav-ov-links a:hover .nol-sub   { color:rgba(255,255,255,0.45); }
.nav-ov-links a.active-page .nol-title { color:var(--yellow,#F5E040); }
.nav-ov-links a.active-page .nol-sub   { color:rgba(245,224,64,0.4); }

/* ── Bottom CTA row ── */
.nav-ov-cta {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px;
  transform:translateY(14px); opacity:0;
}
.nav-overlay.open .nav-ov-cta {
  transform:translateY(0); opacity:1;
  transition:transform 0.38s ease 0.42s, opacity 0.38s ease 0.42s;
}
.nav-ov-cta a {
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 32px; background:var(--yellow,#F5E040); color:#111;
  font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  text-decoration:none; border-radius:2px; border:2px solid var(--yellow,#F5E040);
  transition:background 0.2s, color 0.2s;
}
.nav-ov-cta a:hover { background:transparent; color:var(--yellow,#F5E040); }
.nav-ov-meta {
  font-size:10px; color:rgba(255,255,255,0.15); letter-spacing:1.5px; text-transform:uppercase;
}

@media(max-width:600px){
  nav { padding:0 20px; }
  .nav-logo-sep,.nav-logo-name { display:none; }
  .nav-ov-inner { padding:96px 24px 48px; }
  .nav-ov-cta { flex-direction:column; align-items:flex-start; }
}
