/* ==========================================================================
   PFG Flooring & Tile — Tidewater design system
   Brand source: Brand/Concepts/concept-1-tidewater.html (client-approved board)
   Contract: Specs/2026-06-09 — New Site Build Plan.md §5–5.1
   Dials: VARIANCE 6 · MOTION 4 · DENSITY 4
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin) ---------- */
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/poppins-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/poppins-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/poppins-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('assets/fonts/mulish-var.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
/* Metric-matched fallback to soften swap shift */
@font-face {
  font-family: 'Mulish-Fallback';
  src: local('Segoe UI'), local('Arial');
  size-adjust: 99%; ascent-override: 100%; descent-override: 25%;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand anchors — exact hexes from the Tidewater board */
  --teal: #2D86A6;        /* Gulf Teal — THE accent (board swatch 1) */
  --sky:  #7FC0D4;        /* Sunwashed Sky — whisper tints only */
  --sand: #F7F5EE;        /* board swatch 2 — page canvas */
  --deep: #123042;        /* board swatch 3 — dark bands */
  --ink:  #1B2A30;        /* body ink */
  --paper:#FFFFFF;        /* surfaces on sand */

  /* Derived (teal-tinted neutrals; chroma falls as lightness rises) */
  /* AA-compliant Gulf Teal variants: brand #2D86A6 is 3.58:1 on sand / 4.16:1 on white —
     fine for large type + decoration, fails small text & button labels. These stay in family. */
  --teal-text:   #1F6E8C;   /* small teal text on sand/white — 4.9:1+ */
  --teal-action: #26789A;   /* button bg under white labels — 4.9:1 */
  --teal-hover: color-mix(in oklab, var(--teal) 82%, var(--deep));
  --teal-soft:  color-mix(in oklab, var(--sky) 26%, var(--sand));
  --sand-deep:  color-mix(in oklab, var(--sand) 88%, var(--teal));
  --ink-soft:   color-mix(in oklab, var(--ink) 74%, var(--sand));
  --line:       color-mix(in oklab, var(--ink) 14%, var(--sand));   /* grout hairline */
  --line-soft:  color-mix(in oklab, var(--ink) 8%, var(--sand));
  --on-deep:        var(--sand);                                    /* text on dark bands */
  --on-deep-soft:   color-mix(in oklab, var(--sand) 72%, var(--deep));
  --line-on-deep:   color-mix(in oklab, var(--sand) 18%, var(--deep));

  /* Type — Poppins display / Mulish body */
  --display: 'Poppins', system-ui, sans-serif;
  --body: 'Mulish', 'Mulish-Fallback', 'Segoe UI', system-ui, sans-serif;
  --text-hero: clamp(2.5rem, 1.6rem + 4.5vw, 4.4rem);
  --paper-warm: #FCFBF7;     /* band surface — half-step lighter than the board cream */
  --text-h1:   clamp(2.125rem, 1.5rem + 3vw, 3.25rem);
  --text-h2:   clamp(1.625rem, 1.3rem + 1.7vw, 2.375rem);
  --text-h3:   clamp(1.1875rem, 1.08rem + .6vw, 1.4375rem);
  --text-lg:   1.1875rem;
  --text-base: 1.0625rem;
  --text-sm:   .9375rem;
  --text-xs:   .8125rem;

  /* Space — 4pt scale */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section: clamp(4rem, 3rem + 5vw, 7rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Shape — radius language from the mark's rounded tile */
  --r-sm: .5rem; --r-md: .875rem; --r-lg: 1.375rem; --r-xl: 1.75rem;

  /* Depth — deep-tide-tinted, subtle */
  --shadow-sm: 0 1px 2px rgba(18, 58, 71, .06), 0 2px 8px -2px rgba(18, 58, 71, .08);
  --shadow-md: 0 14px 34px -18px rgba(18, 58, 71, .28);
  --shadow-lg: 0 24px 56px -24px rgba(18, 58, 71, .34);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
  --t-fast: 150ms; --t-med: 280ms; --t-slow: 600ms;

  /* Layers */
  --z-sticky: 200; --z-nav: 300; --z-bar: 250;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 5.5rem; }
body {
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
strong { font-weight: 700; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--teal) 22%, transparent);
  border-radius: var(--r-sm);
}
::selection { background: color-mix(in oklab, var(--sky) 55%, var(--sand)); color: var(--deep); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px;
  background: var(--deep); color: var(--sand);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  font-weight: 700; font-size: var(--text-sm); z-index: calc(var(--z-nav) + 1);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus-visible { top: var(--s-4); }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); letter-spacing: -.02em; }
h2 { font-size: var(--text-h2); font-weight: 700; }
h3 { font-size: var(--text-h3); font-weight: 700; line-height: 1.2; }
p  { max-width: 62ch; text-wrap: pretty; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--ink-soft); }
.measure { max-width: 62ch; }

/* Board's eyebrow voice: small caps, wide tracking */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--body); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--teal-text);
}
/* Eyebrow folded INSIDE the service-page h1 (keyword carries heading weight; renders identically —
   flex makes it block-level on its own line, margin replaces the old grid gap) */
h1 > .eyebrow { display: flex; margin-bottom: var(--s-4); line-height: 1.6; /* body line-height — the h1's tighter leading would shift the rhythm 7px */ }
h1 > .h1-line { display: block; }
.eyebrow::before {
  content: ''; width: 22px; height: 1.5px; background: var(--teal-text);
  flex: none; border-radius: 1px;
}
.eyebrow--bare::before { display: none; }

/* On dark bands: lighter type needs extra leading + sand-shaded secondaries */
.band-deep { background: var(--deep); color: var(--on-deep); }
.band-deep h1, .band-deep h2, .band-deep h3 { color: #fff; }
.band-deep p { line-height: 1.7; }
.band-deep .lead, .band-deep .muted { color: var(--on-deep-soft); }
.band-deep .eyebrow { color: var(--sky); }
.band-deep .eyebrow::before { background: var(--sky); }

/* ---------- Layout primitives ---------- */
.container { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 56rem; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.grout-top { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: var(--s-4); }

.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); max-width: 46rem; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end; gap: var(--s-6);
}
.section-head--split .lead { justify-self: start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: .875rem 1.75rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; min-height: 48px;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn svg { flex: none; transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--teal-action); color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover { background: var(--teal-hover); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--ghost { border-color: color-mix(in oklab, var(--ink) 26%, transparent); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: color-mix(in oklab, var(--paper) 55%, transparent); }
.band-deep .btn--ghost { border-color: color-mix(in oklab, var(--sand) 38%, transparent); color: var(--sand); }
.band-deep .btn--ghost:hover { border-color: var(--sand); background: color-mix(in oklab, var(--sand) 10%, transparent); }
.btn--on-deep { background: var(--sand); color: var(--deep); }
.btn--on-deep:hover { background: #fff; }
.btn--lg { padding: 1.0625rem 2.25rem; font-size: var(--text-lg); }

.text-link {
  display: inline;
  font-weight: 700; color: var(--teal-text); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size var(--t-med) var(--ease-out);
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link svg { display: inline-block; vertical-align: -.12em; margin-left: .35em; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }

/* Placeholder NAP chip — visibly pending until the client sends the real number */
.tel-pending {
  display: inline-flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  font-weight: 700; font-size: var(--text-sm); color: var(--ink-soft);
  text-decoration: none;
}
.tel-pending small { white-space: nowrap; }
.tel-pending small {
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-text); border: 1px dashed color-mix(in oklab, var(--teal) 45%, transparent);
  border-radius: 99px; padding: .1rem .5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s-6);
  min-height: 4.5rem;
}
/* Text-only lockup per the board wordmark — PFG (Poppins 800) + letterspaced descriptor */
.brand { display: inline-flex; align-items: baseline; gap: .6rem; text-decoration: none; }
.brand__name {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: .02em; line-height: .96; color: var(--ink);
}
.brand__sub {
  font-family: var(--body); font-weight: 700; font-size: .625rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--deep);
}
.site-nav { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.site-nav a:not(.btn) {
  font-weight: 600; font-size: var(--text-sm); text-decoration: none; color: var(--ink);
  padding: .35rem 0; white-space: nowrap;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: color var(--t-fast) var(--ease-out), background-size var(--t-med) var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--ink); background-size: 100% 2px; }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--ink); background-size: 100% 2px; }
.site-nav .btn { padding: .625rem 1.25rem; min-height: 44px; font-size: var(--text-sm); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 56rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--gutter) var(--s-5);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) {
    padding: .875rem var(--s-2); font-size: var(--text-base);
    border-bottom: 1px solid var(--line-soft); background-image: none;
  }
  .site-nav .btn { margin-top: var(--s-4); }
  .site-nav .tel-pending { padding: .875rem var(--s-2); }
}

/* ---------- Surface bands (rhythm between sand sections) ---------- */
.band-paper { background: var(--paper-warm); }
.band-paper .quote { background: #fff; }

/* ---------- Pattern slots (crafted SVG tile swatches standing in for photos) ---------- */
.pattern-slot {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--sand-deep);
}
.pattern-slot > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pattern-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pattern-slot::after {
  /* material depth: top light catch + soft lower vignette */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -26px 44px -30px rgba(18, 58, 71, .25);
}
.pattern-slot .photo-slot__tag { z-index: 1; }

/* Small pattern chip used as the visual anchor on service cards */
.svc__chip {
  position: relative; height: 56px; border-radius: .75rem; overflow: hidden;
  border: 1px solid var(--line); margin-bottom: var(--s-2);
}
.svc__chip svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc__chip::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.svc:hover .svc__chip { border-color: color-mix(in oklab, var(--teal) 35%, var(--line)); }

/* Unified numeral treatment — numbers live on small tiles */
.num-tile {
  width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: .7rem; background: var(--deep); color: var(--sand);
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.band-deep .num-tile { background: var(--sand); color: var(--deep); box-shadow: none; }

/* Non-kicker section label — used only where a section genuinely needs naming
   (anchored material sections, conversions). Kickers stay bookends-only. */
.tag-line { font-weight: 700; font-size: var(--text-base); color: var(--teal-text); }
.band-deep .tag-line { color: var(--sky); }

/* ---------- Tile language (the signature) ---------- */
/* Art panel: the pinwheel mark exploded to architecture. Grout = sand gaps. */
.tile-art {
  display: grid; gap: 6px; background: var(--sand-deep);
  border-radius: var(--r-xl); padding: 6px; box-shadow: var(--shadow-lg);
}
.tile-art > * { border-radius: calc(var(--r-xl) - 10px); min-height: 0; }
.tile-art .t-teal { background: var(--teal); }
.tile-art .t-sky  { background: var(--sky); }
.tile-art .t-deep { background: var(--deep); }
.tile-art .t-sand { background: var(--paper); }
.tile-art .t-drop { display: grid; place-items: center; }
.tile-art .t-drop svg { width: 38%; height: auto; color: #fff; opacity: .94; }
.tile-art .t-label {
  display: grid; place-content: center; gap: .25rem; text-align: center;
  padding: var(--s-4);
}

/* Photo slot — a tile waiting for the real job photo. Zero-CLS reserved ratio. */
.photo-slot {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 20% 0%, color-mix(in oklab, var(--sky) 62%, var(--sand)) 0%, color-mix(in oklab, var(--sky) 30%, var(--sand)) 48%, var(--sand-deep) 100%);
  border: 1px solid var(--line);
}
.photo-slot::before {
  /* tile grout grid suggesting the work — replaced entirely once a real <img> drops in */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 70px, color-mix(in srgb, var(--paper) 85%, transparent) 70px 72px),
    repeating-linear-gradient(90deg, transparent 0 70px, color-mix(in srgb, var(--paper) 85%, transparent) 70px 72px);
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot__tag {
  position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 1;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--deep);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px dashed color-mix(in oklab, var(--deep) 35%, transparent);
  border-radius: 99px; padding: .3rem .7rem;
}
.photo-slot__tag svg { width: 13px; height: 13px; }
.ratio-45 { aspect-ratio: 4 / 5; } .ratio-11 { aspect-ratio: 1 / 1; }
.ratio-1610 { aspect-ratio: 16 / 10; } .ratio-34 { aspect-ratio: 3 / 4; }

/* ---------- Header overlay mode (transparent over the light video hero, solid once scrolled) ---------- */
.site-header--overlay:not(.is-stuck) {
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@media (min-width: 56.0625rem) {
  .site-header--overlay:not(.is-stuck) .site-nav a:not(.btn) {
    color: #fff; text-shadow: 0 1px 12px rgba(10, 16, 20, .45);
  }
  .site-header--overlay:not(.is-stuck) .site-nav a:not(.btn):hover { color: #fff; }
}
/* The Services dropdown opens on its own white panel — keep its links dark ink even while
   the header is in transparent overlay mode, or the rule above paints them white-on-white. */
.site-header--overlay:not(.is-stuck) .site-nav .nav-dd__panel a { color: var(--ink); text-shadow: none; }
/* The hero splash carries the brand — the header lockup only appears once stuck */
.site-header__inner .brand { transition: opacity var(--t-med) var(--ease-out); }
.site-header--overlay:not(.is-stuck) .site-header__inner .brand { opacity: 0; pointer-events: none; }
.site-header { transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out); }

/* ---------- Hero scrub (scroll-driven shower video) ---------- */
.hero-scrub { position: relative; height: 100dvh; margin-top: -4.5rem; /* runs under the transparent header */ }
.hero-scrub.is-scrub { height: 260vh; /* the scroll runway that drives the video */ }
.hero-scrub [data-header-sentinel] { position: absolute; top: 0; width: 1px; height: 50vh; pointer-events: none; }
.hero-scrub.is-scrub [data-header-sentinel] { height: 205vh; /* header stays transparent through most of the scrub */ }
.hero-scrub__stage {
  position: sticky; top: 0; height: 100dvh; overflow: hidden;
  display: flex; align-items: center; /* copy centered ON the image — first-paint pop */
}
.hero-scrub__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrub__scrim {
  /* light dark veil — image stays visible, just settled down a notch; the banner below
     is the hard separator, so no bottom dissolve */
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 20, 26, .38) 0%, rgba(13, 20, 26, .24) 45%, rgba(13, 20, 26, .42) 100%);
}
.accent-word { font-style: normal; color: var(--teal); }

/* ---------- Hero banner (hard separator carrying the trust facts) ---------- */
.hero-banner { background: var(--deep); }
.trust-strip__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-2) var(--s-7); padding-block: var(--s-5);
  font-size: var(--text-sm); font-weight: 600; color: var(--on-deep-soft);
}
.trust-strip__row span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-strip__row svg { color: var(--sky); flex: none; }
.hero-scrub__inner { position: relative; width: 100%; padding-block: 5.5rem var(--s-7); }
/* Brand-splash hero — mark + stacked wordmark, centered on the darkened image */
.hero-brand { display: grid; justify-items: center; text-align: center; gap: var(--s-5); margin-inline: auto; }
.hero-brand__mark { width: clamp(6rem, 13vw, 9.5rem); height: auto; filter: drop-shadow(0 4px 22px rgba(10, 16, 20, .35)); }
.hero-brand__lockup { display: grid; justify-items: center; gap: .55rem; }
.hero-brand__name {
  font-family: var(--display); font-weight: 800; color: #fff;
  font-size: clamp(3rem, 2rem + 5vw, 5rem); line-height: .96; letter-spacing: .02em;
  text-shadow: 0 2px 24px rgba(10, 16, 20, .35);
}
.hero-brand__sub {
  font-family: var(--body); font-weight: 700; color: var(--sand);
  font-size: clamp(.8125rem, .7rem + .5vw, 1.0625rem);
  letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; /* optically recenters tracked caps */
  text-shadow: 0 1px 14px rgba(10, 16, 20, .4);
}
.hero-scrub .hero__ctas { justify-content: center; }
.hero-scrub .btn--ghost { border-color: color-mix(in srgb, #fff 55%, transparent); color: #fff; }
.hero-scrub .btn--ghost:hover { border-color: #fff; background: color-mix(in srgb, #fff 12%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .hero-scrub.is-scrub { height: 100dvh; } /* no dead runway when motion is off */
}

/* ---------- Services — five uniform photo-top cards (Naeem's spec 6-11) ---------- */
.svc-cards {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.svc-cards .svc { grid-column: span 2; }
.svc-cards .svc:nth-child(4) { grid-column: 2 / span 2; } /* centers the 2-card second row */
/* Photo bleeds to the card edges (Naeem 6-11) — text keeps its inset below */
.svc-cards .svc { padding: 0 0 var(--s-5); overflow: hidden; }
.svc-cards .svc .pattern-slot { border: 0; border-radius: 0; margin-bottom: var(--s-2); aspect-ratio: 16 / 10; }
.svc-cards .svc h3, .svc-cards .svc p { padding-inline: var(--s-5); }
.svc-cards .svc h3 { font-size: var(--text-h3); }
@media (max-width: 64rem) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cards .svc, .svc-cards .svc:nth-child(4) { grid-column: auto; }
}
@media (max-width: 40rem) {
  .svc-cards { grid-template-columns: 1fr; gap: var(--s-4); }
  .svc-cards .svc .pattern-slot { aspect-ratio: 2 / 1; }
}

/* ---------- Trade pair: light Floors band + deep Shower band, both flush-left (tinted-sand → deep surface descent) ---------- */
.floors2 { position: relative; overflow: hidden; background: var(--sand-deep); }
.floors2__content {
  position: relative; max-width: 44rem;
  display: grid; gap: var(--s-5); justify-items: start;
}
.floors2 .spotlight__points strong { color: var(--deep); }
.floors2 .spotlight__points li small { display: block; color: var(--ink-soft); font-size: var(--text-sm); margin-top: .15rem; }
.floors2 .spotlight__points li::before { background: var(--teal); }

/* ---------- Quote diptych ---------- */
.diptych {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
}
@media (max-width: 56rem) { .diptych { grid-template-columns: 1fr; } }
.diptych__half {
  position: relative; display: grid; gap: var(--s-5); align-content: center; justify-items: center;
  text-align: center; padding: clamp(var(--s-7), 6vw, var(--s-9)) clamp(var(--s-5), 5vw, var(--s-8));
  min-height: 22rem;
}
.diptych__half--deep { background: var(--deep); color: var(--sand); }
.diptych__half--sand { background: var(--paper); color: var(--ink); }
.diptych__half blockquote {
  font-family: var(--display); font-weight: 700; letter-spacing: -.012em;
  font-size: clamp(1.25rem, 1.05rem + 1.1vw, 1.75rem); line-height: 1.32; max-width: 24ch;
}
.diptych__half--deep blockquote { color: #fff; }
.diptych__half figcaption { font-size: var(--text-sm); font-weight: 600; }
.diptych__half--deep figcaption { color: var(--on-deep-soft); }
.diptych__half--sand figcaption { color: var(--ink-soft); }
.diptych__half .quote__mark { width: 2.5rem; height: 2.5rem; }
.diptych__half--sand .quote__mark { color: var(--teal); }

/* ---------- Estimate head (mini-minimalist close) ---------- */
.estimate-head { display: grid; gap: var(--s-4); justify-items: center; text-align: center; margin-bottom: var(--s-7); }
.estimate-head .lead { margin-inline: auto; }
.estimate-head .eyebrow { padding-left: .26em; } /* optical centering vs the trailing letterspace */
.section-head--center { justify-items: center; text-align: center; max-width: none; }
.h-quiet { font-size: var(--text-h3); } /* deliberate de-emphasis while reviews are samples */

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: clip; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr);
  gap: clamp(var(--s-6), 4vw, var(--s-8)); align-items: center;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.hero__copy { display: grid; gap: var(--s-5); justify-items: start; }
.hero__copy h1 { font-size: var(--text-hero); }
.hero__copy .lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.hero__art { position: relative; z-index: 1; }
.hero__art .tile-art {
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr .8fr 1.1fr;
  aspect-ratio: 10 / 10.5;
  margin-right: calc(var(--gutter) * -1.4);   /* bleeds off the right edge */
  margin-bottom: -4.25rem;                    /* dips into the band below — composed depth */
}
.section--overlapped { padding-top: calc(var(--section) * .75 + 4.25rem); }
.hero__fact {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  padding-top: var(--s-5); border-top: 1px solid var(--line);
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-soft);
}
.hero__fact span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__fact svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

@media (max-width: 56rem) {
  .hero__grid { grid-template-columns: 1fr; padding-block: var(--s-7) var(--s-6); }
  .hero__art .tile-art { margin-right: 0; margin-bottom: 0; aspect-ratio: 16 / 11; grid-template-rows: 1fr .9fr; }
  .hero__art .t-hide-m { display: none; }
  .section--overlapped { padding-top: var(--section); }
}

/* ---------- Services bento (6 cards → 3 URLs; shower dominant) ---------- */
.bento {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "shower shower lvp  hardwood"
    "shower shower tile backsplash"
    "convert convert tile backsplash";
}
.bento > :nth-child(1) { grid-area: shower; }
.bento > :nth-child(2) { grid-area: convert; }
.bento > :nth-child(3) { grid-area: lvp; }
.bento > :nth-child(4) { grid-area: hardwood; }
.bento > :nth-child(5) { grid-area: tile; }
.bento > :nth-child(6) { grid-area: backsplash; }
@media (max-width: 64rem) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "shower shower" "shower shower" "convert convert"
      "lvp hardwood" "tile backsplash";
  }
}
@media (max-width: 36rem) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "shower" "convert" "lvp" "hardwood" "tile" "backsplash"; }
}

.svc {
  position: relative; display: flex; flex-direction: column; gap: var(--s-2);
  background: var(--deep); border: 1px solid color-mix(in oklab, var(--sand) 12%, var(--deep));
  border-radius: var(--r-lg);
  padding: var(--s-5); text-decoration: none; color: var(--on-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 14px 30px -18px rgba(18, 48, 66, .45);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.svc:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 44px -20px rgba(18, 48, 66, .55);
  border-color: color-mix(in oklab, var(--sky) 40%, var(--deep));
}
.svc:active { transform: scale(.99); border-color: color-mix(in oklab, var(--sky) 40%, var(--deep)); }
.svc h3 { display: flex; align-items: baseline; gap: var(--s-2); color: #fff; }
.svc p { font-size: var(--text-sm); color: var(--on-deep-soft); }
.svc__go {
  margin-top: auto; padding-top: var(--s-3);
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-text);
}
.svc__go svg { width: 14px; height: 14px; transition: transform var(--t-med) var(--ease-out); }
.svc:hover .svc__go svg { transform: translateX(4px); }

.svc--feature {
  background: var(--deep); color: var(--sand); border-color: transparent;
  justify-content: end; min-height: 22rem; overflow: hidden;
}
.svc--feature h3 { color: #fff; font-size: var(--text-h2); font-weight: 800; letter-spacing: -.015em; }
.svc--feature p { color: var(--on-deep-soft); font-size: var(--text-base); max-width: 38ch; }
.svc--feature .svc__go { color: var(--sky); }
.svc--feature .svc__art {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 85% -10%, color-mix(in srgb, var(--teal) 55%, transparent) 0%, transparent 60%);
}
.svc--feature .svc__art svg { position: absolute; top: -10%; right: -8%; width: 52%; aspect-ratio: 1; height: auto; opacity: .12; color: var(--sky); }
.svc--feature > * { position: relative; }

.honesty {
  margin-top: var(--s-5); display: flex; align-items: center; gap: var(--s-3);
  color: var(--ink-soft); font-size: var(--text-sm); font-weight: 600;
}
.honesty svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* ---------- Spotlight band (shower specialty) ---------- */
.spotlight { overflow: clip; }
.spotlight__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(var(--s-6), 4vw, var(--s-9)); align-items: center;
}
.spotlight__copy { display: grid; gap: var(--s-5); justify-items: start; }
.spotlight__points { display: grid; gap: var(--s-3); padding: 0; margin: 0; list-style: none; }
.spotlight__points li { display: flex; gap: var(--s-3); align-items: baseline; max-width: 52ch; }
.spotlight__points li::before {
  content: ''; width: .55rem; height: .55rem; border-radius: 2px;
  background: var(--sky); flex: none; transform: translateY(-.08em);
}
.spotlight__points strong { color: #fff; }
.spotlight__art .tile-art {
  background: color-mix(in oklab, var(--deep) 65%, var(--ink));
  grid-template-columns: 1fr 1.25fr; grid-template-rows: 1.2fr 1fr; aspect-ratio: 10 / 9;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
  margin-right: calc(var(--gutter) * -.8);
}
@media (max-width: 56rem) {
  .spotlight__grid { grid-template-columns: 1fr; }
  .spotlight__art .tile-art { margin-right: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Why rows (no cards — grout dividers, numbered) ---------- */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: start; }
.why__head { position: sticky; top: 6.5rem; display: grid; gap: var(--s-4); justify-items: start; }
.why__list { border-top: 1px solid var(--line); }
.why__row { padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.why__num { font-family: var(--display); font-weight: 800; font-size: var(--text-h3); color: var(--teal); line-height: 1.2; }
.why__row h3 { margin-bottom: var(--s-2); }
.why__row p { color: var(--ink-soft); font-size: var(--text-base); }
@media (max-width: 56rem) { .why { grid-template-columns: 1fr; } .why__head { position: static; } }

/* ---------- Process steps (staggered, not 3 equal columns) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(var(--s-5), 3vw, var(--s-7)); align-items: start; }
.step { display: grid; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.step__kicker { display: flex; align-items: center; gap: var(--s-3); }
.step p { color: var(--ink-soft); font-size: var(--text-base); }
@media (max-width: 56rem) {
  .steps { grid-template-columns: 1fr; }
}
/* #how on the deep band (Naeem 6-23): keep step hairlines, body copy, and the closing
   text-link readable on navy (the sand-tinted defaults vanish against --deep). */
.band-deep .step { border-color: var(--line-on-deep); }
.band-deep .step p { color: var(--on-deep-soft); }
.band-deep .text-link { color: var(--sky); }

/* ---------- Work grid — calm uniform gallery (Naeem 6-11; art-directed scatter retired) ---------- */
.work-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* clean 2×2 for the 4 real photos */
.work-grid .pattern-slot { aspect-ratio: 16 / 10; } /* one ratio for every slot — photos crop to match */
.work-item { display: grid; gap: var(--s-3); }
.work-item figcaption { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
@media (max-width: 56rem) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .work-grid--four { grid-template-columns: 1fr; } } /* full-width photos on phones */
@media (max-width: 36rem) { .work-grid { gap: var(--s-4); } }

/* ---------- Quotes (sample-labeled until real reviews exist) ---------- */
.quotes { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-5); align-items: start; }
@media (max-width: 56rem) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); display: grid; gap: var(--s-4); position: relative;
}
.quote:nth-child(2) { margin-top: var(--s-6); }
@media (max-width: 56rem) { .quote:nth-child(2) { margin-top: 0; } }
.quote blockquote { font-size: var(--text-lg); line-height: 1.5; font-weight: 600; color: var(--ink); max-width: 44ch; }
.quote figcaption { font-size: var(--text-sm); color: var(--ink-soft); font-weight: 600; }
.quote__mark { width: 2rem; height: 2rem; color: var(--sky); }
/* ---------- Comparison table (flooring) ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.compare-hint { display: none; font-size: var(--text-xs); font-weight: 700; color: var(--ink-soft); margin-top: var(--s-2); }
@media (max-width: 56rem) { .compare-hint { display: block; } }
.compare { width: 100%; border-collapse: collapse; min-width: 44rem; }
.compare caption { text-align: left; padding: var(--s-5) var(--s-5) 0; font-weight: 700; font-family: var(--display); font-size: var(--text-h3); }
.compare th, .compare td { text-align: left; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line-soft); font-size: var(--text-sm); vertical-align: top; }
.compare thead th { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-family: var(--display); font-weight: 700; font-size: var(--text-base); white-space: nowrap; }
.compare td em { font-style: normal; font-weight: 700; color: var(--teal-text); }

/* ---------- Zig-zag rows (service pages) ---------- */
.zig { display: grid; gap: var(--s-8); }
.zig__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--s-6), 4vw, var(--s-8)); align-items: center; }
.zig__row:nth-child(even) .zig__media { order: -1; }
.zig__copy { display: grid; gap: var(--s-4); justify-items: start; }
.zig__copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.zig__copy ul li { display: flex; gap: var(--s-3); align-items: baseline; color: var(--ink-soft); }
.zig__copy ul svg { width: 14px; height: 14px; flex: none; transform: translateY(2px); color: var(--teal); }
@media (max-width: 56rem) {
  .zig__row { grid-template-columns: 1fr; }
  .zig__row:nth-child(even) .zig__media { order: 0; }
}

/* ---------- FAQ (visible content; no FAQPage schema by design) ---------- */
.faq { border-top: 1px solid var(--line); max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-2); cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: var(--text-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--teal); transition: transform var(--t-med) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 var(--s-2) var(--s-5); color: var(--ink-soft); max-width: 60ch; }

/* ---------- Call panel — phone is the only conversion path (Naeem 6-11, no forms) ---------- */
.call-panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(var(--s-6), 4vw, var(--s-8)); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(var(--s-6), 4vw, var(--s-8)); box-shadow: var(--shadow-md);
}
.call-panel__line { display: grid; gap: var(--s-3); justify-items: start; }
.call-panel__number {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(1.55rem, .4rem + 5.6vw, 3.5rem); color: var(--deep);
  text-decoration: none; white-space: nowrap;
}
a.call-panel__number:hover { color: var(--teal-text); }
/* pending number = even baseline slots, not sagging underscores */
.call-panel__blank i { display: inline-block; width: .5em; height: .6em; margin: 0 .045em; border-bottom: .06em solid color-mix(in oklab, var(--deep) 32%, var(--sand)); }
.call-panel__blank b { font-weight: 800; color: color-mix(in oklab, var(--deep) 42%, var(--sand)); margin: 0 .05em; }
.call-panel__pending { font-size: var(--text-sm); color: var(--ink-soft); }
.call-panel__pending small {
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-text); border: 1px dashed color-mix(in oklab, var(--teal) 45%, transparent);
  border-radius: 99px; padding: .1rem .5rem; margin-right: .4rem; white-space: nowrap;
}
@media (max-width: 56rem) { .call-panel { grid-template-columns: 1fr; align-items: start; } }
/* Service-page #call terminus — Call Now button (becomes the tel: link at launch; Naeem 7-07) */
.call-close { display: grid; gap: var(--s-4); justify-items: center; text-align: center; }
.call-close__note { font-size: var(--text-sm); color: var(--ink-soft); max-width: 44ch; }

/* ---------- Next-steps list (the 3-step strip under the service-page #call) ---------- */
.next-steps { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s-3); counter-increment: ns; font-size: var(--text-sm); color: var(--ink-soft); }
.next-steps li::before {
  content: counter(ns);
  font-family: var(--display); font-weight: 800; color: var(--sand);
  width: 2rem; height: 2rem; background: var(--deep); border: 0;
  border-radius: var(--r-md); display: grid; place-items: center; font-size: var(--text-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.next-steps strong { color: var(--ink); display: block; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; }
.page-hero__copy { display: grid; gap: var(--s-4); justify-items: start; }
@media (max-width: 56rem) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--r-xl); background: var(--deep); color: var(--on-deep); padding: clamp(var(--s-6), 5vw, var(--s-8)); position: relative; overflow: hidden; display: grid; gap: var(--s-5); justify-items: start; }
.cta-band h2 { color: #fff; }
.cta-band__art { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 100% at 92% 0%, color-mix(in srgb, var(--teal) 50%, transparent) 0%, transparent 55%); }
.cta-band__art svg { position: absolute; right: -4%; bottom: -16%; width: 34%; height: auto; opacity: .14; color: var(--sky); }
.cta-band > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-soft); border-top: 1px solid var(--line-on-deep); } /* hairline seam — needed now the homepage closes on a deep band; invisible after light sections */
.site-footer a { color: var(--on-deep-soft); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6); padding-block: var(--s-8) var(--s-6); }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: var(--s-4); justify-items: start; align-content: start; }
.footer-brand .brand__name, .footer-brand .brand__sub { color: #fff; }
.footer-brand .brand__sub { color: var(--sky); }
.footer-brand p { font-size: var(--text-sm); max-width: 30ch; }
.footer-col h3 { font-family: var(--body); font-size: var(--text-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); font-size: var(--text-sm); font-weight: 600; }
.footer-base { border-top: 1px solid var(--line-on-deep); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: var(--text-xs); font-weight: 600; }
.site-footer .tel-pending small { color: var(--sky); border-color: color-mix(in oklab, var(--sky) 45%, transparent); }
.band-deep :focus-visible, .site-footer :focus-visible {
  outline-color: var(--sky);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--sky) 25%, transparent);
}
/* Teal action surfaces — the teal ring vanishes on them (1.07:1); use white-on-deep instead */
.btn--primary:focus-visible, .mobile-bar__cta:focus-visible {
  outline: 2px solid #fff; outline-offset: -4px;
  box-shadow: 0 0 0 3px var(--deep);
}

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-bar);
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem; font-weight: 700; font-size: var(--text-sm); text-decoration: none; min-height: 54px;
}
.mobile-bar a svg { width: 17px; height: 17px; }
.mobile-bar a:active { filter: brightness(.93); }
.mobile-bar__call { background: var(--paper); color: var(--deep); }
.mobile-bar__cta { background: var(--teal-action); color: #fff; }
@media (max-width: 56rem) {
  .mobile-bar { display: grid; transform: translateY(110%); transition: transform var(--t-med) var(--ease-out); }
  .past-hero .mobile-bar { transform: none; } /* slide in only once past the brand-splash hero */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Mobile polish (taste pass 6-11) ---------- */
@media (max-width: 36rem) {
  /* equal-width stacked hero CTAs — no centered stagger */
  .hero-scrub .hero__ctas { flex-direction: column; align-items: stretch; width: min(100%, 17rem); margin-inline: auto; }
  .hero-scrub .hero__ctas .btn { width: 100%; }
  /* trust banner as a flush-left column, centered as a block */
  .trust-strip__row { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; gap: var(--s-2); }
  /* call pending: chip sits on its own line above the sentence */
  .call-panel__pending { display: grid; gap: .25rem; justify-items: start; }
  .call-panel__pending small { margin-right: 0; }
}

/* ---------- Scroll reveals (MOTION 4 — transform/opacity only) ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: calc(min(var(--i, 0), 6) * 70ms);
}
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; }
  .js .reveal.is-in { transition: opacity 200ms ease-out; transition-delay: 0ms; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .btn.is-loading .btn__spinner { animation-duration: .8s !important; } /* keep functional spinner */
}

/* ---------- Spec list (2-col grout rows — shower options, backsplash styles) ---------- */
.spec-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.spec-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4);
  padding: var(--s-5) var(--s-4) var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.spec-item svg { width: 16px; height: 22px; color: var(--teal); transform: translateY(4px); }
.spec-item h3 { margin-bottom: var(--s-1); font-size: var(--text-lg); }
.spec-item p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 56rem) { .spec-list { grid-template-columns: 1fr; } .spec-item { padding-right: 0; } }

/* ---------- Notice panel (pending content, never fake) ---------- */
.notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: start;
  background: var(--teal-soft); border: 1px dashed color-mix(in oklab, var(--teal) 40%, transparent);
  border-radius: var(--r-lg); padding: var(--s-5);
}
.notice svg { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.notice p { font-size: var(--text-sm); color: var(--ink-soft); max-width: 70ch; }
.notice strong { color: var(--ink); }

/* Hide the sticky bar where the page IS the conversion */
.no-bar .mobile-bar { display: none; }
.no-bar { padding-bottom: 0 !important; }

/* ==========================================================================
   Service-page build-out (call-only) + "Serving all of East Texas" #call block
   Added 2026-06-22. Subpages rebuilt call-only off the homepage system; the
   estimate form is gone, so the #call section carries the service-area map.
   ========================================================================== */

/* Spec-list markers move from the retired water-drop to the brand check */
.spec-item svg { width: 18px; height: 18px; transform: translateY(3px); }
.honesty svg { width: 16px; height: 16px; }

/* Interior page hero photo (real image in place of the old tile-art) */
.page-hero__media { position: relative; }
.page-hero__media .pattern-slot { aspect-ratio: 16 / 11; box-shadow: var(--shadow-lg); }
@media (max-width: 56rem) { .page-hero__media .pattern-slot { aspect-ratio: 16 / 10; } }

/* Serving all of East Texas — counties (left) + service-area map (right) */
.service-area {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(var(--s-6), 4vw, var(--s-8)); align-items: center;
}
@media (max-width: 56rem) { .service-area { grid-template-columns: 1fr; gap: var(--s-6); } }
.service-area__lead { display: grid; gap: var(--s-5); align-content: center; justify-items: start; }
.area-head { display: grid; gap: var(--s-2); }
.area-head h3 { font-size: var(--text-h3); }

.county-list {
  list-style: none; margin: 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5);
}
/* town names are short (no seat-town subtexts anymore) — 2-col holds on small phones */
.county-list li { display: flex; align-items: baseline; gap: var(--s-2); font-size: var(--text-sm); color: var(--ink); }
.county-list svg { width: 13px; height: 14px; color: var(--teal); flex: none; transform: translateY(2px); }
.county-list b { font-weight: 700; }
.county-list small { display: block; color: var(--ink-soft); font-size: var(--text-xs); font-weight: 600; }

.area-map {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-on-deep); box-shadow: var(--shadow-lg);
  background: color-mix(in oklab, var(--deep) 72%, black); /* loading backdrop matches the dark map */
}
/* Dark brand tint — inverts the light map to charcoal-navy, roads read as light linework */
.area-map iframe { filter: grayscale(1) invert(.9) sepia(.45) hue-rotate(175deg) saturate(1.8) brightness(.95) contrast(1.05); }
/* Inner vignette seats the map into the deep band */
.area-map::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, black 30%, transparent),
              inset 0 0 72px color-mix(in srgb, black 32%, transparent);
}
.area-map__ring {
  position: absolute; top: 50%; left: 50%; width: 234px; height: 234px; /* 75-mi radius at z=7 */
  transform: translate(-50%, -50%); border: 2.5px dashed var(--sky); border-radius: 50%;
  background: color-mix(in oklab, var(--sky) 12%, transparent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--sky) 7%, transparent);
  pointer-events: none;
}
.area-map__townpin {
  position: absolute; left: calc(50% + var(--dx)); top: calc(50% + var(--dy));
  transform: translate(-50%, -100%); pointer-events: none; color: var(--sky);
}
.area-map__townpin svg { display: block; width: 18px; height: 19px; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .55)); }
/* Covers Google's satellite-toggle thumbnail (bottom-left) — a bright blob on the dark map */
.area-map__patch {
  position: absolute; left: 4px; bottom: 10px; width: 68px; height: 78px;
  background: color-mix(in oklab, var(--deep) 55%, black); border-radius: 8px; pointer-events: none;
}
.area-map__pin {
  position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
  transform: translate(-50%, -50%); background: var(--teal);
  border: 2.5px solid #fff; border-radius: 50%;
  box-shadow: 0 1px 6px rgba(13, 20, 26, .35); pointer-events: none;
}
.area-map__chip {
  position: absolute; top: var(--s-4); left: var(--s-4);
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--deep); color: var(--sand);
  font: 700 12px/1 var(--body); letter-spacing: .04em;
  padding: .5rem .75rem; border-radius: 99px;
  border: 1px solid var(--line-on-deep); box-shadow: var(--shadow-md); pointer-events: none;
}
.area-map__chip svg { width: 11px; height: 12px; color: var(--sky); flex: none; }
/* Town list on the deep band */
.band-deep .county-list li { color: var(--on-deep); }
.band-deep .county-list svg { color: var(--sky); }
/* Service-page process rows + light emphasis (promoted from inline styles 6-22) */
.band-deep .why__list, .band-deep .why__row { border-color: var(--line-on-deep); }
.why__row--num { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.em-light { font-style: normal; color: #fff; }

/* More from PFG — light sibling cross-links near the page close */
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
@media (max-width: 56rem) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .related { grid-template-columns: 1fr; } }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 700; font-size: var(--text-sm);
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.related a:hover { border-color: color-mix(in oklab, var(--teal) 40%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.related a svg { width: 15px; height: 15px; color: var(--teal-text); flex: none; transition: transform var(--t-med) var(--ease-out); }
.related a:hover svg { transform: translateX(3px); }

/* ---------- Header "Services" dropdown (CSS-only: hover + focus-within; mobile drawer = indented inline list) ---------- */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd__trigger { display: inline-flex; align-items: center; gap: .3rem; }
.nav-dd__caret { transition: transform var(--t-med) var(--ease-out); }
.nav-dd:hover .nav-dd__caret, .nav-dd:focus-within .nav-dd__caret { transform: rotate(180deg); }
.nav-dd__panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 15rem;
  display: grid; gap: 1px; padding: var(--s-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility var(--t-med);
  z-index: calc(var(--z-nav) + 1);
}
.nav-dd__panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dd:hover .nav-dd__panel, .nav-dd:focus-within .nav-dd__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.site-nav .nav-dd__panel a {
  display: block; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 600; color: var(--ink); white-space: nowrap;
  background-image: none;
}
.site-nav .nav-dd__panel a:hover { color: var(--ink); background-color: var(--sand-deep); }
@media (max-width: 56rem) {
  .nav-dd { display: block; }
  .nav-dd__caret { display: none; }
  .nav-dd__panel {
    position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    min-width: 0; padding: 0 0 0 var(--s-5); background: transparent; border: 0; border-radius: 0; box-shadow: none; gap: 0;
  }
  .nav-dd__panel::before { display: none; }
  .site-nav .nav-dd__panel a { padding: .75rem var(--s-2); border-bottom: 1px solid var(--line-soft); border-radius: 0; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.flow-tight > * + * { margin-top: var(--s-2); }
.mt-7 { margin-top: var(--s-7); }
.mt-6 { margin-top: var(--s-6); }
.mt-5 { margin-top: var(--s-5); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
