/* ==========================================================================
   Powerpipes AutoART: "Equal Length"
   Palette = the logo only: black PP, charcoal chequers + wordmark, red chequer, chrome rim.
   Motif = the twin pipe: two lines of equal length, mandrel bends, weld beads, tip rims.
   1  Tokens   2  Base   3  Type   4  Layout   5  Components   6  Header/menu/dock
   7  Loader + transitions   8  Home   9  Garage   10 Services   11 Builder   12 Lap + Strip
   13 Booking   14 Forms   15 Chat   16 Pages + footer   17 Motion   18 Reduced motion
   ========================================================================== */

@font-face { font-family: "Tomorrow"; src: url(../fonts/tomorrow-800i.woff2) format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Tomorrow"; src: url(../fonts/tomorrow-700i.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Tomorrow"; src: url(../fonts/tomorrow-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url(../fonts/geologica.woff2) format("woff2"); font-weight: 300 700; font-style: oblique 0deg 12deg; font-display: swap; }

/* 1 Tokens ---------------------------------------------------------------- */
:root {
	--ink: #0A0A0A;          /* logo black */
	--ink-2: #121212;
	--ink-3: #1B1B1B;
	--char: #282929;         /* logo charcoal (chequers, wordmark) */
	--steel-9: #3B3C3C;
	--steel-7: #5E5E5E;      /* muted text on paper 5.5:1 */
	--steel-6: #6B6B6B;      /* headline second half on paper (large) */
	--steel-5: #8F8F8F;      /* muted text on ink 6.1:1 */
	--steel-3: #BDBDBB;
	--steel-2: #D9D9D7;
	--paper: #EDEDEB;        /* the workshop's epoxy floor */
	--white: #FAFAF8;
	--red: #EA3637;          /* logo red: fills, marks, large type */
	--red-btn: #D12A2C;      /* white text on it 4.9:1 */
	--red-ink: #F04B4C;      /* red text on black 5.5:1 */
	--red-paper: #C42326;    /* red text on paper 5:1 */
	--ok: #2E8B57;
	--warn: #B7791F;
	--line-d: rgba(250, 250, 248, .14);
	--line-l: rgba(10, 10, 10, .14);
	--chrome: linear-gradient(135deg, #5E5E5E 0%, #E9E9E9 28%, #8F8F8F 50%, #F2F2F2 72%, #6B6B6B 100%);

	--f-d: "Tomorrow", "Arial Narrow", sans-serif;
	--f-b: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
	--t-hero: clamp(2.2rem, .9rem + 4.4vw, 5.3rem);
	--t-h2: clamp(2.1rem, 1.25rem + 3.1vw, 4.3rem);
	--t-h3: clamp(1.3rem, 1.05rem + .9vw, 1.75rem);
	--t-big: clamp(1.15rem, 1rem + .45vw, 1.4rem);
	--t-body: 1.0625rem;
	--t-small: .875rem;
	--t-label: .75rem;

	--wrap: 1320px;
	--gut: clamp(1rem, 4vw, 3rem);
	--sec: clamp(4.5rem, 2.8rem + 6.5vw, 9.5rem);
	--hdr: 72px;
	--dock: 0px;
	--r-s: 8px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--d1: .18s;
	--d2: .45s;
	--d3: .9s;
}
@media (max-width: 900px) { :root { --hdr: 62px; --dock: 64px; } }

/* 2 Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--hdr) + 1rem); }
body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--white); font-family: var(--f-b); font-size: var(--t-body); line-height: 1.6; font-weight: 350; -webkit-font-smoothing: antialiased; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 4px; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--white); color: var(--ink); padding: .75rem 1rem; border-radius: var(--r-s); }
.skip:focus { top: 1rem; }
::selection { background: var(--red); color: var(--white); }
.light { background: var(--paper); color: var(--ink); }
.light ::selection { color: var(--white); }

/* 3 Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-d); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.012em; line-height: .94; }
.h-hero { font-size: var(--t-hero); }
.h2 { font-size: var(--t-h2); }
.h3, h3 { font-size: var(--t-h3); line-height: 1.02; }
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.15; }
.mute { color: var(--steel-5); }
.light .mute { color: var(--steel-6); }
.ln { display: block; }
.lead { font-size: var(--t-big); line-height: 1.5; max-width: 36em; color: var(--steel-3); font-weight: 300; }
.light .lead { color: var(--char); }
.small { font-size: var(--t-small); }
.label { font-family: var(--f-d); font-weight: 600; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; }
.num { font-family: var(--f-d); font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; }
.prose { max-width: 44em; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose a { color: var(--red-ink); }
.light .prose a { color: var(--red-paper); }
.prose ul { padding-left: 1.2em; }

/* 4 Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.sec-head p { margin: 1rem 0 0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.main { min-height: 60vh; }
.pg-top { padding-top: calc(var(--hdr) + clamp(2.5rem, 1.5rem + 4vw, 5.5rem)); padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }

/* 5 Components ------------------------------------------------------------ */
/* Tip buttons: a capsule with a double-wall rim, like an exhaust tip seen from behind. */
.tip { --bg: var(--red-btn); --fg: var(--white); --rim: rgba(255, 255, 255, .42); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1.55rem; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--f-d); font-weight: 600; font-size: .9rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px var(--rim); transition: box-shadow var(--d1) var(--ease), background-color var(--d1) var(--ease), transform var(--d1) var(--ease); }
.tip:hover { --rim: rgba(255, 255, 255, .95); }
.tip:active { transform: scale(.97); }
.tip .ic { width: 1.1em; height: 1.1em; }
.tip--ghost { --bg: transparent; --fg: currentColor; --rim: currentColor; box-shadow: inset 0 0 0 1px var(--rim); }
.tip--ghost:hover { --rim: var(--red-ink); box-shadow: inset 0 0 0 1px var(--rim), inset 0 0 0 4px transparent, inset 0 0 0 5px var(--rim); }
.light .tip--ghost:hover { --rim: var(--red-paper); }
.tip--white { --bg: var(--white); --fg: var(--ink); --rim: rgba(10, 10, 10, .3); }
.tip--white:hover { --rim: var(--ink); }
.tip--ink { --bg: var(--ink); --fg: var(--white); }
.tip--sm { min-height: 40px; padding: 0 1.1rem; font-size: .78rem; }
.tip[disabled], .tip[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.tip.is-busy { color: transparent; }
.tip.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--fg); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { font-family: var(--f-d); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color var(--d1) var(--ease); }
.link:hover { color: var(--red-ink); }
.light .link:hover { color: var(--red-paper); }

/* Chequer marker from the logo (the red piece = active / "you are here"). */
.chq { display: inline-block; width: 1.05em; height: .5em; background: currentColor; clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%); flex: none; }
.chq--red { color: var(--red); }

/* Twin pipe rule: two equal lines (section heads, dividers). */
.twin { position: relative; height: 9px; border: 0; margin: 0; }
.twin::before, .twin::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--chrome); border-radius: 2px; }
.twin::before { top: 0; }
.twin::after { bottom: 0; }

/* Pipe run SVG (drawn on scroll). */
.pipe { width: 100%; height: auto; overflow: visible; color: var(--steel-5); }
.pipe path { fill: none; stroke: url(#ppaChrome); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pipe circle { fill: var(--red); }

/* Tip frame: capsule photo/video with chrome double rim. */
.tipframe { position: relative; border-radius: 999px; padding: 6px; background: var(--chrome); isolation: isolate; }
.tipframe::before { content: ""; position: absolute; inset: 5px; border-radius: inherit; background: var(--ink); z-index: -1; }
.tipframe > .tipframe__in { position: relative; border-radius: 999px; overflow: hidden; height: 100%; background: var(--ink-3); box-shadow: 0 0 0 2px var(--ink); }
.tipframe img, .tipframe video { width: 100%; height: 100%; object-fit: cover; }

/* Facts table (instead of a stat strip). */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.facts > div { padding: 1.1rem 1.25rem 0 0; }
.facts > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line-d); }
.facts b { display: block; font-family: var(--f-d); font-weight: 800; font-style: italic; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.3rem); line-height: 1; text-transform: uppercase; }
.facts span { display: block; margin-top: .35rem; color: var(--steel-5); font-size: var(--t-small); line-height: 1.35; }
.light .facts { border-color: var(--line-l); }
.light .facts > div + div { border-color: var(--line-l); }
.light .facts span { color: var(--steel-7); }
@media (max-width: 760px) {
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts > div:nth-child(n+3) { border-top: 1px solid var(--line-d); margin-top: 1rem; }
}

/* Spec list with chequer bullets. */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: .8rem; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--line-d); }
.ticks li:last-child { border-bottom: 1px solid var(--line-d); }
.ticks .chq { color: var(--steel-5); transform: translateY(-.1em); }
.light .ticks li { border-color: var(--line-l); }

/* Waveform sound player. */
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; }
.player__btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--red-btn); color: var(--white); box-shadow: inset 0 0 0 3px var(--red-btn), inset 0 0 0 4px rgba(255, 255, 255, .4); transition: transform var(--d1) var(--ease), box-shadow var(--d1) var(--ease); }
.player__btn:hover { box-shadow: inset 0 0 0 3px var(--red-btn), inset 0 0 0 4px var(--white); }
.player__btn:active { transform: scale(.94); }
.player__btn .ic { width: 22px; height: 22px; }
.player__btn .ic-pause { display: none; }
.player.is-playing .ic-play { display: none; }
.player.is-playing .ic-pause { display: block; }
.player__wave { position: relative; height: 44px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.player__wave i { flex: 1 1 0; min-width: 1px; background: var(--steel-9); border-radius: 2px; height: calc(var(--h) * 100%); min-height: 3px; transition: background-color .12s; }
.player__wave i.on { background: var(--red); }
.light .player__wave i { background: var(--steel-3); }
.light .player__wave i.on { background: var(--red); }
.player__time { font-family: var(--f-d); font-weight: 600; font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--steel-5); min-width: 2.6em; text-align: right; }
.player--sm .player__btn { width: 42px; height: 42px; }
.player--sm .player__wave { height: 30px; }
.player--sm .player__btn .ic { width: 18px; height: 18px; }

/* Underline tabs (filters). */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; border-bottom: 1px solid var(--line-d); }
.tabs button { position: relative; background: none; border: 0; padding: .8rem 0; font-family: var(--f-d); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-5); }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--d2) var(--ease); }
.tabs button[aria-pressed="true"] { color: var(--white); }
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.tabs button:hover { color: var(--white); }

/* Notices. */
.note { padding: 1rem 1.2rem; border-left: 0; border-radius: var(--r-s); background: var(--ink-3); color: var(--steel-3); font-size: var(--t-small); }
.light .note { background: #E2E2E0; color: var(--char); }

/* 6 Header, menu, dock ---------------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hdr); color: var(--white); }
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
.hdr__bg { position: absolute; inset: 0; background: var(--ink); opacity: 1; transition: opacity var(--d2) var(--ease); }
.hdr-over .hdr:not(.is-solid) .hdr__bg { opacity: 0; }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; flex: none; width: clamp(108px, 8vw + 40px, 150px); color: var(--white); }
.brand .logo { width: 100%; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(.9rem, 1.6vw, 1.8rem); margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: .5rem 0; font-family: var(--f-d); font-weight: 600; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--steel-3); transition: color var(--d1) var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: .2rem; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform var(--d2) var(--ease); }
.nav a:hover, .nav .current-menu-item > a { color: var(--white); }
.nav a:hover::after, .nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.hdr__act { display: flex; align-items: center; gap: .6rem; }
.snd { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .85rem 0 .7rem; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: var(--steel-3); font-family: var(--f-d); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; transition: border-color var(--d1), color var(--d1); }
.snd:hover { color: var(--white); border-color: var(--steel-5); }
.snd .ic { width: 20px; height: 20px; }
.snd .ic-on { display: none; }
.snd[aria-pressed="true"] { color: var(--white); border-color: var(--red); }
.snd[aria-pressed="true"] .ic-on { display: block; }
.snd[aria-pressed="true"] .ic-off { display: none; }
.snd__meter { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.snd[aria-pressed="true"] .snd__meter { display: inline-flex; }
.snd__meter i { width: 3px; height: 100%; background: var(--red); transform-origin: bottom; transform: scaleY(var(--m, .15)); border-radius: 1px; }
.hdr__burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--white); padding: 0; place-items: center; }
.hdr__burger .ic { width: 28px; height: 28px; }
.revbar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.revbar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--steel-7), var(--steel-3) 80%, var(--red) 86%); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 1180px) {
	.nav, .hdr__act .tip { display: none; }
	.hdr__burger { display: grid; }
	.hdr__act { margin-left: auto; }
}
@media (max-width: 420px) { .snd__label { display: none; } .snd { padding: 0 .6rem; } }

/* Full-screen menu: links along a twin pipe. */
.menu-panel { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--white); display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--gut) calc(1.5rem + env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transition: opacity var(--d2) var(--ease), visibility 0s var(--d2); }
.admin-bar .menu-panel { top: 46px; }
.menu-panel.is-open { visibility: visible; opacity: 1; transition: opacity var(--d2) var(--ease); }
.menu-panel__top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; }
.menu-panel__top button { width: 44px; height: 44px; border: 0; background: none; color: var(--white); display: grid; place-items: center; }
.menu-panel__top .ic { width: 28px; height: 28px; }
.menu-panel nav { align-self: center; position: relative; padding-left: 1.4rem; }
.menu-panel nav::before, .menu-panel nav::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--chrome); border-radius: 2px; transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease) .1s; }
.menu-panel nav::before { left: 0; }
.menu-panel nav::after { left: 8px; }
.menu-panel.is-open nav::before, .menu-panel.is-open nav::after { transform: scaleY(1); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li { overflow: hidden; }
.menu-panel nav a { display: block; padding: .3rem 0; font-family: var(--f-d); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 8.5vw, 3.6rem); line-height: 1; text-decoration: none; transform: translateY(105%); transition: transform .6s var(--ease), color var(--d1); }
.menu-panel.is-open nav a { transform: none; }
.menu-panel li:nth-child(2) a { transition-delay: .04s; } .menu-panel li:nth-child(3) a { transition-delay: .08s; } .menu-panel li:nth-child(4) a { transition-delay: .12s; } .menu-panel li:nth-child(5) a { transition-delay: .16s; } .menu-panel li:nth-child(6) a { transition-delay: .2s; } .menu-panel li:nth-child(7) a { transition-delay: .24s; }
.menu-panel nav a:hover, .menu-panel .current-menu-item > a { color: var(--red-ink); }
.menu-panel__foot { display: grid; gap: 1rem; }
.menu-panel__foot .btns .tip { flex: 1 1 auto; }
.menu-panel__foot p { margin: 0; color: var(--steel-5); font-size: var(--t-small); }

/* Mobile dock. */
.dock { display: none; }
@media (max-width: 900px) {
	.dock { position: fixed; inset: auto 0 0 0; z-index: 85; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; height: calc(var(--dock) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid var(--line-d); }
	.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--steel-3); text-decoration: none; font-family: var(--f-d); font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
	.dock .ic { width: 22px; height: 22px; }
	.dock .dock__book { background: var(--red-btn); color: var(--white); }
	body { padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom)); }
	.is-book-page .dock .dock__book { display: none; }
	.is-book-page .dock { grid-template-columns: repeat(3, 1fr); }
}

/* 7 Loader + transitions --------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 300; background: #050505; color: var(--white); display: none; }
.is-loading .loader { display: block; }
.is-loading body { overflow: hidden; }
.loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__css { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.loader__css i { position: absolute; width: 70vmin; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(220, 220, 218, .4); animation: ring 1.6s linear infinite; }
.loader__css i:nth-child(2) { animation-delay: -.4s; } .loader__css i:nth-child(3) { animation-delay: -.8s; } .loader__css i:nth-child(4) { animation-delay: -1.2s; }
.has-gl .loader__css { display: none; }
.loader__hud { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) calc(1.6rem + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.loader__mark { width: clamp(110px, 14vw, 170px); }
.loader__read { text-align: right; }
.loader__read .num { display: block; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; }
.loader__read .label { color: var(--steel-5); }
.loader__gate { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1.4rem; text-align: center; padding: var(--gut); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease); }
.loader.is-gate .loader__gate { opacity: 1; visibility: visible; }
.loader.is-gate .loader__hud { opacity: 0; transition: opacity .3s; }
.start { position: relative; width: clamp(150px, 26vmin, 210px); aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; background: radial-gradient(circle at 50% 38%, #3a3a3a, #121212 62%); color: var(--white); box-shadow: 0 0 0 7px #1a1a1a, 0 0 0 9px #8f8f8f, 0 0 0 10px #2a2a2a, 0 22px 60px rgba(0, 0, 0, .7); display: grid; place-items: center; align-content: center; gap: .35rem; font-family: var(--f-d); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .06em; transition: transform .15s var(--ease); }
.start::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid var(--red); box-shadow: 0 0 22px rgba(234, 54, 55, .55), inset 0 0 18px rgba(234, 54, 55, .35); animation: glow 1.8s ease-in-out infinite; }
.start:active { transform: scale(.95); }
.start b { font-size: clamp(1.05rem, .8rem + 1vw, 1.4rem); line-height: 1; }
.start small { font-size: .62rem; letter-spacing: .2em; color: var(--steel-3); font-style: normal; font-weight: 600; }
.loader__skip { background: none; border: 0; color: var(--steel-3); text-decoration: underline; text-underline-offset: .25em; font-size: var(--t-small); padding: .75rem 1rem; }
.loader__skip:hover { color: var(--white); }
.loader.is-out { opacity: 0; transition: opacity .55s var(--ease); pointer-events: none; }
.loader__flash { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; }

/* Page transition: twin bars sweep across (equal length). */
.tx { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.tx i { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--ink); transform: translateX(-101%); }
.tx i:first-child { top: 0; border-bottom: 3px solid var(--red); }
.tx i:last-child { bottom: 0; background: var(--char); }
.tx.is-cover i { transform: none; transition: transform .42s var(--ease-io); }
.tx.is-cover i:last-child { transition-delay: .06s; }
.is-tx-in .tx i { transform: none; }
.tx.is-reveal i { transform: translateX(101%); transition: transform .5s var(--ease-io); }
.tx.is-reveal i:last-child { transition-delay: .06s; }

/* 8 Home ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding-top: calc(var(--hdr) + 2rem); padding-bottom: 2.2rem; overflow: clip; background: radial-gradient(120% 80% at 75% 30%, #1d1d1d 0%, var(--ink) 60%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin: 0 0 2rem; }
.hero__tip { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 9 / 15; }
.hero__tip .tipframe { position: absolute; inset: 0; }
.hero__ring { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
.hero__snd { position: absolute; left: 50%; bottom: -1.1rem; transform: translateX(-50%); z-index: 2; }
.hero__cap { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 2.6rem; width: max-content; max-width: 100%; color: var(--steel-5); font-size: .8rem; text-align: center; }
.hero__cap a { color: var(--steel-3); }
.hero .facts { margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (max-width: 900px) {
	.hero { min-height: 0; padding-top: calc(var(--hdr) + 1rem); }
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__tip { order: -1; width: min(52vw, 230px); margin-bottom: 3.4rem; }
	.hero__cap { margin-top: 2.3rem; }
}

/* Garage rail (pinned sideways on desktop, swipe on phones). */
.rail-sec { background: var(--ink-2); overflow: clip; }
.rail { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.rail__card { flex: 0 0 clamp(210px, min(20vw, 27vh), 290px); }
.rail__end { flex: 0 0 clamp(240px, 22vw, 320px); display: grid; align-content: center; gap: 1rem; padding: 2rem 0; }
@media (max-width: 900px) {
	.rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
	.rail::-webkit-scrollbar { display: none; }
	.rail__card, .rail__end { scroll-snap-align: start; flex-basis: 74vw; }
}

/* Build card: capsule photo, name, engine, waveform. */
.card { position: relative; display: grid; gap: 1rem; }
.card__media { position: relative; aspect-ratio: 5 / 8; }
.card__media .tipframe { position: absolute; inset: 0; transition: transform var(--d2) var(--ease); }
.card__media img { transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__title { font-size: 1.35rem; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 5 / 8; z-index: 1; }
.card__meta { margin: -.6rem 0 0; color: var(--steel-5); font-size: var(--t-small); }
.card .player { position: relative; z-index: 2; }
.card__nosnd { position: relative; z-index: 2; display: flex; align-items: center; gap: .6rem; min-height: 52px; color: var(--steel-5); font-size: var(--t-small); }
.card__nosnd a { color: var(--steel-3); }
.light .card__meta, .light .card__nosnd { color: var(--steel-7); }

/* Manifold (services): a sticky photo, the services hang off a twin pipe. */
.mani { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); }
.mani__photo { position: sticky; top: calc(var(--hdr) + 2rem); align-self: start; aspect-ratio: 4 / 5; border-radius: 300px 300px 24px 24px; overflow: hidden; background: var(--char); }
.mani__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.mani__photo img.on { opacity: 1; transform: none; }
.mani__list { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.4rem; }
.mani__list::before, .mani__list::after { content: ""; position: absolute; top: .6rem; bottom: 2rem; width: 2px; border-radius: 2px; background: var(--steel-3); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.mani__list::before { left: 0; }
.mani__list::after { left: 9px; }
.mani__item { position: relative; padding: 0 0 clamp(2.5rem, 2rem + 3vw, 5rem); }
.mani__item::before { content: ""; position: absolute; left: -2.4rem; top: 2.55rem; width: 2.1rem; height: 11px; border: 2px solid var(--steel-3); border-left: 0; border-radius: 0 6px 6px 0; }
.mani__item::after { content: ""; position: absolute; left: -.45rem; top: 2.8rem; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.mani__item h3 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); line-height: .95; }
.mani__item h3 a { text-decoration: none; }
.mani__item h3 a:hover { color: var(--red-paper); }
.mani__tag { margin: .9rem 0 1rem; font-size: var(--t-big); font-weight: 400; max-width: 30em; }
.mani__pts { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; list-style: none; margin: 0 0 1.4rem; padding: 0; color: var(--steel-7); font-size: var(--t-small); }
.mani__pts li { display: flex; gap: .5rem; align-items: baseline; }
.mani__by { display: inline-block; margin-bottom: .7rem; color: var(--steel-7); }
.mani__mob { display: none; }
@media (max-width: 900px) {
	.mani { grid-template-columns: minmax(0, 1fr); }
	.mani__photo { display: none; }
	.mani__mob { display: block; aspect-ratio: 16 / 10; border-radius: 200px 200px 16px 16px; overflow: hidden; margin-bottom: 1.2rem; }
	.mani__mob img { width: 100%; height: 100%; object-fit: cover; }
}

/* Valve demo. */
.valve { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.valve__dial { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.valve__dial svg { width: 100%; height: 100%; }
.valve__plate { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease); }
.is-open .valve__plate { transform: rotate(90deg) scaleX(.18); }
.valve__state { position: absolute; left: 50%; bottom: -.4rem; transform: translateX(-50%); }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-d); }
.switch button { position: relative; z-index: 1; min-height: 44px; padding: 0 1.3rem; border: 0; border-radius: 999px; background: none; color: var(--steel-5); font-family: var(--f-d); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; transition: color var(--d1); }
.switch button[aria-pressed="true"] { color: var(--white); background: var(--red-btn); }
.valve__ctl { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.valve__meter { display: flex; align-items: flex-end; gap: 3px; height: 40px; margin-top: 1.5rem; }
.valve__meter i { flex: 1; background: var(--steel-9); border-radius: 2px; transform-origin: bottom; transform: scaleY(.06); }
.valve__meter i.hot { background: var(--red); }
@media (max-width: 900px) { .valve { grid-template-columns: minmax(0, 1fr); } .valve__dial { width: min(80vw, 340px); } }

/* Red band (one of the brand fields). */
.band { background: var(--red-btn); color: var(--white); overflow: clip; }
.band .mute { color: #FFD9D9; }
.band__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: center; }
.tree { display: grid; grid-template-columns: repeat(2, 54px); gap: 10px 18px; justify-content: center; padding: 1.4rem 1.6rem; border-radius: 999px; background: var(--ink); width: max-content; justify-self: center; }
.tree i { width: 54px; height: 54px; border-radius: 50%; background: #2a2a2a; box-shadow: inset 0 0 0 3px #111; }
.tree.run i.y { animation: amber 2.2s steps(1) infinite; }
.tree.run i.g { animation: green 2.2s steps(1) infinite; }
.tree i.y:nth-child(3), .tree i.y:nth-child(4) { animation-delay: .2s; }
.tree i.y:nth-child(5), .tree i.y:nth-child(6) { animation-delay: .4s; }
@media (max-width: 760px) { .band__grid { grid-template-columns: minmax(0, 1fr); } .tree { grid-template-columns: repeat(2, 40px); } .tree i { width: 40px; height: 40px; } }

/* Reviews. */
.quotes { position: relative; display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.quote.on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.quote p { margin: 0; font-family: var(--f-d); font-weight: 700; font-style: italic; font-size: clamp(1.5rem, 1rem + 2.1vw, 2.9rem); line-height: 1.12; text-transform: none; max-width: 24em; }
.quote footer { margin-top: 1.3rem; color: var(--steel-7); }
.quotes__nav { display: flex; gap: .5rem; margin-top: 2rem; align-items: center; }
.quotes__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); background: none; display: grid; place-items: center; }
.quotes__nav button:hover { border-color: var(--ink); }
.quotes__nav .ic { width: 20px; height: 20px; }
.quotes__dots { display: flex; gap: 6px; margin-left: .6rem; }
.quotes__dots i { width: 22px; height: 6px; background: var(--steel-3); clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%); }
.quotes__dots i.on { background: var(--red); }

/* Owner. */
.owner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.owner__ph { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--steel-2); }
.owner__ph img { width: 100%; height: 100%; object-fit: cover; }
.owner blockquote { margin: 0; }
.owner blockquote p { font-size: var(--t-big); line-height: 1.55; margin: 0 0 1rem; }
.owner cite { font-style: normal; font-family: var(--f-d); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.2rem; }
@media (max-width: 760px) { .owner { grid-template-columns: minmax(0, 1fr); } .owner__ph { width: 70%; } }

/* Visit / book strip. */
.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); }
.visit dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem 1.4rem; }
.visit dt { color: var(--steel-5); font-size: var(--t-small); padding-top: .15rem; }
.visit dd { margin: 0; }
.visit dd a { text-decoration: none; border-bottom: 1px solid var(--line-d); }
.visit dd a:hover { border-color: var(--red-ink); }
.hours { list-style: none; margin: 0; padding: 0; font-size: var(--t-small); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line-d); }
.hours li.today { color: var(--white); font-weight: 600; }
.quickbook { padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); border-radius: 28px; background: var(--ink-3); }
.quickbook h3 { margin-bottom: 1rem; }
@media (max-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr); } }

/* 9 Garage archive + single --------------------------------------------- */
.garage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3.5rem) clamp(1.25rem, 3vw, 3rem); margin-top: 2.5rem; }
.garage .card:nth-child(3n+2) { margin-top: 4rem; }
@media (max-width: 1000px) { .garage { grid-template-columns: repeat(2, minmax(0, 1fr)); } .garage .card:nth-child(3n+2) { margin-top: 0; } .garage .card:nth-child(2n) { margin-top: 3rem; } }
@media (max-width: 560px) { .garage { grid-template-columns: minmax(0, 1fr); } .garage .card:nth-child(2n) { margin-top: 0; } .garage .card__media { aspect-ratio: 4 / 5; } .card__title a::after { aspect-ratio: 4 / 5; } }
.build-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); padding-top: calc(var(--hdr) + 2.5rem); padding-bottom: var(--sec); align-items: start; }
.gal { position: sticky; top: calc(var(--hdr) + 1.5rem); }
.gal__main { position: relative; aspect-ratio: 9 / 14; max-height: 78vh; margin-inline: auto; }
.gal__main .tipframe { position: absolute; inset: 0; }
.gal__main img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.gal__main img.on { opacity: 1; }
.gal__thumbs { display: flex; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.gal__thumbs button { width: 54px; height: 72px; padding: 0; border: 0; border-radius: 30px; overflow: hidden; opacity: .5; box-shadow: 0 0 0 2px transparent; transition: opacity var(--d1), box-shadow var(--d1); background: var(--ink-3); }
.gal__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--red); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.build-info h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5rem); margin-bottom: 1.2rem; }
.build-info .player { margin: 2rem 0; padding: 1.2rem; border-radius: 999px; background: var(--ink-3); }
.spec { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 2rem 0; border: 0; border-top: 1px solid var(--line-d); }
.light .spec, .light .spec dt, .light .spec dd { border-color: var(--line-l); }
.light .spec dt { color: var(--steel-7); }
.spec dt, .spec dd { margin: 0; padding: .75rem 0; border-bottom: 1px solid var(--line-d); }
.spec dt { padding-right: 1.5rem; color: var(--steel-5); font-size: var(--t-small); }
.build-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line-d); padding-top: 1.5rem; }
.build-nav a { text-decoration: none; display: grid; gap: .2rem; }
.build-nav a:hover b { color: var(--red-ink); }
.build-nav span { color: var(--steel-5); font-size: var(--t-small); }
.build-nav a:last-child { text-align: right; }
@media (max-width: 900px) { .build-hero { grid-template-columns: minmax(0, 1fr); } .gal { position: relative; top: 0; } .gal__main { width: min(80vw, 380px); } .build-info .player { border-radius: 28px; } }

/* 10 Services ------------------------------------------------------------- */
.svc-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.svc-hero__ph { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; }
.svc-hero__ph img { width: 100%; height: 100%; object-fit: cover; }
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.jobs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line-l); }
.jobs h3 { font-size: 1.25rem; }
.jobs p { margin: .25rem 0 0; color: var(--steel-7); font-size: var(--t-small); }
@media (max-width: 900px) { .svc-hero { grid-template-columns: minmax(0, 1fr); } .svc-hero__ph { width: 75%; } }
@media (max-width: 560px) { .jobs li { grid-template-columns: minmax(0, 1fr); } }

/* 11 Exhaust builder ------------------------------------------------------ */
.bld { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.bld__stage { position: sticky; top: calc(var(--hdr) + 1rem); border-radius: 32px; background: radial-gradient(90% 70% at 50% 40%, #232323, #0b0b0b); overflow: hidden; aspect-ratio: 4 / 3; }
.bld__stage canvas { width: 100%; height: 100%; touch-action: pan-y; }
.bld__poster { position: absolute; inset: 0; display: grid; place-items: center; color: var(--steel-5); font-size: var(--t-small); text-align: center; padding: 1rem; }
.bld__hud { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; pointer-events: none; }
.bld__hud .label { color: var(--steel-5); }
.bld__hud b { display: block; font-family: var(--f-d); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1rem, .8rem + .8vw, 1.4rem); line-height: 1.1; }
.bld__form { display: grid; gap: 2rem; }
.step { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.step legend { padding: 0; margin-bottom: .9rem; font-family: var(--f-d); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.15rem; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: grid; gap: .15rem; min-height: 56px; padding: .7rem .9rem; border-radius: 16px; border: 1px solid var(--line-d); color: var(--steel-3); font-size: var(--t-small); line-height: 1.25; cursor: pointer; transition: border-color var(--d1), background-color var(--d1), color var(--d1); }
.opt span b { color: var(--white); font-weight: 500; font-size: .95rem; }
.opt input:checked + span { border-color: var(--red); background: rgba(234, 54, 55, .1); }
.opt input:focus-visible + span { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.opt span:hover { border-color: var(--steel-5); }
.opt .sw { width: 22px; height: 22px; border-radius: 50%; margin-bottom: .2rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.bld__sum { padding: 1.4rem; border-radius: 24px; background: var(--ink-3); }
.bld__sum ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .3rem; font-size: var(--t-small); color: var(--steel-3); }
.bld__sum li b { color: var(--white); font-weight: 500; }
@media (max-width: 960px) { .bld { grid-template-columns: minmax(0, 1fr); } .bld__stage { position: relative; top: 0; aspect-ratio: 1; } }

/* 12 Kyalami lap + The Strip --------------------------------------------- */
.lap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.lap__map { position: relative; }
.lap__map svg { width: 100%; height: auto; overflow: visible; }
.lap__track { fill: none; stroke: var(--steel-9); stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.lap__line { fill: none; stroke: var(--steel-3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lap__done { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.lap__pit { fill: none; stroke: var(--steel-7); stroke-width: 2; stroke-dasharray: 6 8; }
.lap__sf { stroke: var(--white); stroke-width: 5; }
.lap__car { fill: var(--red); stroke: var(--white); stroke-width: 3; }
.lap__corner text { fill: var(--steel-5); paint-order: stroke; stroke: var(--ink-2); stroke-width: 6px; font-family: var(--f-d); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.lap__corner.on text { fill: var(--white); }
.lap__corner circle { fill: var(--steel-7); }
.lap__corner.on circle { fill: var(--red); }
.lap__ws circle { fill: var(--red); }
.lap__ws text { fill: var(--white); font-family: var(--f-d); font-weight: 700; font-style: italic; font-size: 26px; text-transform: uppercase; }
.lap__ws .sub { fill: var(--steel-5); font-weight: 600; font-style: normal; font-size: 19px; }
.lap__ws path { stroke: var(--red); stroke-width: 2; fill: none; }
.lap__hud { display: grid; gap: 1.2rem; }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 22px; overflow: hidden; }
.gauges > div { background: var(--ink); padding: .9rem 1rem; }
.gauges b { display: block; font-family: var(--f-d); font-weight: 800; font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.gauges span { color: var(--steel-5); font-size: .75rem; }
.gauges .wide { grid-column: 1 / -1; }
.lap__ctl { display: grid; gap: .8rem; }
.lap__ctl select, .strip__pick select { width: 100%; }
.lap__src { color: var(--steel-5); font-size: .75rem; margin: 0; }
.lap__src a { color: var(--steel-3); }
@media (max-width: 960px) { .lap { grid-template-columns: minmax(0, 1fr); } }

.strip { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.strip__view { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: #050505; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.strip__view canvas { width: 100%; height: 100%; }
.strip__overlay { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; text-align: center; padding: 1.5rem; background: rgba(5, 5, 5, .72); }
.strip__overlay h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.strip__overlay p { margin: 0; color: var(--steel-3); max-width: 30em; }
.strip__tach { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: 5px; }
.strip__tach i { width: 14px; height: 14px; border-radius: 50%; background: #222; box-shadow: inset 0 0 0 2px #111; }
.strip__tach i.g { background: #2ecc71; } .strip__tach i.y { background: #f1c40f; } .strip__tach i.r { background: var(--red); }
.strip__tach.flash i { background: #3fa9ff; }
.strip__read { position: absolute; top: 1rem; left: 1rem; right: 1rem; display: flex; justify-content: space-between; pointer-events: none; }
.strip__read b { display: block; font-family: var(--f-d); font-weight: 800; font-style: italic; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.strip__read span { font-size: .72rem; color: var(--steel-3); letter-spacing: .08em; text-transform: uppercase; }
.strip__read .r { text-align: right; }
.strip__pad { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.strip__pad button { min-height: 72px; border-radius: 22px; border: 0; font-family: var(--f-d); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .04em; }
.strip__go { background: var(--red-btn); color: var(--white); }
.strip__shift { background: var(--white); color: var(--ink); }
.strip__side { display: grid; gap: 1.2rem; }
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); font-size: var(--t-small); }
.results li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line-d); }
.results b { font-family: var(--f-d); font-weight: 700; font-style: italic; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .strip { grid-template-columns: minmax(0, 1fr); } .strip__view { aspect-ratio: 4 / 5; } }

/* 13 Booking -------------------------------------------------------------- */
.book { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.book__steps { list-style: none; display: flex; gap: .4rem; margin: 0 0 2rem; padding: 0; counter-reset: s; }
.book__steps li { flex: 1; padding-top: .7rem; border-top: 3px solid var(--steel-3); color: var(--steel-7); font-family: var(--f-d); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.book__steps li.on { border-color: var(--red); color: var(--ink); }
.book__steps li.done { border-color: var(--ink); color: var(--ink); }
.book__panel { display: none; }
.book__panel.on { display: block; animation: rise .45s var(--ease); }
.book__panel h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: 1.3rem; }
.jobgrp { margin-bottom: 1.6rem; }
.jobgrp h3 { font-size: 1rem; margin-bottom: .6rem; color: var(--steel-7); }
.jobpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.jobpick label { position: relative; display: grid; gap: .15rem; padding: .9rem 1rem; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-l); cursor: pointer; transition: box-shadow var(--d1); }
.jobpick input { position: absolute; opacity: 0; }
.jobpick b { font-weight: 500; }
.jobpick span { color: var(--steel-7); font-size: .8rem; }
.jobpick input:checked + b { color: var(--red-paper); }
.jobpick label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); }
.jobpick label:has(input:focus-visible) { outline: 2px solid var(--red-paper); outline-offset: 2px; }
.cal { max-width: 560px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.cal__head b { font-family: var(--f-d); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.2rem; }
.cal__head button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); background: none; display: grid; place-items: center; }
.cal__head .ic { width: 20px; height: 20px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font-size: .72rem; color: var(--steel-7); padding-bottom: .3rem; }
.cal__d { position: relative; aspect-ratio: 1; min-height: 44px; border: 0; border-radius: 12px; background: var(--white); font-variant-numeric: tabular-nums; font-weight: 500; }
.cal__d small { position: absolute; left: 0; right: 0; bottom: 4px; font-size: .58rem; color: var(--steel-7); font-weight: 400; }
.cal__d[disabled] { background: transparent; color: var(--steel-3); cursor: default; }
.cal__d.few small { color: var(--red-paper); }
.cal__d[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.cal__d[aria-pressed="true"] small { color: var(--steel-3); }
.cal__d:not([disabled]):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin-top: 1.4rem; max-width: 560px; }
.slots button { min-height: 46px; border-radius: 999px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-l); font-variant-numeric: tabular-nums; font-weight: 500; }
.slots button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.slots button[aria-pressed="true"] { background: var(--red-btn); color: var(--white); box-shadow: none; }
.slots__empty { grid-column: 1 / -1; color: var(--steel-7); font-size: var(--t-small); }
.book__sum { position: sticky; top: calc(var(--hdr) + 1.5rem); padding: 1.5rem; border-radius: 28px; background: var(--ink); color: var(--white); }
.book__sum h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.book__sum dl { margin: 0 0 1.2rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1rem; font-size: var(--t-small); }
.book__sum dt { color: var(--steel-5); }
.book__sum dd { margin: 0; }
.book__sum .mute, .book__sum a { color: var(--steel-3); }
.book__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.book__done { text-align: left; }
.book__done .ref { display: inline-block; margin: .6rem 0 1.2rem; font-family: var(--f-d); font-weight: 800; font-style: italic; font-size: 2rem; }
@media (max-width: 960px) { .book { grid-template-columns: minmax(0, 1fr); } .book__sum { position: relative; top: 0; order: -1; } .book__steps li { font-size: .62rem; } }

/* 14 Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.fld { display: grid; gap: .35rem; min-width: 0; }
.fld > label, .fld > .fld__l { font-size: .8rem; font-weight: 500; color: var(--steel-3); }
.light .fld > label, .light .fld > .fld__l { color: var(--char); }
.fld input, .fld select, .fld textarea, .lap__ctl select, .strip__pick select { width: 100%; min-height: 50px; padding: .7rem 1rem; border-radius: 14px; border: 1px solid var(--line-d); background: var(--ink-2); color: var(--white); font-size: 1rem; transition: border-color var(--d1); }
.light .fld input, .light .fld select, .light .fld textarea { background: var(--white); color: var(--ink); border-color: rgba(10, 10, 10, .22); }
.fld select, .lap__ctl select, .strip__pick select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F8F8F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(234, 54, 55, .25); }
.fld.err input, .fld.err select, .fld.err textarea { border-color: var(--red); }
.fld__e { color: var(--red-ink); font-size: .8rem; }
.light .fld__e { color: var(--red-paper); }
.chk { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--t-small); color: var(--steel-3); }
.light .chk { color: var(--char); }
.chk input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--red-btn); flex: none; }
.chk a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { padding: 1rem 1.2rem; border-radius: 16px; font-size: var(--t-small); }
.form__msg.ok { background: rgba(46, 139, 87, .16); color: var(--white); box-shadow: inset 0 0 0 1px rgba(46, 139, 87, .6); }
.form__msg.bad { background: rgba(234, 54, 55, .12); box-shadow: inset 0 0 0 1px var(--red); }
.light .form__msg.ok { color: var(--ink); }
.files { font-size: var(--t-small); color: var(--steel-5); }
.light .files { color: var(--steel-7); }

/* 15 Chat ----------------------------------------------------------------- */
.chat-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; display: inline-flex; align-items: center; gap: .6rem; min-height: 54px; padding: 0 1.3rem 0 1.05rem; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--f-d); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 3px var(--white), inset 0 0 0 4px rgba(10, 10, 10, .25); transition: transform var(--d2) var(--ease), opacity var(--d2); }
.chat-fab .ic { width: 22px; height: 22px; }
.chat-fab:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--ink); }
.chat-open .chat-fab { transform: translateY(140%); opacity: 0; }
@media (max-width: 900px) { .chat-fab { display: none; } }
.chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 110; width: min(400px, calc(100vw - 2.5rem)); height: min(620px, calc(100vh - var(--hdr) - 2.5rem)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 28px; background: var(--ink-2); color: var(--white); box-shadow: 0 24px 80px rgba(0, 0, 0, .55), 0 0 0 1px var(--line-d); overflow: hidden; transform: translateY(20px) scale(.98); opacity: 0; visibility: hidden; transition: transform var(--d2) var(--ease), opacity var(--d2) var(--ease), visibility 0s var(--d2); }
.chat.is-open { transform: none; opacity: 1; visibility: visible; transition: transform var(--d2) var(--ease), opacity var(--d2) var(--ease); }
@media (max-width: 900px) { .chat { inset: 0; width: auto; height: auto; border-radius: 0; z-index: 130; } .admin-bar .chat { top: 46px; } }
.chat__top { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem .9rem 1.2rem; border-bottom: 1px solid var(--line-d); }
.chat__top .logo { width: 70px; }
.chat__top div { flex: 1; min-width: 0; }
.chat__top b { display: block; font-family: var(--f-d); font-weight: 700; font-style: italic; text-transform: uppercase; }
.chat__top span { color: var(--steel-5); font-size: .75rem; }
.chat__top button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--white); display: grid; place-items: center; }
.chat__top .ic { width: 22px; height: 22px; }
.chat__log { overflow-y: auto; overflow-x: hidden; padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.msg { min-width: 0; overflow-wrap: anywhere; max-width: 86%; padding: .7rem .95rem; border-radius: 18px; font-size: .92rem; line-height: 1.45; animation: rise .3s var(--ease); white-space: pre-line; }
.msg--bot { align-self: flex-start; background: var(--ink-3); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--red-btn); border-bottom-right-radius: 6px; }
.msg a { color: var(--white); }
.msg .tip { margin-top: .6rem; white-space: normal; text-align: center; }
.msg__slots { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.msg__slots a { padding: .45rem .8rem; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 500; }
.msg__card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .8rem; align-items: center; margin-top: .6rem; }
.msg__card img { width: 64px; height: 84px; object-fit: cover; border-radius: 32px; }
.msg__card a { display: block; margin-bottom: .4rem; font-weight: 600; }
.msg ul { margin: .3rem 0 0; padding: 0; list-style: none; }
.msg li { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: .9rem 1rem; background: var(--ink-3); border-radius: 18px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--steel-5); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat__chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 1rem .7rem; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: none; min-height: 38px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line-d); background: none; color: var(--steel-3); font-size: .8rem; }
.chat__chips button:hover { border-color: var(--red); color: var(--white); }
.chat__form { display: flex; gap: .5rem; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); }
.chat__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-d); background: var(--ink); color: var(--white); }
.chat__form input:focus { outline: none; border-color: var(--red); }
.chat__form button { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--red-btn); color: var(--white); display: grid; place-items: center; }
.chat__form .ic { width: 20px; height: 20px; }
.chat__cb { display: grid; gap: .5rem; margin-top: .6rem; }
.chat__cb input { min-height: 44px; padding: 0 .9rem; border-radius: 12px; border: 1px solid var(--line-d); background: var(--ink); color: var(--white); }

/* 16 Pages + footer ------------------------------------------------------- */
.pg-head h1 { font-size: var(--t-h2); }
.pg-head .lead { margin-top: 1.2rem; }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr); } }
.find { border-radius: 28px; background: var(--ink-2); padding: 1rem; }
.find svg { width: 100%; height: auto; }
.reviews-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.reviews-list figure { margin: 0; padding: 2rem 0; border-top: 1px solid var(--line-l); }
.reviews-list p { margin: 0 0 1rem; font-size: var(--t-big); line-height: 1.45; }
.reviews-list figcaption { color: var(--steel-7); font-size: var(--t-small); }
@media (max-width: 760px) { .reviews-list { grid-template-columns: minmax(0, 1fr); } }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.posts article { display: grid; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line-d); }
.posts h2 { font-size: 1.3rem; line-height: 1.1; }
.posts a { text-decoration: none; }
.posts p { margin: 0; color: var(--steel-5); font-size: var(--t-small); }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.pager { display: flex; gap: .5rem; margin-top: 3rem; }
.pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-d); text-decoration: none; padding: 0 .8rem; }
.pager .current { background: var(--red-btn); border-color: var(--red-btn); }
.e404 { min-height: 80vh; display: grid; align-content: center; }

.ftr { background: var(--ink-2); color: var(--white); padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0 1.5rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding-bottom: 3rem; }
.ftr__brand .logo { width: min(260px, 70%); }
.ftr__brand p { color: var(--steel-5); margin: 1.2rem 0 0; max-width: 26em; font-size: var(--t-small); }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.ftr h2 { font-size: .8rem; font-weight: 600; font-style: normal; letter-spacing: .14em; color: var(--steel-5); margin-bottom: 1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: var(--t-small); }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--red-ink); }
.ftr .hours li { border-color: var(--line-d); }
.ftr__social { display: flex; gap: .6rem; margin-top: 1rem; }
.ftr__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; }
.ftr__social .ic { width: 20px; height: 20px; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1.4rem; color: var(--steel-5); font-size: .8rem; }
.ftr__bot a { color: var(--steel-3); text-decoration: underline; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: minmax(0, 1fr); } .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ftr__cols { grid-template-columns: minmax(0, 1fr); } }

/* Elementor content inherits the system. */
.elementor-page .main { padding-top: var(--hdr); }
.elementor-widget-heading .elementor-heading-title { font-family: var(--f-d); }

/* 17 Motion --------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes glow { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes ring { from { transform: scale(.05); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes amber { 0% { background: #2a2a2a; } 20% { background: #f1c40f; } 60% { background: #2a2a2a; } }
@keyframes green { 0%, 55% { background: #2a2a2a; } 62% { background: #2ecc71; } 90% { background: #2a2a2a; } }

/* Reveal: masked lines + settle. Hidden only once JS has run (html.js), failsafe in core.js. */
.js [data-rv] { opacity: 0; transform: translateY(26px); }
.js [data-rv].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rv-lines] .ln { overflow: hidden; }
.js [data-rv-lines] .ln > span { display: inline-block; transform: translateY(105%); }
.js [data-rv-lines].is-in .ln > span { transform: none; transition: transform .9s var(--ease); transition-delay: calc(var(--l, 0) * 90ms); }
.js [data-rv-img] { clip-path: inset(12% 8% 12% 8% round 999px); }
.js [data-rv-img].is-in { clip-path: inset(0 0 0 0 round 999px); transition: clip-path 1.1s var(--ease); }

/* 18 Reduced motion: fades stay, travel and loops go. ------------------- */
@media (prefers-reduced-motion: reduce) {
	.js [data-rv] { transform: none; }
	.js [data-rv-lines] .ln > span { transform: none; }
	.js [data-rv-lines] { opacity: 0; }
	.js [data-rv-lines].is-in { opacity: 1; transition: opacity .6s; }
	.js [data-rv-img] { clip-path: none; opacity: 0; }
	.js [data-rv-img].is-in { opacity: 1; transition: opacity .6s; }
	.loader__css i, .start::before, .tree.run i { animation: none; }
	.tx.is-cover i, .tx.is-reveal i { transition-duration: .01s; }
	.card:hover .card__media img { transform: none; }
	.menu-panel nav a { transform: none; }
}

/* Lap labels: on small maps only the corner you are in is named (the HUD names it too). */
@media (max-width: 600px) { .lap__corner text { opacity: 0; } .lap__corner.on text { opacity: 1; } .lap__ws .sub { display: none; } }
