/* =========================================================================
   Deedhawk, direction: the split stage
   Warm near-black ground, one gold accent, Young Serif display over
   Source Serif 4 text. No gradients, no shadows at rest, no glass.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ground: #0c0a08;
  --ground-2: #181512;
  --ground-3: #221d18;

  --bg: var(--ground);
  --bg-alt: var(--ground-2);
  --surface: var(--ground-2);
  --surface-2: var(--ground-3);
  --text: #ffffff;
  --text-muted: #c9c2ba;
  --text-subtle: #b0a9a1;

  --border: #2a241d;
  --border-strong: #3a3229;

  --accent: #c9a45a;
  --accent-text: #d8b972;
  --accent-soft: rgba(201, 164, 90, 0.14);
  --accent-softer: rgba(201, 164, 90, 0.06);
  --btn-bg: #c9a45a;
  --btn-bg-hover: #d8b972;
  --btn-text: #0c0a08;

  --water: #14233a;
  --map-bg: #141110;
  --map-lot: #1d1915;
  --map-line: #3a3229;
  --grid-line: transparent;

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;

  --step-small: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);
  --step-body: clamp(1.0625rem, 1.02rem + 0.22vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --step-head: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem);
  --step-display: clamp(1.75rem, 1.1rem + 3.1vw, 3.6rem);

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  color-scheme: dark;}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box;}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px);}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto;} }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;}
img, svg { max-width: 100%;}
img { height: auto; display: block;}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  text-wrap: balance;}
h1 { font-size: var(--step-display); line-height: 0.98;}
h2 { font-size: var(--step-head); line-height: 1.02;}
h3 { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em;}
h4 { font-size: var(--step-body); line-height: 1.25; letter-spacing: 0;}

p { margin: 0 0 1em;}
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px;}
a:hover { color: #fff;}
ul, ol { padding-left: 1.2em;}
li { margin: 0.3em 0;}
small { font-size: var(--step-small);}
hr { border: 0; height: 0; margin: 0;}

.mono, code, kbd, .num { font-family: var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: 0;}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0;}

.visually-hidden {
  position: absolute !important; width: 1px;
  height: 0
; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--btn-text); padding: 10px 14px;
  text-decoration: none; font-weight: 600;}
.skip-link:focus { top: 12px;}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);}
.container-narrow { max-width: 820px;}
.section { padding-block: clamp(64px, 9vw, 112px); position: relative;}
.section-tight { padding-block: clamp(40px, 6vw, 72px);}
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border);}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px);}
.section-head.center { margin-inline: auto; text-align: center;}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); line-height: 1.6;}
.muted { color: var(--text-muted);}
.subtle { color: var(--text-subtle);}
.eyebrow 
.eyebrow::before 

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px);}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));}

/* grid / map motif backgrounds */
.bg-grid {
  background-size: 40px 40px;
  background-position: -1px -1px;}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border: 0
;}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .site-header { background: var(--bg);}
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h);}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em;}
.brand:hover { text-decoration: none;}
/* Wordmark logo: lowercase heavy "deedhawk" + teal parcel square as the full stop */
.brand [data-brand] { text-transform: lowercase; font-weight: 800; font-size: 1.42rem; letter-spacing: -0.045em; line-height: 1;}
.brand [data-brand]::after { content: ""; display: inline-block; width: 0.27em; height: 0.27em; margin-left: 0.07em; background: var(--accent); vertical-align: baseline;}
.footer-brand .brand [data-brand]::after { background: var(--accent);}
.brand-tag { font-family: var(--font-sans); font-size: 0.66rem; font-weight: 500; color: var(--text-subtle);
  border: 0
; border-radius: 999px; padding: 1px 7px; letter-spacing: 0.04em; text-transform: none;}

.nav-menu { display: flex; align-items: center; gap: 4px;}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0;}
.nav-links a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 1rem;}
.nav-links a:hover { color: var(--text); background: var(--surface-2);}
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2);}
.nav-cta { margin-left: 10px;}

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 0
; background: var(--surface); color: var(--text);
  font: inherit; font-weight: 500; font-size: 1rem; cursor: pointer;}
.nav-toggle-icon { width: 18px; height: 12px; position: relative;}
.nav-toggle-icon span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease, top .2s ease;}
.nav-toggle-icon span:nth-child(1) { top: 0;}
.nav-toggle-icon span:nth-child(2) { top: 5px;}
.nav-toggle-icon span:nth-child(3) { top: 10px;}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { top: 5px; transform: rotate(45deg);}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0;}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { top: 5px; transform: rotate(-45deg);}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex;}
  .js .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--bg);
  border: 0
;
    padding: 12px var(--gutter) 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;}
  .js .nav-menu.is-open { display: flex;}
  .nav-links { flex-direction: column; align-items: stretch;}
  .nav-links a { padding: 12px 10px; font-size: 1rem;}
  .nav-cta { margin-left: 0;}
  .nav-cta .btn { width: 100%;}
  /* No-JS fallback: show links inline under brand */
  html:not(.js) .nav { height: auto; flex-wrap: wrap; padding-block: 10px;}
  html:not(.js) .nav-toggle { display: none;}
  html:not(.js) .nav-menu { width: 100%; flex-wrap: wrap;}
  html:not(.js) .nav-links { flex-direction: row; flex-wrap: wrap;}
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 0
;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;}
.btn:hover { text-decoration: none;}
.btn:active { transform: translateY(1px);}
.btn-primary { background: var(--btn-bg); color: var(--btn-text);}
.btn-primary:hover { background: var(--btn-bg-hover);}
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong);}
.btn-secondary:hover { border-color: var(--text-subtle); background: var(--surface-2);}
.btn-lg { min-height: 50px; padding: 13px 22px; font-size: 1rem;}
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 0.875rem;}
.btn-on-dark { background: var(--accent); color: #042f2e;}
.btn-on-dark:hover { background: var(--accent-text);}
.btn-outline-dark { background: transparent; color: var(--text); border-color: rgba(255,255,255,.28);}
.btn-outline-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05);}
.btn-arrow::after { content: "\2192"; font-weight: 500; transition: transform .15s ease;}
.btn-arrow:hover::after { transform: translateX(2px);}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px;}

/* ---------- Badges / tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.03em;
  padding: 3px 8px; border-radius: 999px;
  border: 0
;
  color: var(--text-muted); background: var(--surface); white-space: nowrap;}
.badge-accent { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-softer);}
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);}
.badge-draft { color: var(--amber-600); border-color: currentColor; background: transparent;}
.tag {
  display: inline-block; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
  padding: 2px 7px; border-radius: 4px; background: var(--surface-2); color: var(--text-muted);
  border: 0
; white-space: nowrap;}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); overflow: hidden;}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-size: 48px 48px;}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center;}
.hero h1 { max-width: 15ch;}
.hero h1 .accent { color: var(--accent-text);}
.hero .lead { max-width: 54ch; margin-bottom: 28px;}
.hero-steps { font-family: var(--font-sans); font-size: clamp(0.88rem, 1.4vw, 1rem); font-weight: 500; color: var(--text); letter-spacing: -0.01em; margin: -4px 0 18px; max-width: 46ch;}
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; color: var(--text-subtle); font-size: 0.88rem; list-style: none; padding: 0;}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px;}
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent);}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr;}
  .hero h1 { max-width: 20ch;}
}

/* hero parcel map */
.parcel-map {
  position: relative;
  border: 0
; border-radius: var(--radius-lg);
  background: var(--surface); padding: 10px;}
.parcel-map-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 10px; font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle);}
.parcel-map-bar .dots { display: inline-flex; gap: 5px;}
.parcel-map-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); display: block;}
.parcel-map-canvas { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--map-bg);}
.parcel-map svg { display: block; width: 100%; height: auto;}
.pm-block { fill: var(--map-lot); stroke: var(--map-line); stroke-width: 1;}
.pm-lines { fill: none; stroke: var(--map-line); stroke-width: 1;}
.pm-water { fill: var(--water);}
.pm-vacant { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1;}
.pm-signal { fill: var(--accent);}
.pm-assemblage { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 3;}
.pm-tract { fill: url(#pm-hatch); stroke: var(--accent); stroke-width: 1.5;}
.pm-hatch-line { stroke: var(--accent); stroke-opacity: .35; stroke-width: 1;}
.pm-owner { fill: var(--ground); stroke: #fff; stroke-width: 1.5;}
.pm-owner-link { fill: none; stroke: var(--ground-3); stroke-width: 1.25; stroke-dasharray: 3 3; opacity: .7;}
@media (prefers-color-scheme: dark) {
  .pm-owner { fill: var(--text); stroke: var(--ground);}
  .pm-owner-link { stroke: var(--text-muted);}
}
.pm-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pm-pulse 2.4s ease-out infinite;}
.pm-pulse.d2 { animation-delay: 1.2s;}
@keyframes pm-pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } ;}
@media (prefers-reduced-motion: reduce) { .pm-pulse { animation: none; opacity: .5;} }

.pm-callout {
  position: absolute; transform: translate(-50%, -100%);
  background: var(--surface);
  border: 0
; border-radius: 8px; padding: 6px 9px; font-size: 0.875rem; line-height: 1.3; white-space: nowrap;
  pointer-events: none;}
.pm-callout b { display: block; font-weight: 600; color: var(--text);}
.pm-callout span { font-family: var(--font-sans); color: var(--text-subtle); font-size: 0.66rem;}
.pm-callout::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: var(--surface);
  border: 0
;
  border: 0
; transform: translateX(-50%) rotate(45deg);}
.pm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 6px 2px; font-size: 0.875rem; color: var(--text-subtle);}
.pm-legend span { display: inline-flex; align-items: center; gap: 6px;}
.pm-legend i { width: 11px; height: 11px; border-radius: 2px; display: inline-block;}
.pm-legend .l-vacant { background: var(--accent-soft);
  border: 0
;}
.pm-legend .l-signal { background: var(--accent);}
.pm-legend .l-owner { background: var(--ground); border-radius: 50%;}
.pm-legend .l-assemblage { border: 2px dashed var(--accent);}
@media (prefers-color-scheme: dark) { .pm-legend .l-owner { background: var(--text);} }
@media (max-width: 520px) {
  .pm-callout { font-size: 0.875rem; padding: 4px 6px;}
  .pm-callout span { display: none;}
  .pm-callout.hide-sm { display: none;}
}

/* ---------- Illustrative label ---------- */
.illustrative {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--amber-600); background: rgba(245, 158, 11, 0.1);
  border: 0
;
  padding: 2px 8px; border-radius: 999px;}
@media (prefers-color-scheme: dark) { .illustrative { color: var(--accent-text); border-color: rgba(251, 191, 36, .4);} }

/* ---------- Proof strip ---------- */
.proof { border-block: 1px solid var(--border); background: var(--bg-alt);}
.proof-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));}
.proof-item { padding: 26px 20px;
  border: 0
;}
.proof-item:first-child { border-left: 0; padding-left: 0;}
.proof-value { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; color: var(--text); line-height: 1.1;}
.proof-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; line-height: 1.4;}
.proof-source { font-size: 0.875rem; color: var(--text-subtle); padding: 12px 0 16px;
  border: 0
; margin: 0;}
@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr));}
  .proof-item, .proof-item:first-child { border-left: 0; padding: 18px 0;
  border: 0
;}
  .proof-item:nth-child(-n+2) { border-top: 0;}
  .proof-item:nth-child(even) { padding-left: 20px; border: 0;}
  .proof-item:last-child:nth-child(odd) { grid-column: 1 / -1;}
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 0
; border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 28px); position: relative;}
.card h3 { margin-bottom: 8px;}
.card p:last-child, .card ul:last-child { margin-bottom: 0;}
.card-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px;}
.card-icon svg { width: 22px; height: 22px;}
.card-index { position: absolute; top: 22px; right: 24px; font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle);}
.card-points { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px;}
.card-points li { position: relative; padding-left: 18px; font-size: 1rem; color: var(--text-muted);}
.card-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--accent);}

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step;
  border: 0
; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden;}
.step { padding: 26px 22px 28px;
  border: 0
; position: relative; counter-increment: step;}
.step:first-child { border-left: 0;}
.step-num { font-family: var(--font-sans); font-size: 0.875rem; color: var(--accent-text); display: flex; align-items: center; gap: 10px; margin-bottom: 14px;}
.step-num::before { content: "0" counter(step); font-weight: 500;}
.step-num::after { content: ""; flex: 1;
  height: 0
;}
.step h3 { font-size: 1.1rem; margin-bottom: 6px;}
.step p { font-size: 1rem; color: var(--text-muted); margin: 0;}
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr;}
  .step { border-left: 0;
  border: 0
; display: grid; grid-template-columns: 90px 1fr; gap: 4px 16px;}
  .step:first-child { border-top: 0;}
  .step-num { grid-row: span 2; align-items: flex-start; margin: 4px 0 0;}
  .step-num::after { display: none;}
}
@media (max-width: 480px) {
  .step { grid-template-columns: 1fr;}
  .step-num { grid-row: auto;}
}

/* ---------- Modules ---------- */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1px; background: var(--border);
  border: 0
; border-radius: var(--radius-lg); overflow: hidden;}
.module { background: var(--surface); padding: 22px 22px 24px;}
.module-key { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle); letter-spacing: 0.04em;}
.module h3 { font-size: 1rem; margin: 6px 0 6px;}
.module p { font-size: 0.88rem; color: var(--text-muted); margin: 0;}
.module:hover { background: var(--accent-softer);}

/* ---------- Product mockup (dark section) ---------- */
.section-dark { background: var(--ground-2); color: var(--text); }



.portal {
  border: 0
; border-radius: var(--radius-lg); background: var(--ground-2); overflow: hidden;}
.portal-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 0; background: var(--ground); flex-wrap: wrap;}
.portal-bar .dots { display: inline-flex; gap: 6px;}
.portal-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block;}
.portal-crumbs { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.portal-crumbs b { color: var(--text); font-weight: 500;}
.portal-body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);}
.portal-main { padding: 18px;
  border: 0
; min-width: 0;}
.portal-side { padding: 18px; display: grid; gap: 16px; align-content: start; min-width: 0;}
@media (max-width: 1024px) {
  .portal-body { grid-template-columns: 1fr;}
  .portal-main { border-right: 0;
  border: 0
;}
  .portal-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));}
}
.portal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;}
.portal-head h3 { font-size: 1rem; margin: 0;}
.portal-head p { margin: 2px 0 0; font-size: 0.875rem; color: var(--text-subtle);}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;}
.chip { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-muted);
  border: 0
; border-radius: 999px; padding: 3px 9px;}
.chip.on { color: var(--accent); border-color: rgba(45,212,191,.5); background: rgba(45,212,191,.08);}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch;}
.queue { width: 100%; border-collapse: collapse; font-size: 0.875rem;}
.queue th { text-align: left; font-weight: 500; font-size: 0.875rem; letter-spacing: 0; text-transform: none; color: var(--text-subtle); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap;}
.queue td { padding: 10px; border-bottom: 1px solid #172340; vertical-align: top; color: var(--text);}
.queue tr:last-child td { border-bottom: 0;}
.queue tbody tr:hover td { background: rgba(45,212,191,.04);}
.queue .rank { font-family: var(--font-sans); color: var(--text-subtle); width: 28px;}
.queue .pid { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-muted); white-space: nowrap;}
.queue .owner b { display: block; font-weight: 500;}
.queue .owner small { color: var(--text-subtle); font-size: 0.875rem;}
.score { display: flex; align-items: center; gap: 8px; min-width: 96px;}
.score-val { font-family: var(--font-sans); font-weight: 500; color: var(--accent); width: 22px;}
.score-bar { flex: 1; height: 5px; border-radius: 3px; background: var(--ground-3); overflow: hidden; min-width: 50px;}
.score-bar i { display: block; height: 100%; border-radius: 3px;}
.why { display: flex; flex-wrap: wrap; gap: 4px;}
.why .tag { background: #131e36; border-color: #263552; color: #b8c4d6;}
.why .tag.hot { color: var(--accent-text); border-color: rgba(252, 211, 77, .35); background: rgba(252, 211, 77, .06);}
@media (max-width: 640px) { .queue .hide-sm { display: none;} }

.panel {
  border: 0
; border-radius: 12px; background: var(--ground-2); padding: 16px;}
.panel h4 { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-subtle); margin: 0 0 12px;}
.owner-name { font-weight: 600; color: var(--text); font-size: 1rem;}
.owner-sub { font-size: 0.875rem; color: var(--text-subtle); margin-bottom: 12px;}
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px;}
.kv div { background: var(--ground-2); border: 0; border-radius: 8px; padding: 8px;}
.kv dt { font-size: 0.875rem; color: var(--text-subtle); text-transform: none; letter-spacing: 0; font-family: var(--font-sans);}
.kv dd { margin: 2px 0 0; font-family: var(--font-sans); font-size: 1rem; color: var(--text);}
.entity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.875rem;}
.entity-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 9px;
  border: 0
; border-radius: 7px;}
.entity-list li span:last-child { font-family: var(--font-sans); color: var(--text-subtle); white-space: nowrap;}
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; font-size: 0.875rem;}
.feed li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 8px 0;
  border: 0
;}
.feed li:last-child { border-bottom: 0;}
.feed time { font-family: var(--font-sans); color: var(--text-subtle); font-size: 0.875rem; padding-top: 1px;}
.feed b { font-weight: 500; color: var(--text);}
.feed small { display: block; color: var(--text-subtle); font-family: var(--font-sans); font-size: 0.875rem;}
.mock-note { margin-top: 14px; font-size: 0.875rem; color: var(--text-subtle); display: flex; flex-wrap: wrap; gap: 8px; align-items: center;}

/* ---------- Comparison ---------- */
.compare-wrap {
  border: 0
; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);}
.compare { width: 100%; border-collapse: collapse; font-size: 0.93rem;}
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border);}
.compare thead th { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-subtle); background: var(--bg-alt);}
.compare thead th.ours { color: var(--accent-text);}
.compare tbody th { font-weight: 600; width: 20%; color: var(--text);}
.compare td { color: var(--text-muted); width: 40%;}
.compare td.ours { color: var(--text); background: var(--accent-softer);}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0;}
@media (max-width: 760px) {
  .compare thead { display: none;}
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%;}
  .compare tr {
  border: 0
; padding: 14px 16px;}
  .compare tr:last-child { border-bottom: 0;}
  .compare th, .compare td { border: 0; padding: 4px 0;}
  .compare tbody th { margin-bottom: 6px;}
  .compare td::before { content: attr(data-label); display: block; font-family: var(--font-sans); font-size: 0.875rem; text-transform: none; letter-spacing: .06em; color: var(--text-subtle); margin-bottom: 2px;}
  .compare td.ours { padding: 8px 10px; border-radius: 8px; margin-top: 6px;}
}
.footnote { font-size: 0.875rem; color: var(--text-subtle); margin-top: 14px;}

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start;}
@media (max-width: 1100px) { .coverage-grid { grid-template-columns: 1fr;} }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem;}
.data-table th, .data-table td { font-size: 1rem; padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left;}
.data-table th { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-subtle); background: var(--bg-alt); white-space: nowrap;}
.data-table tbody th { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); background: transparent;}
.data-table td.r, .data-table th.r { text-align: right;}
.data-table td.num { white-space: nowrap;}
.data-table tbody tr:last-child td { border-bottom: 0;}
.data-table tfoot td { font-weight: 600; border-top: 1px solid var(--border-strong); border-bottom: 0;}
.table-card { border: 0; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden;}
.table-card .table-wrap { overflow-x: auto;}
.table-card caption { caption-side: bottom; text-align: left; padding: 14px 0 0; font-size: var(--step-small); color: var(--text-subtle);}
.roadmap { list-style: none; padding: 0; margin: 0; position: relative;}
.roadmap::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border);}
.roadmap li { position: relative; padding: 0 0 24px 36px;}
.roadmap li:last-child { padding-bottom: 0;}
.roadmap li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border-strong);}
.roadmap li.active::before { border-color: var(--accent); background: var(--accent);}
.roadmap h3 { font-size: 1rem; margin-bottom: 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;}
.roadmap p { font-size: 1rem; color: var(--text-muted); margin: 0;}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ground); color: var(--text); position: relative; overflow: hidden;}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-size: 40px 40px;}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(48px, 7vw, 80px);}
.cta-band h2 { color: var(--text); margin-bottom: 8px; max-width: 22ch;}
.cta-band p { color: var(--text-muted); margin: 0; max-width: 56ch;}

/* ---------- Page header (inner pages) ---------- */
.page-header { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px);
  border: 0
; position: relative; overflow: hidden;}
.page-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-size: 40px 40px;}
.page-header .container { position: relative;}
.page-header h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch;}
.page-header .lead { max-width: 62ch; margin: 0;}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px;}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 18px;}
label, .label { font-weight: 550; font-size: 1rem; color: var(--text);}
.label-hint { font-weight: 400; color: var(--text-subtle); font-size: 0.875rem;}
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 0; border-radius: var(--radius-sm);
  padding: 10px 12px; min-height: 44px; transition: border-color .15s ease, box-shadow .15s ease;}
textarea { min-height: 120px; resize: vertical;}
select { appearance: none; -webkit-appearance: none; padding-right: 36px; 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.5l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center;}
select[size], select[multiple] { background-image: none; padding-right: 12px;}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent);}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px;}
input[aria-invalid="true"], .was-validated input:invalid, .was-validated select:invalid, .was-validated textarea:invalid { border-color: var(--rose-600);}
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 1rem; color: var(--text-muted); cursor: pointer;}
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent);}
fieldset { border: 0; border-radius: var(--radius); padding: 14px 16px 16px; margin: 0 0 18px; min-width: 0;}
legend { font-weight: 550; font-size: 1rem; padding: 0 6px;}
.required-mark { color: var(--rose-600);}
@media (prefers-color-scheme: dark) { .required-mark { color: var(--accent-text);} }

/* toggle switch built on checkbox */
.switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  border: 0
; cursor: pointer;}
.switch-text { display: grid; gap: 2px;}
.switch-text strong { font-weight: 600; font-size: 1rem;}
.switch-text small { color: var(--text-subtle); font-size: 0.875rem;}
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px;}
.switch-ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--border-strong); transition: background .15s ease;}
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s ease;}
.switch input:checked + .switch-ui { background: var(--accent);}
@media (prefers-color-scheme: dark) { .switch input:checked + .switch-ui { background: var(--accent);} }
.switch input:checked + .switch-ui::after { transform: translateX(18px);}
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--accent); outline-offset: 2px;}
.switch input:disabled + .switch-ui { opacity: .45;}
.switch.is-disabled { cursor: not-allowed;}
.switch.is-disabled .switch-text { opacity: .6;}

/* stepper */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  border: 0
;}
.stepper-ctrl { display: inline-flex; align-items: center;
  border: 0
; border-radius: var(--radius-sm); overflow: hidden; flex: none;}
.stepper-ctrl button { width: 40px; height: 40px; border: 0; background: var(--surface-2); color: var(--text); font: inherit; font-size: 1.1rem; cursor: pointer;}
.stepper-ctrl button:hover { background: var(--border);}
.stepper-ctrl input { width: 56px; min-height: 40px; height: 40px; border: 0; border-radius: 0; text-align: center; padding: 0 4px; font-family: var(--font-sans); -moz-appearance: textfield; appearance: textfield;}
.stepper-ctrl input::-webkit-outer-spin-button, .stepper-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0;}

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 32px); align-items: start;}
@media (max-width: 960px) { .calc { grid-template-columns: 1fr;} }
.calc-panel { background: var(--surface); border: 0; border-radius: var(--radius-lg); padding: clamp(20px, 2.8vw, 28px);}
.calc-panel h2, .calc-panel h3 { font-size: 1.15rem;}
.county-picker select[size] { min-height: 0; height: 196px; padding: 4px; font-size: 1rem;}
.county-picker select[size] option { padding: 6px 8px; border-radius: 4px;}
.county-picker .picker-status { font-size: 0.875rem; color: var(--text-subtle); margin-top: 6px; min-height: 1.2em;}
.calc-results { position: sticky; top: calc(var(--header-h) + 16px);}
@media (max-width: 960px) { .calc-results { position: static;} }
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px;}
.result-county { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin: 0;}
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; margin: 0 0 20px;}
.facts div { background: var(--bg-alt);
  border: 0
; border-radius: var(--radius); padding: 12px; min-width: 0;}
.facts dt { font-size: 0.875rem; color: var(--text-subtle); font-family: var(--font-sans); text-transform: none; letter-spacing: 0.05em;}
.facts dd { margin: 4px 0 0; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere;}
.facts dd.na { font-family: var(--font-sans); font-size: 1rem; color: var(--text-subtle); font-weight: 400; font-style: italic;}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr;} }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px;}
.total { border-radius: var(--radius); padding: 14px;
  border: 0
; min-width: 0;}
.total-label { font-size: 0.875rem; color: var(--text-muted);}
.total-value { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; letter-spacing: -0.03em; overflow-wrap: anywhere;}
.total-value small { font-size: 0.6em; color: var(--text-subtle); letter-spacing: 0;}
.total.primary { background: var(--ground); border-color: var(--ground); color: var(--text);}
.total.primary .total-label { color: var(--text-muted);}
.total.primary .total-value { color: var(--accent-text);}
@media (max-width: 560px) { .totals { grid-template-columns: 1fr;} }
.lines { width: 100%; border-collapse: collapse; font-size: 0.88rem;}
.lines td { padding: 8px 0; border-bottom: 1px dashed var(--border); vertical-align: top;}
.lines td:last-child { text-align: right; font-family: var(--font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px;}
.lines tr.discount td { color: var(--accent-text);}
.lines tr.subtotal td { border-bottom: 1px solid var(--border-strong); font-weight: 600;}
.lines .line-note { display: block; color: var(--text-subtle); font-size: 0.875rem;}
.calc-notes { font-size: 0.875rem; color: var(--text-subtle); margin-top: 14px;}
.calc-notes p { margin-bottom: 6px;}

.lines tr.total-row td { border-bottom: 0; font-size: 1rem;}
.add-counties { margin-top: 16px;}
.add-counties .field { margin-bottom: 12px;}
.add-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px;}
.add-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px;
  border: 0
; border-radius: var(--radius-sm); background: var(--bg-alt);}
.add-item b { display: block; font-weight: 600; font-size: 1rem;}
.add-item small { color: var(--text-subtle); font-family: var(--font-sans); font-size: 0.875rem;}
.dist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px;}
.dist div {
  border: 0
; border-radius: var(--radius); padding: 14px; background: var(--bg-alt);}
.dist dt { font-size: 0.875rem; color: var(--text-muted);}
.dist dd { margin: 4px 0 0; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em;}

/* ---------- Pricing cards ---------- */
.price-card { display: flex; flex-direction: column;}
.price-card .price { font-family: var(--font-sans); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; margin: 6px 0 2px;}
.price-card .price small { font-size: 0.55em; color: var(--text-subtle); letter-spacing: 0;}
.price-card .price-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px;}
.price-card .btn { margin-top: auto; align-self: flex-start;}
.price-card .card-points { margin-bottom: 20px;}
.included-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px;}
.included-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 0
; border-radius: var(--radius); background: var(--surface); font-size: 0.93rem;}
.included-list li svg { flex: none; width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px;}
.included-list li strong { display: block; font-weight: 600;}
.included-list li span { color: var(--text-muted); font-size: 0.86rem;}
.extras { width: 100%; border-collapse: collapse;}
.extras th, .extras td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 0.93rem;}
.extras th { font-weight: 600; width: 34%;}
.extras td.price-col { font-family: var(--font-sans); white-space: nowrap; color: var(--text); text-align: right;}
.extras td { color: var(--text-muted);}
.extras tr:last-child th, .extras tr:last-child td { border-bottom: 0;}
@media (max-width: 640px) {
  .extras tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 14px;
  border: 0
;}
  .extras tr:last-child { border-bottom: 0;}
  .extras th, .extras td { border: 0; padding: 2px 0; width: auto;}
  .extras td.desc { grid-column: 1 / -1; order: 3;}
}

/* ---------- FAQ ---------- */
.faq {
  border: 0
;}
.faq details {
  border: 0
;}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.02rem;}
.faq summary::-webkit-details-marker { display: none;}
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-subtle); border-bottom: 2px solid var(--text-subtle); transform: rotate(45deg); transition: transform .2s ease;}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px;}
.faq summary:hover { color: var(--accent-text);}
.faq .answer { padding: 0 0 20px; color: var(--text-muted); max-width: 72ch;}
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0;}

/* ---------- Notices ---------- */
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
  border: 0
; background: var(--bg-alt); font-size: 1rem; color: var(--text-muted);}
.notice svg { flex: none; width: 20px; height: 20px; color: var(--accent-text); margin-top: 2px;}
.notice strong { color: var(--text);}
.notice p:last-child, .notice ul:last-child { margin-bottom: 0;}
.notice-compliance { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); background: var(--accent-softer);}
.notice-draft { border-color: rgba(180, 83, 9, .4); background: rgba(245, 158, 11, .08);}
.notice-draft svg { color: var(--amber-600);}
.data-source { font-size: 0.875rem; color: var(--text-subtle); margin-top: 12px;}

/* ---------- Services ---------- */
.service-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start;}
@media (max-width: 960px) { .service-block { grid-template-columns: 1fr;} }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--border);}
.timeline li { padding: 0 0 16px 20px; position: relative; font-size: 1rem; color: var(--text-muted);}
.timeline li:last-child { padding-bottom: 0;}
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);}
.timeline b { color: var(--text); font-weight: 600; display: block; font-family: var(--font-sans); font-size: 0.875rem; letter-spacing: .02em;}
.plan-table { width: 100%; border-collapse: collapse; font-size: 0.93rem;}
.plan-table th, .plan-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left;}
.plan-table thead th { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--text-subtle); background: var(--bg-alt);}
.plan-table td.num, .plan-table th.r { text-align: right;}
.plan-table tbody tr:last-child td { border-bottom: 0;}
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start;}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr;} }
.county-checks { max-height: 260px; overflow-y: auto;
  border: 0
; border-radius: var(--radius-sm); padding: 6px 10px; background: var(--surface); margin-top: 8px;}
.county-checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 2px 12px;}
.county-checks .check { padding: 6px 0; font-size: 1rem;}
.county-group-title { font-family: var(--font-sans); font-size: 0.875rem; letter-spacing: .06em; text-transform: none; color: var(--text-subtle); margin: 8px 0 2px;}
.selected-count { font-size: 0.875rem; color: var(--text-subtle); margin-top: 6px;}
.form-confirm {
  border: 0
; background: var(--accent-softer); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px);}
.form-confirm h2 { font-size: 1.4rem;}
.form-confirm:focus { outline: 3px solid var(--accent); outline-offset: 3px;}
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px;}
.side-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 1rem; color: var(--text-muted);}
.side-list li b { color: var(--text); display: block; font-weight: 600;}
.side-list .n { font-family: var(--font-sans); font-size: 0.875rem; color: var(--accent-text); padding-top: 2px;}
.privacy-line { font-size: 0.875rem; color: var(--text-subtle);}

.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;}
.pick-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: 1rem;
  border: 0
;}
.pick-chip button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: transparent; color: var(--text-muted); font-size: 1rem; line-height: 1; cursor: pointer;}
.pick-chip button:hover { background: rgba(15, 23, 42, .08); color: var(--text);}
.picker-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px;}

/* ---------- Legal / prose ---------- */
.prose { max-width: 72ch;}
.prose h2 { font-size: 1.35rem; margin-top: 2.2em;}
.prose h2:first-child { margin-top: 0;}
.prose p, .prose li { color: var(--text-muted);}
.prose .placeholder { background: rgba(245, 158, 11, .14); color: var(--text); padding: 0 4px; border-radius: 3px; font-family: var(--font-sans); font-size: 0.88em;}

/* ---------- Footer ---------- */
.site-footer { background: var(--ground); color: var(--text-muted); padding-block: 56px 32px; font-size: 1rem;}
.site-footer a { color: #cbd5e1; text-decoration: none;}
.site-footer a:hover { color: #fff; text-decoration: underline;}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px;}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr;} .footer-brand { grid-column: 1 / -1;} }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr;} }
.footer-brand .brand { color: var(--text);}
.footer-brand p { margin-top: 14px; max-width: 40ch;}
.footer-brand .footer-slogan { margin: 12px 0 0; color: var(--text); font-weight: 600; letter-spacing: -0.01em;}
.footer-brand .footer-slogan + p { margin-top: 6px;}
.footer-col h2 { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-subtle); margin-bottom: 14px;}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px;}
.footer-bottom { margin-top: 44px; padding-top: 20px;
  border: 0
; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.875rem; color: var(--text-subtle);}
.footer-bottom p { margin: 0;}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0;} .mb-0 { margin-bottom: 0;}
.mt-1 { margin-top: 8px;} .mt-2 { margin-top: 16px;} .mt-3 { margin-top: 24px;} .mt-4 { margin-top: 40px;}
.mb-2 { margin-bottom: 16px;} .mb-3 { margin-bottom: 24px;}
.text-center { text-align: center;}
.stack > * + * { margin-top: 16px;}
[hidden] { display: none !important;}

@media print {
  .site-header, .cta-band, .site-footer, .nav-toggle { display: none;}
  .section-dark { background: var(--ground-2); color: var(--text); }
}

/* ---------- Strategy library ---------- */
.strategy-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;}
.strategy-filter.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text);}
.strategy-count { font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle); margin: 0 0 16px;}
.strategy .strategy-signals { font-family: var(--font-sans); font-size: 0.875rem; color: var(--accent-text); margin-top: 10px;}
.strategy[hidden] { display: none;}
.small-note { font-size: 0.875rem; color: var(--text-subtle); margin-top: 16px;}
.strategy-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 18px 20px;
  border: 0
; border-radius: var(--radius-lg); background: var(--accent-softer);}
.strategy-cta p { margin: 0; max-width: 62ch; color: var(--text-muted);}
.page-header .hero-steps { margin: 16px 0 0;}

/* ---------- Watchers ---------- */
.section-tight { padding-top: 28px; padding-bottom: 28px;}
.watch-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center;}
@media (max-width: 900px) { .watch-hero { grid-template-columns: minmax(0, 1fr);} }
.watch-feed { background: var(--ground); color: #e2e8f0;
  border: 0
; border-radius: var(--radius-lg); padding: 16px 16px 8px;}
.watch-feed-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle); padding-bottom: 10px;
  border: 0
;}
.watch-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);}
;}
@media (prefers-reduced-motion: reduce) { .watch-live { animation: none;} }
.watch-tag { margin-left: auto;
  border: 0
; border-radius: 999px; padding: 1px 8px; font-size: 0.66rem;}
.watch-feed ul { list-style: none; margin: 0; padding: 0;}
.watch-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; padding: 10px 2px;
  border: 0
;}
.watch-item:last-child { border-bottom: 0;}
.watch-time { grid-row: span 2; font-family: var(--font-sans); font-size: 0.875rem; color: var(--text-subtle); padding-top: 1px;}
.watch-event { font-weight: 600; font-size: 1rem; color: var(--text);}
.watch-detail { font-size: 0.875rem; color: var(--text-muted);}
.watch-item.is-hot .watch-event::after { content: "Hot"; margin-left: 8px; font-family: var(--font-sans); font-size: 0.875rem; color: var(--accent-text);
  border: 0
; border-radius: 999px; padding: 0 6px; vertical-align: 2px;}
.roadmap.race { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px;}
.watch-hero .btn-row { margin-top: 22px;}
/* =========================================================================
   Direction overrides — the split stage
   Appended after the original component rules so it wins on order.
   House rules enforced here rather than only in markup.
   ========================================================================= */

/* ---------- Frame and rhythm ---------- */
.section { padding-block: clamp(96px, 12vw, 200px);}
.section-tight { padding-block: clamp(64px, 8vw, 120px);}
.section-alt { background: var(--ground-2); border-block: 0;}
.section-head { max-width: 34ch; margin-bottom: clamp(40px, 5vw, 64px);}
.lead { font-size: var(--step-lead); color: var(--text); line-height: 1.4; max-width: 34ch;}
.muted { color: var(--text-muted);}
.footnote, .small-note, .data-source { font-size: var(--step-small); color: var(--text-subtle);}
.bg-grid { background-image: none;}

/* boxed labels and eyebrows read as costume; markup is stripped too */
.eyebrow 
.card-index, .module-key { display: none;}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 0;}
.site-header .nav { min-height: var(--header-h); gap: 32px;}
.brand, .site-header .brand span, .footer-brand .brand [data-brand] { font-family: var(--font-display); letter-spacing: -0.02em;}
.footer-brand .brand [data-brand]::after { background: var(--accent);}
.nav-links a {
  font-family: var(--font-sans);
  font-size: var(--step-small);
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;}
.nav-links a:hover { color: var(--accent-text);}
.nav-cta .btn { padding: 9px 16px;}

/* ---------- Buttons: one shape, flat fill, square ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 0;
  border: 0;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background-color 140ms ease, color 140ms ease;}
.btn-primary, .btn-on-dark {
  background: var(--btn-bg); color: var(--btn-text);}
.btn-primary:hover, .btn-on-dark:hover { background: var(--btn-bg-hover); color: var(--btn-text);}
.btn-secondary, .btn-outline-dark {
  background: transparent; color: var(--text);}
.btn-secondary:hover, .btn-outline-dark:hover { color: var(--accent-text);}
.btn-lg { padding: 16px 26px; font-size: var(--step-body);}
.btn-sm { padding: 9px 16px; font-size: var(--step-small);}
.btn-arrow::after { content: "→"; font-family: var(--font-sans);}

/* ---------- Cards become flat blocks (no box, no icon, no number) ---------- */
.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;}
.card-icon { display: none;}
.card-points { list-style: none; padding: 0; margin: 0;}
.card-points li {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 6px 0;}
.card h3 { margin-bottom: 12px;}
.card p { color: var(--text-muted);}

/* modules: a typographic list, not thirteen boxes */
.module-grid { display: block; columns: 3; column-gap: 56px;}
.module {
  background: transparent; border: 0; padding: 0; margin: 0 0 28px;
  break-inside: avoid;}
.module h3 { font-size: var(--step-body); line-height: 1.3; margin-bottom: 4px;}
.module p { font-size: 1rem; color: var(--text); margin: 0; line-height: 1.45;}

/* ---------- Proof numbers: columns, no chrome ---------- */
.proof { padding-block: clamp(80px, 10vw, 160px); border: 0; background: transparent;}
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px;}
.proof-value { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; color: var(--text);}
.proof-label { font-size: var(--step-small); color: var(--text-muted); margin-top: 10px; max-width: 30ch;}
.proof-source { font-size: var(--step-small); color: var(--text-subtle); margin-top: 48px; max-width: 62ch;}

/* ---------- How it works: the itinerary slip ---------- */
.steps { list-style: none; padding: 0; margin: 0; max-width: 560px;}
.step { margin: 0; padding: 22px 0 0; border: 0;}
.step-num { display: none;}
.step h3 { font-size: var(--step-lead); margin-bottom: 8px;}
.step p { color: var(--text); font-size: var(--step-small); margin: 0;}

/* ---------- Pricing ---------- */
.price-card, .price-col, .table-card, .calc-panel, .calc-results, .service-block,
.strategy, .watch-item, .card > .included-list {
  background: var(--ground-2);
  border: 0;
  border-radius: 0;}
.price-card { padding: clamp(24px, 3vw, 40px);}
.price { font-family: var(--font-display);}
table, .data-table, .plan-table { font-family: var(--font-sans);}
.data-table th, .data-table td { font-size: 1rem; border-color: var(--border);}
.tag, .badge, .chip {
  background: transparent; border: 0; border-radius: 0;
  padding: 0; font-size: var(--step-small); color: var(--text-muted);}
.badge-accent { color: var(--accent-text); border: 0; background: transparent;}

/* ---------- FAQ / answers: reading text ---------- */
.faq { display: block; columns: 2; column-gap: 56px;}
.faq > * { break-inside: avoid;}
.answer { color: var(--text-muted); font-size: var(--step-small);}

/* ---------- Footer: one quiet line ---------- */
.site-footer {
  background: var(--ground);
  border-top: 0;
  padding-block: clamp(48px, 6vw, 80px) 32px;}
.footer-grid { display: block;}
.footer-brand, .footer-slogan, .footer-col { display: none;}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline;
  font-size: var(--step-small); color: var(--text-subtle);
  border-top: 0; padding-top: 0; margin-top: 0;}
.footer-bottom a { color: var(--text); text-decoration: none;}
.footer-bottom a:hover { color: var(--accent-text);}

/* ---------- Striped scale band (the direction's only ornament) ---------- */
.stripe-band {
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='14'%3E%3Crect width='48' height='14' fill='%23c9a45a'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 72px 14px;
}

/* ---------- The split stage ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;}
.split-main { padding-block: clamp(40px, 6vw, 88px);}

.plat-panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  height: calc(100svh - var(--header-h) - 48px);
  display: flex;
  flex-direction: column;
  background: var(--ground-2);
  overflow: hidden;}
.plat-canvas-wrap { position: relative; flex: 1 1 auto; min-height: 0;}
.plat-canvas { display: block; width: 100%; height: 100%;}
.plat-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--text-subtle); font-size: var(--step-small); text-align: center; padding: 24px;}
.plat-panel figcaption {
  padding: 18px 20px 20px;
  display: grid;
  gap: 10px;
  font-size: var(--step-small);
  color: var(--text-muted);}
.plat-figure-cap { margin: 0;}
.plat-readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;}
.plat-county { font-family: var(--font-display); font-size: var(--step-lead); color: var(--text);}
.plat-price { font-family: var(--font-display); font-size: var(--step-lead); color: var(--accent-text);}
.plat-meta { color: var(--text-subtle);}

.county-picker { display: flex; flex-wrap: wrap; gap: 6px;}
.county-picker button {
  font-family: var(--font-sans);
  font-size: var(--step-small);
  color: var(--text-muted);
  background: transparent;
  border: 0;
  padding: 6px 10px;
  cursor: pointer;}
.county-picker button:hover { color: var(--text);}
.county-picker button[aria-pressed="true"] { color: var(--accent-text);}

/* ---- entrance motion: content is visible without it ---- */
.js .reveal { opacity: 0; transform: translateY(20px);}
.js .reveal.in { opacity: 1; transform: none; transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.7,.2,1);}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none;}
}

/* ---------- Phone: the panel goes on top, then releases ---------- */
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .split-main { padding-block: 32px 0; }
  .plat-panel {
    position: relative; top: auto;
    height: 56svh;
    order: -1;
    margin-bottom: 32px;
  }
  .plat-panel figcaption { padding: 14px 16px 16px; }
  .module-grid { columns: 1; }
  .faq { columns: 1; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { max-width: 100%; }
;}

/* =========================================================================
   Components the rebuilt page needs
   ========================================================================= */

/* ---------- Hero meta ---------- */
.hero-meta {
  list-style: none; padding: 0; margin: 28px 0 0;
  font-size: var(--step-small); color: var(--text-muted);}
.hero-meta li::before { display: none;}
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px;}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;}

.split-main h1 { margin-bottom: 24px;}
.split-main > .lead { margin-bottom: 0; max-width: 46ch;}

/* ---------- Capability blocks: copy and one picture, no box ---------- */
.cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-block: clamp(40px, 5vw, 64px);}
.cap + .cap { padding-top: 0;}
.cap:first-of-type { padding-top: 0;}
.cap h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 12px;}
.cap p { color: var(--text); max-width: 46ch;}
.cap-photo { margin: 0;}
.cap-photo img { width: 100%; height: auto;}
.cap-photo figcaption,
.plate figcaption,
.land-strip figcaption {
  font-size: var(--step-small);
  color: var(--text-subtle);
  margin-top: 10px;
  max-width: 44ch;}

/* a picture beside its copy where there is room for one */
@media (min-width: 620px) {
  .cap { grid-template-columns: minmax(0, 1.35fr) minmax(140px, 0.65fr); align-items: start; }
  .cap-flip .cap-copy { order: 2; }
  .cap-flip .cap-photo { order: 1; }
  .cap-photo img { height: 260px; object-fit: cover; }
  .cap:not(:has(.cap-photo)) { grid-template-columns: minmax(0, 1fr); }
;}

/* ---------- The itinerary ---------- */
.itinerary { list-style: none; padding: 0; margin: 0 0 24px;}
.itinerary li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0;
  margin: 0;
  font-size: var(--step-small);
  color: var(--text);}
.itinerary .it-what { flex: 0 1 auto;}
.itinerary .it-dots {
  flex: 1 1 auto; min-width: 24px;
  border-bottom: 2px dotted var(--border-strong);
  transform: translateY(-4px);}
.itinerary .it-time { flex: 0 0 auto; color: var(--text-muted);}
.itinerary .it-total {
  background: var(--text); color: var(--ground);
  padding: 14px 16px; margin-top: 8px;
  font-weight: 600;
  display: flex; justify-content: space-between;}
.itinerary .it-total .it-time { color: var(--ground);}

/* ---------- The plat map plate ---------- */
.plate { margin: clamp(40px, 6vw, 64px) 0 0;}
.plate img { width: 100%; height: auto;}

/* ---------- Land strip: three real pictures of the counties ---------- */
.land-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);}
.land-strip figure { margin: 0;}
.land-strip img { width: 100%; height: 240px; object-fit: cover;}
@media (max-width: 720px) {
  .land-strip { grid-template-columns: minmax(0, 1fr);}
  .land-strip img { height: 220px;}
}

/* ---------- Two plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;}
.plan {
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--ground-2);
  display: flex; flex-direction: column; align-items: flex-start;}
.plan-dark { background: var(--ground-3);}
.plan h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-bottom: 12px;}
.plan-who { color: var(--text); font-size: 1rem; max-width: 34ch; margin-bottom: 28px;}
.plan-facts { margin: 0 0 28px; font-size: var(--step-small);}
.plan-facts > div { padding: 12px 0;}
.plan-facts dt { color: var(--text-subtle);}
.plan-facts dd { margin: 2px 0 0; color: var(--text);}
.plan .btn { margin-top: auto;}
@media (max-width: 720px) {
  .plans { grid-template-columns: minmax(0, 1fr);}
}

/* ---------- Closing band: the last photograph ---------- */
.close-band {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;}
.close-band > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;}
.close-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(12, 10, 8, 0.62);
  z-index: -1;}
.close-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding-block: clamp(64px, 8vw, 120px);}
.close-inner > div:first-child { grid-column: 2;}
.close-inner .btn-row { grid-column: 2; margin-top: 0;}
.close-inner h2 { font-size: clamp(2rem, 3.4vw, 3.25rem);}
.close-inner p { color: #f1ece6; max-width: 40ch;}
@media (max-width: 720px) {
  .close-inner { grid-template-columns: minmax(0, 1fr);}
  .close-inner > div:first-child { grid-column: 1;}
  .close-inner .btn-row { grid-column: 1;}
}

/* =========================================================================
   Motion layer and final fixes
   ========================================================================= */

/* nav spacing (the plain bar) */
.nav-links { gap: clamp(12px, 1.6vw, 26px); }
.nav-links a { background: transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: transparent; }

/* the plot's own caption must not show over the plot */
.plat-empty[hidden], [hidden] { display: none !important; }
.plat-empty { color: var(--text-subtle); }

/* one type scale: five steps, no ad-hoc sizes */
.cap h3, .plan h3, .module h3, .step h3 { font-size: var(--step-lead); }
.close-inner h2, .cta-inner h2 { font-size: var(--step-head); }
.proof-value { font-size: var(--step-display); }
.close-inner p { color: var(--text); }

/* ---- entrance: the hero on load, sections as they arrive ---- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.js .rise {
  opacity: 0;
  animation: rise-in 700ms cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 640ms ease, transform 640ms cubic-bezier(.2,.7,.2,1); }

/* a section's parts arrive one after another, not as one block */
.js .reveal > h2, .js .reveal > .lead, .js .reveal > p,
.js .section-head > h2, .js .section-head > .lead {
  opacity: 0; transform: translateY(16px);
}
.js .reveal.in > h2, .js .reveal.in > .lead, .js .reveal.in > p,
.js .section-head.in > h2, .js .section-head.in > .lead {
  opacity: 1; transform: none;
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
}
.js .reveal.in > h2, .js .section-head.in > h2 { transition-delay: 0ms; }
.js .reveal.in > .lead, .js .section-head.in > .lead { transition-delay: 80ms; }
.js .reveal.in > p { transition-delay: 150ms; }

/* ---- one moving picture: a slow drift on the photographs ---- */
@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(0, -1.4%, 0); }
}
.plate img, .land-strip img, .cap-photo img {
  animation: drift 26s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}
.close-band > img { animation: drift 34s ease-in-out infinite alternate; }

/* ---- feedback on every control ---- */
.btn:active { transform: translateY(1px); }
.county-picker button:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  /* reduced motion drops the travel, not the content: things still fade in,
     and nothing waits behind an animation that will never run */
  .js .rise { opacity: 1; transform: none; animation: none; }
  .js .reveal, .js .reveal > h2, .js .reveal > .lead, .js .reveal > p,
  .js .section-head > h2, .js .section-head > .lead {
    transform: none;
    transition: opacity 320ms ease;
  }
  .js .reveal.in, .js .reveal.in > h2, .js .reveal.in > .lead, .js .reveal.in > p,
  .js .section-head.in > h2, .js .section-head.in > .lead { opacity: 1; }
  .plate img, .land-strip img, .cap-photo img, .close-band > img { animation: none; }
}

/* ---- phone: the argument first, the plot under it ---- */
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .plat-panel { position: relative; top: auto; height: 58svh; margin-bottom: 28px; }
  .split-main { padding-block: 0; }
  .cap { grid-template-columns: minmax(0, 1fr); }
  .cap-flip .cap-copy, .cap-flip .cap-photo { order: 0; }
  .cap-photo img { height: 220px; }
  .hero-meta { display: block; }
  .hero-meta span + span { display: inline; }
}

/* the plot sits on the land it describes: aerial field parcels under the ink */
.plat-panel { isolation: isolate; }
.plat-canvas-wrap { position: relative; z-index: 0; }
.plat-ground {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: grayscale(0.55) contrast(0.95);
  z-index: -2;
}
.plat-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(12, 10, 8, 0.55);
  z-index: -1;
}
.plat-canvas { position: relative; z-index: 0; }
.plat-panel figcaption { position: relative; z-index: 1; }

/* phone: a table shows the two columns that matter instead of scrolling sideways */
@media (max-width: 640px) {
  .queue th:nth-child(1), .queue td:nth-child(1),
  .queue th:nth-child(2), .queue td:nth-child(2),
  .queue th:nth-child(5), .queue td:nth-child(5) { display: none; }
  .data-table th:nth-child(3), .data-table td:nth-child(3),
  .data-table th:nth-child(5), .data-table td:nth-child(5) { display: none; }
  .table-wrap { overflow-x: visible; }
}

/* ---- review fixes: give the argument room, crop the plate, stack the modules ---- */
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 48px); }
}

/* the picture column is a picture, and its caption runs under the whole block */
@media (min-width: 620px) {
  .cap { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; }
  .cap-photo img { height: 240px; }
}
.cap-photo figcaption { grid-column: 1 / -1; margin-top: 10px; }

/* thirteen plays in a narrow column: one column, no newspaper setting */
.module-grid { columns: 1; }
.module { margin-bottom: 22px; }

/* the 1852 plat at plate scale: crop to the drawing, not the whole sheet */
.plate img { height: clamp(220px, 26vw, 340px); object-fit: cover; object-position: 25% 45%; }

/* phone: the words come first, the plot under them */
@media (max-width: 899px) {
  .plat-panel { order: 1; }
  .split-main { order: 0; }
}

/* a full-width section uses the width it has: heading left, argument right */
.container > .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}
.container > .section-head .lead { max-width: 46ch; margin-bottom: 0; }
.container > .section-head h2 { margin-bottom: 0; }
@media (max-width: 820px) {
  .container > .section-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---- inner pages: the same frame, with one real picture in the header ---- */
.page-header { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.page-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.page-head-split h1 { margin-bottom: 20px; }
.page-head-split .lead { max-width: 44ch; }
.page-photo { margin: 0; }
.page-photo img { width: 100%; height: clamp(200px, 26vw, 340px); object-fit: cover; }
.page-photo figcaption { font-size: var(--step-small); color: var(--text-subtle); margin-top: 10px; max-width: 46ch; }
@media (max-width: 820px) {
  .page-head-split { grid-template-columns: minmax(0, 1fr); }
}
/* a list of features is a list, not eight cards with ticks */
.card > ul li svg, .included-list li svg { display: none; }
.grid-3 > *, .grid-4 > * { background: transparent; }

/* ---- inner pages, final sizing: the headline leads, the photo is a picture ---- */
.page-head-split h1 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 4.5rem); line-height: 0.98; }
.page-photo img { height: clamp(220px, 34vw, 430px); }
/* running text on the inner pages too */
.card-points li, .data-table, .data-table tbody th, .step p, .contact-grid p, .notice { font-size: 1rem; }

/* ---- About: the people, named ---- */
.page-photo-portrait img { height: clamp(260px, 30vw, 380px); object-fit: cover; object-position: center 20%; }
.prose { max-width: 68ch; }
.prose p { font-size: var(--step-lead); line-height: 1.5; color: var(--text); margin-bottom: 1.1em; }
.prose h2 { margin-bottom: 0.5em; }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.team-member img { width: 100%; height: clamp(220px, 24vw, 320px); object-fit: cover; object-position: center 20%; }
.team-member h3 { font-size: var(--step-lead); margin: 18px 0 2px; }
.team-role { color: var(--accent-text); font-size: 1rem; margin: 0 0 12px; }
.team-member p { font-size: 1rem; color: var(--text-muted); }
.team-contact { margin-top: 10px; }
.team-contact a { font-size: 1rem; }
.reach { max-width: 62ch; }
@media (max-width: 820px) {
  .team { grid-template-columns: minmax(0, 1fr); }
}

/* About: two-column argument, and a close that is a phone number */
.split-words { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.split-words h2 { margin-top: 4px; }
.prose { max-width: none; }
.prose p { font-size: var(--step-body); line-height: 1.6; }
.band-ring { background: var(--ground-2); }
.ring-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 5vw, 4.5rem);
  line-height: 1;
  color: var(--accent-text);
  text-decoration: none;
  margin-bottom: 32px;
}
.ring-phone:hover { color: #fff; }
.reach-facts { margin: 0; font-size: 1rem; }
.reach-facts > div { padding: 14px 0; }
.reach-facts dt { color: var(--text-subtle); }
.reach-facts dd { margin: 2px 0 0; }
@media (max-width: 820px) { .split-words { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* About: one person, portrait beside the words */
.team-solo { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 2.5vw, 32px); align-items: start; }
.team-solo img { width: 100%; height: 240px; object-fit: cover; object-position: center 20%; }
.team-solo h3 { font-size: var(--step-lead); margin: 0 0 2px; }
.team-solo p { font-size: 1rem; color: var(--text-muted); }
.team-solo .team-role { color: var(--accent-text); margin: 0 0 12px; }
.team-solo .team-contact a { font-size: var(--step-lead); }
@media (max-width: 620px) { .team-solo { grid-template-columns: minmax(0, 1fr); } .team-solo img { height: 200px; } }

/* ---- Legal pages: contents on the left, the text on the right ---- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(28px, 4vw, 72px); align-items: start; justify-content: center; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 1rem; }
.legal-toc h2 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 10px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { margin: 0 0 6px; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent-text); }
.legal .prose { max-width: 68ch; }
.legal .prose h2 { font-size: var(--step-lead); margin: 1.8em 0 0.5em; }
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose p { font-size: 1rem; line-height: 1.65; }
.legal .prose strong { color: var(--text); }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: relative; top: auto; }
}

/* a legal page leads with its title: no picture belongs on a policy */
.page-header h1 { font-size: clamp(2.1rem, 1rem + 4.4vw, 5rem); line-height: 0.98; }

/* legal pages: the title sits on the same column as the text */
.legal-head { max-width: calc(220px + clamp(28px, 4vw, 72px) + 68ch); margin-inline: auto; }
@media (max-width: 900px) { .legal-head { max-width: none; } }

/* legal pages use one width for header, text and footer, so the margins match */
body.legal-page .container { max-width: 1040px; }
body.legal-page .legal { grid-template-columns: 200px minmax(0, 1fr); justify-content: stretch; }
body.legal-page .legal .prose { max-width: none; }
body.legal-page .legal-head .lead { max-width: 62ch; }
body.legal-page .legal-toc { top: calc(var(--header-h) + 16px); }

/* long addresses must wrap, never touch the screen edge */
.prose a, .footer-bottom a, .legal-toc a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  body.legal-page .legal { grid-template-columns: minmax(0, 1fr); }
  body.legal-page .container { max-width: none; }
}
