/* Auto repair template, Goretii Designs.
   Presets: [data-preset="bright"] (default), "blue", "garage" (dark option).
   Motion: hidden states only apply under html.js:not(.reduce-motion); a CSS failsafe reveals everything after 2.5s. */

/* ============ 1. Presets ============ */
:root, [data-preset="bright"] {
  --bg: #ffffff; --bg-rgb: 255 255 255; --band: #f4f2ee; --surface: #ffffff;
  --text: #1d1d1f; --muted: #55555c; --border: #e4e1db; --field-border: #8a867f;
  --accent: #d63d0e; --accent-hover: #b8340b; --on-accent: #ffffff; --accent-ink: #b8340b; --hl: #d63d0e;
  --icon-bg: #fbeae3; --focus: #1d1d1f;
  --invert-bg: #ffffff; --invert-text: #1d1d1f; --cta-bg: #d63d0e; --cta-text: #ffffff;
  --footer-bg: #1d1d1f; --footer-text: #f4f2ee; --footer-muted: #b9b5ae; --footer-accent: #ff9b73;
  --shadow: 0 1px 2px rgb(29 29 31 / .05), 0 12px 32px -8px rgb(29 29 31 / .12);
  --shadow-lg: 0 2px 4px rgb(29 29 31 / .04), 0 30px 60px -20px rgb(29 29 31 / .25);
  --grain-opacity: .05;
  color-scheme: light;
}
[data-preset="blue"] {
  --bg: #ffffff; --bg-rgb: 255 255 255; --band: #f1f4f9; --surface: #ffffff;
  --text: #0f1a2b; --muted: #4a5568; --border: #dde3ec; --field-border: #7d8898;
  --accent: #1f4fe0; --accent-hover: #1a41bb; --on-accent: #ffffff; --accent-ink: #1d48cf; --hl: #1f4fe0;
  --icon-bg: #e6edfd; --focus: #0f1a2b;
  --invert-bg: #ffffff; --invert-text: #0f1a2b; --cta-bg: #1f4fe0; --cta-text: #ffffff;
  --footer-bg: #0f1a2b; --footer-text: #eef2f8; --footer-muted: #aab6c8; --footer-accent: #9db8ff;
  --shadow: 0 1px 2px rgb(15 26 43 / .05), 0 12px 32px -8px rgb(15 26 43 / .12);
  --shadow-lg: 0 2px 4px rgb(15 26 43 / .04), 0 30px 60px -20px rgb(15 26 43 / .25);
  --grain-opacity: .04;
  color-scheme: light;
}
[data-preset="garage"] {
  --bg: #0c0c0d; --bg-rgb: 12 12 13; --band: #151517; --surface: #1a1a1d;
  --text: #f4f2ee; --muted: #b3aea6; --border: #2a2a2e; --field-border: #6e6e75;
  --accent: #ff5a1f; --accent-hover: #ff7440; --on-accent: #0c0c0d; --accent-ink: #ff6a33; --hl: #ff5a1f;
  --icon-bg: rgb(255 90 31 / .14); --focus: #ffb08f;
  --invert-bg: #0c0c0d; --invert-text: #ffffff; --cta-bg: #ff5a1f; --cta-text: #0c0c0d;
  --footer-bg: #070708; --footer-text: #eeebe6; --footer-muted: #a9a49c; --footer-accent: #ff8a5c;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -8px rgb(0 0 0 / .5);
  --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / .7);
  --grain-opacity: .09;
  color-scheme: dark;
}
:root {
  --font-big: var(--font-heading); --big-weight: 800; --big-track: -.035em; --big-case: none; --big-lh: 1;
  --fs-display: clamp(2.75rem, 1.2rem + 5.1vw, 6rem);
  --fs-display-2: clamp(2.2rem, 1.3rem + 3.1vw, 4.25rem);
  --fs-display-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --radius: 22px; --radius-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-soft: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --reveal-y: 32px; --stagger: 80ms; --header-h: 76px;
}
[data-preset="garage"] {
  --font-big: var(--font-display); --big-weight: 400; --big-track: .005em; --big-case: uppercase; --big-lh: .95;
  --fs-display: clamp(3.1rem, 1.2rem + 7vw, 8.25rem);
  --fs-display-2: clamp(2.5rem, 1.3rem + 4.3vw, 5.5rem);
  --fs-display-3: clamp(1.9rem, 1.3rem + 2.2vw, 3.25rem);
}
@media (max-width: 767.98px) { :root { --reveal-y: 18px; --stagger: 60ms; --header-h: 68px; } }

/* ============ 2. Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg, iframe, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { 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-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: .8rem 1.1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 4rem, 1240px); } }
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); position: relative; }
.section--band { background: var(--band); }
.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.split-head { max-width: none; display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 960px) { .split-head { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.section-lead { color: var(--muted); font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); max-width: 38rem; }
.split-head .section-lead { margin-bottom: .6rem; }

/* Big type */
.display, .display-2, .display-3 { font-family: var(--font-big); font-weight: var(--big-weight); letter-spacing: var(--big-track); text-transform: var(--big-case); line-height: var(--big-lh); }
.display { font-size: var(--fs-display); margin-bottom: .35em; }
.display-2 { font-size: var(--fs-display-2); margin-bottom: .4em; }
.display-3 { font-size: var(--fs-display-3); line-height: 1.05; }
.hl { color: var(--hl); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; font: 700 .82rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.lead { font-size: 1.25rem; color: var(--text); }

/* ============ 3. Buttons & links ============ */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1.1 var(--font-heading); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 58px; padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 16px 30px -12px var(--accent); }
.btn-ghost { color: var(--text); border-color: var(--field-border); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: rgb(var(--bg-rgb) / .6); }
.btn-invert { background: var(--invert-bg); color: var(--invert-text); }
.btn-outline-invert { color: var(--cta-text); border-color: currentColor; background: transparent; }
.btn-outline-invert:hover { background: rgb(0 0 0 / .1); }
.btn-arrow { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: -.5rem; border-radius: 50%; background: rgb(255 255 255 / .18); transition: transform .35s var(--ease-out); }
[data-preset="garage"] .btn-primary .btn-arrow { background: rgb(0 0 0 / .14); }
.btn-arrow .icon { width: .95rem; height: .95rem; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-sheen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .35) 50%, transparent 80%); transform: translateX(-120%); pointer-events: none; }
.btn-sheen:hover::after { transition: transform .9s var(--ease-out); transform: translateX(120%); }
.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; }
.text-link { position: relative; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--accent-ink); text-decoration: none; padding-bottom: 3px; }
.text-link::after { content: ""; position: absolute; left: 0; right: 1.6em; bottom: 0; height: 2px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease-out); }
.text-link:hover::after { transform: scaleX(1); }
.text-link .icon { transition: transform .35s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }
.u-link { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.u-link:hover { color: var(--accent-ink); }

/* ============ 4. Header & nav ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(var(--bg-rgb) / .97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgb(0 0 0 / .25); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.header-brand { display: flex; align-items: center; gap: .9rem; min-width: 0; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; flex: none; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--on-accent); transition: transform .5s var(--ease-spring); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }
.logo-mark .icon { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 800 1.3rem/1 var(--font-heading); letter-spacing: -.02em; }
[data-preset="garage"] .logo-name { font: 400 1.45rem/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.logo-sub { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.demo-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .7rem; border-radius: 999px; border: 1px solid var(--border); background: var(--band); color: var(--muted); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--icon-bg); }
.demo-pill-long { display: none; }
@media (min-width: 1200px) { .demo-pill-long { display: inline; } }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.9rem; }
.nav-link { position: relative; display: inline-block; padding: .5rem 0; color: var(--text); font-weight: 600; font-size: 1rem; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-call { display: none; }
.header-call { display: none; min-height: 46px; padding: .6rem 1.2rem; }
.nav-toggle { display: none; }
@media (min-width: 1024px) {
  .header-call { display: inline-flex; }
  .site-nav { margin-right: 1.2rem; }
}
@media (max-width: 1023.98px) {
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .8rem; }
  html:not(.js) .site-nav { width: 100%; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--field-border); background: transparent; color: var(--text); font: 600 .95rem var(--font-body); cursor: pointer; }
  .nav-toggle-icon { position: relative; width: 18px; height: 12px; }
  .nav-toggle-icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
  .nav-toggle-icon i:first-child { top: 1px; } .nav-toggle-icon i:last-child { top: 9px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }
  .js .site-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--bg); padding: 1.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease-soft), transform .4s var(--ease-out), visibility 0s linear .4s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease-soft), transform .4s var(--ease-out), visibility 0s; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease-soft), transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms + 60ms); }
  .js .site-nav.is-open li { opacity: 1; transform: none; }
  .js .nav-link { display: block; padding: 1rem 0; font: var(--big-weight) clamp(1.8rem, 1.2rem + 3vw, 2.6rem)/1.1 var(--font-big); letter-spacing: var(--big-track); text-transform: var(--big-case); }
  .js .nav-link::after { bottom: .7rem; right: auto; width: 2.5rem; }
  .js .nav-mobile-call { display: inline-flex; align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  .header-brand .demo-pill { font-size: .7rem; padding: .25rem .55rem; }
}
@media (max-width: 420px) { .logo-sub { display: none; } .logo-mark { width: 38px; height: 38px; } .logo-name { font-size: 1.15rem; } }

/* ============ 5. Hero (home) ============ */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem) 2rem; }
.hero .display { max-width: 11ch; }
.hero-lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero-facts { list-style: none; margin: 2rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; color: var(--muted); font-size: .98rem; max-width: 36rem; }
.hero-facts li { display: flex; gap: .55rem; align-items: center; }
.hero-facts strong { color: var(--text); font-weight: 600; margin-right: .25rem; }
.hero-facts .icon { color: var(--accent-ink); }
.hero-media { position: relative; order: 2; aspect-ratio: 4 / 3; overflow: hidden; margin-inline: 1.25rem; border-radius: var(--radius); }
.hero-media-inner, .hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 68% 40%; }
.hero-scrim { display: none; }
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--grain-opacity); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero .grain { display: none; }
@media (min-width: 960px) {
  .hero { display: grid; min-height: min(calc(100svh - var(--header-h)), 900px); align-items: center; }
  .hero > * { grid-area: 1 / 1; }
  .hero-media { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; z-index: 0; }
  .hero-media img { object-position: 60% 35%; }
  .hero-scrim { display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(var(--bg-rgb) / 1) 0%, rgb(var(--bg-rgb) / .94) 28%, rgb(var(--bg-rgb) / .6) 46%, rgb(var(--bg-rgb) / 0) 64%), linear-gradient(0deg, rgb(var(--bg-rgb) / .5), transparent 22%); }
  .hero .grain { display: block; }
  .hero-inner { padding-block: 5rem 6rem; }
  .hero-inner > * { max-width: 40rem; }
  .hero .display { max-width: 9.5ch; }
}
[data-preset="garage"] .hero .display { max-width: 12ch; }

/* ============ 6. Page hero (inner pages) ============ */
.page-hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); overflow: hidden; }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.page-hero .display { font-size: clamp(2.6rem, 1.3rem + 4.3vw, 5.5rem); }
[data-preset="garage"] .page-hero .display { font-size: clamp(3rem, 1.3rem + 5.6vw, 7rem); }
.breadcrumb { font-size: .92rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--text); }
.page-hero-media { aspect-ratio: 5 / 4; }

/* ============ 7. Media frames & parallax ============ */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--band); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.media-frame.tall { aspect-ratio: 4 / 5; }
.process .media-frame.tall { aspect-ratio: 1 / 1; }
.process .media-frame img { object-position: 38% 50%; }
.parallax-inner { position: absolute; left: 0; right: 0; top: -8%; height: 116%; }
.parallax-inner picture, .parallax-inner img { width: 100%; height: 100%; }
.parallax-inner img, .media-frame > picture img { object-fit: cover; }

/* ============ 8. Marquee ============ */
.marquee { position: relative; padding-block: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); border-block: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.marquee-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.marquee-track { display: contents; list-style: none; margin: 0; padding: 0; }
.marquee-track[aria-hidden="true"] { display: none; }
.marquee-track li { padding: .45rem .95rem; border: 1px solid var(--border); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.marquee-toggle { display: none; }
.js:not(.reduce-motion) .marquee-row { width: auto; flex-wrap: nowrap; justify-content: flex-start; gap: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.js:not(.reduce-motion) .marquee-track, .js:not(.reduce-motion) .marquee-track[aria-hidden="true"] { display: flex; flex: none; align-items: center; animation: marquee 48s linear infinite; will-change: transform; }
.js:not(.reduce-motion) .marquee-track li { border: 0; padding: 0; border-radius: 0; font: var(--big-weight) clamp(1.6rem, 1.1rem + 2.2vw, 3.1rem)/1.1 var(--font-big); letter-spacing: var(--big-track); text-transform: var(--big-case); white-space: nowrap; display: flex; align-items: center; }
.js:not(.reduce-motion) .marquee-track li:nth-child(even) { color: var(--muted); }
.js:not(.reduce-motion) .marquee-track li::after { content: ""; width: .32em; height: .32em; margin-inline: .9em; border-radius: 50%; background: var(--accent); flex: none; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track, .marquee.is-offscreen .marquee-track { animation-play-state: paused; }
.js:not(.reduce-motion) .marquee-toggle { display: grid; place-items: center; position: absolute; right: .75rem; bottom: .5rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--field-border); background: var(--bg); color: var(--text); cursor: pointer; }
.marquee-toggle .icon { width: 16px; height: 16px; }
.marquee.is-paused .marquee-toggle { background: var(--text); color: var(--bg); }
@keyframes marquee { to { transform: translate3d(-100%, 0, 0); } }

/* ============ 9. Intro + counters ============ */
.intro-text { font: 700 clamp(1.6rem, 1.05rem + 2.3vw, 3.2rem)/1.22 var(--font-heading); letter-spacing: -.025em; max-width: 30ch; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); color: var(--text); }
[data-preset="garage"] .intro-text { font-weight: 600; }
.counters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .counters { grid-template-columns: repeat(3, 1fr); } }
.counters li { padding-top: 1.4rem; border-top: 2px solid var(--text); }
.counter { display: block; font: var(--big-weight) clamp(3.5rem, 2.5rem + 3.5vw, 6rem)/1 var(--font-big); letter-spacing: var(--big-track); color: var(--hl); font-variant-numeric: tabular-nums; margin-bottom: .6rem; }
.counter-label { color: var(--muted); font-size: 1.05rem; }

/* ============ 10. Services showcase (sticky image) ============ */
.showcase-grid { display: grid; gap: 2rem; }
.showcase-media { display: none; }
.showcase-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
.svc-row { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 1.1rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--border); transition: transform .45s var(--ease-out); }
.svc-row-thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--border); }
.svc-row-thumb picture, .svc-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-num { display: none; }
.svc-row h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); margin: 0 0 .25rem; }
.svc-row h3 a { color: var(--text); text-decoration: none; }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-row h3 a:focus-visible { outline: none; }
.svc-row:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 8px; }
.svc-row p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.svc-row-arrow { display: none; }
.services-more { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.5rem; }
@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: start; }
  .showcase-media { display: block; position: sticky; top: calc(var(--header-h) + 2rem); }
  .showcase-frame { position: relative; height: min(72vh, 640px); border-radius: var(--radius); overflow: hidden; background: var(--border); box-shadow: var(--shadow-lg); }
  .showcase-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease-soft), transform 1.4s var(--ease-out); }
  .showcase-img.is-active { opacity: 1; transform: scale(1); }
  .showcase-img picture, .showcase-img img { width: 100%; height: 100%; object-fit: cover; }
  .showcase-count { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .45rem .9rem; border-radius: 999px; background: rgb(var(--bg-rgb) / .9); color: var(--text); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
  .svc-row { grid-template-columns: 4.2rem 1fr 2.6rem; gap: 1.4rem; padding: 1.7rem .4rem; }
  .svc-row-thumb { display: none; }
  .svc-num { display: block; font: var(--big-weight) 1.5rem/1 var(--font-big); color: var(--muted); transition: color .3s; font-variant-numeric: tabular-nums; }
  .svc-row-arrow { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--border); color: var(--text); transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
  .svc-row:hover, .svc-row.is-active { transform: translateX(10px); }
  .svc-row:hover .svc-num, .svc-row.is-active .svc-num { color: var(--hl); }
  .svc-row:hover .svc-row-arrow, .svc-row.is-active .svc-row-arrow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }
}

/* ============ 11. Process ============ */
.process-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .process-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } .process-media { position: sticky; top: calc(var(--header-h) + 2rem); } }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--border); }
.step:last-child { border-bottom: 1px solid var(--border); }
.step h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); margin: .35rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); }
.odo-num { display: inline-flex; font: var(--big-weight) clamp(2.8rem, 2rem + 2.4vw, 4.2rem)/1 var(--font-big); letter-spacing: -.02em; color: var(--hl); min-width: 2.4ch; }
.odo { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo-strip { display: flex; flex-direction: column; width: .62em; text-align: center; word-spacing: 100vw; line-height: 1; transform: translate3d(0, calc(var(--n) * -10%), 0); transition: transform 1.4s var(--ease-out) var(--od, 0ms); }
[data-preset="garage"] .odo-strip { width: .5em; }

/* ============ 12. Photo band ============ */
.photo-band { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 80vh, 820px); display: flex; align-items: flex-end; padding-block: 5rem 4rem; }
.photo-band-media { position: absolute; inset: 0; z-index: -2; }
.photo-band-media .parallax-inner { top: -10%; height: 120%; }
.photo-band-media img { object-fit: cover; object-position: 50% 40%; }
.photo-band-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--bg-rgb) / .35), transparent 60%); }
.photo-band .grain { z-index: 0; }
.photo-band-inner { position: relative; z-index: 2; }
.photo-band-card { max-width: 36rem; padding: clamp(1.8rem, 1.2rem + 2.5vw, 3.2rem); border-radius: var(--radius); background: rgb(var(--bg-rgb) / .97); box-shadow: var(--shadow-lg); }
.photo-band-card p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 767.98px) { .photo-band { min-height: 0; padding-block: 0 2rem; flex-direction: column; } .photo-band-media { position: relative; height: 60vw; min-height: 260px; width: 100%; } .photo-band-inner { margin-top: -4rem; } .photo-band-scrim { display: none; } }

/* ============ 13. Extras ============ */
.extras-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .extras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .extras-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); } .extras-grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); } }
.extra { position: relative; padding: 2.2rem 2rem 2rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.extra-line { position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--accent); transform-origin: left; transition: transform 1.2s var(--ease-out) .2s; }
.extra-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.icon-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--icon-bg); color: var(--accent-ink); }
.icon-badge .icon { width: 26px; height: 26px; }
.extra-num { font: var(--big-weight) 1.2rem/1 var(--font-big); color: var(--muted); }
.extra h3 { font-size: 1.45rem; }
.extra p { color: var(--muted); margin-bottom: .8rem; }
.extra:hover { box-shadow: var(--shadow-lg); }
.slot { display: block; margin-top: .6rem; padding: .7rem .9rem; border: 2px dashed var(--field-border); border-radius: 10px; font-size: .92rem; color: var(--text); background: var(--band); }
.slot::before { content: "To fill in: "; font-weight: 700; color: var(--accent-ink); }

/* ============ 14. Reviews (off by default) ============ */
.reviews-note { max-width: 46rem; padding: 1rem 1.2rem; border-left: 4px solid var(--accent); background: var(--band); border-radius: 0 10px 10px 0; margin-bottom: 1.5rem; }
.reviews-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { margin: 0; padding: 1.8rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.review-card.is-placeholder { box-shadow: none; border: 2px dashed var(--field-border); }
.review-card figcaption { color: var(--muted); }

/* ============ 15. FAQ ============ */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1fr 1.4fr; gap: 5rem; } .faq-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem .2rem; font: 700 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.35 var(--font-heading); letter-spacing: -.01em; border-radius: 8px; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-answer { padding: 0 3.5rem 1.6rem .2rem; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }
@media (prefers-reduced-motion: no-preference) { .js .faq-item[open] .faq-answer { animation: faq-in .5s var(--ease-out); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ============ 16. Service area & map ============ */
.area-layout { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .area-layout { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.chips { list-style: none; margin: 2rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .55rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .98rem; transition: transform .35s var(--ease-out), border-color .2s; }
.section--band .chips li { background: var(--bg); }
.chips li:hover { transform: translateY(-3px); border-color: var(--accent); }
.area-address { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); }
.area-address .icon { color: var(--accent-ink); margin-top: .25rem; }
.map-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--band); border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--band); }
.map-grid { position: absolute; inset: 0; opacity: .7; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px), linear-gradient(35deg, transparent 48%, var(--field-border) 48.5%, var(--field-border) 50%, transparent 50.5%); background-size: 36px 36px, 36px 36px, 100% 100%; }
.map-pin { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-lg); }
.map-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.map-caption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .8rem 1rem; border-radius: 14px; background: var(--bg); box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .95rem; color: var(--muted); }
.map-caption strong { color: var(--text); }

/* ============ 17. CTA band ============ */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--cta-bg); color: var(--cta-text); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.aurora { position: absolute; inset: -30%; z-index: -1; pointer-events: none; }
.aurora::before, .aurora::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; }
.aurora::before { left: 5%; top: 5%; background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 62%); transform-origin: 70% 60%; }
.aurora::after { right: 0; bottom: 0; background: radial-gradient(circle, rgb(0 0 0 / .18), transparent 62%); transform-origin: 30% 40%; }
.cta-inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.cta-band .display-2 { margin: 0; color: var(--cta-text); }
.cta-band .hl { color: inherit; background: linear-gradient(currentColor, currentColor) 0 95% / 100% .07em no-repeat; }
.cta-band p { font-size: 1.15rem; margin-bottom: 1.6rem; }
.cta-band :focus-visible { outline-color: var(--cta-text); }

/* ============ 18. Services detail page ============ */
.svc-detail { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); scroll-margin-top: var(--header-h); }
.svc-detail-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .svc-detail-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } .svc-detail.is-flipped .svc-detail-media { order: 2; } }
.svc-detail-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.svc-detail-top .svc-num { display: block; font: 700 .95rem/1 var(--font-body); color: var(--muted); letter-spacing: .08em; }
.svc-detail h2 { margin-bottom: .5em; }
.svc-benefit { font: 600 clamp(1.15rem, 1rem + .5vw, 1.35rem)/1.45 var(--font-heading); color: var(--text); }
.svc-detail-copy > p:not(.svc-benefit) { color: var(--muted); }
.signs h3 { font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 1.8rem 0 1rem; }
.check-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 640px) { .check-list { grid-template-columns: 1fr 1fr; gap: .8rem 1.6rem; } }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.check-list .icon { flex: none; width: 1.3rem; height: 1.3rem; padding: .2rem; border-radius: 50%; background: var(--icon-bg); color: var(--accent-ink); stroke-width: 3; margin-top: .1rem; }

/* ============ 19. About ============ */
.story-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .story-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.story-copy .btn-group { margin-top: 2rem; }
.sample-story { padding: 1.2rem 1.4rem; border-radius: 14px; background: var(--band); border-left: 4px solid var(--accent); color: var(--muted); }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .values-list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.values-list li { padding-top: 1.5rem; border-top: 2px solid var(--text); }
.value-num { display: block; font: var(--big-weight) 3.4rem/1 var(--font-big); color: var(--hl); margin-bottom: 1rem; }
.values-list h3 { font-size: 1.45rem; }
.values-list p { color: var(--muted); margin: 0; }

/* ============ 20. Contact & form ============ */
.contact-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.55fr 1fr; gap: 3rem; } }
.form-card { padding: clamp(1.6rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .98rem; }
.req { color: var(--accent-ink); }
.hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.vehicle-grid { display: grid; gap: .8rem; }
@media (min-width: 480px) { .vehicle-grid { grid-template-columns: .8fr 1fr 1fr; } }
.vehicle-grid label { font-weight: 500; font-size: .88rem; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 52px; padding: .8rem .95rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--field-border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--icon-bg), 0 0 0 1px var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.form-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }
.form-actions .form-note { margin: 0; }
.form-status:empty { display: none; }
.form-status { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 12px; background: var(--icon-bg); color: var(--text); font-weight: 600; }
.contact-aside { display: grid; gap: 1.2rem; }
.info-card { padding: 1.7rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.info-card h3 { font-size: 1.2rem; }
.nap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.nap-list li { display: flex; gap: .8rem; align-items: flex-start; }
.nap-list .icon { color: var(--accent-ink); margin-top: .25rem; }
.nap-list a { font-weight: 600; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .6rem 0; border-bottom: 1px solid var(--border); text-align: left; font-size: 1rem; }
.hours-table th { font-weight: 600; padding-right: 1rem; }
.hours-table td { color: var(--muted); text-align: right; }
.hours-table tr:last-child > * { border-bottom: 0; }

/* ============ 21. 404 ============ */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.nf-code { font: var(--big-weight) clamp(6rem, 4rem + 10vw, 13rem)/.9 var(--font-big); letter-spacing: -.04em; color: var(--hl); margin: 0 0 1rem; }
.notfound .section-lead { margin-inline: auto; }
.notfound .btn-group { justify-content: center; margin-top: 2rem; }

/* ============ 22. Footer ============ */
.site-footer { position: relative; overflow: hidden; background: var(--footer-bg); color: var(--footer-text); padding-top: clamp(4rem, 3rem + 3vw, 6rem); }
.site-footer .logo { color: var(--footer-text); }
.site-footer .logo-sub { color: var(--footer-muted); }
.site-footer a:not(.btn) { color: var(--footer-text); }
.site-footer a:not(.btn):hover { color: var(--footer-accent); }
.site-footer .u-link { text-decoration-color: var(--footer-accent); }
.site-footer :focus-visible { outline-color: var(--footer-accent); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 3rem; } }
.footer-brand p { color: var(--footer-muted); margin: 1.2rem 0 1.6rem; max-width: 22rem; }
.footer-grid h2 { font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; margin: 0; }
.footer-hours dt { font-weight: 600; }
.footer-hours dd { margin: 0; color: var(--footer-muted); }
.footer-word { overflow: hidden; margin-top: 3rem; line-height: .8; user-select: none; pointer-events: none; }
.footer-word span { display: block; text-align: center; white-space: nowrap; font: var(--big-weight) clamp(4rem, 1rem + 17vw, 17rem)/.85 var(--font-big); letter-spacing: -.04em; text-transform: var(--big-case); color: transparent; }
.footer-word span::before { content: attr(data-word); color: rgb(255 255 255 / .07); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.6rem; border-top: 1px solid rgb(255 255 255 / .12); color: var(--footer-muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.demo-note { display: inline-block; margin-left: .4rem; padding: .12rem .6rem; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; }

/* ============ 23. Mobile call bar ============ */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.25fr 1fr; gap: .6rem; padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom)); background: rgb(var(--bg-rgb) / .98); border-top: 1px solid var(--border); }
.mobile-cta .btn { min-height: 50px; padding-inline: .8rem; }
body { padding-bottom: 78px; }
@media (min-width: 1024px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* ============ 24. Scroll progress ============ */
.scroll-progress { display: none; position: fixed; inset: 0 0 auto; height: 3px; z-index: 150; background: var(--accent); transform-origin: left; pointer-events: none; }

/* ============ 25. Motion (JS-gated; off under reduced motion) ============ */
/* failsafe: if main.js never runs, reveal everything after 2.5s */
@keyframes failsafe { to { opacity: 1; transform: none; clip-path: none; } }
.js:not(.motion-ready) :is([data-reveal], [data-hero], [data-split], [data-hero-clip], .split-w__i) { animation: failsafe 0s linear 2.5s forwards; }

.js:not(.reduce-motion) [data-hero] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease-soft) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.js:not(.reduce-motion).is-loaded [data-hero] { opacity: 1; transform: none; }
.js:not(.reduce-motion) .hero-media img { transform: scale(1.14); transition: transform 2.6s var(--ease-out); }
.js:not(.reduce-motion).is-loaded .hero-media img { transform: scale(1.02); }
.js:not(.reduce-motion) [data-hero-clip] { clip-path: inset(8% 8% 8% 8% round var(--radius)); transition: clip-path 1.4s var(--ease-out) .25s; }
.js:not(.reduce-motion) [data-hero-clip] img { transform: scale(1.15); transition: transform 2s var(--ease-out) .25s; }
.js:not(.reduce-motion).is-loaded [data-hero-clip] { clip-path: inset(0 0 0 0 round var(--radius)); }
.js:not(.reduce-motion).is-loaded [data-hero-clip] img { transform: none; }
.js:not(.reduce-motion).is-loaded .hero .btn-sheen::after { animation: sheen 1.1s var(--ease-out) 1.4s 1; }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* split words */
.split-w { display: inline-block; overflow: hidden; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; padding-inline: .02em; margin-inline: -.02em; }
.split-w__i { display: inline-block; }
.js:not(.reduce-motion) [data-split]:not(.is-split) { opacity: 0; }
.js:not(.reduce-motion) [data-split] .split-w__i { transform: translate3d(0, 108%, 0); transition: transform .9s var(--ease-out); transition-delay: calc(var(--split-delay, 0ms) + var(--w) * 55ms); }
.js:not(.reduce-motion) [data-split="hero"] { --split-delay: 160ms; }
.js:not(.reduce-motion).is-loaded [data-split="hero"] .split-w__i, .js:not(.reduce-motion) [data-split].is-in .split-w__i { transform: none; }

/* scroll reveals */
.js:not(.reduce-motion) [data-reveal] { opacity: 0; transform: translate3d(0, var(--reveal-y), 0); transition: opacity .9s var(--ease-soft), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js:not(.reduce-motion) [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 10% 12% 10% round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
.js:not(.reduce-motion) [data-reveal="clip"] img { transform: scale(1.18); transition: transform 2s var(--ease-out); }
.js:not(.reduce-motion) [data-reveal].is-in { opacity: 1; transform: none; }
.js:not(.reduce-motion) [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js:not(.reduce-motion) [data-reveal="clip"].is-in img { transform: none; }
.js:not(.reduce-motion) .extra:not(.is-in) .extra-line { transform: scaleX(0); }
.js:not(.reduce-motion) .step:not(.is-in) .odo-strip { transform: translate3d(0, 0, 0); }
.js:not(.reduce-motion) .footer-word span { transform: translate3d(0, 40%, 0); }

/* hover tilt (JS writes --rx/--ry on fine pointers) */
[data-tilt].is-tilting { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) !important; transition: transform .15s linear !important; }
[data-tilt].is-tilt-leaving { transition: transform .7s var(--ease-out) !important; }

/* ambient loops */
@media (prefers-reduced-motion: no-preference) {
  /* Goretii WebKit hardening: the oversized rotating aurora layers only animate on desktop widths. */
  @media (min-width: 1120px) {
    .js:not(.reduce-motion) .aurora::before { animation: spin 38s linear infinite; }
    .js:not(.reduce-motion) .aurora::after { animation: spin 52s linear infinite reverse; }
  }
  .is-offscreen .aurora::before, .is-offscreen .aurora::after { animation-play-state: paused; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* scroll-linked (CSS scroll-driven animations; desktop only) */
@keyframes parallax { from { transform: translate3d(0, -7%, 0); } to { transform: translate3d(0, 7%, 0); } }
@keyframes hero-drift { to { transform: translate3d(0, 10%, 0) scale(1.04); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .js:not(.reduce-motion) [data-parallax] { animation: parallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .js:not(.reduce-motion) [data-parallax-hero] { animation: hero-drift linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
    .js:not(.reduce-motion) .scroll-progress { display: block; animation: grow-x linear both; animation-timeline: scroll(root block); }
  }
}

/* reduced motion: everything visible and still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; transition: none !important; }

@media print { .site-header, .mobile-cta, .marquee, .scroll-progress { display: none !important; } body { padding: 0; } }

/* ============ 24. Goretii Designs sample wrapper ============ */
/* WebKit hardening: backdrop-filter only on desktop widths (mobile Safari stability), same as the other samples. */
@media (min-width: 1120px) {
  .site-header { background: rgb(var(--bg-rgb) / .88); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
  .photo-band-card { background: rgb(var(--bg-rgb) / .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
/* Keep the template's footer pill as designed (samples/_shared/sample-base.css also styles .demo-note). */
.site-footer .demo-note { margin-top: 0; font-size: inherit; line-height: inherit; }
/* Fixed Goretii ribbon (samples/_shared/sample-base.css): the footer clears it, like the other samples' .ftr. */
.site-footer { padding-bottom: 88px; }
/* Below 1024px the template's fixed call bar owns the bottom edge, so the ribbon sits just above it. */
@media (max-width: 1023.98px) {
  .gd-ribbon { bottom: calc(1.3rem + 51px + env(safe-area-inset-bottom, 0px)); padding-bottom: 8px; }
}
@media (min-width: 720px) and (max-width: 1023.98px) {
  .gd-ribbon { bottom: calc(1.3rem + 51px + 12px + env(safe-area-inset-bottom, 0px)); padding-bottom: 9px; }
}
