/* hiCar × ARIA Pilates (8 November 2026): a "showroom after dark" take on the event styles.
   Builds on event.css; everything here is scoped to .hicar-page. */
.hicar-page {
    --hc-ink: #121114;
    --hc-graphite: #1a191d;
    --hc-steel: #2b2a30;
    --hc-line: #ffffff1c;
    --hc-text: #eee8ef;
    --hc-muted: #a99fac;
    --hc-pink: #e6b0e6;
    --hc-teal: #35d3c7;
    --hc-red: #ff3d55;
    --hc-check: repeating-conic-gradient(#121114 0 25%, #f4eef4 0 50%) 0 0 / 14px 14px;
    background: var(--event-paper);
}
.hicar-page ::selection { background: var(--hc-teal); color: var(--hc-ink); }
.hicar-page .event-navbar.scrolled { background: #121114f0; backdrop-filter: blur(14px); }
.hicar-page .mobile-menu { background: var(--hc-ink); }
.hicar-page h2 em { color: #9a6f95; }

.hicar-button { position: relative; overflow: hidden; isolation: isolate; }
.hicar-button::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, #ffffff8c 50%, transparent 65%); transform: translateX(-120%); }
.hicar-button:hover::after { transition: transform .8s ease; transform: translateX(120%); }
.hicar-page .event-nav-ticket { gap: 12px; }

/* Hero: copy on the left, the showroom reel on a tall "screen" to the right */
.hicar-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: 138px; background: var(--hc-ink); color: #faf5f8; }
/* Showroom slideshow: four luxury-car frames from the hiCar footage crossfade with a slow zoom */
.hicar-hero-backdrop { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #0b0a0d; }
.hicar-hero-car { --d: 0s; position: absolute; inset: 0; opacity: 0; animation: hc-car-fade 28s var(--d) infinite; }
.hicar-hero-car:nth-child(2) { --d: 7s; }
.hicar-hero-car:nth-child(3) { --d: 14s; }
.hicar-hero-car:nth-child(4) { --d: 21s; }
.hicar-hero-car img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: brightness(.82) saturate(1.08) contrast(1.06); animation: hc-kenburns 28s var(--d) linear infinite; }
@keyframes hc-car-fade { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes hc-kenburns { 0% { transform: scale(1.16) translateX(1.5%); } 30%, 100% { transform: scale(1.03) translateX(0); } }
.hicar-light-sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, #ffffff1c 48%, #ffffff0a 53%, transparent 62%); mix-blend-mode: screen; transform: translateX(-100%); animation: hc-sweep 7s ease-in-out 1.5s infinite; }
@keyframes hc-sweep { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
    .hicar-hero-car, .hicar-hero-car img, .hicar-light-sweep { animation: none; }
    .hicar-hero-car:first-child { opacity: 1; }
    .hicar-light-sweep { display: none; }
}
.hicar-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 12% 85%, #e6b0e624, transparent 55%), linear-gradient(90deg, #121114f0 0%, #121114b8 32%, #12111440 60%, #12111414 100%), linear-gradient(0deg, var(--hc-ink) 0%, transparent 32%), linear-gradient(180deg, #121114b3 0%, transparent 24%); }
.hicar-hero-grid { position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%; z-index: -1; background: repeating-linear-gradient(90deg, #ffffff12 0 1px, transparent 1px 90px), repeating-linear-gradient(0deg, #ffffff0d 0 1px, transparent 1px 90px); transform: perspective(500px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(0deg, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%); }
.hicar-hero-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 70px; align-items: center; flex: 1; }
.hicar-early-bird { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 13px; border: 1px solid #35d3c759; border-radius: 40px; background: #35d3c714; color: #c9f5f1; font-size: 10px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; }
.hicar-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--hc-teal); }
.hicar-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--hc-teal); animation: hicar-ping 1.8s ease-out infinite; }
@keyframes hicar-ping { to { transform: scale(3); opacity: 0; } }
.hicar-collab { display: flex; align-items: center; gap: 24px; margin: 30px 0 4px; width: fit-content; }
.hicar-wordmark { font: 600 34px/1 var(--font-body); letter-spacing: -1px; color: var(--hc-teal); text-align: center; }
.hicar-wordmark span { display: block; margin-top: 7px; font-size: 7.5px; font-weight: 600; letter-spacing: 3.6px; color: #d8d2da; }
.hicar-collab .event-aria-wordmark { font-size: 34px; }
.hicar-hero h1 { font-family: var(--font-accent); font-size: clamp(64px, 6.6vw, 104px); line-height: .9; font-weight: 400; letter-spacing: -4px; margin: 26px 0 22px; text-shadow: 0 4px 40px #0008; }
.hicar-hero h1 em { color: var(--hc-pink); font-weight: 400; }
.hicar-hero-description { max-width: 470px; font-size: 15px; line-height: 1.85; color: #ddd3de; }
.hicar-hero .event-hero-actions { margin-top: 32px; }
.hicar-hero .event-text-link { color: #efe5ed; border-color: #6d6470; font-size: 11px; }

/* Start lights: five reds come on one by one, then "lights out" */
.hicar-countdown { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 12px 26px; margin-top: 36px; padding: 18px 22px; width: fit-content; max-width: 100%; border: 1px solid var(--hc-line); border-radius: 10px; background: #0d0c0fa6; backdrop-filter: blur(10px); }
.hicar-lights { display: flex; gap: 7px; padding: 8px 10px; border-radius: 6px; background: #050506; box-shadow: inset 0 0 0 1px #ffffff14; }
.hicar-lights span { width: 13px; height: 13px; border-radius: 50%; background: #3a1a20; }
@media (prefers-reduced-motion: no-preference) {
    .hicar-lights span { animation: hicar-light 5s infinite; }
    .hicar-lights span:nth-child(2) { animation-delay: .5s; }
    .hicar-lights span:nth-child(3) { animation-delay: 1s; }
    .hicar-lights span:nth-child(4) { animation-delay: 1.5s; }
    .hicar-lights span:nth-child(5) { animation-delay: 2s; }
}
@keyframes hicar-light { 0%, 100% { background: #3a1a20; box-shadow: none; } 2%, 58% { background: var(--hc-red); box-shadow: 0 0 12px var(--hc-red), 0 0 3px #fff inset; } 60% { background: #3a1a20; box-shadow: none; } }
.hicar-countdown dl { display: flex; gap: 6px; }
.hicar-countdown dl > div { display: flex; flex-direction: column-reverse; align-items: center; min-width: 54px; }
.hicar-countdown dd { font: 500 30px/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: -1px; color: #fff; }
.hicar-countdown dt { margin-top: 6px; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: var(--hc-muted); }
.hicar-countdown dl > div + div { border-left: 1px solid var(--hc-line); }
.hicar-countdown-label { grid-column: 1 / -1; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--hc-muted); }
.hicar-countdown-label strong { color: var(--hc-pink); font-weight: 600; }

.hicar-hero-screen { position: relative; justify-self: end; width: 100%; max-width: 420px; aspect-ratio: 9 / 16; max-height: calc(100svh - 230px); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px #ffffff26, 0 0 0 9px #ffffff0a, 0 50px 120px #000a, 0 0 120px #35d3c71f; transform: rotate(2.5deg); }
.hicar-hero-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hicar-hero-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0009 0%, transparent 22%, transparent 70%, #000b 100%); }
.hicar-hud { position: absolute; z-index: 1; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px #000; }
.hicar-hud-tl { top: 18px; left: 18px; display: flex; align-items: center; gap: 8px; }
.hicar-hud-tr { top: 18px; right: 18px; font-variant-numeric: tabular-nums; }
.hicar-hud-bl { bottom: 20px; left: 18px; font-weight: 400; color: #ddd; }
.hicar-hud-bl strong { display: block; margin-top: 3px; font: italic 400 24px/1 var(--font-accent); letter-spacing: 0; text-transform: none; color: var(--hc-pink); }
.hicar-hud-br { bottom: 22px; right: 18px; color: var(--hc-teal); }
.hicar-rec { width: 7px; height: 7px; border-radius: 50%; background: var(--hc-red); animation: hicar-blink 1.2s steps(2, start) infinite; }
@keyframes hicar-blink { to { visibility: hidden; } }
.hicar-corner { position: absolute; inset: 10px; z-index: 1; pointer-events: none; background: linear-gradient(#fff, #fff) 0 0 / 16px 1px, linear-gradient(#fff, #fff) 0 0 / 1px 16px, linear-gradient(#fff, #fff) 100% 0 / 16px 1px, linear-gradient(#fff, #fff) 100% 0 / 1px 16px, linear-gradient(#fff, #fff) 0 100% / 16px 1px, linear-gradient(#fff, #fff) 0 100% / 1px 16px, linear-gradient(#fff, #fff) 100% 100% / 16px 1px, linear-gradient(#fff, #fff) 100% 100% / 1px 16px; background-repeat: no-repeat; opacity: .55; }
.hicar-screen-sticker { position: absolute; z-index: 2; left: -54px; top: 46%; padding: 12px 18px; background: var(--hc-pink); color: var(--hc-ink); border-radius: 4px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 14px 40px #0007; transform: rotate(-8deg); }
.hicar-screen-sticker span { display: block; font: italic 400 26px/1 var(--font-accent); letter-spacing: 0; text-transform: none; }
.hicar-hero-screen { overflow: visible; }
.hicar-hero-screen video, .hicar-hero-screen::after { border-radius: 18px; }
.hicar-hero .event-hero-bottom { margin-top: 48px; border-color: var(--hc-line); color: #d7cfd9; }
.hicar-hero .event-small-star { color: var(--hc-teal); }

/* Chequered marquee */
.hicar-ribbon { position: relative; overflow: hidden; background: var(--hc-ink); color: #f6eef6; padding: 24px 0; }
.hicar-ribbon::before, .hicar-ribbon::after { content: ''; position: absolute; left: 0; right: 0; height: 7px; background: var(--hc-check); background-size: 7px 7px; opacity: .9; }
.hicar-ribbon::before { top: 0; }
.hicar-ribbon::after { bottom: 0; }
.hicar-ribbon-track { display: flex; align-items: center; gap: 34px; width: max-content; font: italic 400 30px/1.2 var(--font-accent); white-space: nowrap; }
.hicar-ribbon-track i { font-style: normal; font-size: 18px; color: var(--hc-pink); }
@media (prefers-reduced-motion: no-preference) {
    .hicar-ribbon-track { animation: hicar-marquee 32s linear infinite; }
    .hicar-ribbon:hover .hicar-ribbon-track { animation-play-state: paused; }
}
@keyframes hicar-marquee { to { transform: translateX(calc(-50% - 17px)); } }

/* Intro */
.hicar-intro { display: grid; grid-template-columns: 1fr 2.1fr; gap: 60px; }
.hicar-intro-gear { display: flex; gap: 14px; margin: 34px 0 26px; font: 600 26px/1 var(--font-body); color: #cdbfcb; }
.hicar-intro-gear b { color: var(--hc-ink); padding: 0 8px; border-radius: 4px; background: var(--hc-pink); }
.hicar-stats dt { color: #9a6f95; }

/* Race programme: a pinned "track" of five lap cards that drives sideways (see js/hicar.js).
   Without the pin it is a native scroll-snap carousel. */
.hicar-gp { --p: 0; position: relative; overflow: hidden; background: var(--hc-graphite); color: var(--hc-text); }
.hicar-gp-pin { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: 104px 0 30px; }
.hicar-gp-noise { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 8% 18%, #35d3c724, transparent 45%), radial-gradient(ellipse at 95% 95%, #e6b0e62b, transparent 50%), repeating-linear-gradient(90deg, #ffffff07 0 1px, transparent 1px 120px); }
.hicar-gp-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 22px; }
.hicar-gp-head .event-eyebrow { color: #bfe9e5; margin-bottom: 16px; }
.hicar-gp-head h2 { font-size: clamp(40px, 4.2vw, 62px); color: #fff; }
.hicar-gp-head h2 em { color: var(--hc-pink); }
.hicar-gp-telemetry { display: grid; justify-items: end; flex-shrink: 0; text-align: right; }
.hicar-gp-telemetry-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--hc-muted); }
.hicar-gp-lap { display: flex; align-items: baseline; gap: 4px; }
.hicar-gp-lap b { font: italic 400 clamp(64px, 6.5vw, 96px)/.9 var(--font-accent); letter-spacing: -3px; background: linear-gradient(135deg, var(--hc-teal), var(--hc-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hicar-gp-lap > span { font-size: 14px; color: var(--hc-muted); letter-spacing: 1px; }
.hicar-gp-now { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: #cfeeea; }
.hicar-gp-telemetry.is-ticking .hicar-gp-lap b, .hicar-gp-telemetry.is-ticking .hicar-gp-now { animation: hc-tick .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes hc-tick { from { opacity: 0; transform: translateY(40%); } }

.hicar-gp-viewport { position: relative; flex: 1; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hicar-gp-viewport::-webkit-scrollbar { display: none; }
.hicar-gp-viewport.is-pinned { overflow: visible; scroll-snap-type: none; }
.hicar-gp-track { --gp-pad: max(48px, calc((100vw - 1240px) / 2)); --gp-card: min(1020px, 74vw); display: flex; align-items: center; gap: 40px; padding: 12px calc(100vw - var(--gp-card) - var(--gp-pad)) 12px var(--gp-pad); scroll-padding-inline: var(--gp-pad); will-change: transform; }
.hicar-gp-card { position: relative; isolation: isolate; flex: 0 0 var(--gp-card); display: grid; grid-template-columns: auto minmax(0, 1fr); height: clamp(380px, calc(100svh - 390px), 580px); border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #25242a, #16151a 70%); border: 1px solid var(--hc-line); scroll-snap-align: start; opacity: .4; transform: scale(.93); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .6s, box-shadow .6s; }
.hicar-gp-card.is-active { opacity: 1; transform: none; border-color: #ffffff2e; box-shadow: 0 40px 100px #000b, 0 0 0 1px #35d3c726, 0 0 80px #e6b0e612; }
.hicar-gp-card::before { content: attr(data-word); position: absolute; z-index: -1; right: -1%; bottom: -6%; font: italic 400 clamp(120px, 14vw, 230px)/.8 var(--font-accent); letter-spacing: -6px; color: transparent; -webkit-text-stroke: 1px #ffffff12; pointer-events: none; white-space: nowrap; }
.hicar-gp-media { position: relative; height: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.hicar-gp-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hicar-gp-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 60%, #16151a99), linear-gradient(180deg, #0008, transparent 30%); }
.hicar-gp-flag { position: absolute; z-index: 1; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 9px; border-radius: 30px; background: #121114b3; backdrop-filter: blur(8px); font-size: 9px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; }
.hicar-gp-flag::before { content: ''; width: 12px; height: 12px; border-radius: 2px; background: var(--hc-check); background-size: 6px 6px; }
.hicar-gp-body { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 56px; }
.hicar-gp-number { font: 400 clamp(90px, 9vw, 150px)/.8 var(--font-accent); letter-spacing: -6px; margin-bottom: 22px; color: transparent; -webkit-text-stroke: 1px #ffffff4d; transition: -webkit-text-stroke-color .6s; }
.hicar-gp-card.is-active .hicar-gp-number { background: linear-gradient(135deg, var(--hc-teal), var(--hc-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; padding-right: .08em; }
.hicar-lap-tag { display: inline-flex; gap: 8px; margin-bottom: 16px; padding: 6px 12px; border: 1px solid var(--hc-line); border-radius: 30px; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #cfeeea; }
.hicar-gp-body h3 { font: 400 clamp(34px, 3.4vw, 52px)/1.04 var(--font-accent); letter-spacing: -1px; margin-bottom: 16px; color: #fff; }
.hicar-gp-body > p:not(.hicar-lap-tag) { max-width: 470px; font-size: 15px; line-height: 1.85; color: #c3b9c5; }
.hicar-gp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hicar-gp-chips li { padding: 8px 14px; border: 1px solid var(--hc-line); border-radius: 30px; background: #ffffff0a; font-size: 11px; color: #e3dbe5; }

.hicar-gp-progress { position: relative; margin-top: 26px; }
.hicar-gp-road { position: relative; height: 12px; border-radius: 12px; background: #0b0a0d; box-shadow: inset 0 0 0 1px var(--hc-line); }
.hicar-gp-road::before { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, #ffffff40 0 14px, transparent 14px 28px); }
.hicar-gp-road-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, #35d3c755, #e6b0e699); }
.hicar-gp-car { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 52px; height: auto; color: var(--hc-pink); transform: translate(-50%, -58%); filter: drop-shadow(0 0 10px #e6b0e699); }
.hicar-gp-checkpoints { display: flex; justify-content: space-between; margin-top: 14px; }
.hicar-gp-checkpoints li { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #6f6873; transition: color .4s; }
.hicar-gp-checkpoints li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hicar-gp-checkpoints li.is-passed { color: var(--hc-teal); }

/* Intro: five start lights, then lights out (CSS only, once per visit) */
.hicar-loader { display: none; }
html.hc-intro .hicar-loader { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #0b0a0d; color: #fff; pointer-events: none; animation: hc-intro-out .8s cubic-bezier(.75, 0, .2, 1) 1.65s forwards; }
.hicar-loader-lights { display: flex; gap: 14px; padding: 16px 20px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 1px #ffffff1a; }
.hicar-loader-lights span { width: 30px; height: 30px; border-radius: 50%; background: #2a1216; animation: hc-light-on .12s ease forwards, hc-light-off .1s linear 1.35s forwards; }
.hicar-loader-lights span:nth-child(1) { animation-delay: .15s, 1.35s; }
.hicar-loader-lights span:nth-child(2) { animation-delay: .38s, 1.35s; }
.hicar-loader-lights span:nth-child(3) { animation-delay: .61s, 1.35s; }
.hicar-loader-lights span:nth-child(4) { animation-delay: .84s, 1.35s; }
.hicar-loader-lights span:nth-child(5) { animation-delay: 1.07s, 1.35s; }
@keyframes hc-light-on { to { background: var(--hc-red); box-shadow: 0 0 24px var(--hc-red), inset 0 0 6px #fff8; } }
@keyframes hc-light-off { to { background: #2a1216; box-shadow: none; } }
.hicar-loader p { font: italic 400 30px/1 var(--font-accent); letter-spacing: .5px; }
.hicar-loader p i { color: var(--hc-pink); }
.hicar-loader-sub { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--hc-muted); }
@keyframes hc-intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Split-word heading reveals */
.hc-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .09em .12em 0; margin: 0 -.09em -.12em 0; }
.hc-word-in { display: inline-block; transform: translateY(108%); transition: transform 1s cubic-bezier(.2, .85, .15, 1); transition-delay: calc(var(--i) * 55ms); }
.is-split-in .hc-word-in { transform: none; }
html.hc-js:not(.hc-ready) [data-split="hero"] { opacity: 0; }

/* Scroll progress: CSS scroll-driven animation (JS fallback in hicar.js) */
.hicar-scroll-progress { position: fixed; z-index: 1100; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hc-teal), var(--hc-pink), var(--hc-red)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
    .hicar-scroll-progress { animation: hc-progress linear both; animation-timeline: scroll(root); }
    @keyframes hc-progress { to { transform: scaleX(1); } }
}

/* 3D tilt + sheen (fine pointers only, enabled by JS) */
.hc-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.hicar-clip.hc-tilt::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #ffffff38, transparent 45%); opacity: 0; transition: opacity .3s; }
.hicar-clip.hc-tilt:hover::before { opacity: 1; }
.hicar-pass.hc-tilt { transform: perspective(900px) rotate(-2deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hicar-ribbon-track.is-driven { animation: none; will-change: transform; }

/* The setting: sideways filmstrip of showroom clips */
.hicar-garage { background: #f3eef1; padding-bottom: 90px; }
.hicar-strip-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(48px, calc((100vw - 1240px) / 2)); padding: 6px max(48px, calc((100vw - 1240px) / 2)) 26px; scrollbar-width: thin; scrollbar-color: #b79ab4 transparent; cursor: grab; }
.hicar-strip-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hicar-strip-track:focus-visible { outline-offset: -3px; }
.hicar-clip { position: relative; flex: 0 0 clamp(220px, 21vw, 290px); aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #1a191d; scroll-snap-align: start; box-shadow: 0 22px 50px #2b1a2a26; }
.hicar-clip:nth-child(even) { margin-top: 36px; }
.hicar-clip video, .hicar-clip img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hicar-clip.is-photo img { object-position: 40% 80%; }
.hicar-clip::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #0d0a10c0 0%, transparent 32%); }
.hicar-clip figcaption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 15px; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: #f6edf5; }
.hicar-clip figcaption span { margin-right: 6px; font: italic 22px/1 var(--font-accent); letter-spacing: 0; color: var(--hc-pink); }
.hicar-strip-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.hicar-strip-hint { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--event-muted); }
.hicar-strip-controls > div { display: flex; gap: 10px; }
.hicar-strip-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #cdbccb; border-radius: 50%; font-size: 18px; color: var(--event-ink); transition: background .2s, color .2s, border-color .2s; }
.hicar-strip-btn:hover { background: var(--hc-ink); border-color: var(--hc-ink); color: #fff; }

/* Save the date: asphalt background, paper "paddock pass" */
.hicar-details { margin-top: 0; background: var(--hc-ink); color: var(--hc-text); }
.hicar-details::before { border-color: #ffffff12; box-shadow: 0 0 0 45px var(--hc-ink), 0 0 0 46px #ffffff12, 0 0 0 90px var(--hc-ink), 0 0 0 91px #ffffff12; }
.hicar-details h2 em { color: var(--hc-pink); }
.hicar-details .event-eyebrow { color: #bfe9e5; }
.hicar-details .event-details-intro > p:not(.event-eyebrow) { color: var(--hc-muted); }
.hicar-details .event-text-link { color: #efe5ed; border-color: #6d6470; }
.hicar-pass { position: relative; color: var(--event-ink); padding-top: 44px; transform: rotate(-2deg); box-shadow: 0 40px 90px #000a; }
.hicar-pass::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: var(--hc-check); }
.hicar-pass .event-ticket-top > span:last-child { font-size: 22px; }
.hicar-pass .event-ticket-date > div > span { color: #2aa79d; }
.hicar-pass .event-ticket-bottom::before, .hicar-pass .event-ticket-bottom::after { background: var(--hc-ink); }

/* Booking */
.hicar-ticket-art { background: var(--hc-ink); }
.hicar-ticket-art::before { background-image: url('../images/events/hicar/web/hicar-photo-sm.jpg'); }
.hicar-ticket-art picture { position: absolute; inset: 0; }
.hicar-ticket-art img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; box-shadow: none; }
.hicar-ticket-art::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #12111466, transparent 30%, transparent 65%, #121114cc); }
.hicar-ticket-badge { position: absolute; z-index: 2; top: 20px; left: 20px; padding: 9px 16px; border-radius: 4px; background: var(--hc-pink); color: var(--hc-ink); font: 600 11px/1.4 var(--font-body); letter-spacing: 2.5px; text-transform: uppercase; box-shadow: 0 10px 30px #0006; }
.hicar-ticket-art-caption { position: absolute; z-index: 2; left: 20px; bottom: 18px; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: #fff; }
.hicar-live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid #2aa79d80; border-radius: 30px; color: #1d8a81; font-weight: 600; letter-spacing: 1.6px; }
.hicar-live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hc-teal); box-shadow: 0 0 0 3px #35d3c733; }
.hicar-capacity { background: #f1fbfa; border-color: #c9ece8; }
.hicar-capacity .event-capacity-copy > strong { color: #186f68; }
.hicar-capacity-meter { position: relative; flex: 0 0 auto; width: 52px; height: 30px; border-radius: 52px 52px 0 0; background: conic-gradient(from -90deg at 50% 100%, var(--hc-teal) 0deg, var(--hc-pink) 130deg, var(--hc-red) 165deg, #e6dde5 165deg 180deg, transparent 180deg); mask: radial-gradient(circle at 50% 100%, transparent 15px, #000 16px); -webkit-mask: radial-gradient(circle at 50% 100%, transparent 15px, #000 16px); }
.hicar-booking .event-ticket-card-price { font-style: italic; color: #211a24; }

/* FAQ + closing */
.hicar-closing { isolation: isolate; background: var(--hc-ink); padding-block: 150px; }
.hicar-closing::before { inset: 0 0 auto 0; z-index: 1; height: 10px; background: var(--hc-check); background-size: 10px 10px; opacity: .9; }
.hicar-closing-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hicar-closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 62%; filter: brightness(.72) saturate(1.06) contrast(1.06); }
.hicar-closing-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #12111473 0%, #121114cc 80%), linear-gradient(0deg, var(--hc-ink) 0%, transparent 28%); }
.hicar-closing p { text-shadow: 0 6px 40px #000c; }
@supports (animation-timeline: view()) {
    .hicar-closing-media img { animation: hc-close-zoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes hc-close-zoom { from { transform: scale(1.16); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) { .hicar-closing-media img { animation: none; } }
.hicar-closing em { color: var(--hc-pink); }
.hicar-closing .event-eyebrow { color: #bfe9e5; }
.hicar-closing .event-closing-note a { color: #efe5ed; text-decoration: underline; text-underline-offset: 4px; }
.hicar-closing .event-closing-note a:hover { color: var(--hc-pink); }
.hicar-page .event-footer { background: var(--hc-ink); }
.hicar-page .event-mobile-booking { background: #121114f5; }

@media (max-width: 1200px) {
    .hicar-hero-layout { gap: 50px; }
    .hicar-gp-body { padding: 36px 40px; }
    .hicar-screen-sticker { left: -36px; }
}
@media (max-width: 1024px) {
    .hicar-hero-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
    .hicar-hero h1 { letter-spacing: -3px; }
    .hicar-countdown { gap: 14px 20px; }
    .hicar-screen-sticker { display: none; }
    .hicar-intro { grid-template-columns: 1fr 2.4fr; gap: 35px; }
    /* Tablet and below: the programme is a swipe carousel of stacked cards */
    .hicar-gp-pin { min-height: 0; padding: 90px 0 60px; }
    .hicar-gp-track { --gp-pad: 32px; --gp-card: min(560px, 72vw); gap: 20px; align-items: stretch; }
    .hicar-gp-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; opacity: .55; transform: scale(.96); }
    .hicar-gp-media { height: auto; aspect-ratio: 4 / 3; }
    .hicar-gp-media::after { background: linear-gradient(0deg, #16151a, transparent 45%), linear-gradient(180deg, #0008, transparent 30%); }
    .hicar-gp-media video { object-position: 50% 45%; }
    .hicar-gp-body { padding: 0 28px 30px; margin-top: -54px; }
    .hicar-gp-number { font-size: 84px; margin-bottom: 14px; }
    .hicar-gp-card::before { font-size: 110px; }
}
@media (max-width: 767px) {
    /* On phones the car slideshow is the hero; the reel screen steps aside */
    .hicar-hero { padding-top: 110px; }
    .hicar-hero-layout { grid-template-columns: 1fr; }
    .hicar-hero-screen { display: none; }
    .hicar-hero-car img { object-position: 50% 50%; }
    .hicar-hero::before { background: linear-gradient(180deg, #121114c4 0%, #12111440 26%, #12111499 58%, var(--hc-ink) 100%); }
    .hicar-hero-grid { display: none; }
    .hicar-closing { padding-block: 110px; }
    .hicar-early-bird { font-size: 9px; letter-spacing: 1.6px; }
    .hicar-collab { gap: 18px; margin-top: 24px; }
    .hicar-wordmark, .hicar-collab .event-aria-wordmark { font-size: 27px; }
    .hicar-hero h1 { font-size: clamp(60px, 16vw, 84px); letter-spacing: -2.5px; margin: 26px 0 20px; }
    .hicar-hero-description { font-size: 14px; color: #ebe3ec; }
    .hicar-hero .event-hero-actions { flex-wrap: wrap; gap: 18px; }
    .hicar-countdown { grid-template-columns: auto 1fr; margin-top: 30px; padding: 14px 16px; gap: 12px; width: 100%; }
    .hicar-countdown dl { justify-content: space-between; }
    .hicar-countdown dl > div { min-width: 0; flex: 1; }
    .hicar-countdown dd { font-size: 26px; }
    .hicar-hero .event-hero-bottom { margin-top: 36px; }
    .hicar-ribbon { padding: 20px 0; }
    .hicar-ribbon-track { font-size: 24px; gap: 24px; }
    .hicar-intro { grid-template-columns: 1fr; gap: 20px; }
    .hicar-intro-label { display: flex; align-items: center; justify-content: space-between; }
    .hicar-intro-label .event-eyebrow { margin-bottom: 0; }
    .hicar-intro-gear { margin: 0; font-size: 18px; gap: 9px; }
    .hicar-intro-label .event-side-note { display: none; }
    .hicar-stats dt { font-size: 50px; }
    .hicar-stats > div { padding-right: 10px; }
    .hicar-stats > div + div { padding-left: 14px; }
    .hicar-stats dd { font-size: 10px; }
    .hicar-gp-pin { padding: 70px 0 50px; }
    .hicar-gp-head { align-items: flex-start; gap: 16px; margin-bottom: 22px; }
    .hicar-gp-head h2 { font-size: 38px; }
    .hicar-gp-lap b { font-size: 56px; }
    .hicar-gp-now { display: none; }
    .hicar-gp-track { --gp-pad: 20px; --gp-card: 84vw; gap: 12px; }
    .hicar-gp-card { border-radius: 18px; }
    .hicar-gp-media { aspect-ratio: 1 / 1; }
    .hicar-gp-body { padding: 0 20px 24px; margin-top: -46px; }
    .hicar-gp-number { font-size: 70px; letter-spacing: -4px; }
    .hicar-gp-body h3 { font-size: 32px; }
    .hicar-gp-body > p:not(.hicar-lap-tag) { font-size: 13px; }
    .hicar-gp-chips { margin-top: 18px; }
    .hicar-gp-chips li { font-size: 10px; padding: 6px 11px; }
    .hicar-gp-progress { width: calc(100% - 40px); margin-top: 24px; }
    .hicar-gp-car { width: 40px; }
    .hicar-gp-checkpoints li { font-size: 0; gap: 0; }
    .hicar-gp-checkpoints li::before { width: 8px; height: 8px; }
    .hicar-loader-lights span { width: 22px; height: 22px; }
    .hicar-loader-lights { gap: 10px; }
    .hicar-garage { padding-bottom: 70px; }
    .hicar-strip-track { gap: 12px; padding-inline: 20px; scroll-padding-inline: 20px; }
    .hicar-clip { flex-basis: 64vw; }
    .hicar-clip:nth-child(even) { margin-top: 0; }
    .hicar-strip-controls { width: calc(100% - 40px); }
    .hicar-strip-btn { width: 42px; height: 42px; }
    .hicar-pass { transform: rotate(-1deg); }
    .hicar-ticket-art { min-height: 340px; }
    .hicar-capacity .event-capacity-link { margin-left: 0; }
    .hicar-closing p { font-size: 62px; }
}
@media (max-width: 374px) {
    .hicar-hero h1 { font-size: 54px; }
    .hicar-countdown dd { font-size: 22px; }
    .hicar-lights span { width: 10px; height: 10px; }
    .hicar-closing p { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    .hicar-pulse::after, .hicar-rec { animation: none; }
    .hicar-gp-card { transition: none; }
}
.hicar-gp-number, .hicar-gp-lap b, .hicar-countdown dd, .hicar-stats dt { font-variant-numeric: lining-nums; }
