/* ==========================================================================
   Racing Expectations: dark race-day theme
   ========================================================================== */

:root {
	--bg: #0b0c0f;
	--bg-2: #0f1115;
	--surface: #15171d;
	--surface-2: #1b1e26;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .16);
	--text: #f4f3ef;
	--text-2: #b9bcc4;
	--muted: #7f848e;
	--red: #ff4632;
	--red-2: #e3311f;
	--red-soft: rgba(255, 70, 50, .14);
	--green: #3ddc84;

	--f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-body: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--radius: 18px;
	--radius-sm: 12px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 76px;
	color-scheme: dark;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }
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; border-radius: 6px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon.flip { transform: rotate(180deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }

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

/* Type ------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font: 600 12px/1 var(--f-body);
	letter-spacing: .2em; text-transform: uppercase;
	color: var(--red);
}
.eyebrow .icon { width: 16px; height: 16px; }
.section__title, .page-hero__title, .hero__title, .cta-band__title, .service__title, .month__title, .faq__title, .event-results__title {
	font-family: var(--f-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -.005em;
	line-height: .95;
}
.section__title { font-size: clamp(38px, 5.2vw, 68px); }
.dim { color: var(--muted); }
h1 em, h2 em, .hero__title em { font-style: italic; color: var(--red); padding-right: .06em; }

.pulse { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* Buttons ---------------------------------------------------------------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 48px; padding: 0 24px;
	border-radius: 999px; border: 1px solid transparent;
	font: 600 15px/1 var(--f-body); letter-spacing: .01em;
	cursor: pointer; white-space: nowrap;
	transition: transform .35s var(--ease), background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .35s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow, .btn:hover .icon { transform: translateX(3px); }
.btn:hover svg.icon[class*="arrow-ur"] { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(255, 70, 50, .65); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover { background: var(--red-2); box-shadow: 0 16px 40px -14px rgba(255, 70, 50, .8); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.btn--light { background: var(--text); color: #0b0c0f; }
.btn--light:hover { background: #fff; }
.btn--small { height: 38px; padding: 0 16px; font-size: 13px; }
/* "Follow us on Facebook": Facebook blue so it reads at a glance. */
.btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn--fb:hover { background: #2d88ff; border-color: #2d88ff; }
.btn--fb .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.site-footer__fb { margin-top: 20px; }
.contact__fb { margin-top: 24px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); white-space: nowrap; }
.link-arrow .icon { color: var(--red); transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow--small { font-size: 14px; margin-top: 20px; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.tag--warn { border-color: rgba(255,70,50,.5); color: var(--red); }
.tag--ok { border-color: rgba(61,220,132,.4); color: var(--green); }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s ease; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.chip.is-active { background: var(--text); border-color: var(--text); color: #0b0c0f; }
.chip .icon { width: 16px; height: 16px; color: var(--red); }

/* Header ----------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11, 12, 15, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { width: auto; height: 40px; transition: opacity .3s; }
.brand:hover img { opacity: .85; }
.nav__list { display: flex; gap: 4px; }
.nav__list a { position: relative; display: block; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .25s ease; }
.nav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--text); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.menu-toggle__bars { position: relative; display: block; width: 18px; height: 10px; margin: 0 auto; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8px; }
.menu-open .menu-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 32px) var(--gutter) 40px; background: rgba(11,12,15,.97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a { display: block; padding: 6px 0; font: 700 clamp(38px, 11vw, 56px)/1.05 var(--f-display); text-transform: uppercase; transform: translateY(105%); transition: transform .6s var(--ease-out), color .2s; transition-delay: calc(var(--i) * 45ms); }
.menu-open .mobile-menu li a { transform: none; }
.mobile-menu li a:hover { color: var(--red); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; color: var(--text-2); font-weight: 600; }
.menu-open { overflow: hidden; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 80% at 70% 10%, #1d1f27 0%, var(--bg) 60%); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); animation: hero-zoom 2.8s var(--ease-out) forwards; }
.hero__bg.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,15,.55) 0%, rgba(11,12,15,.2) 35%, rgba(11,12,15,.92) 85%, var(--bg) 100%), linear-gradient(90deg, rgba(11,12,15,.85) 0%, rgba(11,12,15,0) 65%); }
@keyframes hero-zoom { to { transform: scale(1); } }

/* Placeholder art: a running track receding toward a red finish line. */
.hero__lanes { position: absolute; left: -30%; right: -30%; bottom: -10%; height: 85%; perspective: 600px; perspective-origin: 60% 0; opacity: 0; animation: fade-in 2s .2s var(--ease) forwards; }
.hero__lanes::before { content: ""; position: absolute; inset: 0; transform: rotateX(68deg); transform-origin: top; background:
	linear-gradient(180deg, transparent 0 29.5%, rgba(255,70,50,.6) 29.5% 30.5%, transparent 30.5%),
	repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 2px), rgba(255,255,255,.14) calc(12.5% - 2px) 12.5%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); }
.hero__lanes::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 60% 25%, rgba(255,70,50,.12), transparent 70%); }
.hero__glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -15vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,70,50,.18), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6vw, 4vw); } }
@keyframes fade-in { to { opacity: 1; } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); align-items: end; gap: 48px; padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
.hero__eyebrow { color: var(--text-2); opacity: 0; animation: rise .8s .1s var(--ease-out) forwards; }
.hero__title { font-size: clamp(56px, 10.5vw, 156px); line-height: .86; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: line-up 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes line-up { to { transform: none; } }
.hero__lede { max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); opacity: 0; animation: rise .9s .45s var(--ease-out) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; opacity: 0; animation: rise .9s .6s var(--ease-out) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Next race card */
.next-race { position: relative; padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); opacity: 0; animation: rise 1s .75s var(--ease-out) forwards; }
.next-race::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.next-race__label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.next-race__title { display: block; font: 700 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 6px; transition: color .25s; }
.next-race__title:hover { color: var(--red); }
.next-race__meta { color: var(--text-2); font-size: 14px; margin: 0; }
.next-race__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.next-race__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.next-race__more:hover { color: var(--text); }
.next-race__more .icon { color: var(--red); }
/* Several races on the same day: stacked slides that take turns. */
.next-race__slides { display: grid; }
.next-race__slide { grid-area: 1 / 1; transition: opacity .5s ease, visibility .5s ease, transform .5s var(--ease); }
.next-race__slides[data-rotate] .next-race__slide:not(.is-active) { opacity: 0; visibility: hidden; transform: translateY(6px); }
.next-race__register { margin-top: 18px; }
.next-race__note { margin: 20px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.next-race__note a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.next-race__dots { display: flex; gap: 8px; }
/* Thin bars, but a 24px-tall tap area so they're easy to hit on a phone. */
.next-race__dots button { position: relative; width: 22px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .25s; }
.next-race__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 6px; border-radius: 3px; background: var(--line-2); transition: background .25s; }
.next-race__dots button.is-active { width: 34px; }
.next-race__dots button.is-active::before { background: var(--red); }
.next-race__dots button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* LED-style clock */
.clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 16px; }
.clock > div { position: relative; padding: 14px 6px 10px; border-radius: 12px; background: #07080a; border: 1px solid var(--line); text-align: center; overflow: hidden; }
.clock > div::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.04); }
.clock span { display: block; font: 500 clamp(26px, 2.4vw, 34px)/1 var(--f-mono); color: var(--red); text-shadow: 0 0 14px rgba(255,70,50,.55); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock small { display: block; margin-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.clock span.tick { animation: tick .35s var(--ease); }
@keyframes tick { from { opacity: .35; transform: translateY(-4px); } }

/* Ticker */
.ticker { position: relative; display: flex; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,8,10,.75); backdrop-filter: blur(10px); height: 56px; opacity: 0; animation: fade-in 1s 1s forwards; }
.ticker__label { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; padding: 0 22px 0 var(--gutter); background: var(--red); color: #fff; font: 700 15px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-right: 34px; }
.ticker__track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker__move { animation-play-state: paused; }
.ticker a { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 28px; font: 500 14px/56px var(--f-mono); color: var(--text-2); white-space: nowrap; border-right: 1px solid var(--line); transition: color .2s; }
.ticker a b { color: var(--red); font-weight: 500; }
.ticker a i { font-style: normal; color: var(--muted); font-size: 12px; }
.ticker a:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 130px); }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Race cards */
.race-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.race-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .4s ease, background .4s ease; }
.race-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.race-card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.race-card:hover::before { transform: scaleX(1); }
.race-card__link { position: absolute; inset: 0; z-index: 1; }
.race-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.race-card__title { font: 700 26px/1.02 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.race-card__meta { display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 14px; margin: 0; }
.race-card__meta span { display: flex; align-items: center; gap: 8px; }
.race-card__meta .icon { color: var(--muted); }
.race-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; }
.race-card__countdown { font: 500 13px/1 var(--f-mono); color: var(--red); }
.race-card__cta { position: relative; z-index: 2; }
.race-card__arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.race-card:hover .race-card__arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }

.dateblock { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; padding: 9px 0 8px; border-radius: 12px; background: #07080a; border: 1px solid var(--line); line-height: 1; flex: none; }
.dateblock__m { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.dateblock__d { font: 500 28px/1.1 var(--f-mono); margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.dateblock__w { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.bento__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), border-color .4s ease; }
.bento__item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bento__item--timing { grid-column: span 4; grid-row: span 2; }
.bento__item--dj, .bento__item--photo { grid-column: span 2; }
.bento__item--consulting, .bento__item--rental, .bento__item--certification { grid-column: span 2; }
.bento__media { position: absolute; inset: 0; z-index: -1; }
.bento__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,23,29,.1) 0%, rgba(21,23,29,.75) 55%, rgba(21,23,29,.98) 100%); }
.bento__item .media img { transition: transform 1.2s var(--ease-out); }
.bento__item:hover .media img { transform: scale(1.05); }
.bento__body { padding: 26px; }
.bento__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.bento__icon .icon { width: 24px; height: 24px; }
.bento__body h3 { font: 700 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.bento__item--timing .bento__body h3 { font-size: clamp(40px, 4vw, 56px); }
.bento__body p { color: var(--text-2); max-width: 46ch; margin-bottom: 0; }
.bento__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--text); }
.bento__more .icon { color: var(--red); transition: transform .35s var(--ease); }
.bento__item:hover .bento__more .icon { transform: translateX(5px); }
.bento__item--timing .bento__media .media__icon { top: 30%; }
.bento__item:not(.bento__item--timing) .media--ph .media__icon { display: none; }

.checks { display: grid; gap: 10px; margin: 20px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--red-soft); color: var(--red); margin-top: 2px; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 32px; }

/* Media + placeholders */
.media { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ph { background: radial-gradient(90% 70% at 70% 20%, rgba(255,70,50,.16), transparent 60%), linear-gradient(160deg, #1d2029 0%, #121419 100%); }
.media__lanes { position: absolute; inset: -20%; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.035) 46px 48px); transition: transform 1.4s var(--ease-out); }
.media--ph::after { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,70,50,.6), transparent); }
.media__icon { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--line-2); color: rgba(255,255,255,.45); background: rgba(11,12,15,.35); backdrop-filter: blur(4px); transition: transform .8s var(--ease-out), color .4s; }
.media__icon .icon { width: 40px; height: 40px; stroke-width: 1.2; }
a:hover .media__lanes, .service:hover .media__lanes { transform: translateX(40px); }
a:hover .media__icon { color: var(--red); transform: translate(-50%, -50%) scale(1.06); }

/* Stats */
.stats { padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #0d0e12 100%); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: flex; align-items: baseline; font: 700 clamp(48px, 6vw, 88px)/1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .45em; color: var(--red); margin-left: 4px; }
.stat__label { display: block; margin-top: 12px; color: var(--text-2); font-size: 14px; max-width: 22ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), transparent); }
.step::after { content: ""; position: absolute; top: 52px; right: -17px; width: 18px; height: 1px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step__num { display: inline-block; font: 500 14px/1 var(--f-mono); color: var(--red); padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,70,50,.35); margin-bottom: 28px; }
.step h3 { font: 700 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.step p { color: var(--text-2); margin: 0; }

/* Result rows */
.result-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.result-row, .ritem__head { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto auto 40px; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .3s ease, padding .4s var(--ease); }
.result-row { grid-template-columns: 140px minmax(0, 1fr) auto 40px; }
.result-row:hover, .ritem__head:hover { background: rgba(255,255,255,.025); padding-left: 18px; padding-right: 14px; }
.result-row__date, .ritem__date { font: 500 14px/1 var(--f-mono); color: var(--muted); }
.result-row__title, .ritem__title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.result-row__title small, .ritem__title small { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; color: var(--muted); }
.result-row__count, .ritem__count { font: 500 13px/1 var(--f-mono); color: var(--text-2); white-space: nowrap; }
.result-row__go, .ritem__chev { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.result-row:hover .result-row__go { background: var(--red); border-color: var(--red); transform: translateX(4px); }

/* Testimonial + partners */
.quote { position: relative; max-width: 980px; margin: 0 auto 96px; text-align: center; }
.quote__mark { display: block; font: 700 140px/.6 var(--f-display); color: var(--red); height: 64px; }
.quote blockquote { margin: 0 0 26px; font: 600 clamp(28px, 3.6vw, 46px)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; transition: opacity .5s ease; }
.quote figcaption { color: var(--text-2); transition: opacity .5s ease; }
.quote figcaption b { color: var(--text); }
.quote.is-swapping blockquote, .quote.is-swapping figcaption { opacity: 0; }
.partners { text-align: center; }
.partners__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partner { display: grid; place-items: center; width: 200px; height: 96px; padding: 18px 26px; border-radius: var(--radius-sm); background: #f4f3ef; filter: grayscale(1); opacity: .7; transition: filter .4s ease, opacity .4s ease, transform .4s var(--ease); }
.partner:hover { filter: none; opacity: 1; transform: translateY(-3px); }
.partner img { display: block; max-height: 60px; max-width: 148px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }

/* CTA band */
.cta-band { padding: 0 0 clamp(80px, 10vw, 130px); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(36px, 5vw, 64px); border-radius: calc(var(--radius) + 6px); overflow: hidden; isolation: isolate; background: linear-gradient(120deg, #1d0f0d 0%, #16171d 55%); border: 1px solid rgba(255,70,50,.25); }
.cta-band__inner::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.cta-band__inner::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,70,50,.35), transparent 65%); }
.cta-band__title { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 10px; }
.cta-band p { color: var(--text-2); margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #08090b; padding: 80px 0 32px; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand img { width: 240px; height: auto; margin-bottom: 24px; }
.site-footer__brand p { color: var(--muted); max-width: 34ch; font-size: 15px; }
.site-footer h2 { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col a { color: var(--text-2); font-size: 15px; transition: color .2s; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__contact a, .site-footer__contact span { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.site-footer__contact .icon { color: var(--red); margin-top: 3px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-2); }
.to-top .icon { transform: rotate(-90deg); transition: transform .35s var(--ease); color: var(--red); }
.to-top:hover .icon { transform: rotate(-90deg) translateX(4px); }

/* Inner page hero -------------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(60% 90% at 90% 0%, rgba(255,70,50,.16), transparent 60%),
	repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.03) calc(10% - 1px) 10%); }
.page-hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); }
.page-hero__title { font-size: clamp(54px, 9vw, 128px); max-width: 15ch; }
.page-hero__title--event { font-size: clamp(44px, 6.5vw, 96px); max-width: 18ch; }
.page-hero__lede { margin: 24px 0 0; max-width: 56ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); }
.filters, .jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filters--tight { margin: 16px 0 0; }

/* Race calendar */
.month { margin-bottom: 56px; }
.month__title { display: flex; align-items: center; gap: 14px; font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 20px; }
.month__title span { font: 500 13px/1 var(--f-mono); color: var(--red); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,70,50,.35); }
.cal-list { display: grid; gap: 10px; }
.cal-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 18px 22px 18px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s ease, background .3s ease, transform .45s var(--ease); }
.cal-row:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(4px); }
.cal-row h3 { font: 700 28px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.cal-row h3 a:hover { color: var(--red); }
.cal-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; color: var(--text-2); font-size: 14px; }
.cal-row__meta span:not(.tag) { display: inline-flex; align-items: center; gap: 6px; }
.cal-row__meta .icon { color: var(--muted); }
.cal-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cal-row__count { font: 500 13px/1 var(--f-mono); color: var(--red); }
.cal-row__actions { display: flex; gap: 8px; }
.cal-row.is-filtered, .month.is-filtered { display: none; }
.filter-empty { color: var(--muted); text-align: center; padding: 40px 0; }

.empty { text-align: center; padding: 64px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.empty > .icon { width: 44px; height: 44px; color: var(--red); margin: 0 auto 18px; display: block; }
.empty h2 { font: 700 34px/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.empty p { color: var(--text-2); }
.empty__actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Results search */
.results-tools { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; }
.search, .select { position: relative; display: flex; align-items: center; }
.search > .icon { position: absolute; left: 22px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search input, .select select { width: 100%; height: 64px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 500 17px var(--f-body); padding: 0 24px 0 58px; transition: border-color .25s ease, box-shadow .25s ease, background .25s; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus, .select select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); background: var(--surface-2); }
.search input:not(:placeholder-shown) ~ kbd, .search input:focus ~ kbd { display: none; }
.search kbd { position: absolute; right: 20px; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-2); font: 500 12px var(--f-mono); color: var(--muted); }
.select select { padding: 0 48px 0 24px; cursor: pointer; }
.select .icon { position: absolute; right: 20px; pointer-events: none; color: var(--muted); }
.results-count { margin: 32px 0 12px; font: 500 13px/1 var(--f-mono); color: var(--muted); letter-spacing: .02em; }

.ritem { border-bottom: 1px solid var(--line); }
.ritem__head { border-bottom: 0; cursor: pointer; list-style: none; }
.ritem__head::-webkit-details-marker { display: none; }
.ritem__title mark { background: var(--red-soft); color: var(--text); border-radius: 3px; padding: 0 2px; }
.ritem[open] .ritem__head { background: rgba(255,255,255,.025); }
.ritem[open] .ritem__chev { transform: rotate(180deg); background: var(--text); color: #0b0c0f; border-color: var(--text); }
.ritem__panel { padding: 6px 8px 30px 172px; }
.ritem.is-anim .ritem__panel { animation: panel-in .45s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
.results-more { display: flex; justify-content: center; margin-top: 36px; }

.rlinks + .rlinks { margin-top: 22px; }
.rlinks__label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.rlinks__row { display: flex; flex-wrap: wrap; gap: 10px; }
.rlinks__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.rlink { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: all .3s var(--ease); }
.rlink > .icon:first-child { color: var(--red); width: 20px; height: 20px; }
.rlink span { flex: 1; min-width: 0; line-height: 1.35; }
.rlink__go { color: var(--muted); width: 16px; height: 16px; transition: transform .3s var(--ease), color .3s; }
.rlink:hover { border-color: rgba(255,70,50,.45); background: var(--surface-2); transform: translateY(-2px); }
.rlink:hover .rlink__go { color: var(--red); transform: translate(2px, -2px); }
.rlink--live { background: var(--red-soft); border-color: rgba(255,70,50,.3); padding-right: 18px; }

/* Results: Races / Runners switch */
.rmode { position: relative; display: none; grid-template-columns: 1fr 1fr; width: 260px; padding: 4px; margin-bottom: 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.js .rmode { display: grid; }
.rmode__btn { position: relative; z-index: 1; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: 700 14px var(--f-body); letter-spacing: .02em; cursor: pointer; transition: color .3s ease; }
.rmode__btn:hover { color: var(--text); }
.rmode__btn.is-active { color: #0b0c0f; }
.rmode__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.rmode__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); transition: transform .45s var(--ease); }
.is-runners .rmode__pill { transform: translateX(100%); }
.is-runners [data-rtypes] { display: none; }

/* Runner matches */
.runner-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.result-list[hidden], .runner-list[hidden], .results-more .btn[hidden] { display: none; }
.is-loading .runner-list { opacity: .5; transition: opacity .2s ease .15s; }
.rhit { padding: 22px 24px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.rhit__head { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: baseline; gap: 6px 24px; margin-bottom: 14px; }
.rhit__title { font-weight: 700; font-size: 18px; line-height: 1.3; transition: color .2s; }
.rhit__title:hover { color: var(--red); }
.rhit__title small { margin-left: 10px; font-weight: 500; font-size: 14px; color: var(--muted); }
.rhit__file { margin-left: 164px; }
.rhit__file + .rhit__file { margin-top: 14px; }
.rhit__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); transition: color .2s; }
.rhit__label .icon:first-child { width: 16px; height: 16px; color: var(--red); }
.rhit__label .rlink__go { width: 14px; height: 14px; }
.rhit__label:hover { color: var(--text); }
.rhit__label:hover .rlink__go { color: var(--red); transform: translate(2px, -2px); }
.rhit__lines { margin: 8px 0 0; padding: 0; list-style: none; }
.rhit__lines a { display: flex; align-items: baseline; gap: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.03); transition: background .2s ease; }
.rhit__lines li + li a { margin-top: 4px; }
.rhit__lines a:hover { background: rgba(255,255,255,.07); }
.rhit__lines code { flex: 1; min-width: 0; font: 400 13.5px/1.55 var(--f-mono); color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.rhit__lines mark { background: var(--red-soft); color: var(--text); border-radius: 3px; padding: 0 2px; font-weight: 500; }
.rhit__page { font: 500 11px/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.rhit__head-line { margin: 10px 0 -2px; padding: 0 12px; font: 700 10.5px/1.5 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: pre-wrap; }
.rtable { position: relative; margin-top: 8px; overflow-x: auto; border-radius: 10px; background: rgba(255,255,255,.03); }
.rtable table { width: 100%; border-collapse: collapse; font: 400 13.5px/1.4 var(--f-mono); }
.rtable th { padding: 10px 12px 8px; text-align: left; font: 700 10.5px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom: 1px solid var(--line); }
.rtable td { padding: 10px 12px; color: var(--text-2); white-space: nowrap; }
.rtable tbody tr + tr td { border-top: 1px solid var(--line); }
.rtable tbody tr:hover td { background: rgba(255,255,255,.04); color: var(--text); }
.rtable mark { background: var(--red-soft); color: var(--text); border-radius: 3px; padding: 0 2px; font-weight: 500; }
.rtable__page { width: 1%; text-align: right; }
.rtable__page a { font: 500 11px/1 var(--f-mono); color: var(--muted); }
.rtable__page a:hover { color: var(--red); }

/* Services */
.service { padding: clamp(72px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); }
.service__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.service--flip .service__media { order: 2; }
.service__media { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); }
.service__index { position: absolute; left: 24px; bottom: 18px; font: 700 96px/1 var(--f-display); color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(255,255,255,.18); }
.service__title { font-size: clamp(38px, 4.4vw, 62px); margin-bottom: 26px; }
.service__copy > p:not(.eyebrow) { color: var(--text-2); font-size: 17px; max-width: 58ch; }
.gear { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.gear li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--text-2); transition: all .25s ease; }
.gear li:hover { color: var(--text); border-color: var(--red); background: var(--red-soft); }
/* Small partner logos under a service (Race Control > Settings > Service partner logos). */
.service__partners { margin: -8px 0 30px; }
.service__partners p { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.service__partners ul { display: flex; flex-wrap: wrap; gap: 12px; }
.service__partners li { display: flex; align-items: center; justify-content: center; width: 132px; height: 64px; padding: 10px 14px; border-radius: 12px; background: #f4f3ef; overflow: hidden; }
/* Fixed limits (not %), so any logo, whatever its size or shape, shrinks to fit the tile. Multiply hides a white box around uploaded logos. */
.service__partners img { display: block; width: auto; height: auto; max-width: 104px; max-height: 44px; object-fit: contain; mix-blend-mode: multiply; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); }
.prose p { color: var(--text-2); font-size: 18px; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.lead { font: 600 clamp(28px, 3vw, 38px)/1.15 var(--f-display) !important; text-transform: uppercase; color: var(--text) !important; margin-bottom: 28px !important; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--red), var(--line-2) 40%, var(--line-2)); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--red); }
.timeline__year { display: block; font: 700 clamp(36px, 3.6vw, 52px)/1 var(--f-display); text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.timeline h3 { font-size: 18px; margin-bottom: 8px; }
.timeline p { color: var(--text-2); font-size: 15px; margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: var(--line-2); }
.value__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--red-soft); color: var(--red); margin-bottom: 24px; }
.value__icon .icon { width: 24px; height: 24px; }
.value h3 { font: 700 28px/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.value p { color: var(--text-2); margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.faq__nav { display: grid; gap: 4px; }
.faq__nav a { padding: 10px 16px; border-radius: 10px; color: var(--text-2); font-weight: 600; border-left: 2px solid var(--line); transition: all .25s ease; }
.faq__nav a:hover, .faq__nav a.is-current { color: var(--text); border-left-color: var(--red); background: rgba(255,255,255,.03); }
.faq__card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq__card h2 { font: 700 26px/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.faq__card p { color: var(--text-2); font-size: 15px; }
.faq__card a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 600; font-size: 15px; }
.faq__card .icon { color: var(--red); }
.faq__group { margin-bottom: 64px; }
.faq__title { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 18px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; line-height: 1.35; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red); }
.qa__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.qa__a { padding: 0 60px 26px 0; }
.qa__a p { color: var(--text-2); font-size: 17px; margin: 0; }
.qa__a a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.qa.is-anim .qa__a { animation: panel-in .45s var(--ease-out); }

/* Contact + form */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font: 700 34px/1 var(--f-display); text-transform: uppercase; margin-bottom: 24px; }
.contact__info { position: sticky; top: calc(var(--header-h) + 24px); }
.contact__line { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; transition: color .2s; }
a.contact__line:hover { color: var(--red); }
.contact__line small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--red); flex: none; }
.contact__note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--red-soft); border: 1px solid rgba(255,70,50,.25); }
.contact__note .pulse { margin-top: 8px; }
.contact__note p { margin: 0; color: var(--text-2); font-size: 15px; }
.contact__form { padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }

.rc-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.rc-field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.rc-form__grid .rc-field { margin: 0; }
.rc-field > span, .rc-field legend { font-size: 13px; font-weight: 600; color: var(--text-2); }
.rc-field input, .rc-field select, .rc-field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 500 16px var(--f-body); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.rc-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f848e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.rc-field input[type=date] { color-scheme: dark; }
.rc-field textarea { resize: vertical; min-height: 120px; }
.rc-field input:focus, .rc-field select:focus, .rc-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); background: #0d0f13; }
.rc-field--services { border: 0; padding: 0; }
.rc-field--services legend { margin-bottom: 10px; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-chip { position: relative; }
/* Hidden but still focusable; kept 1px so the form's full-width input rule can't push it off the page. */
.rc-chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.rc-chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s var(--ease); }
.rc-chip span::before { content: ""; width: 0; height: 8px; margin-right: 0; border-radius: 50%; background: var(--red); transition: width .25s var(--ease), margin .25s var(--ease); }
.rc-chip input:checked + span { color: var(--text); border-color: var(--red); background: var(--red-soft); }
.rc-chip input:checked + span::before { width: 8px; margin-right: 8px; }
.rc-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.rc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-form .btn { margin-top: 8px; width: 100%; }
.rc-form__note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.rc-form-error { padding: 14px 16px; border-radius: 12px; background: var(--red-soft); color: #ffb4aa; border: 1px solid rgba(255,70,50,.35); margin-bottom: 20px; }
.rc-form-success { text-align: center; padding: 40px 10px; }
.rc-form-success__mark { display: block; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--red-soft); border: 1px solid rgba(255,70,50,.4); position: relative; animation: rise .6s var(--ease-out); }
.rc-form-success__mark::after { content: ""; position: absolute; left: 26px; top: 20px; width: 14px; height: 26px; border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rc-form-success h3 { font: 700 40px/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.rc-form-success p { color: var(--text-2); }

/* Single event */
.event-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr); gap: 48px; align-items: end; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; font-size: 14px; margin-bottom: 28px; transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs .icon { color: var(--red); }
.event-hero__tags { display: flex; gap: 8px; margin-bottom: 18px; }
.event-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; color: var(--text-2); font-weight: 600; }
.event-hero__meta li { display: flex; align-items: center; gap: 10px; }
.event-hero__meta .icon { color: var(--red); }
.event-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.event-hero__logo { justify-self: end; max-width: 280px; padding: 24px; border-radius: var(--radius); background: #f4f3ef; }
.next-race--event { animation-delay: .3s; }
/* Upcoming race with a logo: logo sits above the countdown. */
.event-hero__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.event-hero__side .event-hero__logo { align-self: center; max-width: 240px; padding: 18px 22px; }
.event-hero__logo img { display: block; max-height: 180px; width: auto; margin: 0 auto; object-fit: contain; }
.event-body { display: grid; gap: 48px; }
.event-body__details { max-width: 70ch; }
.event-results__title { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 26px; }

.post-row { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font: 700 34px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.post-row p { color: var(--text-2); }

/* Reveal on scroll -------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.nav { display: none; }
	.menu-toggle { display: block; }
	.race-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento__item--timing { grid-column: span 6; grid-row: span 1; min-height: 420px; }
	.bento__item--dj, .bento__item--photo, .bento__item--consulting, .bento__item--rental { grid-column: span 3; }
	.bento__item--certification { grid-column: span 6; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.hero__inner, .event-hero { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
	.stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.steps, .values { grid-template-columns: 1fr; }
	.step::after { display: none; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.service__grid, .about, .faq, .contact { grid-template-columns: 1fr; }
	.service--flip .service__media { order: 0; }
	.service__media, .about__media { aspect-ratio: 16 / 10; position: relative; top: 0; }
	.faq__side, .contact__info { position: static; }
	.faq__nav { display: flex; flex-wrap: wrap; gap: 8px; }
	.faq__nav a { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; }
	.section__head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.result-row, .ritem__head { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
	.result-row__date, .ritem__date { grid-column: 1 / -1; order: -1; }
	.result-row__count, .ritem__type { display: none; }
	.ritem__count { grid-column: 1; }
	.ritem__chev { grid-row: 2 / 4; grid-column: 2; }
	.ritem__panel { padding: 6px 0 28px; }
	.results-tools { grid-template-columns: 1fr; }
	.rmode { width: 100%; }
	.rhit { padding: 18px 16px 14px; }
	.rhit__head { grid-template-columns: 1fr; }
	.rhit__title small { display: block; margin: 4px 0 0; }
	.rhit__file { margin-left: 0; }
	.search kbd { display: none; }
	.event-hero__logo { justify-self: start; }
}
@media (max-width: 640px) {
	/* Keep the lanes but drop the red finish line, which would cross the copy. */
	.hero__lanes::before { background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 2px), rgba(255,255,255,.12) calc(12.5% - 2px) 12.5%); }
	.site-header__cta { display: none; }
	.brand img { height: 32px; }
	.hero { min-height: auto; }
	.hero__inner { padding-top: calc(var(--header-h) + 48px); }
	.hero__actions .btn, .event-hero__actions .btn { flex: 1 1 100%; }
	.race-grid { grid-template-columns: 1fr; }
	.race-card { min-height: 0; }
	.bento { grid-template-columns: 1fr; }
	.bento__item--timing, .bento__item--dj, .bento__item--photo, .bento__item--consulting, .bento__item--rental, .bento__item--certification { grid-column: auto; min-height: 300px; }
	.bento__item--timing { min-height: 440px; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat { padding: 0 0 0 16px; }
	.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.checks--2 { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.timeline { grid-template-columns: 1fr; }
	.rc-form__grid { grid-template-columns: 1fr; }
	.cal-row { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 16px; }
	.cal-row__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
	.cal-row h3 { font-size: 24px; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.next-race { padding: 20px; }
	.clock { gap: 6px; }
	.qa__a { padding-right: 0; }
	.partner { width: calc(50% - 8px); height: 84px; }
	.ticker__label { font-size: 13px; padding-right: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hero__title .line > span { transform: none; }
	.ticker__move { animation: none; }
}
