/* Local Home Report — landing page
   Self-contained. No external fonts, scripts, or CDNs (the CSP in _headers allows 'self' only). */

:root {
  --paper:     #fbf8f2;
  --cream:     #f3ecdf;
  --sand:      #e6dccb;
  --ink:       #1c2a22;
  --ink-2:     #2c3d33;
  --body:      #4a574f;
  --muted:     #75807a;
  --forest:    #2f5d46;
  --forest-dk: #244a37;
  --forest-wash:#e6efe9;
  --clay:      #c4653a;
  --clay-wash: #f8e9df;
  --white:     #ffffff;
  --ok:        #2f7a4f;
  --err:       #b3261e;

  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --r:    18px;
  --shadow:    0 1px 2px rgba(28,42,34,.05), 0 10px 30px rgba(28,42,34,.08);
  --shadow-lg: 0 2px 6px rgba(28,42,34,.06), 0 24px 60px rgba(28,42,34,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7;
  color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--clay); }

h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.14rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
section { padding-block: clamp(64px, 9vw, 116px); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 650; color: var(--forest);
  background: var(--forest-wash); border-radius: 100px; padding: 5px 13px; margin: 0 0 18px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.lede { font-size: 1.13rem; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 200; }
.skip:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,248,242,.9); backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.brand {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-weight: 800; font-size: 1.14rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .93rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--clay); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 100px; }
.nav .nav-cta:hover { background: var(--forest); color: #fff; }
@media (max-width: 880px) { .nav .hide-sm { display: none; } }
@media (max-width: 520px) {
  .site-header .wrap { gap: 12px; min-height: 64px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .nav { gap: 14px; }
  .nav a { font-size: .86rem; }
  .nav .nav-cta { padding: 8px 14px; }
  .nav a:not(.nav-cta):not(:first-child) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: -.005em;
  padding: 14px 26px; border-radius: 100px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dk); color: #fff; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: #a9542e; color: #fff; }
.btn-block { width: 100%; padding: 15px 24px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(26px, 4vw, 52px) clamp(56px, 7vw, 92px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.hero-copy h1 { margin-bottom: .45em; }
.hero-copy > p { font-size: 1.12rem; max-width: 34em; }
.hero-checks { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-checks li { display: flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 600; color: var(--ink-2); }
.hero-checks svg { flex: none; }

.hero-photos { position: relative; }
@media (min-width: 941px) { .hero-photos { position: sticky; top: 24px; } }
.hero-photos .main {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg);
}
.hero-photos .inset {
  position: absolute; left: -34px; bottom: 44px; width: 42%; aspect-ratio: 1; object-fit: cover;
  border-radius: 20px; border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.hero-chip {
  position: absolute; right: 18px; top: 18px; background: rgba(255,255,255,.95); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.35; color: var(--muted);
}
.hero-chip b { display: block; color: var(--ink); font-size: .95rem; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photos { order: -1; }
  .hero-photos .main { aspect-ratio: 16 / 10; border-radius: 22px; }
  .hero-photos .inset { display: none; }
}

/* ---------- Form card ---------- */
.card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); padding: clamp(24px, 3.2vw, 34px); border: 1px solid var(--sand); }
.card h2 { font-size: 1.36rem; margin-bottom: 4px; }
.card p.sub { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.req { color: var(--clay); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--sand); border-radius: 12px; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; appearance: none;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  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 d='M1 1.5 6 6.5 11 1.5' stroke='%2375807a' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 3px rgba(47,93,70,.15);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b0a8; }
.field.err input, .field.err select { border-color: var(--err); }
.field-msg { display: none; font-size: .8rem; color: var(--err); margin-top: 5px; }
.field.err .field-msg { display: block; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; gap: 0; } }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 18px 0; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--forest); }
.consent.err { color: var(--err); }

.form-note { margin-top: 14px; font-size: .79rem; color: var(--muted); text-align: center; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; }
.form-status.show { display: block; }
.form-status[data-tone="ok"] { text-align: center; padding: 16px 4px 6px; }
.form-status .tick { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--forest-wash); display: grid; place-items: center; }
.form-status h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-status p { color: var(--muted); font-size: .95rem; }
.form-status[data-tone="err"] { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fdf0ef; border: 1px solid #f2cfcc; color: var(--err); font-size: .88rem; }

.btn[aria-busy="true"] { opacity: .72; pointer-events: none; }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* two steps */
.form-track { display: flex; gap: 6px; margin: 0 0 18px; }
.form-track span { flex: 1; height: 5px; border-radius: 5px; background: var(--sand); transition: background-color .25s ease; }
.form-track span:first-child, .form-track.on-2 span { background: var(--forest); }
.form-track-label { margin: 0 0 8px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.form-track-label b { color: var(--ink); }
.form-step-intro { margin: 0 0 16px; font-size: .9rem; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 10px 13px; }
.form-step-back { display: block; margin: 12px auto 0; padding: 4px 8px; background: none; border: 0; font: inherit; font-size: .86rem; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-step-back:hover { color: var(--ink); }
#nextBtn { margin-top: 6px; }

/* ---------- Promise tiles ---------- */
.promises { padding-block: 0 clamp(56px, 7vw, 90px); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--cream); border-radius: var(--r); padding: 22px 22px 20px; }
.promise .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--white); display: grid; place-items: center; margin-bottom: 14px; }
.promise h3 { font-size: 1rem; margin-bottom: 4px; }
.promise p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- Section heads ---------- */
.head { max-width: 660px; margin-bottom: clamp(34px, 5vw, 54px); }
.head.center { margin-inline: auto; text-align: center; }
.head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.head.split > div { max-width: 600px; }

/* ---------- Process (photo cards) ---------- */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: stage; }
.stage { counter-increment: stage; }
.stage-photo { position: relative; margin-bottom: 18px; }
.stage-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.stage-photo::after {
  content: counter(stage); position: absolute; left: 14px; top: 14px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--clay); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.stage p { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: 1.5fr 1fr; grid-template-rows: 250px 250px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(28,42,34,.72); color: #fff;
  font-size: .78rem; font-weight: 650; padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(4px);
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
}

/* ---------- Report ---------- */
.report { background: var(--cream); }
.report-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--sand); font-size: .97rem; color: var(--ink-2); }
.checks li:first-child { border-top: 0; }
.checks svg { flex: none; margin-top: 4px; }

.sample { position: relative; }
.sample > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; }
.sample-card {
  position: absolute; right: -10px; bottom: -26px; width: min(330px, 88%);
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px 22px;
}
.sample-card .tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin: 0 0 8px; }
.sample-card .range { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 0; line-height: 1.2; }
.sample-card .meter { position: relative; height: 8px; border-radius: 8px; background: var(--forest-wash); margin: 14px 0 12px; }
.sample-card .meter span { position: absolute; left: 30%; right: 22%; top: 0; bottom: 0; border-radius: 8px; background: var(--forest); }
.sample-card dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: .82rem; }
.sample-card dt { color: var(--muted); }
.sample-card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
@media (max-width: 900px) { .sample-card { position: relative; right: auto; bottom: auto; margin: -60px auto 0; } }

/* ---------- Update (photo background) ---------- */
.update { position: relative; padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.update > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.update::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,42,34,.55), rgba(28,42,34,.05)); }
.update .wrap { position: relative; }
.update-card { max-width: 520px; background: rgba(251,248,242,.97); border-radius: 24px; padding: clamp(28px, 4vw, 42px); box-shadow: var(--shadow-lg); }
.update-card h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }

/* ---------- Reasons ---------- */
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .reason-tiles { grid-template-columns: 1fr; } }
.reason { border: 1.5px solid var(--sand); border-radius: var(--r); padding: 20px; background: var(--white); }
.reason b { display: block; color: var(--ink); font-size: 1rem; margin: 10px 0 2px; }
.reason span { font-size: .87rem; color: var(--muted); line-height: 1.5; display: block; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.cta-row small { color: var(--muted); font-size: .86rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 100px; }
@media (max-width: 900px) { .faq-grid .head { position: static; } }
.faq details { background: var(--paper); border-radius: 14px; margin-bottom: 10px; padding: 2px 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 34px 17px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--forest-wash); color: var(--forest);
  display: grid; place-items: center; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.faq .answer { padding: 0 0 18px; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab5ad; font-size: .89rem; padding: clamp(50px, 6vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { line-height: 1.6; max-width: 34em; }
.site-footer h4 { color: #fff; font-size: .86rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d3cc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 24px; font-size: .8rem; color: #8b978f; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-legal p { margin: 0; max-width: none; }
address { font-style: normal; }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(40px, 6vw, 70px); }
.legal .doc { max-width: 780px; margin-inline: auto; }
.legal .doc h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal .doc h2 { font-size: 1.32rem; margin-top: 2.2em; }
.legal .doc h3 { margin-top: 1.6em; }
.legal .doc ul, .legal .doc ol { padding-left: 22px; }
.legal .doc li { margin-bottom: .5em; }
.legal .updated { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--forest); background: var(--forest-wash); padding: 5px 13px; border-radius: 100px; margin-bottom: 10px; }
.legal .card { margin-top: 26px; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.legal .doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .88rem; }
.legal .doc th, .legal .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--sand); }
.legal .doc th { color: var(--ink); font-weight: 700; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.choices { margin: 6px 0 18px; }
.choices.err .field-msg { display: block; }
.choice { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; padding: 12px 14px; margin-bottom: 8px; border: 1.5px solid var(--sand); border-radius: 12px; font-size: .93rem; color: var(--ink); line-height: 1.45; }
.choice input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--forest); }
.choice small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--forest-wash); }
.notice { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--forest-wash); font-size: .92rem; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 2s; }
  .gallery img, .form-track span { transition: none; }
}

/* The hidden attribute must win over component display rules. */
[hidden] { display: none !important; }
.nav-cta { white-space: nowrap; }
