/* =========================================================
   Mold Remediation Broward — direction "Clearance", honey-ochre accent (was burnt coral until Nov 26)
   The clearance report is the brand. Warm paper ground, near-black
   ink, one honey ochre. The pass mark is the only ornament: it
   replaces every decorative rule on the site. Figures are mono and
   tabular, always. Headings are sentence case, because a report is
   not shouted. Plain CSS, no build step.
   ========================================================= */

/* shortcut: Google Fonts via @import (one extra round trip). Self-host all three faces before the renting contractor goes live. */
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  /* ground: warm paper, four steps */
  /* Warm, but held just under impeccable's cream-palette line (r-b <= 5 on
     the page background): a document white rather than a beige sheet. */
  --paper:  #f4f3ef;   /* page */
  --card:   #fffefb;   /* raised surface: cards, panels, header */
  --paper2: #f0eee8;   /* alternating sections */
  --well:   #e9e6dd;   /* deepest wells: readouts, table heads */

  /* rules */
  --rule:        #dcd8cc;   /* hairlines between cells */
  --rule-strong: #bdb6a6;   /* panel borders */

  /* ink */
  --ink:       #15181a;   /* 16.1:1 on paper, 13.9:1 on well */
  --ink-soft:  #40474c;   /* 8.5:1 on paper, 7.3:1 on well */
  --ink-faint: #5b6268;   /* 5.6:1 on paper, 5.0:1 on well */

  /* honey ochre (sunlit stucco, dry wood): the only saturated colour on the site */
  --ochre:     #8a5a14;   /* honey ochre (Nov 26). 5.3:1 on paper, 5.9:1 on card, 4.7:1 on well. Button fills take paper text: 5.3:1 */
  --ochre-deep: #634010;   /* pressed, borders, hover. 8.3:1 on paper */
  --ochre-tint: #f8eedb;   /* 5.1:1 against the ochre band */

  /* legacy aliases so shared elements (the chat widget) resolve */
  --brand: var(--ochre); --brand-dark: var(--ochre-deep); --line: var(--rule-strong);
  --bg: var(--paper); --bg-alt: var(--paper2); --bg-dark: var(--ochre-deep);
  --surface: var(--card); --text: var(--ink); --muted: var(--ink-soft);
  --border: var(--rule-strong); --accent: var(--ochre); --cta: var(--ochre);

  --max: 1180px;
  --radius: 2px;
  --font-head: "Libre Franklin", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* the pass mark: the one ornament. A checked box, drawn in CSS so it
     costs nothing and scales anywhere. It is what a clearance report ends in. */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' fill='none' stroke='%23bdb6a6' stroke-width='1.4'/%3E%3Cpath d='M4.6 9.2l2.8 3 6-7' fill='none' stroke='%238a5a14' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  --mark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' fill='none' stroke='%23dfbd84' stroke-width='1.4'/%3E%3Cpath d='M4.6 9.2l2.8 3 6-7' fill='none' stroke='%23f8eedb' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  /* the section rule: a dotted leader, the way a form rules a blank field */
  --leader: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='3' viewBox='0 0 8 3'%3E%3Crect x='0' y='1' width='4' height='1' fill='%23bdb6a6'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ochre); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ochre-deep); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
::selection { background: var(--ochre-tint); color: var(--ink); }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); font-family: var(--font-head); font-weight: 600; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.skip-link:hover, .skip-link:focus { color: var(--paper); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.018em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.022em; }
h3 { font-size: 1.24rem; font-weight: 600; line-height: 1.25; }
h4 { font-size: 1rem; }
p + p { margin-top: 1.05em; }
strong { font-weight: 600; color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--ink-faint); font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.sheet { background: var(--card); border: 1px solid var(--rule-strong); }

/* ---------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,254,251,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-strong); }
.nav { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 22px; min-height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em; flex: 0 0 auto; }
/* logomark = favicon, reused: a round ochre badge, two water lines, the top
   one rising into the pass tick. The water has gone; the room passes. Same
   artwork as favicon.svg (Nov 26: Ivan asked for "more wavy, less square"). */
.nav__logo::before {
  content: ""; width: 32px; height: 32px; flex: 0 0 auto;
  background-color: var(--ochre); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6.5 21.6c2.2-2.4 4.4-2.4 6.6 0s4.4 2.4 6.6 0 4.4-2.4 5.8-.9' fill='none' stroke='%23f4f3ef' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' opacity='.7'/%3E%3Cpath d='M6.5 15.4c2.2-2.4 4.4-2.4 6.6 0 1.4 1.5 2.7 2 4 1.1L25.4 8' fill='none' stroke='%23f4f3ef' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 32px 32px; background-repeat: no-repeat;
}
.nav__logo strong { font-weight: 700; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: .93rem; font-weight: 500; }
.nav__links a:hover { color: var(--ochre); }
.nav__call { font-family: var(--font-mono); font-weight: 600; font-size: .89rem !important; letter-spacing: -.02em; color: var(--ochre) !important; white-space: nowrap; }
.nav__end { display: none; align-items: center; gap: 14px; margin-left: auto; }
.nav__toggle { background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); width: 42px; height: 38px; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.nav__toggle svg { width: 21px; height: 21px; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: -14px; min-width: 285px; background: var(--card); border: 1px solid var(--rule-strong); list-style: none; padding: 7px 0; opacity: 0; visibility: hidden; transition: opacity .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 9px 18px; font-weight: 400; font-size: .92rem; }
.dropdown a:hover { background: var(--well); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
  padding: 15px 28px; border: 1px solid var(--ochre); border-radius: var(--radius);
  background: var(--ochre); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: transform .12s var(--ease-out), background .12s;
}
.btn:hover { background: var(--ochre-deep); color: var(--paper); transform: translateY(-2px); }
.btn:active { transform: translateY(0); background: var(--ochre-deep); }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--ochre); border-color: var(--ochre); transform: translateY(-2px); }

/* ---------------------------------------------------------- section marker: number, dotted leader, label */
.dim { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dim__no { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--ochre); letter-spacing: .06em; flex: 0 0 auto; }
.dim__line { flex: 1 1 auto; height: 3px; background-image: var(--leader); background-repeat: repeat-x; background-position: left center; background-size: 8px 3px; opacity: 1; }
.dim__label { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); flex: 0 0 auto; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; background: var(--card); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--rule-strong); }
/* the document's head rule: a ochre hairline across the top of the page, the
   way a report is ruled before anything is written on it. No photograph in
   this direction -- the hero is paper, type and the clearance card. */
.hero__photo { display: none; } /* the 3px accent rule under the nav, removed Nov 26 at Ivan's request */
/* Nov 26: faded photographs behind the hero (Higgsfield, Flux 2). Home: a
   sunlit Broward block home with a ochre base band, washed toward card white
   on the headline side so the H1 keeps full ink contrast. Inner pages: a
   high-key stucco texture with palm shadow, kept faint. Decorative only. */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero:not(.hero--inner)::before {
  background: linear-gradient(90deg, var(--card) 0%, rgba(255,254,251,.93) 34%, rgba(255,254,251,.62) 62%, rgba(255,254,251,.4) 100%),
              url("/assets/hero-street-1920.webp") 65% 55% / cover no-repeat;
}
.hero--inner::before {
  background: linear-gradient(90deg, var(--card) 0%, rgba(255,254,251,.88) 45%, rgba(255,254,251,.7) 100%),
              url("/assets/texture-stucco-1600.webp") right center / cover no-repeat;
}
.hero__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 76px 28px 82px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 52px; align-items: start; }
.hero h1 { color: var(--ink); max-width: 17ch; }
.hero__sub { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 44ch; }
.hero__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero__stats { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule-strong); max-width: 470px; background: var(--paper); }
.hero__stat { padding: 14px 19px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero__stat:nth-child(2n) { border-right: 0; }
.hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
.hero__stat b { display: block; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ochre); }
.hero__stat span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }

/* the clearance card: what the end of a proper job looks like, on paper */
.hero__plan { position: relative; }
.gauge { border: 1px solid var(--rule-strong); background: var(--card); box-shadow: 0 1px 0 var(--rule); }
.gauge__read { padding: 22px 24px 18px; border-bottom: 1px solid var(--rule-strong); background: var(--ochre); }
.gauge__label { display: block; font-family: var(--font-mono); font-size: .71rem; text-transform: uppercase; letter-spacing: .18em; color: var(--ochre-tint); }
.gauge__fig { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 8px; }
.gauge__fig b { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7.4vw, 4.4rem); line-height: .9; letter-spacing: -.04em; color: var(--paper); }
.gauge__fig span { font-family: var(--font-mono); font-size: .79rem; font-weight: 500; text-transform: uppercase; letter-spacing: .09em; color: var(--ochre-tint); }
.gauge__sub { margin-top: 12px; font-size: .89rem; line-height: 1.52; color: var(--ochre-tint); }
.gauge__rows { list-style: none; }
.gauge__rows li { padding: 15px 24px 15px 50px; border-bottom: 1px solid var(--rule); position: relative; }
.gauge__rows li::before { content: ""; position: absolute; left: 22px; top: 17px; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }
.gauge__rows li:last-child { border-bottom: 0; }
.gauge__rows b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); }
.gauge__rows span { display: block; margin-top: 3px; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.gauge__foot { padding: 14px 24px 16px; border-top: 1px solid var(--rule-strong); background: var(--well); font-size: .81rem; line-height: 1.5; color: var(--ink-soft); }

/* inner-page hero: shorter, no card */
.hero--inner .hero__in { grid-template-columns: 1fr; padding: 58px 28px 62px; max-width: 900px; }
.hero--inner h1 { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.1rem); }

/* ---------------------------------------------------------- sections */
.sec { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.sec--alt { background: var(--paper2); }
/* the 58ch measure belongs to running text only; tables, the widgets and the
   card grids use the full column. */
.sec__body > p, .sec__body > ul, .sec__body > h3, .sec__body > .muted { max-width: 58ch; }
.sec__body h3 { margin-top: 2.1em; margin-bottom: .55em; }
.sec__body > :first-child { margin-top: 0; }
.sec__body p { color: var(--ink-soft); }
.sec__body ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.sec__body li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.sec__body li::before { content: ""; position: absolute; left: 0; top: .34em; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 0; margin-top: 32px; border: 1px solid var(--rule-strong); background: var(--card); }
.card { padding: 27px 24px 29px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.card__no { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--ochre); letter-spacing: .08em; display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--ochre); text-decoration: underline; }
.card p { font-size: .96rem; color: var(--ink-soft); }

/* link list */
.linklist { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.wrap > h3 { margin-top: 2.1em; }
.wrap > h2 + h3 { margin-top: 1.1em; }
.linklist a { display: inline-block; padding: 9px 15px; background: var(--card); border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: .92rem; font-weight: 500; }
.linklist a:hover { border-color: var(--ochre); color: var(--ochre); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--rule-strong); }
.step { counter-increment: step; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--rule); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 1.02rem; font-weight: 600; color: var(--ochre); }
.step h3 { margin-bottom: 5px; font-size: 1.12rem; }
.step p { color: var(--ink-soft); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule-strong); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); }
th { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink); background: var(--well); }
td { color: var(--ink-soft); }
td:last-child { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -.012em; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-family: var(--font-mono); font-size: 1.25rem; color: var(--ochre); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 40px 19px 0; color: var(--ink-soft); }

/* CTA band: the one ochre flood on the site */
.cta { background: var(--ochre); color: var(--paper); padding: 78px 0; border-bottom: 1px solid var(--ochre-deep); }
.cta h2 { color: var(--paper); font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; letter-spacing: -.028em; max-width: 17ch; }
.cta p { margin-top: 14px; color: var(--ochre-tint); max-width: 52ch; }
.cta__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 13px; }
.cta .btn { background: var(--paper); color: var(--ochre-deep); border-color: var(--paper); }
.cta .btn:hover { background: #fff; color: var(--ochre-deep); }
.cta .btn--ghost { background: transparent; color: var(--paper); border-color: #dfbd84; }
.cta .btn--ghost:hover { background: var(--paper); color: var(--ochre-deep); border-color: var(--paper); }

/* split heading */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; align-items: end; }
.split p { color: var(--ink-soft); }

/* ---------------------------------------------------------- the cost estimator: a worksheet */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule-strong); background: var(--card); margin-top: 32px; }
.est__controls { padding: 28px 26px; border-right: 1px solid var(--rule-strong); }
.est__out { padding: 28px 26px; background: var(--well); }
.est__legend { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 7px; display: block; }
.est__row { margin-bottom: 24px; }
.est__row:last-child { margin-bottom: 0; }
.est__val { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.est__val small { font-size: .8rem; font-weight: 500; color: var(--ink-faint); margin-left: 5px; }
input[type=range] { width: 100%; margin-top: 11px; accent-color: var(--ochre); height: 28px; }
.est__hint { font-size: .86rem; color: var(--ink-faint); margin-top: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.chip { font-family: var(--font-head); font-size: .89rem; font-weight: 500; padding: 9px 14px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink-soft); cursor: pointer; }
.chip:hover { border-color: var(--ochre); color: var(--ink); }
.chip[aria-pressed=true] { background: var(--ochre); border-color: var(--ochre); color: var(--paper); }
/* the figure: the one place a number is allowed to be large */
.est__range { font-family: var(--font-mono); font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ochre-deep); letter-spacing: -.02em; line-height: 1.15; padding-top: 10px; border-top: 2px solid var(--ochre); margin-top: 2px; }
.est__note { font-size: .88rem; color: var(--ink-soft); margin-top: 13px; }
.est__drivers { list-style: none; margin-top: 18px; font-size: .92rem; }
.est__drivers li { padding-left: 30px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.est__drivers li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }

/* ---------------------------------------------------------- the Broward Paperwork Path
   New for this site (replaces the Coral Gables rule check). The dotted leader
   that rules each section heading turns ninety degrees and becomes the route:
   numbered stops, each one a piece of paperwork, joined by the same dots. */
.path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid var(--rule-strong); background: var(--card); margin-top: 32px; }
.path__in { padding: 28px 26px; border-right: 1px solid var(--rule-strong); }
.path__q { border: 0; margin-bottom: 22px; }
.path__q:last-of-type { margin-bottom: 0; }
.path__q legend { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 9px; }
.path__opts { display: flex; flex-wrap: wrap; gap: 7px; }
.path__opts label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); font-family: var(--font-head); font-size: .89rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.path__opts label:hover { border-color: var(--ochre); color: var(--ink); }
.path__opts label:has(input:checked) { border-color: var(--ochre); background: var(--ochre-tint); color: var(--ink); }
.path__opts input { accent-color: var(--ochre); width: 16px; height: 16px; }
.path__out { padding: 28px 26px; background: var(--well); }
.path__head { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ochre); margin-bottom: 18px; }
.path__route { list-style: none; counter-reset: stop; }
.path__route li { position: relative; padding: 0 0 22px 46px; counter-increment: stop; }
.path__route li::before { content: counter(stop, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 31px; height: 31px; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--ochre); font-family: var(--font-mono); font-size: .74rem; font-weight: 600; color: var(--ochre-deep); font-variant-numeric: tabular-nums; }
.path__route li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 3px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='8' viewBox='0 0 3 8'%3E%3Crect x='1' y='0' width='1' height='4' fill='%23bdb6a6'/%3E%3C/svg%3E"); background-repeat: repeat-y; }
.path__route li:last-child { padding-bottom: 0; }
.path__route li:last-child::after { display: none; }
.path__route h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.path__tag { display: inline-block; margin-bottom: 6px; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ochre-deep); }
.path__route p { font-size: .93rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.path__note { margin-top: 16px; font-size: .86rem; color: var(--ink-soft); max-width: 62ch; }
/* Coverage Gap: the Paperwork Path worksheet, with a waterline bar. The
   filled part (covered) rises to a wavy edge, echoing the logomark. */
.cover__status { font-family: var(--font-head); font-size: 1.32rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin-bottom: 18px; }
.cover__out[data-status="no"] .cover__status { color: var(--ochre-deep); }
.cover__figs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-strong); background: var(--card); }
.cover__fig { padding: 14px 16px; }
.cover__fig + .cover__fig { border-left: 1px solid var(--rule); }
.cover__fig span { display: block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 4px; }
.cover__fig b { font-family: var(--font-mono); font-size: 1.12rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.cover__fig--gap b { color: var(--ochre-deep); font-size: 1.3rem; }
.cover__bar { position: relative; height: 26px; margin: 14px 0 20px; background: var(--card); border: 1px solid var(--rule-strong); overflow: hidden; }
.cover__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ochre-tint); border-right: 2px solid var(--ochre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4c3-3 6-3 9 0s6 3 9 0 4.5-2 6-1.5' fill='none' stroke='%238a5a14' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: 0 2px; transition: width .5s cubic-bezier(.16,1,.3,1); }
.cover .cover__lines { margin: 0; list-style: none; display: grid; gap: 10px; }
.cover .cover__lines li { margin: 0; padding-left: 18px; font-size: .93rem; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.cover .cover__lines li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--ochre); background-image: none; border: 0; }
.cover .cover__lines li:first-child { color: var(--ink); }
@media (max-width: 480px) { .cover__figs { grid-template-columns: 1fr; } .cover__fig + .cover__fig { border-left: 0; border-top: 1px solid var(--rule); } }

/* Bid Checker: the Paperwork Path's worksheet with checkboxes in place of pills */
.bid__opts { display: grid; gap: 7px; }
.bid__opts label { display: flex; align-items: flex-start; gap: 11px; padding: 11px 12px; min-height: 44px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); font-family: var(--font-head); font-size: .92rem; font-weight: 500; line-height: 1.35; color: var(--ink-soft); cursor: pointer; }
.bid__opts label:hover { border-color: var(--ochre); color: var(--ink); }
.bid__opts label:has(input:checked) { border-color: var(--ochre); background: var(--ochre-tint); color: var(--ink); }
.bid__opts input { accent-color: var(--ochre); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.bid__count { font-family: var(--font-mono); font-size: .86rem; font-variant-numeric: tabular-nums; color: var(--ink-faint); margin-bottom: 6px; }
.bid__verdict { font-family: var(--font-head); font-size: 1.32rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin-bottom: 18px; }
#bid-out[data-verdict="stop"] .bid__verdict { color: var(--ochre-deep); }
.bid__clean { font-size: .95rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.bid .bid__lines { margin: 0; list-style: none; display: grid; gap: 12px; }
.bid__lines .bid__line { margin: 0; padding: 14px 16px 14px 44px; position: relative; background: var(--card); border: 1px solid var(--rule-strong); }
.bid__lines .bid__line::before { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; background: none; display: grid; place-items: center; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; }
.bid__lines .bid__line--missing::before { content: "?"; border: 1.5px solid var(--rule-strong); color: var(--ink-faint); }
.bid__lines .bid__line--flag { border-color: var(--ochre); }
.bid__lines .bid__line--flag::before { content: "!"; background: var(--ochre); color: var(--paper); }
.bid__lines .bid__line h3 { font-size: 1rem; color: var(--ink); margin: 0 0 4px; }
.bid__lines .bid__line p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

/* ---------------------------------------------------------- form */
.form-card { background: var(--card); border: 1px solid var(--rule-strong); padding: 27px 24px; }
.form-card h2 { font-size: 1.4rem; }
.form-card p { color: var(--ink-soft); }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-faint); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }  /* 5.6:1; the Coral Gables #857c6c was 3.7:1 */
.field input:focus, .field textarea:focus { border-color: var(--ochre); outline: 2px solid rgba(138,90,20,.28); outline-offset: 0; }
.form-error { color: #8c2f22; font-weight: 600; font-size: .94rem; margin-bottom: 12px; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--paper2); color: var(--ink-soft); padding: 58px 0 0; font-size: .95rem; border-top: 1px solid var(--rule-strong); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--ochre); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 0; border: 1px solid var(--rule-strong); background: var(--card); }
.footer-grid > div { padding: 25px 22px; border-right: 1px solid var(--rule-strong); }
.footer-grid > div:last-child { border-right: 0; }
.site-footer h3 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--ochre); margin-bottom: 14px; line-height: 1.4; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer p { color: var(--ink-soft); }
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule-strong); border-bottom: 0; background: var(--well); }
.titleblock div { padding: 12px 22px; border-right: 1px solid var(--rule-strong); }
.titleblock div:last-child { border-right: 0; }
.titleblock dt { font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-faint); }
.titleblock dd { font-family: var(--font-mono); font-size: .73rem; font-variant-numeric: tabular-nums; color: var(--ink); margin-top: 3px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--rule-strong); margin-top: 0; padding: 21px 0 94px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); letter-spacing: .02em; }

/* ---------------------------------------------------------- sticky phone bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; border-top: 1px solid var(--ochre-deep); }
.sticky-cta a { flex: 1 1 0; text-align: center; padding: 16px 8px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; text-decoration: none; }
.sticky-cta__call { background: var(--ochre); color: var(--paper); }
.sticky-cta__est { background: var(--card); color: var(--ink); border-left: 1px solid var(--rule-strong); }
/* the generic a:hover would paint ochre-deep text on the ochre bar (1.5:1) */
.sticky-cta__call:hover { background: var(--ochre-deep); color: var(--paper); }
.sticky-cta__est:hover { background: var(--well); color: var(--ink); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  /* phones and small tablets: the palm street again, anchored top right so the
     palm sits in the corner, washed white from the left where the type sits */
  .hero:not(.hero--inner)::before {
    background: linear-gradient(90deg, var(--card) 0%, rgba(255,254,251,.94) 45%, rgba(255,254,251,.7) 78%, rgba(255,254,251,.45) 100%),
                linear-gradient(180deg, transparent 45%, var(--card) 85%),
                url("/assets/hero-street-1000.webp") 72% top / auto 70% no-repeat, var(--card);
  }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock div:nth-child(2n) { border-right: 0; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; display: none; }
  .nav__links.open { display: flex; }
  .nav__links > li > a { display: block; padding: 12px 28px; }
  .nav__links .nav__call { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; border: 0; padding: 0 0 6px 14px; min-width: 0; background: none; }
  .nav__end { display: flex; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 20ch; }
  .gauge { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .est { grid-template-columns: 1fr; }
  .est__controls { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .path { grid-template-columns: 1fr; }
  .path__in { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(2n) { border-right: 0; }
  .footer-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule-strong); }
}
@media (max-width: 700px) {
  .wrap, .nav, .hero__in { padding-left: 18px; padding-right: 18px; }
  .sec { padding: 50px 0; }
  .hero__in { padding: 48px 18px 54px; }
  .hero h1 { max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__stats { max-width: 100%; }
  .gauge { max-width: 100%; }
  .gauge__read, .gauge__foot { padding-left: 20px; padding-right: 20px; }
  .gauge__rows li { padding-left: 46px; padding-right: 20px; }
  .gauge__rows li::before { left: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid > div:last-child { border-bottom: 0; }
  .sticky-cta { display: flex; }
}
@media (max-width: 560px) {
  /* phones: push the photo right so the palm clears the headline */
  .hero:not(.hero--inner)::before {
    background: linear-gradient(90deg, var(--card) 0%, rgba(255,254,251,.96) 62%, rgba(255,254,251,.75) 85%, rgba(255,254,251,.45) 100%),
                linear-gradient(180deg, transparent 40%, var(--card) 80%),
                url("/assets/hero-street-1000.webp") left -60px top / auto 30% no-repeat, var(--card);
  }
  /* the header keeps the mark, the name and the menu; the sticky bottom bar
     already carries Call now. */
  .nav__end .nav__call { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 480px) {
  .nav__logo { font-size: .93rem; }
  .nav__logo::before { width: 26px; height: 26px; }
  .hero__btns .btn { width: 100%; }
}
