/* aeroaswar.com, timing board edition. Tokens first, then shell, chrome, sections, pages. */
@font-face { font-family: "Bitcount Single"; src: url("../fonts/BitcountSingle.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ============ Tokens ============ */
:root {
  color-scheme: light;
  --ground: #fff; --ink: #0a0a0a; --muted: #55575b;
  --line: rgb(0 0 0 / .14); --line-2: rgb(0 0 0 / .32);
  --glass: rgb(255 255 255 / .66); --glass-line: rgb(0 0 0 / .09); --glass-hi: rgb(255 255 255 / .9);
  --chip: rgb(0 0 0 / .06); --chip-hi: rgb(0 0 0 / .13);
  --signal: #d0140f; --glow: #e10600; --on-glow: #fff;
  --panel: #0a0a0a; --panel-ink: #fff;
  --wake-o: .1;
  --hero-photo: grayscale(.15) contrast(1.05);
  --glow-blend: multiply;
  --glow-grad: radial-gradient(circle closest-side, rgb(225 6 0 / .34) 0%, rgb(225 6 0 / .1) 48%, transparent 100%);
  --wake-fallback: radial-gradient(60% 900px at 62% 0, rgb(225 6 0 / .07), transparent 80%);

  --f-pix: "Bitcount Single", ui-monospace, monospace;
  --f-sans: "Geist", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 2.8vw, 40px);
  --fs-hero: clamp(3.4rem, 13.2vw, 16rem);
  --fs-h1: clamp(3.2rem, 9vw, 9.5rem);
  --fs-h2: clamp(2.4rem, 6vw, 6.5rem);
  --fs-h3: clamp(1.6rem, 2.6vw, 2.8rem);
  --fs-panel: clamp(3.2rem, 10vw, 9.5rem);
  --fs-lead: clamp(1.2rem, 1.6vw, 1.75rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-meta: .8125rem;
}
/* Dark theme, and the black blocks inside the white page (island, countdown card): same tokens, inverted. */
:root[data-theme="dark"], .inkblock {
  --ground: #0a0a0a; --ink: #fff; --muted: #b0b0b0;
  --line: rgb(255 255 255 / .16); --line-2: rgb(255 255 255 / .32);
  --glass: rgb(16 16 16 / .6); --glass-line: rgb(255 255 255 / .12); --glass-hi: rgb(255 255 255 / .12);
  --chip: rgb(255 255 255 / .1); --chip-hi: rgb(255 255 255 / .22);
  --signal: #ff4a3d;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --panel: #fff; --panel-ink: #0a0a0a;
  --wake-o: .3;
  --hero-photo: grayscale(.25) contrast(1.06) brightness(.86);
  --glow-blend: screen;
  --glow-grad: radial-gradient(circle closest-side, rgb(255 30 0 / .55) 0%, rgb(225 6 0 / .22) 46%, transparent 100%);
  --wake-fallback: radial-gradient(60% 900px at 62% 0, rgb(255 26 0 / .14), transparent 80%);
}
.inkblock { background: #0a0a0a; color: #fff; }

/* ============ Shell ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ground); color: var(--ink);
  font: 400 var(--fs-body)/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--glow); color: #fff; }
.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: fixed; left: 12px; top: 12px; z-index: 10001; padding: 14px 16px; background: var(--panel); color: var(--panel-ink); font: 600 14px var(--f-sans); border-radius: 2px; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
.wrap { padding-inline: var(--gut); }
.pix { font-family: var(--f-pix); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); font-size: var(--fs-meta); letter-spacing: .02em; }
.muted { color: var(--muted); }
.disp { font-family: var(--f-pix); font-weight: 250; text-transform: uppercase; line-height: .86; letter-spacing: -.02em; }
.disp .dim { opacity: 1; color: var(--muted); font-weight: 400; }
.disp b, .disp .w4 { font-weight: 420; }
.h2 { font-size: var(--fs-h2); }
.kicker { color: var(--muted); }
[hidden] { display: none !important; }

/* ============ Preloader (home only, first visit per session) ============ */
.pre { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.pre__bg { position: absolute; inset: 0; background: var(--ground); }
.pre__hole {
  position: absolute; left: 50%; top: 50%; width: 300vmax; height: 300vmax;
  translate: -50% -50%;
  background: radial-gradient(circle at center, transparent 0, transparent 12.5rem, color-mix(in srgb, var(--ground) 80%, transparent) 21.875rem, var(--ground) 25rem, var(--ground) 100%);
}
.pre__count { position: relative; display: grid; justify-items: center; gap: 14px; color: var(--ink); }
.pre__logo { width: min(64vw, 20rem); height: auto; fill: var(--ink); margin-bottom: 18px; }
.pre__logo circle { opacity: .1; transition: opacity .12s linear; }
.pre__count b { font: 250 clamp(2.6rem, 5vw, 4rem)/.8 var(--f-pix); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pre__count span { font: 400 12px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
html:not(.pre-on) .pre { display: none; }
html.pre-on { overflow: hidden; }

/* Page curtain (between pages) */
.curtain { position: fixed; inset: 0; z-index: 9000; background: #0a0a0a; display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden; }
.curtain__logo { width: min(72vw, 30rem); height: auto; fill: #fff; overflow: visible; }
html.cur-in .curtain { opacity: 1; visibility: visible; }

/* ============ Top bar (absolute, scrolls away) ============ */
.top { position: absolute; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gut); color: var(--ink); }
.top--page { position: relative; color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 var(--fs-meta) var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.brand svg { width: 52px; height: auto; }
.tools { display: flex; gap: 6px; }
.tool {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 2px;
  display: inline-grid; place-items: center; gap: 6px; grid-auto-flow: column;
  background: var(--chip); border: 1px solid var(--glass-line);
  font: 500 12px var(--f-mono); letter-spacing: .06em;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.tool:hover { background: var(--chip-hi); }
.tool svg { width: 18px; height: 18px; }
.lang b { font-weight: 500; opacity: .62; transition: opacity .3s; }
.lang { gap: 5px; }
html[lang="en"] .lang b[data-l="en"], html[lang="id"] .lang b[data-l="id"] { opacity: 1; font-weight: 700; }

/* ============ Nav island (fixed bottom) ============ */
.bottom-blur {
  position: fixed; left: 0; bottom: 0; width: 100%; height: 56px; z-index: 90; pointer-events: none;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(to top, #000 0, transparent 100%); mask-image: linear-gradient(to top, #000 0, transparent 100%);
}
.island {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 100; translate: -50% 0;
  display: flex; align-items: center; gap: 4px; padding: 5px;
  border-radius: 8px; border: 1px solid var(--glass-line);
  background: rgb(10 10 10 / .9); color: #fff; backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: translate .6s var(--ease), opacity .4s;
}
.island.is-away:not(:focus-within) { translate: -50% calc(100% + 32px); }
.bottom-blur { transition: opacity .4s; }
.island.is-away:not(:focus-within) ~ .bottom-blur, body:has(.island.is-away:not(:focus-within)) .bottom-blur { opacity: 0; }
.island__logo { display: none; padding: 0 12px 0 10px; font: 300 1.6rem/1 var(--f-pix); min-height: 44px; align-items: center; }
.island__dots { width: 64px; height: auto; display: block; }
.island__logo:hover .island__dots, .island__logo:focus-visible .island__dots { color: var(--glow); }
.chip, .island__cta {
  position: relative; height: 44px; min-width: 76px; padding: 0 14px; border-radius: 2px; overflow: hidden;
  display: grid; place-items: center;
  font: 500 13px var(--f-sans); letter-spacing: .01em; white-space: nowrap;
}
.chip { background: var(--chip); border: 1px solid var(--glass-line); transition: background-color .35s var(--ease); }
.chip:hover { background: var(--chip-hi); }
.chip[aria-current="page"] { background: var(--ink); color: var(--ground); border-color: transparent; }
.island__cta { background: var(--glow); color: #fff; font-weight: 600; transition: background-color .35s var(--ease); }
.island__cta:hover { background: #ff2a1f; }
.chip:active, .island__cta:active, .btn:active, .tool:active { scale: .97; }
@media (min-width: 640px) { .island__logo { display: flex; } .chip, .island__cta { min-width: 96px; font-size: 14px; } }
@media (max-width: 400px) { .chip, .island__cta { min-width: 0; padding: 0 11px; font-size: 12.5px; } }

/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  min-height: 48px; padding: 0 22px; border-radius: 2px; overflow: hidden;
  background: var(--ink); color: var(--ground); font: 600 15px var(--f-sans);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.btn .arr { transition: translate .5s var(--ease); }
.btn:hover { background: var(--glow); color: #fff; }
.btn:hover .arr { translate: 4px 0; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--glow); }

/* ============ Hero (always the night stage) ============ */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ground); color: var(--ink); isolation: isolate; transition: background-color .5s var(--ease); }
.hero__photo {
  position: absolute; left: 50%; top: 49%; translate: -50% -50%;
  width: min(86vw, 47rem, 62svh); aspect-ratio: 1; border-radius: 50%; overflow: hidden; z-index: 1;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; filter: var(--hero-photo); scale: 1.08; }
.hero__glow {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; mix-blend-mode: var(--glow-blend); will-change: transform;
  filter: blur(30px);
  background: var(--glow-grad);
}
.hero__ring {
  position: absolute; left: 50%; top: 49%; translate: -50% -50%; z-index: 3; pointer-events: none;
  width: min(92vw, 50rem, 67svh); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink);
  -webkit-mask-image: linear-gradient(to bottom, transparent 18%, rgb(0 0 0 / .3) 55%, #000 85%); mask-image: linear-gradient(to bottom, transparent 18%, rgb(0 0 0 / .3) 55%, #000 85%);
}
.hero__blur { position: absolute; inset: auto 0 0; height: 55%; z-index: 4; pointer-events: none; backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.hero__fade { position: absolute; inset: auto 0 0; height: 38vh; z-index: 4; pointer-events: none; background: linear-gradient(to top, var(--ground), transparent); }
.hero__tags {
  position: absolute; left: 0; right: 0; top: 34px; z-index: 5; display: flex; justify-content: center; padding: 0 var(--gut);
  font: 400 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero__tags span + span::before { content: "·"; margin: 0 10px; }
@media (max-width: 899px) {
  .hero__tags { top: calc(84px + 34vw + 18px); letter-spacing: .12em; }
  .hero__tags span + span::before { margin: 0 8px; }
}
@media (max-width: 767px) {
  .hero__block { padding-top: 84px; }
  .hero__photo, .hero__ring { top: 52%; }
}
@media (min-width: 768px) and (max-width: 899px) { .hero__tags { top: calc(96px + 11vw + 14px); } }
.hero__block { padding-top: 84px; }
  .hero__photo, .hero__ring { top: 52%; }
}
@media (min-width: 768px) {
  .hero__tags { grid-template-columns: 1fr 1fr 1fr; }
  .hero__tags span:nth-child(1) { justify-self: start; }
  .hero__tags span:nth-child(3) { justify-self: end; }
  .hero__tags span:nth-child(2) { visibility: hidden; }
}
.hero__block { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; justify-content: space-between; padding: 96px var(--gut) 104px; pointer-events: none; }
.hero__h1 {
  font: 250 var(--fs-hero)/.78 var(--f-pix); text-transform: uppercase; letter-spacing: -.03em; text-align: center; white-space: nowrap;
  color: var(--ink);
}
.hero__h1 .ln { display: block; }
@media (max-width: 767px) { .hero__h1 { font-size: 21.5vw; } }
@media (min-width: 768px) { .hero__h1 .ln { display: inline; } }
.hero__desc { max-width: 40rem; margin: 0 auto; text-align: center; font-size: clamp(.95rem, 1.15vw, 1.125rem); line-height: 1.45; color: var(--ink); }
.hero__desc b { font-weight: 600; }
.hero__meta { position: absolute; z-index: 6; bottom: 50%; left: var(--gut); right: var(--gut); display: none; justify-content: space-between; font: 400 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .hero__meta { display: flex; } }

/* ============ Content wrapper with the wake ============ */
.content { position: relative; background: var(--ground); overflow: clip; transition: background-color .5s var(--ease); }
.wake { position: absolute; left: -5%; top: -5%; width: 110%; height: 110%; z-index: 0; pointer-events: none; filter: blur(48px); opacity: var(--wake-o); -webkit-mask-image: linear-gradient(to right, transparent 2%, #000 32%, #000 68%, transparent 98%); mask-image: linear-gradient(to right, transparent 2%, #000 32%, #000 68%, transparent 98%); }
.wake-fallback { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--wake-fallback); background-repeat: no-repeat; display: none; }
html.no-gl .wake { display: none; } html.no-gl .wake-fallback { display: block; }
.content__seam { position: absolute; inset: 0 0 auto; height: 70vh; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, var(--ground), transparent); }
.content__foot { position: absolute; inset: auto 0 0; height: 40vh; z-index: 1; pointer-events: none; background: linear-gradient(to top, var(--ground), transparent); }
.grain { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; z-index: 2; pointer-events: none; mix-blend-mode: overlay; overflow: hidden; }
.grain i {
  position: absolute; inset: -60px; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 250px;
}
html.motion .grain i { animation: grain .4s steps(1) infinite; }
@keyframes grain { 0% { translate: 0 0 } 20% { translate: 50px 50px } 40% { translate: -50px 50px } 60% { translate: 50px -50px } 80% { translate: -50px -50px } }
.sec { position: relative; z-index: 3; padding-inline: var(--gut); }

/* Glass */
.glass { border-radius: 16px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* ============ Reveals (only hidden when JS motion is on) ============ */
html.motion [data-reveal="mask-top"], html.motion [data-reveal="mask-bottom"] {
  -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 45%; mask-size: 100% 45%;
  transition: -webkit-mask-size 1.4s cubic-bezier(.215,.61,.355,1), mask-size 1.4s cubic-bezier(.215,.61,.355,1);
}
html.motion [data-reveal="mask-top"] { -webkit-mask-position: top; mask-position: top; }
html.motion [data-reveal="mask-bottom"] { -webkit-mask-position: bottom; mask-position: bottom; }
html.motion [data-reveal^="mask"].in { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
html.motion [data-reveal="blur"] { translate: 0 28px; transition: opacity .9s cubic-bezier(.215,.61,.355,1), filter .9s cubic-bezier(.215,.61,.355,1), translate .9s cubic-bezier(.215,.61,.355,1); }
html.motion [data-reveal="panel"] { translate: 0 40px; scale: .98; transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), translate 1.4s var(--ease), scale 1.4s var(--ease); }
html.motion [data-reveal="blur"].in, html.motion [data-reveal="panel"].in { opacity: 1; filter: none; translate: 0 0; scale: 1; }

/* ============ Section: record (split header + two cards) ============ */
.record { padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(56px, 6vw, 96px); display: grid; gap: 40px; }
.split { display: grid; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 20rem; align-items: end; } }
.split__side { display: grid; gap: 24px; }
.split__side p { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 700 12px var(--f-sans); text-transform: uppercase; letter-spacing: .02em; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-grid; place-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
a.tag:hover { border-color: var(--glow); background: var(--chip); }
.filters__mid { color: var(--muted); display: none; }
@media (min-width: 1024px) { .filters__mid { display: block; } }
.filters__end { display: none; }
@media (min-width: 768px) { .filters__end { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; } .filters__end:hover { color: var(--signal); } }

.cards2 { display: grid; gap: 10px; }
@media (min-width: 768px) { .cards2 { grid-template-columns: 1fr 1fr; } }
.ccard { display: block; padding: clamp(12px, 1.6vw, 24px); aspect-ratio: 5 / 4; }
.ccard__img { position: relative; height: 100%; border-radius: 6px; overflow: hidden; padding: clamp(20px, 2.8vw, 40px); display: flex; flex-direction: column; color: #fff; isolation: isolate; }
.ccard__img picture, .ccard__img > img { position: absolute; inset: 0; z-index: -2; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.ccard:hover .ccard__img img { scale: 1.04; }
.ccard__img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(0 0 0 / .55), transparent 45%, transparent 55%, rgb(0 0 0 / .65)); }
.ccard__img h3 { font: 350 var(--fs-h3)/1.05 var(--f-pix); letter-spacing: -.03em; text-transform: uppercase; }
.ccard__img p { margin-top: auto; max-width: 30rem; font-size: var(--fs-small); line-height: 1.45; color: rgb(255 255 255 / .86); }
.ccard__badge { align-self: flex-start; padding: 6px 15px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .4); font: 700 12px var(--f-sans); text-transform: uppercase; letter-spacing: .02em; }
.ccard__img .bottom { margin-top: auto; }
.ccard__go { position: absolute; right: clamp(20px, 2.8vw, 40px); top: clamp(20px, 2.8vw, 40px); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .4s var(--ease), rotate .6s var(--ease), color .4s; }
.ccard:hover .ccard__go { background: var(--glow); color: #000; rotate: -45deg; }

/* ============ Section: class (lead + 2:1 grid) ============ */
.klass { padding-top: clamp(48px, 5vw, 88px); padding-bottom: clamp(72px, 8vw, 140px); }
.klass__head { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.klass__mid { display: grid; gap: 40px; margin-bottom: 80px; }
@media (min-width: 1024px) { .klass__mid { grid-template-columns: 1fr 1fr; gap: 0 } .klass__mid > div { padding-left: 11.875rem; } }
.lead { font-size: var(--fs-lead); line-height: 1.38; letter-spacing: -.01em; max-width: 40rem; }
.frow { display: flex; gap: 16px; margin-bottom: 22px; font-size: var(--fs-small); }
.frow dt { width: 8.5rem; flex: none; color: var(--muted); }
.frow dd { line-height: 1.6; max-width: 26rem; }
.grid21 { display: grid; gap: 10px; }
@media (min-width: 1024px) { .grid21 { grid-template-columns: 2fr 1fr; min-height: 32rem; } }
.fcard { padding: clamp(24px, 2.8vw, 40px); }
.fmain { display: grid; gap: 40px; }
@media (min-width: 768px) { .fmain { grid-template-columns: 1fr 1fr; } }
.fmain__l { display: flex; flex-direction: column; }
.fmain__l h3, .fside h3 { font: 500 clamp(1.6rem, 2.4vw, 2.5rem)/1.1 var(--f-sans); letter-spacing: -.025em; margin-bottom: 14px; }
.fmain__l p { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; max-width: 28rem; }
.specs { margin-top: auto; padding-top: 28px; }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.spec dt { color: var(--muted); }
.spec dd { text-align: right; }
.spec dd.pix { font: 600 1.05rem/1 var(--f-mono); }
.fmain__r { display: grid; place-items: center; }
.plate {
  position: relative; width: min(100%, 22rem); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--muted);
  background: radial-gradient(circle at 50% 60%, rgb(225 6 0 / .1), transparent 62%);
}
.plate b { font: 420 clamp(5rem, 9vw, 8rem)/.8 var(--f-pix); color: var(--signal); letter-spacing: -.04em; }
.plate__flag { display: grid; width: 44px; border: 1px solid var(--line-2); }
.plate__flag i { display: block; height: 8px; background: var(--glow); }
.plate__flag i + i { background: #fff; }
.fside { display: grid; gap: 10px; }
.fside .fcard { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.fside h3 { font-size: 1.5rem; }

/* ============ Section: race days (carousel) ============ */
.days { position: relative; z-index: 3; border-top: 1px solid var(--line); padding: clamp(64px, 6vw, 110px) 0; }
.days__head { padding: 0 var(--gut); display: grid; gap: 32px; margin-bottom: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) { .days__head { grid-template-columns: 1fr 3fr 1fr; align-items: start; } .days__intro { translate: -12.5rem 0; } }
.days__intro { font-size: var(--fs-small); line-height: 1.55; color: var(--muted); max-width: 22rem; }
.days__row { padding-left: var(--gut); display: grid; gap: 20px; }
.days__row .arrows { order: 2; padding-right: var(--gut); justify-content: flex-end; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 90px; height: 60px; border-radius: 6px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font: 300 1.6rem/1 var(--f-sans); display: grid; place-items: center; transition: background-color .3s var(--ease); }
.arrow:hover { background: var(--chip-hi); }
.arrow span { transition: translate .4s var(--ease); }
.arrow:hover span { translate: var(--dx, 0) 0; }
.arrow[data-dir="-1"] { --dx: -4px; } .arrow[data-dir="1"] { --dx: 4px; }
.track { list-style: none; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-right: var(--gut); scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: none; width: min(85vw, 37.5rem); padding: clamp(12px, 1.6vw, 24px); scroll-snap-align: start; }
.slide__img { position: relative; aspect-ratio: 5 / 4; border-radius: 6px; overflow: hidden; display: grid; place-items: end start; color: #fff; isolation: isolate; }
.slide__img picture, .slide__img > img { position: absolute; inset: 0; z-index: -2; }
.slide__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.slide:hover .slide__img img { scale: 1.04; }
.slide__img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .78), rgb(0 0 0 / .1) 55%, transparent); }
.slide__title { font: 350 clamp(1.6rem, 2.6vw, 2.5rem)/1 var(--f-pix); text-transform: uppercase; text-align: left; padding: 0 clamp(16px, 2.4vw, 40px) calc(clamp(16px, 2.4vw, 40px) + 2.2rem); text-wrap: balance; }
.slide__foot { position: absolute; left: clamp(16px, 2.4vw, 40px); right: clamp(16px, 2.4vw, 40px); bottom: clamp(16px, 2.4vw, 40px); display: flex; justify-content: space-between; font-size: var(--fs-small); color: rgb(255 255 255 / .8); }

/* ============ Section: the board (live timing) ============ */
.board { padding-top: clamp(32px, 4vw, 72px); padding-bottom: 24px; }
.board__head { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 1024px) { .board__head { grid-template-columns: 1fr auto; align-items: end; } }
.next {
  border-radius: 16px; display: grid; gap: 28px; padding: clamp(24px, 3.2vw, 48px); margin-bottom: 10px;
}
@media (min-width: 1024px) { .next { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.next__k { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgb(225 6 0 / .6); }
html.motion .dot { animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(225 6 0 / .6) } 80%, 100% { box-shadow: 0 0 0 12px rgb(225 6 0 / 0) } }
.next h3 { font: 500 clamp(1.6rem, 2.6vw, 2.6rem)/1.08 var(--f-sans); letter-spacing: -.025em; margin: 14px 0 12px; max-width: 34rem; }
.next__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); }
.next__src { display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.next__src:hover { color: var(--signal); }
p.next__src { text-decoration: none; }
.clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.clock div { display: grid; gap: 8px; padding: 18px 10px 14px; border-radius: 8px; background: rgb(255 255 255 / .06); border: 1px solid var(--glass-line); text-align: center; }
.clock b { font: 300 clamp(2.4rem, 5.6vw, 5.4rem)/.85 var(--f-pix); font-variant-numeric: tabular-nums; color: var(--signal); }
.clock span { font: 400 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.clock__state { grid-column: 1 / -1; font: 300 clamp(2rem, 4vw, 3.6rem)/1 var(--f-pix); text-transform: uppercase; color: var(--signal); padding: 20px 0; }

/* Timing table (home log + results board) */
.tt { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.tt caption { text-align: left; }
.tt th { text-align: left; font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 14px 14px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tt thead th.res, .tt thead th.pos { font: 500 11px var(--f-mono); color: var(--muted); text-align: right; }
.tt thead th.pos { text-align: left; }
.tt td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tt tbody tr { transition: background-color .3s var(--ease); }
.tt tbody tr:hover { background: var(--chip); }
.tt .pos { font: 500 .875rem/1 var(--f-mono); color: var(--muted); width: 3.2rem; padding-left: 6px; }
.tt .yr { font: 600 1rem/1 var(--f-mono); width: 5.5rem; }
.tt .ev b { font-weight: 600; display: block; }
.tt .ev span { color: var(--muted); font-size: .875rem; }
.tt .res { font: 600 .8125rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-align: right; white-space: nowrap; padding-right: 6px; }
.tt .res.gold, .tt .res.champ, .tt .res.win { color: var(--signal); }
.tt .src a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 2px; color: var(--muted); }
.tt .src a:hover { color: var(--signal); background: var(--chip); }
@media (max-width: 720px) {
  .tt thead .cls { display: none; }
  .tt tr { display: grid; grid-template-columns: 4rem 1fr auto; }
  .tt tbody tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .tt tbody td { border: 0; padding: 0 10px 0 0; }
  .tt tbody td.cls { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .8125rem; padding-top: 2px; }
  .tt .yr { width: 4rem; font-size: .9375rem; }
  .tt .pos { display: none; }
  .tt .res { font-size: .75rem; }
}

/* ============ Contact (white panel) ============ */
.contact { padding-top: clamp(32px, 4vw, 64px); padding-bottom: 96px; }
.panel { display: grid; place-items: center; gap: 24px; padding: clamp(56px, 7vw, 96px) var(--gut) clamp(32px, 3vw, 48px); margin-bottom: 60px; border-radius: 24px; background: var(--panel); color: var(--panel-ink); text-align: center; }
.panel h2 { font: 250 var(--fs-panel)/.84 var(--f-pix); text-transform: uppercase; letter-spacing: -.02em; }
.panel p { max-width: 34rem; font-size: var(--fs-small); line-height: 1.5; opacity: .78; }
.cfoot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.cfoot__l, .cfoot__r { display: grid; gap: 14px; align-content: start; }
@media (min-width: 768px) { .cfoot__r { justify-items: end; text-align: right; } }
.clink { display: inline-flex; align-items: baseline; min-height: 44px; font: 400 clamp(1.3rem, 3.2vw, 2.5rem)/1.2 var(--f-sans); letter-spacing: -.02em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--line-2); transition: text-decoration-color .3s var(--ease), color .3s; }
.clink:hover { text-decoration-color: var(--glow); }
.clink small { font: 400 var(--fs-meta) var(--f-mono); color: var(--muted); letter-spacing: .02em; margin-left: 8px; text-decoration: none; display: inline-block; }
.enq { display: grid; gap: 10px; }
.enq dt { color: var(--muted); font: 400 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ============ Footer ============ */
.foot { position: relative; z-index: 3; padding: 32px var(--gut) 92px; border-top: 1px solid var(--line); display: grid; gap: 18px; color: var(--muted); font-size: var(--fs-meta); }
@media (min-width: 900px) { .foot { grid-template-columns: auto auto; justify-content: space-between; align-items: center; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { display: inline-flex; min-height: 44px; align-items: center; transition: color .3s; }
.foot nav a:hover { color: var(--ink); }

/* ============ Inner page hero ============ */
.phero { position: relative; z-index: 3; padding: clamp(40px, 6vw, 80px) var(--gut) clamp(80px, 10vw, 140px); display: grid; gap: 48px; }
@media (min-width: 1024px) { .phero { grid-template-columns: 1.25fr 1fr; align-items: center; } }
.phero h1 { font: 250 var(--fs-h1)/.82 var(--f-pix); text-transform: uppercase; letter-spacing: -.03em; }
body[data-page="results"] .phero { padding-bottom: 40px; }
@media (max-width: 767px) { .phero h1 { font-size: 22vw; } }
.phero .lede { margin-top: 28px; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.38; }
.orb { position: relative; width: min(100%, 34rem); aspect-ratio: 1; justify-self: center; }
.orb__img { position: absolute; inset: 4%; border-radius: 50%; overflow: hidden; }
.orb__img img { width: 100%; height: 100%; object-fit: cover; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); -webkit-mask-image: linear-gradient(to bottom, transparent 18%, rgb(0 0 0 / .3) 55%, #000 85%); mask-image: linear-gradient(to bottom, transparent 18%, rgb(0 0 0 / .3) 55%, #000 85%); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 24px; display: grid; gap: 16px; }
.stat b { font: 400 clamp(4rem, 8vw, 7rem)/.8 var(--f-pix); color: var(--signal); }
.stat span { color: var(--muted); font-size: var(--fs-small); }

/* Results board controls */
.boardbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px var(--f-sans); transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.seg button:hover { border-color: var(--glow); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.count { font: 400 var(--fs-meta) var(--f-mono); color: var(--muted); }
.count b { font: 600 1.05rem/1 var(--f-mono); color: var(--ink); margin-right: 6px; vertical-align: -3px; }
.boardwrap { padding: clamp(12px, 2vw, 32px); }

/* Medal table */
.medals { display: grid; gap: 10px; margin-top: 120px; }
.medals { max-width: 52rem; }
.mt { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.mt th, .mt td { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.mt thead th { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mt .n { text-align: right; font: 600 1.05rem/1 var(--f-mono); }
.mt thead .n { font: 500 11px var(--f-mono); }
@media (max-width: 720px) { .mt th, .mt td { padding-right: 6px; } .mt thead th { letter-spacing: 0; font-size: 10px; } .mt .n { font-size: 1.25rem; width: 2.6rem; } .mt tbody th span { display: none; } }
.mt tbody th b { display: block; font-weight: 600; }
.mt tbody th span { color: var(--muted); font-size: .8125rem; font-family: var(--f-mono); }
.mt tfoot th, .mt tfoot td { border-bottom: 0; color: var(--signal); }

/* Rider page */
.bio { display: grid; gap: 48px; padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(100px, 12vw, 200px); }
@media (min-width: 1024px) { .bio { grid-template-columns: 1fr 1.6fr; gap: 80px; } }
.prose h2 { font: 500 clamp(1.5rem, 2vw, 2rem)/1.15 var(--f-sans); letter-spacing: -.02em; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 40rem; margin-bottom: 16px; color: var(--ink); opacity: .9; }
.laps { padding-bottom: clamp(100px, 12vw, 200px); }
.lap { display: grid; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .lap { grid-template-columns: 9rem 14rem 1fr; align-items: baseline; } }
.lap .y { font: 250 clamp(2.8rem, 4.6vw, 4.4rem)/.8 var(--f-pix); }
.lap .r { display: grid; gap: 4px; font: 400 var(--fs-meta) var(--f-mono); color: var(--muted); }
.lap .r b { font: 400 1.15rem/1 var(--f-pix); text-transform: uppercase; color: var(--signal); }
.lap h3 { font: 500 1.35rem/1.2 var(--f-sans); letter-spacing: -.015em; margin-bottom: 6px; }
.lap p { color: var(--muted); max-width: 40rem; }
.trio { display: grid; gap: 10px; padding-bottom: clamp(100px, 12vw, 200px); }
@media (min-width: 1024px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio .fcard h3 { font: 500 1.5rem/1.1 var(--f-sans); letter-spacing: -.02em; margin-bottom: 18px; }
.list li { list-style: none; display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.list li:last-child { border-bottom: 0; }
.list li > span:last-child, .list a > span:last-child { color: var(--muted); }
.list a { display: grid; gap: 2px; min-height: 44px; }
.list a:hover > span:first-child { color: var(--signal); }
.portraits { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); padding-bottom: 80px; }
@media (min-width: 1024px) { .portraits { grid-template-columns: repeat(4, 1fr); } }
.portraits figure { padding: 10px; }
.portraits .fr { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; }
.portraits img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.portraits figure:hover img { scale: 1.04; }
.portraits figcaption { display: flex; justify-content: space-between; padding: 12px 4px 2px; color: var(--muted); }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; z-index: 3; padding: 120px var(--gut); }
.lost .huge { font: 250 clamp(7rem, 26vw, 22rem)/.8 var(--f-pix); color: var(--signal); }
.lost h1 { font: 250 var(--fs-h2)/.9 var(--f-pix); text-transform: uppercase; margin: 24px 0 18px; }
.lost p { color: var(--muted); max-width: 30rem; margin: 0 auto 32px; }
.lost .btn { align-self: center; }

/* Reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

.panel .btn { background: var(--panel-ink); color: var(--panel); align-self: center; }
.panel .btn:hover { background: var(--glow); color: #fff; }
.more { margin-top: 20px; }

/* ============ Dot screen: low-resolution archive photos shown as on the board's LED screen ============ */
.ccard__img::before, .slide__img::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at center, transparent 0 1.15px, rgb(0 0 0 / .5) 1.6px) 0 0 / 4px 4px;
  mix-blend-mode: multiply;
}
.ccard__img img, .slide__img img { filter: contrast(1.12) saturate(1.1); }

/* ============ Season board (signature) ============ */
.seasons { padding-bottom: clamp(56px, 6vw, 96px); }
.seasons__head { display: grid; gap: 20px; margin-bottom: 36px; }
@media (min-width: 1024px) { .seasons__head { grid-template-columns: 1fr 20rem; align-items: end; } }
.seasons__head p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
:root[data-theme="dark"] .led, :root[data-theme="dark"] .next, :root[data-theme="dark"] .island { border: 1px solid rgb(255 255 255 / .14); }
.led { border-radius: 16px; padding: clamp(20px, 3vw, 44px); display: grid; gap: clamp(24px, 3vw, 48px); }
@media (min-width: 1024px) { .led { grid-template-columns: 22rem 1fr; align-items: center; } }
.led__k { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.led__year { font: 420 clamp(4.5rem, 9vw, 8rem)/.8 var(--f-pix); color: var(--signal); margin: 14px 0 22px; }
.led__list { list-style: none; display: grid; min-height: 11rem; align-content: start; }
@media (max-width: 600px) { .led__grid { grid-template-columns: repeat(14, minmax(0, 1fr)); row-gap: 12px; } .led__dot { width: 10px; } .led__col { min-width: 24px; } }
@media (max-width: 1023px) { .led__list { min-height: 0; } .led { padding-bottom: 16px; } .led__col time.quiet { display: none; } }
.led__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.35; }
.led__list b { font-weight: 600; }
.led__list span { grid-column: 1; color: var(--muted); font-size: .8125rem; }
.led__list i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 .75rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--signal); }
.led__list i.silver, .led__list i.bronze { color: #fff; }
.led__gridwrap { overflow-x: auto; scrollbar-width: none; }
.led__gridwrap::-webkit-scrollbar { display: none; }
.led__grid { display: grid; grid-template-columns: repeat(27, minmax(0, 1fr)); gap: 0; }
.led__col { display: grid; gap: 6px; padding: 8px 0 0; justify-items: center; border-radius: 6px; position: relative; min-height: 44px; transition: background-color .3s var(--ease); }
button.led__col:hover, .led__col.is-on { background: rgb(255 255 255 / .09); }
.led__col .dots { display: grid; gap: clamp(3px, .6vw, 9px); grid-auto-flow: row; direction: rtl; }
.led__dot { width: clamp(8px, 1.45vw, 22px); aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .09); transition: background-color .25s, box-shadow .4s, scale .4s var(--ease); }
.led__dot.lit { background: var(--glow); box-shadow: 0 0 14px rgb(225 6 0 / .75); }
.led__dot.lit.w { background: #fff; box-shadow: 0 0 12px rgb(255 255 255 / .6); }
html.motion .led:not(.in) .led__dot.lit { background: rgb(255 255 255 / .09); box-shadow: none; }
.led__col.is-on .led__dot.lit { scale: 1.18; }
.led__col time { font: 400 clamp(8px, .75vw, 10px) var(--f-mono); color: var(--muted); padding: 6px 0 8px; letter-spacing: .02em; }
.led__col.is-on time { color: #fff; }
.led__col time.quiet { visibility: hidden; }
@media (min-width: 1280px) { .led__col time.quiet { visibility: visible; } }

/* Sans section heads: secondary sections, so the dot-matrix moments stand out */
.h2s { font: 500 clamp(2rem, 4.2vw, 3.9rem)/1.02 var(--f-sans); letter-spacing: -.035em; max-width: 20ch; }
.h2s .dim { color: var(--muted); }
.h2s b { font-weight: 500; }
/* 5. Text over halftone: halftone fades out where copy sits, darker base */
.ccard__img::before { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 72%); mask-image: linear-gradient(to bottom, #000 40%, transparent 72%); }
.ccard__img::after { background: linear-gradient(to bottom, rgb(0 0 0 / .55), transparent 38%, rgb(0 0 0 / .35) 58%, rgb(0 0 0 / .85)) !important; }
/* Hero photo carries the board's dot screen too */
.hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 0 1.2px, rgb(0 0 0 / .32) 1.7px) 0 0 / 4px 4px; mix-blend-mode: multiply; }

.led__right { display: grid; gap: 18px; }
.led__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.led__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.led__legend .led__dot { width: 10px; }
html.motion .led:not(.in) .led__legend .led__dot.lit { background: var(--glow); box-shadow: 0 0 10px rgb(225 6 0 / .7); }
html.motion .led:not(.in) .led__legend .led__dot.lit.w { background: #fff; }
/* 6. card title clear of the arrow */
.ccard__img h3 { padding-right: 80px; }
/* 7. one photo treatment: rider gallery gets the board's dot screen */
.portraits .fr { position: relative; }
.portraits .fr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 0 1.15px, rgb(0 0 0 / .45) 1.6px) 0 0 / 4px 4px; mix-blend-mode: multiply; }
.portraits img { filter: contrast(1.12) saturate(1.1); }

@media (max-width: 600px) {
  .led__col time { font-size: 9px; letter-spacing: 0; }
  .led { padding-inline: 14px; }
  .mt thead .n { font-size: 9px; letter-spacing: 0; min-width: 2.6rem; }
}
.board__head .btn { align-self: end; }
@media (max-width: 600px) {
  .led__grid { grid-template-columns: repeat(14, minmax(0, 1fr)); row-gap: 12px; }
  .led__dot { width: 10px; }
  .ccard__img h3 { font-size: 1.3rem; padding-right: 64px; }
}

/* ============ Partner page ============ */
.phero__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.phero--partner { padding-bottom: clamp(56px, 7vw, 100px); }
.stat--ph { position: relative; }
.stat--ph b { color: var(--muted); }
.ph { display: inline-block; align-self: start; justify-self: start; padding: 3px 8px; border: 1px dashed var(--line-2); border-radius: 2px; font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.where { padding-bottom: clamp(72px, 8vw, 140px); }
.where__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .where__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }
.where__fig { display: grid; gap: 12px; }
.where__img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1400 / 933; }
.where__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08); }
.where__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 0 1.15px, rgb(0 0 0 / .32) 1.6px) 0 0 / 4px 4px; mix-blend-mode: multiply; }
.pin { position: absolute; z-index: 2; translate: -9px -9px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 0; height: 30px; border-radius: 999px; background: rgb(10 10 10 / .82); color: #fff; font: 500 12px var(--f-sans); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pin i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.pin i::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgb(225 6 0 / .6); }
html.motion .pin i::before { animation: ping 2.2s var(--ease) infinite; }
.places { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.places > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .places > div { grid-template-columns: 12rem 1fr; } }
.places dt { font-weight: 600; }
.places dd { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.pkgs { padding-bottom: clamp(72px, 8vw, 140px); }
.pkgs__head { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 1024px) { .pkgs__head { grid-template-columns: 1fr 22rem; align-items: end; } }
.pkgs__head p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.pkgs__grid { display: grid; gap: 10px; }
@media (min-width: 1024px) { .pkgs__grid { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; } }
.pkg { position: relative; border-radius: 16px; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.pkg h3 { font: 500 clamp(1.5rem, 2vw, 1.9rem)/1.1 var(--f-sans); letter-spacing: -.025em; }
.pkg__who { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.pkg__list { list-style: none; display: grid; gap: 10px; margin: 8px 0 4px; font-size: var(--fs-small); }
.pkg__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.pkg__list svg { width: 16px; height: 16px; margin-top: 2px; color: var(--signal); }
.pkg__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.pkg__price span { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pkg__price b { font-weight: 600; }
.pkg .btn { align-self: stretch; justify-content: space-between; }
.pkg--featured .btn { background: var(--glow); color: #fff; }
.pkg--featured .btn:hover { background: #fff; color: #0a0a0a; }
.pkg__badge { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--glow); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.proof { padding-bottom: clamp(72px, 8vw, 140px); }
.proof__grid { display: grid; gap: 10px; margin-top: 40px; }
@media (min-width: 1024px) { .proof__grid { grid-template-columns: repeat(3, 1fr); } }
.proof__grid .fcard { display: flex; flex-direction: column; gap: 12px; min-height: 14rem; }
.proof__grid h3 { font: 500 1.5rem/1.1 var(--f-sans); letter-spacing: -.02em; }
.proof__grid p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.proof__src { margin-top: auto; color: var(--signal); }
.proof__case { transition: border-color .3s var(--ease), translate .5s var(--ease); }
.proof__case:hover { border-color: var(--glow); translate: 0 -3px; }
.proof__ph { border-style: dashed; }
.seen { list-style: none; display: grid; margin-top: 4px; }
.seen a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .3s; }
.seen li:last-child a { border-bottom: 0; }
.seen a:hover { color: var(--signal); }
.steps { padding-bottom: clamp(72px, 8vw, 140px); }
.steps__list { list-style: none; display: grid; gap: 10px; margin-top: 40px; }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, 1fr); } }
.steps__list li { display: grid; gap: 10px; align-content: start; }
.steps__n { font: 420 3rem/.8 var(--f-pix); color: var(--signal); margin-bottom: 8px; }
.steps__list h3 { font: 500 1.35rem/1.15 var(--f-sans); letter-spacing: -.02em; }
.steps__list p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.enquire { padding-bottom: clamp(80px, 9vw, 140px); scroll-margin-top: 24px; }
.enquire__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .enquire__grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.enquire__intro { display: grid; gap: 20px; align-content: start; }
.enquire__intro > p { color: var(--muted); max-width: 28rem; }
.kit { border-radius: 16px; padding: 28px; display: grid; gap: 10px; margin-top: 12px; scroll-margin-top: 24px; }
.kit__k, .kit__meta { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.kit h3 { font: 500 1.35rem/1.2 var(--f-sans); letter-spacing: -.02em; max-width: 22rem; }
.kit__btn { margin-top: 8px; background: #fff; color: #0a0a0a; }
.kit__btn:hover { background: var(--glow); color: #fff; }
.form { border-radius: 16px; padding: clamp(20px, 3vw, 40px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-small); }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--ground); color: var(--ink);
  font: 400 1rem/1.4 var(--f-sans); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--signal); }
.err { color: var(--signal); font-size: .8125rem; font-weight: 500; }
.seg--form { gap: 8px; }
.seg--form label { position: relative; }
.seg--form input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg--form span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px var(--f-sans); transition: background-color .25s, color .25s, border-color .25s; }
.seg--form input:checked + span { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.seg--form input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.seg--form label:hover span { border-color: var(--glow); }
.form__go { justify-self: start; }
.sent { display: grid; gap: 12px; padding: 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ground); }
.sent:focus { outline: none; }
.sent__k { color: var(--signal); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.sent__msg { white-space: pre-wrap; font: 400 .875rem/1.55 var(--f-mono); color: var(--ink); max-height: 16rem; overflow: auto; }
.sent__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sent__note { font-size: .8125rem; line-height: 1.5; }
.panel__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.panel .btn--ghost { color: var(--panel-ink); border-color: color-mix(in srgb, var(--panel-ink) 35%, transparent); background: transparent; }
@media (min-width: 900px) { .phero--partner .stats { grid-template-columns: repeat(2, 1fr); } }
.phero--partner .stat { min-height: 9.5rem; align-content: space-between; }

.partners { margin-top: 10px; }
.partners__cap { caption-side: top; text-align: left; padding: 4px 6px 18px; font-weight: 600; }
.partners__cap .muted { margin-left: 10px; }
.partners__cap .muted { font-weight: 400; font-size: .8125rem; }
.ptable tbody th { text-align: left; font: 600 var(--fs-small)/1.35 var(--f-sans); letter-spacing: -.005em; text-transform: none; color: var(--ink); white-space: normal; padding: 16px 14px 16px 6px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ptable td.mono { font-size: .8125rem; white-space: nowrap; }
.ptable .src { text-align: right; }
.ptable .src a { width: auto; min-height: 44px; padding: 0 8px; white-space: nowrap; font-size: .8125rem; }
@media (max-width: 720px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid !important; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ptable tbody th, .ptable td { border: 0 !important; padding: 0 !important; }
  .ptable td:nth-of-type(1) { grid-column: 1; color: var(--muted); font-size: .875rem; }
  .ptable td.mono { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; padding-right: 8px !important; }
  .ptable .src { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* Instagram */
.gram { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 80px); }
.gram__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.gram__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 900px) { .gram__grid { grid-template-columns: repeat(6, 1fr); } }
.gram__item { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--chip); }
.gram__item img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.gram__item:hover img { scale: 1.05; }

/* HD race photos: no dot screen (it was only there to hide the soft archive shots) */
.hero__photo::after, .ccard__img::before, .where__img::after { display: none; }
.ccard__img img, .where__img img { filter: none; }
.hero__photo img { scale: 1.02; }
.ccard__img::after { background: linear-gradient(to bottom, rgb(0 0 0 / .62), transparent 34%, rgb(0 0 0 / .3) 58%, rgb(0 0 0 / .85)) !important; }

/* ============ HD photos (Drive set, Nov 2026): no dot screen ============ */
.slide__img::before, .portraits .fr.hd::after { display: none; }
.slide__img img, .portraits .fr.hd img { filter: none; }
.proof__img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.proof__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.proof__case:hover .proof__img img { scale: 1.04; }
.proof__img--type { display: grid; place-content: center; justify-items: center; gap: 6px; background: var(--ground); color: var(--ink); }
.proof__img--type b { font: 300 clamp(3.5rem, 7vw, 6rem)/1 var(--f-pix, 'Bitcount Single'), monospace; color: var(--signal); letter-spacing: .02em; }
.proof__img--type .mono { color: var(--muted); }

/* ============ Medal discs: gold, silver, bronze (semantic colours, outside the 70/20/10 palette on purpose) ============ */
.mdl { display: inline-block; width: .9em; height: .9em; border-radius: 50%; vertical-align: -.12em; margin-right: .5em; flex: none;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), 0 1px 2px rgb(0 0 0 / .18); }
.mdl--g { background: radial-gradient(circle at 34% 30%, #fff4c2 0 12%, #e0b23a 46%, #9a7114 100%); }
.mdl--s { background: radial-gradient(circle at 34% 30%, #ffffff 0 12%, #c3c7cd 46%, #7b8087 100%); }
.mdl--b { background: radial-gradient(circle at 34% 30%, #ffd9b5 0 12%, #c27b40 46%, #7a4219 100%); }
.mt thead .n .mdl { width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: -4px; }
.mt .n.z { color: var(--muted); }
.spec dt { display: flex; align-items: center; }
.res.gold::before, .res.silver::before, .res.bronze::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 0; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.res.gold::before { background: radial-gradient(circle at 34% 30%, #fff4c2 0 12%, #e0b23a 46%, #9a7114 100%); }
.res.silver::before { background: radial-gradient(circle at 34% 30%, #ffffff 0 12%, #c3c7cd 46%, #7b8087 100%); }
.res.bronze::before { background: radial-gradient(circle at 34% 30%, #ffd9b5 0 12%, #c27b40 46%, #7a4219 100%); }
@media (max-width: 720px) { .mt thead .n .mdl { display: block; margin: 0 0 6px auto; } }

/* ============ Recognition (home): open grid, icon + caps issuer + line (owner's reference layout) ============ */
.recog { padding-block: clamp(64px, 8vw, 128px) 0; }
.recog__head { margin-bottom: clamp(40px, 5vw, 72px); }
.recog__grid { list-style: none; display: grid; gap: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .recog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .recog__grid { grid-template-columns: repeat(3, 1fr); } }
.recog__item { display: flex; flex-direction: column; }
.recog__ico { width: 30px; height: 30px; color: var(--signal); margin-bottom: 18px; }
.recog__item h3 { font: 700 clamp(1.05rem, 1.35vw, 1.25rem)/1.2 var(--f-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink); max-width: 24ch; }
.recog__item p { margin-top: clamp(16px, 1.8vw, 26px); color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.65; max-width: 30ch; }

/* ============ XIX Design signature (footer, inline badge v1.3) ============ */
.foot__l { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.foot__sig { justify-self: end; margin-right: -6px; }
@media (min-width: 900px) { .foot__sig { grid-column: 2; } }

/* ============ Race stories (rider page) ============ */
.stories { padding-block: clamp(80px, 10vw, 160px) 0; }
.stories__head { display: grid; gap: 16px; margin-bottom: clamp(48px, 6vw, 96px); max-width: 52rem; }
.stories__intro { color: var(--muted); max-width: 40ch; }
.story { display: grid; gap: clamp(24px, 3vw, 56px); padding-block: clamp(40px, 5vw, 80px); border-top: 1px solid var(--line); align-items: start; }
@media (min-width: 1024px) {
  .story { grid-template-columns: 5fr 7fr; }
  .story:nth-of-type(even) .story__media { order: 2; }
  .story__media { position: sticky; top: 96px; }
}
.story__media { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--chip, rgb(0 0 0 / .04)); }
.story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__led { display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--ground); color: var(--ink); }
.story__led b { font: 300 clamp(5rem, 12vw, 10rem)/.9 var(--f-pix); color: var(--signal); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.story__led .mono { color: var(--muted); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; }
.story__body { max-width: 40rem; }
.story__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.story__yr { font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--f-pix); color: var(--signal); letter-spacing: .02em; width: 100%; margin-bottom: 8px; }
.story__meta b { color: var(--signal); font-weight: 600; }
.story h3 { font: 500 clamp(1.75rem, 3vw, 2.6rem)/1.08 var(--f-sans); letter-spacing: -.025em; margin: 18px 0 22px; text-wrap: balance; }
.story__body > p:not(.story__meta):not(.story__src) { font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.65; color: var(--ink); opacity: .86; margin-top: 14px; max-width: 62ch; }
.story__q { margin: 28px 0 4px; padding-left: 20px; border-left: 2px solid var(--glow); }
.story__q p { font: 500 clamp(1.2rem, 1.7vw, 1.5rem)/1.35 var(--f-sans); letter-spacing: -.015em; text-wrap: pretty; }
.story__q footer { margin-top: 10px; color: var(--muted); font-size: 12px; }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.story__stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.story__stats dd { font: 600 clamp(1.4rem, 2.2vw, 2rem)/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.story__stats dt { color: var(--muted); font-size: 12px; line-height: 1.35; }
.story__src { margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 2; }
.story__src a { color: var(--signal); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.story__src a:hover { text-decoration: underline; }
.lap__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--signal); font-size: 12px; text-decoration: none; }
.lap__more:hover { text-decoration: underline; }
.foot > .tools { justify-self: end; }

/* ============ Full-bleed hero (owner's pick, Nov 2026): race photo fills the hero, dark in both themes ============ */
.hero--full { --glow-blend: screen; --glow-grad: radial-gradient(circle closest-side, rgb(255 30 0 / .5) 0%, rgb(225 6 0 / .2) 46%, transparent 100%); }
.hero--full .hero__photo {
  inset: 0; left: 0; top: 0; translate: none; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0;
  -webkit-mask-image: none; mask-image: none;
}
.hero--full .hero__photo img { scale: 1.04; object-position: 56% 42%; filter: brightness(.66) saturate(1.05) contrast(1.04); }
.hero--full .hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(10 10 10 / .62), rgb(10 10 10 / .08) 34%, rgb(10 10 10 / .12) 58%, rgb(10 10 10 / .82)); }
.hero--full .hero__h1, .hero--full .hero__desc, .hero--full .hero__meta, .hero--full .hero__tags { text-shadow: 0 1px 18px rgb(0 0 0 / .45); }
@media (max-width: 767px) { .hero--full .hero__photo img { object-position: 50% 40%; } }

/* ============ His class: timing-board panels (replaces the circle plate) ============ */
.kpanel { position: relative; overflow: hidden; border: 0; border-radius: 16px; background: #0a0a0a; }
.kpanel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at center, rgb(255 255 255 / .07) 0 1.2px, transparent 1.6px) 0 0 / 10px 10px; }
.kpanel > * { position: relative; }
.kpanel__k { color: var(--signal); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.kpanel__k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.kpanel .fmain__l p { color: var(--muted); }
.kboard { width: 100%; display: grid; justify-items: center; gap: 14px; padding: clamp(16px, 3vw, 40px) 0; }
.kboard__k { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.kboard__n { font: 380 clamp(7rem, 14vw, 12rem)/.8 var(--f-pix); color: var(--signal); letter-spacing: -.02em; text-shadow: 0 0 28px rgb(255 74 61 / .45); }
.kboard__strip { display: grid; grid-template-columns: repeat(27, 1fr); gap: clamp(3px, .5vw, 6px); width: min(100%, 26rem); margin-top: 10px; }
.kboard__strip i { aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .12); }
.kboard__strip i.on { background: var(--signal); box-shadow: 0 0 8px rgb(255 74 61 / .7); }
.kboard__ends { width: min(100%, 26rem); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.kboard__flag { display: grid; grid-template-rows: 1fr 1fr; width: 22px; height: 14px; border-radius: 2px; overflow: hidden; }
.kboard__flag i:first-child { background: #e10600; } .kboard__flag i:last-child { background: #fff; }
.kmed__row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kmed__row li { display: grid; justify-items: start; gap: 10px; padding: 16px 14px; border-radius: 10px; background: var(--chip, rgb(0 0 0 / .04)); }
.kmed__row .mdl { width: 22px; height: 22px; margin: 0; }
.kmed__row b { font: 400 clamp(3rem, 5vw, 4.4rem)/.8 var(--f-pix); color: var(--ink); }
.kmed__row li:first-child b { color: var(--signal); }
.kmed__row li > span:last-child { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kmed__note { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.khome__row { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.khome__row li { display: grid; justify-items: center; gap: 8px; padding: 12px 0 10px; border-radius: 8px; background: #0a0a0a; }
.khome__row li i { width: 9px; height: 9px; border-radius: 50%; background: #ff4a3d; box-shadow: 0 0 9px rgb(255 74 61 / .8); }
.khome__row li span { font: 400 clamp(1rem, 1.6vw, 1.35rem)/1 var(--f-pix); color: #fff; }

/* ============ Rider page: full-bleed hero + quick facts as a timing panel ============ */
.phero--full { min-height: min(100svh, 56rem); display: flex; align-items: flex-end; overflow: hidden; padding-top: clamp(110px, 14vw, 180px); background: #0a0a0a; color: #fff; isolation: isolate; }
.phero__photo { position: absolute; inset: 0; z-index: -1; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: brightness(.68) saturate(1.05); }
.phero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(10 10 10 / .78), rgb(10 10 10 / .2) 55%, transparent), linear-gradient(to top, rgb(10 10 10 / .85), transparent 45%); }
.phero__body { position: relative; max-width: 44rem; }
.phero--full h1, .phero--full .lede { text-shadow: 0 1px 18px rgb(0 0 0 / .45); }
.phero--full .lede { color: rgb(255 255 255 / .88); }
.phero__credit { position: absolute; right: var(--gut); bottom: 18px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
@media (max-width: 767px) { .phero--full { min-height: 92svh; align-items: flex-start; padding-top: 104px; } .phero__photo img { object-position: 50% 100%; } .phero__photo::after { background: linear-gradient(to bottom, rgb(10 10 10 / .92), rgb(10 10 10 / .55) 38%, transparent 58%, rgb(10 10 10 / .35)); } }
.qf { padding: clamp(24px, 3vw, 40px); align-self: start; }
.qf .spec { border-bottom-color: rgb(255 255 255 / .12); }
.qf .spec dt { color: #b0b0b0; } .qf .spec dd { color: #fff; }
.qf .spec dd.pix { font: 400 2.2rem/.8 var(--f-pix); color: var(--signal); text-shadow: 0 0 16px rgb(255 74 61 / .5); }
.top--over { position: absolute; color: #fff; --ink: #fff; --muted: #b0b0b0; --chip: rgb(255 255 255 / .1); --chip-hi: rgb(255 255 255 / .22); --line: rgb(255 255 255 / .16); --line-2: rgb(255 255 255 / .32); }

/* ============ Honours board (timing-board theme) ============ */
.hb { padding: clamp(24px, 3vw, 44px); }
.hb__grid { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgb(255 255 255 / .12); }
@media (min-width: 640px) { .hb__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hb__grid { grid-template-columns: repeat(3, 1fr); } }
.hb__item { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 36px) clamp(0px, 2vw, 28px) clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
@media (min-width: 640px) { .hb__item { padding-left: clamp(16px, 2vw, 28px); } .hb__item:nth-child(2n+1) { padding-left: 0; } .hb__item:nth-child(2n+1) { border-right: 1px solid rgb(255 255 255 / .12); } }
@media (min-width: 1024px) { .hb__item, .hb__item:nth-child(2n+1) { padding-left: clamp(16px, 2vw, 28px); border-right: 1px solid rgb(255 255 255 / .12); } .hb__item:nth-child(3n+1) { padding-left: 0; } .hb__item:nth-child(3n) { border-right: 0; } }
.hb__yr { font: 380 clamp(2.6rem, 4.2vw, 3.6rem)/.8 var(--f-pix); color: var(--signal); letter-spacing: .01em; text-shadow: 0 0 18px rgb(255 74 61 / .45); }
.hb__yr--off { color: rgb(255 255 255 / .1); text-shadow: none; }
.hb__item h3 { font: 700 clamp(.95rem, 1.2vw, 1.1rem)/1.25 var(--f-sans); letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-top: 6px; }
.hb__item p { color: #b0b0b0; font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.55; max-width: 32ch; }

/* ============ Contact: social links as LED tiles (dotted brand icons) ============ */
.soc { display: block; }
.soc > p { margin-bottom: 16px; }
.soc__grid { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .soc__grid { grid-template-columns: repeat(4, 1fr); } }
.soc__tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 100%; padding: 22px 20px 18px; border-radius: 14px; overflow: hidden;
  background: #0a0a0a; color: #fff; border: 1px solid rgb(255 255 255 / .12); text-decoration: none; transition: border-color .3s var(--ease), translate .5s var(--ease); }
.soc__tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(circle at center, rgb(255 255 255 / .07) 0 1.2px, transparent 1.6px) 0 0 / 10px 10px; }
.soc__tile > * { position: relative; }
.soc__ico { height: clamp(52px, 6vw, 72px); width: auto; align-self: flex-start; margin-bottom: 18px; color: #fff; transition: color .25s, filter .25s; }
.soc__n { font: 500 clamp(1.05rem, 1.4vw, 1.3rem)/1.15 var(--f-sans); letter-spacing: -.01em; }
.soc__tile small { font: 400 12px var(--f-mono); color: #b0b0b0; letter-spacing: .02em; }
.soc__tile:hover, .soc__tile:focus-visible { border-color: var(--glow); translate: 0 -3px; }
.soc__tile:hover .soc__ico, .soc__tile:focus-visible .soc__ico { color: #ff4a3d; filter: drop-shadow(0 0 8px rgb(255 74 61 / .6)); }
.soc__tile--kit .soc__ico { color: #ff4a3d; }
:root[data-theme="dark"] .kpanel { border: 1px solid rgb(255 255 255 / .12); }

/* Since 1999 panel: fill the gaps (stats row, facts sit under the copy, board centred) */
.kpanel.fmain { align-items: center; }
.kpanel .fmain__l .specs { margin-top: 0; padding-top: 20px; }
.kstats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.kstats li { display: grid; gap: 10px; padding: 16px 14px 14px; border-radius: 10px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
.kstats b { font: 400 clamp(2.4rem, 3.6vw, 3.2rem)/.8 var(--f-pix); color: #fff; }
.kstats li:first-child b { color: var(--signal); text-shadow: 0 0 16px rgb(255 74 61 / .45); }
.kstats span { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #b0b0b0; }
.kboard { padding: 0; }
.kboard__strip { width: min(100%, 30rem); } .kboard__ends { width: min(100%, 30rem); }

/* Medal table: numbers centred under their headers */
.mt .n, .mt thead .n { text-align: center; }
.mt thead .n .mdl { display: block; margin: 0 auto 8px; }
@media (min-width: 768px) {
  .kboard__n { font-size: clamp(9rem, 16vw, 15rem); }
  .kboard { gap: 18px; }
  .kboard__strip { width: min(100%, 34rem); gap: clamp(4px, .55vw, 7px); margin-top: 18px; } .kboard__ends { width: min(100%, 34rem); }
  .kstats li { padding: 20px 16px 16px; }
}

/* ============ Results page: full-bleed record header + board on the LED panel ============ */
.phero--res { flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px clamp(24px, 4vw, 64px); }
.phero--res .phero__photo img { object-position: 60% 50%; }
.phero--res .stats { position: relative; }
.phero--res .stat { background: rgb(10 10 10 / .55); border: 1px solid rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.phero--res .stat b { color: var(--signal); text-shadow: 0 0 16px rgb(255 74 61 / .45); }
.phero--res .stat span { color: #d0d0d0; }
@media (max-width: 767px) { .phero--res .phero__photo img { object-position: 50% 100%; } }
.boardwrap.kpanel { padding: clamp(14px, 2vw, 32px); }
.kpanel .tt th { color: #b0b0b0; border-bottom-color: rgb(255 255 255 / .28); }
.kpanel .tt td { border-bottom-color: rgb(255 255 255 / .1); color: #fff; }
.kpanel .tt .ev span, .kpanel .tt .pos { color: #9a9a9a; }
.kpanel .tt .yr { font: 400 1.35rem/1 var(--f-pix); color: #fff; letter-spacing: .02em; }
.kpanel .tt .res.gold, .kpanel .tt .res.champ, .kpanel .tt .res.win { color: #ff4a3d; text-shadow: 0 0 12px rgb(255 74 61 / .55); }
.kpanel .tt .res.silver, .kpanel .tt .res.bronze { color: #fff; }
.kpanel .tt tbody tr:hover { background: rgb(255 255 255 / .05); }
.kpanel .mt th, .kpanel .mt td { border-bottom-color: rgb(255 255 255 / .1); color: #fff; }
.kpanel .mt thead th { color: #b0b0b0; }
.kpanel .mt .n { font: 400 1.6rem/1 var(--f-pix); }
.kpanel .mt tfoot .n, .kpanel .mt tfoot th { color: #ff4a3d; text-shadow: 0 0 12px rgb(255 74 61 / .5); }
.kpanel .mt .n.z { color: rgb(255 255 255 / .35); }
.kpanel .mt tbody th span { color: #9a9a9a; }
.kpanel .mt thead .n { font: 500 11px var(--f-mono); letter-spacing: .1em; }
@media (max-width: 720px) { .kpanel .mt thead .n { font-size: 9px; letter-spacing: 0; } .kpanel .mt .n { font-size: 1.3rem; } }
@media (max-width: 767px) {
  .phero--res .stats { grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
  .phero--res .stat { padding: 12px 8px 10px; gap: 8px; }
  .phero--res .stat b { font-size: 2.6rem; }
  .phero--res .stat span { font-size: 10.5px; line-height: 1.25; }
}

/* ============ Partner page in the theme ============ */
.phero--partner.phero--full .phero__photo img { object-position: 50% 30%; }
.phero--partner.phero--full .phero__photo::after { background: linear-gradient(to right, rgb(10 10 10 / .86), rgb(10 10 10 / .45) 55%, rgb(10 10 10 / .2)), linear-gradient(to top, rgb(10 10 10 / .85), transparent 50%); }
.phero--partner.phero--full .stats { grid-template-columns: repeat(2, 1fr); }
.phero--partner.phero--full .stat--ph { border-style: solid; }
.phero--partner.phero--full .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .4); }
@media (max-width: 767px) { .phero--partner.phero--full { min-height: 0; padding-bottom: 32px; } .phero--partner.phero--full .stats { grid-template-columns: repeat(4, 1fr); } .phero--partner.phero--full .phero__photo::after { background: linear-gradient(to bottom, rgb(10 10 10 / .9), rgb(10 10 10 / .55) 45%, rgb(10 10 10 / .75)); } }
.pkg.kpanel { color: #fff; }
.pkg.kpanel .pkg__list li, .pkg.kpanel p { color: #d0d0d0; }
.steps .kpanel .steps__n { color: #ff4a3d; text-shadow: 0 0 16px rgb(255 74 61 / .5); }
.steps .kpanel p, .proof .kpanel p { color: #b0b0b0; }
.partners.kpanel .partners__cap .muted { color: #9a9a9a; }
.form.kpanel { color: #fff; }
.form.kpanel input, .form.kpanel select, .form.kpanel textarea { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .18); color: #fff; }
.form.kpanel input::placeholder, .form.kpanel textarea::placeholder { color: rgb(255 255 255 / .45); }
.form.kpanel select option { color: #0a0a0a; }
@media (min-width: 1024px) {
  .phero--partner.phero--full { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; }
  .phero--partner.phero--full .stats { width: 100%; }
}
@media (max-width: 767px) {
  .phero--partner.phero--full .stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .phero--partner.phero--full .stat { min-height: 0; padding: 12px 12px 10px; gap: 8px; }
  .phero--partner.phero--full .stat b { font-size: 2.4rem; }
  .phero--partner.phero--full .phero__acts .btn { min-height: 48px; }
}

/* ============ Where your brand rides: LED placement board ============ */
.where__grid.kpanel { padding: clamp(18px, 2.6vw, 40px); gap: clamp(28px, 3.5vw, 56px); }
.where__grid.kpanel .h2s, .where__grid.kpanel .h2s b { color: #fff; }
.where__grid.kpanel .h2s .dim { color: #8a8a8a; }
.where__grid.kpanel .where__fig figcaption { color: #9a9a9a; }
.where__grid.kpanel .where__img { border-radius: 10px; border: 1px solid rgb(255 255 255 / .12); }
.where__grid.kpanel .pin i::before { background: #ff4a3d; box-shadow: 0 0 10px #ff4a3d; }
.where__grid.kpanel .places { margin-top: 28px; border-top: 1px solid rgb(255 255 255 / .14); }
.where__grid.kpanel .places > div { display: grid; grid-template-columns: 3.2rem 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / .1); align-items: baseline; }
@media (min-width: 640px) { .where__grid.kpanel .places > div { grid-template-columns: 3.2rem 11rem 1fr; } }
.where__grid.kpanel .places { counter-reset: pl; }
.where__grid.kpanel .places > div { counter-increment: pl; }
.where__grid.kpanel .places > div::before { content: counter(pl, decimal-leading-zero); font: 400 1.7rem/1 var(--f-pix); color: #ff4a3d; text-shadow: 0 0 14px rgb(255 74 61 / .5); grid-row: span 2; }
@media (min-width: 640px) { .where__grid.kpanel .places > div::before { grid-row: auto; } }
.where__grid.kpanel .places dt { color: #fff; font-weight: 600; }
.where__grid.kpanel .places dd { color: #b0b0b0; margin: 0; }
.hb__item { position: relative; }
.hb__src { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ff4a3d; text-decoration: none; }
.hb__src:hover, .hb__src:focus-visible { text-decoration: underline; }
.proof__img picture { display: block; width: 100%; height: 100%; }

/* Medal tiles centred, each medal explained */
.kmed__row li { justify-items: center; text-align: center; align-content: start; }
.kmed__row small { font: 400 11.5px/1.45 var(--f-sans); color: var(--muted); letter-spacing: 0; text-transform: none; }
/* Honours photos */
.hb__ph { display: grid; grid-template-columns: 2.2fr 1fr; gap: 10px; margin: 6px 0 26px; }
.hb__ph figure { margin: 0; display: grid; gap: 8px; align-content: start; }
.hb__ph img { width: 100%; height: clamp(180px, 24vw, 320px); object-fit: cover; border-radius: 8px; border: 1px solid rgb(255 255 255 / .12); display: block; }
.hb__ph figure:last-child img { object-position: 50% 20%; }
.hb__ph figcaption { font-size: 11px; letter-spacing: .06em; color: #9a9a9a; }
@media (max-width: 639px) { .hb__ph { grid-template-columns: 1.6fr 1fr; } .hb__ph img { height: 150px; } }
.kmed__row li > span[data-i18n] { font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kmed__row small { margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line); width: 100%; }
.partners.kpanel .ptable tbody th { color: #fff; border-bottom-color: rgb(255 255 255 / .1); }

/* ============ Race history (results page, from the CV) ============ */
.hs { margin-top: clamp(80px, 9vw, 140px); display: grid; gap: 18px; }
.hs__intro { color: var(--muted); max-width: 44ch; }
.hs__panel { padding: clamp(16px, 2.4vw, 36px); margin-top: 12px; }
.hs__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.hs__s { display: grid; gap: 10px; padding: 16px 14px; border-radius: 10px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
.hs__s b { font: 400 clamp(2.2rem, 4vw, 3.4rem)/.8 var(--f-pix); color: #fff; }
.hs__s:first-child b { color: #ff4a3d; text-shadow: 0 0 16px rgb(255 74 61 / .45); }
.hs__s span { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #b0b0b0; }
@media (max-width: 639px) { .hs__stats { grid-template-columns: repeat(2, 1fr); } }
.hs__seg { margin-bottom: 14px; }
.hs__y { border-top: 1px solid rgb(255 255 255 / .12); }
.hs__y:last-child { border-bottom: 1px solid rgb(255 255 255 / .12); }
.hs__y summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 10px 4px; }
.hs__y summary::-webkit-details-marker { display: none; }
.hs__y summary:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
.hs__yr { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1 var(--f-pix); color: #fff; min-width: 5.2ch; }
.hs__y[open] .hs__yr { color: #ff4a3d; text-shadow: 0 0 14px rgb(255 74 61 / .45); }
.hs__c { color: #9a9a9a; font-size: 12px; letter-spacing: .04em; }
.hs__y summary i { margin-left: auto; width: 12px; height: 12px; border-right: 2px solid #9a9a9a; border-bottom: 2px solid #9a9a9a; rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--ease); }
.hs__y[open] summary i { rotate: 225deg; translate: 0 3px; }
.hs__l { list-style: none; padding: 0 0 18px; }
.hs__l li { display: grid; grid-template-columns: 5.6rem 1fr; gap: 2px 14px; padding: 11px 4px; border-top: 1px solid rgb(255 255 255 / .06); align-items: baseline; }
@media (min-width: 900px) { .hs__l li { grid-template-columns: 5.6rem minmax(0, 18rem) 1fr; } }
.hs__p { grid-row: span 2; font: 400 1.25rem/1 var(--f-pix); color: rgb(255 255 255 / .55); }
@media (min-width: 900px) { .hs__p { grid-row: auto; } }
.hs__p.p1 { color: #ff4a3d; text-shadow: 0 0 12px rgb(255 74 61 / .55); }
.hs__p.p3 { color: #fff; }
.hs__t, .hs__m { font: 600 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.hs__m { color: #fff; } .hs__m .mdl { width: 12px; height: 12px; margin: 0; }
.hs__cls { color: #fff; font-weight: 600; font-size: .95rem; }
.hs__ev { color: #9a9a9a; font-size: .9rem; }
[data-history][data-f="pod"] .hs__l li:not(.is-pod), [data-history][data-f="win"] .hs__l li:not(.is-win) { display: none; }
[data-history][data-f="pod"] .hs__y[data-p="0"], [data-history][data-f="win"] .hs__y[data-w="0"] { display: none; }
.hs__seg button[aria-pressed="true"] { background: #fff; color: #0a0a0a; border-color: #fff; }

/* Honours: in the press, three portrait cards linked to each article */
.hb__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; margin: 4px 0 12px; }
.hb__press { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 30px; }
@media (min-width: 640px) { .hb__press { grid-template-columns: repeat(3, 1fr); } }
.hb__pc { display: flex; flex-direction: column; gap: 10px; height: 100%; color: inherit; text-decoration: none; padding: 10px 10px 4px; border: 1px solid rgb(255 255 255 / .12); border-radius: 12px; background: rgb(255 255 255 / .03); transition: border-color .3s var(--ease, ease), background-color .3s var(--ease, ease); }
.hb__pc:hover, .hb__pc:focus-visible { border-color: rgb(255 74 61 / .55); background: rgb(255 255 255 / .05); }
.hb__pc img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 8px; display: block; transition: transform .6s var(--ease, ease); }
.hb__pc picture { display: block; overflow: hidden; border-radius: 8px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .hb__pc:hover img { transform: scale(1.03); } }
.hb__pm { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9a9a9a; margin-top: 4px; }
.hb__pt { font: 700 clamp(1rem, 1.25vw, 1.15rem)/1.3 var(--f-sans); color: #fff; text-wrap: balance; }
.hb__pd { color: #b0b0b0; font-size: .95rem; line-height: 1.5; }
.hb__pc .hb__src { margin-top: auto; }
@media (max-width: 639px) { .hb__pc img { aspect-ratio: 4 / 3; object-position: 50% 18%; } }
/* seventh honour tile sits alone: let it span the row */
@media (min-width: 1024px) { .hb__item:last-child:nth-child(3n+1) { grid-column: 1 / -1; border-right: 0; } .hb__item:last-child:nth-child(3n+1) p { max-width: 60ch; } }
@media (min-width: 640px) and (max-width: 1023px) { .hb__item:last-child:nth-child(2n+1) { grid-column: 1 / -1; border-right: 0; } }

/* Results hero: qualifier under a stat label */
.stat span small { display: block; font-size: .82em; opacity: .7; margin-top: 2px; }

/* Breathing room between a full-bleed hero and the section after it (rider .bio has its own) */
.phero--full + .sec:not(.bio) { padding-top: clamp(40px, 5vw, 80px); }
