/* ============================================================
   autovault-growth — Warm-Organic Heritage Auto Garage
   Direction: Warm-Organic + Editorial
   Signature: Scroll-snap testimonials reel + curved clip-path dividers
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* === VIEW TRANSITIONS === */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .25s ease both; }
  ::view-transition-new(root) { animation: vt-in .35s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* === DESIGN TOKENS === */
:root {
  --primary:    #2a1810;
  --secondary:  #3d2416;
  --accent:     #0891b2;
  --background: #faf5ef;
  --surface:    #f2ece2;
  --text:       #1c1008;
  --muted:      #7a6655;
  --border:     #d9cfc3;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono:  'Courier New', Courier, monospace;
  --radius:     16px;
  --radius-sm:  8px;
  --radius-pill: 999px;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem,   0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw,  1.5rem);
  --step-2:  clamp(1.44rem,1.28rem + 0.8vw, 2rem);
  --step-3:  clamp(1.73rem,1.5rem + 1.2vw,  2.66rem);
  --step-4:  clamp(2.07rem,1.7rem + 1.9vw,  3.55rem);
  --step-5:  clamp(2.49rem,1.95rem + 2.7vw, 4.74rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Shadow scale */
  --shadow-sm:  0 1px 3px color-mix(in oklab, var(--primary) 10%, transparent);
  --shadow-md:  0 4px 16px color-mix(in oklab, var(--primary) 12%, transparent);
  --shadow-lg:  0 8px 32px color-mix(in oklab, var(--primary) 16%, transparent);
  --shadow-warm: 0 8px 40px color-mix(in oklab, var(--accent) 20%, transparent);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  text-wrap: balance;
  color: var(--primary);
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { text-wrap: pretty; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); }
input, select, textarea, button { font: inherit; }

/* === IMAGE FALLBACKS === */
img[src=""], img:not([src]) { display: none !important; }
img[src$="placeholder.jpg"] { display: none !important; }
.img-empty { min-height: 0 !important; overflow: hidden; }

/* === LIVEWIRE LOADING === */
[wire\:loading], [wire\:loading\.delay], [wire\:loading\.inline-block], [wire\:loading\.inline] { display: none; }

/* === DATA-LIST GRID FIX === */
[data-list] { display: contents; }

/* === SKIP LINK === */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* === SCROLL PROGRESS === */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--accent);
  z-index: 10000; transition: width .1s linear;
}

/* === CONTAINER === */
.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}
.container--narrow { width: min(800px, 100% - 2rem); margin-inline: auto; }

/* === SCROLL-DRIVEN REVEALS ===
   Resting state is fully visible at rule level; the hidden from-state
   lives ONLY inside @wb-reveal's keyframes, gated behind @supports +
   the no-preference media query so a non-supporting browser (or a
   same-origin preview iframe, where the timeline resolves to null)
   never strands content behind an opacity:0 rule with nothing left to
   reveal it. Only opacity animates on the `to` step — a bare
   `transform: none` there would permanently override any :hover lift
   or JS tilt applied to the same element afterwards. */
@keyframes wb-reveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; }
}
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: wb-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }

    /* Stagger by shifting animation-range, never animation-delay — a
       wall-clock delay on a scroll timeline finishes long before the
       element is on screen. Both ends stay inside `entry`; an end
       anchored to `cover` would leave the last section of the page
       permanently part-transparent once the visitor runs out of page
       to scroll before the range finishes. */
    .reveal-stagger > .reveal:nth-child(2) { animation-range: entry 6% entry 91%; }
    .reveal-stagger > .reveal:nth-child(3) { animation-range: entry 12% entry 97%; }
    .reveal-stagger > .reveal:nth-child(n+4) { animation-range: entry 18% entry 100%; }
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: all .25s ease;
  border: 2px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--accent:hover {
  background: color-mix(in oklab, var(--accent) 85%, #000);
  border-color: color-mix(in oklab, var(--accent) 85%, #000);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* === EYEBROW / BADGE === */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-warm {
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  color: var(--primary);
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
}
.price-badge {
  display: inline-block;
  background: color-mix(in oklab, var(--accent) 15%, var(--surface));
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
}

/* === SECTION RHYTHM & CURVED DIVIDERS === */
section { position: relative; }
.section--light   { background: var(--background); }
.section--surface { background: var(--surface); }
.section--tint    { background: color-mix(in oklab, var(--primary) 5%, var(--background)); }
.section--dark    {
  background: var(--primary);
  color: color-mix(in oklab, var(--background) 90%, transparent);
  color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--background);
}
.section--dark .eyebrow { color: var(--accent); }
.section--accent  { background: var(--accent); color: #fff; }

.section-pad { padding-block: var(--space-2xl); }
.section-pad--sm { padding-block: var(--space-xl); }

/* Curved clip-path dividers — Warm-Organic signature */
.curve-top {
  clip-path: ellipse(100% 55% at 50% 0%);
  padding-top: calc(var(--space-2xl) + 3rem);
}
.curve-bottom {
  clip-path: ellipse(100% 55% at 50% 100%);
  padding-bottom: calc(var(--space-2xl) + 3rem);
}
.curve-both {
  clip-path: ellipse(100% 55% at 50% 0%) intersect ellipse(100% 55% at 50% 100%);
  padding-block: calc(var(--space-2xl) + 3rem);
}

/* === SECTION HEADERS === */
.section__header { text-align: center; margin-bottom: var(--space-lg); }
.section__header .eyebrow { display: block; }
.section__header h2 { margin-top: .5rem; }
.section__header p { color: var(--muted); max-width: 540px; margin-inline: auto; margin-top: .75rem; }

/* ======================================================
   HEADER / NAV
   ====================================================== */
[data-section="header"] {
  position: sticky; top: 0; z-index: 900;
  background: var(--background, rgba(250,245,239,.97));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
[data-section="header"].scrolled {
  box-shadow: 0 2px 20px color-mix(in oklab, var(--primary) 10%, transparent);
}
[data-section="header"] .container { padding-block: .9rem; }
[data-section="header"] nav:not(.nav__mobile) {
  display: flex; align-items: center; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo img { height: 44px; width: auto; object-fit: contain; }
.logo-text {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--primary);
}
.nav__links {
  display: flex; align-items: center; gap: 1.75rem;
  margin-left: auto;
}
.nav__links a {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .02em;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav__cta {
  margin-left: .5rem;
  font-size: var(--step--1) !important;
  padding: .55rem 1.25rem !important;
  font-weight: 600 !important;
}
.nav__phone-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--accent);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.nav__phone-cta:hover {
  background: color-mix(in oklab, var(--accent) 85%, #000);
  transform: translateY(-1px);
  text-decoration: none;
}
.nav__toggle {
  display: none;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: auto;
  padding: .25rem;
}
/* Mobile nav */
[data-section="header"] .nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--background, rgba(250,245,239,.99));
  padding: 1rem;
  border-top: 1px solid var(--border);
  position: absolute; top: 100%; left: 0; right: 0;
  z-index: 800;
  box-shadow: var(--shadow-lg);
}
[data-section="header"] .nav__mobile.open { display: flex; }
[data-section="header"] .nav__mobile a {
  display: block;
  padding: .75rem 1rem;
  color: var(--text);
  font-size: var(--step-0);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
[data-section="header"] .nav__mobile a:last-child { border-bottom: none; }
[data-section="header"] .nav__mobile a:hover { color: var(--accent); background: var(--surface); }
[data-section="header"] .nav__cart { display: none; }

/* ======================================================
   HERO — Split Editorial
   ====================================================== */
[data-section="hero"] {
  min-height: 100svh;
  background: var(--background);
  display: flex; align-items: center;
  padding-block: var(--space-2xl);
  overflow: hidden;
  position: relative;
}
/* Warm organic blob background */
[data-section="hero"]::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 70vh;
  background: radial-gradient(ellipse,
    color-mix(in oklab, var(--accent) 8%, transparent) 0%,
    transparent 70%);
  border-radius: 50% 60% 70% 40%;
  pointer-events: none;
}
[data-section="hero"]::after {
  content: '';
  position: absolute;
  bottom: 10%; left: -5%;
  width: 35vw; height: 40vh;
  background: radial-gradient(ellipse,
    color-mix(in oklab, var(--primary) 6%, transparent) 0%,
    transparent 70%);
  border-radius: 70% 50% 60% 80%;
  pointer-events: none;
}
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative; z-index: 1;
}
.hero__content { animation: hero-fade-up .9s ease both; }
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; }
}
.hero__stamp {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--background) 90%, transparent);
  background: var(--primary);
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.hero__title-prefix {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--muted);
  margin-bottom: .25rem;
}
.hero__title {
  font-size: var(--step-5);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: var(--step-1);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero__content-text {
  font-size: var(--step-0);
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-warm), 0 0 0 6px color-mix(in oklab, var(--accent) 15%, transparent);
  animation: hero-img-reveal 1.1s ease .2s both;
}
@keyframes hero-img-reveal {
  from { opacity: 0; transform: scale(.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.hero__img-card img { width: 100%; height: 100%; object-fit: cover; }
.hero__trust-chips {
  position: absolute; bottom: 1.5rem; left: 1rem; right: 1rem;
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.trust-chip {
  background: rgba(250,245,239,.92);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: .7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  box-shadow: var(--shadow-sm);
}

/* ======================================================
   STATS BAND
   ====================================================== */
.stats-band {
  background: color-mix(in oklab, var(--primary) 8%, var(--background));
  padding-block: var(--space-xl);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* auto-fit: owner-supplied stats may be absent — never leave an empty column */
  gap: var(--space-md);
  text-align: center;
}
.stats-band__item { padding: var(--space-sm); }
.stats-band__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stats-band__suffix {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--accent);
}
.stats-band__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .35rem;
}

/* ======================================================
   ABOUT — Overlapping image + offset text
   ====================================================== */
[data-section="about"] {
  background: var(--surface);
  padding-block: var(--space-2xl);
}
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  position: relative;
}
.about__img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
/* Organic offset decoration */
.about__img-blob {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  width: 120%; height: 120%;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  border-radius: 40% 60% 70% 30%;
  z-index: 1;
}
.about__content {
  padding: var(--space-xl) var(--space-lg);
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-left: -3rem;
  margin-top: 4rem;
  position: relative; z-index: 3;
  border: 1px solid var(--border);
}
.about__milestones {
  margin-top: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.about__milestone {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.about__milestone:last-child { border-bottom: none; }
.about__milestone-year {
  font-family: var(--font-mono);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--accent);
  padding-top: .1rem;
}
.about__milestone-text {
  font-size: var(--step--1);
  color: var(--muted);
}
.about__milestone-title {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: .15rem;
}

/* ======================================================
   SERVICES — Alternating rows
   ====================================================== */
[data-section="services"] {
  background: var(--background);
  padding-block: var(--space-2xl);
}
.services__intro { margin-bottom: var(--space-xl); }
.services__grid {
  display: flex; flex-direction: column; gap: var(--space-xl);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}
.service-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-row:nth-child(even) { direction: rtl; }
.service-row:nth-child(even) > * { direction: ltr; }
.service-row__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-row__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-row:hover .service-row__img img { transform: scale(1.04); }
.service-row__content {
  padding: var(--space-lg);
}
/* nth-child accent border rotation */
.service-row:nth-child(3n+1) { border-left: 4px solid var(--accent); }
.service-row:nth-child(3n+2) { border-left: 4px solid var(--primary); }
.service-row:nth-child(3n+3) { border-left: 4px solid color-mix(in oklab, var(--accent) 50%, var(--primary)); }
.service-row__subtitle {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.service-row__title {
  font-size: var(--step-2);
  color: var(--primary);
  margin-bottom: .75rem;
}
.service-row__desc { color: var(--muted); margin-bottom: 1.25rem; }
.service-row__footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.service-row__link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--accent);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .02em;
}
.service-row__link:hover { text-decoration: underline; }
.service-row__link::after { content: '→'; }

/* ======================================================
   SERVICE AREAS — organic blob
   ====================================================== */
[data-section="service_areas"] {
  background: var(--surface);
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}
[data-section="service_areas"]::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 50vw; height: 80%;
  background: color-mix(in oklab, var(--accent) 6%, transparent);
  border-radius: 70% 30% 60% 40%;
  pointer-events: none;
}
.service-areas__tags {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center;
  margin-top: var(--space-md);
}
.area-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--background);
  color: var(--primary);
  font-size: var(--step--1);
  font-weight: 500;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.area-chip:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, var(--background));
  color: var(--accent);
  transform: translateY(-2px);
}
.area-chip .area-note {
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: .04em;
}

/* ======================================================
   BEFORE & AFTER GALLERY
   ====================================================== */
[data-section="before_after_gallery"] {
  background: var(--background);
  padding-block: var(--space-2xl);
}
.before-after__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.before-after-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.before-after-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ba-pair::after {
  content: '⟷';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem; height: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  z-index: 2;
  box-shadow: 0 0 0 3px var(--surface);
}
.ba-img { position: relative; overflow: hidden; }
.ba-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ba-label {
  position: absolute; bottom: .5rem; left: .5rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
}
.ba-label--before {
  background: color-mix(in oklab, var(--primary) 80%, transparent);
  color: #fff;
}
.ba-label--after {
  background: var(--accent);
  color: #fff;
}
.ba-caption {
  padding: .75rem 1rem;
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--step--1);
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ======================================================
   CERTIFICATIONS
   ====================================================== */
[data-section="certifications"] {
  background: color-mix(in oklab, var(--primary) 5%, var(--surface));
  padding-block: var(--space-xl);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.cert-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cert-card img {
  height: 60px; width: auto;
  object-fit: contain;
  margin: 0 auto var(--space-sm);
}
.cert-card__name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .25rem;
}
.cert-card__issuer {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.cert-card__note { font-size: var(--step--1); color: var(--muted); }

/* ======================================================
   QUOTE REQUEST
   ====================================================== */
[data-section="quote_request"] {
  background: var(--primary);
  padding-block: var(--space-2xl);
  color: var(--background);
}
[data-section="quote_request"] h2,
[data-section="quote_request"] h3 { color: var(--background); }
[data-section="quote_request"] .eyebrow { color: var(--accent); }
.quote__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}
.quote__info h2 { margin-bottom: .75rem; }
.quote__info p { color: color-mix(in oklab, var(--background) 75%, transparent); margin-bottom: var(--space-md); }
.quote__trust-list {
  display: flex; flex-direction: column; gap: .6rem;
  margin-top: var(--space-md);
}
.quote__trust-item {
  display: flex; align-items: center; gap: .65rem;
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--background) 80%, transparent);
}
.quote__trust-icon {
  width: 1.4rem; height: 1.4rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}
.quote__form-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}
.quote__form-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--primary);
  margin-bottom: var(--space-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: var(--step-0);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: var(--space-sm); }
.form-submit button {
  width: 100%;
  padding: .85rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--step-0);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.form-submit button:hover {
  background: color-mix(in oklab, var(--accent) 85%, #000);
  transform: translateY(-2px);
}
.form-submit button:disabled { opacity: .6; cursor: not-allowed; }

/* ======================================================
   TESTIMONIALS — Scroll-snap reel (SIGNATURE MOMENT)
   ====================================================== */
[data-section="testimonials"] {
  background: var(--surface);
  padding-block: var(--space-2xl);
  overflow: hidden;
}
.testimonials__reel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.testimonials__reel::-webkit-scrollbar { height: 4px; }
.testimonials__reel::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.testimonials__reel::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(85%, 380px);
  background: var(--background);
  border-radius: var(--radius);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: .8;
  color: color-mix(in oklab, var(--accent) 20%, transparent);
  position: absolute;
  top: .75rem; left: 1rem;
  pointer-events: none;
}
.testimonial-card__stars {
  display: flex; gap: .2rem;
  color: var(--accent);
  font-size: .9rem;
}
.testimonial-card__content {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--text);
  flex: 1;
  padding-top: 1.5rem;
}
.testimonial-card__footer {
  display: flex; align-items: center; gap: .75rem;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.testimonial-card__avatar-initial {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 20%, var(--surface));
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.testimonial-card__name {
  font-weight: 600;
  color: var(--primary);
  font-size: var(--step--1);
  display: block;
}
.testimonial-card__role {
  font-size: var(--step--1);
  color: var(--muted);
  font-family: var(--font-mono);
}
.testimonials__dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: 1.25rem;
}
.testimonials__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.testimonials__dot.active { background: var(--accent); transform: scale(1.3); }

/* ======================================================
   OPENING HOURS
   ====================================================== */
[data-section="opening_hours"] {
  background: var(--background);
  padding-block: var(--space-xl);
}
.hours__card {
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.hours__row:last-child { border-bottom: none; }
.hours__row--today {
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
  border-left: 3px solid var(--accent);
}
.hours__day {
  font-weight: 500;
  color: var(--text);
  font-size: var(--step-0);
}
.hours__row--today .hours__day { color: var(--accent); font-weight: 600; }
.hours__time {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--muted);
}
.hours__row--today .hours__time { color: var(--accent); }
.hours__closed { color: var(--muted); font-style: italic; }
.hours__status-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hours__status-badge--open {
  background: color-mix(in oklab, #22c55e 15%, var(--surface));
  color: #15803d;
}
.hours__status-badge--closed {
  background: color-mix(in oklab, #ef4444 15%, var(--surface));
  color: #dc2626;
}
.hours__status-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ======================================================
   CONTACT
   ====================================================== */
[data-section="contact"] {
  background: var(--surface);
  padding-block: var(--space-2xl);
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact__info {
  background: var(--primary);
  border-radius: var(--radius);
  padding: var(--space-xl);
  color: var(--background);
  display: flex; flex-direction: column; gap: var(--space-md);
  box-shadow: var(--shadow-lg);
}
.contact__info h2, .contact__info h3 { color: var(--background); }
.contact__info .eyebrow { color: var(--accent); }
.contact__detail {
  display: flex; align-items: flex-start; gap: .85rem;
}
.contact__detail-icon {
  width: 2.25rem; height: 2.25rem;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
  color: #fff;
}
.contact__detail-label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--background) 60%, transparent);
  display: block;
  margin-bottom: .15rem;
}
.contact__detail-value {
  color: var(--background);
  font-size: var(--step-0);
  font-weight: 500;
  text-decoration: none;
}
.contact__detail-value:hover { color: var(--accent); text-decoration: underline; }
.contact__form-wrap {
  background: var(--background);
  border-radius: var(--radius);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ======================================================
   FAQS — Accordion
   ====================================================== */
[data-section="faqs"] {
  background: var(--background);
  padding-block: var(--space-2xl);
}
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 800px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-trigger {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem;
  background: none; border: none;
  text-align: left;
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  gap: 1rem;
  transition: color .2s;
}
.faq-trigger:hover { color: var(--accent); }
.faq-icon {
  width: 1.4rem; height: 1.4rem;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
  font-weight: 700;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0 1.5rem;
}
.faq-answer-inner { padding-bottom: 1.25rem; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { padding-bottom: 0; }

/* ======================================================
   FOOTER
   ====================================================== */
[data-section="footer"] {
  background: var(--primary);
  color: color-mix(in oklab, var(--background) 80%, transparent);
  padding-block: var(--space-2xl) var(--space-lg);
  color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid color-mix(in oklab, var(--background) 15%, transparent);
  margin-bottom: var(--space-lg);
}
[data-section="footer"] img {
  height: 50px; width: auto;
  object-fit: contain;
  margin-bottom: .75rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--background);
  opacity: .9;
  margin-bottom: .75rem;
}
.footer__desc {
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--background) 65%, transparent);
  max-width: 300px;
}
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a {
  color: color-mix(in oklab, var(--background) 75%, transparent);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color .2s;
}
.footer__col a:hover { color: var(--background); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.footer__bottom span {
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--background) 55%, transparent);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  color: color-mix(in oklab, var(--background) 55%, transparent);
  font-size: var(--step--1);
  text-decoration: none;
}
.footer__legal a:hover { color: var(--background); }

/* ======================================================
   BACK TO TOP
   ====================================================== */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .2s;
  box-shadow: var(--shadow-md);
  z-index: 800;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ======================================================
   STICKY MOBILE CTA
   ====================================================== */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: .65rem 1rem;
  z-index: 700;
  gap: .5rem;
  box-shadow: 0 -4px 16px color-mix(in oklab, var(--primary) 10%, transparent);
}
.mobile-cta-bar .btn { flex: 1; text-align: center; justify-content: center; font-size: .8rem; padding: .6rem .75rem; }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 960px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__img-card { max-width: 480px; margin-inline: auto; aspect-ratio: 16/9; }
  .about__layout { grid-template-columns: 1fr; }
  .about__content { margin-left: 0; margin-top: 2rem; }
  .about__img-blob { display: none; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) { direction: ltr; }
  .quote__layout { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__phone-cta.desktop-only { display: none; }
  .nav__toggle { display: block; }
  .testimonial-card { flex: 0 0 min(90%, 320px); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .quote__form-card { padding: var(--space-md); }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; }
  .hero__title { font-size: var(--step-4); }
  [data-section="hero"] { padding-bottom: 5rem; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .certs__grid { grid-template-columns: 1fr 1fr; }
}

/* === FOCUS VISIBLE === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* === PRINT === */
@media print {
  .back-to-top, .mobile-cta-bar, #scroll-progress, .nav__toggle { display: none !important; }
  [data-section="header"] { position: static; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* Palette roles (BrandColourRoles, 2026-10-06): brand-coloured text on a band this theme draws dark keeps a lightness floor; text on a brand fill follows the fill. */
[data-section="quote_request"] .eyebrow { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.contact__info .eyebrow { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__col h3 { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="certifications"]) .section__header p { color: oklch(from color-mix(in oklab, var(--primary) 5%, var(--surface)) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Palette roles, item 53 (BrandColourRoles, 2026-10-06): text on a band filled with a palette brand colour follows the fill; brand-coloured text on a band this theme draws dark keeps a lightness floor. */
:where([data-section="footer"]) .footer__bottom span { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__legal a { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="quote_request"]) .quote__info p { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="quote_request"]) .quote__trust-item { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.contact__info) .contact__detail-label { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__desc { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__col a { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
.hours__status-badge--open { color: oklch(from rgb(21, 128, 61) calc(l - 0.04) c h / calc(min(1, alpha + 0.12))); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
.eyebrow { color: oklch(from var(--accent) min(l, 0.469) c h / alpha); }
.service-row__subtitle { color: oklch(from var(--accent) min(l, 0.509) c h / alpha); }
.service-row__link { color: oklch(from var(--accent) min(l, 0.509) c h / alpha); }
.cert-card__issuer { color: oklch(from var(--accent) min(l, 0.509) c h / alpha); }
.hours__row--today .hours__day { color: oklch(from var(--accent) min(l, 0.469) c h / alpha); }
.hours__row--today .hours__time { color: oklch(from var(--accent) min(l, 0.469) c h / alpha); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
.form-submit button { background-color: oklch(from var(--accent) min(l, 0.539) c h / alpha); }
