/* ============================================================
   Clear View Surface Solutions — prototype v2
   Premium home-service contractor layout.
   Dark navy + warm copper. Bricolage / DM Sans / JetBrains Mono.
   Standard industry sections. Scannable. Cards-based.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Air Force blues + USAF gold — confident, crisp, ties to David's
   * veteran identity through visual language without text drumbeat. */
  --ink:        #0a1633;     /* deep AF-aligned navy (background) */
  --ink-deep:   #060e22;     /* near-black for contrast wells */
  --ink-soft:   #1a2c52;     /* slightly raised surface */
  --ink-card:   #152444;     /* card surfaces — lighter AF blue */
  --ink-edge:   #243a6b;     /* card borders, dividers */

  --paper:      #f2f0e8;     /* warm vellum (still warm — contrasts AF blue) */
  --paper-dim:  #b3b2a8;
  --paper-mute: #6c6d6c;

  /* USAF heraldic gold — bright, confident, official feel.
   * Variable name kept as --copper for backwards-compat; treated
   * everywhere as the primary action color. */
  --copper:     #FFB81C;     /* USAF gold (PMS 109 family) */
  --copper-dk:  #D89A12;
  --copper-lt:  #FFCC52;
  --glass:      #5C9CD8;     /* USAF Academy lighter blue (secondary accent) */

  --good:       #4ade80;
  --warn:       #f59e0b;

  --bord:       1px solid rgba(244, 240, 230, 0.08);
  --bord-strong: 1px solid rgba(244, 240, 230, 0.16);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04), 0 8px 24px rgba(0,0,0,0.32);
  --shadow-card-h: 0 1px 0 rgba(255,255,255,0.06), 0 14px 32px rgba(0,0,0,0.42);

  --radius:     6px;
  --radius-lg:  10px;

  /* Home-service contractor fonts: Manrope (one geometric sans for
   * display + body — friendly, professional, distinctive without
   * being editorial) + JetBrains Mono for technical accents. */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --t-eyebrow: 0.75rem;
  --t-meta:    0.8125rem;
  --t-body:    1.125rem;        /* 18px — bumped from 17 for legibility */
  --t-card:    1rem;            /* 16px — for card body text (was 15) */
  --t-lead:    1.25rem;
  --t-h3:      1.5rem;
  --t-h2:      clamp(2rem, 4vw, 3rem);
  --t-h1:      clamp(2.5rem, 6.5vw, 5rem);

  --tr-tight: -0.02em;
  --tr-wide:  0.14em;

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --dur:      280ms;

  /* Bumped from 1.25rem → 1.5rem so mobile (320-420px) gets ≥24px of
   * edge breathing room without feeling crammed. Desktop unchanged. */
  --gutter:   clamp(1.5rem, 4.5vw, 2.5rem);
  --max:      1280px;
}

/* ---------- 2. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;        /* generous leading for legibility on dark */
  font-weight: 500;         /* Manrope 500 reads better on dark than 400 */
  letter-spacing: -0.005em; /* slight tightening for cleaner read */
  color: var(--paper);
  background: var(--ink);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--ink-deep); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- 3. Reusable bits ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 60ch;
}
.section-head--center {
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.section-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: var(--tr-tight);
  color: var(--paper);
  margin: 0 0 1rem;
  font-variation-settings: 'opsz' 96;
}
.section-h em {
  font-style: italic; font-weight: 500;
  color: var(--glass);
  font-variation-settings: 'opsz' 96;
}
.section-lead {
  font-family: var(--font-body);
  font-size: 1.125rem;       /* 18 — match body */
  line-height: 1.65;
  color: var(--paper-dim);
  font-weight: 450;
  margin: 0;
}
.section-lead strong { color: var(--paper); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.5em;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--dur), background var(--dur), border-color var(--dur), color var(--dur), box-shadow var(--dur);
  cursor: pointer;
}
.btn--primary {
  background: var(--copper);
  color: var(--ink-deep);
  box-shadow: 0 1px 0 var(--copper-dk), 0 8px 22px rgba(255, 184, 28,0.22);
}
.btn--primary:hover {
  background: var(--copper-lt);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 var(--copper-dk), 0 14px 30px rgba(255, 184, 28,0.36);
}
.btn--ghost {
  background: rgba(244,240,230,0.06);
  color: var(--paper);
  border-color: rgba(244,240,230,0.32);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(244,240,230,0.12);
  border-color: var(--paper);
}

/* ---------- 4. Top bar ---------- */
.topbar {
  background: var(--ink-deep);
  border-bottom: var(--bord);
  padding: 0.65rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.topbar__chip {
  display: inline-flex; align-items: center; gap: 0.5em;
}
.topbar__chip--mid { color: var(--paper); }
.topbar__chip svg { color: var(--copper); }
@media (max-width: 720px) { .topbar__chip--mid, .topbar__chip:last-child { display: none; } }

/* ---------- 5. Header ---------- */
.head {
  position: sticky; top: 0;
  z-index: 90;
  background: rgba(20, 34, 56, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: var(--bord);
}
.head__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 0.95rem 0;
}
.head__brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display);
  color: var(--paper);
}
.head__logomark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--copper);
}
.head__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.head__brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.head__brand-name em { font-style: italic; color: var(--glass); font-weight: 500; }
.head__brand-text small {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
}
.head__nav {
  display: flex; justify-content: center; gap: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.head__nav a {
  color: var(--paper-dim);
  position: relative; padding: 0.5rem 0;
  transition: color var(--dur);
}
.head__nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur);
}
.head__nav a:hover { color: var(--paper); }
.head__nav a:hover::after { transform: scaleX(1); }

.head__ctas { display: flex; gap: 0.65rem; align-items: center; }
.head__phone {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--paper);
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.55em 0.85em;
}
.head__phone svg { color: var(--copper); }
.head__btn {
  background: var(--copper);
  color: var(--ink-deep);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7em 1.1em;
  border-radius: 4px;
  transition: background var(--dur);
}
.head__btn:hover { background: var(--copper-lt); }

.head__toggle { display: none; }
@media (max-width: 1100px) {
  .head__nav { display: none; }
}
@media (max-width: 720px) {
  .head__inner { grid-template-columns: auto 1fr auto; gap: 0.75rem; }
  .head__phone { display: none; }
  .head__btn { padding: 0.6em 0.9em; font-size: 0.8125rem; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: end;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
  isolation: isolate;
}
.hero__photo {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover;
  background-position: center 60%;
  filter: contrast(1.05) saturate(0.86) brightness(0.78);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(13,24,39,0.55) 0%, rgba(13,24,39,0.05) 35%, rgba(13,24,39,0.0) 60%, rgba(13,24,39,0.92) 100%),
    radial-gradient(120% 80% at 25% 110%, rgba(13,24,39,0.0) 0%, rgba(13,24,39,0.45) 55%, rgba(13,24,39,0.85) 100%);
}
.hero__inner {
  position: relative; z-index: 3;
  /* padding-block only — preserve .wrap's padding-inline so text gets
   * proper edge breathing room on mobile (was `padding: 7rem 0 4rem`
   * which zeroed inline padding and let text bleed to viewport edges). */
  padding-block: 7rem 4rem;
  max-width: 720px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.5rem;
  display: inline-flex; align-items: center; gap: 0.6em;
}
.hero__eyebrow::before {
  content: ''; width: 2.5rem; height: 1px; background: var(--copper); opacity: 0.7;
}
.hero__h {
  /* Switched from Manrope 600 → Archivo Black for command presence at
   * the top of the page. Single-weight designed-as-black geometric sans
   * pairs with Manrope body without clashing. Letter-spacing pulled
   * tighter (-0.035em) since Archivo Black is wide by design and needs
   * the air closed up at large sizes. */
  font-family: 'Archivo Black', var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 1.5rem;
  text-transform: none;
}
/* The italic accent word ("Surfaces built to last.") stays Manrope to
 * give the second sentence a softer counter-weight against the heavy
 * Archivo Black, plus the lighter italic blue feels like a tagline
 * rather than a continuation of the headline. */
.hero__h em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--glass);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--paper);          /* brighter on hero photo for legibility */
  font-weight: 500;
  max-width: 52ch;
  margin: 0 0 2rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.25rem; }
.hero__signals {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(244, 240, 230, 0.18);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
}
.hero__signals strong { color: var(--copper); font-weight: 600; }

/* ---------- 7. Trust banner ---------- */
.trust {
  background: var(--ink-deep);
  border-top: var(--bord);
  border-bottom: var(--bord);
  padding: 1.5rem 0;
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: center;
}
.trust__cell {
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-right: var(--bord);
}
.trust__cell:last-child { border-right: 0; }
.trust__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--copper);
  line-height: 1;
  font-variation-settings: 'opsz' 96;
}
.trust__num small {
  font-size: 0.55em;
  font-weight: 500;
  margin-left: 0.15em;
  letter-spacing: 0.05em;
}
.trust__lbl {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}
.trust__badge { max-height: 56px; width: auto; margin: 0 auto; }
@media (max-width: 720px) {
  /* Switch from grid → flex on mobile so the orphan row (2 cells when
   * there are 5 total) centers itself instead of left-aligning. flex-wrap
   * + justify-content: center handles it naturally. */
  .trust__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 0;
  }
  .trust__cell {
    flex: 0 0 33.333%;
    border-right: 0;
    border-bottom: var(--bord);
    padding-bottom: 1rem;
  }
  /* Last row (4th + 5th cells) — drop both borders and the bottom
   * padding. Row 1 cells already carry a continuous bottom border that
   * acts as the row divider; adding per-cell top borders here would
   * fragment into multiple lines (one per cell) since the orphan row
   * is centered with empty space on either side. */
  .trust__cell:nth-last-child(-n+2) {
    border-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
    border-top: 0;
  }
}

/* ---------- 8. Services ---------- */
.services {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
  box-shadow: var(--shadow-card);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 28, 0.4);
  box-shadow: var(--shadow-card-h);
}
.svc-card__photo {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: contrast(1.04) saturate(0.92);
}
.svc-card:hover .svc-card__photo { filter: contrast(1.08) saturate(1); }
.svc-card__chip {
  position: absolute; top: 0.85rem; left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--ink-deep);
  background: var(--copper);
  padding: 0.4em 0.7em;
  border-radius: 3px;
}
.svc-card__body {
  padding: 1.5rem 1.5rem 1.5rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.svc-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 0 0 0.65rem;
  font-variation-settings: 'opsz' 32;
}
.svc-card__desc {
  font-family: var(--font-body);
  font-size: var(--t-card);     /* 16 — bumped from 15 */
  line-height: 1.6;
  color: var(--paper-dim);
  font-weight: 450;
  margin: 0 0 1rem;
}
.svc-card__feat {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;          /* 15 — kept smaller for feature lists */
  color: var(--paper-dim);
  font-weight: 450;
}
.svc-card__feat li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  border-top: 1px solid rgba(244, 240, 230, 0.06);
}
.svc-card__feat li:first-child { border-top: 0; }
.svc-card__feat li::before {
  content: '✓';
  position: absolute; left: 0; top: 0.4rem;
  color: var(--copper);
  font-weight: 600;
}
.svc-card__cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.2em;
  align-self: start;
  margin-top: auto;
}
.svc-card:hover .svc-card__cta { color: var(--copper-lt); border-color: var(--copper-lt); }

.svc-card--cta {
  background: linear-gradient(140deg, rgba(255, 184, 28, 0.18), rgba(255, 184, 28, 0.04));
  border-color: rgba(255, 184, 28, 0.35);
}
.svc-card__body--cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.svc-card__cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  display: block;
}
.svc-card__cta-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  background: var(--copper);
  color: var(--ink-deep);
  padding: 0.85em 1.4em;
  border-radius: 4px;
  margin-top: 1rem;
}

/* ---------- 9. Why Us ---------- */
.why {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink-deep);
  border-top: var(--bord);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: left;
}
.why-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255, 184, 28, 0.12);
  border: 1px solid rgba(255, 184, 28, 0.32);
  border-radius: 4px;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.why-card__p {
  font-family: var(--font-body);
  font-size: var(--t-card);
  color: var(--paper-dim);
  line-height: 1.6;
  font-weight: 450;
  margin: 0;
}

/* ---------- 10. Pricing cards ---------- */
.pricing {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink);
  border-top: var(--bord);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
  box-shadow: var(--shadow-card);
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 184, 28, 0.32);
  box-shadow: var(--shadow-card-h);
}
.price-card--featured {
  background: linear-gradient(180deg, rgba(255, 184, 28, 0.12), rgba(255, 184, 28, 0.02));
  border: 1.5px solid var(--copper);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 184, 28, 0.15), var(--shadow-card-h);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-3px); }
@media (max-width: 1100px) {
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-3px); }
}
.price-card__flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--ink-deep);
  background: var(--copper);
  padding: 0.5em 0.9em;
  border-radius: 3px;
  white-space: nowrap;
}
.price-card__top {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--bord);
}
.price-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--paper);
  letter-spacing: -0.015em;
  margin: 0 0 0.25em;
}
.price-card__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
  margin: 0;
}
.price-card__num { margin-bottom: 1.5rem; }
.price-card__money {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--paper);
  letter-spacing: 0.01em;
  font-feature-settings: 'tnum' 1;
}
.price-card__money span {
  color: var(--paper-dim); font-weight: 500; font-size: 0.85em;
}
.price-card--featured .price-card__money { color: var(--copper); }
.price-card--featured .price-card__money span { color: var(--copper-dk); }
.price-card__per {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-top: 0.5em;
}
.price-card__list {
  margin: 0 0 1.75rem;
  flex: 1;
}
.price-card__list li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--paper-dim);
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(244, 240, 230, 0.06);
}
.price-card__list li:last-child { border-bottom: 0; }
.price-card__list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0.55rem;
  color: var(--copper);
  font-weight: 600;
}
.price-card__list strong { color: var(--paper); font-weight: 500; }
.price-card__btn {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: rgba(244, 240, 230, 0.06);
  border: 1px solid rgba(244, 240, 230, 0.2);
  padding: 0.85em 1em;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.price-card__btn:hover {
  background: var(--paper);
  color: var(--ink-deep);
  border-color: var(--paper);
}
.price-card__btn--featured {
  background: var(--copper);
  color: var(--ink-deep);
  border-color: var(--copper);
}
.price-card__btn--featured:hover {
  background: var(--copper-lt);
  border-color: var(--copper-lt);
}
.price-foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: var(--bord);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.price-foot__fine {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--paper-mute);
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}
.price-foot__more {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.2em;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 11. Before / After slider ---------- */
.ba {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink-deep);
  border-top: var(--bord);
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  user-select: none;
  cursor: ew-resize;
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--bord);
  background: var(--ink-soft);
}
.ba-slider__before, .ba-slider__after {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('/static/assets/before-after-cv.jpg');
}
.ba-slider__before {
  background-position: 0% center;
  background-size: 200% 100%;
  filter: contrast(0.95) saturate(0.7);
}
.ba-slider__after {
  background-position: 100% center;
  background-size: 200% 100%;
  clip-path: inset(0 0 0 50%);
  filter: contrast(1.06) saturate(1);
}
.ba-slider__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--paper);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.ba-slider__knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-deep);
  display: grid; place-items: center;
  z-index: 5;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  border: 0;
  transition: transform 0.16s var(--ease);
}
.ba-slider__knob:hover, .ba-slider__knob:active {
  transform: translate(-50%, -50%) scale(1.08);
}
.ba-slider__lbl {
  position: absolute;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(13, 24, 39, 0.8);
  padding: 0.5em 0.85em;
  border: var(--bord);
  border-radius: 3px;
  z-index: 6;
  pointer-events: none;
}
.ba-slider__lbl--before { left: 1rem; }
.ba-slider__lbl--after {
  right: 1rem;
  color: var(--copper);
  border-color: rgba(255, 184, 28, 0.5);
}
.ba-cap {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--paper-mute);
}

/* ---------- 12. Reviews ---------- */
.reviews {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink);
  border-top: var(--bord);
}
.reviews__stars {
  color: var(--copper);
  font-size: 0.85em;
  letter-spacing: 0.06em;
  margin-right: 0.4em;
}
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 980px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur), border-color var(--dur);
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 184, 28, 0.3);
}
.review-card--featured {
  background: linear-gradient(180deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.02));
  border-color: rgba(255, 184, 28, 0.35);
}
.review-card__src {
  display: flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: var(--bord);
}
.review-card__g {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: #4285F4;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
}
.review-card__platform {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
}
.review-card__stars {
  margin-left: auto;
  color: var(--copper);
  letter-spacing: 0.06em;
  font-size: 0.875rem;
}
.review-card__quote {
  font-family: var(--font-body);
  font-size: var(--t-card);
  line-height: 1.65;
  color: var(--paper-dim);
  font-weight: 450;
  margin: 0 0 1.25rem;
  flex: 1;
}
.review-card--featured .review-card__quote {
  font-size: 1.0625rem;
  line-height: 1.7;
}
.review-card__quote em { color: var(--paper); font-style: normal; font-weight: 500; }
.review-card__quote strong { color: var(--copper); font-weight: 600; font-style: normal; }
.review-card__attr {
  border-top: var(--bord);
  padding-top: 0.85rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.review-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.review-card__date {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
}
.reviews__more {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
}
.reviews__more a {
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.2em;
  font-weight: 600;
}

/* ---------- 13. Process ---------- */
.process {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink-deep);
  border-top: var(--bord);
}
.proc-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}
@media (max-width: 980px) { .proc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .proc-steps { grid-template-columns: 1fr; } }
.proc-step {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
}
.proc-step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--copper);
  line-height: 1;
  font-feature-settings: 'tnum' 1;
  margin-bottom: 1rem;
  font-variation-settings: 'opsz' 96;
}
.proc-step__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--paper);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.proc-step__p {
  font-family: var(--font-body);
  font-size: var(--t-card);
  color: var(--paper-dim);
  line-height: 1.6;
  font-weight: 450;
  margin: 0;
}

/* ---------- 14. Service area + map ---------- */
.area {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink);
  border-top: var(--bord);
}
.area__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 880px) { .area__grid { grid-template-columns: 1fr; } }
.area__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--bord);
  background: var(--ink-soft);
  min-height: 380px;
}
.area__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: invert(0.85) hue-rotate(180deg) contrast(0.85);
  position: absolute; inset: 0;
}
.area__map-pin {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: var(--ink-deep);
  border: var(--bord-strong);
  color: var(--paper);
  padding: 0.65em 0.9em;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.45em;
  z-index: 2;
  text-decoration: none;
  transition: background var(--dur);
}
.area__map-pin:hover { background: var(--ink-soft); }
.area__map-pin svg { color: var(--copper); }
.area__cities {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  align-content: start;
}
.area__cities li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.06);
  color: var(--paper-dim);
  display: flex; align-items: baseline; gap: 0.5em;
  position: relative; padding-left: 1.1em;
}
.area__cities li::before {
  content: '·';
  position: absolute; left: 0;
  color: var(--copper);
  font-weight: 700;
}
.area__cities li span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(255, 184, 28, 0.12);
  padding: 0.25em 0.5em;
  border-radius: 2px;
  margin-left: auto;
}

/* ---------- 15. Hours + About ---------- */
.info {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink-deep);
  border-top: var(--bord);
}
.info__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 880px) { .info__grid { grid-template-columns: 1fr; } }

.info__hours, .info__about {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem;
}
.info__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
.info__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.info__table tr { border-bottom: 1px solid rgba(244, 240, 230, 0.06); }
.info__table tr:last-child { border-bottom: 0; }
.info__table td {
  padding: 0.6em 0;
  color: var(--paper-dim);
}
.info__table td:first-child {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.info__table td:last-child { text-align: right; }
.info__hours-note {
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper);
  letter-spacing: 0.02em;
  font-style: italic;
}
.info__p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--paper-dim);
  margin: 0 0 1rem;
}
.info__p:last-of-type { margin-bottom: 1.5rem; }
.info__btn {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.2em;
}

/* ---------- 16. Authorized installer ---------- */
.auth {
  padding: 2.5rem 0;
  background: var(--ink);
  border-top: var(--bord);
}
.auth__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.auth__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  margin: 0;
  font-weight: 600;
}
.auth__brands {
  display: flex; gap: 3rem; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.auth__brand {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--paper-dim);
  transition: color var(--dur);
}
.auth__brand:hover { color: var(--paper); }
.auth__brand img {
  max-height: 56px; width: auto;
  opacity: 0.92;
  transition: opacity var(--dur);
}
.auth__brand:hover img { opacity: 1; }
.auth__brand small {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
}

/* ---------- 17. Final CTA + form ---------- */
.cta-final {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, var(--ink-deep), var(--ink));
  border-top: var(--bord);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 184, 28, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3rem;
  align-items: start;
  position: relative; z-index: 2;
}
@media (max-width: 880px) { .cta-final__grid { grid-template-columns: 1fr; gap: 2rem; } }

.cta-final__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--paper);
  margin: 0 0 1rem;
  letter-spacing: var(--tr-tight);
}
.cta-final__h em { font-style: italic; color: var(--glass); font-weight: 500; }
.cta-final__lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--paper-dim);
  line-height: 1.55;
  margin: 0 0 2rem;
}
.cta-final__phone {
  display: inline-flex; flex-direction: column;
  text-decoration: none;
  padding: 1.25rem 1.5rem;
  background: var(--ink-card);
  border: 1.5px solid var(--copper);
  border-radius: var(--radius);
  transition: background var(--dur);
}
.cta-final__phone:hover { background: var(--ink-soft); }
.cta-final__phone-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--copper);
  letter-spacing: 0.04em;
  font-feature-settings: 'tnum' 1;
}
.cta-final__phone-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 0.5rem;
}

.cta-final__form {
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem;
}
.cta-final__form-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink-deep);
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: 3px;
  padding: 0.75rem 0.85rem;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--copper);
}
.field--row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.cta-final__submit {
  display: block; width: 100%;
  background: var(--copper);
  color: var(--ink-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.95em 1em;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: background var(--dur);
  margin-top: 0.5rem;
}
.cta-final__submit:hover { background: var(--copper-lt); }
.cta-final__form-note {
  margin: 0.85rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--paper-mute);
  text-align: center;
}

/* ---------- 18. Footer ---------- */
.foot {
  background: var(--ink-deep);
  padding: 4rem 0 2rem;
  border-top: var(--bord-strong);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--paper-dim);
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } }

.foot__col h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 1rem;
}
.foot__h-tight { margin-top: 1.5rem !important; }

.foot__col ul li { margin-bottom: 0.55rem; }
.foot__col ul a {
  color: var(--paper-dim);
  border-bottom: 1px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}
.foot__col ul a:hover { color: var(--paper); border-bottom-color: var(--copper); }

.foot__brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--paper);
  margin: 0 0 0.25em;
  letter-spacing: var(--tr-tight);
}
.foot__brand-name em { font-style: italic; color: var(--glass); font-weight: 500; }
.foot__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--paper-mute);
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.foot__about {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--paper-dim);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}
.foot__vendors {
  display: flex; gap: 1.5rem; align-items: center;
}
.foot__vendors img {
  max-height: 32px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--dur);
}
.foot__vendors a:hover img,
.foot__vendors img:hover { opacity: 1; }

.foot__contact {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--paper-dim);
  margin: 0;
}
.foot__contact a { color: var(--paper); }
.foot__contact strong { color: var(--copper); }
.foot__hours {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--paper-dim);
  margin: 0;
}

/* Full-width service-area block — every metro city we cover. SEO win
 * (each city as a real anchor target) AND a clear at-a-glance map of
 * coverage for visitors who scrolled this far. */
.foot__areas {
  border-top: var(--bord);
  padding: 2.25rem 0 1.75rem;
  margin-bottom: 2rem;
}
.foot__areas-h {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.foot__areas-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--paper-dim);
  margin: 0 0 1.25rem;
  max-width: 64ch;
}
.foot__areas-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--paper-dim);
}
@media (max-width: 1100px) { .foot__areas-list { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .foot__areas-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .foot__areas-list { grid-template-columns: repeat(2, 1fr); } }
.foot__areas-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 0.85em;
  border-bottom: 1px solid rgba(244, 240, 230, 0.04);
}
.foot__areas-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}
.foot__areas-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--paper-mute);
  font-style: italic;
  margin: 0.5rem 0 0;
}

.foot__bottom {
  border-top: var(--bord);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* ---------- 20. Recent work grid (replaces before/after slider) ---------- */
.work {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink-deep);
  border-top: var(--bord);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  margin: 0;
  background: var(--ink-card);
  border: var(--bord);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 28, 0.4);
  box-shadow: var(--shadow-card-h);
}
.work-card__photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: contrast(1.04) saturate(0.92);
  transition: filter var(--dur), transform 0.5s var(--ease);
}
.work-card:hover .work-card__photo {
  filter: contrast(1.08) saturate(1);
  transform: scale(1.03);
}
.work-card__cap {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.work-card__lbl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.work-card__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* ---------- 21. Leaflet map (replaces OSM iframe) ---------- */
#leaflet-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--ink-soft);
}
.area__map {
  /* Override the map container so the absolute leaflet div fills it. */
  position: relative;
  min-height: 380px;
}
/* Disable the leaflet container's default white background flash. */
.leaflet-container {
  background: var(--ink-soft) !important;
  font-family: var(--font-mono);
}
.leaflet-container a { color: var(--copper); }
/* City tooltips — gold pill above the marker. */
.leaflet-tooltip.leaflet-city-tip {
  background: var(--ink-deep);
  border: 1px solid var(--copper);
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25em 0.55em;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.leaflet-tooltip.leaflet-city-tip::before { display: none; }

/* ---------- 22. Mobile polish — edge padding, row centering, orphan handling ----------
 *
 * Two mobile-specific behaviors layered on top of section-level rules:
 *   1. Wrapped flex rows (CTAs, signal strips, chips) center themselves
 *      so a 3-up row that wraps to 2+1 doesn't leave the orphan stuck
 *      to the left edge.
 *   2. Grids with potentially-odd item counts (work-grid, svc-grid)
 *      promote the trailing odd-item-out to span both columns so it
 *      reads as intentional, not orphaned. Card constrained to a
 *      readable max-width and centered within the spanned track.
 */

/* --- Wrapped flex rows: center on mobile so orphans don't lean left --- */
@media (max-width: 720px) {
  .hero__ctas,
  .hero__signals,
  .auth__brands,
  .topbar__inner,
  .price-foot,
  .foot__bottom {
    justify-content: center;
    text-align: center;
  }
  /* Hero — center the heading + body so the column reads centered. */
  .hero__inner { text-align: center; align-items: center; max-width: 100%; }
  .hero__h, .hero__sub { margin-inline: auto; }
  .hero__sub { max-width: 38ch; }
  .hero__eyebrow { justify-content: center; }
  .hero__eyebrow::before { display: none; }
  /* Hero primary CTA gets full-width tap target. */
  .hero__ctas { width: 100%; flex-direction: column; gap: 0.75rem; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
}

/* --- Grid orphan-centering: 3-up grid wraps to 2-col → last odd item
 *     spans both columns and centers within them. Mirrors the gosite
 *     pricing-tiers pattern. --- */
@media (max-width: 980px) and (min-width: 601px) {
  .work-grid > :last-child:nth-child(2n + 1),
  .svc-grid > :last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }
}

/* --- Single-column phone view: center text within cards that have
 *     short captions (work cards, why cards). Looks more deliberate
 *     than left-rag on a narrow screen. --- */
@media (max-width: 600px) {
  .work-card__cap,
  .why-card { text-align: center; }
  .why-card__icon { margin-inline: auto; }
}

/* --- Reviews row: featured card stretches full width on mobile so it
 *     stays the hero quote (not pinned to one column). --- */
@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .review-card--featured { grid-column: 1 / -1; }
}

/* --- Service area split: stack map above cities on mobile; map shrinks
 *     a bit so it doesn't dominate the fold. --- */
@media (max-width: 880px) {
  .area__map { min-height: 320px; }
  .area__cities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .area__cities { grid-template-columns: 1fr; }
}

/* --- Section heads: tighten subtitle width on phone so it doesn't
 *     stretch edge-to-edge with no breathing room. --- */
@media (max-width: 600px) {
  .section-head { max-width: 100%; }
  .section-lead { max-width: 38ch; margin-inline: auto; }
}

/* --- CTA-final form: tighten padding on phone so the form fields
 *     aren't double-bordered against the section padding. --- */
@media (max-width: 600px) {
  .cta-final__form { padding: 1.25rem 1.1rem; }
  .cta-final__phone { padding: 1rem 1.1rem; }
  .cta-final__phone-num { font-size: 1.85rem; }
  .field--row { grid-template-columns: 1fr; }
}

/* ---------- 22.5 Hero entrance — slower + softer than other reveals ----------
 * Override scrollreveal's default 0.7s with a slower, more cinematic curve
 * for the hero specifically. Photo background gets a longer cross-fade so
 * it doesn't pop, content lifts in with stagger from the data-reveal-step
 * on .hero__inner. Adds Ken-Burns-style subtle scale on the photo. */
html.reveal-ready .hero__photo.reveal {
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
  transform: scale(1.045);
}
html.reveal-ready .hero__photo.reveal.is-visible {
  transform: scale(1);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 14s ease-out !important;
}
html.reveal-ready .hero__inner > .reveal {
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) !important;
  transform: translateY(36px);
}
html.reveal-ready .hero__inner > .reveal.is-visible {
  transform: none;
}

/* ---------- 23. Mobile sticky CTA bar — Call + Text always reachable ----------
 * Pinned to viewport bottom on phone only. Two equal-width tap-target
 * buttons (~56px tall) — Call (gold fill) + Text (ghost). Never appears
 * on tablet/desktop where the hero CTAs are already in the fold.
 * Adds bottom padding to body so the bar doesn't cover footer content
 * on the last scroll position.
 */
.mobile-cta { display: none; }

/* Desktop/mobile-only utility classes for CTAs that don't translate
 * across viewports (sms: links don't work reliably on desktop). */
@media (min-width: 721px) { .hide-on-desktop { display: none !important; } }
@media (max-width: 720px) { .hide-on-mobile  { display: none !important; } }

@media (max-width: 720px) {
  body { padding-bottom: 64px; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--ink-deep);
    border-top: 1px solid rgba(255, 184, 28, 0.4);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.45);
  }
  .mobile-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: 0.95rem 0.5rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: background 0.18s ease;
    min-height: 56px;
  }
  .mobile-cta__btn--call {
    background: var(--copper);
    color: var(--ink-deep);
  }
  .mobile-cta__btn--call:active { background: var(--copper-dk); }
  .mobile-cta__btn--text {
    background: var(--ink-card);
    color: var(--paper);
    border-left: 1px solid rgba(244, 240, 230, 0.12);
  }
  .mobile-cta__btn--text:active { background: var(--ink-soft); }
}

/* ====================================================================
   POLISH PASS
   The details that separate "looks good" from "looks expensive."
   Each block is a deliberate micro-decision; the whole adds atmosphere
   without changing the structure. Anchors:
     - section accent rules for hierarchy
     - film-grain texture for depth on dark surfaces
     - silkier hovers + featured-tier pulse
     - keyboard a11y via gold focus rings
     - polished scrollbar + form-field focus
   ==================================================================== */

/* --- 24. Section kicker accent rule — small gold underline for hierarchy --- */
.section-head .kicker,
.section-head [class*="kicker"] {
  position: relative;
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}
.section-head .kicker::after,
.section-head [class*="kicker"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper) 0%, var(--copper) 60%, transparent 100%);
}
.section-head--center .kicker::after,
.section-head--center [class*="kicker"]::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, var(--copper) 50%, transparent 100%);
}

/* --- 25. Film grain on hero + final CTA — adds depth to flat dark fills --- */
.hero,
.cta-final { position: relative; }
.hero::after,
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* --- 25.5 Per-section atmospheric backgrounds —
 * Each body section gets its own deliberate visual character: gradient
 * meshes, blueprint grids, gold-tinted spotlights, off-center radial
 * pools. The base color shifts subtly section-to-section to break up
 * the dark-panel monotony, plus a layered texture gives each space its
 * own atmosphere. Content sits in front via z-index promotion below.
 *
 * Naming convention: each rule is `.SECTION { background: ... }` for
 * the base + `.SECTION::before` for the texture/gradient layer.
 * The shared section ::before already exists for the gradient divider
 * top stroke (rule §26); using ::after here for the texture layer so
 * they don't collide.
 */

/* Promote content above the texture layer in every body section. */
.services .container, .services .wrap,
.pricing  .container, .pricing  .wrap,
.work     .container, .work     .wrap,
.why      .container, .why      .wrap,
.process  .container, .process  .wrap,
.area     .container, .area     .wrap,
.info     .container, .info     .wrap, .info .info__grid,
.reviews  .container, .reviews  .wrap,
.auth     .container, .auth     .wrap,
.cta-final .container, .cta-final .wrap {
  position: relative;
  z-index: 2;
}

/* ----- Waterdrops texture overlay — used sparingly, only on Services,
 * Reviews, and Final CTA. Three strategic moments (top-third, mid,
 * close) so the brand motif appears as accent, not pattern. Very low
 * opacity (4-5%), background-size: cover so the texture fully fills
 * each section regardless of viewport. */

.services::after,
.reviews::after,
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/assets/waterdrops-new.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  /* overlay blend + heavy darken filter mutes the bright droplet
   * highlights so the texture reads as faint atmosphere, not sparkle. */
  mix-blend-mode: overlay;
  filter: brightness(0.4) contrast(0.85);
}
.services::after  { opacity: 0.18; }
.reviews::after   { opacity: 0.16; background-position: 30% center; }
.cta-final::after { opacity: 0.18; background-position: 70% center; }

.services > *, .reviews > *, .cta-final > * {
  position: relative;
  z-index: 2;
}


/* WHY US — alternate to a slightly raised surface, soft radial from
 * center-bottom (uplift feel under the four reasons cards). */
.why {
  background:
    radial-gradient(700px 400px at 50% 100%, rgba(92, 156, 216, 0.06), transparent 70%),
    var(--ink-soft);
}

/* PRICING — gold radial spotlight centered behind the featured tier
 * + faint diagonal hatch overlay. This is the conversion section so
 * the atmosphere should feel premium and worth-pausing-on. */
.pricing {
  background:
    radial-gradient(900px 700px at 50% 40%, rgba(255, 184, 28, 0.08), transparent 60%),
    radial-gradient(600px 400px at 50% 0%, rgba(255, 184, 28, 0.04), transparent 70%),
    var(--ink);
}
.pricing::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 28px,
    rgba(255, 255, 255, 0.018) 28px,
    rgba(255, 255, 255, 0.018) 29px);
  pointer-events: none;
  z-index: 1;
}

/* RECENT WORK — deeper black, cinematic feel for the portfolio. Vignette
 * from the corners pulling in toward the center grid. */
.work {
  background:
    radial-gradient(1200px 800px at 50% 50%, rgba(20, 36, 68, 0.5), transparent 70%),
    radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.5), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.5), transparent 40%),
    var(--ink-deep);
}

/* REVIEWS — warm amber undercurrent (suggests trust, conversation),
 * with a soft Google-blue accent in the corner where the featured
 * card's G badge sits. */
.reviews {
  background:
    radial-gradient(700px 500px at 18% 25%, rgba(66, 133, 244, 0.04), transparent 55%),
    radial-gradient(900px 600px at 80% 80%, rgba(255, 184, 28, 0.06), transparent 60%),
    var(--ink);
}

/* PROCESS — actual blueprint grid background. Reads as "this is engineered,
 * not winged." Gold hairlines spaced 40px on a slightly raised base. */
.process {
  background:
    linear-gradient(rgba(255, 184, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 184, 28, 0.05) 1px, transparent 1px),
    radial-gradient(800px 500px at 50% 50%, rgba(255, 184, 28, 0.04), transparent 70%),
    var(--ink-soft);
  background-size: 40px 40px, 40px 40px, auto, auto;
}
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--ink-soft) 90%);
  pointer-events: none;
  z-index: 1;
}

/* SERVICE AREA — quiet base + gold radial behind the Chaska HQ marker
 * area (left side) so the map feels anchored to the gold service-circle. */
.area {
  background:
    radial-gradient(700px 500px at 25% 50%, rgba(255, 184, 28, 0.06), transparent 65%),
    var(--ink);
}

/* HOURS + ABOUT — slightly raised, soft top-down gradient. Reads as a
 * different "panel" than the conversion sections above. */
.info {
  background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink-deep) 100%);
}

/* AUTHORIZED — minimal but with a single subtle radial behind the logos
 * so they read as "anchored" not "floating in nothing." */
.auth {
  background:
    radial-gradient(500px 300px at 50% 50%, rgba(255, 184, 28, 0.03), transparent 70%),
    var(--ink);
}

/* CTA FINAL — strengthen the existing radial spotlight with a tighter,
 * brighter gold pool focused on the phone CTA (left third). Plus a
 * vertical gradient that reads as "stage lighting." */
.cta-final {
  background:
    radial-gradient(700px 500px at 28% 55%, rgba(255, 184, 28, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 60%, var(--ink-deep) 100%) !important;
}
.cta-final::before {
  /* The existing ::before in section §26 (gradient stroke) is preserved
   * for cta-final via specificity — we override only the gold spotlight
   * via the background stack above. */
}

/* HERO — restore clean overlay (no waterdrops, no drips per Wayne's call).
 * The granite photo + dark gradient + film grain do all the work. */
.hero { isolation: isolate; }

/* --- 26. Section dividers as gradient strokes (replaces hard borders) --- */
.trust,
.services,
.why,
.pricing,
.work,
.reviews,
.process,
.area,
.info,
.auth,
.cta-final {
  border-top: 0 !important;
  position: relative;
}
.trust::before,
.services::before,
.why::before,
.pricing::before,
.work::before,
.reviews::before,
.process::before,
.area::before,
.info::before,
.auth::before,
.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 184, 28, 0.18) 50%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* --- 27. Card hovers — silkier easing, slightly deeper lift, gold edge bloom --- */
.svc-card,
.work-card,
.price-card,
.review-card,
.why-card,
.proc-step {
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card:hover,
.work-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 18px 38px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255, 184, 28, 0.22);
}
.review-card:hover,
.why-card:hover,
.proc-step:hover {
  transform: translateY(-4px);
}

/* --- 28. Featured pricing card — slow gold pulse to keep eye returning --- */
.price-card--featured {
  animation: cv-feature-pulse 4.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes cv-feature-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 184, 28, 0.15),
      var(--shadow-card-h);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 184, 28, 0.45),
      0 1px 0 rgba(255,255,255,0.06),
      0 18px 42px rgba(255, 184, 28, 0.16);
  }
}

/* --- 29. Primary CTA shimmer on hover — diagonal sheen sweeps L→R --- */
.btn--primary,
.head__btn,
.cta-final__submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::after,
.head__btn::after,
.cta-final__submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}
.btn--primary:hover::after,
.head__btn:hover::after,
.cta-final__submit:hover::after {
  transform: translateX(110%);
}

/* --- 30. Logo wiper sweep animation on page load --- */
.head__logomark svg {
  transform-origin: 50% 78%;
  animation: cv-logo-sweep 1.6s cubic-bezier(0.4, 0, 0.15, 1) 0.25s both;
}
@keyframes cv-logo-sweep {
  0%   { transform: rotate(-32deg); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: rotate(0deg);   opacity: 1; }
}

/* --- 31. Custom scrollbar — dark track, gold thumb on hover --- */
@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: var(--ink-edge) var(--ink-deep);
    scrollbar-width: thin;
  }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb {
  background: var(--ink-edge);
  border-radius: 5px;
  border: 2px solid var(--ink-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--copper); }

/* --- 32. Focus rings — gold outline for keyboard nav (a11y + brand) --- */
*:focus { outline: 0; }
*:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.head__btn:focus-visible,
.cta-final__submit:focus-visible,
.svc-card:focus-visible,
.work-card:focus-visible,
.head__brand:focus-visible {
  outline-offset: 4px;
}

/* --- 33. Form field focus — gold ring with soft halo --- */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper) !important;
  box-shadow: 0 0 0 3px rgba(255, 184, 28, 0.18);
  outline: none;
}

/* --- 34. Map HQ marker pulse — Chaska subtly throbs to anchor the eye ---
 * Pulses any leaflet circle-marker with the larger HQ stroke (radius 8).
 * The :hover state of city tooltips already has a hover effect; this just
 * keeps the HQ pin "alive" so the eye returns to the hub. */
.leaflet-interactive[stroke="#FFB81C"][r="8"] {
  animation: cv-hq-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes cv-hq-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.15); opacity: 0.92; }
}

/* --- 35. Counter polish — tabular-nums for stable digit width during count --- */
.trust__num {
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* --- 36. Cards on dark surface get a soft inner-edge highlight --- */
.svc-card,
.work-card,
.price-card,
.review-card,
.why-card,
.proc-step {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.025), transparent 40%);
}

/* --- 37. Smoother transitions on header logomark hover --- */
.head__brand { transition: opacity 0.25s ease; }
.head__brand:hover { opacity: 0.85; }
.head__logomark { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.head__brand:hover .head__logomark { transform: rotate(-8deg); }

/* ---------- Reduced motion override ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .price-card--featured,
  .leaflet-interactive[stroke="#FFB81C"][r="8"],
  .head__logomark svg { animation: none !important; }
}
