/* Direction A "Local editorial" (ticket 15, locked 2026-10-19). One action color per niche,
   set per site as --action in the page head. The action color is for Call and form buttons only. */
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --canvas: #faf7f2;
  --surface: #ffffff;
  --sunk: #f2ede4;
  --text: #1d1c1a;
  --muted: #5d5850;
  --hairline: #e4ddd1;
  --action: #355132;
  --action-hover: #2a4128;
  --action-ink: #ffffff;
  --focus: #b5651d;
  --radius: 10px;
  --pill: 999px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 68ch;
  --gutter: 20px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  padding-bottom: calc(var(--bar-h) + 12px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, label:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: 0.25em 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--hairline); background: var(--canvas); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.brand small { display: block; font: 400 0.75rem/1.2 var(--sans); color: var(--muted); }
.btn.header-call { display: none; }
.nav { border-bottom: 1px solid var(--hairline); background: var(--surface); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 18px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav a { display: inline-block; padding: 10px 0; text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Buttons: the only place the action color appears */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--pill);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--action); background: var(--action); color: var(--action-ink);
}
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--text); }
.btn-quiet:hover { background: var(--sunk); border-color: var(--text); }
.btn .num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.rec-line { font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }

/* Hero: one local photo with one card */
.hero { position: relative; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 300px; object-fit: cover; }
.hero-inner { position: relative; }
.hero-card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--hairline);
  padding: 22px 20px; margin: -72px 0 0; position: relative;
}
.hero-card .lede { font-size: 1.05rem; color: var(--muted); }
.hero-card .places { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-form { margin-top: 20px; }
.hvac .hero-photo img { height: 210px; }
.hvac .hero-card { margin-top: -48px; padding-top: 18px; }

/* Disclosure strip */
.disclosure { background: var(--sunk); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.disclosure p { margin: 0; padding: 14px 0; font-size: 0.92rem; }

/* Sections */
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section h2 { max-width: var(--measure); }
.intro { max-width: var(--measure); color: var(--muted); }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; text-decoration: none; }
.card a.more::after { content: " \2192"; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 18px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 18px 16px 58px; position: relative; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--text); font: 600 0.9rem/25px var(--sans); text-align: center; }
.steps strong { display: block; }
.figure { margin: 18px 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* Cost table */
.costs { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; }
.costs th, .costs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.costs thead th { background: var(--sunk); font-weight: 600; }
.costs td.range { white-space: nowrap; font-variant-numeric: tabular-nums; }
.costs tr:last-child td { border-bottom: 0; }
.sources { font-size: 0.85rem; color: var(--muted); }
.sources li { margin: 0.15em 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--hairline); padding: 12px 0; max-width: var(--measure); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; }

/* Pro card (trial and rented states) */
.pro-card { display: grid; gap: 6px; }
.pro-card .license { font-variant-numeric: tabular-nums; }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.form-card h2, .form-card h3 { font-size: 1.35rem; }
.field { margin-bottom: 14px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfc6b8; border-radius: 8px;
  font: 400 1rem/1.4 var(--sans); background: #fff; color: var(--text);
}
.field textarea { min-height: 84px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; margin: 0; font-weight: 500; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 8px 14px; border: 1px solid #cfc6b8; border-radius: var(--pill); cursor: pointer; font-size: 0.92rem; background: #fff; }
.chips input:checked + span { border-color: var(--text); background: var(--sunk); font-weight: 600; }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 0.85rem; color: var(--muted); margin: 10px 0 12px; }
.form-disclosure { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 10px; margin-top: 14px; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status[data-kind="error"] { color: #8a1f11; }
.form-card button[type="submit"] { width: 100%; }
.turnstile { margin: 6px 0 4px; min-height: 0; }
.more-fields { margin: 0 0 12px; }
.more-fields summary { cursor: pointer; font-size: 0.92rem; font-weight: 600; margin-bottom: 10px; }

/* Render tool */
.render-tool { display: grid; gap: 18px; }
.render-out img { border-radius: var(--radius); border: 1px solid var(--hairline); }
.render-out .label { font-size: 0.85rem; color: var(--muted); }

/* Final call block */
.final { background: var(--surface); }
.final .grid { display: grid; gap: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0 24px; font-size: 0.9rem; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0; }
.site-footer a { color: var(--text); }

/* Fixed bottom bar: wide Call with the number, narrow Form. Nothing else floats. */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--canvas);
  border-top: 1px solid var(--hairline);
}
.call-bar .btn { min-height: 48px; }
.call-bar .btn-quiet { padding: 12px 18px; }

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .final .grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .render-tool { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .btn.header-call { display: inline-flex; }
  .hero-photo { position: absolute; inset: 0; }
  .hero-photo img, .hvac .hero-photo img { height: 100%; }
  .hero-inner { padding: 72px 0; min-height: 520px; display: flex; align-items: center; }
  .hvac .hero-inner { padding: 48px 0; min-height: 440px; }
  .hero-inner .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
  .hero-card, .hvac .hero-card { margin: 0; padding: 30px 30px 26px; }
  .hero-form { margin-top: 0; }
  .hero.no-form .hero-inner .wrap { grid-template-columns: 0.62fr 0.38fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .call-bar, .nav, .hero-form { display: none; } }
.render-attach .check { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; font-weight: 600; cursor: pointer; }
.render-attach .check input { width: 22px; height: 22px; accent-color: var(--text); margin: 0; }

/* HVAC quiz variant (assets/quiz.js): while the questions run, hide the form fields and show only the heading and quiz. */
.quiz-pending > :not(h1):not(h2):not(h3):not(.quiz-box):not(.cf-turnstile) { display: none; }
.quiz-step { color: var(--muted, #5b6472); font-size: 0.85rem; margin: 0 0 4px; }
.quiz-q { font-weight: 600; font-size: 1.1rem; margin: 0 0 10px; }
.quiz-opt { display: block; width: 100%; text-align: left; padding: 12px 14px; margin: 8px 0; border: 1px solid #cfc6b8; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; }
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--text); }
.quiz-open { width: 100%; min-height: 80px; padding: 10px; border: 1px solid #cfc6b8; border-radius: 8px; font: inherit; }
.quiz-next { width: 100%; margin-top: 10px; }
.quiz-skip { background: none; border: 0; color: var(--muted, #5b6472); margin-top: 6px; cursor: pointer; text-decoration: underline; font: inherit; }
.quiz-pains { padding-left: 20px; margin: 0 0 14px; }

/* Poster theme (market.yaml theme: poster; jax-turf, Connor 2026-11-02): black and lime, huge condensed type. */
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-latin-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
.theme-poster {
  --canvas: #0b0b0b; --surface: #171717; --sunk: #242424; --text: #fff; --muted: #bdbdbd; --hairline: #333;
  --action: #c8ff2e; --action-hover: #b2e81c; --action-ink: #0b0b0b; --focus: #c8ff2e;
  --radius: 0px; --pill: 0px; --serif: "Anton", Impact, "Arial Narrow", sans-serif; --sans: "Archivo", system-ui, sans-serif;
}
.theme-poster h1, .theme-poster h2, .theme-poster h3 { font-weight: 400; letter-spacing: 0; text-transform: uppercase; line-height: 1.05; }
.theme-poster h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--action); }
.theme-poster h3 { font-size: 1.45rem; }
.theme-poster .brand { font-size: 1.15rem; font-weight: 400; letter-spacing: 0.02em; }
.theme-poster .nav { background: var(--canvas); }
.theme-poster .nav a[aria-current="page"] { color: var(--action); }
.theme-poster .btn { font-weight: 800; }
.theme-poster .field input[type="text"], .theme-poster .field input[type="tel"], .theme-poster .field input[type="email"], .theme-poster .field textarea { border: 3px solid #0b0b0b; border-radius: 0; }
.theme-poster .btn-quiet { background: transparent; color: var(--text); border-color: var(--text); }
.theme-poster .btn-quiet:hover { background: var(--sunk); }
.theme-poster .prose a, .theme-poster .faq a, .theme-poster .card a.more, .theme-poster .intro a { color: var(--action); }
.theme-poster .steps li::before { border-color: var(--action); color: var(--action); }
.theme-poster .costs td.range { color: var(--action); font-weight: 600; }
.theme-poster .form-status[data-kind="error"] { color: #b3261e; }
.poster { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - 104px); overflow: hidden; }
.poster-photo { position: absolute; inset: 0; }
.poster-photo img { width: 100%; height: 100%; object-fit: cover; }
.poster-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.78)); }
.poster-copy { position: relative; padding: 24px 16px 14px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.poster-copy h1 { font: 800 clamp(0.9rem, 1.6vw, 1.15rem)/1.25 var(--sans); margin: 0 0 8px; }
.poster-display { font: 400 22vw/0.92 var(--serif); margin: 0 0 12px; text-transform: uppercase; color: var(--action); }
.poster-display.long { font-size: 15vw; }
.poster-copy .lede { max-width: 640px; margin: 0 0 4px; font-weight: 600; }
.poster-copy .places { margin: 0; font-size: 0.9rem; }
.poster-call { position: relative; display: block; padding: 14px 10px 16px; text-align: center; text-decoration: none; background: var(--action); color: var(--action-ink); font: 400 clamp(2.6rem, 8vw, 6.8rem)/1 var(--serif); }
.poster-call small { display: block; margin-bottom: 6px; font: 800 clamp(0.75rem, 1.4vw, 1rem)/1.25 var(--sans); text-transform: uppercase; }
.poster-call:hover { background: var(--action-hover); }
.poster-rec { position: relative; padding: 6px 16px; margin: 0; background: var(--canvas); }
.points { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hairline); }
.points > div { padding: 24px 16px; border-bottom: 1px solid var(--hairline); }
.points strong { display: block; margin-bottom: 8px; font: 400 clamp(2.4rem, 5vw, 4.6rem)/0.98 var(--serif); text-transform: uppercase; color: var(--action); }
.gallery { padding: 0; }
.gallery > .wrap { max-width: none; padding: 0; }
.gallery-wall { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; }
.tile { flex: none; width: auto; height: clamp(240px, 52vh, 520px); margin: 0; padding: 0; border: 0; border-radius: 0; scroll-snap-align: start; }
.tile img { width: auto; height: 100%; max-width: none; }
.tile span { font-size: 0.95rem; padding: 34px 12px 10px; }
.gallery .small { padding: 10px 16px 14px; margin: 0; }
.gallery-box { width: calc(100% - 24px); max-width: 1040px; padding: 0; border: 0; background: var(--canvas); color: var(--text); }
.gallery-box::backdrop { background: rgba(0, 0, 0, 0.88); }
.gallery-box-grid img { display: block; width: 100%; max-height: 46vh; object-fit: cover; }
.gallery-box-grid > div { padding: 18px 20px 22px; }
.gallery-box-grid h3 { margin-top: 0; }
.gallery-box-grid .btn { width: 100%; }
.gallery-x { position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px; font-size: 1.5rem; line-height: 1; border: 0; background: var(--canvas); color: var(--text); cursor: pointer; }
.theme-poster .lead-steps, .theme-poster .final {
  --canvas: #fff; --surface: #fff; --sunk: #ececec; --text: #0b0b0b; --muted: #4a4a4a; --hairline: #ccc;
  --action: #0b0b0b; --action-hover: #2a2a2a; --action-ink: #c8ff2e; --focus: #0b0b0b;
  background: #fff; color: #0b0b0b;
}
.theme-poster .field input[type="text"], .theme-poster .field input[type="tel"], .theme-poster .field input[type="email"], .theme-poster .field textarea { border: 2px solid #0b0b0b; color: #0b0b0b; background: #fff; }
.theme-poster .chips span { color: #0b0b0b; }
.lead-steps .form-card { padding: 0; border: 0; }
.lead-steps .form-card h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 12px; }
.lead-steps .field, .lead-steps .more-fields, .lead-steps button[type="submit"], .lead-steps .consent, .lead-steps .form-status { max-width: 560px; }
.steps-box .quiz-step { font-size: 0.9rem; margin: 0 0 8px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.steps-opt { position: relative; min-height: 84px; padding: 12px; overflow: hidden; font: 800 1.05rem/1.2 var(--sans); text-align: left; color: var(--text); background: var(--surface); border: 3px solid var(--text); cursor: pointer; }
.steps-opt:hover { background: #c8ff2e; }
.steps-opt.has-photo { height: 150px; border: 0; background: #0b0b0b; }
.steps-opt.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps-opt.has-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 11px 10px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
.steps-fact { margin: 14px 0 0; padding: 12px 14px; background: #0b0b0b; color: #fff; }
.steps-fact strong { color: #c8ff2e; }
.steps-back { margin-top: 12px; padding: 8px 0; font: inherit; color: var(--muted); text-decoration: underline; background: none; border: 0; cursor: pointer; }
.steps-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.steps-chips span { padding: 4px 11px; font-size: 0.88rem; font-weight: 600; background: var(--sunk); }
.steps-chips + .steps-fact { margin-bottom: 14px; }
@media (min-width: 760px) {
  .poster-display { font-size: 17vw; }
  .poster-display.long { font-size: 11vw; }
  .poster-copy { padding-inline: 24px; }
  .points { grid-template-columns: repeat(3, 1fr); }
  .points > div { border-right: 1px solid var(--hairline); padding: 34px 24px; }
  .gallery-box-grid { display: grid; grid-template-columns: 1.4fr 1fr; }
  .gallery-box-grid img { height: 100%; max-height: 80vh; }
  .gallery-box-grid > div { padding: 28px 24px; align-self: center; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .steps-opt.has-photo { height: 240px; }
}
