/* =========================================================
   Carl Rizk — Driver profile
   ========================================================= */
:root {
  --cream: #efede6;
  --cream-2: #e4e1d7;
  --ink: #0c0c0c;
  --ink-2: #161616;
  --ink-3: #222;
  --muted: #7a776f;
  --accent: #e10600;
  --accent-ink: #0c0c0c;
  --accent-text: #e10600;
  --white: #ffffff;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
  font-size: clamp(56px, 10vw, 168px);
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

/* split helpers */
.split-line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.split-char { display: inline-block; will-change: transform; }
.split-word { display: inline-block; white-space: nowrap; }

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none;
}
.loader__panel { position: absolute; inset: 0; background: var(--ink); }
.loader__inner {
  position: relative; width: min(420px, 80vw);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.loader__logo { width: 140px; opacity: 0; transform: translateY(20px); }
.loader__bar { width: 100%; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent-text); transform: scaleX(0); transform-origin: left; }
.loader__count {
  position: fixed; right: var(--gutter); bottom: 12px;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(80px, 18vw, 260px); line-height: .8;
  color: var(--white);
}

/* =========================================================
   Cursor
   ========================================================= */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--accent-text); }
.cursor__ring {
  width: 36px; height: 36px; border: 1px solid rgba(225, 6, 0, .6);
  display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), background-color .4s, border-color .4s;
}
.cursor__label {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease-out);
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(225, 6, 0, .12); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent-text); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   Nav + Menu
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;
  color: var(--white);
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
body.menu-open .nav { mix-blend-mode: normal; color: var(--accent-ink); }
body.menu-open .nav__logo img { filter: invert(1); }
body.menu-open .nav__menu { border-color: rgba(12,12,12,.5); }
.nav__logo img { height: 46px; width: auto; }
.nav__right { display: flex; align-items: center; gap: 28px; }
.nav__social { font-size: 14px; font-weight: 500; position: relative; }
.nav__social::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__social:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__menu {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  padding: 12px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 100px;
}
.nav__burger { display: grid; gap: 5px; width: 20px; }
.nav__burger i { display: block; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
body.menu-open .nav__burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .nav__burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 105;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 32px;
  visibility: hidden;
}
.menu__bg { position: absolute; inset: 0; background: var(--accent); clip-path: inset(0 0 100% 0); }
.menu__list { position: relative; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(12,12,12,.2); }
.menu__list a {
  display: flex; align-items: baseline; gap: 20px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 9vw, 128px); line-height: 1; color: var(--accent-ink);
  padding: 6px 0; transform: translateY(110%);
}
.menu__list a span { font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.menu__list a em { font-style: normal; transition: transform .5s var(--ease-out), color .3s; }
.menu__list a:hover em { transform: translateX(24px); color: var(--white); }
.menu__foot {
  position: relative; margin-top: auto; padding-top: 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; font-weight: 500; color: var(--accent-ink); opacity: 0;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  background: var(--cream); overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(12,12,12,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,12,12,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 75%);
}
.hero__name {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-54%);
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(150px, 30vw, 520px); line-height: .78; letter-spacing: -.02em;
  color: var(--ink); pointer-events: none; z-index: 1;
}
.hero__name .hero__line { display: block; overflow: hidden; }
.hero__name .hero__line:first-child { transform: translateX(-12%); }
.hero__name .hero__line:last-child { transform: translateX(12%); color: var(--accent); }
.hero__name--outline { z-index: 3; }
.hero__name--outline .hero__line,
.hero__name--outline .hero__line:last-child {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
}
.hero__figure {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  height: 92%; transform: translateX(-50%);
}
.hero__img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 30px 60px rgba(0,0,0,.18)); }

.hero__meta { position: absolute; bottom: 40px; z-index: 4; font-size: 14px; font-weight: 500; }
.hero__meta--left { left: var(--gutter); }
.hero__meta--left p { margin-top: 14px; line-height: 1.6; }
.hero__meta--right { right: var(--gutter); text-align: right; }
.hero__count { display: block; font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: .9; }
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 100px; background: var(--ink); color: var(--cream);
  font-size: 12px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  mix-blend-mode: difference;
}
.hero__scroll i { width: 1px; height: 44px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent);
  animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  background: var(--accent); color: var(--accent-ink); overflow: hidden;
  padding: 18px 0; transform: rotate(-2deg) scale(1.04); margin: -24px 0; position: relative; z-index: 5;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track.is-css { animation: marqueeSlide 22s linear infinite; }
@keyframes marqueeSlide { to { transform: translate3d(-50%, 0, 0); } }
.hero__figure, .hero__name { will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(36px, 5vw, 72px); line-height: 1; padding: 0 28px; white-space: nowrap;
}
.marquee__group b { font-size: clamp(20px, 2.4vw, 34px); }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--ink); color: var(--cream); padding: clamp(120px, 18vw, 240px) 0 clamp(80px, 12vw, 160px); }
.about .eyebrow { color: #8b8880; }
.about__grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.about__side .display { font-size: clamp(40px, 4.8vw, 80px); }
.about__lead {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 54px); line-height: 1.04; letter-spacing: .005em;
  max-width: 22ch;
}
.about__lead .split-word { color: rgba(239,237,230,.3); transition: none; }
.about__text { margin-top: 32px; max-width: 56ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: #bdbab1; }
.about__body .more-link { margin-top: 36px; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid rgba(255,255,255,.14);
}
.stat { padding-top: 28px; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 10vw, 160px); line-height: .85; color: var(--accent-text); }
.stat__label { display: block; margin-top: 12px; font-size: 14px; color: #a9a69d; }

/* =========================================================
   Honours (horizontal)
   ========================================================= */
.honours { background: var(--cream); overflow: hidden; }
.honours__pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
.honours__track {
  display: flex; align-items: stretch; gap: clamp(16px, 2vw, 32px);
  padding: 0 var(--gutter); height: min(78vh, 720px); will-change: transform;
}
.honours__intro {
  flex: 0 0 auto; width: min(560px, 80vw);
  display: flex; flex-direction: column; justify-content: center;
}
.honours__hint { margin-top: 32px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.honours__hint i { font-style: normal; display: inline-block; animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.honour {
  flex: 0 0 auto; width: min(520px, 82vw);
  border-radius: 20px; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.honour::before {
  content: ""; position: absolute; right: -30%; top: -30%; width: 80%; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid currentColor; opacity: .12;
}
.honour--dark { background: var(--ink); color: var(--cream); }
.honour--accent { background: var(--accent); color: var(--accent-ink); }
.honour--light { background: var(--white); color: var(--ink); }
.honour__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.honour__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(180px, 22vw, 320px); line-height: .78; display: flex; align-items: flex-start; }
.honour__num sup { font-size: .35em; line-height: 1; margin-left: .05em; }
.honour--dark .honour__num { color: var(--accent-text); }
.honour__num--year { font-size: clamp(110px, 13vw, 190px); letter-spacing: -.02em; }
.honour-list .honour-row--year { grid-template-columns: auto 3fr minmax(140px, 1fr); }
.honour-row .honour-row__num--year { font-size: clamp(56px, 7vw, 120px); letter-spacing: -.02em; white-space: nowrap; padding-right: 8px; }
.honour__bottom h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .9; }
.honour__bottom p { margin-top: 14px; font-size: 15px; max-width: 34ch; opacity: .75; }
.honours__outro {
  flex: 0 0 auto; width: min(420px, 70vw); display: grid; place-items: center;
}
.honours__outro img { width: 60%; filter: invert(1); opacity: .9; }

/* =========================================================
   Driver
   ========================================================= */
.driver { position: relative; background: var(--ink); color: var(--cream); padding: clamp(100px, 14vw, 200px) 0; overflow: hidden; }
.driver__bgtext {
  position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 34vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
  white-space: nowrap; text-align: center; pointer-events: none;
}
.driver__bgtext span { display: inline-block; }
.driver__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.driver__media { position: relative; }
.driver__mask {
  position: relative; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #ff2e2a 0%, var(--accent) 40%, #9e0400 100%);
  aspect-ratio: 4 / 5;
  clip-path: inset(100% 0 0 0 round 24px);
}
.driver__mask img {
  position: absolute; left: 50%; bottom: 0; height: 104%; width: auto; max-width: none;
  transform: translateX(-50%);
}
/* real photo instead of the cut-out on a red gradient */
.driver__mask--photo { background: var(--ink-2); }
.driver__mask--photo img {
  left: 0; top: -10%; bottom: auto; width: 100%; height: 120%;
  object-fit: cover; object-position: 50% 28%; transform: none;
}
/* extra room under the big follow handle so the @ descender is not clipped */
.follow__text .split-line { padding-bottom: .16em; margin-bottom: -.16em; }
.driver__copy .display { font-size: clamp(56px, 7vw, 120px); margin-bottom: 28px; }
.driver__copy > p:not(.eyebrow) { font-size: 18px; color: #bdbab1; max-width: 46ch; }
.driver__copy .eyebrow { color: #8b8880; }
.driver__list { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.driver__list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px;
}
.driver__list span { color: #8b8880; }
.driver__list b { font-weight: 600; }
.driver__list a { color: var(--accent-text); }

/* =========================================================
   Helmet
   ========================================================= */
.helmet { position: relative; background: var(--cream); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.helmet__lines { display: grid; gap: 4px; }
.helmet__line { display: flex; gap: .3em; white-space: nowrap; will-change: transform; }
.helmet__line span {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(80px, 13vw, 220px); line-height: .9;
}
.helmet__line span.o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.helmet__line span.accent { color: var(--accent); }
.helmet__badge {
  position: absolute; left: 50%; top: 50%; width: clamp(220px, 26vw, 360px); aspect-ratio: 1;
  transform: translate(-50%, -50%); z-index: 2;
}
.helmet__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.helmet__ring text { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: .12em; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.helmet__photo {
  position: absolute; inset: 22%; border-radius: 50%; overflow: hidden;
  background: var(--ink); box-shadow: 0 0 0 6px var(--accent), 0 30px 60px rgba(0,0,0,.25);
}
.helmet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 0%; transform: scale(1.18); transform-origin: 44% 8%; }

/* =========================================================
   Partners
   ========================================================= */
.partners { background: var(--ink); color: var(--cream); padding: clamp(100px, 14vw, 200px) 0; }
.partners__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.partners__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; color: #8b8880; }
.partners__sub { max-width: 30ch; color: #a9a69d; font-size: 16px; text-align: right; }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); perspective: 1200px; }
.partner {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px;
  display: grid; place-items: center; padding: 18%;
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .5s var(--ease-out);
  overflow: hidden;
}
.partner img { width: 100%; height: auto; max-height: 100%; object-fit: contain; transform: translateZ(40px); transition: transform .6s var(--ease-out); }
.partner:hover img { transform: translateZ(40px) scale(1.06); }
.partner:hover { box-shadow: 0 40px 80px -20px rgba(225, 6, 0, .35); }
.partner__idx, .partner__name {
  position: absolute; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.partner__idx { top: 20px; left: 22px; }
.partner__name { bottom: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; }
.partner::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
}
.partner--white { background: var(--white); color: var(--ink); }
.partner--white::after { border-color: rgba(0,0,0,.06); }
.partner--black { background: #050505; color: var(--cream); }
.partner--black::after { border-color: rgba(255,255,255,.14); }
.partner--grey { background: #1c1c1c; color: var(--cream); }
.partner--accent { background: var(--accent); color: var(--accent-ink); }
.partner--accent::after { border-color: rgba(12,12,12,.12); }
a.partner .partner__name::after { content: "↗"; }

/* =========================================================
   Follow
   ========================================================= */
.follow {
  background: var(--accent); color: var(--accent-ink); text-align: center;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
}
.follow .eyebrow { color: var(--accent-ink); opacity: .7; }
.follow__link { display: inline-flex; align-items: flex-start; gap: .1em; position: relative; }
.follow__text {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 14vw, 240px); line-height: .85; letter-spacing: -.01em;
}
.follow__arrow {
  font-size: clamp(36px, 6vw, 96px); line-height: 1; transition: transform .6s var(--ease-out);
}
.follow__link:hover .follow__arrow { transform: translate(12px, -12px) rotate(10deg); }
.follow__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.follow__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: var(--cream); padding: 80px var(--gutter) 24px; overflow: hidden; }
.footer__top { display: flex; gap: clamp(40px, 8vw, 120px); align-items: flex-start; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__col a { width: fit-content; transition: color .3s; }
.footer__col a:hover { color: var(--accent); }
.footer__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8b8880; margin-bottom: 6px; }
.footer__top-btn {
  margin-left: auto; padding: 14px 22px; border-radius: 100px; border: 1px solid rgba(255,255,255,.25);
  font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s;
}
.footer__top-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer__logo { display: grid; place-items: center; padding: clamp(60px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.footer__logo img { width: min(720px, 80vw); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: #8b8880;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav__social { display: none; }
  .nav__logo img { height: 38px; }
  .hero__figure { height: 58%; }
  .hero__name { font-size: 40vw; top: 32%; }
  /* give the clipped line boxes headroom so the tops of CARL are not cut */
  .hero__name .hero__line { line-height: .92; padding-top: .06em; margin-top: -.06em; }
  .hero__meta { bottom: 24px; font-size: 12px; }
  .hero__meta--left p { display: none; }
  .hero__count { font-size: 48px; }
  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__stats { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }

  .honours__pin { height: auto; padding: 100px 0; }
  .honours__track { flex-direction: column; height: auto; }
  .honours__intro, .honour, .honours__outro { width: 100%; }
  .honours__hint { display: none; }
  .honour { min-height: 480px; }
  .honours__outro { padding: 40px 0 0; }
  .honours__outro img { width: 50%; }

  .driver__inner { grid-template-columns: 1fr; }
  .driver__media { max-width: 480px; }

  .partners__head { grid-template-columns: 1fr; }
  .partners__sub { text-align: left; }
  .partners__grid { grid-template-columns: 1fr; }
  .partner { aspect-ratio: 4 / 3; padding: 14% 24% 20%; }

  .footer__top-btn { margin-left: 0; }
}

/* =========================================================
   Shared: links, current menu item
   ========================================================= */
.menu__list a[aria-current="page"] em { color: var(--cream); }
.more-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor; width: fit-content;
}
.more-link i { font-style: normal; transition: transform .5s var(--ease-out); }
.more-link:hover i { transform: translateX(8px); }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease-out);
}
.btn i { font-style: normal; transition: transform .5s var(--ease-out); }
.btn:hover i { transform: translate(4px, -4px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--accent); color: var(--accent-ink); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--cream); color: var(--ink); }
.btn--outline { border: 1px solid currentColor; }
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* =========================================================
   Sub pages
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--cream); color: var(--ink);
  padding: clamp(150px, 24vh, 240px) 0 clamp(56px, 8vw, 110px);
  min-height: 70vh; display: flex; align-items: flex-end;
}
.page-hero--dark { background: var(--ink); color: var(--cream); }
.page-hero--accent { background: var(--accent); color: var(--accent-ink); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__idx {
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.page-hero--accent .page-hero__idx { color: var(--accent-ink); }
.page-hero .display { font-size: clamp(76px, 17vw, 280px); }
.page-hero__sub {
  margin-top: 36px; max-width: 46ch;
  font-size: clamp(18px, 2vw, 26px); line-height: 1.35; font-weight: 500;
}
.page-hero:not(.page-hero--dark):not(.page-hero--accent) .page-hero__sub { color: #4a4841; }
.page-hero--dark .page-hero__sub { color: #bdbab1; }
.page-hero--dark .page-hero__idx { color: var(--accent-text); }
.page-hero__bg {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 40vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(12,12,12,.14); pointer-events: none; white-space: nowrap;
}
.page-hero--dark .page-hero__bg { -webkit-text-stroke-color: rgba(255,255,255,.1); }
.page-hero--accent .page-hero__bg { -webkit-text-stroke-color: rgba(12,12,12,.2); }
.page-hero__bg span { display: inline-block; }

.section { padding: clamp(90px, 12vw, 180px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .eyebrow { color: #8b8880; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--accent { background: var(--accent); color: var(--accent-ink); }
.section--accent .eyebrow { color: var(--accent-ink); opacity: .7; }
.section__head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section__head .eyebrow { margin-bottom: 18px; }
.section__intro { max-width: 32ch; font-size: 16px; text-align: right; color: #8b8880; }
.section--cream .section__intro { color: #6d6a62; }
.display--md { font-size: clamp(48px, 7vw, 120px); }
.display--sm { font-size: clamp(36px, 4.5vw, 72px); }

.prose { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; max-width: 62ch; }
.prose p + p { margin-top: 1.2em; }
.section--dark .prose { color: #bdbab1; }
.section--dark .prose strong { color: var(--cream); font-weight: 600; }
.section--cream .prose { color: #4a4841; }
.section--cream .prose strong { color: var(--ink); font-weight: 600; }

.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.two-col--rev { grid-template-columns: 7fr 5fr; }
.two-col__media { position: sticky; top: 110px; }
.two-col__copy .display { margin-bottom: 32px; }

.media-card {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5;
  background: radial-gradient(circle at 50% 35%, #ff2e2a 0%, var(--accent) 40%, #9e0400 100%);
}
.media-card--cream { background: var(--cream-2); }
.media-card--ink { background: #1a1a1a; }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card--contain img { object-fit: contain; object-position: bottom; height: 104%; top: auto; }
.reveal-mask { clip-path: inset(100% 0 0 0 round 24px); }

.facts { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.14); }
.facts li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px;
}
.facts span { color: #8b8880; }
.facts b { font-weight: 600; text-align: right; }
.facts a { color: var(--accent-text); }
.section--cream .facts, .section--cream .facts li { border-color: rgba(12,12,12,.14); }
.section--cream .facts span { color: #6d6a62; }

.pull {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 108px); line-height: .95; letter-spacing: -.005em; max-width: 16ch;
}
.pull + p { margin-top: 32px; max-width: 48ch; font-size: 17px; font-weight: 500; }

.timeline { border-top: 1px solid rgba(12,12,12,.14); counter-reset: tl; }
.timeline__item {
  display: grid; grid-template-columns: 140px 1fr; gap: 24px 48px; align-items: start;
  padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid rgba(12,12,12,.14);
}
.timeline__num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 6vw, 96px); line-height: .85;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.timeline__item h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4vw, 64px); line-height: .9; }
.timeline__item p { margin-top: 16px; max-width: 58ch; color: #4a4841; font-size: 17px; line-height: 1.6; }
.timeline__item .tag { margin-top: 20px; }
.tag--accent { background: var(--accent); color: var(--accent-ink); }
.tag--outline { background: transparent; color: inherit; border: 1px solid currentColor; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.stats-row .stat { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.stats-row .stat__num { font-size: clamp(72px, 8vw, 140px); }

/* honours page */
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.summary { padding: clamp(28px, 3vw, 44px); border-radius: 20px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); }
.summary__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(88px, 10vw, 160px); line-height: .85; color: var(--accent-text); }
.summary__label { display: block; margin-top: 16px; font-size: 14px; color: #a9a69d; }
.summary--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.summary--accent .summary__num { color: var(--accent-ink); }
.summary--accent .summary__label { color: rgba(12,12,12,.7); }

.honour-list { border-top: 1px solid rgba(12,12,12,.14); }
.honour-row {
  display: grid; grid-template-columns: minmax(180px, 1fr) 3fr minmax(140px, 1fr); align-items: center; gap: 32px;
  padding: clamp(36px, 5vw, 72px) 0; border-bottom: 1px solid rgba(12,12,12,.14);
}
.honour-row__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(96px, 13vw, 220px); line-height: .8; color: var(--accent); }
.honour-row__num sup { font-size: .35em; margin-left: .04em; }
.honour-row__name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 5.5vw, 88px); line-height: .9; }
.honour-row__desc { margin-top: 16px; max-width: 52ch; color: #4a4841; font-size: 17px; line-height: 1.6; }
.honour-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6d6a62; text-align: right; }

.discipline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.discipline { padding: clamp(28px, 3.5vw, 48px); border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); }
.discipline--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.discipline h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.5vw, 72px); line-height: .9; }
.discipline__total { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.discipline ul { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.discipline--accent ul { border-color: rgba(12,12,12,.2); }
.discipline li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 16px; }
.discipline--accent li { border-color: rgba(12,12,12,.2); }
.discipline li b { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1; }
.discipline:not(.discipline--accent) li b { color: var(--accent-text); }

/* partners page */
.partner-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center;
  padding: clamp(56px, 8vw, 120px) 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.partner-feature:first-of-type { padding-top: 0; }
.partner-feature:nth-child(even) .logo-card { order: 2; }
.logo-card {
  aspect-ratio: 4 / 3; border-radius: 24px; display: grid; place-items: center; padding: 16%;
  position: relative; overflow: hidden; transform-style: preserve-3d;
}
.logo-card img { width: 100%; max-height: 100%; object-fit: contain; transform: translateZ(40px); }
.logo-card--white { background: var(--white); }
.logo-card--black { background: #050505; border: 1px solid rgba(255,255,255,.14); }
.logo-card--grey { background: #1c1c1c; border: 1px solid rgba(255,255,255,.08); }
.logo-card--accent { background: var(--accent); }
.partner-feature__idx { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .12em; color: var(--accent-text); margin-bottom: 18px; }
.partner-feature h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5.5vw, 88px); line-height: .9; }
.partner-feature .tag { margin: 22px 0 28px; }
.partner-feature .btn { margin-top: 32px; }

.cta-band { text-align: center; }
.cta-band .display { max-width: 12ch; margin: 0 auto 32px; }
.cta-band p { max-width: 48ch; margin: 0 auto 40px; font-size: 18px; font-weight: 500; }

/* follow page */
.follow-big { text-align: center; }
.follow-big .follow__link { color: var(--ink); }
.follow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(48px, 6vw, 80px); }
.follow-tile {
  position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: block;
  background: var(--cream-2);
}
.follow-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.follow-tile--contain img { object-fit: contain; object-position: bottom; }
.follow-tile--ink { background: #151515; }
.follow-tile--accent { background: var(--accent); display: grid; place-items: center; }
.follow-tile--accent img { width: 50%; height: auto; }
.follow-tile:hover img { transform: scale(1.05); }
.follow-tile::after {
  content: "↗"; position: absolute; right: 16px; top: 12px; font-size: 22px; color: var(--cream);
  mix-blend-mode: difference; opacity: 0; transition: opacity .3s;
}
.follow-tile:hover::after { opacity: 1; }

/* home follow band (compact) */
.follow__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; text-align: left;
}
.follow__copy .display { font-size: clamp(40px, 5vw, 84px); margin-bottom: 24px; }
.follow__body { max-width: 40ch; font-size: 17px; font-weight: 500; line-height: 1.55; margin-bottom: 32px; }
.follow__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.follow .btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.follow__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.follow__tiles .follow-tile { border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); }
.follow__tiles .follow-tile:nth-child(2) { transform: translateY(-16px); }
.follow__tiles .follow-tile:nth-child(3) { transform: translateY(16px); }
body:not([data-page]) .follow { text-align: left; padding: clamp(64px, 8vw, 110px) var(--gutter); }
@media (max-width: 900px) {
  .follow__inner { grid-template-columns: 1fr; }
  .follow__tiles .follow-tile:nth-child(2), .follow__tiles .follow-tile:nth-child(3) { transform: none; }
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact-card { padding: clamp(28px, 3.5vw, 48px); border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); }
.contact-card h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4vw, 64px); line-height: .9; }
.contact-card p { margin: 18px 0 28px; color: #bdbab1; font-size: 16px; line-height: 1.6; }

/* photos */
.timeline__item--photo { grid-template-columns: 140px 1fr minmax(220px, 340px); }
.timeline__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); }
.timeline__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: clamp(10px, 1.4vw, 18px); }
.photo-grid--2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 360px; }
.photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink-2); }
.photo--tall { grid-row: span 2; }
.photo--wide { grid-column: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 14px; bottom: 12px; padding: 7px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(12,12,12,.55); color: var(--cream); backdrop-filter: blur(6px);
}
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(28px, 4vw, 48px); }
.photo-row .photo { aspect-ratio: 3 / 2; }
.honour-row__photos { grid-column: 1 / -1; }
.section__note { margin-top: 20px; font-size: 14px; color: #6d6a62; max-width: 60ch; }
.section--dark .section__note { color: #8b8880; }
@media (max-width: 900px) {
  .timeline__item--photo { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .photo-grid--2 { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .photo--wide { grid-column: span 2; }
  .photo-grid--2 .photo--wide { grid-column: auto; }
  .photo-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .photo--tall, .photo--wide { grid-row: auto; grid-column: auto; }
}

/* results lists */
.results { border-top: 1px solid rgba(255,255,255,.14); }
.result {
  display: grid; grid-template-columns: 96px 1.6fr 1.2fr 130px; gap: 16px 32px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.result__year { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--accent); }
.result__event { font-weight: 600; font-size: 17px; line-height: 1.35; }
.result__event small { display: block; font-weight: 400; font-size: 13px; line-height: 1.5; margin-top: 4px; color: #8b8880; }
.result__what { font-size: 15px; line-height: 1.5; color: #bdbab1; }
.result__gap { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .04em; white-space: nowrap; }
.section--cream .results, .section--cream .result { border-color: rgba(12,12,12,.14); }
.section--cream .result__event small { color: #6d6a62; }
.section--cream .result__what { color: #4a4841; }
@media (max-width: 900px) {
  .result { grid-template-columns: 72px 1fr; gap: 6px 16px; }
  .result__what { grid-column: 2; }
  .result__gap { grid-column: 2; text-align: left; font-size: 20px; }
}

/* legal pages */
.legal { max-width: 720px; }
.legal__updated { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6d6a62; margin-bottom: 40px; }
.legal h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3vw, 40px); line-height: 1; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #4a4841; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--accent); text-decoration: underline; }
.footer__bottom a:hover { color: var(--accent); }
.footer__credit { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer { padding-bottom: 32px; }
.footer__top { margin-bottom: clamp(48px, 7vw, 96px); }

/* next page link */
.next-page {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--accent); color: var(--accent-ink); padding: clamp(64px, 9vw, 140px) var(--gutter);
  position: relative; overflow: hidden;
}
.next-page::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .7s var(--ease); }
.next-page > * { position: relative; }
.next-page span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.next-page strong {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 14vw, 240px); line-height: .85; display: flex; align-items: flex-start; gap: .08em;
}
.next-page i { font-style: normal; font-size: .5em; line-height: 1.4; transition: transform .6s var(--ease-out); }
.next-page:hover::before { transform: translateY(0); }
.next-page:hover { color: var(--cream); }
.next-page:hover i { transform: translate(14px, -10px) rotate(-10deg); }

@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; }
  .section__intro { text-align: left; }
  .two-col, .two-col--rev { grid-template-columns: 1fr; }
  .two-col__media { position: static; max-width: 520px; }
  .timeline__item { grid-template-columns: 1fr; gap: 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .honour-row { grid-template-columns: 1fr; gap: 16px; }
  .honour-row__side { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; }
  .discipline-grid { grid-template-columns: 1fr; }
  .partner-feature { grid-template-columns: 1fr; }
  .partner-feature:nth-child(even) .logo-card { order: 0; }
  .follow-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 60vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .driver__mask, .reveal-mask { clip-path: none; }
  .about__lead .split-word { color: var(--cream); }
}
