/* ===================================================================
   Koenig editor (Ghost) — required card classes + prose embeds.
   Wide/full image cards break the .prose measure to the sheet edges.
   =================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.prose .kg-card, .prose figure { margin: 32px 0; }
.prose .kg-width-wide { width: calc(100% + 96px); margin-left: -48px; margin-right: -48px; max-width: none; }
.prose .kg-width-full { width: calc(100% + 96px); margin-left: -48px; margin-right: -48px; max-width: none; }
.prose .kg-width-wide img, .prose .kg-width-full img { width: 100%; border-radius: 0; }
.prose .kg-image { width: 100%; }
.prose .kg-image-card img { width: 100%; border-radius: var(--radius-sm); }
.prose .kg-embed-card, .prose .kg-gallery-card { width: 100%; }
.prose blockquote { border-left: var(--rule-accent); margin: 28px 0; padding: 4px 0 4px 20px; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--tnb-ink); }
@media (max-width: 760px) {
  .prose .kg-width-wide, .prose .kg-width-full { width: calc(100% + 44px); margin-left: -22px; margin-right: -22px; }
}

/* Custom-font support — consume Ghost's font CSS variables when an admin
   sets a custom heading/body font (gscan "custom fonts" support). Falls back
   to the v2 brand families. */
h1, h2, h3, .serif, .tnb-display { font-family: var(--gh-font-heading, var(--font-display)); }
body, p, .prose, .tnb-body { font-family: var(--gh-font-body, var(--font-ui)); }

/* ===================================================================
   theme.css — page-level layout extracted from the v2 mockups'
   inline <style> blocks (HomepageVisual / ContentDetail / ContentListing).
   site.css holds the reusable components; this holds the per-page bands.
   Tokens come from styles.css. Buildless: linked directly after site.css.
   =================================================================== */

/* ---- Mobile nav burger (hidden on desktop; site.css hides nav-links ≤980) ----
   ⛔ 980 IS COUPLED TO site.css's `nav.bar .nav-links { display: none }` — the two numbers are
   one decision split across two files, and they must move together: raise only this one and the
   burger sits BESIDE a live nav; raise only that one and the nav vanishes with nothing to open
   it. `theme-contract.test.js` asserts they match, because a cross-file constant with no link
   is a drift waiting to happen.
   WHY 980 (QA-014 lineage): the desktop nav needs its measured intrinsic width to lay out, and
   the burger must engage at or above it. Was 760 for the 4-label dropdown nav; the 2026-07-20
   Library-hub add (Library + Home value + the search control) widened the bar past 760, so it was
   re-measured (320→1440px sweep, scrollWidth == clientWidth at every step) and raised to 980.
   The band just under the breakpoint is where a too-wide nav scrolls the page sideways and a
   two-width (380/1280) review never sees it — that is the QA-014 defect. MEASURED_NAV_WIDTH in
   theme-contract.test.js holds the current measured number; any future nav item makes it bigger,
   so re-measure — never assume this number still clears. */
.gh-burger { display: none; }
@media (max-width: 980px) {
  .gh-burger { display: inline-flex; width: 30px; height: 30px; border: none; background: transparent; cursor: pointer; position: relative; }
  .gh-burger::before, .gh-burger::after { content: ""; position: absolute; left: 4px; right: 4px; height: 2px; background: var(--tnb-ink); transition: transform var(--dur) var(--ease-standard); }
  .gh-burger::before { top: 11px; }
  .gh-burger::after { top: 18px; }
  /* Open: full-width dropdown panel below the (sticky) bar. Scrolls if the flattened
     menus overrun a short/landscape viewport (the panel is absolute → the page can't). */
  nav.bar.is-open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--tnb-white); border-bottom: 1px solid var(--tnb-line); padding: 8px 20px 18px; gap: 0; box-shadow: 0 8px 24px rgba(27,33,24,0.10); max-height: calc(100vh - 64px); overflow-y: auto; }
  nav.bar.is-open .nav-links a, nav.bar.is-open .nav-links span { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--tnb-line-soft); }
  nav.bar.is-open .nav-links a.btn { align-self: flex-start; margin-top: 12px; padding: 11px 20px; border-bottom: 0; }
  /* Dropdowns FLATTEN on mobile — no nested disclosure. Hide the ▾ carets; render each
     panel inline as indented rows under its parent label (which stays a tappable hub link). */
  nav.bar.is-open .nav-item { display: block; }
  nav.bar.is-open .nav-caret { display: none; }
  nav.bar.is-open .nav-top { font-weight: 600; }
  nav.bar.is-open .nav-dd { display: block; position: static; min-width: 0; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  nav.bar.is-open .nav-dd a { padding: 11px 0 11px 18px; font-size: 15px; }
  /* Search control: a labelled row in the flattened panel (icon-only on desktop) */
  nav.bar.is-open .nav-search { display: flex; width: 100%; justify-content: flex-start; gap: 10px; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--tnb-line-soft); color: var(--tnb-stone-700); }
  nav.bar.is-open .nav-search-label { display: inline; }
  /* Burger morphs to an X while open */
  nav.bar.is-open .gh-burger::before { top: 14px; transform: rotate(45deg); }
  nav.bar.is-open .gh-burger::after { top: 14px; transform: rotate(-45deg); }
}

/* ===================================================================
   HOME — hero + bands
   =================================================================== */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: var(--tnb-on-dark); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,26,16,0.30) 0%, rgba(18,26,16,0.44) 42%, rgba(18,26,16,0.72) 66%, rgba(18,26,16,0.92) 100%); }
.hero h1, .hero .wrap p { text-shadow: 0 1px 3px rgba(8,12,7,0.8), 0 2px 16px rgba(8,12,7,0.55); }
.hero .inner { position: relative; width: 100%; padding: 0 0 64px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #F4EFE3; text-shadow: 0 1px 12px rgba(0,0,0,0.55); }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--tnb-gold); transform: rotate(45deg); flex: none; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 84px; line-height: 0.96; letter-spacing: -0.01em; margin: 18px 0 20px; color: #fff; }
.hero p { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.45; max-width: 600px; color: var(--tnb-on-dark-cream); margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 8px; margin-left: 6px; }

/* Numbers band (home: photo + dark panel) */
.numbers-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: stretch; }
.numbers-split .photo { background-size: cover; background-position: center; min-height: 420px; }
.numbers-split .panel { background: var(--tnb-pine-deep); color: var(--tnb-on-dark); padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; }
.numbers-split h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.04; margin: 14px 0 24px; color: #fff; }
.numbers-split .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(244,239,227,0.16); border: 1px solid rgba(244,239,227,0.16); border-radius: 3px; overflow: hidden; }
.numbers-split .stat-cell { background: var(--tnb-pine-deep); padding: 20px 22px; }
.numbers-split .stat-cell .v { font-family: var(--font-mono); font-weight: 500; font-size: 34px; color: #fff; line-height: 1; }
.numbers-split .stat-cell .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tnb-on-dark-muted); margin-top: 10px; }
.numbers-split .src-line { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tnb-on-dark-muted); margin-top: 18px; }

/* Relocation band */
.reloc { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch; margin-top: 80px; }
.reloc .photo { background-size: cover; background-position: center; min-height: 380px; }
.reloc .panel { background: #fff; padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--tnb-line-soft); border-left: none; }
.reloc h2 { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1.05; color: var(--tnb-ink); margin: 10px 0 14px; }
.reloc p { font-size: 15px; line-height: 1.6; color: var(--tnb-stone-500); margin: 0 0 22px; max-width: 460px; }
.reloc .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.reloc .chip { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--tnb-pine); background: var(--tnb-sand); border-radius: 30px; padding: 6px 13px; white-space: nowrap; }
.reloc .cta { align-self: flex-start; }

/* Guide cards (home) */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gcard { background: #fff; border: 1px solid var(--tnb-line-soft); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-card); cursor: pointer; }
.gcard .ph { height: 220px; overflow: hidden; }
.gcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-standard); }
.gcard:hover .ph img { transform: scale(1.04); }
.gcard .body { padding: 22px 24px 26px; }
.gcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 25px; color: var(--tnb-ink); margin: 8px 0 9px; }
.gcard p { font-size: 14px; line-height: 1.55; color: var(--tnb-stone-500); margin: 0 0 14px; }
.gcard .tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Editorial break + newsletter band photo hooks (bg set inline) */
.break { margin-top: 80px; }
.news { margin-top: 84px; }
.illus-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--tnb-stone-400); margin-top: 18px; }

/* Trade-off split (home) */
.tradeoff { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tcard { border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-card); background: #fff; }
.tcard .ph { height: 280px; position: relative; }
.tcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.tcard .ph .place { position: absolute; left: 20px; bottom: 16px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 30px; text-shadow: 0 1px 14px rgba(0,0,0,0.4); }
.tcard .ph .scr { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,28,18,0.6) 100%); }
.tcard .body { padding: 22px 26px 26px; }
.tcard .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tcard .take { border-left: 3px solid var(--tnb-copper); padding-left: 14px; }
.tcard .take p { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--tnb-ink); margin: 0; }

/* Comparison gallery (home) */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing { border-radius: 3px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); cursor: pointer; }
.listing .ph { height: 240px; overflow: hidden; position: relative; }
.listing .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-standard); }
.listing:hover .ph img { transform: scale(1.04); }
.listing .twn { position: absolute; left: 14px; top: 14px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tnb-ink); background: var(--tnb-paper); border-radius: 2px; padding: 6px 11px; box-shadow: var(--shadow-raised); }
.listing .anchor { position: absolute; right: 14px; top: 14px; font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: #fff; background: var(--tnb-copper-dk); border-radius: 2px; padding: 6px 10px; box-shadow: var(--shadow-raised); }
.listing .body { padding: 16px 20px 20px; }
.listing h4 { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--tnb-ink); margin: 0 0 4px; }
.listing .loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tnb-stone-400); margin-bottom: 12px; }
.listing .meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--tnb-stone-500); }

/* Entity answer / About (home, round-3 redesign) — two-column: schema-locked
   answer + fast-facts entity card + clickable service-area town tiles. page-home
   only. Mono labels use --tnb-stone-400 (AA-darkened #706b61); copper accents. */
.entity { padding: 62px 0 60px; }
.entity .about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.entity .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tnb-copper-dk); }
.entity h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.06; color: var(--tnb-ink); margin: 10px 0 18px; }
.entity .answer p { font-family: var(--font-ui); font-size: 17px; line-height: 1.68; color: var(--tnb-stone-700); margin: 0 0 24px; text-wrap: pretty; max-width: 560px; }
.entity .answer p strong { color: var(--tnb-ink); font-weight: 600; }
.entity-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.entity .about-more { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tnb-pine); border-bottom: 1.5px solid var(--tnb-copper); padding-bottom: 2px; }
.entity .about-more:hover { color: var(--tnb-copper-dk); }
/* Fast-facts entity card — scannable entity data (AEO). Scoped to .entity
   (page-home band) so the generic `.facts` name can't collide with a future page. */
.entity .facts { background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); padding: 6px 26px; }
.facts .frow { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--tnb-line-soft); }
.facts .frow:first-child { border-top: none; }
.facts .fk { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tnb-stone-400); }
.facts .fv { font-family: var(--font-ui); font-size: 14px; line-height: 1.45; color: var(--tnb-ink); }
.facts .fv b { font-weight: 600; }
/* Service-area nav — real, tappable town tiles → the town silos */
.area-nav { margin-top: 44px; }
.area-nav .area-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.area-nav .area-lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-stone-400); }
.area-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.area-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 98px; background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: var(--radius-sm); padding: 15px 16px 13px; transition: border-color var(--dur) var(--ease-standard), box-shadow var(--dur), transform var(--dur); }
.area-tile:hover { border-color: var(--tnb-copper); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.area-tile .tn { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1; color: var(--tnb-pine); }
.area-tile .tl { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tnb-stone-400); margin-top: 14px; transition: color var(--dur) var(--ease-standard); }
.area-tile:hover .tl { color: var(--tnb-copper-dk); }
.area-tile .go { transition: transform var(--dur) var(--ease-standard); }
.area-tile:hover .go { transform: translateX(3px); }
@media (max-width: 900px) {
  .entity .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .entity h2 { font-size: 28px; }
  .entity .answer p { font-size: 16px; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr 1fr; } }

/* Why trust the numbers (home, 1.1.5) — broker-trust anchor + day-one proof.
   page-home only. Replaces the retired interior mosaic. Portrait reuses the
   shared .bio-mono monogram fallback (site.css) when @custom.daniel_photo is
   unset. Copper-as-text = --tnb-copper-dk throughout. */
.trust { padding: 58px 0 62px; border-top: 1px solid var(--tnb-line); }
.trust .sec-head { margin-bottom: 26px; }
.dlead { display: grid; grid-template-columns: 300px 1fr; background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 22px; }
.dlead .portrait { position: relative; min-height: 320px; background: var(--tnb-sand); overflow: hidden; }
.dlead .portrait img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center 20%; display: block; }
.dlead .db { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.dlead h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.05; color: var(--tnb-ink); margin: 0 0 4px; }
.dlead .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--tnb-stone-400); margin-bottom: 20px; }
.dlead .blurb { border-left: 3px solid var(--tnb-copper); padding-left: 18px; margin-bottom: 22px; }
.dlead .blurb .bk { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); margin-bottom: 8px; }
.dlead .blurb p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--tnb-ink); margin: 0; max-width: 660px; }
.dlead .dchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dlead .about { align-self: flex-start; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tnb-copper-dk); border-bottom: 1.5px solid var(--tnb-copper); padding-bottom: 2px; text-decoration: none; }
.tchip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em; color: var(--tnb-pine); background: var(--tnb-sand); border-radius: 30px; padding: 6px 12px; white-space: nowrap; }
.tchip::before { content: ""; width: 6px; height: 6px; background: var(--tnb-copper); border-radius: 50%; flex: none; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { display: flex; flex-direction: column; background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); padding: 26px 26px 24px; }
.pcard .nk { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); margin-bottom: 13px; }
.pcard h4 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.18; color: var(--tnb-ink); margin: 0 0 9px; }
.pcard p { font-family: var(--font-ui); font-size: 14px; line-height: 1.6; color: var(--tnb-stone-500); margin: 0; }
.pcard.work { padding-bottom: 12px; }
.pcard.work .nk { margin-bottom: 6px; }
.pcard.work .rw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--tnb-line-soft); text-decoration: none; }
.pcard.work .rw:first-of-type { border-top: none; }
.pcard.work .rw .t { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.15; color: var(--tnb-ink); transition: color var(--dur) var(--ease-standard); }
.pcard.work .rw:hover .t { color: var(--tnb-pine); }
.pcard.work .rw:hover .go { transform: translateX(3px); }
.pcard.work .rw .m { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tnb-stone-400); margin-top: 5px; }
.pcard.work .rw .go { display: inline-block; font-family: var(--font-mono); font-size: 15px; color: var(--tnb-copper-dk); flex: none; transition: transform var(--dur) var(--ease-standard); }
.trust-close { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-top: 24px; padding: 24px 30px; background: var(--tnb-sand); border-radius: 3px; }
.trust-close p { font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--tnb-stone-700); margin: 0; max-width: 720px; }
.trust-close .btn { flex: none; }

/* ===================================================================
   HOME-VALUE (page-home-value.hbs) — round-2 address-first CMA tool, built
   faithful to the prototype + HONEST: both address forms GET-route to
   /contact/?intent=sell (real funnel — no backend/PII/consent here, no fake
   AVM, no fabricated license). page-home-value only. page bands (ADR-0010-exempt).
   =================================================================== */
/* Hero freshness pill */
.hv-hero .hv-pill { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid rgba(244,239,227,0.28); border-radius: 2px; padding: 7px 12px; color: var(--tnb-on-dark-cream); background: rgba(16,22,14,0.5); margin-top: 4px; }
.hv-hero .hv-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #7fae7f; box-shadow: 0 0 0 3px rgba(127,174,127,0.18); flex: none; }

/* Overlap card row (address form + why-me card), pulled up into the hero */
.hv-cards { position: relative; z-index: 2; max-width: 1180px; margin: -64px auto 0; padding: 0 40px 8px; display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.hv-cards > * { min-width: 0; }
.hv-formcard { flex: 1 1 480px; background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); padding: 34px 40px; display: flex; flex-direction: column; }
.hv-fc-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-stone-400); margin-bottom: 16px; }
.hv-fc-form { display: flex; flex-direction: column; }
.hv-fc-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tnb-stone-400); margin-bottom: 7px; }
.hv-fc-input { font-family: var(--font-ui); font-size: 16px; color: var(--tnb-ink); padding: 14px 16px; border: 1px solid var(--tnb-line-control); border-radius: 2px; background: var(--tnb-white); }
.hv-fc-input::placeholder { color: var(--tnb-stone-400); }
.hv-fc-input:focus-visible { outline: 2px solid var(--tnb-copper-dk); outline-offset: 1px; }
/* Address autocomplete — a CUSTOM, fully-themed dropdown (ADR-0017). Google's <gmp-place-autocomplete>
   widget renders in a CLOSED shadow DOM that external CSS + the --gmp-mat-* tokens can't reliably reach,
   so it can't match this theme (esp. the dark dual-path card). Instead we keep the on-brand input and
   render our own list from the Places DATA API — full control here, and it matches BOTH card contexts.
   JS wraps each [data-places-autocomplete] input in .hv-ac-wrap at runtime. */
.hv-ac-wrap { position: relative; display: block; width: 100%; }
.hv-ac-wrap > input { width: 100%; box-sizing: border-box; }
.hv-dp-form .hv-ac-wrap { flex: 1 1 260px; min-width: 0; }   /* the wrap becomes the flex-row item, like the input was */
.hv-ac-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 50; margin: 0; padding: 4px 0;
  list-style: none; background: var(--tnb-white); border: 1px solid var(--tnb-line-control); border-radius: 2px;
  box-shadow: 0 12px 32px rgba(20,32,26,0.16); max-height: 268px; overflow-y: auto;
  font-family: var(--font-ui); font-size: 15px; color: var(--tnb-ink); }
.hv-ac-item { padding: 10px 16px; cursor: pointer; line-height: 1.35; }
.hv-ac-item.is-active, .hv-ac-item:hover { background: var(--tnb-sand); }
.hv-ac-attr { padding: 6px 16px 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--tnb-stone-400); border-top: 1px solid var(--tnb-line-soft); cursor: default; }
/* Dark dual-path card: the list is a slightly-darker pine layer with cream text — matches the card. */
.hv-dp-form .hv-ac-list { background: var(--tnb-pine-darker); border-color: rgba(244,239,227,0.28);
  color: var(--tnb-on-dark-cream); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.hv-dp-form .hv-ac-item.is-active, .hv-dp-form .hv-ac-item:hover { background: rgba(244,239,227,0.12); }
.hv-dp-form .hv-ac-attr { color: var(--tnb-on-dark-muted); border-top-color: rgba(244,239,227,0.18); }
.hv-fc-btn { align-self: flex-start; margin-top: 16px; font-size: 15px; padding: 13px 26px; }
.hv-fc-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; line-height: 1.5; color: var(--tnb-stone-300); margin-top: 14px; }
.hv-fc-trust { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--tnb-line-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--tnb-stone-400); }
.hv-fc-trust em { color: #d3cabb; font-style: normal; }
.hv-fc-trust > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hv-fc-diamond { width: 5px; height: 5px; background: var(--tnb-copper); transform: rotate(45deg); flex: none; }

.hv-whycard { flex: 1 1 330px; background: var(--tnb-white); border-left: 3px solid var(--tnb-copper); border-radius: 0 3px 3px 0; box-shadow: var(--shadow-card); padding: 28px 30px 26px; display: flex; flex-direction: column; }
.hv-wc-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); margin-bottom: 13px; }
.hv-wc-lead { font-family: var(--font-display); font-style: italic; font-size: 23px; line-height: 1.35; color: var(--tnb-ink); margin: 0 0 14px; }
.hv-wc-body { font-family: var(--font-ui); font-size: 14px; line-height: 1.62; color: var(--tnb-stone-500); margin: 0; }
.hv-wc-author { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--tnb-line-soft); display: flex; align-items: center; gap: 14px; }
.hv-wc-av { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--tnb-sand); flex: none; }
.hv-wc-mono { width: 50px; height: 50px; border-radius: 50%; background: rgba(244,239,227,0.9); border: 1px solid #d8cbb0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--tnb-pine); flex: none; }
.hv-wc-who { min-width: 0; }
.hv-wc-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--tnb-ink); line-height: 1.1; }
.hv-wc-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--tnb-stone-400); margin-top: 5px; }
.hv-wc-line { font-family: var(--font-ui); font-size: 12.5px; color: var(--tnb-stone-500); margin-top: 7px; line-height: 1.4; }

/* Story section */
.hv-story { background: var(--tnb-paper); border-top: 1px solid var(--tnb-line); padding: 8px 40px; }
.hv-story-in { max-width: 820px; margin: 0 auto; }
.hv-masthead { margin: 56px 0 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hv-mast-l { flex: 1 1 440px; min-width: 0; }
.hv-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); }
.hv-diamond { width: 6px; height: 6px; background: var(--tnb-copper); transform: rotate(45deg); flex: none; }
.hv-masthead h2 { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.02; letter-spacing: -0.018em; color: var(--tnb-ink); margin: 0; max-width: 14ch; }
.hv-mast-r { flex: 0 1 292px; max-width: 320px; padding-top: 5px; }
.hv-mast-r p { font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 1.42; color: var(--tnb-stone-700); margin: 0; }
.hv-mast-rule { height: 2px; margin: 26px 0 30px; background: linear-gradient(90deg, var(--tnb-copper) 0, var(--tnb-copper) 68px, var(--tnb-line) 68px, var(--tnb-line) 100%); }

/* Contrast centerpiece */
.hv-contrast { background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); overflow: hidden; margin: 0 0 30px; }
.hv-contrast-head { padding: 19px 32px; border-bottom: 1px solid var(--tnb-line-soft); display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); }
.hv-contrast-cols { display: grid; grid-template-columns: 1fr 1fr; }
.hv-contrast .hv-col { padding: 28px 32px; }
.hv-contrast .hv-col.cold { border-right: 1px solid var(--tnb-line-soft); }
.hv-contrast .hv-col.warm { background: var(--tnb-paper); }
.hv-col-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.hv-col.cold .hv-col-k { color: var(--tnb-stone-400); }
.hv-col.warm .hv-col-k { color: var(--tnb-copper-dk); }
.hv-contrast ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hv-contrast li { font-family: var(--font-ui); font-size: 14.5px; line-height: 1.5; padding-left: 22px; position: relative; }
.hv-col.cold li { color: var(--tnb-stone-400); }
.hv-col.warm li { color: var(--tnb-stone-700); }
.hv-contrast li::before { content: ""; position: absolute; left: 0; }
.hv-col.cold li::before { width: 9px; height: 2px; background: #cfc8ba; border-radius: 1px; top: 9px; }
.hv-col.warm li::before { width: 6px; height: 6px; background: var(--tnb-copper); transform: rotate(45deg); top: 6px; }
.hv-col-cap { margin-top: 20px; font-family: var(--font-display); font-style: italic; font-size: 18px; }
.hv-col.cold .hv-col-cap { color: var(--tnb-stone-400); }
.hv-col.warm .hv-col-cap { color: var(--tnb-ink); }

/* Reasoning sheet 01–06 */
.hv-sheet { background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); overflow: hidden; }
.hv-srow { display: grid; grid-template-columns: 74px 1fr; gap: 30px; padding: 38px 40px; }
.hv-srow + .hv-srow { border-top: 1px solid var(--tnb-line-soft); }
.hv-snum { font-family: var(--font-mono); font-size: 23px; font-weight: 500; color: var(--tnb-copper-dk); line-height: 1; }
.hv-srow-b { min-width: 0; }
.hv-row-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-stone-400); margin-bottom: 11px; }
.hv-srow-b h3 { font-family: var(--font-display); font-weight: 600; font-size: 27px; line-height: 1.12; letter-spacing: -0.01em; color: var(--tnb-ink); margin: 0 0 13px; max-width: 26ch; }
.hv-srow-b p { font-family: var(--font-ui); font-size: 15.5px; line-height: 1.65; color: var(--tnb-stone-500); margin: 0 0 12px; }
.hv-srow-b p:last-child { margin-bottom: 0; }
.hv-deliver { background: var(--tnb-paper); border: 1px solid var(--tnb-line-soft); border-radius: 3px; padding: 2px 20px; margin-top: 6px; }
.hv-deliver-row { display: flex; gap: 13px; align-items: baseline; padding: 13px 2px; }
.hv-deliver-row + .hv-deliver-row { border-top: 1px solid var(--tnb-line-soft); }
.hv-deliver-row .hv-diamond { align-self: flex-start; margin-top: 6px; }
.hv-deliver-row > span:last-child { font-family: var(--font-ui); font-size: 14.5px; line-height: 1.5; color: var(--tnb-stone-700); }
.hv-deliver-row b { color: var(--tnb-ink); font-weight: 600; }
.hv-row-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 15px; }
.hv-row-links a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tnb-copper-dk); border-bottom: 1px solid rgba(185,122,78,0.4); padding-bottom: 2px; }

/* Dual-path band */
.hv-dualwrap { background: var(--tnb-paper); padding: 14px 40px 66px; }
.hv-dual-head { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); }
.hv-dual { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 24px; align-items: stretch; }
.hv-dual-primary { background: var(--tnb-pine-deep); border-radius: 3px; box-shadow: var(--shadow-card); padding: 40px; color: var(--tnb-on-dark); display: flex; flex-direction: column; }
.hv-dp-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tnb-gold); margin-bottom: 13px; }
.hv-dual-primary h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.06; color: #fff; margin: 0 0 12px; max-width: 18ch; }
.hv-dual-primary p { font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--tnb-on-dark-cream); margin: 0 0 24px; max-width: 480px; }
.hv-dp-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: auto; }
.hv-dp-form input { flex: 1 1 260px; min-width: 0; font-family: var(--font-ui); font-size: 15px; color: #fff; padding: 13px 16px; border-radius: 2px; border: 1px solid rgba(244,239,227,0.4); background: rgba(244,239,227,0.12); }
.hv-dp-form input::placeholder { color: rgba(244,239,227,0.6); }
.hv-dp-form .btn { font-size: 15px; padding: 13px 26px; }
.hv-dual-secondary { background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 3px; box-shadow: var(--shadow-card); padding: 40px 34px 38px; display: flex; flex-direction: column; }
.hv-ds-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tnb-copper-dk); margin-bottom: 13px; }
.hv-dual-secondary h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.08; color: var(--tnb-ink); margin: 0 0 11px; max-width: 16ch; }
.hv-dual-secondary p { font-family: var(--font-ui); font-size: 14px; line-height: 1.55; color: var(--tnb-stone-500); margin: 0 0 22px; }
.hv-ds-form { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.hv-ds-form input { flex: 1 1 150px; min-width: 0; font-family: var(--font-ui); font-size: 14px; padding: 12px 14px; border-radius: 2px; border: 1px solid var(--tnb-line); background: var(--tnb-white); color: var(--tnb-ink); }
.hv-dual-secondary > .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) {
  .hv-dual { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hv-cards { margin-top: -40px; padding: 0 24px 8px; }
  .hv-formcard, .hv-whycard { padding: 28px 24px; }
  .hv-fc-btn { width: 100%; text-align: center; }
  .hv-contrast-cols { grid-template-columns: 1fr; }
  .hv-contrast .hv-col.cold { border-right: none; border-bottom: 1px solid var(--tnb-line-soft); }
  .hv-masthead { gap: 20px; }
  .hv-masthead h2 { font-size: 34px; }
  .hv-story { padding: 8px 24px; }
  .hv-srow { grid-template-columns: 1fr; gap: 6px; padding: 28px 24px; }
  .hv-snum { font-size: 18px; }
  .hv-dualwrap { padding: 14px 24px 50px; }
}

/* ===================================================================
   LISTING / HUB — by-the-numbers freshness band + lane band
   =================================================================== */
.numbers { background: var(--tnb-pine-deep); color: var(--tnb-on-dark); margin-top: 52px; position: relative; overflow: hidden; }
.numbers::before { content:""; position:absolute; inset:0; opacity:0.05; background: repeating-linear-gradient(#F4EFE3 0 1px, transparent 1px 28px); pointer-events:none; }
.numbers .wrap { position: relative; padding: 44px 0 48px; }
.nb-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:26px; flex-wrap:wrap; }
.nb-kick { font-family:var(--font-mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--tnb-gold); margin-bottom:10px; }
.numbers h2 { font-family:var(--font-display); font-weight:600; font-size:34px; line-height:1.05; margin:0; color:#fff; }
.nb-link { font-family:var(--font-mono); font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:var(--tnb-on-dark-cream); border-bottom:1.5px solid var(--tnb-copper); padding-bottom:3px; white-space:nowrap; }
.nb-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(244,239,227,0.16); border:1px solid rgba(244,239,227,0.16); border-radius:var(--radius-md); overflow:hidden; }
.nb-cell { background:var(--tnb-pine-deep); padding:24px 22px; }
.nb-stat { font-family:var(--font-mono); font-weight:500; font-size:36px; line-height:1; letter-spacing:-0.01em; color:#fff; }
.nb-lbl { font-family:var(--font-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--tnb-on-dark-muted); margin-top:11px; }
@media(max-width:760px){ .nb-grid{ grid-template-columns:repeat(2,1fr);} .numbers h2{font-size:27px;} }
/* refusal state (a town with no publishable median, e.g. Lyons) — the refusal is the content */
.nb-refuse { font-family:var(--font-ui); font-size:17px; line-height:1.55; color:var(--tnb-on-dark-cream); max-width:64ch; margin:0; }
.nb-refuse a { color:var(--tnb-gold); border-bottom:1px solid rgba(201,162,90,0.5); }
.nb-refuse a:hover { border-color:var(--tnb-gold); }

.lane-band { background: var(--tnb-sand); border-bottom: 1px solid var(--tnb-line); }
.lane-band .lane-strip { background: transparent; border-radius: 0; margin: 0; padding: 8px 0; }
.featured-wrap { margin-top: 44px; }
.featured-label { display:flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tnb-copper-dk); margin-bottom: 16px; }
.featured-label::before { content:""; width:6px; height:6px; background: var(--tnb-copper); transform: rotate(45deg); }

/* ===================================================================
   DETAIL — article layout grid + sticky rail
   =================================================================== */
.article-layout { display: grid; grid-template-columns: 228px minmax(0, 800px); gap: 28px; justify-content: center; padding: 32px 40px 0; align-items: start; }
.article-layout > .prose { background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 5px; box-shadow: var(--shadow-card); padding: 40px 48px; }
.rail { position: sticky; top: 96px; }
.rail .toc { position: static; top: auto; }
.side-meta { background: var(--tnb-white); border: 1px solid var(--tnb-line-soft); border-radius: 4px; box-shadow: var(--shadow-card); padding: 20px 20px 18px; margin-bottom: 26px; }
.side-author { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--tnb-line-soft); }
.side-author .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--tnb-sand); flex: none; }
.side-author .who b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--tnb-ink); line-height: 1.1; }
.side-author .who span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em; color: var(--tnb-stone-400); margin-top: 4px; line-height: 1.45; }
.side-facts { display: flex; flex-direction: column; gap: 9px; padding: 15px 0; border-bottom: 1px solid var(--tnb-line-soft); }
.side-facts .fact { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.side-facts .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tnb-stone-400); }
.side-facts .v { font-family: var(--font-mono); font-size: 11.5px; color: var(--tnb-ink); }
.side-facts .v.upd { color: var(--tnb-copper-dk); font-weight: 500; }
.side-share { flex-wrap: wrap; gap: 7px; padding-top: 15px; }
.side-share .lbl { width: 100%; margin: 0 0 9px; }
.side-share a { width: 32px; height: 32px; }

/* Article hero (image + overlaid title) — uses .ahero shell from site.css;
   here we only set the default bg image + min-height nudge. */
.ahero { min-height: 520px; }
.ahero-inner h1 { white-space: normal; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0,760px); justify-content: center; padding-top: 28px; }
  .rail { position: static; }
  .rail .toc { display: none; }
  .side-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 16px 20px; }
  .side-author { border-bottom: none; padding-bottom: 0; }
  .side-facts { flex-direction: row; flex-wrap: wrap; gap: 14px 24px; padding: 0; border-bottom: none; }
  .side-facts .fact { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; }
  .side-facts .v { white-space: nowrap; }
  .side-share { padding-top: 0; width: auto; }
  .side-share .lbl { width: auto; margin: 0 4px 0 0; }
}
@media (max-width: 760px) {
  .article-layout { padding: 22px 20px 0; }
  .article-layout > .prose { padding: 28px 22px; }
  .faq-block { margin: 34px 0; padding: 30px 24px 24px; }
  .side-meta { gap: 14px 20px; }
}

/* ===================================================================
   Page (generic) + error
   =================================================================== */
.page-sheet { max-width: 760px; margin: 0 auto; padding: 56px 40px 24px; }
.page-sheet h1 { font-family: var(--font-display); font-weight: 600; font-size: 50px; line-height: 1.04; color: var(--tnb-ink); margin: 0 0 24px; }
.errwrap { max-width: 640px; margin: 0 auto; text-align: center; padding: 120px 40px; }
.errwrap .code { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tnb-copper-dk); }
.errwrap h1 { font-family: var(--font-display); font-weight: 600; font-size: 64px; color: var(--tnb-ink); margin: 12px 0 16px; }
.errwrap p { font-size: 16px; color: var(--tnb-stone-500); margin: 0 0 28px; }

/* Page-level responsive (mirrors mockups) */
@media (max-width: 900px) {
  .numbers-split { grid-template-columns: 1fr; }
  .numbers-split .photo { min-height: 240px; }
  .guides { grid-template-columns: 1fr 1fr; }
  .reloc { grid-template-columns: 1fr; }
  .reloc .photo { min-height: 230px; }
  .tradeoff { grid-template-columns: 1fr; }
  .listings { grid-template-columns: 1fr 1fr; }
  .proof-row { grid-template-columns: 1fr; }
  .dlead { grid-template-columns: 1fr; }
  /* aspect-ratio floor on the CONTAINER (not the img) so the portrait keeps height
     in the monogram-fallback state too (no <img> when @custom.daniel_photo unset). */
  .dlead .portrait { min-height: 0; aspect-ratio: 3 / 2; }
  .dlead .portrait img { min-height: 0; object-position: center 24%; }
  .hero h1 { font-size: 58px; }
}
@media (max-width: 640px) {
  .hero { min-height: 500px; }
  .hero .inner { padding-bottom: 44px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 19px; }
  .hero-tags { margin-left: 0; }
  .numbers-split .panel, .reloc .panel { padding: 34px 24px; }
  .numbers-split h2 { font-size: 32px; }
  .guides { grid-template-columns: 1fr; }
  .listings { grid-template-columns: 1fr; }
  .trust-close .btn { width: 100%; text-align: center; }
  .page-sheet { padding: 40px 20px 16px; }
  .page-sheet h1 { font-size: 36px; }
}
