@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); }

:root {
  --jaune: #F2B200;
  --noir: #1D1E1C;
  --rouge: #D8143A;
  --rouge-fonce: #B50F30;
  --bitume: #2B2F33;
  --blanc: #F5F5F2;
  --gris: #63676B;
  --gris-clair: #A9ADB1;
  --radius: 4px;
  --wrap: 1400px;
  --gutter: 16px;
  --header: 64px;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}
@media (min-width: 1200px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rouge); text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 800; line-height: 0.95; letter-spacing: 0; text-wrap: balance; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
li { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.caps { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Buttons: one radius, red for the action */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--rouge); color: #fff;
  font-family: var(--cond); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: 0.03em;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color 300ms ease, transform 300ms ease;
}
.btn-line {
  display: inline-flex; align-items: center; min-height: 52px;
  color: var(--noir); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--rouge-fonce); transform: translateY(-2px); }
  .btn-line:hover { color: var(--rouge); }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--jaune);
  height: var(--header);
}
.top .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; color: var(--noir); text-decoration: none; margin-right: auto; }
.brand b { font-family: var(--cond); font-weight: 800; font-size: 30px; line-height: 1; }
.brand span { font-family: var(--cond); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.top-phone { font-family: var(--cond); font-weight: 800; font-size: 20px; color: var(--noir); text-decoration: none; white-space: nowrap; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 44px; padding: 0 12px;
  background: var(--noir); color: var(--jaune); border: 0; border-radius: var(--radius);
  font-family: var(--cond); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer;
}
.nav {
  position: absolute; left: 0; right: 0; top: var(--header);
  background: var(--noir); padding: 8px var(--gutter) 24px;
  display: none;
}
.nav.open { display: block; }
.nav a { display: block; padding: 14px 0; color: var(--blanc); text-decoration: none; font-family: var(--cond); font-weight: 800; font-size: 28px; text-transform: uppercase; }
.nav a.btn { display: flex; margin-top: 12px; color: #fff; }
@media (max-width: 420px) { .brand span { display: none; } }
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 28px; background: none; padding: 0; }
  .nav a { display: inline; padding: 0; color: var(--noir); font-size: 19px; font-weight: 600; letter-spacing: 0.04em; }
  .nav a.btn { display: inline-flex; margin: 0; min-height: 44px; font-size: 18px; padding: 0 18px; }
  .top-phone { order: 3; }
}
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--rouge); } }

/* Hero: the car door */
.hero { background: var(--jaune); overflow: hidden; }
.hero-grid { display: grid; grid-template-areas: "lockup" "photo" "text"; padding-top: 24px; padding-bottom: 32px; }
.lockup { grid-area: lockup; position: relative; }
.livery-top { font-family: var(--cond); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: 0.1em; }
.wordmark { font-size: 29vw; line-height: 0.8; margin: 6px 0 0 -0.04em; letter-spacing: -0.005em; }
.livery-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.livery-bottom { font-family: var(--cond); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: 0.1em; }
.band {
  display: inline-block;
  background: var(--rouge); color: #fff; text-decoration: none;
  font-family: var(--cond); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: 0.02em;
  padding: 10px 16px 9px;
  transform: rotate(-3deg);
  transition: background-color 300ms ease, transform 300ms ease;
}
@media (hover: hover) and (pointer: fine) { .band:hover { background: var(--rouge-fonce); transform: rotate(-3deg) translateY(-2px); } }
.hero-text { grid-area: text; margin-top: 24px; max-width: 34em; }
.hero-lead { font-size: 19px; line-height: 1.45; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 16px; }
.hero-photo { grid-area: photo; margin: 28px calc(var(--gutter) * -1) 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 1023px) {
  .hero-grid { min-height: calc(100svh - var(--header)); align-content: start; }
  .hero .hero-actions .btn { display: none; }
}
@media (min-width: 768px) {
  .wordmark { font-size: 24vw; }
  .band { font-size: 44px; padding: 12px 20px 11px; }
  .hero-lead { font-size: 21px; }
}
@media (min-width: 1024px) {
  .hero-grid {
    min-height: calc(100vh - var(--header));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-rows: auto auto;
    grid-template-areas: "lockup photo" "text photo";
    align-content: center;
    column-gap: 56px; padding-top: 40px; padding-bottom: 40px;
  }
  .lockup { align-self: start; margin-top: -6px; }
  .hero-text { align-self: end; margin-top: 32px; }
  .wordmark { font-size: min(14.2vw, 196px); }
  .hero-photo { align-self: center; margin: 0 calc(var(--gutter) * -1) 0 0; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .band { font-size: 48px; }
}
@media (min-width: 1440px) { .hero-photo { margin-right: calc((100vw - var(--wrap)) / -2 - var(--gutter)); } }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.dark { background: var(--bitume); color: var(--blanc); }
.dark a { color: var(--jaune); }
.yellow { background: var(--jaune); color: var(--noir); }
.h2 { font-size: 44px; }
@media (min-width: 768px) { .h2 { font-size: 60px; } }
@media (min-width: 1200px) { .h2 { font-size: 72px; } }
.lead { font-size: 19px; line-height: 1.45; max-width: 36em; }
@media (min-width: 1200px) { .lead { font-size: 22px; } }
.muted { color: var(--gris); }
.dark .muted { color: var(--gris-clair); }
.small { font-size: 14px; }
@media (min-width: 1200px) { .small { font-size: 15px; } }

/* Proof: opens on a number */
.proof-grid { display: grid; gap: 48px; }
.stat-num { display: block; font-family: var(--cond); font-weight: 800; font-size: 136px; line-height: 0.8; color: var(--jaune); letter-spacing: -0.01em; }
.stat-text { font-size: 22px; line-height: 1.3; font-weight: 500; margin-top: 16px; max-width: 16em; }
.stat .small { margin-top: 12px; }
.quotes { display: grid; gap: 40px; }
.quote p { font-size: 20px; line-height: 1.45; }
.quote footer { margin-top: 12px; font-family: var(--cond); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris-clair); }
.quote footer b { color: var(--blanc); font-weight: 800; }
.labels { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--cond); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris-clair); }
.labels li b { color: var(--blanc); font-weight: 800; }
@media (min-width: 1024px) {
  .proof-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .stat-num { font-size: 260px; }
  .stat-text { font-size: 26px; }
  .quote p { font-size: 23px; }
  .quotes { gap: 56px; }
}

/* Formations: a ruled timetable */
.formations-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 1024px) { .formations-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 80px; margin-bottom: 56px; } }
.timetable li {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 20px 0; border-top: 2px solid var(--noir);
}
.timetable li:last-child { border-bottom: 2px solid var(--noir); }
.tt-name { font-family: var(--cond); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.tt-tag { font-family: var(--cond); font-weight: 800; font-size: 20px; line-height: 1.2; white-space: nowrap; color: var(--rouge); }
.tt-detail { color: var(--gris); }
@media (min-width: 900px) {
  .timetable li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 2fr); align-items: baseline; gap: 24px; padding: 22px 0; }
  .tt-name { font-size: 32px; }
  .tt-detail { grid-column: 2; grid-row: 1; font-size: 18px; }
  .tt-tag { grid-column: 3; grid-row: 1; font-size: 24px; text-align: right; }
}
.after-list { display: grid; gap: 24px; margin-top: 32px; }
.after-list p { max-width: 38em; }
@media (min-width: 900px) { .after-list { grid-template-columns: 1fr auto; align-items: center; } }

/* Stage strip */
.stage-grid { display: grid; gap: 32px; }
.stage-dates { display: grid; gap: 16px; }
.stage-date { display: grid; gap: 2px; }
.stage-date b { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.stage-date span { font-size: 19px; font-weight: 500; }
.stage-list { margin-top: 20px; display: grid; gap: 6px; }
.stage-list li { padding-left: 22px; position: relative; }
.stage-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 3px; background: var(--noir); }
@media (min-width: 1024px) {
  .stage-grid { grid-template-columns: 6fr 6fr; gap: 80px; align-items: center; }
  .stage-date b { font-size: 56px; }
}

/* Fleet: opens on a photo */
.fleet-photo { max-width: var(--wrap); margin: 0 auto; }
.fleet-photo img { width: 100%; }
.fleet-cap { margin-top: 12px; padding: 0 var(--gutter); }
@media (min-width: 768px) { .fleet-photo { padding: 0 var(--gutter); } .fleet-cap { padding: 0; } }
.fleet-grid { display: grid; gap: 40px; margin-top: 56px; }
.fleet-black { background: #000; }
.fleet-black img { width: 100%; max-width: 577px; margin: 0 auto; }
@media (min-width: 1024px) {
  .fleet-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; margin-top: 80px; }
}

/* Team */
.team-head { display: grid; gap: 16px; margin-bottom: 48px; }
.team { display: grid; grid-template-columns: 1fr; gap: 0; }
.team li { display: grid; gap: 4px; align-content: start; padding: 14px 0; }
.team b { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: 1; }
.team .lead-member { padding-top: 0; padding-bottom: 20px; }
.team span { font-size: 15px; line-height: 1.4; color: var(--gris-clair); }
.team .lead-member { grid-column: 1 / -1; }
.team .lead-member b { font-size: 64px; color: var(--jaune); }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } .team li { padding: 0; } }
@media (min-width: 1024px) {
  .team-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 80px; margin-bottom: 64px; }
  .team { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
  .team .lead-member { grid-column: span 2; }
  .team b { font-size: 52px; }
  .team .lead-member b { font-size: 96px; }
}

/* Find us */
.find-grid { display: grid; gap: 48px; }
.address-title { font-size: 44px; white-space: pre-line; }
@media (min-width: 768px) { .address-title { font-size: 64px; } }
@media (min-width: 1200px) { .address-title { font-size: 76px; } }
.find-city { margin-top: 8px; font-size: 21px; font-weight: 500; }
.find-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; align-items: center; }
.h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 16px; }
@media (min-width: 1200px) { .h3 { font-size: 30px; } }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.hours dt { font-weight: 600; }
.hours dd { display: flex; flex-wrap: wrap; gap: 0 14px; }
.hours .off { color: var(--gris); }
.find-cols { display: grid; gap: 40px; }
.find-note { margin-top: 16px; max-width: 30em; }
@media (min-width: 900px) { .find-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
@media (min-width: 1024px) { .find-grid { grid-template-columns: 6fr 6fr; gap: 80px; align-items: start; } }
.other-agency { margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--noir); }

/* Close */
.close { text-align: left; }
.close .h2 { max-width: 8.6em; }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.close-phone { font-family: var(--cond); font-weight: 800; font-size: 28px; color: var(--noir); text-decoration: none; }

/* Footer */
.foot { background: var(--noir); color: var(--blanc); padding: 56px 0 120px; }
.foot a { color: var(--blanc); }
.foot-grid { display: grid; gap: 28px; }
.foot-brand { font-family: var(--cond); font-weight: 800; font-size: 56px; line-height: 0.9; color: var(--jaune); }
.foot-lines { display: grid; gap: 4px; }
.foot-lines [data-content="contact.address"] { white-space: pre-line; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--gris-clair); }
.foot-legal a { color: var(--gris-clair); }
@media (min-width: 1024px) {
  .foot { padding-bottom: 56px; }
  .foot-grid { grid-template-columns: 4fr 4fr 4fr; align-items: end; }
  .foot-legal { grid-column: 1 / -1; margin-top: 24px; }
}

/* Pinned action on the phone */
.pin { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--noir); }
.pin .btn { width: 100%; }
@media (min-width: 1024px) { .pin { display: none; } }

/* Sub page hero */
.page-hero { background: var(--jaune); padding: 40px 0 56px; }
.page-hero h1 { font-size: 14.6vw; margin-top: 8px; white-space: nowrap; }
.page-hero .lead { margin-top: 16px; font-weight: 500; }
@media (min-width: 768px) { .page-hero h1 { font-size: 104px; } }
@media (min-width: 1200px) { .page-hero { padding: 72px 0 88px; } .page-hero h1 { font-size: 152px; } }

.two-col { display: grid; gap: 40px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.checklist { counter-reset: n; display: grid; gap: 0; }
.checklist li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 2px solid var(--noir); }
.checklist li:last-child { border-bottom: 2px solid var(--noir); }
.checklist li::before { content: counter(n, decimal-leading-zero); font-family: var(--cond); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--rouge); }
.slots { display: grid; gap: 28px; }
.slot h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.slot p + p { margin-top: 4px; }
@media (min-width: 768px) { .slots { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* Reveal, once */
.js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.in > *, .js .reveal.is-in > * { opacity: 1; transform: none; }
.js .reveal.in > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal.in > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal.in > *:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
  .btn, .band { transition: none; }
}
