:root {
  --bg: #0a0a0b;
  --bg-2: #131316;
  --bg-3: #1b1b1f;
  --line: rgba(255,255,255,.12);
  --text: #f2f1ee;
  --muted: #9a9a9f;
  --red: #e0261f;
  --red-deep: #a33433;
  --light-bg: #f2f2f2;
  --light-text: #0e0e10;
  --light-muted: #5d5d63;
  --light-line: rgba(0,0,0,.12);
  --wide: "Archivo", "Kanit", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--wide); font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.accent { color: var(--red); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.eyebrow .num { color: var(--red); font-weight: 700; letter-spacing: .05em; }
.rule { display: inline-block; width: 36px; height: 2px; background: var(--red); }
.h2 { font-size: clamp(28px, 4.4vw, 60px); font-weight: 800; max-width: 22ch; margin-bottom: clamp(40px, 6vw, 80px); }
.h2--sm { font-size: clamp(22px, 2.6vw, 34px); max-width: none; margin: clamp(48px,6vw,80px) 0 28px; }
.h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.label { font: 600 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 64px 0 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; }
.btn--primary { background: var(--red); color: #fff; }
html:not(.anim) .btn--primary:hover { background: #fff; color: var(--light-text); }
.btn--ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); color: #fff; }
html:not(.anim) .btn--ghost:hover { background: #fff; color: var(--light-text); }
.circle-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 18px; cursor: pointer; }
html:not(.anim) .circle-btn:hover { background: var(--red); border-color: var(--red); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10,10,11,.86); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font: 500 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.nav__links a { opacity: .85; }
html:not(.anim) .nav__links a:hover { opacity: 1; color: var(--red); }
.nav__cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.4); opacity: 1 !important; }
html:not(.anim) .nav__cta:hover { background: var(--red); border-color: var(--red); color: #fff !important; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.05) 35%, rgba(10,10,11,.6) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(10,10,11,.75) 0%, transparent 60%); }
.hero__content { position: relative; width: 100%; padding-bottom: clamp(80px, 12vh, 140px); padding-top: 140px; }
.hero__title { font-size: clamp(42px, 8.2vw, 128px); font-weight: 900; font-stretch: 118%; line-height: .95; margin-bottom: 28px; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__lede { max-width: 56ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.82); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; font: 500 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--muted); padding-bottom: 60px; }
.hero__scroll::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 1px; height: 48px; background: linear-gradient(var(--red), transparent); clip-path: inset(var(--t, 0%) 0 var(--b, 0%) 0); }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px 44px 0; display: flex; flex-direction: column; gap: 12px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font: 800 clamp(40px, 5vw, 68px)/1 var(--wide); font-stretch: 110%; }
.stat__label { font: 500 12px/1.4 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding-bottom: clamp(60px, 8vw, 120px); }
.section--dark2 { background: var(--bg-2); }
.section--light { background: var(--light-bg); color: var(--light-text); }
.section--light .eyebrow, .section--light .muted, .section--light p { color: var(--light-muted); }
.section--light .eyebrow .num { color: var(--red); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__head .h2 { margin-bottom: 56px; }
.scroller-ctrl { display: flex; gap: 10px; margin-bottom: 56px; }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.col { padding: 40px 40px 0 0; }
.col + .col { padding-left: 40px; border-left: 1px solid var(--line); }
.cols3--lined { border-color: var(--light-line); }
.cols3--lined .col + .col { border-color: var(--light-line); }
.cols3--lined p { font-size: 17px; }
.letter { display: block; color: var(--red); font: 700 16px/1 var(--wide); margin-bottom: 16px; }

.bullets, .numbered { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; color: var(--muted); }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--red); }
.bullets strong { color: var(--text); font-weight: 600; }
.bullets--lg { font-size: clamp(16px, 1.5vw, 20px); color: var(--text); gap: 22px; }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 34px; }
.numbered li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ---------- Feature ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--bg-2); }
.feature__media { min-height: 520px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__text { padding: clamp(48px, 7vw, 110px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.quote { margin: 0 0 28px; font: 700 clamp(24px, 2.8vw, 40px)/1.15 var(--wide); font-stretch: 108%; }

/* ---------- Drivers ---------- */
.drivers { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 24px; scroll-padding: 0 var(--gutter); scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
@media (min-width: 1600px) { .drivers { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.driver { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; background: var(--bg-2); cursor: pointer; text-align: left; border: 0; padding: 0; color: inherit; font: inherit; display: flex; flex-direction: column; }
.driver__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.driver__car { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
.driver__portrait { position: absolute; left: 50%; bottom: 0; width: 72%; aspect-ratio: 1; translate: -50% 8%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-2); }
.driver__no { position: absolute; top: 18px; left: 20px; font: 800 15px/1 var(--wide); letter-spacing: .1em; color: rgba(255,255,255,.7); }
.driver__tag { position: absolute; top: 16px; right: 16px; font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; background: var(--red); color: #fff; padding: 7px 10px; }
.driver__body { padding: 26px 24px 28px; border-top: 3px solid var(--red); flex: 1; display: flex; flex-direction: column; gap: 6px; }
.driver__name { font-size: 26px; font-weight: 800; }
.driver__role { color: var(--muted); font-size: 14px; }
.driver__more { margin-top: 18px; font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.driver__more::after { content: "→"; transform: translateX(var(--ax, 0px)); }
html:not(.anim) .driver:hover .driver__car, html:not(.anim) .driver:focus-visible .driver__car { transform: scale(1.06); filter: grayscale(0) brightness(.75); }
html:not(.anim) .driver:hover .driver__portrait { translate: -50% 4%; }
html:not(.anim) .driver:hover .driver__more::after { transform: translateX(6px); }
.driver:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.result { position: relative; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); padding: 36px 28px; display: flex; flex-direction: column; gap: 14px; }
.result__big { font: 900 clamp(36px, 3.6vw, 56px)/1 var(--wide); font-stretch: 100%; white-space: nowrap; color: var(--red); }
.result__title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.result__desc { color: var(--muted); font-size: 14px; }
.result__driver { margin-top: auto; padding-top: 14px; font: 600 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Calendar ---------- */
.calendar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.race { border: 1px solid var(--line); padding: 32px 28px; position: relative; }
.race::before { content: ""; position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: 3px; background: var(--red); transform: scaleX(var(--bar, .17)); transform-origin: 0 50%; }
html:not(.anim) .race:hover { border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
html:not(.anim) .race:hover::before { transform: scaleX(1); }
.race__series { font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.race__event { font-size: 24px; font-weight: 800; margin: 16px 0 10px; }
.race__meta { color: var(--muted); font-size: 14px; }
.race__drivers { margin-top: 26px; font-size: 14px; font-weight: 500; }
.race__drivers::before { content: "Driver · "; color: var(--muted); font-weight: 400; }
.tbc { font-size: .55em; vertical-align: middle; border: 1px solid var(--muted); color: var(--muted); padding: 3px 7px; letter-spacing: .1em; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 320px); gap: 4px; }
.g { margin: 0; position: relative; overflow: hidden; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; }
html:not(.anim) .g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* ---------- Reach ---------- */
.reach { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reach__big { display: flex; flex-direction: column; gap: 14px; }
.mega { font: 900 clamp(80px, 12vw, 180px)/.9 var(--wide); font-stretch: 110%; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { border: 1px solid var(--line); border-top-width: 3px; padding: 32px 28px 36px; background: var(--bg); }
.tier--red { border-top-color: var(--red); } .tier--white { border-top-color: #fff; } .tier--grey { border-top-color: #555; }
.tier__n { font: 800 48px/1 var(--wide); display: block; margin-bottom: 14px; }
.tier--red .tier__n { color: var(--red); } .tier--grey .tier__n { color: #666; }
.tier h3 { font-size: 18px; margin-bottom: 28px; }
.tier p { color: var(--muted); font-size: 15px; }

/* ---------- Gains ---------- */
.gains { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--light-line); }
.gain { display: flex; gap: 22px; padding: 36px 32px 44px 0; border-bottom: 1px solid var(--light-line); }
.gain:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--light-line); }
.gain__icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.gain__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gain h4 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.gain p { font-size: 16px; }

/* ---------- Ask ---------- */
.asks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ask { background: var(--bg-3); display: flex; flex-direction: column; }
.ask__img { aspect-ratio: 16 / 10; overflow: hidden; }
.ask__img img { width: 100%; height: 100%; object-fit: cover; }
html:not(.anim) .ask:hover .ask__img img { transform: scale(1.05); }
.ask__body { padding: 32px 32px 40px; }
.ask__n { display: block; font: 800 26px/1 var(--wide); color: var(--red); margin-bottom: 16px; }
.ask h3 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.ask p { color: var(--muted); }

/* ---------- Partners ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); grid-auto-rows: 110px; gap: 12px; }
.logos--team { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.logo-tile { background: #fff; display: grid; place-items: center; padding: 22px; border: 1px solid var(--light-line); }
html:not(.anim) .logo-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.logo-tile img { max-height: 66px; max-width: 100%; object-fit: contain; }
.logo-tile--wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 620px; }
.contact__left { padding: clamp(80px, 10vw, 140px) var(--gutter); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, rgba(10,10,11,.95), rgba(10,10,11,.75)), url("/assets/img/job-car.jpg") center / cover; }
.contact__title { font-size: clamp(34px, 5vw, 76px); font-weight: 900; font-stretch: 115%; line-height: 1; max-width: 16ch; }
.contact__title em { font-style: normal; color: var(--red); }
.contact__card { background: var(--bg-3); padding: clamp(48px, 6vw, 90px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.contact__card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.contact__list { margin: 32px 0 36px; }
.contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__list div:first-child { border-top: 1px solid var(--line); }
.contact__list dt { font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.contact__list dd { margin: 0; overflow-wrap: anywhere; }
html:not(.anim) .contact__list a:hover { color: var(--red); }
.contact__card .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 30px; width: auto; margin-bottom: 20px; }
.footer h4 { font: 600 12px/1 var(--body); letter-spacing: .22em; color: var(--muted); margin-bottom: 18px; }
.footer a { display: block; padding: 5px 0; color: var(--text); opacity: .8; }
html:not(.anim) .footer a:hover { opacity: 1; color: var(--red); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Profile dialog ---------- */
.profile { width: min(1240px, 100vw); max-width: 100vw; max-height: 100dvh; height: min(820px, 100dvh); padding: 0; border: 0; background: var(--bg); color: var(--text); overflow: hidden; }
.profile::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }
.profile__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,11,.7); color: #fff; font-size: 16px; cursor: pointer; }
html:not(.anim) .profile__close:hover { background: var(--red); border-color: var(--red); }
.profile__inner { display: grid; grid-template-columns: 2fr 3fr; height: 100%; }
.profile__media { position: relative; overflow: hidden; }
.profile__media .driver__car { filter: brightness(.7); }
.profile__media .driver__portrait { width: 76%; bottom: auto; top: 50%; translate: -50% -50%; border-color: var(--bg); }
.profile__content { padding: clamp(32px, 4vw, 64px); overflow-y: auto; }
.profile__name { font-size: clamp(34px, 4.4vw, 60px); font-weight: 900; margin-bottom: 8px; }
.profile__role { color: var(--muted); font-size: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.profile__h { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.profile__h::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.profile__bio { font-size: 18px; line-height: 1.6; margin-bottom: 36px; }
.profile__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.profile__big { font: 900 clamp(48px, 5vw, 76px)/1 var(--wide); color: var(--red); margin-bottom: 8px; }
.profile__ach { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.profile__list { margin-top: 14px; }
.profile__list li { font-size: 14px; }
.profile__race + .profile__race { margin-top: 20px; }
.profile__race span { display: block; font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.profile__race strong { display: block; font: 800 18px/1.15 var(--wide); text-transform: uppercase; }
.profile__race small { color: var(--muted); }
.profile__logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.profile__logos img { height: 54px; width: auto; max-width: 160px; object-fit: contain; background: #fff; padding: 8px 12px; }
.profile__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 32px; }
.profile__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profile__nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.profile__nav button { background: none; border: 0; color: var(--text); font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 8px 0; }
html:not(.anim) .profile__nav button:hover { color: var(--red); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); padding: 12px var(--gutter) 32px; border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; z-index: -1; }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__cta { margin-top: 20px; border: 1px solid rgba(255,255,255,.4) !important; text-align: center; }
  .calendar, .asks, .tiers { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr 1fr; }
  .feature, .contact { grid-template-columns: 1fr; }
  .feature__media { min-height: 360px; }
  .profile__inner { grid-template-columns: 1fr; overflow-y: auto; height: auto; }
  .profile { height: 100dvh; overflow-y: auto; }
  .profile__media { height: 300px; }
  .profile__media .driver__portrait { width: 220px; }
  .profile__content { overflow: visible; }
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 12px 28px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cols3 { grid-template-columns: 1fr; }
  .col, .col + .col { padding: 32px 0; border-left: 0; }
  .col + .col { border-top: 1px solid var(--line); }
  .cols3--lined .col + .col { border-color: var(--light-line); }
  .gains { grid-template-columns: 1fr; }
  .gain, .gain:nth-child(even) { padding: 28px 0; border-left: 0; }
  .reach { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .scroller-ctrl { display: none; }
  .driver { flex-basis: 78vw; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .profile__grid { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 6px; }
  .hero__scroll { display: none; }
  .logo-tile--wide { grid-column: span 2; }
}

/* ================= Conversion layer ================= */
.pill { white-space: nowrap; margin-left: 6px; padding: 6px 10px; background: var(--red); color: #fff; letter-spacing: .16em; font-weight: 600; font-size: 10px; }
.hero__lede strong { color: #fff; font-weight: 600; }
.proof { list-style: none; padding: 0; margin: -12px 0 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.proof li { font: 500 12px/1 var(--body); letter-spacing: .06em; padding: 10px 14px 10px 30px; border: 1px solid rgba(255,255,255,.22); background: rgba(10,10,11,.45); backdrop-filter: blur(6px); position: relative; }
.proof li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.hero__actions { align-items: center; gap: 28px; }
.link-arrow { font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.link-arrow::after { content: "→"; transform: translateX(var(--ax, 0px)); }
html:not(.anim) .link-arrow:hover::after { transform: translateX(6px); }
html:not(.anim) .link-arrow:hover { border-color: var(--red); }

.trust { border-top: 1px solid var(--line); padding: 26px 0 30px; overflow: hidden; }
.trust__label { text-align: center; font: 600 11px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.trust__track { display: flex; width: max-content; }
.trust__row { display: flex; gap: 14px; padding-right: 14px; }
.trust__row img { height: 56px; width: 132px; object-fit: contain; background: #fff; padding: 10px 14px; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .trust__track { width: auto; flex-wrap: wrap; justify-content: center; } .trust__row { flex-wrap: wrap; justify-content: center; } .trust__row[aria-hidden] { display: none; } }

.cta-band { background: var(--red); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.cta-band__text { font: 800 clamp(20px, 2.4vw, 32px)/1.15 var(--wide); font-stretch: 108%; text-transform: uppercase; max-width: 30ch; }
.cta-band .btn--primary { background: #fff; color: var(--light-text); flex-shrink: 0; }
html:not(.anim) .cta-band .btn--primary:hover { background: var(--bg); color: #fff; }

.compare { border: 1px solid var(--light-line); background: #fff; margin-bottom: clamp(48px, 6vw, 80px); }
.compare__row { display: grid; grid-template-columns: 1fr 1.4fr 2fr; }
.compare__row + .compare__row { border-top: 1px solid var(--light-line); }
.compare__row span { padding: 20px 24px; font-size: 15px; }
.compare__row span:nth-child(1) { font: 700 12px/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--light-text); }
.compare__row span:nth-child(2) { color: #8a8a90; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.compare__row span:nth-child(3) { color: var(--light-text); font-weight: 500; background: rgba(224,38,31,.06); border-left: 3px solid var(--red); }
.compare__head span { font: 700 12px/1 var(--body) !important; letter-spacing: .18em !important; text-transform: uppercase; text-decoration: none !important; color: var(--light-muted) !important; }
.compare__head span:nth-child(3) { color: var(--red) !important; }
.compare em { font-style: normal; color: var(--red); }

.livery { position: relative; margin-bottom: clamp(48px, 6vw, 80px); }
.livery img { width: 100%; height: auto; }
.livery__slot { position: absolute; display: grid; place-items: center; border: 2px dashed #fff; background: rgba(224,38,31,.78); color: #fff; font: 800 clamp(9px, 1.2vw, 16px)/1 var(--wide); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.livery__slot--a { left: 27.5%; top: 12%; width: 13%; height: 18%; }
.livery__slot--b { left: 60%; top: 47%; width: 9.5%; height: 22%; }
#livery .gains { border-color: var(--line); }
#livery .gain, #livery .gain:nth-child(even) { border-color: var(--line); }
#livery .gain p { color: var(--muted); }

.race--hot { border-color: var(--red); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 36px 28px 40px; border: 1px solid var(--line); }
.step:not(:last-child)::after { display: none; }
.step__n { display: block; font: 900 56px/1 var(--wide); color: var(--red); margin-bottom: 18px; }
.step h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); }

.contact__urgency { margin-top: 32px; max-width: 48ch; color: rgba(255,255,255,.8); padding-left: 16px; border-left: 3px solid var(--red); }
.contact__actions { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 8px; }
.contact__actions .link-arrow { align-self: flex-start; margin-top: 6px; }
.btn--block { justify-content: center; width: 100%; }
.contact__list { margin-top: 24px; }

.profile__cta { margin-top: 36px; padding: 24px; background: var(--bg-3); border-left: 3px solid var(--red); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.profile__cta p { font-weight: 600; }

.sticky-cta { display: none; }
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .compare__row { grid-template-columns: 1fr; }
  .compare__head { display: none; }
  .compare__row span { padding: 12px 18px; }
  .compare__row span:nth-child(1) { padding-top: 18px; }
  .compare__row span:nth-child(2)::before { content: "Logo only: "; text-decoration: none; display: inline; }
  .compare__row span:nth-child(3) { margin: 0 18px 18px; }
  .sticky-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; text-align: center; padding: 16px; background: var(--red); color: #fff; font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateY(120%); }
  .sticky-cta.is-visible { transform: none; }
  .footer { padding-bottom: 96px; }
  .hero__actions { gap: 20px; }
}
.result { min-width: 0; }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } .result { padding: 28px 22px; } }

/* ================= Language switch + Thai typography ================= */
.lang { display: flex; border: 1px solid rgba(255,255,255,.35); flex-shrink: 0; }
.lang button { background: none; border: 0; color: rgba(255,255,255,.7); font: 600 12px/1 var(--body); letter-spacing: .12em; padding: 9px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--light-text); }
html:not(.anim) .lang button:not([aria-pressed="true"]):hover { color: var(--red); }
@media (max-width: 1080px) { .nav__inner { gap: 12px; } .lang { margin-left: auto; } }

html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4 { line-height: 1.3; letter-spacing: 0; }
html[lang="th"] .hero__title { line-height: 1.12; font-size: clamp(44px, 8vw, 120px); }
html[lang="th"] .h2 { max-width: 24ch; }
html[lang="th"] .contact__title, html[lang="th"] .quote, html[lang="th"] .cta-band__text { line-height: 1.25; }
html[lang="th"] body { line-height: 1.75; }
html[lang="th"] .eyebrow, html[lang="th"] .stat__label, html[lang="th"] .label, html[lang="th"] .trust__label,
html[lang="th"] .btn, html[lang="th"] .link-arrow, html[lang="th"] .nav__links, html[lang="th"] .race__series,
html[lang="th"] .driver__more, html[lang="th"] .driver__tag, html[lang="th"] .profile__h, html[lang="th"] .compare__row span:nth-child(1),
html[lang="th"] .compare__head span, html[lang="th"] .contact__list dt, html[lang="th"] .footer h4, html[lang="th"] .sticky-cta,
html[lang="th"] .g figcaption, html[lang="th"] .pill { letter-spacing: .04em; }
html[lang="th"] .eyebrow, html[lang="th"] .stat__label, html[lang="th"] .label, html[lang="th"] .profile__h { font-size: 14px; }
html[lang="th"] .btn, html[lang="th"] .link-arrow, html[lang="th"] .sticky-cta { font-size: 15px; }
html[lang="th"] .nav__links { font-size: 15px; }
html[lang="th"] .race__drivers::before { content: "นักแข่ง · "; }
@media (max-width: 760px) { html[lang="th"] .compare__row span:nth-child(2)::before { content: "แค่โลโก้: "; } }

/* ================= Motion layer (only when html.anim — set when reduced motion is off) ================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Start lights — one per driver */
.lights { display: none; gap: 10px; margin-bottom: 22px; }
.anim .lights { display: flex; }
.lights i { width: 14px; height: 14px; border-radius: 50%; background: #2a2a2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.lights.is-on i.on { background: var(--red); box-shadow: 0 0 14px 2px rgba(224,38,31,.75); }
.lights.is-out i, .lights.is-out i.on { background: #2a2a2e; box-shadow: none; }
.lights.is-gone { opacity: .35; }

/* Hero intro */
.anim .hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.anim .hero__title .line > span { display: block; transform: translateY(105%); }
.anim .hero.is-go .hero__title .line > span { transform: none; }
.anim .hero__content > :not(.lights) { opacity: 0; transform: translateY(18px); }
.anim .hero.is-go .hero__content > * { opacity: 1; transform: none; }
.anim .hero__content > .hero__title { transform: none; }
.hero__speed { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(255,255,255,.35) 50%, transparent 60%) 0 22% / 38% 1px no-repeat,
    linear-gradient(90deg, transparent 0 40%, rgba(255,255,255,.25) 50%, transparent 60%) 0 47% / 26% 1px no-repeat,
    linear-gradient(90deg, transparent 0 40%, rgba(224,38,31,.6) 50%, transparent 60%) 0 63% / 44% 2px no-repeat,
    linear-gradient(90deg, transparent 0 40%, rgba(255,255,255,.2) 50%, transparent 60%) 0 81% / 30% 1px no-repeat;
  background-position: calc(140% - 200% * var(--p, 0)) 22%, calc(170% - 210% * var(--p, 0)) 47%, calc(120% - 200% * var(--p, 0)) 63%, calc(160% - 210% * var(--p, 0)) 81%; }
.anim .hero__speed { opacity: 1; }

/* Headings: wipe reveal */
.anim [data-wipe] { clip-path: inset(0 100% 0 0); transform: translateX(-12px); }
.anim [data-wipe].is-in { clip-path: inset(0 -2% -10% 0); transform: none; }
.anim .eyebrow .rule { width: 0; }
.anim .eyebrow.is-in .rule, .anim .hero .eyebrow .rule { width: 36px; }

/* Staggered card entry */
html:not(.anim) .result:hover, html:not(.anim) .tier:hover, html:not(.anim) .step:hover { transform: translateY(-4px); }
.result__big { display: inline-block; }
html:not(.anim) .result:hover .result__big { transform: skewX(-8deg) translateX(4px); }

/* Driver card 3D tilt */
.drivers { perspective: 1200px; }
.driver { transform-style: preserve-3d; will-change: transform; }
.driver.is-tilting { box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.driver__body { position: relative; overflow: hidden; }
.driver__body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(224,38,31,.18), transparent); transform: translateX(var(--sheen, -100%)); }
html:not(.anim) .driver:hover .driver__body::before { transform: translateX(100%); }

/* Button shine */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--shine, -60%); width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); z-index: -1; }
html:not(.anim) .btn:hover::after { left: 130%; }

/* Livery drive-in */
.anim .livery img { transform: translateX(-35%); filter: blur(6px); opacity: 0; }
.anim .livery.is-in img { transform: none; filter: none; opacity: 1; }
.anim .livery__slot { transform: scale(.4); opacity: 0; }
.anim .livery.is-in .livery__slot { transform: none; opacity: 1; }

/* Gallery wipe */
.anim .g { clip-path: inset(100% 0 0 0); }
.anim .g.is-in { clip-path: inset(0); }

/* CTA band stripes */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .14; background: repeating-linear-gradient(-55deg, #000 0 14px, transparent 14px 34px); background-position: var(--bp, 0px) 0; }
.cta-band__inner { position: relative; }

/* Stats: underline sweep */
.stat { position: relative; }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(var(--u, 0)); transform-origin: 0 50%; }
.stat + .stat::after { left: 32px; width: calc(100% - 32px); }
.stat.is-in::after { transform: scaleX(1); }
@media (max-width: 760px) { .stat + .stat::after { left: 0; width: 100%; } .stat:nth-child(even)::after { left: 20px; width: calc(100% - 20px); } }

@media (prefers-reduced-motion: reduce) {
  .hero__speed, .lights { display: none !important; }
  .progress { display: none; }
}

/* ================= Driver cards v2: portrait-led, auto-moving row ================= */
.drivers { scroll-snap-type: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-top: 8px; }
.drivers::-webkit-scrollbar { display: none; }
.driver { flex: 0 0 clamp(250px, 24vw, 330px); }
.driver__media { aspect-ratio: 3 / 4; background: var(--bg-3); }
.driver__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.driver__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.45) 0%, transparent 28%, transparent 60%, rgba(10,10,11,.75) 100%); pointer-events: none; }
.driver__thumb { position: absolute; right: 12px; bottom: 12px; width: 42%; aspect-ratio: 16 / 10; object-fit: cover; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
html:not(.anim) .driver:hover .driver__photo, html:not(.anim) .driver:focus-visible .driver__photo { transform: scale(1.05); filter: saturate(1.05); }
html:not(.anim) .driver:hover .driver__thumb { transform: translateY(-4px) rotate(-2deg); }
.driver__no, .driver__tag { z-index: 1; }
.driver__no { text-shadow: 0 1px 6px rgba(0,0,0,.6); color: #fff; }
.driver__body { padding: 20px 20px 22px; }
.driver__name { font-size: 22px; }
@media (max-width: 760px) {
  .driver { flex-basis: 68vw; max-width: 300px; }
  .driver__name { font-size: 20px; }
}
@media (pointer: coarse), (max-width: 1080px) {
  .lang button { min-width: 44px; min-height: 40px; padding: 0 12px; font-size: 13px; }
}
.driver__no { top: 16px; left: 16px; }
.driver__tag { top: 16px; left: 16px; right: auto; max-width: calc(100% - 32px); line-height: 1.3; }
@media (max-width: 760px) {
  .driver { flex-basis: 64vw; max-width: 280px; }
  .driver__media { aspect-ratio: 4 / 5; }
  .driver__body { padding: 16px 16px 18px; }
}
.driver__name, .driver__role, .driver__more { white-space: normal; overflow-wrap: anywhere; }

/* ================= Standalone driver pages ================= */
.dpage { padding-top: 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 500 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
html:not(.anim) .crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--text); }
.profile--page { position: static; display: block; width: auto; height: auto; max-height: none; background: none; overflow: visible; padding-bottom: clamp(56px, 8vw, 96px); }
#driverPage { display: grid; grid-template-columns: 2fr 3fr; background: var(--bg-2); padding: 0; max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto clamp(56px, 8vw, 96px); }
#driverPage .profile__media { position: relative; min-height: 560px; overflow: hidden; }
#driverPage .profile__content { overflow: visible; }
.profile__nav a { color: var(--text); font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; }
html:not(.anim) .profile__nav a:hover { color: var(--red); }
html[lang="th"] .crumbs, html[lang="th"] .profile__nav a { letter-spacing: .04em; font-size: 14px; }
@media (max-width: 1080px) {
  #driverPage { grid-template-columns: 1fr; margin-left: var(--gutter); margin-right: var(--gutter); }
  #driverPage .profile__media { min-height: 320px; }
}
@media (max-width: 760px) {
  .dpage { padding-top: 88px; }
  #driverPage { margin-left: 0; margin-right: 0; }
}

/* Language switch as links */
.lang a { color: rgba(255,255,255,.7); font: 600 12px/1 var(--body); letter-spacing: .12em; padding: 9px 11px; display: grid; place-items: center; }
.lang a[aria-current="true"] { background: #fff; color: var(--light-text); }
html:not(.anim) .lang a:not([aria-current="true"]):hover { color: var(--red); }
@media (pointer: coarse), (max-width: 1080px) {
  .lang a { min-width: 44px; min-height: 40px; padding: 0 12px; font-size: 13px; }
}
/* Cards are links now */
a.driver { text-decoration: none; }
html:not(.anim) .result__driver:hover { color: var(--red); }
.profile__nav { gap: 16px 24px; flex-wrap: wrap; }
.profile__nav > :last-child { margin-left: auto; text-align: right; }


/* ================= v3 — livery layer: angular cuts, ghost type, gradient reds ================= */
:root {
  --red-2: #ff4a3d;
  --red-grad: linear-gradient(115deg, #ff6a5e 0%, var(--red) 46%, #9e1a14 100%);
  --cut: 18px;
  --stroke: rgba(255,255,255,.15);
  --cut-shape: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  --para: polygon(var(--slant, 8px) 0, 100% 0, calc(100% - var(--slant, 8px)) 100%, 0 100%);
}
picture { display: contents; }
.ext { font-family: var(--body); font-weight: 600; }

/* Film grain over everything (fixed, non-interactive) */
body::before { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .055;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat; background-size: 160px 160px; }

/* Speed italics on every display number */
.stat__num, .result__big, .mega, .profile__big, .tier__n, .ask__n, .step__n, .hero__title em, .contact__title em { display: inline-block; transform: skewX(-8deg); }
.hero__title em, .contact__title em, .mega, .mega.accent, .result__big, .profile__big { color: transparent; background: var(--red-grad); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.stat__num.accent { color: transparent; background: var(--red-grad); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.step__n, .tier__n { color: transparent; -webkit-text-stroke: 2px var(--red); }
.tier--grey .tier__n { -webkit-text-stroke-color: #555; } .tier--white .tier__n { -webkit-text-stroke-color: #fff; }
.step__n { font-size: 72px; }

/* Cut corners: cards, panels, buttons, chips */
.result, .tier, .race, .step, .ask, .contact__card, .compare, .profile__cta, .driver__media, #driverPage, .trust__row img { clip-path: var(--cut-shape); }
.compare { --cut: 24px; } .contact__card, #driverPage { --cut: 32px; } .trust__row img { --cut: 10px; }
.btn { --cut: 11px; clip-path: var(--cut-shape); border: 0; }
.nav__cta { clip-path: var(--para); border: 0 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); padding: 12px 22px; }
.pill, .driver__tag, .proof li, .profile__site, .race__series, .sticky-cta, .footer__tag { clip-path: var(--para); }
.race__series { display: inline-block; background: rgba(224,38,31,.14); padding: 7px 12px 7px 10px; color: var(--red-2); }
.result::before, .race::after, .ask::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--red); }
.race::after { left: auto; right: 0; bottom: 0; top: auto; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18)); }
.ask { position: relative; }
.result__title { margin-top: 4px; }

/* Hero: ghost wordmark, chequered base, gradient em */
.hero__ghost { position: absolute; right: -1.5vw; top: 11vh; z-index: 0; font: 900 clamp(104px, 26vw, 420px)/1 var(--wide); font-stretch: 122%; letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.17); pointer-events: none; user-select: none; white-space: nowrap; }
.hero__content { z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 1; opacity: .35; pointer-events: none;
  background: repeating-conic-gradient(rgba(255,255,255,.9) 0 25%, transparent 0 50%) 0 0 / 14px 14px; }
.hero__title { text-shadow: 0 10px 40px rgba(0,0,0,.45); }
.proof li { --slant: 10px; padding-left: 32px; background: rgba(10,10,11,.6); }

/* Ticker: the story in one line, slashing between sections */
.ticker { position: relative; z-index: 2; overflow: hidden; padding: 34px 0; }
.ticker__band { width: 112vw; margin-left: -6vw; background: var(--red-grad); color: #fff; overflow: hidden; transform: rotate(-1.6deg); box-shadow: 0 18px 50px rgba(224,38,31,.25); }
.ticker__track { display: flex; width: max-content; }
.ticker__row { display: flex; align-items: center; gap: 30px; padding: 15px 30px 15px 0; font: 800 clamp(13px, 1.25vw, 18px)/1 var(--wide); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker__row i { flex: 0 0 9px; width: 9px; height: 9px; background: #0a0a0b; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .ticker__row:last-child { display: none; } .ticker__track { width: auto; } .ticker__row { flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding: 12px 16px; } }

/* Section numerals as outlined watermarks */
.section { position: relative; isolation: isolate; }
.wrap[data-n] { position: relative; }
.wrap[data-n]::before { content: attr(data-n); position: absolute; right: 0; top: -.12em; z-index: -1; font: 900 clamp(130px, 19vw, 320px)/1 var(--wide); font-stretch: 122%; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--stroke); pointer-events: none; user-select: none; }
.section--light .wrap[data-n]::before { -webkit-text-stroke-color: rgba(0,0,0,.1); }
.section__note { color: var(--muted); max-width: 46ch; margin: -32px 0 48px; font-size: 15px; }

/* Stats as a telemetry strip */
.stats { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.stat__label::before { content: "// "; color: var(--red); font-weight: 700; letter-spacing: 0; }

/* Driver cards: outlined number, site badge */
.driver__no { top: auto; bottom: 10px; left: 12px; font-size: clamp(44px, 4.4vw, 66px); font-weight: 900; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.75); text-shadow: none; line-height: 1; }
.driver__body { border-top-width: 2px; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.driver__site { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--body); color: var(--red-2); letter-spacing: .02em; margin-top: 2px; }
.driver__site::after { content: "↗"; font-weight: 700; }

/* Profile: car number watermark, personal website link */
.profile__no { position: absolute; left: 14px; bottom: 8px; z-index: 2; font: 900 clamp(64px, 7vw, 112px)/1 var(--wide); font-stretch: 120%; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); pointer-events: none; }
.profile__site { --slant: 10px; display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 12px 18px 12px 14px; background: rgba(224,38,31,.14); box-shadow: inset 0 0 0 1px rgba(224,38,31,.55); font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.profile__site-host { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.profile__site .ext { color: var(--red-2); font-size: 14px; }
html:not(.anim) .profile__site:hover { background: var(--red); } html:not(.anim) .profile__site:hover .profile__site-host, html:not(.anim) .profile__site:hover .ext { color: #fff; }

/* CTA band slashes across the seam between sections */
.cta-band { --slash: 34px; clip-path: polygon(0 var(--slash), 100% 0, 100% calc(100% - var(--slash)), 0 100%); margin: calc(var(--slash) * -1) 0; z-index: 2; }
.cta-band__inner { padding-top: calc(40px + var(--slash)); padding-bottom: calc(40px + var(--slash)); }

/* Light section: chequered rule at the top */
.section--light::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-conic-gradient(rgba(0,0,0,.9) 0 25%, transparent 0 50%) 0 0 / 12px 12px; opacity: .9; }

/* Contact */
.contact__left { background: linear-gradient(90deg, rgba(10,10,11,.96), rgba(10,10,11,.7)), url("/assets/img/job-car.webp") center / cover; }
@supports not (background: url("a.webp")) { .contact__left { background-image: linear-gradient(90deg, rgba(10,10,11,.96), rgba(10,10,11,.7)), url("/assets/img/job-car.jpg"); } }
.contact__card { position: relative; background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); }
.contact__card::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 4px; background: var(--red); }

/* Footer: giant outlined wordmark, driver sites column */
.footer { position: relative; overflow: hidden; padding-top: 0; }
.footer__word { padding: 36px 0 0; margin-bottom: -.12em; text-align: center; white-space: nowrap; font: 900 clamp(44px, 11.6vw, 176px)/.95 var(--wide); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.11); user-select: none; pointer-events: none; }
.footer__grid { grid-template-columns: 2fr 1fr 1.2fr 1fr 1fr; padding-top: 56px; border-top: 1px solid var(--line); }
.footer a.footer__cta { display: inline-flex; padding: 16px 28px; opacity: 1; margin-top: 22px; color: #fff; }
.footer__ext .ext { color: var(--red-2); margin-left: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__tag { --slant: 6px; display: inline-block; padding: 6px 12px; background: rgba(224,38,31,.14); color: var(--red-2); font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.sticky-cta { --slant: 10px; }

/* Driver page frame */
#driverPage { position: relative; }
#driverPage::before { content: ""; position: absolute; left: 0; top: 0; width: 96px; height: 4px; background: var(--red); z-index: 3; }

/* Thai type tweaks for the new pieces */
html[lang="th"] .ticker__row, html[lang="th"] .profile__site, html[lang="th"] .footer__tag { letter-spacing: .04em; }
html[lang="th"] .ticker__row { font-size: clamp(14px, 1.3vw, 19px); }
html[lang="th"] .hero__title em, html[lang="th"] .contact__title em { padding-right: .12em; }

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .wrap[data-n]::before { font-size: clamp(110px, 24vw, 200px); top: -.2em; }
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ticker { padding: 26px 0; } .ticker__band { width: 120vw; margin-left: -10vw; transform: rotate(-2.2deg); }
  .wrap[data-n]::before { font-size: 104px; top: -24px; opacity: .8; }
  .hero__ghost { top: 14vh; right: -4vw; }
  .driver__no { font-size: 52px; }
  .step__n { font-size: 60px; }
  .cta-band { --slash: 22px; }
  .footer__word { font-size: 12.5vw; }
  .section__note { margin: -20px 0 36px; }
  .profile__site { flex-wrap: wrap; gap: 6px 12px; }
}

/* ================= v4 — two grids: landing chooser, sim theme, driver strip, sponsorship site ================= */
:root { --sim: #19c37d; --sim-2: #4fe3a3; --sim-grad: linear-gradient(115deg, #6ff0b8 0%, var(--sim) 46%, #0f7a4e 100%); }

/* Nav: the two grids get a colour mark; "Soon" tag */
.nav__real::before, .nav__sim::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 1px; transform: rotate(45deg); background: var(--red); }
.nav__sim::before { background: var(--sim); }
.soon { display: inline-block; margin-left: 6px; padding: 4px 6px; font: 700 9px/1 var(--body); letter-spacing: .14em; color: #0a0a0b; background: var(--sim); clip-path: var(--para); --slant: 4px; vertical-align: 2px; }
.nav__back { opacity: .7; }
.nav__back .ext { margin-left: 2px; }

/* Landing chooser */
.choose { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 72px; background: var(--bg); }
.choose__head { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.choose__head .eyebrow { margin-bottom: 14px; }
.choose__h1 { font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; max-width: none; line-height: 1.1; }
.choose__h1 span { color: var(--red); display: inline-block; margin-left: .3em; }
.choose__grid { flex: 1; display: flex; gap: 6px; min-height: 0; }
.choice { position: relative; flex: 1 1 0; min-height: clamp(460px, 72svh, 760px); overflow: hidden; display: flex; align-items: flex-end; color: var(--text); background: var(--bg-2); isolation: isolate; }
.choice__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; transform: scale(1.06); }
.choice--sim .choice__bg { object-position: 50% 35%; filter: saturate(.8); }
.choice__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,.15) 35%, rgba(10,10,11,.78) 70%, var(--bg) 100%); }
.choice__ghost { position: absolute; right: -2%; top: 4%; z-index: -1; font: 900 clamp(120px, 20vw, 300px)/1 var(--wide); font-stretch: 122%; letter-spacing: -.03em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); pointer-events: none; user-select: none; }
.choice__body { position: relative; width: 100%; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(32px, 5vw, 64px); }
.choice__title { font-size: clamp(34px, 4.6vw, 68px); font-weight: 900; font-stretch: 116%; line-height: .98; margin-bottom: 18px; }
.choice__title em { font-style: normal; display: inline-block; transform: skewX(-8deg); padding-right: .06em; color: transparent; background: var(--red-grad); -webkit-background-clip: text; background-clip: text; }
.choice--sim .choice__title em { background: var(--sim-grad); -webkit-background-clip: text; background-clip: text; }
.choice--sim .eyebrow .num, .choice--sim .rule { color: var(--sim); background-color: var(--sim); }
.choice--sim .eyebrow .num { background: none; }
.choice__text { max-width: 44ch; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.2vw, 18px); margin-bottom: 22px; }
.choice .proof { margin: 0 0 28px; }
.choice--sim .proof li::before { background: var(--sim); }
.choice .btn { pointer-events: none; }
.choice--sim .btn--ghost { box-shadow: inset 0 0 0 1px rgba(79,227,163,.7); }
.choice::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(var(--bar, .18)); transform-origin: 0 50%; }
.choice--sim::after { background: var(--sim); }
.choice:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
html:not(.anim) .choice:hover .choice__bg { transform: scale(1); }
html:not(.anim) .choice:hover::after { transform: scaleX(1); }
.pill--sim { background: var(--sim); color: #0a0a0b; }

/* Landing intro + inline stats + link-arrow heads */
.intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(40px, 6vw, 72px); }
.intro .h2 { margin-bottom: 0; }
.intro__text { display: grid; gap: 18px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; padding-top: 6px; }
.stats--inline { border-top: 1px solid var(--line); }
.section__head .link-arrow { margin-bottom: 64px; flex-shrink: 0; }
.results--teaser { grid-template-columns: repeat(4, 1fr); }

/* Driver strip (landing) */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.strip__item { display: flex; flex-direction: column; gap: 4px; padding: 0 0 18px; background: var(--bg-2); }
.strip__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; clip-path: var(--cut-shape); --cut: 14px; background: var(--bg-3); }
.strip__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.strip__no { padding: 0 16px; font: 800 12px/1 var(--wide); letter-spacing: .1em; color: var(--red); }
.strip__name { padding: 0 16px; font: 800 16px/1.15 var(--wide); text-transform: uppercase; }
.strip__role { padding: 0 16px; font: 500 12px/1.3 var(--body); color: var(--muted); }
html:not(.anim) .strip__item:hover img { transform: scale(1.05); }

/* Calendar cards link drivers */
.race__drivers a { color: var(--text); }
html:not(.anim) .race__drivers a:hover { color: var(--red); }

/* Sim racing theme (hero, steps, band) */
.theme-sim .hero__title em { background: var(--sim-grad); -webkit-background-clip: text; background-clip: text; }
.theme-sim .hero .rule, .theme-sim .lights.is-on i.on { background: var(--sim); }
.theme-sim .hero .proof li::before { background: var(--sim); }
.theme-sim .hero .btn--primary { background: var(--sim); color: #0a0a0b; }
.theme-sim .hero__ghost { -webkit-text-stroke-color: rgba(79,227,163,.22); }
.theme-sim .hero__speed { filter: hue-rotate(150deg); }
.theme-sim .step__n { -webkit-text-stroke-color: var(--sim); }
.theme-sim .step { box-shadow: inset 0 0 0 1px rgba(79,227,163,.18); border-color: transparent; }
.cta-band--sim { background: var(--sim-grad); color: #0a0a0b; }
.cta-band--sim .btn--primary { background: #0a0a0b; color: #fff; }
.theme-sim .sticky-cta { background: var(--sim); color: #0a0a0b; }
.pedigree { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.pedigree .result:first-child { grid-row: span 2; }
.pedigree .result__big { font-size: clamp(56px, 7vw, 110px); }
.pedigree .result__title { font-size: 16px; }

/* Thai */
html[lang="th"] .choose__h1, html[lang="th"] .choice__title { line-height: 1.2; }
html[lang="th"] .strip__name { font-size: 15px; }
html[lang="th"] .soon { letter-spacing: .02em; font-size: 10px; }

@media (max-width: 1080px) {
  .choose__grid { flex-direction: column; }
  .choice { min-height: 420px; flex: 1 1 auto; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .intro { grid-template-columns: 1fr; }
  .pedigree { grid-template-columns: 1fr 1fr; }
  .pedigree .result:first-child { grid-row: auto; grid-column: 1 / -1; }
  .results--teaser { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .choose { padding-top: 72px; }
  .choice { min-height: 380px; }
  .choice__ghost { font-size: 120px; }
  .choice .proof li:nth-child(n+2) { display: none; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .section__head { flex-wrap: wrap; }
  .section__head .link-arrow { margin: -24px 0 36px; }
  .pedigree { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .results--teaser { grid-template-columns: 1fr; } }

/* Landing = chooser only: fills the viewport, mini footer underneath */
.choose { min-height: calc(100svh - 56px); }
.choice { min-height: 0; }
.footer--mini { padding: 0; overflow: visible; }
.footer__mini { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font-size: 13px; }
.footer__mini-links { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.footer--mini a { display: inline; padding: 0; font-size: 13px; }
.footer--mini .ext { color: var(--red-2); }
.footer--mini a.footer__mini-cta { color: var(--red-2); font-weight: 600; opacity: 1; }
@media (max-width: 1080px) {
  .choose { min-height: 0; }
  .choice { min-height: max(300px, calc(50svh - 64px)); }
}

/* Sponsorship split */
.gains--dark { border-color: var(--line); }
.gains--dark .gain, .gains--dark .gain:nth-child(even) { border-color: var(--line); }
.gains--dark .gain p { color: var(--muted); }
.theme-sim .gain__icon { background: var(--sim); } .theme-sim .gain__icon svg { stroke: #0a0a0b; }
.theme-sim .contact__title em { background: var(--sim-grad); -webkit-background-clip: text; background-clip: text; }
.theme-sim .contact__urgency { border-color: var(--sim); }
.theme-sim .contact__card::before, .theme-sim .result::before, .theme-sim .profile__site { background: var(--sim); }
.theme-sim .result__big { background: var(--sim-grad); -webkit-background-clip: text; background-clip: text; }
.theme-sim .contact__list dt, .theme-sim .eyebrow .num { color: var(--sim); }
.theme-sim .contact__card .btn--primary { background: var(--sim); color: #0a0a0b; }
.contact__left--sim { background: linear-gradient(90deg, rgba(10,10,11,.96), rgba(10,10,11,.7)), url("/assets/img/team-gt.webp") center / cover; }
.theme-sim .wrap[data-n]::before { -webkit-text-stroke-color: rgba(79,227,163,.14); }
