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

:root {
  --black:   #090909;
  --deep:    #0d0d10;
  --navy:    #0D1A40;
  --pink:    #FF2070;
  --gold:    #C9A050;
  --gold-lt: #e0bb77;
  --white:   #FFFFFF;
  --grey:    #8a8a9a;
  --border:  rgba(255,255,255,0.08);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ─── PAGE TRANSITION ───────────────────────────────────────── */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}
body.page-exit {
  opacity: 0;
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────────── */
.cursor-dot {
  display: none;
  transition: opacity .2s;
}
.cursor-ring { display: none; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 99px; }

/* ─── UTILITY ───────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: .75rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up-d1 { transition-delay: .1s; }
.fade-up-d2 { transition-delay: .2s; }
.fade-up-d3 { transition-delay: .3s; }
.fade-up-d4 { transition-delay: .4s; }
.fade-up-d5 { transition-delay: .5s; }

/* ─── NOISE OVERLAY ─────────────────────────────────────────── */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
nav.scrolled {
  background: rgba(9,9,9,.92);
  backdrop-filter: blur(20px);
  padding: .9rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-monogram {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-first {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink);
}
.logo-last {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--pink);
  transition: width .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: .55rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .3s, color .3s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,9,9,.97);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--pink); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  transform-origin: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(9,9,9,.92) 0%,
    rgba(9,9,9,.7) 40%,
    rgba(9,9,9,.25) 70%,
    rgba(9,9,9,.1) 100%
  );
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to top, var(--black), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 5rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  padding: .45rem 1rem;
  border-radius: 2px;
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
}
.hero-badge .flag { font-size: 1rem; }
.hero-badge .dot { color: var(--gold); margin: 0 .2rem; }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  font-style: italic;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-headline .accent { color: var(--pink); }

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: .05em;
  color: rgba(255,255,255,.65);
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid rgba(255,255,255,.15);
  padding: .5rem 1.1rem;
  border-radius: 2px;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .08em;
}
.hero-pill strong { color: var(--white); font-weight: 700; }
.hero-pill span { color: var(--grey); font-weight: 300; }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--pink);
  color: var(--white);
  border: none;
  padding: .9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform .4s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,32,112,.35); }
.btn-primary:hover::before { transform: translateX(110%) skewX(-15deg); }

.btn-outline-gold {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .3s, color .3s, transform .2s;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

.hero-socials {
  display: flex;
  gap: 1.25rem;
}
.hero-socials a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .3s;
  display: flex;
  align-items: center;
}
.hero-socials a:hover { color: var(--white); }
.hero-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  right: 2.5rem;
  bottom: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════════ */
#stats-bar {
  background: var(--navy);
  padding: 1.8rem 3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  overflow: hidden;
}
#stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,32,112,.03) 0px,
    rgba(255,32,112,.03) 1px,
    transparent 1px,
    transparent 80px
  );
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5rem 3.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-number .stat-count { display: inline-block; }

.stat-label {
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: .3rem;
}

/* ═══════════════════════════════════════════════════════════════
   STORY
═══════════════════════════════════════════════════════════════ */
#story {
  padding: 7rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.story-image-wrap {
  position: relative;
}
.story-image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 65% 20%;
  display: block;
  filter: grayscale(100%) contrast(1.1);
}
.story-image-frame {
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--pink);
  pointer-events: none;
  z-index: -1;
}
.story-image-badge {
  position: absolute;
  top: -1rem;
  right: -1.5rem;
  background: var(--pink);
  padding: .5rem 1rem;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.story-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.story-text h2 em {
  color: var(--pink);
  font-style: italic;
}

.story-text p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.story-quote {
  border-left: 3px solid var(--pink);
  padding: .75rem 0 .75rem 1.5rem;
  margin: 2rem 0;
}
.story-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white) !important;
  line-height: 1.3;
  margin: 0;
}
.story-quote p span { color: var(--pink); }

.value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.value-pill {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  border-radius: 2px;
  transition: border-color .3s, color .3s;
}
.value-pill:hover { border-color: var(--pink); color: var(--pink); }

/* ═══════════════════════════════════════════════════════════════
   CAREER
═══════════════════════════════════════════════════════════════ */
#career {
  background: var(--deep);
  padding: 7rem 3rem;
  position: relative;
  overflow: hidden;
}
#career::before {
  content: 'CARRIÈRE';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-head);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255,255,255,.02);
  pointer-events: none;
  white-space: nowrap;
}

.career-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.career-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
}
.section-title em { color: var(--pink); font-style: italic; }
.section-title .gold { color: var(--gold); }

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--pink), rgba(201,160,80,.3), transparent);
}

.timeline-entry {
  position: relative;
  padding: 0 0 2.5rem 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s, transform .5s;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.timeline-rank {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  min-width: 3rem;
  text-align: right;
  color: rgba(255,255,255,.12);
  flex-shrink: 0;
  padding-top: .1em;
}
.timeline-rank sup { font-size: .4em; vertical-align: super; }
.timeline-rank.is-dash { font-size: 1.5rem; color: rgba(255,255,255,.08); }
.timeline-entry.highlight .timeline-rank { color: var(--gold); }
.timeline-entry.podium .timeline-rank { color: var(--pink); }
.timeline-content { flex: 1; }
.timeline-entry.visible { opacity: 1; transform: translateX(0); }
.timeline-entry:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: .35rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--grey);
  transition: border-color .3s;
}
.timeline-entry.highlight .timeline-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 12px rgba(201,160,80,.5); }
.timeline-entry.podium .timeline-dot { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 12px rgba(255,32,112,.5); }

.timeline-year {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--grey);
  margin-bottom: .3rem;
}
.timeline-entry.highlight .timeline-year { color: var(--gold); }
.timeline-entry.podium .timeline-year { color: var(--pink); }

.timeline-event {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}
.timeline-result {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin-top: .2rem;
}

/* Season card */
.season-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.season-card::before {
  content: '2026';
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
}

.season-label {
  font-family: var(--font-head);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.5rem;
}

.team-badge {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: border-color .3s;
}
.team-badge:hover { border-color: rgba(255,255,255,.2); }
.team-badge:last-of-type { margin-bottom: 0; }

.team-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.team-details {
  font-size: .85rem;
  color: var(--grey);
}
.team-details strong { color: var(--gold); }

.career-photo {
  margin-top: 2rem;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(.85);
  transition: filter .4s;
}
.career-photo:hover { filter: brightness(1); }

/* ═══════════════════════════════════════════════════════════════
   DRIVING STYLE
═══════════════════════════════════════════════════════════════ */
#style {
  padding: 7rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.style-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 3px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.style-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform .3s;
}
.style-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-4px); }
.style-card:hover::after { transform: scaleX(1); }

.style-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}
.style-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}
.style-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   CALENDAR
═══════════════════════════════════════════════════════════════ */
#calendar {
  background: var(--deep);
  padding: 7rem 3rem;
  position: relative;
}

.calendar-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.countdown-wrap {
  margin: 3rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-label {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.25rem;
}
.countdown {
  display: flex;
  gap: 1.5rem;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.cd-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: .5rem 1.2rem;
  border-radius: 3px;
  min-width: 90px;
  text-align: center;
}
.cd-sep {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1.2;
  padding: .5rem 0;
}
.cd-label {
  font-family: var(--font-head);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: .5rem;
}

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

.race-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}
.race-card:hover { border-color: rgba(255,32,112,.3); }
.race-card.next {
  border-color: rgba(255,32,112,.3);
}
.race-card.next::before {
  content: 'PROCHAIN';
  position: absolute;
  top: 0; right: 0;
  background: var(--pink);
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  padding: .3rem .7rem;
}

.race-champ {
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .6rem;
}
.race-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.2;
  margin-bottom: .4rem;
}
.race-team {
  font-size: .82rem;
  color: var(--grey);
  margin-bottom: .8rem;
}
.race-date {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ═══════════════════════════════════════════════════════════════
   SPONSORS
═══════════════════════════════════════════════════════════════ */
#sponsors {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 5rem;
  margin: 4rem 0 5rem;
}

.sponsor-logo-link {
  display: block;
  opacity: .5;
  filter: grayscale(100%) brightness(2);
  transition: opacity .4s, filter .4s, transform .3s;
}
.sponsor-logo-link:hover { opacity: 1; filter: grayscale(0%) brightness(1); transform: scale(1.05); }

.sponsor-logo-link img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* WACC & WLegal text logos */
.logo-text-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  padding: .6rem 1.5rem;
  border-radius: 2px;
  height: 50px;
  text-transform: uppercase;
}

.sponsor-cta {
  background: linear-gradient(135deg, rgba(13,26,64,.8) 0%, rgba(9,9,9,.9) 100%);
  border: 1px solid rgba(201,160,80,.2);
  padding: 4rem;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.sponsor-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.sponsor-cta h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.sponsor-cta h3 span { color: var(--gold); }

.sponsor-cta p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════════ */
#gallery {
  background: var(--deep);
  padding: 7rem 3rem;
}

.gallery-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-grid {
  columns: 3;
  column-gap: 1rem;
  margin-top: 4rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1), filter .4s;
  filter: brightness(.85);
}
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1); }

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption span {
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  background: none;
  border: none;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--pink); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .2s;
  border-radius: 2px;
}
.lightbox-nav:hover { background: var(--pink); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   PRESS / MEDIA
═══════════════════════════════════════════════════════════════ */
#press {
  padding: 7rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.press-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.press-card::after {
  content: '↗';
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-size: 1.1rem;
  color: var(--grey);
  transition: color .3s, transform .3s;
}
.press-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-4px); }
.press-card:hover::after { color: var(--pink); transform: translate(2px, -2px); }

.press-source {
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.press-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.yt-wrap {
  margin-top: 4rem;
  aspect-ratio: 16/9;
  border-radius: 3px;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.yt-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
#contact {
  background: var(--deep);
  padding: 7rem 3rem;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,32,112,.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 1.5rem;
}
.contact-info h2 em { color: var(--pink); font-style: italic; }

.contact-info p {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: rgba(255,32,112,.1);
  border: 1px solid rgba(255,32,112,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.contact-detail-text a { color: inherit; text-decoration: none; transition: color .2s; }
.contact-detail-text a:hover { color: var(--pink); }

.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}
.contact-social {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.contact-social:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }
.contact-social svg { width: 17px; height: 17px; fill: currentColor; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color .3s, background .3s;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  background: rgba(255,32,112,.04);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='rgba(255,255,255,.4)'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-group select option { background: var(--deep); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }

.form-submit {
  align-self: flex-start;
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
  background: #040404;
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo span { color: var(--pink); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2rem;
  list-style: none;
}
.footer-nav a {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.2);
}
.footer-copy a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-copy a:hover { color: var(--white); }

.footer-line {
  width: 40px;
  height: 1px;
  background: var(--pink);
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-top: -.25rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.footer-social:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }

/* Nav socials */
.nav-socials {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-social-icon {
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  transition: color .3s;
  text-decoration: none;
}
.nav-social-icon:hover { color: var(--pink); }
.nav-social-icon::after { display: none !important; }

/* Active page indicator */
.nav-links .nav-active { color: var(--white) !important; }
.nav-links .nav-active::after { width: 100% !important; }

/* Mobile menu socials */
.mobile-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}
.mobile-socials a {
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  font-size: 0;
  transition: color .3s;
}
.mobile-socials a:hover { color: var(--pink); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #story { grid-template-columns: 1fr; gap: 3rem; max-width: 700px; }
  .story-image-wrap { max-width: 400px; margin: 0 auto; }
  .career-grid { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  nav.scrolled { padding: .9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 0 1.5rem 4rem; }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 5rem); }

  #stats-bar { padding: 1.5rem 1rem; }
  .stat-item { padding: .5rem 1.5rem; }
  .stat-number { font-size: 1.8rem; }

  #story, #career, #style, #calendar, #sponsors, #gallery, #press, #contact { padding: 5rem 1.5rem; }

  .press-grid { grid-template-columns: 1fr; }
  .race-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .countdown { flex-wrap: wrap; justify-content: center; }
  .sponsor-logos { gap: 2rem 3rem; }
}

/* ═══════════════════════════════════════════════════════════════
   CRAFT UPGRADE — Awwwards-level enhancements
   These rules override/extend the originals above
═══════════════════════════════════════════════════════════════ */

/* ─── Easing tokens ─────────────────────────────────────────── */
:root {
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap:   cubic-bezier(0.85, 0, 0.15, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --text-hero:   clamp(4.5rem, 16vw, 15rem);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── LOADER ─────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#loader.done {
  animation: loaderSlide 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  pointer-events: none;
}
@keyframes loaderSlide {
  to { transform: translateY(-100%); }
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.loader-num {
  font-family: var(--font-head);
  font-size: clamp(5rem, 20vw, 14rem);
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: block;
  min-width: 3ch;
  text-align: right;
}
.loader-bar {
  width: clamp(160px, 25vw, 240px);
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--pink);
  width: 0%;
  transition: width 0.05s linear;
}
.loader-tag {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ─── PAGE TRANSITION ────────────────────────────────────────── */
#pageTransition {
  position: fixed;
  inset: 0;
  background: var(--pink);
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
  will-change: transform;
}
#pageTransition.entering {
  animation: ptIn 0.55s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}
#pageTransition.exiting {
  transform: scaleY(1);
  transform-origin: top;
  animation: ptOut 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ptIn {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes ptOut {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0); }
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }

  #cursorDot {
    width: 6px; height: 6px;
    background: #FF2070;
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  #cursorDot.hover { width: 10px; height: 10px; }

  #cursorRing {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s;
    will-change: transform;
  }
  #cursorRing.hover {
    width: 60px; height: 60px;
    border-color: rgba(255,32,112,0.5);
  }

  a, button, [data-magnetic] { cursor: none; }
}

/* ─── HERO — CRAFT REBUILD ───────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero.jpg') center 60% / cover no-repeat;
  will-change: transform;
  opacity: 0.22;
  filter: grayscale(30%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9,9,9,0.97) 0%,
    rgba(9,9,9,0.88) 40%,
    rgba(9,9,9,0.5) 70%,
    rgba(9,9,9,0.2) 100%
  );
  z-index: 2;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 280px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 3;
}

.hero-glow {
  position: absolute;
  left: -8%;
  bottom: 0;
  width: 65vw;
  height: 65vh;
  background: radial-gradient(ellipse at 30% 70%, rgba(255,32,112,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 0 clamp(1.5rem, 5vw, 5rem) clamp(4rem, 8vh, 5.5rem);
  width: 100%;
  max-width: none;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-eyebrow.visible { opacity: 1; transform: translateY(0); }
.hero-eyebrow .sep { color: var(--pink); }

/* ══ THE SIGNATURE: split filled / outlined name ══ */
.hero-name {
  margin: 0 0 1.25rem;
  line-height: 0.87;
  letter-spacing: -0.02em;
}

.name-first,
.name-last {
  display: block;
  font-family: var(--font-head);
  font-size: var(--text-hero);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

/* JACK — solid white, clips up from bottom */
.name-first {
  color: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 1.05s cubic-bezier(0.23, 1, 0.32, 1);
}
.name-first.visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* TABERY — outlined stroke only, clips up 120ms staggered */
.name-last {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.8);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 1.05s cubic-bezier(0.23, 1, 0.32, 1) 0.12s;
}
.name-last.visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Descriptor */
.hero-descriptor {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.35s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.35s;
}
.hero-descriptor.visible { opacity: 1; transform: translateY(0); }

/* Metrics */
.hero-metrics {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.5s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}
.hero-metrics.visible { opacity: 1; transform: translateY(0); }

.metric { display: flex; flex-direction: column; }
.metric strong {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.metric strong sup { font-size: 0.55em; vertical-align: super; }
.metric span {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 0.2rem;
}

/* Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.65s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.65s;
}
.hero-actions.visible { opacity: 1; transform: translateY(0); }

.btn-ghost {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: var(--white); }

/* Socials */
.hero-socials {
  display: flex;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.8s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.8s;
}
.hero-socials.visible { opacity: 1; transform: translateY(0); }
.hero-socials a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.25s; display: flex; align-items: center; }
.hero-socials a:hover { color: rgba(255,255,255,0.85); }
.hero-socials svg { width: 17px; height: 17px; fill: currentColor; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(2.5rem, 5vh, 4rem);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.scroll-hint-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  animation: scrollPulse 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Hide old scroll indicator on index */
.scroll-indicator { display: none; }

/* ─── STATS BAR — CRAFT REBUILD ──────────────────────────────── */
#stats-bar {
  background: #080808;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: unset;
  justify-content: unset;
}
#stats-bar::before { display: none; }

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}
.stat-item.visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }
.stat-item:last-child { border-right: none; }

/* Accent left line */
.stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: var(--pink);
  transform: scaleY(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.65s;
}
.stat-item.visible::before { transform: scaleY(1); }
.stat-item:nth-child(2)::before { transition-delay: 0.75s; }
.stat-item:nth-child(3)::before { transition-delay: 0.85s; }
.stat-item:nth-child(4)::before { transition-delay: 0.95s; }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ─── FOOTER — CRAFT REBUILD ─────────────────────────────────── */
footer {
  background: #040404;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0;
  display: block;
  text-align: left;
  overflow: hidden;
  align-items: unset;
  gap: unset;
}

/* Hide old footer elements replaced by new structure */
footer .footer-logo,
footer .footer-tagline,
footer .footer-line { display: none; }

.footer-top {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.footer-headline span:first-child { display: block; color: var(--white); }
.footer-headline span:last-child {
  display: block;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
}

.footer-cta-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--pink);
  padding: 1.1rem 2.5rem;
  text-decoration: none;
  flex-shrink: 0;
  align-self: center;
  transition: background 0.3s, color 0.3s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-cta-link:hover { background: var(--white); transform: translateY(-3px); }

/* Marquee */
.footer-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeRoll 28s linear infinite;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  align-items: center;
}
.marquee-track span { padding: 0 1.5rem; }
.marquee-sep { color: var(--pink) !important; padding: 0 0.25rem !important; }
@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.footer-bottom {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  justify-content: flex-start;
}
footer .footer-nav a {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
footer .footer-nav a:hover { color: rgba(255,255,255,0.7); }

footer .footer-socials { display: flex; gap: 0.625rem; align-items: center; }
footer .footer-social {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
footer .footer-social:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }

footer .footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.18); }
footer .footer-copy a { color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
footer .footer-copy a:hover { color: rgba(255,255,255,0.6); }

/* btn-primary magnetic wrapper */
.btn-primary { display: inline-block; will-change: transform; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,32,112,0.4); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --text-hero: clamp(3.5rem, 17.5vw, 8rem); }
  .name-last { -webkit-text-stroke-width: 1.5px; }
  .hero-content { padding: 0 1.5rem clamp(3.5rem, 7vh, 5rem); }
  .hero-metrics { gap: 1.25rem; }
  #stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
@media (max-width: 480px) {
  :root { --text-hero: clamp(2.8rem, 18vw, 5.5rem); }
  .name-last { -webkit-text-stroke-width: 1px; }
}


/* ─── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 12s linear;
}
.page-hero:hover .page-hero-bg { transform: scale(1.1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.1) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem clamp(1.5rem, 5vw, 5rem) 5rem;
  width: 100%;
}
.page-hero-eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .75rem;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -0.02em;
}
.pht-filled { display: block; color: var(--white); }
.pht-outlined {
  display: block;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.7);
}

/* ─── CURSOR: start hidden, activate on first mousemove ────────── */
@media (hover: hover) and (pointer: fine) {
  #cursorDot  { opacity: 0; transition: opacity .3s, width .3s, height .3s; }
  #cursorDot.clicking { transform: translate(-50%, -50%) scale(0.7); }
  #cursorRing { opacity: 0; }
}

/* ─── HISTOIRE TEASER ──────────────────────────────────────────── */
#histoire-teaser {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--deep);
  overflow: hidden;
}
.histoire-teaser-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.histoire-teaser-image { position: relative; }
.histoire-teaser-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 65% 20%;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}
.histoire-teaser-badge {
  position: absolute;
  bottom: 2rem; right: -1rem;
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--gold);
  padding: .6rem 1.25rem;
  z-index: 2;
}
.histoire-teaser-text { display: flex; flex-direction: column; gap: 1.5rem; }
.histoire-teaser-quote {
  border-left: 2px solid var(--pink);
  padding: .25rem 0 .25rem 1.5rem;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
  margin: .25rem 0;
}
.btn-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
  text-decoration: none;
  transition: gap .3s var(--ease-out);
}
.btn-text-arrow:hover { gap: 1.1rem; }

/* ─── PALMARES ─────────────────────────────────────────────────── */
#palmares {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5rem);
  background: #0a0a0a;
}
.palmares-inner { max-width: 1240px; margin: 0 auto; }
.palmares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.palmares-card {
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.palmares-card:hover { transform: translateY(-6px); }
.palmares-rank {
  font-family: var(--font-head);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .75rem;
}
.palmares-rank sup { font-size: .45em; }
.palmares-event {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .4rem;
}
.palmares-detail { font-size: .82rem; color: rgba(255,255,255,.35); letter-spacing: .08em; text-transform: uppercase; }
.palmares-gold .palmares-rank { color: var(--gold); }
.palmares-gold { border-top: 2px solid var(--gold); }
.palmares-pink .palmares-rank { color: var(--pink); }
.palmares-pink { border-top: 2px solid var(--pink); }
.palmares-silver .palmares-rank { color: rgba(255,255,255,.65); }
.palmares-silver { border-top: 2px solid rgba(255,255,255,.15); }

/* ─── GALERIE PREVIEW ──────────────────────────────────────────── */
#galerie-preview {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--deep);
}
.galerie-preview-inner { max-width: 1240px; margin: 0 auto; }
.galerie-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.galerie-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.galerie-preview-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
}
.galerie-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.galerie-preview-item:hover img { transform: scale(1.06); }
.galerie-preview-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(10,10,10,.8), transparent);
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transition: opacity .3s;
}
.galerie-preview-item:hover .galerie-preview-overlay { opacity: 1; }

@media (max-width: 900px) {
  .histoire-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .histoire-teaser-badge { right: 0; }
  .palmares-grid { grid-template-columns: 1fr; }
  .galerie-preview-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: clamp(3rem, 12vw, 7rem); }
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN UPGRADES — Motorsport precision polish
═══════════════════════════════════════════════════════════════ */

/* ─── Section label: racing bar prefix ─────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pink);
  flex-shrink: 0;
}

/* ─── Hero: diagonal speed accent ──────────────────────────── */
.hero-socials {
  position: relative;
  padding-top: 0.25rem;
}
.hero-socials::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, var(--pink), rgba(255,32,112,0));
}

/* ─── Hero name: text shadow for depth ──────────────────────── */
.name-first {
  text-shadow: 0 0 120px rgba(255,32,112,0.08);
}

/* ─── Hero racing year watermark ───────────────────────────── */
#hero::after {
  content: '2026';
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  top: 50%;
  transform: translateY(-52%) rotate(90deg);
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}
@media (max-width: 768px) { #hero::after { display: none; } }

/* ─── Stats bar: pink top line on each cell ─────────────────── */
.stat-item {
  border-top: 2px solid transparent;
  transition: border-color 0.4s, clip-path 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}
.stat-item:hover { border-top-color: var(--pink); }
.stat-item:nth-child(2):hover { border-top-color: var(--gold); }
.stat-item:nth-child(4) { border-top-color: var(--gold) !important; }

/* ─── Palmares cards: glow on hover ────────────────────────── */
.palmares-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.palmares-gold:hover {
  border-color: rgba(201,160,80,0.35);
  box-shadow: 0 0 50px rgba(201,160,80,0.10), 0 24px 60px rgba(0,0,0,0.45);
}
.palmares-pink:hover {
  border-color: rgba(255,32,112,0.35);
  box-shadow: 0 0 50px rgba(255,32,112,0.12), 0 24px 60px rgba(0,0,0,0.45);
}
.palmares-silver:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

/* ─── Palmares: rank number subtle glow ─────────────────────── */
.palmares-gold .palmares-rank {
  text-shadow: 0 0 40px rgba(201,160,80,0.3);
}
.palmares-pink .palmares-rank {
  text-shadow: 0 0 40px rgba(255,32,112,0.3);
}

/* ─── Histoire teaser: corner bracket decorations ───────────── */
.histoire-teaser-image::before,
.histoire-teaser-image::after {
  content: '';
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.histoire-teaser-image::before {
  top: -10px;
  left: -10px;
  width: 36px;
  height: 36px;
  border-top: 2px solid var(--pink);
  border-left: 2px solid var(--pink);
}
.histoire-teaser-image::after {
  bottom: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

/* ─── Galerie preview: inset border on hover ────────────────── */
.galerie-preview-item {
  transition: box-shadow 0.4s;
}
.galerie-preview-item:hover {
  box-shadow: inset 0 0 0 2px rgba(255,32,112,0.5);
}

/* ─── btn-primary: stronger gradient and glow ───────────────── */
.btn-primary {
  background: linear-gradient(130deg, #FF2070 0%, #c9175a 100%);
  box-shadow: 0 4px 20px rgba(255,32,112,0.2);
}
.btn-primary:hover {
  box-shadow: 0 8px 36px rgba(255,32,112,0.5), 0 0 80px rgba(255,32,112,0.12);
  transform: translateY(-3px);
}

/* ─── btn-ghost: sharper hover ──────────────────────────────── */
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  box-shadow: 0 0 20px rgba(255,255,255,0.04);
}

/* ─── Mobile menu: smooth reveal animation ──────────────────── */
.mobile-menu.open {
  animation: mobileMenuIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

/* ─── Page hero: title accent line ─────────────────────────── */
.page-hero-content::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--pink);
  margin-top: 2rem;
}

/* ─── Body text contrast improvement ───────────────────────── */
.histoire-teaser-text p { color: rgba(255,255,255,0.72); }
.palmares-detail { color: rgba(255,255,255,0.45); }

/* ─── Footer CTA headline: tighter gradient ─────────────────── */
.footer-headline span:first-child {
  background: linear-gradient(to bottom, var(--white) 60%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Nav CTA: pill feel ────────────────────────────────────── */
.nav-cta {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(201,160,80,0.3);
}

/* ─── Scrollbar: slightly wider ─────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--pink), rgba(255,32,112,0.4));
}

/* ─── Responsive adjustments ────────────────────────────────── */
@media (max-width: 768px) {
  .histoire-teaser-image::before,
  .histoire-teaser-image::after { display: none; }
  .palmares-card { background: rgba(255,255,255,0.03); }
}
