/* ============================================================
   Bayou Mulching and Habitat: design system
   Brand palette (from client brand book, exact):
     ink   #333333  near-black
     olive #6f753b  olive green
     brown #93623d  brown
     tan   #dbc2a5  tan / background
   Derived shades below are tints/shades of the brand hues only.
   CONTRAST LAW (computed): olive #6f753b on tan #dbc2a5 = 2.86:1.
   Never set olive text on tan. Text on tan is ink only.
   ============================================================ */

/* ---------- fonts (self-hosted, latin subsets) ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-700-latin.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  /* brand */
  --ink: #333333;
  --olive: #6f753b;
  --brown: #93623d;
  --tan: #dbc2a5;

  /* derived (shades/tints of brand hues; contrast-verified) */
  --olive-deep: #5a5f30;   /* hover state, 6.74:1 with white */
  --brown-deep: #7a4f2f;   /* hover state, 7.03:1 with white */
  --tan-wash: #f5ede1;     /* light section background, ink 10.88:1 */
  --white: #ffffff;
  --line: #e3d8c6;         /* hairline borders, tan-derived */
  --muted: #5c5c5c;        /* secondary text on white, 6.9:1 */

  /* type */
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --fs-h1: clamp(34px, 5.2vw, 56px);
  --fs-h2: clamp(28px, 3.6vw, 40px);
  --fs-h3: clamp(21px, 2.4vw, 26px);
  --fs-h4: 19px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-tiny: 13.5px;

  /* layout */
  --container: 1180px;
  --section-pad: clamp(56px, 9vw, 104px);
  --card-gap: 22px;
  --card-pad: 26px 20px 22px;
  --radius: 10px;

  /* shadow tiers: exactly two */
  --shadow: 0 1px 2px rgba(51, 41, 25, .06), 0 8px 24px rgba(51, 41, 25, .07);
  --shadow-lift: 0 2px 4px rgba(51, 41, 25, .08), 0 16px 40px rgba(51, 41, 25, .14);

  /* motion: one easing, two durations, sitewide */
  --dur-1: 150ms;
  --dur-2: 220ms;
  --ease: cubic-bezier(.2, .65, .3, 1);

  /* overlay ladder: content < map/iframe < header < dropdown < skip-link/lightbox */
  --z-header: 1200;
  --z-dropdown: 1300;
  --z-top: 1500;
}

/* ---------- 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(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* author display rules silently defeat the UA's [hidden] rule; restore it */
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
  letter-spacing: .01em;
  text-transform: uppercase;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1em; }
a { color: var(--olive-deep); }
ul { margin: 0; padding: 0; list-style: none; }

/* two-ring focus indicator: visible on light and dark */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
  border-radius: 3px;
}

/* focus ring adapts to dark surfaces: tan outer ring, ink inner ring */
.topbar :focus-visible, .footer :focus-visible, .cta-band :focus-visible,
.page-hero :focus-visible, .hero :focus-visible, .lightbox :focus-visible {
  outline: 2px solid var(--tan);
  box-shadow: 0 0 0 2px var(--ink);
}

/* atomic data never breaks mid-value */
.nowrap { white-space: nowrap; }

/* ---------- layout primitives ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}
.section { padding-block: var(--section-pad); }
.section--wash { background: var(--tan-wash); }
.section--tan { background: var(--tan); }
.section-head { max-width: 720px; }
.section-head p { color: var(--muted); }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--card-pad);
}
/* shared hover matrix: one rule set for every interactive card group */
.card--hover,
.service-card,
.feature,
.step {
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.card--hover:hover,
.service-card:hover,
.feature:hover,
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card--hover:hover, .service-card:hover, .feature:hover, .step:hover,
  .btn:hover, .gallery-grid a:hover img, .gallery-grid a:focus-visible img {
    transform: none;
  }
}
/* numbered step disc: never a floating digit */
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--primary { background: var(--olive); color: var(--white); }
.btn--primary:hover { background: var(--olive-deep); color: var(--white); }
.btn--secondary { background: var(--brown); color: var(--white); }
.btn--secondary:hover { background: var(--brown-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink);
  color: var(--tan);
  font-size: var(--fs-small);
}
.topbar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 18px;
  padding-block: 7px;
}
.topbar a { color: var(--tan); text-decoration: none; transition: color var(--dur-1) var(--ease); }
.topbar a:hover { color: var(--white); }
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header); /* nav-above-maps: any future map iframe sits far below this */
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
/* Logo slot: real client logo drops in at its native aspect ratio.
   height fixed, width auto: the file can never be stretched or cropped. */
.brand__logo { height: 64px; width: auto; flex-shrink: 0; max-width: none; } /* never squeezed or capped: brand-book no-stretch rule */
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand__name span { display: block; color: var(--olive); font-size: 15px; letter-spacing: .12em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 10px 13px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  border-radius: 6px;
}
.nav a { transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.nav a:hover { background: var(--tan-wash); color: var(--olive-deep); }
.nav a[aria-current="page"] { color: var(--olive-deep); font-weight: 700; }

/* dropdown parent: label + caret are ONE visual control with two functions.
   Label navigates, caret toggles; the pill hover surface and the focus ring
   wrap them together so there is no visual seam. */
.nav__item { position: relative; display: flex; align-items: center; border-radius: 6px;
  transition: background-color var(--dur-1) var(--ease); }
.nav__item:hover { background: var(--tan-wash); }
.nav__item:hover > a, .nav__item:hover > .nav__caret { color: var(--olive-deep); background: transparent; }
.nav__item > a { border-radius: 6px 0 0 6px; padding-right: 3px; }
.nav__item > a:focus-visible,
.nav__item > .nav__caret:focus-visible { outline: none; box-shadow: none; }
.nav__item:has(> a:focus-visible),
.nav__item:has(> .nav__caret:focus-visible) {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.nav__caret {
  background: none;
  border: 0;
  padding: 10px 9px 10px 2px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.nav__caret::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-1) var(--ease);
}
.nav__caret[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-2px); }
.nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 8px;
  z-index: var(--z-dropdown);
}
.nav__panel.is-open { display: block; }
.nav__panel a { font-size: 15.5px; padding: 9px 12px; }

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap; /* phone number never splits mid-digits */
}
.header__phone:hover { color: var(--olive-deep); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* skip link: above everything while focused */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: var(--z-top);
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ============================================================
   FOOTER: contained weighted grid, never full-bleed columns
   ============================================================ */
.footer { background: var(--ink); color: var(--tan); }
.footer a { color: var(--tan); text-decoration: none; transition: color var(--dur-1) var(--ease); }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(48px, 7vw, 72px);
}
.footer h3 {
  color: var(--white);
  font-size: 19px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer li { margin: 0; }
.footer ul { display: grid; gap: 9px; }
.footer__brandname {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}
.footer__note { font-size: var(--fs-small); color: #c9b394; }
.footer__licenses { font-size: var(--fs-tiny); color: #c9b394; display: grid; gap: 6px; margin-top: 14px; }
.footer__bottom {
  border-top: 1px solid rgba(219, 194, 165, .25);
  padding-block: 18px;
  font-size: var(--fs-small);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: #c9b394;
}

/* ============================================================
   GRID COLLAPSE POINTS (mandatory breakpoints)
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }

/* home Land Services only: 8 services as two clean rows of four.
   Cards are narrower than grid-3, so the compact type and image height
   are scoped here; the shared .service-card on /services is untouched. */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); }
@media (min-width: 981px) {
  /* compact treatment only while four-up; at 2 and 1 columns the cards
     are as wide as before and keep their original proportions */
  .services-grid .service-card__img { height: 150px; }
  .services-grid .service-card h3 { font-size: 20px; }
  .services-grid .service-card__body { padding: 16px 16px 18px; }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* odd last card spans full width: no orphan half-card */
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* mobile nav */
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px 16px;
    gap: 2px;
    z-index: var(--z-dropdown);
  }
  .nav.is-open { display: flex; }
  /* the open nav must never extend past the viewport with unreachable items:
     cap to the space under the sticky header and scroll internally */
  .nav {
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__item { flex-wrap: wrap; }
  .nav__item > a { flex: 1; }
  .nav__panel {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--tan);
    border-radius: 0;
    width: 100%;
    min-width: 0;
    margin: 2px 0 6px 10px;
  }
  .header__phone { display: none; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__group--right { display: none; }
  .brand__logo { height: 48px; }
}

/* ============================================================
   PAGE COMPONENTS (Stage 3)
   ============================================================ */

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}
.hero__inner {
  position: relative;
  padding-block: clamp(72px, 12vw, 150px);
  max-width: 780px;
}
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero__lede { font-size: clamp(17px, 2vw, 20px); color: #f0e6d8; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__licenses { margin-top: 30px; font-size: var(--fs-tiny); color: var(--tan); display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- stats band ---------- */
.stats { background: var(--tan); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
  padding-block: clamp(30px, 5vw, 48px);
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  color: var(--ink);
}
.stat__label { font-size: var(--fs-small); color: var(--ink); margin-top: 4px; }
@media (max-width: 980px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature (why choose us) ---------- */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--card-pad); }
.feature__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tan-wash); color: var(--olive-deep); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

/* ---------- service cards ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; /* clips the image at the corner radius; nothing inside escapes */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.service-card__img { width: 100%; height: 190px; object-fit: cover; }
.service-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .3em; }
/* /services hub cards use h2 for heading order; render at the h3 size */
.service-card h2 { font-size: var(--fs-h3); margin-bottom: .3em; }
.service-card p { color: var(--muted); font-size: var(--fs-small); margin: 0 0 14px; flex: 1; }
.service-card__more {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--card-pad); }
.step h3 { font-size: 20px; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden; /* clips the zoomed image; nothing else lives in the tile */
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: box-shadow var(--dur-2) var(--ease);
}
.gallery-grid a:hover,
.gallery-grid a:focus-visible { box-shadow: var(--shadow-lift); }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--dur-2) var(--ease);
}
.gallery-grid a:hover img,
.gallery-grid a:focus-visible img { transform: scale(1.04); }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
/* mobile stays two columns by design (runbook gallery standard) */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
}
.filter-btn { transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.filter-btn:hover { border-color: var(--olive); color: var(--olive-deep); }
.filter-btn[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--white); }
.filter-btn[aria-pressed="true"]:hover { color: var(--white); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-top);
  background: rgba(20, 17, 12, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 6px; }
.lightbox__btn {
  position: absolute;
  background: rgba(51, 51, 51, .85);
  color: var(--white);
  border: 1px solid rgba(219, 194, 165, .5);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--olive); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- quote form ---------- */
.quote { background: var(--tan-wash); }
.quote__wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 980px) { .quote__wrap { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 500; font-size: var(--fs-small); margin: 14px 0 5px; }
.form label:first-child { margin-top: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid #b8ab97;
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--white);
}
.form textarea { min-height: 110px; resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: var(--fs-tiny); color: var(--muted); }
.form__consent input { margin-top: 3px; }
.form__status { font-size: var(--fs-small); color: var(--brown-deep); min-height: 1.4em; margin: 8px 0 0; }
.form .btn { margin-top: 8px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); margin-bottom: 12px; }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  padding: 16px 44px 16px 20px;
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--olive-deep);
  border-bottom: 2px solid var(--olive-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .15s ease;
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq__a[hidden] { display: none; }

/* ---------- CTA band ---------- */
/* Client-requested brown band with green estimate button. The raw pair
   green-on-brown measures 1.06:1, so the button carries a 2px white outline
   (5.18 vs band, 4.90 vs fill) to pass component contrast. */
.cta-band { background: var(--brown); color: var(--white); }
.cta-band .btn--secondary {
  background: var(--olive);
  border-color: var(--white);
}
.cta-band .btn--secondary:hover { background: var(--olive-deep); border-color: var(--white); }
.cta-band__inner {
  padding-block: clamp(44px, 7vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { margin: 6px 0 0; color: var(--white); }
.cta-band .btn--ghost { color: var(--white); border-color: var(--white); }
.cta-band .btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- map ---------- */
.map-section iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(.85);
}

/* ---------- interior page hero ---------- */
.page-hero { background: var(--ink); color: var(--white); }
.page-hero__inner { padding-block: clamp(44px, 7vw, 84px); max-width: 780px; }
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero p { color: #f0e6d8; margin: 0; max-width: 640px; }
.breadcrumb { font-size: var(--fs-small); margin-bottom: 14px; color: var(--tan); }
.breadcrumb a { color: var(--tan); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- checklist ---------- */
.checklist { display: grid; gap: 12px; max-width: 720px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; color: var(--olive); }

/* ---------- prose (about, legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { list-style: disc; padding-left: 22px; display: block; }
.prose li { margin-bottom: .4em; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.notfound h1 { font-size: clamp(60px, 10vw, 120px); color: var(--olive); margin-bottom: 0; }

/* ============================================================
   PHASE 3: split sections with anchored right columns
   A section whose only content is a constrained text block leaves
   a dead right column at desktop (the "floating" failure 2f exists
   to prevent). .split pairs the text with a real anchor.
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.split--center { align-items: center; } /* balanced block-axis centering; harmless in the 1-col mobile collapse */
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
}
.side-card h3 { margin-bottom: .5em; }
.side-card p { margin: 0 0 .7em; font-size: var(--fs-small); color: var(--muted); }
.side-card .btn { margin-top: 6px; }
.side-card ul { display: grid; gap: 8px; font-size: var(--fs-small); color: var(--muted); }

.aside-stack { display: grid; gap: var(--card-gap); }
.aside-stack img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* legal pages: no honest anchor exists, so the column centers instead */
.prose--center { margin-inline: auto; }

/* ============================================================
   VIDEO FEATURE: poster-first, zero video bytes before interaction
   ============================================================ */
.video-feature {
  position: relative;
  aspect-ratio: 16 / 9; /* reserved: CLS 0 in both states */
  border-radius: var(--radius);
  overflow: hidden; /* clips poster/video corners; nothing escapes */
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--ink);
  margin-bottom: 14px;
}
.video-feature__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-feature__poster img { width: 100%; height: 100%; object-fit: cover; }
.video-feature__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(51, 51, 51, .78);
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.video-feature__poster:hover .video-feature__play,
.video-feature__poster:focus-visible .video-feature__play {
  background: var(--olive);
  transform: translate(-50%, -50%) scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .video-feature__poster:hover .video-feature__play,
  .video-feature__poster:focus-visible .video-feature__play {
    transform: translate(-50%, -50%);
  }
}
.video-feature video { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-feature__caption { color: var(--muted); font-size: var(--fs-small); margin-bottom: 34px; }
