/* ==========================================================================
   Crystal Car Clinic: design system + styles
   Direction: dark, editorial luxury. Monochrome photography with a cool
   "inspection light" grade; ice-white as the single detail accent; the
   violet/blue crystal gradient is reserved for primary actions and the one
   hero word. Facet (diamond) geometry is the recurring brand motif.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, from Google Fonts; SIL Open Font License) ---------- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-normal-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/manrope-normal-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Size-matched fallbacks: text drawn before the web fonts arrive takes up the
   same width, so the swap doesn't shift the layout (ratios measured in-browser). */
@font-face { font-family: "Instrument Serif Fallback"; font-style: normal; src: local("Times New Roman"), local("TimesNewRomanPSMT"); size-adjust: 82.1%; }
@font-face { font-family: "Instrument Serif Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"); size-adjust: 87.6%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 101.6%; }

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #07070B;
  --bg-2: #0B0B11;
  --surface: #111118;
  --surface-2: #17171F;
  --line: rgba(220, 228, 255, 0.09);
  --line-strong: rgba(220, 228, 255, 0.18);

  /* Text (all >= 4.5:1 on --bg and --surface) */
  --text: #F2F1F6;
  --text-2: #B7B7C6;
  --text-3: #8E8DA2;

  /* Accent: one detail colour (ice) + one reserved gradient (primary actions only) */
  --ice: #D4E9FF;
  --ice-soft: rgba(212, 233, 255, 0.07);
  --ice-line: rgba(212, 233, 255, 0.32);
  --on-accent: #0A0816;
  --grad: linear-gradient(115deg, #CBBFFF 0%, #8F7DFF 40%, #62B4FF 78%, #D4E9FF 100%);
  --danger: #FF8A9B;
  --success: #8FE3C0;

  /* Photography grade: every photo shares one cool monochrome treatment */
  --grade: grayscale(1) sepia(.42) hue-rotate(192deg) saturate(1.45) contrast(1.08) brightness(.9);

  /* Type */
  --font-display: "Instrument Serif", "Instrument Serif Fallback", "Times New Roman", serif;
  --font-body: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-h2-md: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h2-xl: clamp(3rem, 1.6rem + 5.6vw, 7rem);
  --fs-h1: clamp(3rem, min(1.6rem + 5.2vw, 11.5vh), 6.75rem);

  /* Space (8pt rhythm) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  /* One rhythm for the whole page: the visible gap between the content of any
     two sections is --section-gap (~80px phones → 128px large desktops).
     Each section contributes half of it, top and bottom. */
  --section-gap: clamp(5rem, 4rem + 3.5vw, 8rem);
  --section-y: calc(var(--section-gap) / 2);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1240px;

  /* Shape & depth */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-2: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 60px -24px rgba(0,0,0,.8);

  /* Motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 700ms;

  /* Layers */
  --z-raised: 10; --z-sticky: 40; --z-header: 100; --z-menu: 200; --z-modal: 1000;

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* ---------- Reset ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100dvh;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
/* Zero specificity, so any list's own padding (e.g. .feature-list) always wins */
:where(ul[class], ol[class], nav ul) { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(143, 125, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: calc(var(--z-modal) + 1);
  padding: .75rem 1.25rem; border-radius: var(--r-pill);
  background: var(--text); color: var(--bg); font-weight: 600;
  transform: translateY(-160%); transition: transform var(--t-med) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.graded { filter: var(--grade); }

/* ---------- Icons ---------- */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Editorial type system ---------- */
/* Kicker: facet diamond + section number + label */
.kicker {
  display: flex; align-items: center; gap: .7rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-2);
}
.kicker::before {
  content: ""; flex: none; width: 7px; height: 7px;
  border: 1px solid var(--ice); transform: rotate(45deg);
}
.kicker span { color: var(--ice); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
/* The facet catches the light once as its section arrives */
.kicker.is-glint::before { animation: facetGlint 1100ms var(--ease-out) 1; }
@keyframes facetGlint {
  0% { transform: rotate(45deg); background: transparent; box-shadow: 0 0 0 rgba(212,233,255,0); }
  35% { transform: rotate(135deg) scale(1.45); background: var(--ice); box-shadow: 0 0 14px rgba(212,233,255,.9); }
  100% { transform: rotate(225deg); background: transparent; box-shadow: 0 0 0 rgba(212,233,255,0); }
}
.section-head--center .kicker, .reviews-inner .kicker { justify-content: center; }

.section-title { font-family: var(--font-display); font-size: var(--fs-h2); letter-spacing: -0.012em; margin-top: var(--s-4); }
.section-title--md { font-size: var(--fs-h2-md); }
.section-title--xl { font-size: var(--fs-h2-xl); line-height: .96; letter-spacing: -0.02em; }
.section-title em, .statement em, .footer-cta em { font-style: italic; }
.section-lede { color: var(--text-2); font-size: var(--fs-md); max-width: 54ch; margin-top: var(--s-5); }
.section-lede a { color: var(--text); text-decoration: underline; text-decoration-color: var(--ice-line); text-underline-offset: 3px; }
.section-head { margin-bottom: var(--s-8); }
.fine-print { color: var(--text-3); font-size: var(--fs-sm); margin-top: var(--s-5); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--btn-h); padding: 0 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: .01em; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-med), border-color var(--t-med), color var(--t-med);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { --btn-h: 42px; padding: 0 1.1rem; }
.btn-lg { --btn-h: 56px; padding: 0 1.8rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }

/* The only place the crystal gradient lives (plus the hero's one word) */
.btn-primary {
  color: var(--on-accent);
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), background-position var(--t-slow) var(--ease-out);
}
.btn-primary::after { /* glint on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 900ms var(--ease-out);
}
.btn-primary:hover { background-position: 100% 50%; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn[data-magnetic] {
  transition-property: transform, translate, background-position;
  transition-duration: var(--t-fast), 450ms, var(--t-slow);
  transition-timing-function: var(--ease-out);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ice-line); background: var(--ice-soft); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text);
  background: rgba(255,255,255,.02);
  transition: background-color var(--t-med), border-color var(--t-med), transform var(--t-fast) var(--ease-out), opacity var(--t-med);
}
.icon-btn:hover { border-color: var(--ice-line); background: var(--ice-soft); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  padding-top: env(safe-area-inset-top);
  transition: transform var(--t-slow) var(--ease-out), background-color var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 11, .78);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
/* Low-poly crystal drop: six solid facets lit from the top left. The viewBox
   is cropped to the ink, so the box edges are the drop's visible tip and
   base. Aligned from measured metrics: the wordmark ink runs from the "C"
   cap top to the "CAR CLINIC" baseline (36.6px); the drop is 37.6px, so its
   pointed tip and base each overshoot slightly (optical overshoot), centred
   by the flex row. The gap is ~0.3x the mark height. */
.brand-mark {
  --mark-h: 37.6px;
  height: var(--mark-h); width: calc(var(--mark-h) * 27.6 / 43.1); flex: none; overflow: visible;
}
.poly-base polygon { stroke-width: .35; stroke-linejoin: round; } /* same-colour hairline closes seams between facets */
/* Logo glint: a wave of light passes down the facets (tip to base) while a
   highlight runs around the outline. Plays on load, mouse hover, keyboard focus. */
.poly-shine polygon { fill: #fff; opacity: 0; }
.poly-edge path {
  fill: none; stroke: #fff; stroke-width: 1.1; stroke-linejoin: round;
  stroke-dasharray: .18 1.3; stroke-dashoffset: .18; opacity: 0;
  filter: drop-shadow(0 0 1.2px rgba(212,233,255,.95));
}
.brand.is-glinting .poly-shine polygon { animation: planeFlash 620ms var(--ease-in-out) calc(var(--i) * 90ms + 120ms) 1 both; }
.brand.is-glinting .poly-edge path { animation: facetRun 1100ms var(--ease-in-out) 1 both; }
@keyframes planeFlash { 0% { opacity: 0; } 35% { opacity: .5; } 100% { opacity: 0; } }
@keyframes facetRun {
  0% { stroke-dashoffset: .24; opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { stroke-dashoffset: -1.1; opacity: 0; }
}
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .01em; }
.brand-sub { font-size: .625rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--text-2); margin-top: 3px; }

.nav { display: none; position: relative; }
.nav ul { display: flex; gap: .25rem; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-2);
  transition: color var(--t-med);
}
.nav a:hover, .nav a:focus-visible, .nav a.is-active { color: var(--text); }
/* One underline that slides between links (active section, or the hovered link) */
.nav-indicator {
  position: absolute; left: 0; bottom: 8px; width: 100px; height: 1px;
  background: var(--ice); transform-origin: left center; pointer-events: none;
  transform: translateX(0) scaleX(0); opacity: 0;
  transition: transform 520ms var(--ease-out), opacity var(--t-med);
}

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-phone { display: none; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); min-height: 44px; transition: color var(--t-med); }
.header-phone:hover { color: var(--text); }
.header-cta { display: none; }

.nav-toggle {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
  display: grid; place-items: center;
}
.nav-toggle span {
  position: absolute; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out);
}
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (min-width: 600px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--ice); transform-origin: left; transform: scaleX(0); opacity: .7; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  background: rgba(7,7,11,.98);
  opacity: 0; transition: opacity var(--t-med) var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(2rem, 8.5vw, 2.75rem); line-height: 1.15;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), color var(--t-med);
  transition-delay: calc(50ms * var(--i, 0));
}
.mobile-menu nav a span { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .14em; color: var(--ice); font-variant-numeric: tabular-nums; }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu-foot { display: grid; gap: var(--s-3); margin-top: var(--s-7); }
body.is-locked { overflow: hidden; }
.site-header.menu-active { z-index: calc(var(--z-menu) + 1); transform: none !important; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.menu-active .scroll-progress { opacity: 0; }

/* ---------- Hero ---------- */
/* Content is anchored under the header with one consistent, gently scaling gap
   (~32px phones → 48px desktops). The hero sizes to its content, and its bottom
   padding is half the standard section gap, so the space below it matches
   every other section boundary. */
.hero {
  --hero-gap: clamp(2rem, 1.25rem + 1.8vw, 3rem);
  position: relative; isolation: isolate;
  display: flex; align-items: flex-start;
  padding-block: calc(76px + env(safe-area-inset-top) + var(--hero-gap)) var(--section-y);
  overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
/* The whole photo is shown (not cropped to fill), sized so the full car reads at a glance
   and pushed to the right, away from the text. The car fills ~69% of the frame's width;
   a soft elliptical mask dissolves the frame's edges into the page. */
.hero-media picture {
  --car-w: min(74vw, 1200px);
  position: absolute; top: 50%;
  /* on very wide screens, stay with the content instead of drifting to the far edge */
  right: calc((100vw - min(100vw, 1680px)) / 2 - var(--car-w) * 0.1);
  width: var(--car-w); aspect-ratio: 1920 / 1094; transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.js .hero-media img { transform: scale(1.05); transition: transform 2600ms var(--ease-out); }
.js .hero.is-loaded .hero-media img { transform: none; }

.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,7,11,.55) 0%, rgba(7,7,11,0) 26%),
    linear-gradient(90deg, rgba(7,7,11,.86) 0%, rgba(7,7,11,.35) 55%, rgba(7,7,11,.05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,7,11,.55) 26%, rgba(7,7,11,0) 58%);
}
@media (max-width: 767px) {
  /* Phones: a smaller car tucked into the open space right of "Showroom / clarity," */
  .hero-media { inset: 0; }
  .hero-media picture { --car-w: min(94vw, 440px); right: -10vw; top: calc(76px + env(safe-area-inset-top) + var(--hero-gap) + 7vw); transform: none; }
  .hero-media img { filter: var(--grade) brightness(1.45); }
  .hero-shade { background: linear-gradient(180deg, rgba(7,7,11,.55) 0%, rgba(7,7,11,.15) 22%, rgba(7,7,11,.7) 46%, rgba(7,7,11,.92) 64%, var(--bg) 100%); }
  .hero-lede { color: #CFCEDB; }
}

.hero-eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.hero-eyebrow-dot { color: var(--ice); margin-inline: .6em; }
.hero-eyebrow-place { color: var(--ice); }
@media (max-width: 599px) {
  .hero-eyebrow-dot { display: none; }
  .hero-eyebrow-place { display: block; margin-top: .3rem; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: .98; letter-spacing: -0.02em;
  margin-top: var(--s-5);
  max-width: 12.5ch;
}
.hero-title em { font-style: italic; }
/* ---------- Glint words ----------
   A highlight band (white core, faint violet / ice fringes) sits over each
   word's base colour. --gx is where the band is across the word; --gi is its
   strength. Desktop: JS eases both toward the cursor when it comes near.
   Touch: the band sweeps once. "clarity," also sweeps once on load. */
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: -40%; }
@property --gi { syntax: '<number>'; inherits: false; initial-value: 0; }
.glint-word {
  --gx: -40%;
  --gi: 0;
  --glint-base: linear-gradient(var(--text), var(--text));
  background-image:
    linear-gradient(100deg,
      rgba(255,255,255,0) calc(var(--gx) - 24%),
      rgba(160,140,255,calc(var(--gi) * .75)) calc(var(--gx) - 9%),
      rgba(255,255,255,var(--gi)) var(--gx),
      rgba(120,190,255,calc(var(--gi) * .75)) calc(var(--gx) + 9%),
      rgba(255,255,255,0) calc(var(--gx) + 24%)),
    var(--glint-base);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-right: .08em; /* italic overhang */
}
/* Hero word: the crystal gradient */
.shine { --glint-base: linear-gradient(100deg, #CBBFFF 0%, #8F7DFF 42%, #62B4FF 78%, #BFD9FF 100%); }
/* Section words: a quiet silver, so a white highlight can read on it */
.glint-silver { --glint-base: linear-gradient(100deg, #ECEBF3 0%, #B4B3C9 50%, #E6E5EF 100%); }
@keyframes wordGlint {
  0% { --gx: -30%; --gi: 0; }
  15% { --gi: 1; }
  85% { --gi: 1; }
  100% { --gx: 130%; --gi: 0; }
}
.js .hero.is-loaded .shine { animation: wordGlint 1800ms var(--ease-in-out) 1500ms 1 backwards; }
.glint-word.is-sweep { animation: wordGlint 1600ms var(--ease-in-out) 1 backwards; }

.hero-lede { max-width: 50ch; margin-top: var(--s-5); font-size: var(--fs-md); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: clamp(1.5rem, 4vh, 3rem);
  font-size: var(--fs-sm); color: var(--text-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-trust .icon { color: var(--ice); width: 18px; height: 18px; }
.hero-trust strong { color: var(--text); }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

/* ---------- Intro + stats ---------- */
/* Phones: one even 32px rhythm (title → copy → stats); the kicker sits 16px
   above the title like every other section. Desktop: text | stats, centred. */
.intro-grid { display: grid; gap: var(--s-6); }
.intro-text { min-width: 0; }
.statement {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.75rem);
  line-height: 1.08; letter-spacing: -0.01em;
  max-width: 20ch; margin-top: var(--s-4);
}
.intro-copy { color: var(--text-2); font-size: var(--fs-md); max-width: 54ch; margin-top: var(--s-6); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: var(--s-5) var(--s-4) var(--s-5) 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: var(--s-5); }
.stat dt { font-size: var(--fs-sm); color: var(--text-3); }
.stat dd { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-9); align-items: center; } }

/* ---------- 01 Packages ---------- */
.size-switch {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(100%, 540px); margin: 0 0 var(--s-6); padding: 4px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
}
.size-switch label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 44px; cursor: pointer; }
.size-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-switch span { font-size: clamp(.75rem, .7rem + .3vw, .875rem); font-weight: 600; color: var(--text-2); transition: color var(--t-med); text-align: center; padding-inline: .25rem; line-height: 1.2; }
.size-switch input:checked + span { color: var(--text); }
.size-switch input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 6px; border-radius: 999px; }
/* Liquid pill: sits above the labels and inverts whatever text it covers
   (difference blend), so labels flip colour exactly where the pill passes. */
.size-pill {
  position: absolute; z-index: 2; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 4);
  border-radius: var(--r-pill); background: var(--text);
  mix-blend-mode: difference; pointer-events: none;
  transform: translateX(calc(100% * var(--idx, 1)));
  transform-origin: center;
}

.price-grid { display: grid; gap: var(--s-4); }
@media (min-width: 960px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
/* Phones & tablets: swipeable cards instead of a 2,000px stack */
@media (max-width: 959px) {
  .price-grid {
    grid-auto-flow: column; grid-auto-columns: min(84%, 380px);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding: 4px var(--gutter) var(--s-3);
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-card { scroll-snap-align: center; }
}
.price-card {
  --mx: 50%; --my: 0%;
  position: relative; border-radius: var(--r-xl);
  padding: 1px; /* hairline border that catches the pointer's light */
  background: var(--line-strong);
  transition: transform var(--t-slow) var(--ease-out);
}
.price-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(212,233,255,.55), transparent 45%);
  opacity: 0; transition: opacity var(--t-med);
}
@media (hover: hover) {
  .price-card:hover::before { opacity: 1; }
  .price-card:hover { transform: translateY(-4px); }
}
.price-card.is-featured { background: var(--ice-line); }
.price-card-inner {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: var(--s-6);
  border-radius: calc(var(--r-xl) - 1px);
  background: var(--surface);
}
.price-card.is-featured .price-card-inner { background: linear-gradient(180deg, rgba(212,233,255,.05), transparent 40%), var(--surface); }
/* Tier label and badge share one row; every card reserves the same row height
   so titles stay aligned across all three cards. */
.price-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 28px; }
.badge {
  flex: none; display: inline-flex; align-items: center; height: 26px;
  padding: 0 .7rem; border-radius: var(--r-pill);
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  color: var(--ice); border: 1px solid var(--ice-line); background: var(--ice-soft);
}
.price-tier { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); font-weight: 600; line-height: 1.2; }
.price-name { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); margin-top: var(--s-4); }
.price-desc { color: var(--text-2); margin-top: var(--s-3); font-size: var(--fs-sm); min-height: calc(3em * 1.65); } /* room for 3 lines, so prices line up across cards */
.price { display: flex; align-items: baseline; gap: .2rem; margin-top: var(--s-5); }
.price-from { font-size: var(--fs-sm); color: var(--text-3); margin-right: .35rem; }
.price-cur { font-family: var(--font-display); font-size: 2rem; color: var(--text-2); }
.price-num {
  display: inline-block; font-family: var(--font-display); font-size: clamp(3.5rem, 3rem + 2vw, 4.5rem); line-height: 1;
  font-variant-numeric: tabular-nums; min-width: 3ch;
}
/* Odometer: each digit is a vertical 0–9 strip that rolls to its value */
.odo { display: inline-flex; align-items: flex-start; }
.odo-col { display: inline-block; height: 1.1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform 900ms cubic-bezier(.2, .9, .25, 1); }
.odo-strip > span, .odo-sym { display: block; height: 1.1em; line-height: 1.1em; text-align: center; }
.odo-sym { display: inline-block; }
.price-meta { display: inline-flex; align-items: center; gap: .45rem; margin-top: var(--s-2); color: var(--text-3); font-size: var(--fs-sm); }
.price-meta .icon { width: 16px; height: 16px; }
.feature-list { display: grid; gap: .7rem; margin: var(--s-5) 0 var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); flex: 1; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-2); }
.feature-list .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--ice); stroke-width: 2; }

.price-dots { display: flex; justify-content: center; gap: 4px; margin-top: var(--s-2); }
.price-dots button { position: relative; width: 44px; height: 44px; }
.price-dots button::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; translate: -50% -50%;
  border-radius: var(--r-pill); background: var(--line-strong);
  transition: width var(--t-med) var(--ease-out), background-color var(--t-med);
}
.price-dots button[aria-current="true"]::before { width: 24px; background: var(--ice); }
@media (min-width: 960px) { .price-dots { display: none; } }

.services-note {
  display: flex; align-items: center; gap: .7rem;
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line);
  color: var(--text-2); font-size: var(--fs-sm);
}
.services-note .icon { color: var(--ice); }
.services-note strong { color: var(--text); }

/* ---------- 02 Ceramic: full-bleed showpiece ---------- */
.ceramic { position: relative; padding-top: var(--section-y); }
.compare {
  --pos: 50%;
  position: relative; overflow: hidden;
  height: min(92vh, 980px); min-height: 560px;
  border-block: 1px solid var(--line);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize;
}
@media (max-width: 767px) { .compare { height: 86svh; min-height: 540px; } }
.compare-layer, .compare-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The photos only display; every press goes to the slider itself, never to a native image drag */
.compare-layer, .compare-before { pointer-events: none; }
.compare img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ceramic-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  padding-top: clamp(4.5rem, 12vh, 8rem);
  background:
    linear-gradient(180deg, rgba(7,7,11,.85) 0%, rgba(7,7,11,.35) 26%, rgba(7,7,11,0) 50%),
    linear-gradient(90deg, rgba(7,7,11,.7) 0%, rgba(7,7,11,.28) 32%, rgba(7,7,11,0) 50%),
    linear-gradient(0deg, rgba(7,7,11,.55) 0%, rgba(7,7,11,0) 22%);
}
@media (max-width: 767px) {
  .ceramic-overlay { background: linear-gradient(180deg, rgba(7,7,11,.94) 0%, rgba(7,7,11,.8) 38%, rgba(7,7,11,.2) 62%, rgba(7,7,11,.5) 100%); }
}
.ceramic-overlay .section-title { max-width: 11ch; }
.ceramic-lede { max-width: 44ch; margin-top: var(--s-5); color: var(--text-2); font-size: var(--fs-md); }
.compare-label {
  position: absolute; bottom: var(--s-5); z-index: 3;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-2);
}
.compare-label--before { left: var(--gutter); }
.compare-label--after { right: var(--gutter); color: var(--ice); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; translate: -.5px 0;
  background: linear-gradient(180deg, transparent, rgba(212,233,255,.9) 20%, rgba(212,233,255,.9) 80%, transparent);
  box-shadow: 0 0 16px rgba(212,233,255,.6);
  z-index: 3; pointer-events: none;
}
.compare-knob {
  position: absolute; top: 58%; left: 50%; translate: -50% -50%;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  width: 64px; height: 64px; color: var(--ice);
  transition: transform var(--t-med) var(--ease-spring);
}
.compare-knob::before { /* facet-shaped handle */
  content: ""; position: absolute; inset: 10px; transform: rotate(45deg); border-radius: 6px;
  background: rgba(7,7,11,.6); border: 1px solid rgba(212,233,255,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--t-med);
}
.compare-knob .icon { position: relative; width: 15px; height: 15px; stroke-width: 2.2; }
@media (max-width: 767px) { .compare-knob { top: 76%; } }
.compare:hover .compare-knob, .compare.is-dragging .compare-knob { transform: scale(1.08); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 1; -webkit-appearance: none; appearance: none; }
.compare:has(.compare-range:focus-visible) .compare-knob::before { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ice); }
.compare-caption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-3); }

.ceramic-detail { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--section-y); }
@media (min-width: 1024px) { .ceramic-detail { grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: start; } }
.perils { display: grid; gap: var(--s-5) var(--s-6); align-content: start; }
@media (min-width: 560px) { .perils { grid-template-columns: 1fr 1fr; } }
.perils li { display: flex; gap: var(--s-4); align-items: flex-start; }
.peril-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: var(--ice); position: relative; }
.peril-icon::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); border: 1px solid var(--line-strong); border-radius: 3px; }
.peril-icon .icon { position: relative; width: 18px; height: 18px; }
.perils h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; line-height: 1.3; }
.perils p { color: var(--text-2); font-size: var(--fs-sm); margin-top: .2rem; }

.tiers-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-3); }
.tiers { display: grid; border-top: 1px solid var(--line-strong); }
.tier {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
  transition: background-color var(--t-med);
}
.tier-name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }
.tier-name span { font-style: italic; color: var(--text-2); }
.tier.is-featured .tier-name span { color: var(--ice); }
.tier-sub { color: var(--text-3); font-size: var(--fs-sm); margin-top: .15rem; }
.tier-price { font-family: var(--font-display); font-size: 1.6rem; white-space: nowrap; }
.tier-price span { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--text-3); margin-right: .2rem; }
.tier-link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: background-color var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.tier-link::after { content: ""; position: absolute; inset: 0; } /* whole row clickable */
.tier:hover .tier-link { background: var(--text); color: var(--bg); border-color: transparent; transform: translateX(3px); }
@media (max-width: 479px) {
  .tier { grid-template-columns: 1fr auto; }
  .tier-price { grid-column: 1; grid-row: 2; font-size: 1.35rem; }
  .tier-link { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- 03 Process ---------- */
.process { border-top: 1px solid var(--line); }
.process-track { position: relative; }
.process-steps { display: grid; gap: var(--s-7); position: relative; }
.process-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--line-strong); }
.process-line span { position: absolute; inset: 0; background: var(--ice); transform-origin: top; transform: scaleY(0); }
.process-step { position: relative; padding-left: 76px; }
.process-marker { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; color: var(--text-2); }
.process-marker::before {
  content: ""; position: absolute; inset: 8px; transform: rotate(45deg); border-radius: 4px;
  background: var(--bg); border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 8px var(--bg);
  transition: background-color var(--t-slow) var(--ease-out), border-color var(--t-slow), box-shadow var(--t-slow);
}
.process-marker .icon { position: relative; width: 18px; height: 18px; transition: color var(--t-slow); }
.process-step.is-lit .process-marker { color: var(--bg); }
.process-step.is-lit .process-marker::before { background: var(--ice); border-color: var(--ice); box-shadow: 0 0 0 8px var(--bg), 0 0 28px rgba(212,233,255,.45); }
.process-num { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em; color: var(--text-3); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.process-step h3 { font-family: var(--font-display); font-size: var(--fs-h3); margin-top: .35rem; }
.process-step p { color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s-2); max-width: 36ch; }
@media (min-width: 960px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
  .process-line { left: 24px; right: 24px; top: 24px; bottom: auto; width: auto; height: 1px; }
  .process-line span { transform-origin: left; transform: scaleX(0); }
  .process-step { padding-left: 0; padding-top: 80px; }
  .process-num { position: absolute; top: 15px; left: 68px; padding: 0 .5rem; background: var(--bg); }
}

/* ---------- 04 Work (editorial grid) ---------- */
.gallery { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.g-item { position: relative; }
.g-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.g-b { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.g-c, .g-d { aspect-ratio: 3 / 4; }
@media (min-width: 640px) and (max-width: 1023px) { .g-b { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-template-rows: 400px 330px; gap: var(--s-4); }
  .g-item { aspect-ratio: auto; }
  .g-a { grid-column: 1 / 9; grid-row: 1; }
  .g-b { grid-column: 9 / 13; grid-row: 1 / 3; }
  .g-c { grid-column: 1 / 5; grid-row: 2; }
  .g-d { grid-column: 5 / 9; grid-row: 2; }
}
.g-btn { position: absolute; inset: 0; display: block; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; text-align: left; }
.g-frame { position: absolute; inset: 0; transition: transform 1400ms var(--ease-out); }
.g-frame img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; will-change: transform; }
.g-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7,7,11,.75));
  box-shadow: inset 0 0 0 1px var(--line);
}
.g-btn:hover .g-frame, .g-btn:focus-visible .g-frame { transform: scale(1.035); }
.g-cap {
  position: absolute; left: var(--s-5); bottom: var(--s-4); z-index: 1;
  display: flex; align-items: baseline; gap: .7rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text);
}
.g-fig { font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.g-zoom {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(7,7,11,.55); border: 1px solid var(--line-strong); color: var(--text);
  opacity: 0; transform: scale(.9);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
}
.g-zoom .icon { width: 16px; height: 16px; }
.g-btn:hover .g-zoom, .g-btn:focus-visible .g-zoom { opacity: 1; transform: none; }
@media (hover: none) { .g-zoom { opacity: .9; transform: none; } }
@media (max-width: 639px) { .g-c .g-cap, .g-d .g-cap { left: var(--s-3); flex-direction: column; gap: 0; } }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0;
  background: transparent; color: var(--text);
  display: grid; place-items: center; overflow: hidden;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox-bg { position: fixed; inset: 0; background: rgba(5,5,9,.95); opacity: 0; transition: opacity 420ms var(--ease-out); }
.lightbox.is-open .lightbox-bg { opacity: 1; }
.lightbox .icon-btn, .lightbox figcaption { opacity: 0; transition: opacity 360ms var(--ease-out), background-color var(--t-med), border-color var(--t-med); }
.lightbox.is-open .icon-btn, .lightbox.is-open figcaption { opacity: 1; }
/* Simple fade: the photo fades and settles in with the backdrop */
.lightbox-figure img { opacity: 0; transform: scale(.98); }
.lightbox.is-open .lightbox-figure img { opacity: 1; transform: none; }
.lightbox-figure { position: relative; z-index: 1; display: grid; gap: var(--s-3); justify-items: center; padding: 72px var(--gutter); max-width: 100%; max-height: 100%; }
.lightbox-figure img {
  max-width: min(1400px, 100%); max-height: calc(100dvh - 180px); width: auto; height: auto; object-fit: contain;
  border-radius: var(--r-md);
  transition: opacity var(--t-med), transform var(--t-slow) var(--ease-out);
}
.lightbox.is-open .lightbox-figure img.is-loading { opacity: 0; transform: scale(.97); }
.lightbox figcaption { color: var(--text-2); font-size: var(--fs-sm); text-align: center; max-width: 60ch; }
.lightbox .icon-btn { position: fixed; z-index: 3; background: rgba(17,17,24,.85); }
.lightbox-close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 767px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: calc(20px + env(safe-area-inset-bottom)); translate: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- 05 Reviews: one editorial pull quote at a time ---------- */
.reviews { border-block: 1px solid var(--line); background: var(--bg-2); }
.reviews-inner { max-width: 1040px; text-align: center; }
.testimonials { display: grid; gap: var(--s-8); margin-top: var(--s-6); }
.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.16; letter-spacing: -0.01em;
  text-wrap: balance;
}
.testimonial figcaption { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin-top: var(--s-6); font-size: var(--fs-sm); }
.testimonial figcaption span { color: var(--text-3); }
.testimonials.is-enhanced { grid-template-areas: "stack"; gap: 0; }
.testimonials.is-enhanced .testimonial {
  grid-area: stack; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s linear 600ms;
}
.testimonials.is-enhanced .testimonial.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.testimonials-nav { display: flex; align-items: center; justify-content: center; gap: var(--s-5); margin-top: var(--s-7); }
.testimonials-count { font-size: var(--fs-sm); color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .1em; min-width: 5ch; }
.testimonials-count span:first-child { color: var(--text); }
.reviews-rating { display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--text-2); }
.reviews-rating .icon { color: var(--ice); width: 16px; height: 16px; }
.reviews-rating strong { color: var(--text); }

/* ---------- 06 Service area ---------- */
.area-grid { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 1024px) { .area-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }

/* Service-area map: a real map (assets/img/service-area-map.svg) with HTML labels on top,
   so place names stay crisp and readable at every size. Positions are % of the map frame. */
.area-map { margin: 0; width: 100%; max-width: 460px; justify-self: center; }
.map-frame {
  position: relative; aspect-ratio: 600 / 981; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line); background: #08090F;
}
.map-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ocean-label {
  position: absolute; left: 9%; top: 58%; transform: translate(-50%, -50%) rotate(-90deg);
  font: italic 1rem var(--font-display); letter-spacing: .3em; color: rgba(212,233,255,.38); white-space: nowrap;
}
.map-places { margin: 0; padding: 0; list-style: none; }
.map-places li {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 6px; transform: translate(-2.5px, -50%);
  font: 500 .75rem/1 var(--font-body); color: var(--text-2); white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 8px rgba(0,0,0,.75);
}
.map-places li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 2px rgba(8,9,15,.6); }
.map-places li.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 2.5px), -50%); }
.map-places .map-base { gap: 8px; transform: translate(-5px, -50%); color: var(--text); }
.map-places .map-base::before {
  width: 10px; height: 10px; border-radius: 1px; transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(212,233,255,.18), 0 0 14px rgba(212,233,255,.7);
}
.map-base b { font-weight: 700; }
.map-base small { font-size: .5625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.area-map figcaption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.zones { display: grid; margin-top: var(--s-6); border-top: 1px solid var(--line-strong); }
.zone { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.zone h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; line-height: 1.3; }
.zone p { color: var(--text-2); font-size: var(--fs-sm); margin-top: .3rem; }
.zone-fee { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .15rem .55rem; border-radius: var(--r-pill); color: var(--ice); border: 1px solid var(--ice-line); }
.zone-dot { flex: none; width: 10px; height: 10px; margin-top: .45rem; transform: rotate(45deg); }
.zone-dot--1 { background: var(--ice); }
.zone-dot--2 { border: 1px solid var(--ice); background: rgba(212,233,255,.35); }
.zone-dot--3 { border: 1px solid var(--ice); }

/* ---------- 07 FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: var(--s-8); } /* same heading-to-content gap as every other section when stacked */
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: var(--s-9); align-items: start; }
  .faq-head { position: sticky; top: 120px; }
}
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-4) 0;
  font-size: var(--fs-md); font-weight: 600; cursor: pointer; list-style: none;
  transition: color var(--t-med);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--ice); }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: background-color var(--t-med), border-color var(--t-med), color var(--t-med); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform var(--t-med) var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon { background: var(--text); border-color: transparent; color: var(--bg); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 var(--s-8) var(--s-5) 0; color: var(--text-2); }
details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size var(--t-slow) var(--ease-out), content-visibility var(--t-slow) allow-discrete;
}
details[open]::details-content { block-size: auto; }

/* ---------- 08 Quote ---------- */
.quote { border-top: 1px solid var(--line); }
.quote-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: 1.65fr 1fr; gap: var(--s-6); } }

.quote-form {
  position: relative;
  padding: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  border-radius: var(--r-xl); border: 1px solid var(--line-strong);
  background: var(--surface);
  overflow: hidden;
}
.steps-nav { display: flex; justify-content: space-between; gap: var(--s-2); }
.steps-nav li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); transition: color var(--t-med); }
.steps-num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-size: .75rem; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-med), color var(--t-med), border-color var(--t-med);
}
.steps-nav li[aria-current="step"] { color: var(--text); }
.steps-nav li[aria-current="step"] .steps-num { background: var(--text); color: var(--bg); border-color: transparent; }
.steps-nav li.is-done .steps-num { border-color: var(--ice-line); color: var(--ice); }
.steps-label { display: none; }
@media (min-width: 640px) { .steps-label { display: inline; } }
.steps-bar { height: 1px; margin: var(--s-4) 0 var(--s-6); background: var(--line); overflow: hidden; }
.steps-bar span { display: block; height: 100%; background: var(--ice); transform-origin: left; transform: scaleX(.2); transition: transform var(--t-slow) var(--ease-out); }

.steps-viewport { position: relative; }
.step { border: 0; padding: 0; min-width: 0; }
.step.is-entering { animation: stepIn 520ms var(--ease-out) both; }
.step.is-entering.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.step-title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.15; padding: 0; margin-bottom: var(--s-5); outline: none; }
.step-hint { color: var(--text-3); font-size: var(--fs-sm); margin: calc(var(--s-4) * -1) 0 var(--s-4); }
.choice-group-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: var(--s-5) 0 var(--s-3); }
.choice-group-label:first-of-type { margin-top: 0; }

.choice-grid { display: grid; gap: var(--s-3); }
.choice-grid--4 { grid-template-columns: repeat(2, 1fr); }
.choice-grid--3 { grid-template-columns: 1fr; }
.choice-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice-grid--3 { grid-template-columns: repeat(3, 1fr); } .choice-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .choice-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.choice {
  position: relative; display: flex; flex-direction: column; gap: .15rem;
  padding: var(--s-4); min-height: 64px;
  border-radius: var(--r-md); border: 1px solid var(--line-strong); background: rgba(255,255,255,.015);
  cursor: pointer;
  transition: border-color var(--t-med), background-color var(--t-med), transform var(--t-fast) var(--ease-out), box-shadow var(--t-med);
  -webkit-tap-highlight-color: transparent;
}
.choice:hover { border-color: var(--ice-line); }
.choice:active { transform: scale(.98); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--ice); background: var(--ice-soft); box-shadow: 0 0 0 1px var(--ice); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 3px; }
.choice-title { font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.choice-sub { color: var(--text-3); font-size: var(--fs-xs); }
.choice-price { margin-top: auto; padding-top: .5rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--text); font-variant-numeric: tabular-nums; }
.choice--vehicle { align-items: center; text-align: center; padding-block: var(--s-5); }
.vehicle-icon { width: 72px; height: 32px; fill: none; stroke: var(--text-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .5rem; transition: stroke var(--t-med), transform var(--t-slow) var(--ease-spring); }
.choice--vehicle:has(input:checked) .vehicle-icon { stroke: var(--ice); transform: translateX(4px); }
.choice--addon { flex-direction: row; align-items: center; gap: var(--s-3); }
.choice--addon .choice-title { flex: 1; }
.choice--addon .choice-price { margin: 0; padding: 0; font-size: 1.2rem; }
.check-box {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--line-strong); color: var(--bg);
  transition: background-color var(--t-med), border-color var(--t-med);
}
.check-box .icon { width: 14px; height: 14px; stroke-width: 3; transform: scale(0); transition: transform var(--t-med) var(--ease-spring); }
.choice--addon:has(input:checked) .check-box { background: var(--ice); border-color: var(--ice); }
.choice--addon:has(input:checked) .check-box .icon { transform: scale(1); }

.field { display: grid; gap: .45rem; margin-top: var(--s-5); }
.field-row { display: grid; gap: 0 var(--s-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.optional { color: var(--text-3); font-weight: 500; }
.req { color: var(--ice); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  font-size: 1rem; /* >=16px: avoids iOS zoom */
  border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23B7B7C6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ice-line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(212,233,255,.18); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[type="date"] { color-scheme: dark; }
.field-hint { font-size: var(--fs-xs); color: var(--text-3); }
.field-hint.is-zone { color: var(--success); }
.field-error { display: flex; gap: .4rem; align-items: center; color: var(--danger); font-size: var(--fs-sm); font-weight: 500; margin-top: var(--s-3); }
.field .field-error { margin-top: 0; }
.field-error::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--danger); color: var(--bg); font-size: .7rem; font-weight: 800; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { margin-top: var(--s-5); padding: var(--s-4); border-radius: 12px; border: 1px solid rgba(255,138,155,.4); background: rgba(255,138,155,.08); color: var(--danger); font-size: var(--fs-sm); }
.form-nav { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; }
.form-nav-total { font-size: var(--fs-sm); color: var(--text-3); margin-left: auto; white-space: nowrap; }
.form-nav-total strong { color: var(--text); font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; margin-left: .2rem; }
.form-nav-total + .btn { margin-left: 0; }
@media (min-width: 1024px) { .form-nav-total { display: none; } .form-nav-total + .btn { margin-left: auto; } }
@media (max-width: 420px) { .form-nav .btn { padding: 0 1rem; } }
[data-submit] .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(10,8,22,.3); border-top-color: var(--on-accent); animation: spin .8s linear infinite; }
[data-submit].is-loading .spinner { display: inline-block; }
[data-submit].is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.quote-success { text-align: center; padding: var(--s-7) var(--s-4); outline: none; animation: stepIn 600ms var(--ease-out) both; }
.quote-success h3 { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); margin-top: var(--s-5); }
.quote-success p { color: var(--text-2); max-width: 46ch; margin: var(--s-3) auto 0; }
.success-summary { font-size: var(--fs-sm); color: var(--text-3) !important; }
.quote-success .btn { margin-top: var(--s-6); }
.success-icon {
  position: relative; display: inline-grid; place-items: center; width: 84px; height: 84px; color: var(--bg);
  animation: pop 700ms var(--ease-spring) both 120ms;
}
.success-icon::before { content: ""; position: absolute; inset: 12px; transform: rotate(45deg); border-radius: 10px; background: var(--ice); box-shadow: 0 0 40px rgba(212,233,255,.45); }
.success-icon .icon { position: relative; width: 30px; height: 30px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 600ms var(--ease-out) forwards 500ms; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.quote-form.is-complete .steps-nav, .quote-form.is-complete .steps-bar, .quote-form.is-complete .steps-viewport, .quote-form.is-complete .form-nav { display: none; }

.estimate { position: relative; }
@media (min-width: 1024px) { .estimate { position: sticky; top: 110px; } }
.estimate-inner {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-xl);
  border: 1px solid var(--ice-line);
  background: linear-gradient(180deg, rgba(212,233,255,.045), transparent 35%), var(--surface);
}
.estimate-title { font-family: var(--font-display); font-size: 1.9rem; margin-top: var(--s-3); }
.estimate-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.estimate-list div { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-sm); padding-bottom: var(--s-3); border-bottom: 1px dashed var(--line); }
.estimate-list dt { color: var(--text-3); }
.estimate-list dd { text-align: right; font-weight: 600; }
.estimate-list dd.is-flash { animation: flash 700ms var(--ease-out); }
@keyframes flash { from { color: var(--ice); text-shadow: 0 0 14px rgba(212,233,255,.7); } }
.estimate-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-top: var(--s-5); }
.estimate-total > span { font-size: var(--fs-sm); color: var(--text-2); }
.estimate-total output { font-family: var(--font-display); font-size: clamp(2.75rem, 2.3rem + 1.5vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.estimate-note { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--s-3); }
.estimate-assure { display: grid; gap: .6rem; margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.estimate-assure li { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); color: var(--text-2); }
.estimate-assure .icon { color: var(--ice); width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: var(--section-y) 0 calc(var(--s-6) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-cta { text-align: center; padding-bottom: var(--s-9); border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-family: var(--font-display); font-size: var(--fs-h2); max-width: 16ch; margin-inline: auto; }
.footer-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.footer-grid { display: grid; gap: var(--s-7); padding-block: var(--s-8); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* Contact gets the widest column so the email address stays on one line */
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.15fr 1.35fr .85fr 1.15fr; } }
.footer-brand p { color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s-4); max-width: 34ch; }
.footer-h { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-4); }
.footer-list { display: grid; gap: .25rem; }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; gap: .6rem; min-height: 36px; color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.footer-list a { transition: color var(--t-med); }
.footer-list a:hover { color: var(--text); }
.footer-list .icon { width: 16px; height: 16px; color: var(--ice); }
.footer-links { grid-template-columns: 1fr 1fr; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-xs); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-2);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgba(7,7,11,.88); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform var(--t-slow) var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Copy confirmation (desktop phone / email links) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: var(--z-modal);
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .7rem 1.15rem .7rem .85rem; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--ice-line); color: var(--text);
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  transform: translate(-50%, 18px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform 460ms var(--ease-spring), opacity 260ms var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0) scale(1); opacity: 1; }
.toast-icon { position: relative; display: grid; place-items: center; width: 22px; height: 22px; color: var(--bg); flex: none; }
.toast-icon::before { content: ""; position: absolute; inset: 3px; transform: rotate(45deg); border-radius: 3px; background: var(--ice); }
.toast-icon .icon { position: relative; width: 12px; height: 12px; stroke-width: 3; }
[data-copy] { cursor: copy; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero-media img { transform: none; }
  .glint-word { animation: none !important; --gi: 0 !important; }
  .g-frame img { top: 0; height: 100%; }
  .poly-shine, .poly-edge { display: none; }
}
