/* =====================================================================
   Charleston Decks and Porches — Google Ads landing page
   Plain CSS, no framework. Navy + sage, serif + grotesque, cable-rail motif.
   ===================================================================== */

/* ---------- Self-hosted fonts (variable, latin subset) ---------- */
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-italic-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink:      #1D3557;
  --sage:     #689674;
  --coast:    #4A90E2;
  --charcoal: #221F1B;          /* warm near-black body text */
  --paper:    #FFFFFF;
  --paper-2:  #F2EEE7;          /* warm greige for alternating sections */
  --sand:     #E9E1D4;          /* warmer panel tone behind imagery */
  --line:     #E0D9CC;          /* warm hairline */
  --gold:     #8a6720;          /* restrained warm accent (AA on white) */

  --sage-ink: #477050;          /* darker sage for text on light, AA on white + tint */

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;

  /* spacing scale: 4 8 12 16 24 40 64 96 */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 40px; --s7: 64px; --s8: 96px;

  --radius-control: 6px;
  --radius-img: 6px;

  --shadow-card: 0 18px 40px -22px rgba(20, 30, 50, 0.45);

  /* cable-rail motif: thin sage lines ~14px apart, low opacity */
  --cable: repeating-linear-gradient(
    to bottom,
    rgba(104, 150, 116, 0.30) 0 1px,
    transparent 1px 14px
  );
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--ink); } /* default links navy (AA); --coast reserved for focus ring */

h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; line-height: 1.1; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); }
@media (max-width: 560px) { .container { padding: 0 16px; } }

/* ---------- Type helpers ---------- */
.display {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.1; }
h3 { font-size: 1.3rem; font-weight: 600; }
.body-lg { font-size: 1.15rem; line-height: 1.6; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-ink);
  margin: 0 0 var(--s3);
}

.optional { color: #6b6f73; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Section rhythm ---------- */
.section { padding: 52px 0; }
@media (min-width: 880px) { .section { padding: 78px 0; } }
.section--tint { background: var(--paper-2); }

.section-head { max-width: 60ch; margin-bottom: var(--s6); }
.section-head h2 { margin-bottom: var(--s4); }
.section-intro { font-size: 1.1rem; color: #45413a; }

/* Editorial section label: eyebrow with a short gold tick */
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block;
}

/* ---------- Skip link & focus ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 6px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--coast);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 14px 22px; border-radius: var(--radius-control);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn-block { width: 100%; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #16294a; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.10); }

.text-link {
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--sage); padding-bottom: 1px;
}
.text-link:hover { color: var(--sage-ink); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: saturate(1.1); backdrop-filter: saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Brand emblem (house + palmettos), navy baked into a transparent PNG.
   Uses background-image (not a CSS mask) so it also renders when the page
   is opened directly via file:// — masks are blocked cross-origin there. */
.wordmark-emblem {
  flex: none; width: 83px; height: 46px;
  background: url('../img/logo-mark.png') left center / contain no-repeat;
  transition: opacity .18s ease;
}
.wordmark:hover .wordmark-emblem { opacity: 0.82; }
@media (prefers-reduced-motion: reduce) { .wordmark-emblem { transition: none; } }
@media (max-width: 560px) { .wordmark-emblem { width: 54px; height: 30px; } }
@media (max-width: 560px) { .header-inner { gap: 10px; } .wordmark { gap: 9px; } }
@media (max-width: 359px) { .wordmark-emblem { display: none; } }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-line-1 {
  font-family: var(--sans); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--sage-ink);
}
.wordmark-line-2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink);
  margin-top: 3px; white-space: nowrap;
}

.phone-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--ink); padding: 6px 10px; border-radius: var(--radius-control);
}
.phone-btn:hover { background: var(--paper-2); }
.phone-btn-icon {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--ink); color: #fff; border-radius: 50%; flex: none;
}
.phone-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.phone-number { font-weight: 600; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.phone-sub { font-size: 0.72rem; color: #5a5f63; }

@media (max-width: 560px) {
  .wordmark-line-2 { font-size: 1.05rem; }
  .phone-sub { display: none; }
  .phone-btn-text .phone-number { font-size: 1rem; }
}
@media (max-width: 380px) {
  .phone-number { font-size: 0.95rem; }
}

/* =====================================================================
   HERO  (asymmetric: copy left, form right)
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, #FBF9F5 0%, var(--paper-2) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s5);
  padding-top: 40px; padding-bottom: 48px;
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(40px, 5vw, 72px);
    padding-top: 56px; padding-bottom: 64px;
    align-items: start;
  }
}

/* cable-rail motif: a deliberate cluster of horizontal cable lines
   (marine-grade cable rail), used as a signature texture — NOT a stray rule. */
.cable-rail { position: absolute; pointer-events: none; }
.cable-rail--hero { display: none; }
@media (min-width: 980px) {
  .cable-rail--hero {
    display: block; top: 40px; right: 0; width: 240px; height: 132px;
    background-image: repeating-linear-gradient(
      to bottom, rgba(104,150,116,0.55) 0 1.5px, transparent 1.5px 13px);
    -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000);
            mask-image: linear-gradient(115deg, transparent 30%, #000);
    opacity: 0.85;
  }
}

.hero-copy { position: relative; z-index: 1; }
.hero-subhead {
  font-size: 1.18rem; line-height: 1.6; color: #45413a;
  max-width: 44ch; margin-top: var(--s4); margin-bottom: var(--s5);
}

.trust-list { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: 10px; }
.trust-list li { position: relative; padding-left: 30px; font-size: 1.02rem; color: var(--charcoal); }
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 12px;
  border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage);
  transform: rotate(-45deg); transform-origin: left bottom;
}

.rating-line { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin-bottom: var(--s6); }
.stars, .proof-stars { color: #C8911F; letter-spacing: 2px; }
.rating-line strong { color: var(--ink); }

.hero-figure {
  margin: var(--s5) 0 0; border-radius: var(--radius-img);
  overflow: hidden; position: relative;
}
.hero-figure img { width: 100%; height: auto; display: block; } /* natural ratio, never cropped */
@media (min-width: 880px) {
  .hero-figure {
    --bleed: calc(max((100vw - var(--maxw)) / 2, 0px) + var(--s5));
    width: calc(100% + var(--bleed));
    margin-left: calc(-1 * var(--bleed));
    margin-top: var(--s6);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 24px 50px -28px rgba(20, 30, 50, 0.5);
  }
}

/* Form card — the ONE elevated card on the page */
.hero-form-wrap { position: relative; z-index: 2; }
@media (min-width: 880px) { .hero-form-wrap { position: sticky; top: 88px; } }

.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow-card);
  padding: var(--s6) var(--s5);
}
@media (min-width: 880px) { .form-card { padding: var(--s6); } }
.form-card--compact { box-shadow: var(--shadow-card); }

.form-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.form-intro { color: #5a5f63; font-size: 0.95rem; margin-bottom: 6px; }
.form-legend { color: #5a5f63; font-size: 0.8rem; margin: 0 0 var(--s5); }
.req { color: #c0392b; font-weight: 700; }

/* Form fields */
.field { margin-bottom: var(--s4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field label {
  display: block; font-weight: 600; font-size: 0.82rem; color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--charcoal);
  padding: 11px 12px; border: 1px solid #c7c7c0; border-radius: var(--radius-control);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9ca29a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coast);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.18);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231D3557' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}

/* Honeypot — visually hidden but present in DOM */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  background: #fdeceb; border: 1px solid #f3c0bb; color: #8c2b22;
  padding: 10px 12px; border-radius: var(--radius-control); font-size: 0.9rem;
  margin: 0 0 var(--s4);
}
.form-microcopy { font-size: 0.85rem; color: #5a5f63; margin: var(--s3) 0 0; text-align: center; }
.form-consent { font-size: 0.76rem; color: #5a5f63; margin: var(--s2) 0 0; text-align: center; }

.form-success { text-align: left; }
.form-success-title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-weight: 600; margin-bottom: 8px; }

/* =====================================================================
   MATERIALS BRAND BAR  (slim trust strip between hero and credibility)
   ===================================================================== */
.brandbar { background: var(--ink); }
.brandbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px var(--s5); padding-top: 18px; padding-bottom: 18px;
}
.brandbar-label {
  margin: 0; font-family: var(--sans); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #9cc0a8; /* light sage on navy */
}
.brandbar-brands {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5);
}
.brandbar-brands .brand-word { font-size: 1.1rem; color: #eef1f5; } /* near-white on navy */

.brand-word {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  color: var(--ink); white-space: nowrap;
}

/* =====================================================================
   CREDIBILITY BAND
   ===================================================================== */
.credibility { padding: 52px 0; overflow: hidden; }
@media (min-width: 880px) { .credibility { padding: 80px 0; } }
.credibility-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: center; }
@media (min-width: 880px) { .credibility-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 72px); } }
.credibility-figure { margin: 0; border-radius: var(--radius-img); overflow: hidden; }
.credibility-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 880px) {
  .credibility-figure {
    --bleed: calc(max((100vw - var(--maxw)) / 2, 0px) + var(--s5));
    width: calc(100% + var(--bleed));
    margin-left: calc(-1 * var(--bleed));
    border-radius: 0 8px 8px 0;
    box-shadow: 0 24px 50px -30px rgba(20, 30, 50, 0.45);
  }
  .credibility-figure img { aspect-ratio: 4 / 3; }
}
.credibility-copy h2 { margin-bottom: var(--s4); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.service-feature {
  display: grid; grid-template-columns: 1fr; gap: var(--s5);
  align-items: center; margin-bottom: var(--s6);
}
@media (min-width: 880px) {
  .service-feature {
    grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 64px);
    margin-bottom: var(--s7);
  }
}
.service-feature-figure { margin: 0; border-radius: var(--radius-img); overflow: hidden;
  box-shadow: 0 22px 46px -30px rgba(20, 30, 50, 0.45); }
.service-feature-figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.service-feature-eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sage-ink); margin: 0 0 10px;
}
.service-feature-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: var(--s4); }

/* Editorial list: ONE hairline starts it, single rules between items. */
.service-list { list-style: none; margin: 0; padding: 0; counter-reset: svc; border-top: 1px solid var(--line); }
/* Mobile: clean single-column stack — number, title, copy, then the link
   aligned under the text (not hanging in the number column). */
.service-item {
  display: block;
  padding: var(--s5) 0; border-bottom: 1px solid var(--line);
  transition: background-color .18s ease;
}
@media (prefers-reduced-motion: reduce) { .service-item { transition: none; } }
.service-item::before {
  counter-increment: svc; content: "0" counter(svc);
  display: block; margin-bottom: 6px;
  font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.service-item-title { font-size: 1.3rem; margin-bottom: 8px; }
.service-item p { color: #45413a; margin: 0; }
.service-item-action {
  display: inline-block; margin-top: 14px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--ink);
  text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--sage); padding-bottom: 1px;
}
.service-item-action:hover { color: var(--sage-ink); }
/* Desktop: single-row layout (number | title | copy | action) */
@media (min-width: 760px) {
  .service-item {
    display: grid;
    grid-template-columns: auto 0.34fr 1.5fr auto;
    gap: var(--s5); align-items: baseline; padding: var(--s5) var(--s3);
    border-radius: 8px;
  }
  .service-item::before { margin-bottom: 0; }
  .service-item-title { margin-bottom: 0; }
  .service-item-action { margin-top: 0; justify-self: start; }
  .service-item:hover { background: var(--paper-2); }
}

/* =====================================================================
   MATERIALS — tactile swatches
   ===================================================================== */
.swatch-grid {
  list-style: none; margin: 0 0 var(--s6); padding: 0;
  display: grid; grid-template-columns: 1fr; gap: var(--s5);
}
@media (min-width: 560px) { .swatch-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .swatch-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }

.swatch {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 14px 30px -26px rgba(20, 30, 50, 0.4);
}
.swatch-chip {
  display: block; height: 150px; width: 100%; position: relative; overflow: hidden;
  background: var(--sand); /* fallback while the photo loads */
}
.swatch-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch-title { font-size: 1.15rem; margin: var(--s4) var(--s4) 8px; }
.swatch p { color: #3a3f44; font-size: 0.95rem; margin: 0 var(--s4) var(--s5); }

.brands-line {
  max-width: 70ch; font-size: 1.08rem; color: #2f343a;
  padding-top: var(--s5); border-top: 1px solid var(--line);
}
.materials .brand-word { color: var(--ink); }

/* =====================================================================
   WHAT YOU CAN EXPECT
   ===================================================================== */
.expect { position: relative; }
.expect-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s5);
}
@media (min-width: 640px) { .expect-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.expect-pillar { padding-top: var(--s4); border-top: 2px solid var(--sage); }
.expect-pillar h3 { margin-bottom: 10px; }
.expect-pillar p { color: #3a3f44; margin: 0; }

/* =====================================================================
   GALLERY
   ===================================================================== */
/* Masonry: each photo at its natural aspect ratio, never cropped, so the
   decks and porches stay fully in frame. Tall portraits stay tall. */
.gallery-grid { columns: 1; column-gap: var(--s4); }
@media (min-width: 620px) { .gallery-grid { columns: 2; } }
.gallery-item {
  break-inside: avoid; margin: 0 0 var(--s4);
  border-radius: var(--radius-img); overflow: hidden; background: var(--sand);
}
.gallery-item img { width: 100%; height: auto; display: block; }

/* =====================================================================
   SERVICE AREA
   ===================================================================== */
/* Condensed, scannable area list (paid LP: answers "do you cover me?" fast). */
.area-chips {
  list-style: none; margin: 0 0 var(--s5); padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s5);
}
@media (min-width: 620px)  { .area-chips { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .area-chips { grid-template-columns: repeat(5, 1fr); } }
.area-chips li {
  position: relative; padding-left: 28px;
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink);
}
.area-chips li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 9px;
  border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage);
  transform: rotate(-45deg); transform-origin: left bottom;
}
.area-note { font-size: 1rem; color: #45413a; margin: 0; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.review-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
@media (min-width: 760px) { .review-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.review {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--sage); border-radius: 0 8px 8px 0;
  padding: var(--s5);
}
.review p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; color: #23282d; margin-bottom: var(--s4); }
.review footer { display: flex; flex-direction: column; }
.review-name { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.review-source { font-size: 0.8rem; color: #5f6367; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final-cta { position: relative; background: var(--ink); color: #eef1f5; overflow: hidden; padding: 56px 0; }
@media (min-width: 880px) { .final-cta { padding: 96px 0; } }
.cable-rail--cta {
  top: 0; right: 0; width: 50vw; max-width: 640px; height: 100%;
  background-image: repeating-linear-gradient(to bottom, rgba(104,150,116,0.5) 0 1px, transparent 1px 14px);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
          mask-image: linear-gradient(to left, #000, transparent);
}
.final-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: center; }
@media (min-width: 880px) { .final-grid { grid-template-columns: 1fr 0.9fr; gap: var(--s8); } }
.final-copy h2 { color: #fff; margin-bottom: var(--s4); }
.final-copy .body-lg { color: #cfd7e1; margin-bottom: var(--s5); }
.final-reassure { font-size: 0.88rem; color: #aebbcb; margin-top: var(--s4); }
.final-cta .form-card { color: var(--charcoal); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #14233f; color: #c4ccd6; padding-top: var(--s7); }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: var(--s6);
  padding-bottom: var(--s6);
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); } }
.footer-brand .wordmark-line-1 { color: var(--sage); display: block; font-family: var(--sans); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; }
.footer-brand .wordmark-line-2 { color: #fff; display: block; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-top: 3px; }
.footer-tagline { margin-top: var(--s3); font-size: 0.92rem; color: #9fa9b6; max-width: 32ch; }
.footer-h { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8b95a3; margin: 0 0 var(--s3); }
.footer-nap p, .footer-area p, .footer-social p { margin: 0 0 8px; font-size: 0.95rem; }
.footer-link { color: #dfe5ec; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.22); }
.footer-link:hover { color: #fff; border-bottom-color: var(--sage); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--s4); padding-bottom: var(--s5);
  display: flex; flex-wrap: wrap; gap: 8px var(--s5); align-items: center; justify-content: space-between;
}
.footer-legal p { font-size: 0.82rem; color: #9aa4b2; margin: 0; }
.footer-legal a { font-size: 0.82rem; }
.footer-legal-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-sep { color: #5a6678; }

/* =====================================================================
   LEGAL / PROSE PAGE (privacy policy)
   ===================================================================== */
.legal { padding: 56px 0 80px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .legal-updated { color: #5a5f63; font-size: 0.95rem; margin-bottom: var(--s6); }
.legal h2 { font-size: 1.4rem; margin: var(--s6) 0 var(--s3); }
.legal p, .legal li { color: #2f2c27; font-size: 1.02rem; line-height: 1.65; }
.legal ul { padding-left: 1.2em; margin: 0 0 1rem; }
.legal li { margin-bottom: 6px; }
.legal a { font-weight: 600; border-bottom: 2px solid var(--sage); text-decoration: none; }
.legal a:hover { color: var(--sage-ink); }

/* =====================================================================
   STICKY MOBILE CTA BAR (phones only)
   ===================================================================== */
.mobile-cta { display: none; }
@media (max-width: 880px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 26px -18px rgba(20, 30, 50, 0.5);
  }
  .mobile-cta a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 8px;
    font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none;
  }
  .mobile-cta-call { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
  .mobile-cta-estimate { background: var(--ink); color: #fff; }
  /* room so the fixed bar never covers footer content */
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* =====================================================================
   Reduced motion: kill any reveal animation
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
