/* =========================================================
   Lifetime Auto Protection — site styles
   ========================================================= */

:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --surface: #141418;
  --surface-2: #1b1b20;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f4f4f5;
  --muted: #a8a8b3;
  --dim: #8e8e99;
  --accent: #d41b27;          /* racing red, pulled from the studio floor; white text on it passes AA */
  --accent-dark: #b3141e;     /* hover/pressed fill, keeps white text above 4.5:1 */
  --accent-hi: #ff2f3d;       /* decorative red: icons, bars, rules */
  --accent-text: #ff5a64;     /* red that passes contrast as small text on dark */
  --accent-tint: rgba(212, 27, 39, 0.14);
  --ok: #3ddc84;
  --field-border: rgba(255, 255, 255, 0.4);

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.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: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff; color: #000;
  font-weight: 600;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
}
h2 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 em, h1 em { font-style: inherit; color: var(--accent-hi); }
h3 { font-size: 1.65rem; line-height: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 8px;
  background: conic-gradient(currentColor 25%, transparent 0 50%, currentColor 0 75%, transparent 0) 0 0 / 8px 8px;
  transform: skewX(-18deg);
}
.eyebrow-light { color: #fff; }
.eyebrow-light::before { color: var(--accent-hi); }

.section-lede {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.075rem;
}
.section-lede a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.section-lede a:hover { color: var(--accent-text); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 44px;
  padding: 0.8em 1.45em;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s var(--ease), color 0.2s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 6px;
  transform: skewX(-12deg);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon[aria-hidden] { transform: translateX(2px); }

.btn-primary::before {
  background: var(--accent);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.85);
}
.btn-primary:hover::before { background: var(--accent-dark); }

.btn-ghost::before {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.btn-ghost:hover::before { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); }

.btn-sm { min-height: 40px; padding: 0.6em 1.1em; font-size: 0.98rem; }
.btn-lg { min-height: 54px; padding: 0.95em 1.8em; font-size: 1.18rem; }
.btn-block { width: 100%; }
.btn[disabled],
.btn[aria-disabled="true"] { cursor: progress; opacity: 0.75; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: transform 0.35s var(--ease);
}
/* blur lives on a pseudo-element so the fixed mobile menu isn't trapped inside the header */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 9, 11, 0.82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-scrolled::before,
.menu-open .site-header::before { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: inline-flex; flex: none; border-radius: 4px; }
.brand img { width: 172px; height: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.nav-list > li > a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-list > li > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav-list > li > a:not(.btn):hover,
.nav-list > li > a.is-current { color: #fff; }
.nav-list > li > a.is-current::after,
.nav-list > li > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-call .icon { width: 1em; height: 1em; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  margin-left: -10px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle-bars { top: 50%; margin-top: -1px; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle-bars::before { transform: translateY(-6px); }
.menu-toggle-bars::after { transform: translateY(6px); }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: rotate(45deg); }
.menu-open .menu-toggle-bars::after { transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .header-call-text { display: none; }
  .header-call { padding-inline: 0.8em; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  /* the menu starts below the header bar, so scrolled or focused items never slide under the logo */
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 16px max(var(--gutter), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(225, 29, 42, 0.16), transparent 60%),
      var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
    overflow-y: auto;
  }
  .menu-open .nav-list {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s;
  }
  .nav-list > li > a:not(.btn) {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 2.6rem);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
  .nav-list > li > a:not(.btn)::after { display: none; }
  .nav-list > li > a.is-current { color: var(--accent-hi); }
  /* centre the menu when there's room; on short screens the auto margins collapse and it scrolls from the top */
  .nav-list > li:first-child { margin-top: auto; }
  .nav-mobile-actions {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: auto;
  }
  .is-resizing .nav-list { transition: none !important; }
  .nav-mobile-actions .btn { min-height: 54px; font-size: 1.15rem; }
  .menu-open { overflow: hidden; }
}

/* short phones and landscape: smaller menu items so less scrolling is needed */
@media (max-width: 960px) and (max-height: 600px) {
  .nav-list > li > a:not(.btn) { padding-block: 8px; font-size: 1.7rem; line-height: 1.2; }
  .nav-mobile-actions { margin-top: 18px; }
}

@media (max-width: 560px) {
  .header-quote { display: none; }
  .brand img { width: 128px; }
}

/* ---------- opening screen ---------- */
/* the logo on black for a moment, then it dissolves into the page. It runs on CSS alone, so it
   never waits for JavaScript (which only lets a tap or key press skip it, and tidies it away after) */
:root { --intro-delay: 1.5s; } /* the hero's own entrance starts as the black screen lifts */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  background: #000;
  animation: introOut 0.75s ease 1.45s forwards;
}
.intro-logo {
  width: clamp(210px, 58vw, 400px);
  height: auto;
  animation: introLogoIn 0.7s var(--ease) both, introLogoOut 0.7s ease-in 1.3s forwards;
}
.intro-line {
  width: clamp(120px, 30vw, 200px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  transform: scaleX(0) skewX(-20deg);
  transform-origin: left;
  animation: introLine 0.9s var(--ease) 0.35s forwards, introFade 0.5s ease 1.3s forwards;
}
/* a tap or key press lifts it straight away */
.intro-skip { --intro-delay: 0s; }
.intro-skip .intro { animation: introSkip 0.3s ease forwards; }
/* arriving on a #section link (or reloading mid-page) goes straight to the page */
.intro-seen { --intro-delay: 0s; }
.intro-seen .intro { display: none; }

@keyframes introLogoIn {
  from { opacity: 0; transform: scale(0.94); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
/* "dissipates": the logo swells and blurs away like smoke while the black fades out */
@keyframes introLogoOut {
  from { opacity: 1; transform: none; filter: none; }
  to { opacity: 0; transform: scale(1.16); filter: blur(16px); }
}
@keyframes introLine { to { transform: scaleX(1) skewX(-20deg); } }
@keyframes introFade { to { opacity: 0; } }
/* once the fade starts, taps go through to the page showing underneath */
@keyframes introOut {
  from { pointer-events: none; }
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes introSkip { to { opacity: 0; visibility: hidden; } }

/* ---------- hero ---------- */
/* 1% of the small viewport height, falling back to vh in browsers without svh (iOS before 15.4) */
:root { --svh: 1vh; }
@supports (height: 1svh) { :root { --svh: 1svh; } }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 48px) clamp(72px, 12vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; background: #0b0b0e; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
/* photos hold still (no zoom drift); slides simply crossfade */

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* only enough shade to keep the text readable, so the car stays the star */
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0) 16%),
    linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 11, 0.45) 18%, rgba(9, 9, 11, 0) 40%),
    linear-gradient(90deg, rgba(9, 9, 11, 0.72) 0%, rgba(9, 9, 11, 0.3) 34%, rgba(9, 9, 11, 0) 55%);
}

.hero-content { position: relative; }
.hero-title {
  font-size: clamp(2.9rem, min(7vw, 10vh), 5.75rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.hero-lede {
  max-width: 34rem;
  margin-top: 22px;
  color: #e4e4e8;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 32px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  color: #d4d4da;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent-hi); width: 1em; height: 1em; }

/* hero entrance runs on CSS alone, so the headline and buttons never wait for JavaScript */
.hero-anim { animation: heroIn 0.9s var(--ease) var(--intro-delay) both; }
.hero-lede.hero-anim { animation-delay: calc(var(--intro-delay) + 0.08s); }
.hero-ctas.hero-anim { animation-delay: calc(var(--intro-delay) + 0.16s); }
.hero-points.hero-anim { animation-delay: calc(var(--intro-delay) + 0.24s); }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* short laptop screens: keep the whole hero, controls included, above the fold */
@media (min-width: 761px) and (max-height: 820px) {
  .hero { padding-block: calc(var(--header-h) + 28px) 76px; }
  .hero-lede { margin-top: 16px; }
  .hero-ctas { margin-top: 24px; }
  .hero-points { margin-top: 22px; }
  .scroll-cue { display: none; }
}

.hero-dots {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: clamp(28px, 5vh, 44px);
  display: flex;
  gap: 2px;
}
/* slim photo buttons (still 44px tall to tap) so seven of them fit on a phone */
.hero-dots button {
  width: 30px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.hero-dots .hero-pause { width: 44px; }
.hero-dots button::before {
  content: "";
  position: absolute;
  left: 4px; right: 4px; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: rgba(255, 255, 255, 0.55);
  transform: skewX(-20deg);
  transition: background-color 0.3s;
}
.hero-dots button.is-active::before { background: var(--accent-hi); }
.hero-dots .hero-pause { display: grid; place-items: center; color: rgba(255, 255, 255, 0.75); }
.hero-dots .hero-pause::before { display: none; }
.hero-dots .hero-pause:hover { color: #fff; }
.hero-pause .icon { width: 16px; height: 16px; }
.hero-pause .icon-play,
.hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  /* two nudges (under 5s) and then it rests */
  animation: cue 1.8s ease-in-out calc(var(--intro-delay) + 0.8s) 2 both; /* after the opening screen */
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 760px) {
  .hero { padding-bottom: 64px; }
  .hero-slide img { object-position: 50% 40%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0) 20%),
      linear-gradient(0deg, var(--bg) 4%, rgba(9, 9, 11, 0.82) 42%, rgba(9, 9, 11, 0.1) 75%);
  }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { gap: 8px 18px; font-size: 0.85rem; }
  .scroll-cue { display: none; }
  .hero-dots { bottom: 10px; }
}

/* short phones (e.g. 320x640): tighten so the buttons and slideshow controls fit on the first screen */
@media (max-width: 760px) and (max-height: 700px) {
  .hero-title { font-size: 2.75rem; }
  .hero-lede { margin-top: 12px; }
  .hero-ctas { margin-top: 20px; gap: 10px; }
  .hero-points { margin-top: 16px; }
}

/* phones and tablets held upright: the photo sits on top so the whole car shows, with the text underneath */
@media (max-width: 1023px) and (orientation: portrait) {
  .hero {
    --hero-photo-h: min(112vw, calc(58 * var(--svh)));
    display: block;
    min-height: 0;
    padding: 0 0 44px;
  }
  .hero-media { position: relative; z-index: 0; height: var(--hero-photo-h); overflow: hidden; }
  .hero-slide img { object-position: var(--pos, 50% 58%); }
  .hero-shade {
    inset: 0 0 auto 0;
    z-index: 0;
    height: var(--hero-photo-h);
    /* soft fade under the header, and a long smooth fade into the page at the bottom */
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0) 22%),
      linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 11, 0.92) 6%, rgba(9, 9, 11, 0.6) 18%, rgba(9, 9, 11, 0.2) 32%, rgba(9, 9, 11, 0) 44%);
  }
  .hero-content { z-index: 1; margin-top: 18px; } /* clear gap so the tall italic headline never touches the photo */
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.2rem); }
  .hero-lede { margin-top: 14px; }
  .hero-ctas { margin-top: 22px; }
  .hero-dots { top: calc(var(--hero-photo-h) - 54px); bottom: auto; z-index: 2; }
  .scroll-cue { display: none; } /* the text already flows below the photo; on tablets it sat on the checklist */
}

/* short phones held upright (e.g. iPhone SE with the browser bars showing): a little less photo
   so the quote button still makes the first screen */
@media (max-width: 760px) and (max-height: 700px) and (orientation: portrait) {
  .hero { --hero-photo-h: min(112vw, calc(50 * var(--svh))); }
  .hero-content { margin-top: 12px; }
  .hero-title { font-size: 2.4rem; }
  .hero-lede { margin-top: 10px; }
  .hero-ctas { margin-top: 16px; }
}

/* landscape phones (any width): headline + buttons above the fold, checklist dropped,
   slideshow buttons tucked below the hero buttons instead of over them */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-block: calc(var(--header-h) + 12px) 60px; }
  .hero-title { font-size: 2.5rem; }
  .hero-lede { margin-top: 10px; font-size: 0.95rem; }
  .hero-ctas { margin-top: 16px; }
  .hero-ctas .btn { flex: 0 1 auto; }
  .hero-points { display: none; }
  .hero-dots { bottom: 6px; }
}
/* sideways phones with the browser bars showing are very short: the intro line goes too */
@media (max-height: 400px) and (orientation: landscape) {
  .hero-lede { display: none; }
}

/* laptops, desktops and landscape tablets: text on the left, the car on the right with nothing over it
   (landscape phones are too short for this and keep the full-screen photo) */
@media (min-width: 761px) and (min-height: 521px) and (orientation: landscape) {
  .hero {
    --hero-pad-top: calc(var(--header-h) + 28px);
    --hero-pad-bottom: 56px;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    align-items: center;
    column-gap: clamp(20px, 3vw, 48px);
    padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
  }
  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    grid-column: 2;
    grid-row: 1;
    height: calc(100 * var(--svh) - var(--hero-pad-top) - var(--hero-pad-bottom));
    min-height: 420px;
    overflow: hidden;
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); /* slanted edge, like the italic logo */
  }
  .hero-slide img { object-position: var(--pos, 50% 58%); }
  .hero-shade { display: none; }
  .hero-content {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
    padding-right: 0;
  }
  .hero-title { font-size: clamp(2.8rem, min(5.6vw, 10vh), 5.6rem); text-shadow: none; }
  .hero-lede,
  .hero-points { text-shadow: none; }
  .hero-dots { right: max(var(--gutter), env(safe-area-inset-right)); bottom: calc(var(--hero-pad-bottom) + 10px); }
  .scroll-cue { bottom: 12px; }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-block: 18px;
  /* --tx is set from the scroll position in main.js; the strip never moves on its own */
  transform: translate3d(calc(var(--tx, 0) * 1px), 0, 0);
  will-change: transform;
}
.ticker span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4d4d8;
  white-space: nowrap;
}
.ticker i {
  width: 16px; height: 16px;
  flex: none;
  background: conic-gradient(var(--accent) 25%, transparent 0 50%, var(--accent) 0 75%, transparent 0) 0 0 / 8px 8px;
  transform: skewX(-15deg);
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 136px);
}
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: none;
}

.checker-strip {
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background: conic-gradient(#fff 25%, #000 0 50%, #fff 0 75%, #000 0) 0 0 / 10px 10px;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

/* ---------- services ---------- */
/* four services: one column on phones, an even 2x2 grid from tablets up */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.services-more { margin-top: 28px; text-align: center; }
.services-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.services-more .icon { color: var(--accent-hi); transition: transform 0.25s var(--ease); }
.services-more a:hover { color: var(--accent-text); }
.services-more a:hover .icon { transform: translateX(4px); }
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 20, 24, 0.9), rgba(20, 20, 24, 0) 45%);
}
.service-num {
  position: absolute;
  left: 18px; bottom: 10px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}
.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 22px;
}
.service-body > p { color: var(--muted); font-size: 0.97rem; }

.service-more { border-top: 1px solid var(--line); }
.service-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-top: 4px;
  color: #e4e4e7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.service-more summary::-webkit-details-marker { display: none; }
.service-more summary .icon { color: var(--accent-hi); transition: transform 0.3s var(--ease); }
.service-more[open] summary .icon { transform: rotate(45deg); }
.service-more ul {
  display: grid;
  gap: 8px;
  padding: 4px 0 6px;
  color: #cfcfd6;
  font-size: 0.93rem;
  animation: dropIn 0.35s var(--ease);
}
.service-more li { position: relative; padding-left: 20px; }
.service-more li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.6em;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: skewX(-15deg);
}
.service-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
}
.service-quote .icon { color: var(--accent-hi); transition: transform 0.25s var(--ease); }
.service-quote:hover { color: var(--accent-text); }
.service-quote:hover .icon { transform: translateX(4px); }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- films: the MiracleCoat lineup, each shown on one of our cars ---------- */
/* computers: the gloss film gets a large feature card; tablets: two per row; phones: photo above the text */
.films {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(320px, 31vw, 410px);
  gap: 18px;
}
.film-coat { grid-column: span 2; }
.film {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.film > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
/* shade under the text so it reads over any photo */
/* framing: lift each car clear of the text block at the bottom of the card */
.film-coat > img { object-position: 50% 55%; }
.film-m > img { object-position: 50% 85%; }
.film-phantom > img { object-position: 50% 96%; }
.film-colorshield > img { object-position: 50% 96%; }
.film-vision > img { object-position: 50% 80%; }
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.7) 26%, rgba(9, 9, 11, 0) 58%);
}
.film-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(18px, 2.2vw, 28px);
}
.film-finish {
  padding: 5px 12px;
  background: rgba(9, 9, 11, 0.6);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #e4e4e8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.film-name { font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 0.95; }
.film-coat .film-name { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
.film-name a { color: #fff; text-decoration: none; }
/* the whole card opens the film's page */
.film-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.film-text { max-width: 40ch; color: #d4d4da; font-size: 0.95rem; }
.film-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.film-view .icon { width: 0.9em; height: 0.9em; color: var(--accent-hi); }
.film:hover { border-color: var(--line-2); }
.film:hover > img { transform: scale(1.05); }
.film:hover .film-view { color: var(--accent-text); }
.film:has(.film-name a:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

.films-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}
.films-foot p { max-width: 64ch; }

@media (max-width: 1023px) {
  .films { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(300px, 46vw, 380px); }
  .film-coat { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .films { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .film-coat { grid-column: auto; }
  .film { justify-content: flex-start; background: var(--surface); }
  .film > img { position: relative; z-index: 0; height: auto; aspect-ratio: 16 / 11; object-position: 50% 56%; }
  .film::after { display: none; }
  .film-body { padding: 16px 18px 20px; }
  .film-finish { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface-2); }
}

/* ---------- PPF packages ---------- */
/* each card's car diagram lights up the panels its package covers (the #car-top symbol in index.html reads these) */
.pkg-car {
  --z-off: rgba(255, 255, 255, 0.07);
  --z-on: var(--accent-hi);
  --z-line: rgba(255, 255, 255, 0.22);
  --z-outline: rgba(255, 255, 255, 0.55);
  --z-glass: #050507;
  --z-tire: #000;
  --z-light-off: rgba(255, 255, 255, 0.42);
  --z-light-line: rgba(255, 255, 255, 0.55);
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}
.pkg[data-pkg="front"] .pkg-car,
.pkg[data-pkg="track"] .pkg-car,
.pkg[data-pkg="full"] .pkg-car {
  --z-fbumper: var(--z-on); --z-hood1: var(--z-on); --z-fender1: var(--z-on);
  --z-mirrors: var(--z-on); --z-lights: #ff9aa1;
}
.pkg[data-pkg="front"] .pkg-car,
.pkg[data-pkg="track"] .pkg-car,
.pkg[data-pkg="full"] .pkg-car { --z-hood2: var(--z-on); --z-fender2: var(--z-on); }
.pkg[data-pkg="track"] .pkg-car,
.pkg[data-pkg="full"] .pkg-car { --z-rockers: var(--z-on); --z-rearwheel: var(--z-on); }
.pkg[data-pkg="full"] .pkg-car {
  --z-doors: var(--z-on); --z-roof: var(--z-on); --z-apillars: var(--z-on); --z-bpillars: var(--z-on);
  --z-rfenders: var(--z-on); --z-trunk: var(--z-on); --z-rbumper: var(--z-on);
}

.pkg-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.pkg-swatch { width: 14px; height: 14px; border-radius: 3px; background: var(--accent-hi); }

.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pkg {
  position: relative; /* keeps the screen-reader text in its quote link inside the card (and the phone swipe row) */
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.pkg:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pkg-fig {
  padding: 22px 18px 16px;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(255, 255, 255, 0.06), transparent 70%), #0f0f12;
  border-bottom: 1px solid var(--line);
}
.pkg-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 22px;
}
.pkg-body h3 { font-size: 1.65rem; }
.pkg-tag { color: var(--muted); font-size: 0.95rem; }
/* side-by-side cards: room for the longest tagline so every coverage list starts level */
@media (min-width: 761px) {
  .pkg-tag { min-height: calc(3 * 1.6em); }
}
@media (min-width: 1024px) {
  .pkg-tag { min-height: calc(2 * 1.6em); }
}
.pkg-list {
  display: grid;
  gap: 7px;
  padding: 4px 0 8px;
  color: #dcdce2;
  font-size: 0.95rem;
}
.pkg-list li { position: relative; padding-left: 20px; }
.pkg-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.6em;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: skewX(-15deg);
}
.pkg-swipe { display: none; }

/* phones: swipe sideways through the three cards, with the next one peeking in */
@media (max-width: 760px) {
  .packages {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .packages::-webkit-scrollbar { display: none; }
  .pkg { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .pkg:hover { transform: none; }
  .pkg-swipe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .pkg-swipe .icon { color: var(--accent-hi); }
}

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.chip.is-active { background: #fff; border-color: #fff; color: #0b0b0d; }

#gallery .container { container-type: inline-size; }
/* 6 fine columns: a normal tile spans 2 (three per row), a wide tile spans 4, and main.js can
   re-flow a short last row into halves (span 3) so no photo sits alone or leaves a blank cell */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 380px;
  grid-auto-rows: calc((100cqi - 24px) / 3 * 1.22);
  gap: 12px;
}
.g-item { min-width: 0; grid-column: span 2; }
.g-item.is-hidden { display: none; }
.g-item.is-entering { animation: galleryIn 0.5s var(--ease) both; }
/* wide tiles stay wide when they pack with no holes; main.js adds .is-filtered when they wouldn't */
.g-wide { grid-column: span 4; }
.gallery.is-filtered .g-wide { grid-column: span 2; }
@keyframes galleryIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}

.g-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: #111;
  overflow: hidden;
  cursor: zoom-in;
}
.g-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
}
.g-btn:hover img { transform: scale(1.05); }
.g-btn:focus-visible { outline-offset: 3px; }
.gallery-empty { margin-top: 24px; color: var(--muted); }

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
    grid-auto-rows: calc((100cqi - 10px) / 2 * 1.3);
    gap: 10px;
  }
  .g-item,
  .g-wide,
  .gallery.is-filtered .g-wide { grid-column: span 1; }
}

/* ---------- standard ---------- */
.standard { overflow: hidden; }
.hex-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='2'%3E%3Cpath d='M60 2 118 36v68L60 138 2 104V36z'/%3E%3Cpath d='M0 138 58 172v68M120 138 62 172'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 208px;
  -webkit-mask-image: radial-gradient(70% 90% at 85% 10%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 85% 10%, #000, transparent 70%);
}
.standard .container { position: relative; }
.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.standard-item {
  padding: 30px 26px;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.standard-icon { width: 44px; height: 44px; color: var(--accent-hi); margin-bottom: 22px; }
.standard-item h3 { font-size: 1.6rem; }
.standard-item p { margin-top: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .standard-grid { grid-template-columns: 1fr; }
}

/* ---------- process ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.process::before,
.process::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
}
.process::before { background: var(--line-2); }
.process::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  transition: transform 0.15s linear;
}
.process-step { position: relative; padding-top: 30px; }
.process-step::before {
  content: "";
  position: absolute;
  left: 0; top: -5px;
  width: 12px; height: 12px;
  background: var(--bg);
  border: 2px solid var(--accent-hi);
  transform: skewX(-15deg);
}
.process-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}
.process-step h3 { font-size: 1.6rem; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: 0.97rem; }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 34px; padding-left: 30px; }
  .process::before,
  .process::after { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .process::after { transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
  .process-step { padding-top: 0; }
  .process-step::before { left: -30px; top: 6px; }
  .process-num { font-size: 2.6rem; margin-bottom: 8px; }
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary .icon {
  width: 32px; height: 32px;
  padding: 7px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #fff;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-body { padding: 0 48px 22px 0; color: var(--muted); }
.faq details[open] .faq-body { animation: dropIn 0.35s var(--ease); }

@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
  .faq-body { padding-right: 0; }
}

/* ---------- contact ---------- */
.contact {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(225, 29, 42, 0.12), transparent 70%),
    var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-actions { display: grid; gap: 12px; margin-top: 32px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease);
}
.contact-card:hover { border-color: var(--accent); background: var(--surface-2); transform: translateX(4px); }
.contact-card .icon {
  width: 44px; height: 44px;
  padding: 11px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-hi);
}
.contact-card span { display: grid; min-width: 0; }
.contact-card small {
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-card strong {
  font-size: 1.08rem;
  font-weight: 600;
  overflow-wrap: break-word;
}
.contact-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-meta dt {
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-meta dd { margin-top: 4px; font-weight: 500; }

/* ---------- opening hours list ---------- */
.hours {
  display: grid;
  max-width: 380px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.hours-row:last-child { border-bottom: 0; }
.hours-day { color: #e4e4e7; font-weight: 600; }
.hours-time { white-space: nowrap; }
.hours-row.is-closed .hours-time { color: var(--dim); }
.hours-row.is-today { color: #fff; }
.hours-row.is-today .hours-day { color: #fff; }
.hours-row.is-today .hours-day::after {
  content: "Today";
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.hours-status::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--dim);
}
.hours-status.is-open { color: var(--ok); }
.hours-status.is-open::before { background: var(--ok); }

.form-card {
  position: relative;
  padding: clamp(22px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 1);
}
.inquiry { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
/* direct children only, so the service / contact chips (also <label>s) keep their own styling */
.field > label,
.field > legend {
  padding: 0;
  color: #d4d4d8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field > legend { margin-bottom: 10px; }
.field > label > span,
.form-hint > span { color: var(--accent-text); }
.form-hint { color: var(--muted); font-size: 0.92rem; }
.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #8a8a94; }
.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.6); }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-hi);
  outline-offset: 1px;
  border-color: var(--accent-hi);
}
.field input[aria-invalid="true"] { border-color: var(--accent-hi); }
.field-error { min-height: 0; color: var(--accent-text); font-size: 0.85rem; }
.field-error:empty { display: none; }
.field-error-wide { margin-top: -8px; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; cursor: pointer; }
.check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.check span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: #d4d4d8;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.check:hover span { border-color: rgba(255, 255, 255, 0.4); }
.check input:checked + span {
  background: var(--accent-tint);
  border-color: var(--accent-hi);
  color: #fff;
}
.check input:checked + span::before {
  content: "";
  width: 6px; height: 10px;
  margin: -3px 9px 0 -2px;
  border: solid var(--accent-hi);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.4em; color: var(--muted); font-size: 0.92rem; text-align: center; }
.form-status.is-error { color: var(--accent-text); }
.form-status a { color: #fff; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 40px 8px;
  text-align: center;
  animation: dropIn 0.5s var(--ease);
}
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success-icon {
  width: 64px; height: 64px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.12);
  color: var(--ok);
}
.form-success h3 { font-size: 2.2rem; }
.form-success p { max-width: 36ch; color: var(--muted); }
.form-success a { color: #fff; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  padding-top: 64px;
  background: #060607;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { width: 220px; }
.footer-brand p { max-width: 34ch; margin-top: 18px; }
.footer-brand .nowrap { white-space: nowrap; } /* keeps "with lasting results." together instead of a lone last word */
.footer-title {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.25rem;
}
.footer-nav ul,
.footer-contact ul { display: grid; gap: 4px; }
.footer-nav a,
.footer-contact a {
  display: inline-block;
  max-width: 100%;
  padding: 6px 0;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: color 0.2s;
}
.footer-contact li:not(:has(a)) { padding: 6px 0; }
.footer-nav a:hover,
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
}
.to-top:hover { color: #fff; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* phones held sideways get the bottom action bar too */
@media (max-height: 520px) and (orientation: landscape) {
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* small phones: one column so the email address has the full width; Explore links run across */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
}

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px), (max-height: 520px) and (orientation: landscape) {
  .action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(9, 9, 11, 0.9);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(110%);
    visibility: hidden; /* out of the tab order while it's slid away */
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .action-bar.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.35s var(--ease), visibility 0s;
  }
  /* keep focused/scrolled-to elements clear of the bar */
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .action-bar .icon { width: 1em; height: 1em; color: var(--accent-hi); }
  .action-bar .action-bar-primary { background: var(--accent); border-color: var(--accent); }
  .menu-open .action-bar { transform: translateY(110%); visibility: hidden; }
}

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 6, 8, 0.97);
  color: var(--text);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lightbox[open] { animation: lbIn 0.3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 64px 84px;
  touch-action: pan-y;
}
.lightbox-figure {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-figure img {
  max-width: min(100%, 1400px);
  max-height: calc(100dvh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.25s;
}
.lightbox-figure img.is-loading { opacity: 0.35; }
.lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  color: #d4d4d8;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox-count { color: var(--dim); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.lb-prev { left: max(16px, env(safe-area-inset-left)); top: 50%; margin-top: -26px; }
.lb-next { right: max(16px, env(safe-area-inset-right)); top: 50%; margin-top: -26px; }

@media (max-width: 760px) {
  .lightbox-inner { padding: 64px 12px 96px; }
  .lightbox-figure img { max-height: calc(100dvh - 200px); }
  .lb-prev,
  .lb-next { top: auto; bottom: calc(20px + env(safe-area-inset-bottom)); margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* landscape phones: give the photo the height, put the arrows back at the sides */
@media (max-width: 760px) and (max-height: 500px) {
  .lightbox-inner { padding: 12px 76px; }
  .lightbox-figure img { max-height: calc(100dvh - 56px); }
  .lb-prev,
  .lb-next { top: 50%; bottom: auto; margin-top: -26px; }
  .lb-prev { left: max(12px, env(safe-area-inset-left)); }
  .lb-next { right: max(12px, env(safe-area-inset-right)); }
}

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

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { transform: none; }
  /* no opening screen, and the hero doesn't wait for one */
  .intro { display: none; }
  :root { --intro-delay: 0s; }
}

/* ---------- inquiry form: PPF follow-up questions ---------- */
.ppf-details {
  display: grid;
  gap: 18px;
  padding: 16px 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  animation: dropIn 0.35s var(--ease);
}

/* ---------- benefits (dropdowns) ---------- */
.benefits { display: grid; gap: 12px; }
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.benefit[open] { border-color: var(--line-2); }
.benefit summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 18px;
  min-height: 64px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.benefit summary::-webkit-details-marker { display: none; }
.benefit-num {
  width: 2.2ch;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}
.benefit-heading { display: grid; gap: 4px; }
.benefit-heading strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s;
}
.benefit-heading span { color: var(--muted); font-size: 0.95rem; }
.benefit summary:hover .benefit-heading strong { color: var(--accent-text); }
.benefit summary > .icon {
  width: 36px; height: 36px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.benefit[open] summary > .icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.benefit-body { padding: 2px 22px 24px; animation: dropIn 0.35s var(--ease); }
.benefit-intro { max-width: 72ch; color: #d4d4da; }
.benefit-points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-top: 18px;
}
/* desktop: even rows, 3 + 3 for six points and 2 + 2 for four */
@media (min-width: 900px) {
  .benefit-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-points:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.benefit-points li {
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.benefit-points strong { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.benefit-points strong::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  background: var(--accent-hi);
  transform: skewX(-15deg);
}
.benefit-points li > span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.94rem; }
.benefit-note { margin-top: 16px; max-width: 72ch; color: #d4d4da; }
.benefit-note a { color: #fff; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.benefit-note a:hover { color: var(--accent-text); }
.benefit .service-quote { margin-top: 14px; }

@media (max-width: 480px) {
  .benefit summary { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
  .benefit-num { display: none; }
  .benefit-body { padding: 2px 16px 20px; }
}
