/* =========================================================
   DV Audio & Customs - Shop-Floor Dark
   One locked dark theme. Single blue accent (DV brand shield).
   Dials: VARIANCE 7 / MOTION 6 / DENSITY 5
   ========================================================= */

:root {
  /* Surfaces (near-black) */
  --bg:        #060606;
  --surface:   #15171c;
  --surface-2: #0e0e11;

  /* Lines */
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  /* Text */
  --text:      #f3f4f6;
  --muted:     #aab0bb;
  --muted-2:   #868d99;

  /* Single accent: DV candy-blue (brand shield). White text on it passes AA. */
  --accent:    #2563eb;
  --accent-hi: #5e9bff;  /* brighter, for links/hairline highlights on dark only */

  /* One radius system: media + cards 12px, controls 10px */
  --r:    12px;
  --r-sm: 10px;

  --maxw: 1240px;
  --pad:  clamp(1.25rem, 5vw, 3rem);

  /* Header bar height (kept in sync with the logo + hero offset) */
  --header-h: 108px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
p { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 0.7rem 1rem; border-radius: var(--r-sm); z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin: 0 0 1rem;
}

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.95rem, 5.2vw, 3.3rem); }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: inherit; font-weight: 700; font-size: 1rem; white-space: nowrap;
  padding: 0.9rem 1.5rem; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f6bf0; }
.btn-ghost { background: rgba(12,13,16,0.35); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent-hi); }
.btn:active { transform: translateY(1px); }

/* ---------- Header / Nav ---------- */
.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: clamp(0.85rem, 2vw, 1.3rem); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; letter-spacing: -0.01em; }
.brand .badge {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-size: 0.82rem; font-weight: 900; letter-spacing: 0.02em;
}
.brand .brand-name { font-size: 1.02rem; }
.brand .brand-name span { color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a.nav-link { color: var(--muted); font-weight: 600; font-size: 0.96rem; transition: color 0.18s var(--ease); }
.nav a.nav-link:hover { color: var(--text); }
.nav .btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* Slim top shade so the nav stays readable before the header gains its scrolled bg */
    linear-gradient(180deg, rgba(6,6,6,0.55) 0%, rgba(6,6,6,0) 16%),
    /* Left-weighted: dark behind the headline, fading to nearly clear over the truck */
    linear-gradient(90deg, rgba(6,6,6,0.92) 0%, rgba(6,6,6,0.70) 28%, rgba(6,6,6,0.25) 55%, rgba(6,6,6,0.06) 100%),
    /* Gentle floor so the CTAs read and the hero blends into the page below */
    linear-gradient(180deg, rgba(6,6,6,0) 60%, rgba(6,6,6,0.42) 100%);
}
.hero-inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 58rem; }
.hero h1 {
  font-size: clamp(1.8rem, 6vw, 4.05rem);
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 1.2rem;
}
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--text); max-width: 44ch; margin-bottom: 2rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Statement band ---------- */
.statement h2 { font-size: clamp(2rem, 5.4vw, 3.6rem); max-width: 18ch; }
.statement .body { display: grid; gap: 1.4rem; max-width: 60ch; margin-top: 1.6rem; }
.statement .body p { color: var(--muted); font-size: 1.1rem; }
.statement .body p.qualify { color: var(--text); font-weight: 600; }
.statement .facts {
  display: flex; flex-wrap: wrap; gap: 0 2.5rem; row-gap: 0.5rem;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.statement .facts span { font-weight: 700; letter-spacing: 0.01em; }
.statement .facts span + span { color: var(--muted); }
.statement .facts b { color: var(--accent-hi); font-weight: 800; }

/* ---------- Bento (What we build) ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
}
.tile .media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover .media img { transform: scale(1.05); }
.tile .meta { padding: 1.2rem 1.3rem 1.4rem; }
.tile .meta h3 { font-size: 1.25rem; }
.tile .meta p { color: var(--muted); margin-top: 0.4rem; font-size: 0.98rem; }
.tile.feature .media { aspect-ratio: 16 / 9; }
.tile.feature .meta h3 { font-size: 1.5rem; }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .tile.feature { grid-column: span 2; }
  .tile.wide { grid-column: span 2; }
  .tile.feature .media { aspect-ratio: 21 / 9; }
  .tile.wide .media { aspect-ratio: 21 / 9; }
}

/* ---------- Services (grouped clusters) ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem 2rem; }
@media (min-width: 620px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.cluster h3 {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-hi); padding-bottom: 0.9rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.cluster li { color: var(--text); font-size: 1.02rem; font-weight: 500; }

/* ---------- Process (split editorial) ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .process-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.process-lead h2 { font-size: clamp(1.95rem, 5vw, 3.1rem); max-width: 14ch; }
.process-lead p { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; max-width: 40ch; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-size: 1.05rem; font-weight: 800; color: var(--accent-hi); padding-top: 0.15rem; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin-top: 0.4rem; font-size: 1.02rem; max-width: 52ch; }

/* ---------- Gallery (masonry via columns) ---------- */
.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 980px) { .gallery { columns: 3; } }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery img { width: 100%; height: auto; transition: transform 0.7s var(--ease), opacity 0.5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Contact / Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: stretch; } }

.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.6rem;
}
.info-card .phone-big {
  font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); display: inline-flex; align-items: center; gap: 0.6rem;
}
.info-card .phone-big:hover { color: var(--accent-hi); }
.info-row .label { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.4rem; }
.info-row address { font-style: normal; color: var(--text); line-height: 1.5; }
.info-row a.ext:hover { color: var(--accent-hi); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; color: var(--text); max-width: 22rem; }
.hours li span:last-child { color: var(--muted); }
.hours li.closed span:last-child { color: var(--muted-2); }
.info-card .btn { align-self: flex-start; }

.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.3) contrast(1.05) brightness(0.9); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem) 2.5rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; } }
.footer-grid h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 0.9rem; font-weight: 700; }
.footer-grid p, .footer-grid address { color: var(--muted); font-style: normal; line-height: 1.6; }
.footer-grid a:hover { color: var(--accent-hi); }
.footer-tag { color: var(--muted); margin-top: 0.9rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  color: var(--muted-2); font-size: 0.86rem;
}

/* ---------- Reveal motion (MOTION 6) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); will-change: transform, opacity; }
  .js .reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.d1 { transition-delay: 0.06s; }
  .js .reveal.d2 { transition-delay: 0.12s; }
  .js .reveal.d3 { transition-delay: 0.18s; }

  .hero-media img { animation: heroDrift 18s ease-in-out infinite alternate; }
  @keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--r-sm);
    background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); color: var(--text);
    cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12,13,16,0.96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.5rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a.nav-link { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 1.1rem; width: 100%; padding: 0.95rem 1.2rem; }
}

@media (min-width: 861px) { .nav { display: flex !important; } }

/* =========================================================
   v2 additions: trust strip, shop story, contact form,
   map fallback, mobile sticky bar
   ========================================================= */

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.7rem 2.2rem; padding-block: 1.05rem;
}
.trust .t-item { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.trust .t-item svg { width: 18px; height: 18px; color: var(--accent-hi); flex: none; }
.trust .t-item.spec { color: var(--muted); font-weight: 500; }
.trust .stars { display: inline-flex; gap: 1px; color: var(--accent-hi); }
.trust .stars svg { width: 15px; height: 15px; }
.trust .review-count b { color: var(--text); font-weight: 800; }

/* ---------- The Shop (story split) ---------- */
.shop-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 5vw, 3.25rem); align-items: center; }
@media (min-width: 900px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
.shop-media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2); }
.shop-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.shop-copy h2 { font-size: clamp(1.95rem, 5.2vw, 3.2rem); }
.shop-copy p { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; max-width: 56ch; }
.shop-copy p.lead { color: var(--text); }
.shop-copy .tagline {
  margin-top: 1.8rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem); color: var(--accent-hi);
}

/* ---------- Contact + form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; } }

.form { display: grid; gap: 1.05rem; }
.form-row { display: grid; gap: 1.05rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.field label .req { color: var(--accent-hi); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text); width: 100%;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.82rem 0.95rem; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .err-msg { font-size: 0.8rem; color: #ff8a73; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #ef5a44; }
.field.invalid .err-msg { display: block; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.3rem; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.form-status { font-weight: 600; font-size: 0.95rem; }
.form-status.success { color: #46d07f; }
.form-status.error { color: #ff8a73; }
.form-note { color: var(--muted); font-size: 0.96rem; margin-top: 1.1rem; }
.form-note a { color: var(--accent-hi); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: grid; gap: 1.25rem; }

/* Map with styled fallback (never a dead black block) */
.map-frame { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: radial-gradient(120% 100% at 0% 0%, var(--surface-2), var(--surface) 70%);
  color: var(--muted);
}
.map-fallback .pin { color: var(--accent-hi); }
.map-fallback strong { color: var(--text); font-size: 1.05rem; }
.map-load { align-self: flex-start; margin-top: 0.8rem; }
.map-frame.map-loaded .map-fallback { display: none; }
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 320px; border: 0; background: transparent; filter: grayscale(0.3) contrast(1.05) brightness(0.9); }

/* ---------- Mobile sticky bottom bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    gap: 1px; background: var(--line-2);
    border-top: 1px solid var(--line-2);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
    background: rgba(12, 13, 16, 0.97); backdrop-filter: blur(8px);
    color: var(--text); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.01em;
    padding: 0.62rem 0.4rem; min-height: 60px;
  }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar a.quote { background: var(--accent); color: #fff; }
  .mobile-bar a:active { filter: brightness(0.9); }
  body { padding-bottom: 62px; }
}

/* =========================================================
   v3 additions: logo wordmark, before/after slider,
   gallery fabrication-detail strip
   ========================================================= */

/* ---------- Logo wordmark ---------- */
/* Logo art is 524x166 (ratio ~3.16:1). height 88px => ~278px wide on desktop. */
.brand-logo { height: 88px; width: auto; display: block; }
@media (max-width: 768px) { .brand-logo { height: 56px; } }   /* ~177px wide */
@media (max-width: 768px) { :root { --header-h: 80px; } }
.footer-logo { height: 54px; margin-bottom: 0.2rem; }

/* ---------- Before / After slider ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 760px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba-item { margin: 0; }
.ba-item figcaption { margin-top: 0.95rem; font-weight: 700; font-size: 1.08rem; color: var(--text); }

.ba {
  --pos: 50;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  touch-action: pan-y; user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-after { z-index: 1; }
.ba-before { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 calc((100 - var(--pos)) * 1%) 0 0); }

.ba-tag {
  position: absolute; top: 0.7rem; z-index: 3;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 6px;
  background: rgba(12, 13, 16, 0.72); color: var(--text); backdrop-filter: blur(4px);
}
.ba-tag-before { left: 0.7rem; }
.ba-tag-after { right: 0.7rem; }

.ba-divider { position: absolute; top: 0; bottom: 0; z-index: 3; left: calc(var(--pos) * 1%); width: 2px; background: var(--accent); transform: translateX(-1px); pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-range:focus-visible ~ .ba-divider .ba-knob { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.55), 0 2px 12px rgba(0, 0, 0, 0.5); }

/* ---------- Gallery: fabrication-detail strip ---------- */
.gallery-subhead { font-size: 1rem; font-weight: 700; color: var(--muted); margin: 2.6rem 0 1.1rem; }
.gallery-detail { columns: 2; }
@media (min-width: 680px) { .gallery-detail { columns: 3; } }
@media (min-width: 980px) { .gallery-detail { columns: 5; } }
.gallery-detail figure { margin-bottom: 0.8rem; }

/* =========================================================
   v4 additions: photo-backed sections, FAQ accordion,
   trust review numbers, footer service area
   ========================================================= */

/* ---------- Photo-backed sections (heavy scrim for readability) ---------- */
.section-photo { position: relative; isolation: isolate; }
.section-photo > .wrap { position: relative; z-index: 2; }
.section-photo > .sec-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section-photo > .sec-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.section-photo > .sec-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.78) 0%, rgba(6, 6, 6, 0.70) 45%, rgba(6, 6, 6, 0.80) 100%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.50) 0%, rgba(6, 6, 6, 0.30) 60%, rgba(6, 6, 6, 0.47) 100%);
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 56rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; font-size: clamp(1.05rem, 2.4vw, 1.2rem); font-weight: 700; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: -5px;
  border-right: 2px solid var(--accent-hi); border-bottom: 2px solid var(--accent-hi);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.faq-item summary:hover { color: var(--accent-hi); }
.faq-a { padding: 0 0 1.5rem; margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.65; max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ---------- Trust strip review numbers ---------- */
.trust .review-count { gap: 0.4rem; }
.trust .review-count b { color: var(--text); font-weight: 800; }

/* ---------- Footer service area ---------- */
.footer-area { color: var(--muted-2); margin-top: 0.9rem; font-size: 0.92rem; line-height: 1.6; max-width: 36ch; }
