/* =========================================================
   PREMOSIM — v1 one-page site
   Black ground, one red accent, Outfit. Built by Mektali.
   ========================================================= */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }

:root {
  --black: #000000;
  --ink: #070708;
  --graphite: #111113;
  --panel: #0c0c0e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --white: #ffffff;
  --text: #e9e9ea;
  --muted: #8a8d91;
  --red: #d90024;
  --red-deep: #a3001b;

  --font: "Outfit", "Segoe UI", Arial, Helvetica, sans-serif;

  --road-x: 16px;          /* road position from the left edge */
  --road-amp: 9px;         /* chicane amplitude */
  --pad: 20px;             /* side gutter */
  --content-left: 44px;    /* content inset so text never touches the road */
  --maxw: 1240px;
  --topbar-h: 60px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 900px) {
  :root { --road-x: 40px; --road-amp: 26px; --pad: 48px; --content-left: 132px; --topbar-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--white); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 14px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.noscript { position: relative; z-index: 60; padding: 12px var(--pad); background: var(--graphite); font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.dot { color: var(--red); padding: 0 .35em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.track .wrap { padding-left: max(var(--pad), calc(var(--content-left) - max(0px, (100vw - var(--maxw)) / 2))); }

/* ---------- type ---------- */
h2 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.02em; font-weight: 400; max-width: 16ch; margin-bottom: 28px; }
.h2--wide { max-width: 20ch; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); line-height: 1.5; color: var(--text); max-width: 38ch; }
.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.label__s { color: var(--red); font-variant-numeric: tabular-nums; }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-strong); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text); margin-bottom: 22px; }
@media (min-width: 900px) { .eyebrow, .label { font-size: 13px; } }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border: 1px solid transparent; border-radius: 2px;
  font: 500 13px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn--ghost:hover { border-color: #fff; }
.btn--small { --h: 40px; padding: 0 16px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,0));
  transition: background-color .4s var(--ease);
}
.topbar.is-solid { background: rgba(0,0,0,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__logo img { width: 140px; height: auto; }
@media (min-width: 900px) { .topbar__logo img { width: 180px; } }
.topbar__wa { display: none; }
@media (min-width: 900px) { .topbar__wa { display: inline-flex; } }

.lap {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 12px; letter-spacing: .18em; color: var(--muted);
  opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.lap.is-on { opacity: 1; transform: none; }
.lap__time { font-size: 15px; letter-spacing: .04em; color: #fff; font-weight: 500; }
.lap__time .d { display: inline-block; width: .62em; text-align: center; }
.lap__sector { color: var(--red); font-weight: 500; min-width: 4.6em; }
.lap.is-done .lap__time { color: var(--red); }
@media (max-width: 899px) {
  .lap { margin-left: auto; margin-right: 58px; gap: 8px; font-size: 10px; }
  .lap__time { font-size: 13px; }
  .lap__label { display: none; }
}

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  display: flex; align-items: center; gap: 10px; height: 52px; min-width: 52px; padding: 0 15px;
  border-radius: 26px; background: var(--red); color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  transition: background-color .3s var(--ease), padding .3s var(--ease);
}
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; transition: max-width .35s var(--ease); }
.wa-float:hover { background: var(--red-deep); }
@media (hover: hover) and (min-width: 900px) { .wa-float:hover .wa-float__label { max-width: 140px; } }
@media (max-width: 899px) {
  .wa-float { top: 10px; bottom: auto; right: var(--pad); height: 40px; min-width: 40px; padding: 0 9px; box-shadow: none; }
  .wa-float svg { width: 22px; height: 22px; }
}

/* ---------- 0 · intro ---------- */
.intro {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
}
.intro__bg {
  position: absolute; inset: -5%; z-index: -1;
  background: url("../img/smoke-2.webp") center 70% / cover no-repeat;
  opacity: .42; filter: saturate(1.05);
  animation: drift 26s ease-in-out infinite alternate;
}
.intro__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.2) 0%, rgba(0,0,0,.85) 70%, #000 100%); }
@keyframes drift { from { transform: scale(1.02) translateX(-1.5%); } to { transform: scale(1.1) translateX(1.5%); } }
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 var(--pad); text-align: center; }
.intro__icon { width: clamp(150px, 34vw, 260px); height: auto; overflow: visible; }
.intro__icon path { fill: var(--red); }
.intro__wordmark { width: clamp(220px, 52vw, 520px); }
.intro__tagline { font-size: clamp(1rem, .9rem + .6vw, 1.35rem); letter-spacing: .32em; text-transform: uppercase; color: var(--text); font-weight: 300; }
.intro__cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.intro__cue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--red), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* intro draw states (JS only) */
.js .intro__icon path { fill-opacity: 0; stroke: var(--red); stroke-width: 1.4; }
.js .intro__icon.is-filled path { fill-opacity: 1; transition: fill-opacity 1s var(--ease); }
.js .intro__wordmark, .js .intro__tagline, .js .intro__cue { opacity: 0; }

/* ---------- track & road ---------- */
.track { position: relative; }
.road { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.road__outer { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: butt; stroke-linejoin: round; }
.road__inner { fill: none; stroke: #000; stroke-width: 3; stroke-linecap: butt; stroke-linejoin: round; }
.road__finish { fill: none; stroke: var(--red); stroke-width: 7; }
.road__marker { fill: #fff; stroke: var(--red); stroke-width: 3; }
.road__tick { stroke: rgba(255,255,255,.55); stroke-width: 1; }
.road__sector { fill: var(--muted); font: 500 9px/1 var(--font); letter-spacing: .18em; }
.road__sector.is-passed { fill: var(--red); }
@media (min-width: 900px) { .road__sector { font-size: 10px; } }
.no-road .road { display: none; }

.sector { position: relative; padding: 120px 0; }
@media (min-width: 900px) { .sector { padding: 170px 0; } }

/* ---------- 1 · hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 0 72px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 58% 50%; transform-origin: 60% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,.72) 32%, rgba(0,0,0,.08) 62%, rgba(0,0,0,.5) 100%),
    linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
}
.hero__content { position: relative; z-index: 5; }
.hero__title { font-size: clamp(3.1rem, 1.4rem + 8.2vw, 9rem); line-height: .92; letter-spacing: -0.035em; text-transform: uppercase; font-weight: 500; margin-bottom: 26px; }
.hero__sub { max-width: 36ch; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); color: var(--text); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .hero__ctas .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .hero { padding-bottom: 110px; } }

/* ---------- 2 · S1 feeling ---------- */
.feeling { overflow: hidden; }
.feeling__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .feeling { min-height: 100vh; display: flex; align-items: center; padding: 100px 0; }
  .feeling__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
.factline { position: relative; margin-top: 28px; padding-left: 42px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.feeling__stage { position: relative; perspective: 1400px; }
.rig3d { position: relative; transform-style: preserve-3d; will-change: transform; }
.rig3d img { width: 100%; border-radius: 2px; filter: saturate(.8) contrast(1.04); -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 58%, transparent 100%); }
.rig3d__floor { position: absolute; left: 12%; right: 12%; bottom: -4%; height: 14%; background: radial-gradient(ellipse at center, rgba(217,0,36,.22), transparent 70%); filter: blur(6px); transform: translateZ(-40px); }
.motion-tags { display: flex; gap: 22px; justify-content: center; margin-top: 26px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.motion-tags li { position: relative; padding-top: 12px; transition: color .3s var(--ease); }
.motion-tags li::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--line-strong); transition: background-color .3s var(--ease); }
.motion-tags li.is-on { color: #fff; }
.motion-tags li.is-on::before { background: var(--red); }

/* ---------- 3 · S2 race ---------- */
.points { display: grid; gap: 1px; margin-top: 64px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-reset: none; }
@media (min-width: 700px) { .points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(4, 1fr); } }
.point { background: var(--black); padding: 34px 26px 38px 0; position: relative; }
@media (min-width: 700px) { .point { padding: 40px 32px 44px; } .point:nth-child(odd) { padding-left: 0; } }
@media (min-width: 1100px) { .point { padding-left: 32px !important; } .point:first-child { padding-left: 0 !important; } }
.point__n { display: block; font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--red); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.point h3 { margin-bottom: 12px; max-width: 18ch; }
.point p { color: var(--muted); font-size: 16px; }
.closing { margin-top: 44px; font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: #fff; }

/* ---------- 4 · S3 formats ---------- */
.cards { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .cards { grid-template-columns: 1fr 1fr; gap: 28px; } }
.card { position: relative; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__media--twin { display: grid; grid-template-columns: 1fr 1fr; }
.card__media--twin img { object-position: 45% 50%; }
.card__media--twin .flip { transform: scaleX(-1); }
.card:hover .card__media--twin .flip { transform: scaleX(-1) scale(1.035); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--panel), transparent 45%); }
.card__body { padding: 30px 28px 34px; }
@media (min-width: 900px) { .card__body { padding: 36px 40px 42px; } }
.card h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 14px; }
.card p { color: var(--muted); max-width: 40ch; }
.card--signature { border-color: var(--red); }
.tag { display: inline-block; margin-bottom: 16px; padding: 7px 10px; background: var(--red); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.formats__foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-top: 32px; border-top: 1px solid var(--line); }
.formats__foot p { color: #fff; }

/* ---------- 5 · S4 where ---------- */
.tiles { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tile { position: relative; padding: 34px 28px 38px; border: 1px solid var(--line); background: var(--black); overflow: hidden; isolation: isolate; transition: border-color .4s var(--ease); }
.tile::before { content: ""; position: absolute; inset: -12% -20%; z-index: -1; background: url("../img/smoke-1.webp") 30% 75% / cover no-repeat; opacity: 0; transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); transform: translateY(6%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); }
.tile:hover { border-color: var(--line-strong); }
.tile.is-lit::before, .reduced .tile::before { opacity: .2; transform: none; }
@media (hover: hover) { .tile:hover::before { opacity: .5; } }
.tile:nth-child(2)::before { background-image: url("../img/smoke-2.webp"); background-position: 45% 70%; }
.tile:nth-child(3)::before { background-image: url("../img/smoke-3.webp"); background-position: 60% 80%; }
.tile__n { display: block; font-size: 13px; font-weight: 500; color: var(--red); letter-spacing: .14em; margin-bottom: 56px; }
.tile h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 400; margin-bottom: 10px; }
.tile__kind { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.tile p:last-child { color: var(--text); }

/* ---------- 6 · S5 engineering ---------- */
.eng__grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .eng__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: 72px; } }
.eng__text p + p { margin-top: 18px; color: var(--muted); max-width: 44ch; }
.cred { margin-top: 34px !important; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #fff !important; }
.eng__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eng__gallery figure { margin: 0; overflow: hidden; background: #000; }
.eng__gallery figure:first-child { grid-row: span 2; }
.eng__gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; filter: saturate(.75) contrast(1.05); }
.eng__gallery figure:first-child img { aspect-ratio: auto; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 80px 0 0; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { background: var(--black); padding: 26px 18px 28px 0; }
@media (min-width: 900px) { .facts > div { padding: 32px 28px; } .facts > div:first-child { padding-left: 0; } }
.facts dt { font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); font-weight: 500; color: #fff; margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 7 · S6 ready ---------- */
.ready__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ready__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.checklist li { position: relative; padding: 18px 0 18px 30px; border-bottom: 1px solid var(--line); color: #fff; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--red); }
.ready__foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.ready__foot p { color: var(--muted); }

/* ---------- 8 · finish ---------- */
.finish { padding-bottom: 110px; overflow: hidden; isolation: isolate; }
.finish__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/smoke-3.webp") right 80% / cover no-repeat; opacity: .18; }
.finish__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#000, rgba(0,0,0,.6) 40%, #000); }
.finish__head { position: relative; margin-bottom: 64px; }
.finish__time { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.finish__time span:last-child { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); font-weight: 300; letter-spacing: .01em; color: var(--red); line-height: 1; }
.finish__time .d { display: inline-block; width: .6em; text-align: center; }
.finish__lap { font-size: 12px; letter-spacing: .24em; color: var(--muted); font-weight: 500; }
.finish__line { height: 44px; margin: 0 0 30px; }
.finish__title { font-size: clamp(3rem, 1.5rem + 7vw, 8rem); line-height: .95; letter-spacing: -0.035em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; max-width: none; }

.forms { display: grid; gap: 28px; }
@media (min-width: 1000px) { .forms { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; } }
.forms__side { display: grid; gap: 28px; }
.form { border: 1px solid var(--line); background: rgba(12, 12, 14, .92); padding: 30px 22px 30px; }
@media (min-width: 900px) { .form { padding: 42px 40px 40px; } }
.form h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; margin-bottom: 26px; }
.form__intro { color: var(--muted); margin: -10px 0 26px; font-size: 16px; }
.form--demo { border-color: var(--line-strong); }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 2px;
  background: #000; color: #fff; font: 300 16px/1.4 var(--font);
  transition: border-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #111; color: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #5d5f63; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.err { min-height: 0; margin-top: 6px; font-size: 13px; color: #ff5a72; }
.err:empty { display: none; }
.field--check { margin: 6px 0 24px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 300 !important; color: var(--text) !important; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; min-height: 0; height: 20px; margin: 1px 0 0; padding: 0; border: 1px solid var(--line-strong); background: #000; display: grid; place-content: center; }
.check input::before { content: ""; width: 10px; height: 10px; background: var(--red); transform: scale(0); transition: transform .15s var(--ease); }
.check input:checked::before { transform: scale(1); }
.check a { color: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 16px; font-size: 15px; color: var(--text); }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 16px 18px; border-left: 2px solid var(--red); background: rgba(255,255,255,.04); color: #fff; }
.form__status.is-error { color: #ff5a72; }
.form.is-sent .field, .form.is-sent .field-row, .form.is-sent button, .form.is-sent .form__intro { display: none; }

.wa-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wa-block p { font-size: 1.15rem; color: #fff; }


/* ---------- footer ---------- */
.footer { position: relative; z-index: 5; border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--black); font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr .6fr; gap: 56px; } }
.footer__brand img { width: 170px; margin-bottom: 20px; }
.footer__desc { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.footer__cred { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer__h { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer address { font-style: normal; line-height: 1.9; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__social li { line-height: 1.9; }
.footer__legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 899px) { .footer { padding-bottom: 36px; } }

/* ---------- reveal (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); }
.js .is-revealed[data-reveal], .reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro__bg, .intro__cue i { animation: none; }
  .js .intro__wordmark, .js .intro__tagline, .js .intro__cue { opacity: 1; }
  .js .intro__icon path { fill-opacity: 1; stroke: none; }
}

/* ---------- simple pages (privacy, 404) ---------- */
.page { padding: calc(var(--topbar-h) + 72px) 0 96px; min-height: 80vh; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.page h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: 0; max-width: none; margin: 44px 0 12px; }
.page p, .page li { color: var(--text); max-width: 64ch; }
.page p + p { margin-top: 12px; }
.page ul { list-style: none; margin: 12px 0; }
.page ul li { position: relative; padding-left: 22px; margin: 8px 0; }
.page ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 5px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--red); }
.page a { color: #fff; }
.page__date { color: var(--muted); font-size: 14px; }
.page--404 { display: grid; place-items: center; text-align: center; }
.page--404 h1 { text-transform: uppercase; font-weight: 500; font-size: clamp(3rem, 2rem + 6vw, 7rem); }
.page--404 p { margin: 0 auto 32px; }

/* ---------- refinements ---------- */
.nw { white-space: nowrap; }
@media (max-width: 359px) { .nw { white-space: normal; } }
.h2--lines { max-width: none; }
@media (min-width: 900px) { .h2--lines span { display: block; } .h2--lines { font-size: clamp(2.2rem, 1.2rem + 2.9vw, 3.8rem); } }
.card__media--twin { gap: 4px; }
.card__media--twin img { object-position: 50% 55%; }
@media (max-width: 599px) { .btn--block { padding: 0 12px; letter-spacing: .1em; } }
.dot { display: inline-block; width: 12px; height: 5px; margin: 0 .8em; padding: 0; border-top: 1px solid var(--red); border-bottom: 1px solid var(--red); font-size: 0; line-height: 0; vertical-align: middle; position: relative; top: -1px; }
:root { color-scheme: dark; }
.topbar { padding-top: env(safe-area-inset-top, 0px); height: calc(var(--topbar-h) + env(safe-area-inset-top, 0px)); }
.wa-float { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

/* ---------- smoke backgrounds: S2 and S5 ---------- */
.race, .eng { isolation: isolate; }
.race::before, .eng::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
}
.race::before { background-image: url("../img/smoke-1.webp"); background-position: 70% 60%; opacity: .6; }
.eng::before  { background-image: url("../img/smoke-2.webp"); background-position: 35% 65%; opacity: .5; }
@media (max-width: 899px) {
  .race::before { background-position: 80% 70%; opacity: .5; }
  .eng::before  { background-position: 30% 70%; opacity: .42; }
}

/* grids over the smoke: lines instead of black blocks */
.points, .facts { background: transparent; gap: 0; }
.point, .facts > div { background: transparent; }
.point { border-bottom: 1px solid var(--line); }
.point:last-child { border-bottom: 0; }
.facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.facts > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
@media (min-width: 700px) {
  .point:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .point:nth-child(n+3) { border-bottom: 0; }
  .point:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .facts > div { border-bottom: 0 !important; }
  .facts > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
}
@media (min-width: 1100px) {
  .point { border-bottom: 0 !important; }
  .point + .point { border-left: 1px solid var(--line); }
}
.tile { background: rgba(0,0,0,.55); }

/* ---------- renders (white rig) ---------- */
.hero__media img { object-position: 72% 50%; }
@media (max-width: 899px) { .hero__media img { object-position: 50% 0%; } }
.card__media img, .eng__gallery img, .rig3d img { filter: none; }
.card__media img { object-position: 50% 55%; }
.rig3d img { -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, #000 62%, transparent 100%); }
@media (min-width: 900px) {
  .hero__media img { object-position: 72% 50%; transform-origin: 100% 55%; }
  .reduced .hero__media img, html:not(.js) .hero__media img { transform: scale(.64); }
  .hero__media::after {
    background:
      linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 22%, rgba(0,0,0,0) 45%),
      linear-gradient(to right, #000 0%, rgba(0,0,0,.82) 22%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 62%);
  }
}
@media (max-width: 899px) {
  .hero__media { bottom: auto; }
  .hero__media picture, .hero__media img { height: auto; }
  .hero__media img { width: 100%; object-fit: initial; }
  .hero__media::after { background: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,0) 45%); }
}
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding-top: var(--topbar-h); padding-bottom: 64px; }
  .hero__media { position: relative; inset: auto; z-index: 0; }
  .hero__content { margin-top: -22vw; }
}

/* ---------- type scale: quieter, more restrained ---------- */
.hero__title {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem);
  font-weight: 400; letter-spacing: .02em; line-height: 1.02;
  margin-bottom: 22px;
}
.finish__title {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem);
  font-weight: 400; letter-spacing: .02em; line-height: 1.02;
}
h2 { font-size: clamp(1.7rem, 1.15rem + 1.9vw, 3rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; }
@media (min-width: 900px) { .h2--lines { font-size: clamp(1.9rem, 1.1rem + 1.8vw, 2.9rem); } }
.card h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); font-weight: 300; }
.tile h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); font-weight: 300; }
.finish__time span:last-child { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.form h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); font-weight: 300; }
.page h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; }
.page--404 h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem); font-weight: 400; letter-spacing: .02em; }
h2, .hero__title, .finish__title { text-wrap: balance; }
.h2--wide { max-width: 24ch; }

/* =========================================================
   v2 additions
   ========================================================= */
[hidden] { display: none !important; }

/* placeholders to confirm: plain brackets in red */
.ph { color: var(--red); font-weight: 500; }

/* hero booking line */
.hero__booking { margin-top: 24px; font-size: 13px; letter-spacing: .04em; color: var(--muted); display: flex; gap: 10px; align-items: baseline; max-width: 52ch; }
.hero__booking { align-items: center; }
.hero__booking::before { content: ""; flex: none; width: 14px; height: 5px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--red); }

/* S1 capacity line */
.capacity { position: relative; margin-top: 28px; padding-left: 42px; font-size: 15px; color: #fff; }
.capacity::before, .factline::before { content: ""; position: absolute; left: 0; top: .72em; width: 26px; height: 6px; margin-top: -3px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--red); }

/* ---------- S1 duel ---------- */
.feeling { min-height: 0; }
.duel {
  position: relative; border: 1px solid var(--line-strong); background: rgba(8, 8, 10, .9);
  padding: 20px 18px 18px; font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) { .duel { padding: 26px 28px 24px; } }
.duel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.duel__title { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.duel__live { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: live 1.8s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.duel__track { margin: 0 6px 22px 6px; }
.duel__line { position: relative; height: 56px; }
.duel__line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.duel__tick { position: absolute; top: 50%; width: 1px; height: 11px; margin-top: -5px; background: rgba(255,255,255,.4); }
.duel__tick--end { height: 17px; margin-top: -8px; width: 2px; background: #fff; }
.duel__dot { position: absolute; top: 50%; left: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; will-change: left; }
.duel__dot b { position: absolute; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--font); letter-spacing: .06em; font-style: normal; }
.duel__dot[data-dot="a"] b { bottom: 17px; color: #fff; }
.duel__dot[data-dot="b"] { background: var(--red); }
.duel__dot[data-dot="b"] b { top: 17px; color: var(--red); }
.duel__splits { position: relative; height: 16px; margin-top: 10px; }
.split { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease); }
.split--end { transform: translateX(-100%); }
.split.is-a { color: #fff; letter-spacing: .06em; font-size: 12px; }
.split.is-b { color: var(--red); letter-spacing: .06em; font-size: 12px; }

.duel__row { display: grid; grid-template-columns: 38px minmax(0, 1fr) repeat(3, 52px) 74px; align-items: center; height: 44px; font-size: 13px; color: var(--text); }
@media (min-width: 600px) { .duel__row { grid-template-columns: 48px minmax(0, 1fr) repeat(3, 68px) 92px; font-size: 14px; } }
.duel__row > span:nth-child(n+3) { text-align: right; }
.duel__row--hdr { height: 30px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.duel__rows { position: relative; height: 88px; }
.duel__rows .duel__row { position: absolute; left: 0; right: 0; top: 0; border-bottom: 1px solid var(--line); transition: transform .6s var(--ease), background-color .4s var(--ease); }
.duel__row .pos, .duel__row .drv, .duel__row .sec, .duel__row .dlap { font-weight: 300; }
.duel__row .drv { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel__row[data-driver="a"] > span { color: #fff; }
.duel__row[data-driver="b"] > span { color: var(--red); }
.duel__row .dlap { font-weight: 400; }
/* P1 and fastest sector: bold and underlined, same colour as the driver */
.duel__row.is-p1 .pos, .duel__row .sec.is-best { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.duel.is-finished .duel__row.is-p1 { background: rgba(255, 255, 255, .04); }
.duel.is-finished .duel__row.is-p1 .dlap { font-weight: 600; }
.duel__result { margin-top: 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.duel__result em { font-style: normal; color: var(--red); font-weight: 500; }
.duel__result span { color: var(--red); font-weight: 600; letter-spacing: .06em; }
.duel.is-finished .duel__result { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .duel__live { animation: none; } }

/* ---------- S3 formats: staged, no boxes ---------- */
.formats__grid { display: grid; gap: 64px; margin-top: 56px; }
@media (min-width: 900px) { .formats__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.format__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; background: #000; }
.format__smoke {
  position: absolute; left: -10%; right: -10%; top: -10%; bottom: -10%; z-index: 0;
  background: url("../img/smoke-3.webp") center 80% / cover no-repeat;
  opacity: 0; transition: opacity 1.8s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 62%, transparent 22%, #000 62%, transparent 96%);
          mask-image: radial-gradient(ellipse 78% 70% at 50% 62%, transparent 22%, #000 62%, transparent 96%);
  animation: rise 16s ease-in-out infinite alternate;
}
.format--signature .format__smoke { background-image: url("../img/smoke-2.webp"); background-position: center 70%; }
@keyframes rise { from { transform: translateY(7%) scale(1.04); } to { transform: translateY(-4%) scale(1.12); } }
.format__stage img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 52%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 76% 78% at 50% 52%, #000 62%, transparent 100%);
}
.format.is-lit .format__smoke, .reduced .format__smoke { opacity: .6; }
@media (hover: hover) { .format:hover .format__smoke { opacity: .9; } }
.format__line { height: 5px; margin: 22px 0 26px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--red); transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease) .2s; opacity: .55; }
.format--signature .format__line { opacity: 1; }
.format.is-lit .format__line, .reduced .format__line { transform: scaleX(1); }
.format h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); font-weight: 300; margin-bottom: 12px; }
.format p { color: var(--muted); max-width: 42ch; }
.format .tag { margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .format__smoke { animation: none; } }

/* ---------- S4 extras ---------- */
.tile__extra { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 15px; }

.eng .facts { margin-top: 80px; }

/* ---------- S6 spec row ---------- */
.specrow { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .specrow { grid-template-columns: repeat(4, 1fr); } }
.specrow > div { padding: 18px 14px 18px 0; }
.specrow > div + div { padding-left: 14px; }
@media (max-width: 599px) { .specrow > div:nth-child(3) { padding-left: 0; } .specrow > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.specrow dt { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.specrow dd { margin: 0; font-size: 15px; color: #fff; }
.specrow__note { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 599px) {
  .duel__row { grid-template-columns: 30px minmax(0, 1fr) repeat(3, 50px) 66px; font-size: 12px; }
  .duel__row--hdr { font-size: 9px; letter-spacing: .12em; }
  .drv__full { display: none; }
}

/* =========================================================
   v2 round 2: centred openers, S6 pre-race checks, footer
   ========================================================= */

/* centred openers (S2, S3, S4, finish): discreet line on both sides of the label */
.opener--center { text-align: center; }
.opener--center .label { justify-content: center; }
.opener--center .label::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-strong); }
.opener--center h2, .opener--center .lead { margin-left: auto; margin-right: auto; }
.closing--center { text-align: center; max-width: 52ch; margin-left: auto; margin-right: auto; }
.formats__foot--center { flex-direction: column; justify-content: center; text-align: center; }
.finish__head.opener--center .finish__time { justify-content: center; }
.finish__head.opener--center .finish__title { margin-left: auto; margin-right: auto; }
.finish__head.opener--center .label__s { color: var(--red); }

/* S6: checklist with the O target */
.ready__list { position: relative; isolation: isolate; }
.ready__pattern {
  position: absolute; inset: -80px -48px -80px -48px; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 78%);
}
.ready__sweep {
  position: absolute; inset: 0; opacity: .04;
  background: url("../img/pattern-4p.svg") 0 0 / 200px 200px repeat;
  -webkit-mask-image: linear-gradient(100deg, #000 40%, transparent 60%); mask-image: linear-gradient(100deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 2.6s var(--ease), mask-position 2.6s var(--ease);
}
.ready__sweep.is-on, .reduced .ready__sweep { -webkit-mask-position: 0 0; mask-position: 0 0; }
@media (max-width: 899px) { .ready__pattern { inset: -60px calc(var(--pad) * -1); } .ready__sweep { background-size: 150px 150px; } }

.checklist li { padding-left: 38px; }
.checklist li::before { content: none; }
html:not(.js) .checklist li::before { content: ""; left: 0; width: 20px; height: 12px; margin-top: -6px; background: url("../img/target.svg") center / contain no-repeat; }
.checklist .tgt { position: absolute; left: 0; top: 50%; width: 20px; height: 12px; margin-top: -6px; overflow: visible; fill: var(--red); }
.checklist .tgt .q { transition: transform .7s var(--ease), opacity .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.checklist li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left center; opacity: 1; }
.js .checklist li { color: #6b6e72; transition: color .6s var(--ease) .25s; }
.js .checklist li .ph { opacity: .55; transition: opacity .6s var(--ease) .25s; }
.js .checklist li:not(.is-checked) .q-lt { transform: translate(-60%, -60%); opacity: 0; }
.js .checklist li:not(.is-checked) .q-rt { transform: translate(60%, -60%); opacity: 0; }
.js .checklist li:not(.is-checked) .q-rb { transform: translate(60%, 60%); opacity: 0; }
.js .checklist li:not(.is-checked) .q-lb { transform: translate(-60%, 60%); opacity: 0; }
.js .checklist li.is-checked { color: #fff; }
.js .checklist li.is-checked .ph { opacity: 1; }
.js .checklist li.is-checked::after { transform: scaleX(1); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease) .9s; }

/* footer: public race days */
.footer__public { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 30ch; }
.footer__public a { color: #fff; }
.eng__text .factline { margin-top: 28px; color: #fff; }

/* =========================================================
   v2 round 3: line breaks, duel finish, finish sequence
   ========================================================= */
.lead--one { max-width: 44ch; }
@media (min-width: 1000px) { .lead--one { max-width: none; white-space: nowrap; } }
.h2--one { max-width: none; }
@media (min-width: 600px) { .h2--one { white-space: nowrap; } }
.h2--two { max-width: none; }
@media (min-width: 900px) { .h2--two .ln { display: block; white-space: nowrap; } }

.duel__dot { transition: box-shadow .4s var(--ease), left .25s linear; }
.duel__dot.is-home[data-dot="b"] { box-shadow: 0 0 0 4px rgba(217, 0, 36, .25); }
.duel__dot.is-home[data-dot="a"] { box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }

/* finish: the time stamps in when the road crosses the line, then "Your turn." */
.js:not(.reduced) .finish__time { opacity: 0; transform: scale(1.14); filter: blur(6px); transition: opacity .45s var(--ease), transform .8s cubic-bezier(.2, 1.3, .4, 1), filter .5s var(--ease); }
.js:not(.reduced) .finish__title, .js:not(.reduced) .finish__lead { opacity: 0; transform: translateY(14px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.finish__head.is-crossed .finish__time { opacity: 1; transform: none; filter: none; }
.finish__head.is-crossed .finish__title { opacity: 1; transform: none; transition-delay: .55s; }
.finish__head.is-crossed .finish__lead { opacity: 1; transform: none; transition-delay: .85s; }

/* hero: smaller rig, image edges melt into the black */
@media (min-width: 900px) {
  .hero__media img {
    -webkit-mask-image: radial-gradient(ellipse 58% 56% at 56% 50%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 58% 56% at 56% 50%, #000 62%, transparent 100%);
  }
}
@media (max-width: 899px) {
  .hero__media img {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%);
  }
}
@media (max-width: 899px) { .hero__content { margin-top: -36vw; } }
.finish__lead { max-width: 52ch; }
/* S3: the stage (picture + smoke) melts into the page on every side */
.format__stage {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 86%, transparent 100%);
          mask-composite: intersect;
}
