/* Stephanie Johnson, Coldwell Banker Realty. Round 1b draft.
   Display: Big Shoulders Display (state words, headings). Name and editorial lines: Gloock.
   UI and body: Roboto (Coldwell Banker web fallback face). Anchor color: Coldwell Banker Blue #012169. */

:root {
  --cb: #012169;
  --cb-deep: #000f36;
  --cb-mid: #0a2f86;
  --ink: #0e1630;
  --ink-2: #3c4560;
  --paper: #ffffff;
  --mist: #eef1f6;
  --line: #d6dbe6;
  --brass: #cfa86a;        /* on blue only (6.6:1 on #012169) */
  --brass-ink: #7d5e2c;    /* brass for text on white (5.4:1) */
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif: "Gloock", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.section--light :focus-visible, .page-light :focus-visible { outline-color: var(--cb); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--cb); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; letter-spacing: .005em; text-transform: uppercase; line-height: .92; }
.h-xl { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: .005em; }
.h-lg { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.1rem, 4.4vw, 3.75rem); line-height: .98; }
.h-md { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1; }
.serif { font-family: var(--serif); font-weight: 400; text-transform: none; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 38rem; }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .85rem 1.5rem; font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn--brass { background: var(--brass); color: var(--cb-deep); }
.btn--brass:hover { background: #e2bf86; }
.btn--white { background: var(--paper); color: var(--cb); }
.btn--white:hover { background: var(--mist); }
.btn--line { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--blue { background: var(--cb); color: #fff; }
.btn--blue:hover { background: var(--cb-mid); }
.btn--outline { border-color: var(--cb); color: var(--cb); background: transparent; }
.btn--outline:hover { background: var(--mist); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; color: #fff; }
.brokerage-bar { background: var(--cb-deep); }
.brokerage-bar__inner { display: flex; align-items: center; gap: .9rem; min-height: 2.75rem; }
.cb-lockup { width: auto; height: 1.6rem; }
.brokerage-bar__rule { width: 1px; height: 1.25rem; background: rgba(255, 255, 255, .45); }
.brokerage-name, .agent-name { font: 700 1.125rem/1.1 var(--sans); }   /* same size: IL 1450.715(b), IN 876 IAC 8-1-8 */
.brokerage-bar__lic { margin-left: auto; font-size: .875rem; color: rgba(255, 255, 255, .85); }
.agent-bar { background: var(--cb); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.agent-bar__inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.agent-id { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; margin-right: auto; }
.agent-title { font-size: .9375rem; color: rgba(255, 255, 255, .85); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; }
.site-nav a { display: block; padding: .6rem .8rem; font-weight: 500; text-decoration: none; border-radius: var(--radius); }
.site-nav a:hover { background: rgba(255, 255, 255, .1); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); }
.site-nav .nav-cta a { background: var(--brass); color: var(--cb-deep); font-weight: 700; margin-left: .5rem; }
.site-nav .nav-cta a:hover { background: #e2bf86; }
.nav-toggle { display: none; margin-left: auto; min-height: 2.75rem; padding: .5rem 1rem; font: 700 1rem var(--sans); color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, .6); border-radius: var(--radius); }
@media (max-width: 1020px) {
  .brokerage-bar__lic { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .agent-id { margin-right: 0; flex-direction: column; gap: 0; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cb); padding: .5rem var(--gutter) 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .15); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .9rem .5rem; font-size: 1.125rem; }
  .site-nav .nav-cta a { margin: .5rem 0 0; text-align: center; }
  .no-js .site-nav { position: static; display: block; }
}

/* ---------- home hero: the state line ---------- */
.hero { --split: 50%; position: relative; overflow: hidden; background: var(--cb); color: #fff; min-height: max(40rem, calc(100svh - 6.75rem)); isolation: isolate; }
.hero__photo { position: absolute; inset: 0; z-index: -3; }
.hero__photo picture, .hero__photo img { display: block; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: center 62%; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: .22; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 33, 105, .2) 0%, rgba(1, 33, 105, 0) 35%, rgba(0, 15, 54, .6) 100%); }
.hero__line { position: absolute; left: var(--split); top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%273%27 height=%2728%27%3E%3Crect width=%273%27 height=%2716%27 fill=%27%23cfa86a%27/%3E%3C/svg%3E") repeat-y; z-index: -1; transform-origin: top center; }
.hero__sign { position: absolute; top: 1.25rem; font: 700 .9375rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #f0d6a6; }
.hero__sign--il { right: calc(100% - var(--split) + 1rem); }
.hero__sign--in { left: calc(var(--split) + 1rem); }
.hero__road { position: absolute; left: calc(var(--split) + .9rem); bottom: 1.1rem; font: 500 .875rem/1 var(--sans); color: rgba(255, 255, 255, .85); }
.hero__states { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__state { position: absolute; top: clamp(2rem, 6vh, 4rem); font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 14vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 3px rgba(255, 255, 255, .9); }
.hero__state--il { right: calc(100% - var(--split) + 8.5rem); }
.hero__state--in { left: calc(var(--split) + 8.5rem); }
.hero__agent { position: absolute; left: var(--split); bottom: 0; height: 87%; transform: translateX(-50%); z-index: -1; }
.hero__agent img { height: 100%; width: auto; max-width: none; }
.hero__copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: end; min-height: inherit; padding-block: 12rem 3rem; }
.hero__text { max-width: min(26rem, calc(50vw - 25svh - 7rem)); }
.hero__text h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 3.7vw, 3.6rem); line-height: .95; margin-bottom: .4em; }
.hero__text p { font-size: 1.125rem; }
.hero__card { justify-self: end; max-width: 19rem; padding: 1.25rem 1.4rem; background: var(--cb-deep); border-top: 3px solid var(--brass); }
.hero__card .lock { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .9rem; }
.hero__card .lock span { font: 700 1.25rem/1.15 var(--sans); }       /* name and brokerage same size */
.hero__card p { font-size: .9375rem; margin: 0; color: rgba(255, 255, 255, .92); }
.hero__card p + p { margin-top: .5rem; }
@media (max-width: 1100px) { .hero__card { display: none; } }
@media (max-width: 1100px) {
  .hero { --split: 50%; min-height: 0; }
  .hero__photo img { object-position: 30% 60%; }
  .hero__state { top: 2.2rem; font-size: min(22vw, 9.5rem); }
  .hero__state--il { right: calc(50% + 1rem); }
  .hero__state--in { left: calc(50% + 1rem); }
  .hero__agent { position: relative; left: auto; height: auto; transform: none; width: min(80vw, 24rem); margin: calc(2.2rem + min(19vw, 8.2rem)) auto 0; }
  .hero__agent img { width: 100%; height: auto; }
  .hero__copy { grid-template-columns: 1fr; padding-block: 0 2.5rem; background: var(--cb); }
  .hero__copy::before { content: ""; position: absolute; left: 0; right: 0; top: -7rem; height: 7rem; background: linear-gradient(180deg, rgba(1, 33, 105, 0), var(--cb)); pointer-events: none; }
  .hero__text { max-width: none; padding-top: .5rem; }
  .hero__card { display: block; justify-self: stretch; max-width: none; }
  .hero__road { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section--blue { background: var(--cb); color: #fff; }
.section--deep { background: var(--cb-deep); color: #fff; }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head p { margin: 0; }
.section-head--stack { grid-template-columns: 1fr; gap: 1rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- two-state diptych ---------- */
.diptych { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; background: var(--cb-deep); color: #fff; position: relative; }
.diptych::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%273%27 height=%2728%27%3E%3Crect width=%273%27 height=%2716%27 fill=%27%23cfa86a%27/%3E%3C/svg%3E") repeat-y; z-index: 2; }
.side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 4.5rem); min-height: 38rem; isolation: isolate; }
.side__img { position: absolute; inset: 0; z-index: -2; }
.side__img img { width: 100%; height: 115%; object-fit: cover; }
.side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 15, 54, .05) 25%, rgba(0, 15, 54, .82) 72%, rgba(0, 15, 54, .94) 100%); }
.side__state { font-family: var(--display); font-weight: 900; font-size: clamp(3.75rem, 8vw, 7.5rem); line-height: .85; text-transform: uppercase; margin-bottom: .2em; }
.side__counties { font: 700 1rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.side__towns { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin-bottom: 1.4rem; max-width: 30rem; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.side__fact { max-width: 30rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 1rem; }
.side__fact strong { color: #fff; }
@media (max-width: 860px) {
  .diptych { grid-template-columns: 1fr; min-height: 0; }
  .diptych::after { display: none; }
  .side { min-height: 34rem; }
  .side + .side { border-top: 3px solid var(--brass); }
}

/* ---------- map (interactive, dark) ---------- */
.map-stage { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.map-stage--solo { grid-template-columns: 1fr; }
.map-steps { list-style: none; counter-reset: step; }
.map-step { counter-increment: step; padding: 1.25rem 0 1.25rem 3.5rem; position: relative; border-top: 1px solid rgba(255, 255, 255, .16); transition: opacity .35s var(--ease); }
.map-step::before { content: counter(step); position: absolute; left: 0; top: 1.15rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; font: 700 1rem var(--sans); color: var(--brass); border: 2px solid var(--brass); border-radius: 50%; transition: background-color .3s var(--ease), color .3s var(--ease); }
.map-step h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; margin-bottom: .3em; }
.map-step p { margin: 0; color: rgba(255, 255, 255, .86); }
.js-motion .map-pinned .map-step { opacity: .6; }
.js-motion .map-pinned .map-step.is-active { opacity: 1; }
.map-step.is-active::before { background: var(--brass); color: var(--cb-deep); }

.map-ui { position: relative; min-width: 0; }
.map-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.map-seg { display: inline-flex; padding: 4px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.map-seg button, .map-rings-btn { min-height: 2.75rem; padding: .5rem 1.15rem; font: 700 .9375rem/1 var(--sans); color: #fff; background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.map-seg button[aria-pressed="true"] { background: var(--brass); color: var(--cb-deep); }
.map-seg button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .12); }
.map-rings-btn { border: 1px solid rgba(255, 255, 255, .35); }
.map-rings-btn[aria-pressed="true"] { background: #fff; color: var(--cb-deep); border-color: #fff; }
.map-rings-btn::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .5rem; vertical-align: -1px; border: 2px dashed currentColor; border-radius: 50%; }

.map-figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: #061744; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.map-figure svg { display: block; width: 100%; height: auto; }
.map-hint { max-width: 70ch; margin: .85rem 0 0; font-size: .875rem; color: rgba(255, 255, 255, .78); }

/* restyle the census map for the dark section (beats the SVG's own class rules) */
.map-figure .water { fill: #123a8c; }
.map-figure .land { fill: #071a4b; stroke: #1d3a80; stroke-width: 1; }
.map-figure .land-served { fill: #0d2c72; stroke: #5a7ad0; stroke-width: 1.6; transition: fill .3s var(--ease); }
.map-figure .land-served:hover { fill: #123585; }
.map-figure .road { stroke: #22418c; }
.map-figure .line { stroke: var(--brass); stroke-width: 9; stroke-dasharray: 26 12; stroke-linecap: butt; }
.map-figure .town { cursor: pointer; outline: none; }
.map-figure .town circle { fill: #fff; stroke: #061744; stroke-width: 2.5; transition: fill .2s var(--ease); }
.map-figure .town circle.hit { fill: transparent !important; stroke: none !important; }
.map-figure .town:hover circle:not(.hit), .map-figure .town:focus-visible circle, .map-figure .town.is-active circle { fill: var(--brass); }
.map-figure .town:focus-visible circle:not(.hit) { stroke: #fff; stroke-width: 3; }
.map-figure .label { fill: #fff; stroke: #061744; stroke-width: 5; }
.map-figure .town.is-active .label { fill: var(--brass); }
.map-figure .label-office { fill: var(--brass); }
.map-figure .label-ref { fill: #b9c6e6; }
.map-figure .ref-dot { fill: #b9c6e6; stroke: #061744; }
.map-figure .office-pin { fill: var(--brass); stroke: #fff; stroke-width: 1.2; }
.map-figure .office-core { fill: var(--cb-deep); }
.map-figure .label-water { fill: #7f9be0; }
.map-figure .label-state { fill: #8ea3d6; }
.map-figure .label-county { fill: #6f86c2; }
/* side filter: fill-opacity so it never fights the scroll timeline's opacity */
.map-figure [data-state] { transition: fill-opacity .35s var(--ease), stroke-opacity .35s var(--ease); }
.map-figure[data-filter="IL"] [data-state="IN"], .map-figure[data-filter="IN"] [data-state="IL"] { fill-opacity: .18; stroke-opacity: .18; }
.map-figure[data-filter="IL"] #label-indiana, .map-figure[data-filter="IN"] #label-illinois { fill-opacity: .25; }
/* distance rings */
.map-figure .rings circle { fill: none; stroke: #c9d6f5; stroke-width: 1.4; stroke-dasharray: 3 6; opacity: .7; }
.map-figure .rings text { font: 700 17px Roboto, Arial, sans-serif; fill: #c9d6f5; stroke: #061744; stroke-width: 5; paint-order: stroke; }
.map-figure .rings { display: none; }
.map-figure.rings-on .rings { display: inline; }

/* town card */
.map-scroll { position: relative; }
.map-hint__swipe { display: none; }
.map-card { position: absolute; z-index: 5; width: min(19rem, calc(100% - 2rem)); background: #fff; color: var(--ink); border-radius: 4px; border: 1px solid rgba(255, 255, 255, .5); overflow: hidden; }
.map-card[hidden] { display: none; }
.map-card__img { display: block; width: 100%; height: 8.5rem; object-fit: cover; }
.map-card__body { padding: 1rem 1.1rem 1.15rem; }
.map-card__name { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: .95; text-transform: uppercase; color: var(--cb); margin: 0 2rem .2rem 0; }
.map-card__meta { font: 700 .8125rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 .6rem; }
.map-card__note { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 .9rem; }
.map-card__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.map-card__links a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .45rem .85rem; font: 700 .875rem/1.2 var(--sans); text-decoration: none; border-radius: var(--radius); }
.map-card__links a:first-child { background: var(--cb); color: #fff; }
.map-card__links a:last-child { border: 2px solid var(--cb); color: var(--cb); }
.map-card__close { position: absolute; top: .5rem; right: .5rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; font: 700 1.25rem/1 var(--sans); color: var(--cb-deep); background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; cursor: pointer; }
@media (max-width: 960px) {
  .map-stage { grid-template-columns: 1fr; }
  .map-card { position: relative; left: auto !important; top: auto !important; width: auto; margin: .75rem; box-shadow: none; }
  .map-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .map-scroll svg { width: 780px; max-width: none; }
  .map-hint__swipe { display: inline; }
}
@media (max-width: 520px) { .map-controls { flex-direction: column; align-items: stretch; } .map-seg { justify-content: space-between; } .map-seg button { flex: 1; } }

/* ---------- property tax comparison ---------- */
.cross { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cross__form { display: grid; gap: 1.5rem; }
.cross .field label { color: #fff; }
.cross__out { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--cb); border-top: 3px solid var(--brass); }
.cross__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.cross__row dt { color: rgba(255, 255, 255, .9); }
.cross__row dd { margin: 0; font: 700 1.25rem/1.2 var(--sans); }
.cross__big { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .9; color: var(--brass); margin: 1.25rem 0 .25rem; }
.cross__note { font-size: .9375rem; color: rgba(255, 255, 255, .85); margin-top: 1rem; }
@media (max-width: 960px) { .cross { grid-template-columns: 1fr; } }

/* ---------- form fields ---------- */
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 700; }
.field .hint, .field .derived { font-size: .9375rem; color: var(--ink-2); }
.section--deep .field .hint, .section--blue .field .hint, .section--deep .field .derived { color: rgba(255, 255, 255, .82); }
.input-wrap { position: relative; display: flex; align-items: center; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 3.25rem; padding: .75rem 1rem; font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 2px solid #8b93a8; border-radius: var(--radius); }
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--cb); }
.input-wrap .unit { position: absolute; font-weight: 700; color: var(--ink-2); pointer-events: none; }
.unit--pre { left: 1rem; } .unit--pre + input { padding-left: 2rem; }
.unit--post { right: 1rem; }
input[type="range"] { width: 100%; accent-color: var(--brass); min-height: 2rem; }
.field-error { color: #a4161a; font-size: .9375rem; font-weight: 500; }
.section--deep .field-error, .section--blue .field-error { color: #ffd7d0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.choice { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; min-height: 2.75rem; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--cb); }
fieldset { border: 0; padding: 0; margin: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; padding: 1rem; background: var(--mist); border-radius: var(--radius); font-size: .9375rem; }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--cb); }
.consent-tag { display: block; font-weight: 700; margin-bottom: .25rem; }
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-notice { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.form-status { font-weight: 500; }
.form-status:not(:empty) { padding: 1rem; background: var(--mist); border-radius: var(--radius); }

/* ---------- buy / sell editorial ---------- */
.path { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.path + .path { margin-top: clamp(4.5rem, 9vw, 8rem); }
.path--flip .path__img { order: 2; }
.path__img { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.path__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.path__label { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 9vw, 8rem); line-height: .82; text-transform: uppercase; color: var(--cb); margin-bottom: .2em; }
.path__links { list-style: none; margin-top: 1.75rem; border-top: 1px solid var(--line); }
.path__links li { border-bottom: 1px solid var(--line); }
.path__links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-weight: 700; font-size: 1.125rem; color: var(--cb); text-decoration: none; }
.path__links a:hover { text-decoration: underline; }
.path__links .arrow { transition: transform .2s var(--ease); }
.path__links a:hover .arrow { transform: translateX(4px); }
@media (max-width: 860px) { .path, .path--flip { grid-template-columns: 1fr; } .path--flip .path__img { order: 0; } }

/* ---------- places rail ---------- */
.rail-wrap { overflow: hidden; }
.rail { display: flex; gap: clamp(1rem, 2vw, 1.75rem); padding-inline: var(--gutter); list-style: none; }
.place { flex: 0 0 auto; width: clamp(16rem, calc((100vh - 31rem) * .85), 24rem); margin: 0; }
.place:nth-child(3n+2) { width: clamp(16rem, calc((100vh - 31rem) * 1.3), 36rem); }
.place__img { overflow: hidden; border-radius: var(--radius); background: var(--cb-deep); }
.place__img img { width: 100%; height: min(calc(100vh - 33.5rem), 30rem); min-height: 10rem; object-fit: cover; }
@media (max-width: 860px) { .place { width: 78vw !important; } .place__img img { height: auto; aspect-ratio: 4 / 5; } }
.place figcaption { padding-top: .9rem; }
.place__name { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.place__state { font: 700 .875rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin-left: .4rem; }
.section--mist .place__state, .page-light .place__state { color: var(--brass-ink); }
.place__note { margin: .35rem 0 0; font-size: 1rem; color: rgba(255, 255, 255, .88); max-width: 26rem; }
.section--mist .place__note { color: var(--ink-2); }
.place__credit { display: block; margin-top: .35rem; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.section--mist .place__credit { color: #5a6175; }
.no-js .rail, .rail--native { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.rail--native .place { scroll-snap-align: start; }
.rail-section .section { padding-block: clamp(1.25rem, 3vh, 2.5rem) clamp(2rem, 5vh, 4rem); }
.rail-section .section-head { margin-bottom: clamp(1.5rem, 3vh, 2.5rem); }
.rail-hint { font-size: .9375rem; color: rgba(255, 255, 255, .82); margin-top: 1.25rem; }

/* ---------- down payment help ---------- */
.help { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--cb); }
.help__col { padding: 2rem clamp(0rem, 3vw, 2.5rem) 0 0; }
.help__col + .help__col { padding-left: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.help__state { font-family: var(--display); font-weight: 900; font-size: clamp(2.5rem, 5vw, 4rem); line-height: .9; text-transform: uppercase; color: var(--cb); margin-bottom: .3em; }
.help__agency { font-weight: 700; margin-bottom: 1rem; }
.help__col ul { list-style: none; }
.help__col li { padding: .9rem 0; border-top: 1px solid var(--line); }
.help__col li strong { display: block; }
@media (max-width: 760px) { .help { grid-template-columns: 1fr; } .help__col + .help__col { padding-left: 0; border-left: 0; border-top: 3px solid var(--cb); margin-top: 2rem; } }

/* ---------- home value band ---------- */
.value { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--paper); }
.value__img { position: relative; min-height: 34rem; overflow: hidden; }
.value__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.value__panel { padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 5vw, 4.5rem); background: var(--paper); }
@media (max-width: 960px) { .value { grid-template-columns: 1fr; } .value__img { min-height: 22rem; } }

/* ---------- about teaser ---------- */
.meet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.meet__img { align-self: end; margin: 0 0 calc(-1 * clamp(4.5rem, 9vw, 8.5rem)); max-width: 30rem; }
.meet__quote { font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.15; margin-bottom: 1.25rem; }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; } .meet__img { order: 2; margin: 0 auto calc(-1 * clamp(4.5rem, 9vw, 8.5rem)); max-width: 20rem; } }

/* ---------- contact block ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
.contact-block { font-style: normal; }
.contact-block__name, .contact-block__firm { display: block; font: 700 1.25rem/1.2 var(--sans); }
.contact-block dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 1.1rem 0 0; }
.contact-block dt { color: var(--ink-2); }
.section--blue .contact-block dt, .section--deep .contact-block dt { color: rgba(255, 255, 255, .8); }
.contact-block dd { margin: 0; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--cb); color: #fff; isolation: isolate; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; min-height: min(78vh, 46rem); padding-top: clamp(3rem, 7vw, 6rem); }
.page-hero__text { padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.page-hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: .86; margin-bottom: .3em; }
.page-hero__photo { align-self: stretch; position: relative; margin: 0 calc(-1 * var(--gutter)) 0 0; min-height: 22rem; }
.page-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__cut { align-self: end; justify-self: center; max-width: 25rem; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); mix-blend-mode: luminosity; opacity: .28; }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; min-height: 0; }
.page-hero--plain h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero__text { padding-bottom: 0; }
  .page-hero__photo { margin: 0 calc(-1 * var(--gutter)); min-height: 18rem; }
  .page-hero__cut { max-width: 17rem; }
}

/* ---------- steps (real sequences) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 5rem; align-items: start; }
.split__aside { position: sticky; top: 8.5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; } }
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1.25rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-weight: 900; font-size: 3.5rem; line-height: .85; color: var(--cb); }
.steps h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; margin-bottom: .25em; }
.steps p { margin: 0; color: var(--ink-2); }
.step-key { color: var(--ink) !important; padding: .9rem 1rem; background: var(--mist); border-radius: var(--radius); }

/* ---------- payment estimator ---------- */
.estimator { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.result { padding: 2rem; background: var(--cb); color: #fff; border-top: 3px solid var(--brass); }
.result h3 { font: 700 1.125rem var(--sans); text-transform: none; }
.result__total { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .9; color: var(--brass); margin: .5rem 0 .1rem; }
.result__per { color: rgba(255, 255, 255, .88); }
.bar { display: flex; height: .75rem; margin: 1.25rem 0; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; transition: flex-grow .4s var(--ease); }
.c-pi { background: #fff; } .c-tax { background: var(--brass); } .c-ins { background: #7f9ad6; } .c-hoa { background: #2c55b5; }
.breakdown { display: grid; gap: .5rem; margin: 0; }
.breakdown div { display: flex; justify-content: space-between; gap: 1rem; }
.breakdown dt { display: flex; align-items: center; gap: .5rem; }
.breakdown dd { margin: 0; font-weight: 700; }
.swatch { width: .75rem; height: .75rem; border-radius: 2px; }
.estimate-note { margin-top: 1.5rem; font-size: .9375rem; color: var(--ink-2); max-width: 70ch; }
@media (max-width: 960px) { .estimator { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.checklist { list-style: none; }
.checklist li { border-top: 1px solid var(--line); }
.checklist label { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; cursor: pointer; }
.checklist input { width: 1.4rem; height: 1.4rem; margin-top: .15rem; accent-color: var(--cb); flex: none; }
.checklist input:checked + span { color: var(--ink-2); text-decoration: line-through; }
.check-progress { font-weight: 700; color: var(--cb); }

/* ---------- town lists ---------- */
.town-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2.5rem; }
.town-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.town-list__name { display: block; font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1; margin-bottom: .3rem; }
.town-list__note { color: var(--ink-2); font-size: 1rem; }
.area-group + .area-group { margin-top: 4rem; }
.area-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.area-group__head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.25rem, 4.5vw, 3.5rem); color: var(--cb); margin: 0; }
.area-group__head p { margin: 0; color: var(--ink-2); }
.disclaimer { margin-top: 3rem; font-size: .9375rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.1rem 1.25rem 1.1rem 0; border-top: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; color: var(--cb); border-top: 3px solid var(--cb); }
.compare tbody th { font-weight: 700; width: 22%; }
.table-scroll { overflow-x: auto; }
@media (max-width: 720px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: block; border-top: 3px solid var(--cb); padding: .75rem 0; }
  .compare th, .compare td { display: block; border: 0; padding: .4rem 0; width: auto !important; }
  .compare td::before { content: attr(data-label); display: block; font: 700 .875rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brass-ink); }
}

/* ---------- prose / legal ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2rem; margin-top: 2.2em; color: var(--cb); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 700 1.2rem/1.3 var(--sans); margin-top: 1.6em; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--cb-deep); color: #fff; padding-block: 4rem 2.5rem; font-size: .9375rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer-name, .footer-firm { font: 700 1.25rem/1.25 var(--sans); margin: 0; }
.footer-address { font-style: normal; margin-top: 1rem; line-height: 1.75; }
.footer-links ul { list-style: none; display: grid; gap: .5rem; }
.footer-legal { padding-top: 2rem; color: rgba(255, 255, 255, .88); max-width: 62rem; }
.cb-system { font-weight: 700; letter-spacing: .02em; }
.eho { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; margin-top: 1.5rem; }
.eho__mark { display: flex; flex-direction: column; align-items: center; width: 5.5rem; text-align: center; }
.eho__mark svg { width: 2.75rem; }
.eho__words { font: 700 .75rem/1.15 var(--sans); text-transform: uppercase; margin-top: .3rem; }
.eho p { margin: 0; }
.eho--page { padding: 1.5rem; background: var(--mist); border-radius: var(--radius); color: var(--ink); margin-bottom: 2rem; }
.draft-note { margin-top: 2rem; font-weight: 700; color: var(--brass); }

/* ---------- review notes (to-confirm markers) ---------- */
.confirm { display: inline-flex; align-items: baseline; gap: .35rem; background: transparent; color: inherit; padding: 0; }
.confirm__n { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .3rem; font: 700 .75rem/1 var(--sans); color: var(--cb-deep); background: var(--brass); border-radius: 999px; transform: translateY(-.1em); }
.confirm__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notes-on .confirm { padding: .05rem .4rem; background: #fff3c4; color: #3a2a00; border: 1px dashed #8a6a00; border-radius: 3px; }
.notes-on .confirm__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: .875em; }
.notes-toggle { position: fixed; right: .75rem; bottom: .75rem; z-index: 60; min-height: 2.75rem; padding: .6rem 1rem; font: 700 .9375rem var(--sans); color: var(--cb-deep); background: var(--brass); border: 2px solid var(--cb-deep); border-radius: var(--radius); cursor: pointer; }

/* ---------- review page ---------- */
.shots { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.shots a { text-decoration: none; }
.shots figure { margin: 0; }
.shots img { border-radius: var(--radius); }
.shots figcaption { padding-top: .5rem; font-weight: 700; }
.shot-num { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-right: .5rem; color: #fff; background: var(--cb); border-radius: 50%; font-size: .875rem; }
.shot-tag { display: block; font-weight: 400; font-size: .9375rem; color: var(--ink-2); }
.questions { padding-left: 1.5rem; max-width: 50rem; }
.questions li { margin-bottom: 1rem; }
.marker-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.marker-table th, .marker-table td { text-align: left; padding: .6rem .75rem .6rem 0; border-top: 1px solid var(--line); vertical-align: top; }

/* ---------- motion (content is visible unless the motion script runs) ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}
.footer-legal p, .section-head p, .area-group__head p, .prose p, .lede { max-width: 72ch; }

/* ---- CD-00 r1b fixes ---- */
html, body { overflow-x: clip; }
.diptych { overflow-x: clip; }
.cross__out.is-empty .cross__big { display: none; }
.cross__out.is-empty #cross-diff-label { margin-top: 1.25rem; padding-top: 1rem; border-top: 3px solid var(--brass); font-weight: 700; }
.map-figure .town:hover .label, .map-figure .town:focus-visible .label { fill: var(--brass); }
@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; }
  .hero__line { bottom: auto; height: calc(2.2rem + min(19vw, 8.2rem) + .5rem); }
  .hero__copy { order: 1; padding-top: calc(2.2rem + min(19vw, 8.2rem) + 1.25rem); padding-bottom: 1.25rem; background: transparent; }
  .hero__copy::before { display: none; }
  .hero__agent { order: 2; margin: 0 auto; width: min(72vw, 22rem); }
  .hero__text { padding-top: 0; }
  .hero__text h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
}
@media (max-width: 860px) {
  .diptych .side { display: block; min-height: 0; padding: 0 0 2.25rem; background: var(--cb-deep); }
  .diptych .side::before { display: none; }
  .diptych .side__img { position: relative; inset: auto; height: 19rem; margin-bottom: 1.5rem; overflow: hidden; }
  .diptych .side__img img { height: 100%; object-position: center 22%; }
  .diptych .side > :not(.side__img) { margin-left: var(--gutter); margin-right: var(--gutter); }
}

/* compact town card (CD-00 R1): short horizontal card that leaves the rest of the map clickable */
@media (min-width: 961px) {
  .map-card { width: 23rem; display: grid; grid-template-columns: 7rem 1fr; }
  .map-card__img { width: 7rem; height: 100%; min-height: 9rem; }
  .map-card__body { padding: .8rem .9rem .9rem; }
  .map-card__name { font-size: 1.5rem; margin-right: 1.75rem; }
  .map-card__meta { font-size: .75rem; margin-bottom: .4rem; }
  .map-card__note { font-size: .8125rem; line-height: 1.4; margin-bottom: .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .map-card__links a { min-height: 2.25rem; padding: .35rem .65rem; font-size: .8125rem; }
  .map-card__close { width: 1.9rem; height: 1.9rem; font-size: 1.05rem; top: .35rem; right: .35rem; }
}

/* home: down payment help teaser */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 5rem); }
.money__item { padding-top: 1.25rem; border-top: 3px solid var(--brass); }
.money__fig { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: #fff; margin: 0 0 1.25rem; }
.money__prog { font: 700 .9375rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin: 0 0 .5rem; }
.money__item p:last-child { color: rgba(255, 255, 255, .88); max-width: 32rem; margin: 0; }
.money__note { margin: 2rem 0 1.5rem; font-size: .9375rem; color: rgba(255, 255, 255, .82); max-width: 70ch; }
.map-more { margin: 1.25rem 0 0; }
.map-more a { font-weight: 700; color: var(--brass); }
@media (max-width: 760px) { .money { grid-template-columns: 1fr; } }

.money__note { max-width: 75ch; }
@media (min-width: 861px) { .meet { align-items: center; } .meet__img { align-self: end; } }

/* review page: answer form */
.answers { max-width: 50rem; gap: 1.75rem; }
.answer label { display: grid; grid-template-columns: 2.25rem 1fr; align-items: start; font-weight: 500; line-height: 1.45; }
.answer__n { font: 800 1.125rem/1.45 var(--sans); color: var(--brass-ink); }
.answer textarea { width: 100%; min-height: 6rem; font: inherit; padding: .75rem .875rem; border: 1.5px solid #9aa6c2; border-radius: var(--radius); background: #fff; color: inherit; resize: vertical; }
.answer textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--cb); }
.answers__send { position: sticky; bottom: 0; display: grid; gap: .75rem; padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); background: var(--mist); box-shadow: 0 -1px 0 #d5dbe7; }
.answers__send .btn { justify-self: start; }
.answers__send .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.answers .form-status:not(:empty) { background: #fff; border-left: 4px solid var(--brass); }
.answers-in-view .notes-toggle { display: none; }

/* ================= round 2 (patch_r2.py) ================= */
.hero--r2 { --split: 64%; }
.hero--r2 .hero__text { max-width: min(34rem, 52vw); }
.hero--r2 .hero__text h1 { font-size: clamp(2.5rem, 4.4vw, 4.2rem); }
@media (max-width: 1100px) {
  .hero--r2 .hero__agent { margin-top: 2.5rem; width: min(70vw, 21rem); }
  .hero--r2 .hero__text { max-width: none; }
}
.search-band { padding-block: clamp(2.5rem, 5vw, 4rem); }
.search-form { display: grid; grid-template-columns: minmax(14rem, 2fr) repeat(3, minmax(9rem, 1fr)) auto; gap: 1rem 1.25rem; align-items: end; }
.search-form .field { margin: 0; }
.search-form__go .btn { white-space: nowrap; }
@media (max-width: 960px) { .search-form { grid-template-columns: 1fr 1fr; } .search-form__loc, .search-form__go { grid-column: 1 / -1; } .search-form__go .btn { width: 100%; justify-content: center; } }
@media (max-width: 420px) { .search-form { grid-template-columns: 1fr; } }
.search-sec .search-form { margin-bottom: 1.5rem; }
.search-frame { position: relative; border: 1px solid var(--line); background: #fff; }
.search-frame iframe { display: block; width: 100%; height: min(78rem, 85vh); min-height: 38rem; border: 0; }
.search-note { margin-top: .9rem; }
.town-list__note { display: block; }
.town-list__link { display: block; width: fit-content; margin-top: .45rem; font-weight: 500; }
.area-group--solo .area-group__head p { max-width: 40rem; }
.area-group--solo .town-list__link { margin-top: .6rem; }
.contact-block__photo { display: block; width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 18%; margin-bottom: 1rem; }
.about-story { display: grid; grid-template-columns: minmax(14rem, 20rem) minmax(0, 1.3fr) minmax(16rem, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.about-story__img { margin: 0; }
.about-story__img img { display: block; width: 100%; height: auto; }
@media (max-width: 1020px) { .about-story { grid-template-columns: minmax(12rem, 18rem) 1fr; } .about-story > .prose:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .about-story { grid-template-columns: 1fr; } .about-story__img { max-width: 20rem; } }
.help--one { grid-template-columns: 1fr; max-width: 46rem; }
.shot-out__box { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; aspect-ratio: 560 / 695; border: 1px dashed var(--line); color: var(--ink-2); text-align: center; padding: 1rem; }

/* ================= round 2b (patch_r2b.py) ================= */
.page-hero--home h1 { font-size: clamp(2.6rem, 5.2vw, 4.9rem); line-height: .92; }
.page-hero--home .page-hero__photo img, .page-hero .page-hero__photo img { object-position: 50% 22%; }
.path__img--portrait img { aspect-ratio: 1 / 1; object-position: 50% 20%; }
.value__img { margin: 0; }
.value__img--portrait img { object-position: 50% 22%; }
.value__panel { padding-inline-end: max(clamp(1.25rem, 5vw, 4.5rem), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.value--solo { grid-template-columns: 1fr; }
.value--solo .value__panel { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.value--solo .value__panel > * { max-width: 46rem; }
.meet--photo .meet__img { margin: 0; align-self: center; max-width: 26rem; }
.meet--photo .meet__img img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 860px) { .meet--photo .meet__img { order: 0; margin: 0 auto; max-width: 20rem; } }
.search-frame { overflow: hidden; }
.search-frame iframe { margin-top: -60px; height: calc(min(78rem, 85vh) + 60px); min-height: calc(38rem + 60px); }
.help--one { border-top: 3px solid var(--cb); max-width: none; }
.help--one .help__col { padding-right: 0; }
.help--one ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 760px) { .help--one ul { grid-template-columns: 1fr; } }
.fields { align-items: start; }
.field { align-content: start; }
.contact-block dt { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }
.form-fallback { font-size: .9375rem; color: var(--ink-2); margin-top: .5rem; }
.town-list--compact li { padding: .8rem 0; }
.town-list--compact .town-list__name { font-size: 1.35rem; }
