/* ============================================================================
   Homepage, rebuilt 26 Sept 2026: phone first, photographic, local, proof first.
   Tokens come from base.css; the two band colours below follow the same
   light / dark pattern.
   ========================================================================== */
:root { --band: #103947; --band-2: #0c2e3a; --band-line: rgb(255 255 255 / 0.16); --night: #0d1a1f; --office: #103947;
  --focus: var(--accent-ink); --seg-on: var(--paper); --seg-on-ink: var(--heading); }
.pbar, .gap, .night { --focus: var(--gold-1); }

/* (Deep teal since 10 Nov 2026, with base.css's dark tokens: the bands are deeper than the page.) */
:root[data-theme="dark"] { --band: #071519; --band-2: #050f12; --band-line: rgb(255 255 255 / 0.12); --night: #06161b; --seg-on: var(--heading); --seg-on-ink: var(--paper); --office: #3d7a90; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ sections ---- */
.hsec { padding-block: var(--s8); }
.hsec h2 { font: 700 clamp(1.7rem, 1.15rem + 2.3vw, 2.65rem)/1.1 var(--font-display); color: var(--heading); letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
.hsec__head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 46rem; }
.hsec__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 0.8rem/1.2 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.hsec__eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold-line); flex: none; }
.hsec__lede { margin: 0; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); max-width: 40rem; }
.hsec__lede strong { color: var(--heading); }

/* ---------------------------------------------------------------- hero ---- */
.hx { position: relative; background: var(--paper); }
.hx__scene { position: relative; height: clamp(250px, 74vw, 420px); overflow: hidden; isolation: isolate; background: #a9c3d3; }
.hx__layer { position: absolute; inset: -3% -2% 0; will-change: transform; container-type: size; }
/* The photo keeps its proportions in a box that covers its layer, like object-fit: cover,
   so every pin stays on its roof at any size. --fx and --fy choose what stays in view. */
.hx__frame { --ar: 1122 / 622; --fx: 0.5; --fy: 0.5; --w: max(100cqw, calc(100cqh * (var(--ar))));
  position: absolute; width: var(--w); aspect-ratio: var(--ar);
  left: calc((100cqw - var(--w)) * var(--fx)); top: calc((100cqh - var(--w) / (var(--ar))) * var(--fy)); }
.hx__frame picture { display: contents; }
.hx__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx__pins--wide { display: none; }
.hx__pins { position: absolute; inset: 0; pointer-events: none; }
/* A map pin: the tip lands exactly on --x, --y. --k is its depth (1 on the near houses, about 0.45 on
   the far skyline): it scales the pin, its shadow and its drop. */
.hx__pin { --s: 22px; --k: 1; --z: calc(var(--s) * var(--k)); position: absolute; left: var(--x); top: var(--y); width: var(--z); height: var(--z);
  margin: calc(var(--z) * -1.21) 0 0 calc(var(--z) / -2);
  filter: drop-shadow(0 calc(4px * var(--k)) calc(3px * var(--k)) rgb(10 20 24 / 0.45)); }
.hx__pin::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: linear-gradient(135deg, #f9c887, #ec9a45 55%, #c9772f); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.55); }
.hx__pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36%; height: 36%; translate: -50% -50%; border-radius: 50%; background: #fff; }
/* They drop nearest first, each from a height that shrinks with distance, and settle with a small
   bounce. Under reduced motion they're simply there. */
@media (prefers-reduced-motion: no-preference) {
  .hx__pin { opacity: 0; animation: hx-pin 760ms cubic-bezier(0.25, 0.7, 0.35, 1) forwards; animation-delay: calc(450ms + var(--i) * 110ms); }
}
@keyframes hx-pin {
  0% { opacity: 0; translate: 0 calc(-32px * var(--k)); }
  40% { opacity: 1; }
  70% { translate: 0 calc(2.5px * var(--k)); }
  100% { opacity: 1; translate: 0 0; }
}
.hx__chips { position: absolute; inset: auto auto 12px 12px; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; justify-items: start; z-index: 2; pointer-events: none; }
/* The list's box is wider than its cards: taps between them reach the map's pins (the areas page). */
.hx__chips > li { pointer-events: auto; }
/* Proof cards: a gold icon, the figure, what it means. They pop in after the pins, the
   figures count, then they drift very slightly, so the photo feels alive. */
.hx__chip { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px;
  background: rgb(255 255 255 / 0.9); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 14px 30px -14px rgb(8 24 30 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.7); }
.hx__ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, #f6ba6d, #dfa062 55%, #b0713a); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35); }
.hx__ico svg { width: 19px; height: 19px; }
.hx__txt { display: grid; gap: 2px; }
.hx__txt b { font: 700 1.08rem/1.05 var(--font-display); color: #103947; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.hx__txt small { font: 500 0.74rem/1.2 var(--font-text); color: #4a585e; }
@media (max-width: 699px) { .hx__chip:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hx__chip { opacity: 0; animation: hx-pop 700ms cubic-bezier(0.2, 1.3, 0.4, 1) forwards, hx-float 6.5s ease-in-out infinite;
    animation-delay: calc(1100ms + var(--d) * 230ms), calc(2200ms + var(--d) * 900ms); }
}
@keyframes hx-pop { from { opacity: 0; transform: translateY(16px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes hx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (min-width: 700px) {
  .hx__frame { --ar: 1672 / 941; --fy: 0.5; }
  .hx__pins--wide { display: block; }
  .hx__pins--tall { display: none; }
}
/* The wide photo loses its sides between 960 and 1439px: a pin that would be cut waits for the width
   where it shows whole (PINS in src/home.mjs). Tablets see the whole photo, with three pins of their
   own on the left. From 2300px the photo loses its top and bottom instead: it rises a little so the
   tallest roofs keep their pins, and the two lowest pins go. */
.hx__pin--from-tablet { display: none; }
@media (min-width: 700px) and (max-width: 959px) { .hx__pin--from-tablet { display: block; } }
@media (max-width: 1279px) { .hx__pin--from-1280 { display: none; } }
@media (max-width: 1439px) { .hx__pin--from-1440 { display: none; } }
@media (min-width: 2300px) { .hx__frame { --fy: 0.4; } .hx__pin--low { display: none; } }

.hx__content { position: relative; z-index: 2; display: grid; gap: var(--s3); padding-block: var(--s5) var(--s7); }
.hx__eyebrow { margin: 0; font: 600 0.8rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.hx h1 { margin: 0; font: 700 clamp(2.05rem, 1.25rem + 4vw, 3.9rem)/1.04 var(--font-display); letter-spacing: -0.02em; color: var(--heading); text-wrap: balance; }
.hx__sub, .hx__relief { margin: 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.45; color: var(--ink); }
.hx__sub + .hx__relief { margin-top: calc(-1 * var(--s3) + 6px); }
.hx__sub strong { color: var(--heading); }
.hx__form, .addr-box { display: grid; gap: 8px 10px; margin-top: var(--s2); }
.hx__label { grid-column: 1 / -1; font: 600 0.92rem/1.3 var(--font-text); color: var(--ink); }
.hx__form input, .addr-box input { width: 100%; min-height: 56px; padding: 0 16px; border: 1.5px solid var(--field-line); border-radius: 14px; background: var(--paper); color: var(--ink); font: 500 1.02rem var(--font-text); }
.hx__form input::placeholder, .addr-box input::placeholder { color: var(--ink-soft); opacity: 1; }
.hx__form input:focus, .addr-box input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--heading); }
.hx__form .btn, .addr-box .btn { min-height: 56px; width: 100%; font-size: 1.05rem; }
.hx__offer { margin: -4px 0 0; font-size: 0.95rem; line-height: 1.45; color: var(--ink); }
.hx__proof { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.9rem; color: var(--ink-soft); }
.hx__proof span { display: inline-flex; align-items: center; gap: 6px; }
.hx__proof strong { color: var(--ink); }
.hx__tenant { margin: 0; font-size: 0.92rem; }
.hx__tenant a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--heading); font-weight: 600; text-underline-offset: 3px; }
.hx__tenant .ico { width: 16px; height: 16px; }

@media (min-width: 960px) {
  /* The paper stays nearly solid under the whole text column, wherever the column ends, then clears for the photo. */
  .hx { --hx-col: calc(max(var(--gut), (100vw - var(--maxw)) / 2 + var(--gut)) + 35rem);
    min-height: min(860px, calc(100svh - var(--header-h, 68px))); display: grid; align-items: center; }
  .hx::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--paper) 0, color-mix(in oklab, var(--paper) 94%, transparent) calc(var(--hx-col) + 16px), color-mix(in oklab, var(--paper) 45%, transparent) calc(var(--hx-col) + 140px), transparent calc(var(--hx-col) + 300px)); }
  .hx__scene { position: absolute; inset: 0; height: auto; }
  .hx__pin { --s: 30px; }
  .hx__chips { inset: auto 4% 7% auto; justify-items: end; gap: 12px; }
  .hx__chip { padding: 10px 18px 10px 10px; }
  .hx__ico { width: 40px; height: 40px; border-radius: 12px; }
  .hx__ico svg { width: 22px; height: 22px; }
  .hx__txt b { font-size: 1.3rem; }
  .hx__txt small { font-size: 0.8rem; }
  .hx__content { padding-block: var(--s9); }
  .hx__content > * { max-width: 35rem; }
  .hx__form { grid-template-columns: 1fr auto; max-width: 35rem; }
  .hx__form .btn { width: auto; }
}
/* In dark mode the photo (not the pins) is dimmed a little, so it sits with the dark page instead of glaring. */
:root[data-theme="dark"] .hx__img { filter: brightness(0.84); }

/* ----------------------------------------------------------- proof bar ---- */
.pbar { background: var(--band); color: #fff; }
.pbar__list { margin: 0; padding: var(--s6) 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.pbar__item { display: grid; gap: 4px; align-content: start; }
.pbar__n { margin: 0; font: 700 min(2.6rem, 7.4vw - 5px)/1 var(--font-display); color: var(--gold-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pbar__label { margin: 4px 0 0; font-size: 0.95rem; line-height: 1.35; color: #fff; }
.pbar__basis { margin: 0; font-size: 0.8rem; line-height: 1.35; color: rgb(255 255 255 / 0.76); }
@media (min-width: 900px) { .pbar__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); } .pbar__n { font-size: min(2.4rem, 3.7vw - 6px); } }
/* Each figure is also capped by its own column (the chief of staff, 26 Oct 2026: "Under 2 hrs" ran 2 to 3px past its column
   at 360 to 390px, and further with larger text on a computer or with the Dyslexia-friendly spacing). The longest figure,
   "Under 2 hrs", is a little over 6.15 times its size wide, plus what that spacing adds to it (--pbar-sp, from the body's
   text size), so (the column, less the spacing) / 6.25 always fits. Every figure in a band takes the same cap, so they stay
   one size; it's under the old size only where a column is narrow for "Under 2 hrs" (the Story line band's at 320 to
   430px, by up to 5%; larger text on a computer; the spacing). One rule for every band and proof bar (the homepage,
   /owners/, /areas/, the town pages and the rest). */
@supports (width: 1cqi) {
  .pbar__item { container-type: inline-size; }
  .pbar__n { font-size: min(2.6rem, 7.4vw - 5px, (100cqi - var(--pbar-sp, 0px)) / 6.25); }
  @media (min-width: 900px) { .pbar__n { font-size: min(2.4rem, 3.7vw - 6px, (100cqi - var(--pbar-sp, 0px)) / 6.25); } }
  html.a11y-spacing .pbar__n { --pbar-sp: 0.95rem; }
}
/* (The record band no longer turns: all eight figures stand at once, grouped, since 12 Nov 2026; web/home/lift.css.) */

/* -------------------------------------------------------- segmented ui ---- */
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 18px; background: var(--paper-3); }
.seg__btn, .seg__opt > span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: 14px; background: transparent; color: var(--ink);
  font: 600 0.95rem/1.1 var(--font-text); text-align: center; cursor: pointer; }
.seg__btn[aria-selected="true"], .seg__opt input:checked + span { background: var(--seg-on); color: var(--seg-on-ink); box-shadow: var(--e1); }
.seg__btn:focus-visible, .seg__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.seg__opt { position: relative; display: flex; }
.seg__opt > span { width: 100%; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg--inline { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
.seg--dark { background: rgb(255 255 255 / 0.1); }
.seg--dark .seg__opt > span { color: #fff; }
.seg--dark .seg__opt input:checked + span { background: #fff; color: #103947; }
@media (min-width: 560px) { .price .seg { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 999px; } .price .seg__btn { border-radius: 999px; } }

/* --------------------------------------------------------------- price ---- */
.price__head { display: grid; gap: var(--s3); }
.price__head h2 { font: 700 clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem)/1.12 var(--font-display); color: var(--heading); letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
.price__box { position: relative; z-index: 2; display: grid; gap: var(--s5); max-width: 760px; padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e2); }
.price__panel { display: grid; gap: var(--s3); }
.price__fee { margin: 0; font-size: 1.05rem; color: var(--ink-soft); }
.price__fee strong { font: 700 clamp(2.6rem, 2rem + 2.4vw, 3.4rem)/1 var(--font-display); color: var(--heading); margin-right: 4px; }
.price__note, .price__place { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
/* The visitor's town under the price (homepage only; home.js writes it): its condo rents, or its page. */
.price__local { position: relative; margin: 0; padding: 10px 14px 10px 17px; border-radius: var(--r-md); background: var(--paper-2); font-size: 0.92rem; line-height: 1.5; color: var(--ink); }
.price__local::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--gold-line); }
.price__local strong { color: var(--heading); font-variant-numeric: tabular-nums; }
.price__pct { margin: 0; font-size: 0.97rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__switch { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.price__local a { font-weight: 600; color: var(--heading); text-underline-offset: 3px; }
.price__local .ico { display: inline-block; width: 16px; height: 16px; margin-left: 5px; vertical-align: -3px; color: var(--accent-ink); }
.price__end { white-space: nowrap; }
.price__incl { margin: var(--s2) 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
.price__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.price__why { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.price__why strong { color: var(--heading); }
.price__match { display: flex; align-items: center; gap: var(--s4); padding-top: var(--s4); border-top: 1px dashed var(--border-strong); }
.price__match p { margin: 0; font-size: 0.95rem; }
/* What you can hold us to, from the promises band (the restructure, 29 Sept 2026). */
.price__match { align-items: flex-start; flex-wrap: wrap; }
.price__holds { flex: 1 1 16rem; display: grid; gap: 6px; min-width: 0; }
.price__holds-k { margin: 0; font: 700 0.76rem/1.2 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.price__holds ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.price__holds li { font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.price__holds strong { color: var(--heading); }
/* The Price Match sticker (priceMatchBadge in components.mjs). */
.pm-badge { flex: none; display: block; width: 104px; height: auto; filter: drop-shadow(0 6px 10px rgb(16 57 71 / 0.25)); }
.price__match .pm-badge { rotate: -6deg; }
@media (min-width: 720px) { .price__incl { grid-template-columns: 1fr 1fr; } }


/* ------------------------------------------------------ the 10-year gap ---- */
.gap { background: var(--band); color: #fff; }
.gap h2 { color: #fff; }
.gap .hsec__eyebrow { color: rgb(255 255 255 / 0.8); }
.gap__lede { margin: 0; font-size: var(--fs-lede); line-height: 1.5; color: rgb(255 255 255 / 0.88); max-width: 40rem; }
.gap__tool { display: grid; gap: var(--s4); }
.gap__tool > * { min-width: 0; }   /* it shrinks with a narrow phone at the larger text settings (the checker, 22 Oct 2026) */
.gap__inputs { display: grid; gap: var(--s5); align-content: start; padding: var(--s5); border: 1px solid var(--band-line); border-radius: var(--r-lg); background: rgb(255 255 255 / 0.06); }
.gap__field { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gap__field legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; }
.gap__field legend, .gap__row label { font: 600 0.92rem/1.3 var(--font-text); color: rgb(255 255 255 / 0.9); }
.gap__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.gap__row output { font: 700 clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
/* The slider: a gold fill up to the value (--v, set by script and in the HTML). */
.gap__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.gap__range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-1) var(--v, 30%), rgb(255 255 255 / 0.2) var(--v, 30%)); }
.gap__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 3px solid var(--gold-1); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgb(0 0 0 / 0.35); }
.gap__range::-moz-range-track { height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.2); }
.gap__range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--gold-1); }
.gap__range::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid var(--gold-1); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgb(0 0 0 / 0.35); }
.gap__range:focus-visible { outline: none; }
.gap__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgb(246 186 109 / 0.55); }
.gap__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgb(246 186 109 / 0.55); }
.gap__ends { display: flex; justify-content: space-between; margin-top: -6px; font-size: 0.8rem; color: rgb(255 255 255 / 0.72); }
.gap__pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: rgb(0 0 0 / 0.2); }
.gap__pills--2 { grid-template-columns: 1fr 1fr; }
.gap__pill { position: relative; display: flex; }
.gap__pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gap__pill span { flex: 1; display: grid; place-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px; font: 600 0.95rem var(--font-text); color: rgb(255 255 255 / 0.92); text-align: center; transition: background-color 160ms, color 160ms; }
.gap__pill input:checked + span { background: #fff; color: #103947; box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); }
.gap__pill input:focus-visible + span { outline: 3px solid var(--gold-1); outline-offset: 1px; }
/* The answer: one number, the two totals, and the ten years drawn out. */
.gap__out { display: grid; gap: 8px; align-content: start; padding: var(--s5); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.6); }
.gap__keep-label { margin: 0; font: 600 0.95rem var(--font-text); color: var(--ink-soft); }
.gap__keep { margin: 0; font: 700 clamp(2.5rem, 1.9rem + 2.6vw, 3.7rem)/1 var(--font-display); color: var(--heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gap__vs { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.92rem; color: var(--ink-soft); }
.gap__vs > span { display: inline-flex; align-items: center; gap: 7px; }
.gap__vs strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.gap__k { width: 16px; height: 4px; border-radius: 2px; }
.gap__k--them { background: #8a9ca3; }
.gap__k--us { background: var(--gold-2); }
.gap__chart { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.gap__base { stroke: var(--border-strong); stroke-width: 1; }
.gap__years text { font: 500 12px var(--font-text); fill: var(--ink-soft); }
.gap__bar { fill: color-mix(in oklab, #8a9ca3 62%, var(--paper)); }
.gap__over { fill: color-mix(in oklab, var(--gold-1) 70%, var(--paper)); }
.gap__val { font: 700 13px var(--font-text); fill: var(--ink); font-variant-numeric: tabular-nums; }
.gap__flat { fill: var(--gold-mid); }
.gap__flatk { font: 700 13px var(--font-text); fill: var(--heading); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .gap__bar, .gap__over { transition: y 380ms var(--ease), height 380ms var(--ease); } .gap__flat, .gap__val, .gap__flatk { transition: y 380ms var(--ease); } }
@media (max-width: 699px) { .gap__val, .gap__flatk { font-size: 21px; } .gap__years text { font-size: 19px; } .gap__flatk { stroke-width: 7px; } }
.gap__keep-label::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; background: color-mix(in oklab, var(--gold-1) 70%, var(--paper)); }
.gap__pills--kinds { grid-template-columns: 1fr 1fr; }
.gap__pills--kinds .gap__pill:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gap__fee { margin: 10px 0 0; font-size: 0.92rem; color: rgb(255 255 255 / 0.82); }
.gap__fee strong { color: #fff; }
.gap__out .btn { justify-self: start; margin-top: 8px; }
.gap__fine { margin: var(--s4) 0 0; max-width: 60rem; font-size: 0.82rem; line-height: 1.45; color: rgb(255 255 255 / 0.76); }
.gap__fine a { color: #fff; }
@media (min-width: 960px) { .gap__tool { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s6); align-items: start; } }

/* -------------------------------------------------------- how it works ---- */
.how .seg--inline { margin-bottom: var(--s5); }
/* Numbered steps: a line joins them; they rise in once, one after another. */
.flow { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s4); }
.flow__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.flow__n { grid-row: span 3; position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-line); color: #1c2326; font: 700 1.05rem/1 var(--font-display); box-shadow: 0 0 0 5px var(--paper-2); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: calc(var(--s4) * -1); width: 2px; background: var(--border-strong); }
.flow__when { margin: 11px 0 2px; font: 700 0.78rem/1.2 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
/* Four across, a label can take two lines ("By the 10th, every month", or any label at the larger text settings),
   so each takes two, and the step titles stay level (the checker, 22 Oct 2026). */
@media (min-width: 900px) { .flow__when { min-height: 2.4em; } }
.flow__step h3 { margin: 0; font: 700 1.12rem/1.3 var(--font-display); color: var(--heading); }
.flow__step h3 + p { margin: 4px 0 0; padding-bottom: 4px; color: var(--ink); max-width: 34rem; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
  /* align-content: start, so a short card's text doesn't float down when its row is taller (the panel, 29 Sept 2026). */
  .flow__step { grid-template-columns: 1fr; align-content: start; padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
  .flow__n { grid-row: auto; margin-bottom: 4px; box-shadow: none; }
  .flow__step:not(:last-child)::after { left: calc(100% + 1px); top: calc(var(--s5) + 21px); bottom: auto; width: calc(var(--s5) - 2px); height: 2px; }
  .flow__when { margin-top: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .flow__step { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); transition-delay: calc(var(--i) * 130ms); }
  .js .flow.is-in .flow__step { opacity: 1; transform: none; }
}

/* ----------------------------------------------------- the 2 a.m. test ---- */
/* Side by side (design A, 30 Sept 2026; src/home.mjs night()). Phones, below 700px: the photo as a
   short strip with the heading over its foot, the situations as a 2x2 grid of tiles, a big switch on
   top of one phone (swiping the phone switches too), its outcome, the stats, the estimate button.
   From 700px: the photo behind the heading and the tabs, both phones side by side under the tabs,
   "On your own" on the left, "With Solved" on the right, each labelled above and with its outcome
   below, then the stats as a row of three and the estimate button. */
.night { position: relative; padding-block: 0 var(--s7); background: var(--night); color: #fff; overflow: clip; }
/* The photo sits behind the heading (and, from 700px, the tabs), and fades into the night below. */
.night__photo { position: absolute; inset: 0 0 auto; height: clamp(210px, 62vw, 300px); overflow: hidden; background: var(--night); }
.night__photo picture { display: contents; }
/* One photo per situation, stacked: the picked one shows, and a pick cross-fades to the next. */
.night__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 20%); opacity: 0; transition: opacity 480ms var(--ease); }
.night__photo .is-on img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .night__photo img { transition: none; } }
.a11y-still .night__photo img { transition: none; }
.night__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(13 26 31 / 0.55) 0%, rgb(13 26 31 / 0.1) 75%), linear-gradient(180deg, rgb(13 26 31 / 0.05) 0%, rgb(13 26 31 / 0.35) 32%, rgb(13 26 31 / 0.82) 62%, var(--night) 100%); }
.night__grid { position: relative; display: grid; gap: 18px; padding-top: clamp(40px, 11vw, 96px); }
.night h2 { color: #fff; }
.night .hsec__eyebrow { color: rgb(255 255 255 / 0.84); }
.night .hsec__lede { color: rgb(255 255 255 / 0.9); }
.night__head { display: grid; gap: var(--s3); }
/* A control's label says what it does, in the band's small capitals. */
.night__cap { margin: 0; font: 700 0.78rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 0.8); }

/* The situations: tabs with an icon (site.js runs them: click, and the left and right arrows). */
.night__pick { display: grid; gap: 8px; }
.night__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.night__tab { display: flex; align-items: center; gap: 10px; min-height: 54px; margin: 0; padding: 10px 12px; border: 1.5px solid rgb(255 255 255 / 0.3); border-radius: 14px;
  background: rgb(255 255 255 / 0.07); color: #fff; font: 600 0.9rem/1.25 var(--font-text); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms, border-color 160ms, color 160ms, transform 140ms var(--ease); }
.night__tab-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(255 255 255 / 0.1); color: var(--gold-1); transition: background-color 160ms; }
.night__tab-ico svg { width: 20px; height: 20px; }
/* Hover only where a pointer hovers, and never on the picked tab (it stays white). */
@media (hover: hover) { .night__tab:not([aria-selected="true"]):hover { border-color: rgb(255 255 255 / 0.55); background: rgb(255 255 255 / 0.12); } }
.night__tab:active { transform: scale(0.97); }
.night__tab[aria-selected="true"] { border-color: #fff; background: #fff; color: #103947; }
.night__tab[aria-selected="true"] .night__tab-ico { background: #103947; }
.night__tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .night__tab { transition: none; } .night__tab:active { transform: none; } }
.a11y-still .night__tab { transition: none; }
.a11y-still .night__tab:active { transform: none; }

/* Who takes the call: a big switch on top of the phone, on phones only. */
.night__stage { display: grid; gap: var(--s4); justify-items: center; }
.night__who { width: min(100%, 360px); display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 8px 12px; }
.night__switch { grid-column: 1 / -1; padding: 5px; border-radius: 18px; background: rgb(255 255 255 / 0.12); }
.night .night__switch .seg__opt > span { min-height: 50px; font: 700 1rem/1.1 var(--font-text); color: #fff; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.night .night__switch .seg__opt input:checked + span { background: #fff; color: #103947; box-shadow: 0 2px 10px rgb(0 0 0 / 0.25); }
.night__switch .seg__opt:not(:has(input:checked)):hover > span { background: rgb(255 255 255 / 0.08); }
.night__swipe { grid-row: 1; grid-column: 2; display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.8rem; color: rgb(255 255 255 / 0.75); }
.night__swipe svg { width: 18px; height: 18px; color: var(--gold-1); }

.night__panel { width: 100%; display: grid; justify-items: center; gap: var(--s4); }
.night__example { margin: 0; font: 600 0.8rem/1.2 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; color: rgb(255 255 255 / 0.8); }
.night__duo { width: 100%; display: grid; justify-items: center; gap: var(--s5); }
.night__side { width: 100%; display: grid; justify-items: center; align-content: start; gap: 12px; }
.night__label { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 0.9rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 0.86); }
.night__label::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / 0.45); }
.night__side--us .night__label { color: #fff; }
.night__side--us .night__label::before { background: var(--gold-line); }
.night__outcome { max-width: 340px; margin: 0; font-size: 0.95rem; line-height: 1.45; text-align: center; color: rgb(255 255 255 / 0.86); text-wrap: balance; }
.night__side--us .night__outcome { color: #fff; font-weight: 600; }
.night__tick { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; vertical-align: -4px; border-radius: 50%; background: var(--gold-1); color: #282f32; }
.night__tick svg { width: 13px; height: 13px; }
/* The prompt when a story ends (from design B): "Next: No heat in January", and on phones first "See it
   on your own". Its room is kept while a story plays, so nothing moves when it comes; it fades in (and
   rises 6px, with motion), and presses in on a tap. The phones it hands the focus to show a gold ring
   from the keyboard. */
.night__next { display: grid; justify-items: center; width: 100%; min-height: 52px; }
.night__prompt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 8px 18px 8px 22px; border: 0; border-radius: 999px; background: #fff; color: #103947;
  font: 700 0.97rem/1.2 var(--font-text); text-align: left; cursor: pointer; box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.9); -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity 200ms var(--ease), translate 200ms var(--ease), scale 140ms var(--ease), visibility 0s linear 200ms; }
.night__prompt .ico { width: 18px; height: 18px; flex: none; color: var(--gold-2); }
@media (hover: hover) { .night__prompt:hover { background: #eaf1f3; } }
.night__prompt:active { scale: 0.97; }
.night__prompt:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.night__next.is-ready .night__prompt { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 360ms var(--ease), translate 360ms var(--ease), scale 140ms var(--ease), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .night__prompt, .night__next.is-ready .night__prompt { translate: none; scale: none; } }
.a11y-still .night__prompt, .a11y-still .night__next.is-ready .night__prompt { translate: none; scale: none; }
.night__duo:focus { outline: none; }
.night__duo:focus-visible { outline: 3px solid var(--focus); outline-offset: 10px; border-radius: 30px; }
.night__guar { max-width: 560px; margin: 0; padding: 12px 14px; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 14px; background: rgb(255 255 255 / 0.07); font-size: 0.88rem; line-height: 1.45; color: rgb(255 255 255 / 0.88); }
.night__guar strong { color: #fff; }
.night__guar a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 600; }
.night__guar a svg { width: 14px; height: 14px; color: var(--gold-1); }

/* The stats: a row of three, big figure and short label; stacked on narrow phones. */
.night__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--r-md); background: rgb(255 255 255 / 0.05); }
.night__stats li { display: grid; align-content: start; gap: 4px; padding: 14px 16px 16px; }
.night__stats li + li { border-left: 1px solid rgb(255 255 255 / 0.14); }
.night__stats strong { font: 700 clamp(1.1rem, 0.85rem + 1.1vw, 1.7rem)/1.1 var(--font-display); letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
.night__stats span { font-size: 0.84rem; line-height: 1.4; color: rgb(255 255 255 / 0.8); text-wrap: pretty; }
@media (max-width: 559px) {
  .night__stats { grid-template-columns: 1fr; }
  .night__stats li { grid-template-columns: 7.4rem minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 12px 14px; }
  .night__stats li + li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
  .night__stats strong { font-size: 1.12rem; }
}
.night__end { display: grid; gap: var(--s3); }
.night__end .sec-cta { margin-top: 0; }
.night__note { margin: 0; font-size: 0.85rem; color: rgb(255 255 255 / 0.76); }

/* The phone: an iPhone showing an iMessage thread, in the phone's own light or dark look. It stands
   whole, and a sideways swipe on it (on phones) switches the view; up and down still scroll the page.
   Our messages are a deeper blue than iMessage's, so their white text passes AA (4.8:1; iMessage's #0b84fe
   gave 3.65:1, the defects pre-check, 22 Oct 2026). */
.phone { --im-bg: #fff; --im-in: #e9e9eb; --im-in-ink: #000; --im-out: #0070e0; --im-meta: #6e6e73; --im-line: #e5e5ea;
  position: relative; width: min(100%, 360px); height: clamp(480px, 64svh, 580px); padding: 12px; border-radius: 54px; background: #151b1e;
  box-shadow: inset 0 0 0 2px #2c3438, 0 30px 60px -20px rgb(0 0 0 / 0.75); touch-action: pan-y; }
:root[data-theme="dark"] .phone { --im-bg: #000; --im-in: #26252a; --im-in-ink: #fff; --im-out: #0070e0; --im-meta: #8d8d93; --im-line: #2c2c2e; }

.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; translate: -50% 0; border-radius: 20px; background: #000; z-index: 2; }
.phone::after { content: ""; position: absolute; left: 50%; bottom: 20px; width: 36%; height: 5px; translate: -50% 0; border-radius: 3px; background: var(--im-in-ink); z-index: 2; pointer-events: none; }
.im { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; border-radius: 42px; overflow: hidden; background: var(--im-bg);
  font-family: var(--font-text); letter-spacing: -0.01em; }
.phone__view { height: 100%; }
.im__top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: end; padding: 50px 12px 8px; border-bottom: 1px solid var(--im-line);
  background: color-mix(in oklab, var(--im-bg) 92%, var(--im-line)); }
.im__back { width: 11px; height: 11px; margin: 0 0 18px 8px; border: solid var(--im-out); border-width: 0 0 2.5px 2.5px; rotate: 45deg; }
.im__who { display: grid; justify-items: center; gap: 3px; }
.im__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #a8adb7, #858a94); color: #fff; }
.im__av svg { width: 26px; height: 26px; fill: #fff; stroke: #fff; stroke-width: 0; }
.im__av svg path { fill: #fff; }
.im__av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.im__av--solved { background: #fff; box-shadow: inset 0 0 0 1px var(--im-line); }
.im__av--solved img { width: 78%; height: 78%; border-radius: 0; object-fit: contain; }
.im__av--pic { background: #c9ced6; }
.im__name { font-size: 0.72rem; color: var(--im-in-ink); }
/* The thread fills from the top, under the phone's header. Once it's longer than the screen, the
   newest message stays in view and older ones leave at the top, as on a phone. Shown whole (no script,
   reduced motion, Stop animations), a spacer at the end takes the room while there is some, and when
   there's none the thread sits at the bottom. While it plays (home.js), it starts at the top and scrolls
   to its newest line as each one comes in: a scroll isn't a layout shift, where the spacer, moving down
   with every message, was (the critic, 30 Sept 2026: 0.023 a play). */
.im__thread { margin: 0; padding: 6px 12px 34px; list-style: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; overflow: hidden; }
.im__thread::after { content: ""; flex: 1 0 0; }
.js-night .im__thread { justify-content: flex-start; scroll-behavior: smooth; }
.js-night .im__thread::after { content: none; }
.im__time { margin: 10px 0 4px; text-align: center; font-size: 0.68rem; font-weight: 600; color: var(--im-meta); }
.im__time:first-child { margin-top: 4px; }
.im__msg { display: flex; }
.im__msg p { position: relative; max-width: 78%; margin: 0; padding: 7px 12px 8px; border-radius: 18px; font-size: 0.86rem; line-height: 1.32; }
.im__msg--in p { background: var(--im-in); color: var(--im-in-ink); }
.im__msg--out { justify-content: flex-end; }
.im__msg--out p { background: var(--im-out); color: #fff; }
.im__msg.is-tail { margin-bottom: 6px; }
/* The bubble tail: a curl in the bubble's colour, trimmed by a shape in the screen's colour. */
.im__msg.is-tail p::before, .im__msg.is-tail p::after { content: ""; position: absolute; bottom: 0; height: 18px; }
.im__msg--out.is-tail p::before { right: -7px; width: 18px; background: var(--im-out); border-bottom-left-radius: 15px 14px; }
.im__msg--out.is-tail p::after { right: -24px; width: 24px; background: var(--im-bg); border-bottom-left-radius: 10px; }
.im__msg--in.is-tail p::before { left: -7px; width: 18px; background: var(--im-in); border-bottom-right-radius: 15px 14px; }
.im__msg--in.is-tail p::after { left: -24px; width: 24px; background: var(--im-bg); border-bottom-right-radius: 10px; }
.im__receipt { align-self: flex-end; margin: -2px 4px 0 0; font-size: 0.66rem; font-weight: 600; color: var(--im-meta); }
.im__typing { display: none; align-self: flex-start; gap: 4px; padding: 11px 13px; border-radius: 18px; background: var(--im-in); }
.im__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--im-meta); animation: im-dot 1s infinite ease-in-out; }
.im__typing span:nth-child(2) { animation-delay: 0.15s; } .im__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes im-dot { 0%, 60%, 100% { opacity: 0.35; translate: 0 0; } 30% { opacity: 1; translate: 0 -2px; } }
/* With script, the thread plays out: messages arrive one by one, with typing dots before theirs. */
.js-night .im__thread > li { display: none; }
.js-night .im__thread > li.is-shown { display: flex; animation: im-in 260ms var(--ease) both; }
.js-night .im__thread > .im__time.is-shown, .js-night .im__thread > .im__receipt.is-shown { display: block; }
@keyframes im-in { from { opacity: 0; translate: 0 8px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }
/* The lock screen (script only): a phone whose thread hasn't started yet rests on it, showing the time
   on the one clock, so "With Solved" stays quiet through the night until its one message. It fades. */
.im__lock { position: absolute; inset: 12px; z-index: 1; display: grid; align-content: start; justify-items: center; gap: 4px; padding-top: 78px; border-radius: 42px;
  background: radial-gradient(130% 75% at 50% 0%, #2f4b6c 0%, #162539 58%, #0a111b 100%); color: #fff; font-family: var(--font-text);
  opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; pointer-events: none; }
.js-night .is-locked .im__lock { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease); }
.night__side.is-instant .im__lock { transition: none; }
/* Where the tabs name the situation, its "Example:" line is for screen readers; without script, when the
   four situations stack, it names each one (the checker, 4 Oct 2026). */
.js .night__example.is-named { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.im__lock-moon { display: none; width: 22px; height: 22px; margin-bottom: 4px; color: #f6d9a8; }
.is-night .im__lock-moon { display: block; }
.im__lock-date { min-height: 1.2em; font: 600 0.95rem/1.2 var(--font-text); color: rgb(255 255 255 / 0.86); }
.im__lock-time { display: flex; align-items: baseline; gap: 5px; font: 600 clamp(3.4rem, 2.8rem + 2vw, 4.3rem)/1 var(--font-text); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.im__lock-time small { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: rgb(255 255 255 / 0.86); }
/* A view that comes in by the switch or a swipe fades in (and, with motion, slides a little from the side it came from). */
.night__side.is-in { animation: night-fade 240ms var(--ease) both; }
.night__side.is-in-l { animation: night-from-l 280ms var(--ease) both; }
.night__side.is-in-r { animation: night-from-r 280ms var(--ease) both; }
.night__side.is-nudge .phone { animation: night-nudge 320ms var(--ease); }
@keyframes night-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes night-from-l { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes night-from-r { from { opacity: 0; translate: 18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes night-nudge { 30% { translate: 10px 0; } 60% { translate: -6px 0; } }
@media (prefers-reduced-motion: reduce) { .night__side.is-in-l, .night__side.is-in-r { animation-name: night-fade; } .night__side.is-nudge .phone { animation: none; } }
.a11y-still .night__side.is-in-l, .a11y-still .night__side.is-in-r { animation-name: night-fade; }
.a11y-still .night__side.is-nudge .phone { animation: none; }
/* On the homepage the comparison's dark band follows (27 Sept 2026), so the torn edge is the band's
   colour, not paper's: the paper tile only shapes it. */
.night:has(+ .compare)::after { background: var(--band); -webkit-mask: var(--tear-paper) repeat-x 0 100% / 900px 14px; mask: var(--tear-paper) repeat-x 0 100% / 900px 14px; }

/* Phones: one phone at a time, the one the switch (or a swipe) picks; its label is read, not shown.
   The CSS follows the radios, so the switch works without script too. Everything above the phone is
   kept tight, so the phone comes up into the first screen when the band arrives: its header and first
   message at 390x844, its top at 320x640 (the critic, 30 Sept 2026: the phone started at 516 and 562). */
@media (max-width: 699px) {
  .night__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .night__stage:has(input[value="us"]:checked) .night__side--you,
  .night__stage:has(input[value="you"]:checked) .night__side--us { display: none; }
  .night__grid { gap: 14px; padding-top: clamp(18px, 5vw, 32px); }
  .night__head { gap: 8px; }
  .night__tab { min-height: 48px; padding-block: 6px; }
  .night__tab-ico { width: 30px; height: 30px; border-radius: 9px; }
  .night__stage { gap: 10px; }
  .night__who { row-gap: 6px; }
  .night .night__switch { padding: 4px; border-radius: 16px; }
  .night .night__switch .seg__opt > span { min-height: 44px; border-radius: 12px; }
}
/* The smallest phones: each situation on two lines at most, and "Who takes the call?" on one line
   beside its hint. Up to 369px, so the most common Android width, 360, is one of them (the checker,
   4 Oct 2026: there a tile took three lines and the label two, and the phone came up 54px lower). */
@media (max-width: 369px) {
  .night__tab { gap: 6px; padding-inline: 8px; font-size: 0.85rem; }
  .night__tab-ico { width: 26px; height: 26px; }
  .night__tab-ico svg { width: 18px; height: 18px; }
  .night__cap { font-size: 0.74rem; letter-spacing: 0.06em; }
  .night__who { column-gap: 8px; }
  .night__swipe { gap: 4px; font-size: 0.72rem; }
  .night__swipe svg { width: 16px; height: 16px; }
}

/* From 700px: both phones side by side, under the tabs; the photo behind the heading and the tabs. */
@media (min-width: 700px) {
  .night { padding-bottom: var(--s8); }
  .night__photo { height: min(560px, 70svh); }
  .night__photo::after { background: linear-gradient(90deg, rgb(13 26 31 / 0.9) 0%, rgb(13 26 31 / 0.66) 36%, rgb(13 26 31 / 0.2) 70%, rgb(13 26 31 / 0.34) 100%),
    linear-gradient(180deg, rgb(13 26 31 / 0.2) 0%, rgb(13 26 31 / 0) 22%, rgb(13 26 31 / 0.6) 64%, var(--night) 100%); }
  .night__grid { padding-top: clamp(24px, 2.4vw, 34px); }
  .night__side { gap: 10px; }
  .night__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .night__tab { background: rgb(13 26 31 / 0.45); }
  .night__who { display: none; }
  .night__duo { width: fit-content; max-width: 100%; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; align-items: start; gap: var(--s5) clamp(24px, 4vw, 64px); }
  .phone { height: clamp(440px, calc(100svh - 420px), 560px); }
  .night__end { justify-items: center; text-align: center; }
  .night__end .sec-cta { justify-content: center; }
  .night__stats { width: 100%; max-width: 780px; justify-self: center; }
}
@media (min-width: 1100px) {
  .night__pick { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; }
  .night__pick .night__cap { max-width: 8.5em; }
}
/* Short screens (a 1366x768 laptop, a 1024x768 tablet on its side): less room above the phones, and
   phones as tall as the screen allows, so both whole phones and both outcome lines are in the first
   screen when the band arrives (the critic, 30 Sept 2026: at 1024x768 the phones' feet and the outcomes
   sat under the fold). Up to 860px tall, where the usual phone height takes over without a jump. */
@media (min-width: 700px) and (max-height: 860px) {
  .night__grid { gap: 12px; padding-top: 16px; }
  .night__head { gap: 6px; }
  .night h2 { font-size: clamp(1.6rem, 1rem + 1.7vw, 2.25rem); }
  .night__pick { row-gap: 6px; }
  .night__tab { min-height: 46px; padding-block: 6px; }
  .night__tab-ico { width: 30px; height: 30px; }
  .night__side { gap: 8px; }
  .phone { height: clamp(360px, calc(100svh - var(--header-h) - 300px), 560px); }
}

/* -------------------------------------------------- your rental's year ---- */
.year__top { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
.year__top .hsec__head { margin-bottom: 0; }
.year__photo { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); box-shadow: var(--e2); }
.year__photo picture { display: contents; }
.year__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .year__top { grid-template-columns: minmax(0, 1fr) 460px; align-items: center; gap: var(--s8); } .year__photo { aspect-ratio: 3 / 2; } }
.year__months { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.year__m { flex: none; scroll-snap-align: start; min-width: 58px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--border-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 0.92rem var(--font-text); cursor: pointer; }
.year__m { position: relative; }
.year__m[aria-selected="true"] { background: var(--heading); border-color: var(--heading); color: var(--paper); }
.year__m.is-now::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; translate: -50% 0; border-radius: 50%; background: var(--gold-2); }
.year__m.is-now[aria-selected="true"]::after { background: var(--gold-1); }
.year__m:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.year__panel { margin-top: var(--s4); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.year__panel h3 { margin: 0 0 var(--s3); font: 700 1.3rem/1.2 var(--font-display); color: var(--heading); }
.year__groups { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .year__groups { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.year__group h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 0.78rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--heading); }
.year__mark { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.year__mark svg { width: 15px; height: 15px; }
.year__group--ours .year__mark { background: var(--gold-1); color: #1c2326; }
.year__group--info .year__mark { background: var(--teal-subtle); color: var(--heading); font: italic 700 0.95rem/1 Georgia, serif; }
.year__group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.year__group li { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; line-height: 1.45; color: var(--ink); }
.year__group--ours li { background: color-mix(in oklab, var(--gold-1) 13%, var(--paper)); }
.year__group--info li { background: var(--paper-2); }
.year__group a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: 0.9rem; font-weight: 600; color: var(--heading); text-underline-offset: 3px; }
.year__group a .ico { width: 16px; height: 16px; color: var(--accent-ink); }
.year__every { margin: var(--s4) 0 0; font-size: 0.95rem; color: var(--ink); }

/* ------------------------------------------------ calls to action in sections ---- */
.sec-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: var(--s5); }
.sec-cta__call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--heading); text-decoration: none; }
.sec-cta__call:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-cta__call .ico { width: 18px; height: 18px; color: var(--accent-ink); }
.sec-cta--dark .sec-cta__call { color: #fff; }
.sec-cta--dark .sec-cta__call .ico { color: var(--gold-1); }

/* -------------------------------------------------------------- compare ---- */
/* Design A (Aldo's pick, 24 Oct 2026; lab/premium/redesign): our column lit in a soft gold with gold edges and the gold check,
   other managers a plain grey dot (never a tick or a cross), doing it yourself the person or a dash. From 900px a table whose
   head row holds under the site header while the rows scroll past; under it a card for each row, our answer on a gold band.
   The same markup at every width: a table to screen readers, with its column heads; on phones each part names its column for
   the eye (.cmp__k). --cmp-tint and --cmp-edge are our column's gold, in light and dark. */
:root { --cmp-tint: #fdf4e8; --cmp-edge: #f1d3a8; --cmp-pin: var(--header-h); }
:root[data-theme="dark"] { --cmp-tint: #2d2a22; --cmp-edge: #5a4a32; }
/* Short screens: the header scrolls away (base.css), so the head row holds at the top. */
@media (max-height: 500px) { :root { --cmp-pin: 0px; } }
.compare { background: var(--band); color: #fff; }
.compare h2 { color: #fff; }
.compare .hsec__eyebrow { color: rgb(255 255 255 / 0.8); }
.compare .hsec__lede { color: rgb(255 255 255 / 0.86); }
.cmp { display: grid; gap: var(--s4); }
.cmp__table { position: relative; }
.cmp__body { display: grid; gap: 12px; }
.cmp__row { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.14), 0 14px 26px -18px rgb(0 0 0 / 0.55); }
/* The column heads, for screen readers on phones: each card's parts name their columns for the eye (.cmp__k). */
.cmp__row--head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; box-shadow: none; }
.cmp__label { min-width: 0; font: 700 1.02rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--heading); }
.cmp__when { display: block; margin-top: 4px; font: 600 0.7rem/1.25 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.cmp__cell { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; min-width: 0; font-size: 0.93rem; line-height: 1.45; color: var(--ink); }
.cmp__k { display: block; margin-bottom: 2px; font: 600 0.7rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.cmp__cell--0 { margin-inline: -6px; padding: 10px 12px; border-radius: 12px; background: var(--cmp-tint); font-weight: 600; color: var(--heading); }
.cmp__cell--0 .cmp__k { color: var(--accent-ink); }
.cmp__mark { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; font: normal 700 0.78rem/1 var(--font-text); }
.cmp__mark svg { width: 12px; height: 12px; }
.is-y .cmp__mark { background: var(--teal-subtle); color: var(--heading); }
.cmp__cell--0.is-y .cmp__mark { background: var(--gold-mid); color: #2b1a08; }
.cmp__cell--0.is-a .cmp__mark { background: var(--paper); color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px currentColor; font-size: 0.95rem; }
.is-u .cmp__mark { background: var(--paper-3); color: var(--ink-soft); }
.is-na .cmp__mark { color: var(--ink-soft); }
/* What's common among other managers (23 Oct 2026): a plain dot, never a tick or a cross, so the column grades no one. */
.is-o .cmp__mark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); }
@media (min-width: 900px) {
  .cmp__table { border-radius: var(--r-lg); overflow: clip; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7); }
  .cmp__body { display: block; }
  .cmp__row { grid-template-columns: minmax(0, 0.8fr) repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--border); }
  .cmp__body > .cmp__row:first-child { border-top: 0; }
  .cmp__row > * { padding: 14px 18px; }
  .cmp__label { font: 600 0.95rem/1.45 var(--font-text); letter-spacing: -0.005em; }
  .cmp__k { display: none; }
  .cmp__cell--0 { margin: 0; border-radius: 0; box-shadow: inset 2px 0 0 var(--cmp-edge), inset -2px 0 0 var(--cmp-edge); }
  /* The head row holds under the site header while the rows scroll past (overflow: clip above keeps it free to). */
  .cmp__row--head { position: sticky; top: var(--cmp-pin); z-index: 2; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; border-top: 0; background: var(--paper); }
  .cmp__row--head > * { display: block; padding-block: 16px; border-bottom: 2px solid var(--border-strong); background: var(--paper); }
  .cmp__colh { display: block; font: 700 1rem/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--heading); }
  .cmp__row--head small { display: block; margin-top: 3px; font: 500 0.8rem/1.3 var(--font-text); color: var(--ink-soft); }
  .cmp__row--head > .cmp__cell--0 { background: var(--band-2); box-shadow: none; border-bottom-color: var(--gold-mid); }
  .cmp__row--head > .cmp__cell--0 .cmp__colh { color: #fff; }
  .cmp__row--head > .cmp__cell--0 small { color: var(--gold-1); }
}
/* Under the table: where the middle column comes from. */
.cmp__note { margin: 0; max-width: 78ch; font-size: 0.86rem; line-height: 1.5; color: rgb(255 255 255 / 0.84); }
/* Then the way into every row's question (Aldo's pick, 24 Oct 2026: design 1, a checklist card): the clipboard, three of the
   questions with empty boxes (decoration: the page's own boxes tick), and two buttons. Phones stack it; from 640px the picture
   stands beside the words; from 1100px the buttons take a column of their own. */
.cmp-ask { display: grid; gap: 16px 24px; margin-top: var(--s2); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--cmp-edge); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.cmp-ask > .st-art { --art-s: 84px; }
.cmp-ask__h { margin: 0 0 6px; font: 700 clamp(1.2rem, 1rem + 0.8vw, 1.5rem)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--heading); }
.cmp-ask__text > p { margin: 0; line-height: 1.5; color: var(--ink-soft); }
.cmp-ask__list { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 0.92rem; line-height: 1.4; color: var(--ink); }
.cmp-ask__list li { display: flex; gap: 10px; align-items: flex-start; }
.cmp-ask__list i { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 2px solid var(--border-strong); border-radius: 5px; }
.cmp-ask__acts { display: grid; gap: 10px; align-content: center; }
.cmp-ask__acts .btn { white-space: normal; text-align: center; }
@media (min-width: 640px) {
  .cmp-ask { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .cmp-ask > .st-art { --art-s: 96px; }
  .cmp-ask__acts { grid-column: 2; grid-template-columns: repeat(2, max-content); justify-content: start; }
}
@media (min-width: 1100px) {
  .cmp-ask { grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; }
  .cmp-ask > .st-art { --art-s: 120px; }
  .cmp-ask__acts { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- local ---- */
.local__grid { display: grid; gap: var(--s6); }
.local__text { display: grid; gap: var(--s4); align-content: start; }
.local__areas { display: grid; gap: var(--s4); }
.local__region h3 { margin: 0 0 8px; font: 600 0.78rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.local__region p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.local__region a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 0.9rem; text-decoration: none; }
.local__region a:hover { border-color: var(--heading); color: var(--heading); }
.local__map { order: -1; margin: 0; padding: var(--s3); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
/* The map (Atlas, 13 Oct 2026): a detailed drawing per theme (tools/map-build.mjs, from OpenStreetMap
   data), with pins, offices and names over it. On the homepage a camera (.map__cam) glides in to a town
   or a region; the marks keep their size as it does (each is scaled by --inv around its own point). */
.map { position: relative; aspect-ratio: 1000 / 1220; border-radius: var(--r-md); overflow: hidden; background: var(--atlas-outside); }
.map__cam { position: absolute; inset: 0; transform-origin: 0 0; }
.map__base, .map__over, .map__detail, .map__scales { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__detail, .map__scales { pointer-events: none; }
.map__base--dark, .map__detail--dark { display: none; }
:root[data-theme="dark"] .map__base--light, :root[data-theme="dark"] .map__detail--light { display: none; }
:root[data-theme="dark"] .map__base--dark, :root[data-theme="dark"] .map__detail--dark { display: block; }
/* Collector roads and village names arrive once the camera is close. */
.map__detail { opacity: 0; transition: opacity 400ms; }
.map.is-close .map__detail { opacity: 1; }
.map__places text { font: italic 500 19px var(--font-text); fill: var(--ink-soft); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity 400ms; }
.map.is-close .map__places text { opacity: 1; }
.map__pin, .map__offices > g, .map__labels text, .map__water text, .map__places text { transform-box: view-box; scale: var(--inv, 1); }

.map__water text { font: italic 500 19px var(--font-display); letter-spacing: 0.12em; fill: var(--atlas-lake-ink); }
.map__water .map__water--big { font-size: 30px; letter-spacing: 0.2em; }
.map__pin circle { fill: var(--gold-1); stroke: #fff; stroke-width: 2.5; transition: r 180ms var(--ease), fill 180ms; }
.map__pin .map__hit { fill: transparent; stroke: none; }
/* Interactive: a region or an area lights up its towns; everything else steps back. */
.map__filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.map__filter button { min-height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 0.82rem var(--font-text); cursor: pointer; }
.map__filter button[aria-pressed="true"] { background: var(--heading); border-color: var(--heading); color: var(--paper); }
.map__filter button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* The outline keeps its width on screen as the camera zooms (non-scaling strokes ignore the camera's transform). */
.map__shapes path { fill: transparent; stroke: transparent; stroke-width: calc(2.5px * var(--inv, 1)); stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill 220ms, stroke 220ms; }
.map__shapes path.is-lit { fill: var(--atlas-hl); stroke: #dfa062; }
.map__pin, .map__labels text, .map__office { transition: opacity 220ms; }
.map.has-focus .map__pin:not(.is-lit), .map.has-focus .map__labels text:not(.is-lit), .map.has-focus .map__office:not(.is-lit) { opacity: 0.28; }
.map__pin.is-hot circle:not(.map__hit) { r: 12px; fill: var(--gold-2); }
.map__labels text.is-hot { font-weight: 800; }
/* home.js places the card's corner inside the visible frame; --ax keeps its pointer on the pin. The card is as
   wide as its words wherever it sits (max-content): left to shrink to the room beside it, its width changed
   after home.js had measured it, and on a map wider than the card an edge town's pointer missed its pin. */
.map__tip { position: absolute; z-index: 5; display: grid; gap: 2px; width: max-content; min-width: 190px; max-width: calc(100% - 16px); padding: 10px 12px; border-radius: 12px;
  background: var(--paper); color: var(--ink); box-shadow: var(--e3); border: 1px solid var(--border); pointer-events: auto; }
.map__tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 12px; height: 12px; translate: -50% 0; rotate: 45deg; background: var(--paper); border: solid var(--border); border-width: 0 1px 1px 0; }
.map__tip.is-below::after { bottom: auto; top: -6px; border-width: 1px 0 0 1px; }
.map__tip strong { font: 700 1rem/1.2 var(--font-display); color: var(--heading); }
.map__tip span { font-size: 0.8rem; color: var(--ink-soft); }
.map__tip a { margin-top: 4px; font-size: 0.86rem; font-weight: 600; color: var(--heading); text-underline-offset: 3px; }
/* Back out to every area, once the camera has gone in (Esc does the same). The card sits above it. */
.map__back { position: absolute; z-index: 4; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: color-mix(in oklab, var(--paper) 94%, transparent); color: var(--heading); font: 600 0.82rem var(--font-text); cursor: pointer; box-shadow: var(--e1); }
.map__back:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.map__back.map__back--low { top: auto; bottom: 10px; }
.map.is-zoomed .map__scale { opacity: 0; }
/* Close in, a name that would run off the map's edge is hidden, not cut (home.js trimNames). */
.map__over text.is-cut { visibility: hidden; }
.map__scale { transition: opacity 220ms; }
.local__region { transition: opacity 220ms; }
.local__region.is-dim { opacity: 0.35; }
.local__region a.is-hot, .local__region a:hover { border-color: var(--gold-2); background: color-mix(in oklab, var(--gold-1) 18%, var(--paper)); color: var(--heading); }
.map__pin:hover circle { fill: var(--gold-2); }
.map__pin:focus { outline: none; }
.map__office rect { fill: var(--office); stroke: #fff; stroke-width: 2.5; transition: stroke 180ms; }
/* A town with an office: its pin sits on the marker, dot hidden; the marker answers its hover. */
.map__pin--office circle:not(.map__hit), .map__pin--office:hover .map__hit, .pl-amap__at-office:hover .map__hit { opacity: 0; }
.map__office.is-hot rect { stroke: var(--gold-2); stroke-width: 4; }
.map__office path { fill: #fff; }
.map__office--main rect { stroke: var(--gold-1); stroke-width: 3.5; }
.map__labels text { font: 600 21px var(--font-text); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.map__labels .map__hq { font-weight: 700; fill: var(--heading); }
.map__scale path { fill: none; stroke: var(--ink-soft); stroke-width: 2; }
.map__scale text { font: 600 16px var(--font-text); fill: var(--ink-soft); }
.local__cap { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 4px 0; font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft); }
.local__key { display: inline-flex; align-items: flex-start; gap: 7px; }
.key { flex: none; width: 12px; height: 12px; margin-top: 2px; }
.key--area { border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--border-strong); }
.key--office { border-radius: 3px; background: var(--office); }
.local__credit { flex-basis: 100%; font-size: 0.75rem; }
.local__credit a { color: inherit; }
.map.js-pins .map__pin, .map.js-pins .map__offices g, .map.js-pins .map__labels text { opacity: 0; }
.map.js-pins.is-in .map__pin, .map.js-pins.is-in .map__offices g, .map.js-pins.is-in .map__labels text { animation: map-pin 480ms var(--ease) both; animation-delay: calc(var(--r, 1) * 110ms); }
@keyframes map-pin { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 700px) {
  .map__pin circle { r: 11px; stroke-width: 3.5; }
  .map__pin .map__hit { r: 30px; }
  .map__office rect { stroke-width: 3.5; }
  .map__labels text { font-size: 30px; stroke-width: 8px; }
  .map__labels .map__minor, .map__water text:not(.map__water--big) { display: none; }
  .map.is-close .map__labels .map__minor { display: inline; }
  .map__water .map__water--big { font-size: 34px; }
  .map__places text { font-size: 29px; stroke-width: 6px; }
  .map__scale text { font-size: 22px; }
  .map__scale path { stroke-width: 3; }
}

.placed { display: grid; gap: var(--s3); }
.placed h3 { margin: 0; font: 700 1.1rem var(--font-display); color: var(--heading); }
.placed__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
/* The home and town read as one phrase; "Leased in N days" drops below it when the row is narrow. */
.placed__list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px var(--s3); padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper); }
.placed__what { flex: 1 1 12rem; min-width: 0; }
.placed__days { color: var(--ink-soft); white-space: nowrap; }
.placed__rent { order: 3; flex-basis: 100%; font-size: 0.92rem; color: var(--ink-soft); }
.placed__src { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
/* Owners abroad, said to everyone, and the estimate right under the answer (Aldo's picks, 22 Oct 2026). */
.local__abroad { margin: 0; color: var(--ink-soft); }
.local__abroad .link-arrow { min-height: 0; }
.local__cta { margin-top: var(--s2); }
/* Phones and tablets: "Recently placed" above the map, with its three nearest leases (Aldo's pick, 22 Oct 2026:
   it began under a 622px map). It holds no links, so the keyboard's order is unchanged. */
@media (max-width: 959px) {
  .local__text { display: contents; }
  .local__text > .placed { order: -2; }
  /* The list of areas and its link come before the map too, so the keyboard meets things in the order they
     show (the checker, 22 Oct 2026; WCAG 2.4.3). */
  .local__text > :is(.local__all, .sec-cta) { order: -1; }
  .local__text .placed__list > li:nth-child(n+4) { display: none; }
}
@media (min-width: 960px) { .local__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: var(--s8); } .local__map { order: 0; position: sticky; top: calc(var(--header-h, 68px) + 16px); } }

/* -------------------------------------------------------------- reviews ---- */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s4); max-width: none; }
.reviews__head > div { display: grid; gap: var(--s3); }
.rv__rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: var(--s4); overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rv__rail:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: var(--r-md); }
@media (min-width: 960px) { .rv__rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; } }
.rv__note { margin: var(--s4) 0 0; font-size: 0.88rem; color: var(--ink-soft); }
.rv__note a { color: var(--heading); font-weight: 600; }
.gbadge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--e1); }
.gbadge > strong { font: 700 2.1rem/1 var(--font-display); color: var(--heading); }
.gbadge > span { display: grid; gap: 4px; font-size: 0.85rem; color: var(--ink-soft); }
.gbadge .stars svg { width: 16px; height: 16px; }
.rv { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.rv figcaption { display: grid; gap: 2px; font-size: 0.9rem; }
.rv figcaption strong { color: var(--heading); }
.rv figcaption span { color: var(--ink-soft); }
.rv--tenant { background: var(--teal-subtle); }

/* ------------------------------------------------------------------ faq ---- */
.faqsec__grid { display: grid; gap: var(--s4); }
.faqsec .faq { margin-top: 0; }
@media (min-width: 960px) { .faqsec__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; } }

/* ------------------------------------------------------------- estimate ---- */
.est .hsec__head { margin-bottom: var(--s5); }
.est__sheet { position: relative; z-index: 2; padding: clamp(18px, 4vw, 44px); border: 1px solid var(--border); border-radius: clamp(20px, 3vw, 30px); background: var(--paper); box-shadow: var(--e3); }
.est__sheet .estimate__main.panel { padding: 0; border: 0; background: none; box-shadow: none; }
/* Bridge: after the questions, the sheet rises over the seam. */
.faqsec:has(+ .est) { padding-bottom: calc(var(--s8) + 80px); }
.faqsec + .est { padding-top: 0; }
.faqsec + .est .est__sheet { margin-top: -80px; }

@media (prefers-reduced-motion: reduce) {
  .hx__layer { transform: none !important; }
}

/* ============================================================================
   /owners/ (ownersPage in src/pages.mjs), built from the sections above plus two
   of its own. New classes only; the few changes to shared ones are scoped to
   .page-owners, so the homepage renders exactly as before.
   ========================================================================== */

/* ---- hero: breadcrumbs above the eyebrow, and a call line under the proof ---- */
.hx .crumbs ol { font-size: 0.85rem; }
.hx__call { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.hx__call a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: 4px; color: var(--heading); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.hx__call .ico { width: 16px; height: 16px; }

/* ---- proof bar: the rest of the record, quieter, under the four headline numbers ---- */
.pbar__more { margin: 0; padding: var(--s5) 0 var(--s6); list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); border-top: 1px solid var(--band-line); }
.pbar__mini { display: grid; gap: 2px; align-content: start; }
.pbar__mn { margin: 0; font: 700 1.3rem/1.1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.pbar__ml { margin: 2px 0 0; font-size: 0.88rem; line-height: 1.35; color: rgb(255 255 255 / 0.9); }
@media (min-width: 900px) { .pbar__more { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); } }

/* ---- owners page only: the section rhythm, and links with an arrow ---- */
/* Inline, so on a phone the arrow follows the last word instead of the far edge. */
.page-owners .link-arrow { font-weight: 600; color: var(--heading); text-underline-offset: 3px; }
.page-owners .link-arrow .ico { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -4px; color: var(--accent-ink); transition: transform var(--t-fast) var(--ease); }
.page-owners .link-arrow:hover .ico { transform: translateX(3px); }

/* "Not in Oshawa? Choose your city": only when the headline names the visitor's city. */
.city-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.city-note select { min-height: 36px; max-width: 100%; padding: 0 30px 0 12px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235c676c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 7px; color: var(--ink); font: 500 0.88rem/1 var(--font-text); appearance: none; cursor: pointer; }
.city-note select:hover { border-color: var(--teal); }
/* Owners abroad (Aldo, 11 Oct 2026): a line only visitors outside Canada see, where the city note sits. */
.hx__abroad { margin: 10px 0 0; font-size: 0.95rem; }
.hx__abroad a { font-weight: 600; color: var(--heading); text-underline-offset: 3px; }
.hx__abroad .ico { display: inline-block; width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px; color: var(--accent-ink); }
/* A long city name ("East Gwillimbury", "Richmond Hill") sets the headline a size smaller. */
.hx h1[data-city-long] { font-size: clamp(1.85rem, 1.1rem + 3.3vw, 3.3rem); }
.year__note { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); }

/* With larger text from the Accessibility settings, the phone grows so no message is cut off. */
html[class*="a11y-text-"] .phone { height: auto; min-height: clamp(520px, 66vh, 620px); }
html[class*="a11y-text-"] .im__thread { overflow: visible; }

/* Phones: the price and the address field on the first screen (the panel, 27 Sept 2026). The photo
   gives up height. "Not in {city}? Choose your city" stays under the headline, where it is in the page, so
   keyboard order follows the screen (WCAG 2.4.3; the checker, 13 Oct 2026); it shows only for a town. */
@media (max-width: 699px) {
  .hx__scene { height: clamp(200px, min(56vw, 34svh), 300px); }
  .hx__content > .hx__form ~ * { order: 2; }
  /* The relief line would push the address field off a small phone's first screen, so it follows
     what the estimate gives, under the button: button, offer, relief, stars, then the rest. */
  .hx__content > .hx__relief { order: 3; margin-top: 0; }
  .hx__content > .hx__form ~ .hx__proof { order: 4; }
  .hx__content > .hx__form ~ .hx__tenant, .hx__content > .hx__form ~ .hx__call { order: 5; }
}
@media (max-width: 399px) { #owners-top h1 { font-size: 1.85rem; } }

/* Google reviews (home and owners): a rating header, a sideways rail of cards, and the credit the
   free Featurable plan asks for. Cards use initials, so no reviewer photo loads from Google. */
.greviews { margin-top: var(--s6); padding: clamp(18px, 3vw, 28px); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.greviews__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.greviews__brand { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 700 1.05rem/1.2 var(--font-display); color: var(--heading); }
.greviews__g { width: 26px; height: 26px; flex: none; }
.greviews__score { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.greviews__score strong { font: 700 1.6rem/1 var(--font-display); color: var(--heading); }
.greviews__score .stars { color: #f5a623; }
.greviews__all { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.greviews__all svg { width: 16px; height: 16px; }
.greviews__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 86%); gap: 16px; margin-top: 18px; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (min-width: 700px) { .greviews__rail { grid-auto-columns: calc((100% - 32px) / 3); } }
.grev { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper-2); }
.grev__head { display: flex; align-items: center; gap: 12px; }
.grev__av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 var(--font-display); color: #fff; background: #103947; }
.grev__av--1 { background: #2d6e82; } .grev__av--2 { background: #935e2e; } .grev__av--3 { background: #5c676c; }
.grev__who { display: grid; gap: 2px; min-width: 0; }
.grev__who strong { color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grev__who span { font-size: 0.85rem; color: var(--ink-soft); }
.grev__stars { display: flex; gap: 2px; margin: 0; }
.grev__stars svg { width: 17px; height: 17px; fill: #f5a623; }
.grev__text { margin: 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.grev.is-open .grev__text { -webkit-line-clamp: unset; display: block; }
.grev__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--heading); font: 600 0.9rem/1.4 var(--font-text); text-decoration: underline; text-decoration-color: var(--accent-ink); text-underline-offset: 3px; cursor: pointer; }
.greviews__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.greviews__nav { display: flex; gap: 8px; }
.greviews__nav button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--paper); color: var(--heading); cursor: pointer; }
.greviews__nav button:first-child svg { transform: rotate(180deg); }
.greviews__nav svg { width: 18px; height: 18px; }
.greviews__credit { margin: 0 0 0 auto; font-size: 0.75rem; }
.greviews__credit a { color: var(--ink-soft); }
/* (The homepage's widget, under its testimonials since 23 Oct 2026, has its room held and its "didn't load" line:
   web/home/story.css. Its own band under the hero, from 22 Oct 2026, is gone.) */
@media (pointer: coarse) { .greviews__nav { display: none; } }
/* The two single review cards (Aldo, 29 Sept 2026): after the prices and before the estimate, each a
   different real review with text, filled by site.js (the homepage's in the Story line's look, web/home/story.css). Nothing moves; the rating and the Google link
   stay on the widget above. */
.rv1 { padding-block: clamp(24px, 4vw, 44px); }
.rv1__card { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(20px, 3.4vw, 30px); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper-2); box-shadow: var(--e1); display: flex; flex-direction: column; gap: 10px; }
.rv1__card::before { content: "\201C"; position: absolute; top: 6px; right: 20px; font: 700 4.4rem/1 Georgia, serif; color: var(--gold-mid); opacity: 0.5; pointer-events: none; }
.rv1__score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--ink-soft); }
.rv1__score strong { font: 700 1.5rem/1 var(--font-display); color: var(--heading); }
.rv1__score a { font-weight: 600; color: var(--heading); }
.rv1__stars { display: flex; gap: 2px; margin: 0; }
.rv1__stars svg { width: 17px; height: 17px; fill: #f5a623; }
.rv1 blockquote { margin: 0; }
.rv1__text { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv1__card.is-open .rv1__text { -webkit-line-clamp: unset; display: block; }
.rv1 figcaption { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.rv1 figcaption > span:last-child { display: grid; gap: 2px; min-width: 0; }
.rv1 figcaption strong { color: var(--heading); }
.rv1 figcaption > span:last-child > span { font-size: 0.85rem; color: var(--ink-soft); }
.rv1__credit { margin: 0; font-size: 0.75rem; text-align: right; }
.rv1__credit a { color: var(--ink-soft); }

/* ------------------------------------------------ city pages: the map hero ----
   The homepage's hero with the town's own map for a picture (27 Sept 2026): the town is drawn
   right of centre so the headline never sits on it, the region around it in white, the rest a
   quiet grey, the lake in blue, and a slow ring on the pin. Atlas (Aldo's pick, 13 Oct 2026): the
   town is its land, painted with the page; its detail (rivers, parks, woods, roads, rail; from
   web/img/maps/<slug>.svg) is drawn into .cmap__detail by home.js after the page loads, and fades in.
   Under 960px the band shows a closer frame (src/areas.mjs cityMap) with its own names, and the pin
   and the offices at a band's size. `.cmap.cmap--hero` outranks pages.css's dark `.cmap__*` colours. */
.hx--map .hx__scene { background: var(--map-out, #eef2f4); }
.hx__map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cmap.cmap--hero .cmap__sea { fill: var(--atlas-outside); }
.cmap.cmap--hero .cmap__land { fill: var(--atlas-served); stroke: var(--atlas-bound); stroke-width: 1px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cmap.cmap--hero .cmap__water { fill: var(--atlas-water); }
.cmap.cmap--hero.is-detailed .cmap__land { stroke: none; }
.cmap.cmap--hero .cmap__on { fill: var(--atlas-hl); stroke: var(--accent-ink); stroke-width: 2.6px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* A community with no boundary of its own (src/areas.mjs COMMUNITIES): its municipality's outline, unfilled. */
.cmap.cmap--hero .cmap__within { fill: none; stroke: var(--accent-ink); stroke-width: 1.6px; stroke-dasharray: 5 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* The detail: each layer's colour from the theme, its lines at a fixed width on screen. */
.cmap__detail { opacity: 0; transition: opacity 700ms ease; }
.cmap--hero.is-detailed .cmap__detail { opacity: 1; }
.cmap__detail path { stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cmap__detail .cmap__woods { fill: var(--atlas-woods); }
.cmap__detail .cmap__green { fill: var(--atlas-green); }
.cmap__detail .cmap__wet { fill: var(--atlas-water); stroke: var(--atlas-shore); stroke-width: 0.8px; }
.cmap__detail .cmap__creek { stroke: var(--atlas-water); stroke-width: 0.7px; }
.cmap__detail .cmap__river { stroke: var(--atlas-shore); stroke-width: 1.3px; }
.cmap__detail .cmap__runway { stroke: var(--atlas-runway); stroke-width: 2.4px; stroke-linecap: butt; }
.cmap__detail .cmap__rd--tert { stroke: var(--atlas-tert); stroke-width: 0.7px; }
.cmap__detail .cmap__rd--sec { stroke: var(--atlas-sec); stroke-width: 0.9px; }
.cmap__detail .cmap__rd--prim { stroke: var(--atlas-prim); stroke-width: 1.3px; }
.cmap__detail .cmap__rd--trunk { stroke: var(--atlas-trunk); stroke-width: 1.8px; }
.cmap__detail .cmap__rd--moto { stroke: var(--atlas-moto); stroke-width: 2.6px; }
.cmap__detail .cmap__rail { stroke: var(--atlas-rail); stroke-width: 1.1px; stroke-linecap: butt; stroke-dasharray: 4 2.5; }
.cmap__detail .cmap__sub { stroke: var(--atlas-sub); stroke-width: 1.4px; stroke-dasharray: 3 2; }
.cmap__detail .cmap__bound { stroke: var(--atlas-bound); stroke-width: 1px; }
/* The names: one set per frame, each laid out for it (src/areas.mjs placeNames), on a halo of the page. */
.cmap__names text { paint-order: stroke; stroke: var(--paper); stroke-width: 0.24em; stroke-linejoin: round; vector-effect: none; font-family: var(--font-text); font-weight: 600; fill: var(--ink-soft); }
.cmap__names .cmap__label { font-family: var(--font-display); font-weight: 700; fill: var(--heading); }
.cmap__names .cmap__office-name { fill: var(--heading); }
.cmap__names .cmap__place { font-weight: 500; }
.cmap__names .cmap__lake { font-family: var(--font-display); font-style: italic; font-weight: 500; letter-spacing: 0.14em; fill: var(--atlas-lake-ink); stroke: none; }
.cmap__names--band { display: none; }
/* Our offices and the pin keep their size on the band: each is scaled around its own point (inline
   transform-origin, in the drawing's units). */
.cmap--hero .cmap__office, .cmap--hero .cmap__pin { transform-box: view-box; }
.cmap.cmap--hero .cmap__office rect { fill: var(--office); stroke: #fff; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.cmap.cmap--hero .cmap__office--main rect { stroke: var(--gold-1); stroke-width: 3px; }
.cmap--hero .cmap__office.is-under { visibility: hidden; }   /* under the rents card (home.js) */
.cmap--hero .cmap__office path { fill: #fff; }
.cmap.cmap--hero .cmap__pin > path { fill: url(#cmap-pin-fill); stroke: #fff; stroke-width: 2.5px; vector-effect: non-scaling-stroke; }
@media (max-width: 959px) {
  .cmap__names--wide { display: none; }
  .cmap__names--band { display: inline; }
  .cmap--hero .cmap__pin { scale: var(--pin-s, 1); }
  .cmap--hero .cmap__office { scale: var(--mk-s, 1); }
}
.cmap__pulse { fill: none; stroke: var(--gold-2); stroke-width: 2px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cmap__pulse { animation: cmap-pulse 2.8s ease-out 1.4s infinite; }
  /* When the detail arrives, the pin settles with a small bounce (with reduced motion, only the fade). */
  .cmap--hero.is-detailed .cmap__pin { animation: cmap-settle 760ms cubic-bezier(0.3, 0.7, 0.4, 1) 160ms both; }
}
@keyframes cmap-pulse { 0% { opacity: 0.9; scale: 0.35; } 100% { opacity: 0; scale: 1.7; } }
@keyframes cmap-settle { 0%, 70%, 100% { translate: 0 0; } 35% { translate: 0 -2.2%; } 85% { translate: 0 -0.5%; } }
:root { --map-out: #e7edef;
  --atlas-outside: #e7edef; --atlas-served: #ffffff; --atlas-water: #c4dce6; --atlas-shore: #9fc1ce; --atlas-green: #d6e9dc; --atlas-woods: #e2eee5;
  --atlas-moto: #b7c3c9; --atlas-trunk: #c4ced3; --atlas-prim: #cdd6da; --atlas-sec: #dae1e4; --atlas-tert: #d9e0e3; --atlas-rail: #8d9ba1; --atlas-sub: #3f8199;
  --atlas-bound: #c9d4d9; --atlas-runway: #c9d1d5; --atlas-lake-ink: #4f7d8f; --atlas-hl: rgb(246 186 109 / 0.26); }

:root[data-theme="dark"] { --map-out: #151c1f;
  --atlas-outside: #151c1f; --atlas-served: #1f292d; --atlas-water: #10222b; --atlas-shore: #20404c; --atlas-green: #1b2f29; --atlas-woods: #1a2a25;
  --atlas-moto: #5d727a; --atlas-trunk: #4c5e65; --atlas-prim: #415158; --atlas-sec: #36454b; --atlas-tert: #33424a; --atlas-rail: #6b7e85; --atlas-sub: #5aa3bd;
  --atlas-bound: #34454c; --atlas-runway: #3e4c52; --atlas-lake-ink: #7aa8ba; --atlas-hl: rgb(246 186 109 / 0.2); }

/* The reason beside an estimate button (Aldo's site review, 29 Sept 2026), on its own line under the
   buttons; lighter on the dark bands. */
.sec-cta__why { flex-basis: 100%; margin: 2px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.sec-cta--dark .sec-cta__why { color: rgb(255 255 255 / 0.8); }
.price__actions .sec-cta__why, .gap__out .sec-cta__why { margin-top: 8px; }
/* "Not ready yet?": the Toolkit, as one quiet line under the comparison (same review). */
.sec-cta__alt { margin: 14px 0 0; font-size: 0.95rem; color: rgb(255 255 255 / 0.82); }
.sec-cta__alt a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.sec-cta__alt a svg { width: 15px; height: 15px; color: var(--gold-1); }

/* How it works ends in the hero's address box (the homepage restructure, 29 Sept 2026). */
.how__start-grid { display: grid; gap: var(--s6); margin-top: var(--s6); align-items: center; }
.how__start { display: grid; gap: 8px; max-width: 35rem; }
.how__start-k { margin: 0; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); }
.how__example .exm { margin-inline: auto; }
@media (min-width: 1000px) { .how__start-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); } }
.how__start .sec-cta__why a { color: var(--heading); font-weight: 600; }
@media (min-width: 700px) { .addr-box { grid-template-columns: 1fr auto; } .addr-box .btn { width: auto; } }

/* "All 36 areas": a closed list of real links under the answer (the restructure, 29 Sept 2026). */
.local__all { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper); }
.local__all > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; font: 600 1rem/1.3 var(--font-text); color: var(--heading); cursor: pointer; list-style: none; }
.local__all > summary::-webkit-details-marker { display: none; }
.local__all > summary::after { content: "+"; font: 600 1.3rem/1 var(--font-text); color: var(--accent-ink); }
.local__all[open] > summary::after { content: "\2212"; }
.local__all > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.local__all .local__areas { padding: 4px 16px 16px; }

/* The FAQ intro's line from the landlord calendar (the restructure, 29 Sept 2026). */
.faqsec__month { margin: var(--s3) 0 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--border); font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.faqsec__month strong { color: var(--heading); }
.faqsec__month .link-arrow { min-height: 0; margin-top: 4px; font-size: 0.93rem; }

/* Phones: the situation's photo as a small rounded tile beside the heading, closer in on its subject
   (Aldo, 5 Oct 2026: behind the heading it blended in, and a picture big enough to read anywhere else
   would push the phone off the first screen). It sits in the room right of the eyebrow and "The 2 a.m.
   call goes to us.", as tall as they are, and cross-fades per situation as before; nothing moves. A
   picture whose subject sits off its usual focus has its own crop for the tile (--focus-tile). */
@media (max-width: 699px) {
  .night { --tile: clamp(78px, 22vw, 92px); }
  .night__photo { inset: clamp(18px, 5vw, 32px) max(var(--gut), env(safe-area-inset-right, 0px)) auto auto; width: var(--tile); height: auto; aspect-ratio: 1;
    border-radius: 18px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 18px 36px -18px rgb(0 0 0 / 0.9); z-index: 2; }
  .night__photo img { object-position: var(--focus-tile, var(--focus)); transform: scale(1.55); transform-origin: var(--focus-tile, var(--focus)); }
  .night__photo::after { background: none; }
  .night__head > .hsec__eyebrow, .night__head > h2 { padding-right: calc(var(--tile) + 12px); }
}
/* From 480px the heading fits on one line, shorter than the tile, so the line under it keeps clear too. */
@media (min-width: 480px) and (max-width: 699px) { .night__head > .hsec__lede { padding-right: calc(var(--tile) + 12px); } }

/* ============================================================================
   The homepage hero, version 2: a card on the photo (Aldo's review, 11 Oct 2026:
   the prices "not really visible", the rest "a continuation of the sentence").
   Homepage only: hero({ mod: "home" }) in src/home.mjs adds .hx--home, and every
   rule here is scoped to it, so the other pages built from hero() keep theirs.
   Wide screens: the aerial and its pins run full width, and one solid card on the
   left holds the headline, the prices as big figures, the checklist and the
   address box. Tablets and phones: the photo is a band at the top, whole, so
   every pin shows, and the card pulls up over its lower edge.
   ========================================================================== */
.hx--home .hx__card { --hx-gap: 28px; position: relative; display: grid; background: var(--paper); }
/* The edge of the stacked sheets: a fine line of solid gold along the top that thins away along the
   corners (sheets.css). */
.hx--home .hx__card::before { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--sheet-gilt); border-radius: inherit; pointer-events: none; }
/* Below the headline, three sizes of text (the polish pass, 12 Oct 2026; there were eight between 12 and
   17px): 1rem for what's read (the area line, the checklist; 0.9375rem in two columns), 0.875rem for what
   qualifies it (a month + HST, the field's name, the promise, the trust line), and the small capitals that
   name the prices. Space groups them instead of one even gap: the headline with its area line; the offer,
   prices and checklist under one hairline; the address box with its promise; then the trust line. */
.hx--home .hx__card > * { margin: 0; }
.hx--home h1 { font-size: clamp(2.05rem, 1.25rem + 4vw, 2.6rem); line-height: 1.06; }
.hx--home h1[data-city-long] { font-size: clamp(1.85rem, 1.1rem + 3.3vw, 2.3rem); }
/* At the larger text settings its longest word ("management,") still fits a narrow phone's card (the checker,
   22 Oct 2026: 9px past the edge at 140% on 360px): the size follows the screen's width there. */
html[class*="a11y-text-"] .hx--home h1:not([data-city-long]) { font-size: min(clamp(2.05rem, 1.25rem + 4vw, 2.6rem), calc((100vw - 2 * var(--gut)) / 8.2)); }
html[class*="a11y-text-"] .hx:not(.hx--home) h1:not([data-city-long]) { font-size: min(clamp(2.05rem, 1.25rem + 4vw, 3.9rem), calc((100vw - 2 * var(--gut)) / 7)); }   /* the town and service heroes too */
.hx--home .hx__dek { margin-top: 10px; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); }
.hx--home .hx__card > .city-note, .hx--home .hx__card > .hx__abroad { margin-top: 10px; }

/* The prices, the one bold move: two big figures in Montserrat on the card itself (no box within the box),
   each with its kind of home above and what it's for under, set off by a hairline above and one between.
   They share their two columns with the checklist, so "Houses" stands over the second column of ticks. */
.hx--home .hx__prices { list-style: none; margin-top: 20px; padding: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--hx-gap); border-top: 1px solid var(--border); }
.hx--home .hx__prices > li { position: relative; display: grid; align-content: start; gap: 4px; }
.hx--home .hx__prices > li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--hx-gap) / -2); width: 1px; background: var(--border); }
.hx--home .hx__plan { font: 600 0.98rem/1.2 var(--font-text); color: var(--accent-ink); }   /* in sentence case, as the lift's labels are (Aldo, 10 Nov 2026) */
.hx--home .hx__fig { display: block; font: 700 clamp(2.5rem, 1.9rem + 2.2vw, 3.4rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--heading); }
/* The dollar sign smaller, set to the top of the figures. */
.hx--home .hx__fig::first-letter { font-size: 0.56em; line-height: 1; vertical-align: 0.5em; margin-right: 0.05em; }
.hx--home .hx__per { font-size: 0.875rem; line-height: 1.3; color: var(--ink-soft); }

/* What owners get, a checklist; on the prices' two columns where there's room. It follows the button, the promise and
   the call line (Aldo, 10 Nov 2026: button first at every width; the markup is in this order, src/home.mjs heroCard),
   under a hairline of its own where the card has its two columns. */
.hx--home .hx__feats { list-style: none; margin-top: 22px; padding: 0; display: grid; gap: 12px var(--hx-gap); }
.hx--home .hx__feats > li { display: flex; align-items: center; gap: 10px; font: 500 1rem/1.35 var(--font-text); color: var(--ink); }
/* Each tick is the lift's brushed tick, with no badge round it (Aldo, 10 Nov 2026; src/home.mjs TICK; its colour is the
   lift's, web/home/lift.css). */
.hx--home .hx__tick { flex: none; display: grid; place-items: center; width: 22px; height: 19px; color: var(--accent-ink); }
.hx--home .hx__tick svg { display: block; width: 22px; height: 19px; overflow: visible; }
/* The entrance, one calm sequence (the polish pass, 12 Oct 2026): the card rises 10px as it fades in, the
   pins drop across the view from 450ms, nearest first, and once the card has settled its ticks draw
   themselves in, one after another. Only opacity, translate and the ticks' strokes move, so nothing shifts;
   with reduced motion everything is there from the first paint, and "Stop animations" ends it at once. */
@media (prefers-reduced-motion: no-preference) {
  .hx--home .hx__card { animation: hx-arrive 700ms cubic-bezier(0.16, 1, 0.3, 1) 60ms both; }
  /* (The path's length is 1, src/home.mjs TICK; the gap is longer than the stroke, so no dot shows before it draws.) */
  .hx--home .hx__tick path { stroke-dasharray: 1 2; animation: hx-tick 440ms var(--ease) both; animation-delay: calc(620ms + var(--n, 0) * 80ms); }
  .hx--home .hx__feats > li:nth-child(2) { --n: 1; } .hx--home .hx__feats > li:nth-child(3) { --n: 2; }
  .hx--home .hx__feats > li:nth-child(4) { --n: 3; } .hx--home .hx__feats > li:nth-child(5) { --n: 4; }
  .hx--home .hx__feats > li:nth-child(6) { --n: 5; }
}
@keyframes hx-tick { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hx-arrive { from { opacity: 0; translate: 0 10px; } }
.hx--home .hx__card > .hx__form { margin-top: 22px; }
.hx--home .hx__label { font-size: 0.875rem; }
.hx--home .hx__card > .hx__offer { margin-top: 10px; font-size: 0.875rem; }
.hx--home .hx__offer > span { display: inline-block; }
/* The trust line closes the card under a hairline: the rating, then since when we've managed rentals. */
.hx--home .hx__card > .hx__proof { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); gap: 4px 14px; font-size: 0.875rem; color: var(--ink-soft); }
/* The rating goes down to the Google reviews (Aldo, 26 Oct 2026; /owners/', /pricing/'s and the 36 town pages' heroes too). It
   keeps its look: a subtle underline on hover and focus, and a taller hit area than its line (24px or more), so a thumb finds
   it without anything moving. */
.hx--home .hx__stars, .hx--owners .hx__stars, .p-quote .hx__stars, .hx--map .hx__stars { display: inline-flex; align-items: center; gap: 6px; padding-block: 6px; margin-block: -6px; color: inherit; text-decoration: none; }
.hx--home .hx__stars:is(:hover, :focus-visible) strong, .hx--owners .hx__stars:is(:hover, :focus-visible) strong, .p-quote .hx__stars:is(:hover, :focus-visible) strong, .hx--map .hx__stars:is(:hover, :focus-visible) strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Two columns where there's room, the read text a step smaller (0.9375rem), so each line keeps to one line.
   The trust line's two parts share a line there, with a small dot between them; on phones they stack. */
@media (min-width: 700px) {
  .hx--home .hx__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
  .hx--home .hx__feats > li, .hx--home .hx__dek { font-size: 0.9375rem; }
  .hx--home .hx__proof > :is(a, span) + span::before { content: ""; width: 3px; height: 3px; margin-right: 8px; border-radius: 50%; background: currentColor; opacity: 0.7; flex: none; }
  .hx--home .hx__form { grid-template-columns: 1fr auto; }
  .hx--home .hx__form .btn { width: auto; }
}

/* Wide screens: no paper fade, so the photo runs full width; the card sits on it, left. */
@media (min-width: 960px) {
  .hx--home::before { content: none; }
  .hx--home .hx__content { padding-block: clamp(24px, 4.5vh, 48px); }
  /* Where the card floats on the photo it is a slip of paper, as the lift's are (Aldo, 10 Nov 2026, the hero pass):
     paper corners and a slip's shadow, in place of the large rounded corners. */
  .hx--home .hx__content > .hx__card { width: min(100%, 576px); max-width: none; padding: 34px 40px 24px; border-radius: 8px;
    box-shadow: 0 1px 1px rgb(6 26 32 / 0.14), 0 34px 70px -28px rgb(6 26 32 / 0.6); }
}

/* Tablets: the whole photo above, and the card rises over its lower edge, up to 64px and always 8px clear
   of the lowest pin, which comes down as the screen widens (the band stays 420px tall, the photo grows). */
@media (min-width: 700px) and (max-width: 959px) {
  .hx--home .hx__content { padding-block: 0 var(--s7); }
  .hx--home .hx__card { width: min(100%, 36rem); margin: calc(-1 * clamp(0px, 208.3px - 16.27vw, 64px)) auto 0; padding: 30px 36px 28px;
    border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 1px 1px rgb(6 26 32 / 0.14), 0 34px 70px -28px rgb(6 26 32 / 0.6); }   /* a slip of paper, as on wide screens */
  .hx--home .hx__card::before { inset: -1px; }
}

/* Phones: the photo keeps its own shape, so the band shows all of it and every pin (the widest phones
   too: the band may grow to 400px, where the shared hero stops at 300px and cuts pins), and the card is a
   sheet the width of the screen that pulls up over its lower edge, by as much as the photo leaves below
   its lowest pin (--hx-lap, at most 10px, 5px clear of the tip), so no pin goes under it at any size. The
   prices and the address box come first, so both are on the first screen; the checklist follows the button (the
   card's own order, at every width, since 10 Nov 2026). */
@media (max-width: 699px) {
  .hx--home { --hx-band: clamp(170px, min(56vw, 34svh), 400px);
    --hx-lap: clamp(0px, min(0.0659 * var(--hx-band), 0.515 * var(--hx-band) - 25.14vw) - 5px, 10px); }
  .hx--home .hx__scene { height: var(--hx-band); }
  .hx--home .hx__content { padding: 0 0 var(--s5); }
  .hx--home .hx__card { margin-top: calc(-1 * var(--hx-lap)); padding: 22px max(var(--gut), env(safe-area-inset-right, 0px)) 8px max(var(--gut), env(safe-area-inset-left, 0px));
    border-radius: var(--sheet-r) var(--sheet-r) 0 0; box-shadow: var(--sheet-cast); }
  .hx--home .hx__card { --hx-gap: 20px; }
  .hx--home .hx__card > .hx__proof { margin-top: 18px; }
  .hx--home .hx__dek { margin-top: 8px; }
  .hx--home .hx__prices { margin-top: 18px; padding-top: 13px; }
  .hx--home .hx__prices > li { gap: 2px; }   /* the sentence-case labels are 4px taller: the address box keeps its place on a 390x664 first screen */
  .hx--home .hx__card > .hx__form { margin-top: 20px; }
  /* A long place ("Durham Region") sets the headline small enough for three lines, so the address box
     stays on a small phone's first screen. */
  .hx--home h1[data-city-long] { font-size: min(1.85rem, calc((100vw - 2 * var(--gut)) / 12.6)); }
}
/* The homepage's extra pins (PINS.more in src/home.mjs, Aldo, 12 Oct 2026): each waits for the width where
   it clears the card and the photo's edge. With about twice the pins, they follow each other a little
   faster, so the whole view has landed within about two and a half seconds, nearest first as before. */
@media (max-width: 1023px) { .hx--home .hx__pin--from-1024 { display: none; } }
@media (max-width: 1535px) { .hx--home .hx__pin--from-1536 { display: none; } }
@media (max-width: 1679px) { .hx--home .hx__pin--from-1680 { display: none; } }
@media (max-width: 1919px) { .hx--home .hx__pin--from-1920 { display: none; } }
@media (max-width: 2303px) { .hx--home .hx__pin--from-2304 { display: none; } }
/* On the homepage the pins land faster, so the scene is set by about 2.3 s (the design reviewer, 22 Oct 2026). */
@media (prefers-reduced-motion: no-preference) { .hx--home .hx__pins--wide .hx__pin { animation-delay: calc(450ms + var(--i) * 35ms); } .hx--home .hx__pins--tall .hx__pin { animation-delay: calc(450ms + var(--i) * 65ms); } }
/* The photo crops its sides when the hero is tall for its width (a 1280x1024 screen, or the city note making
   the card taller), so a pin near a side waits until the photo's box is wide enough to show it whole: the
   ratio in its class (EDGE in src/home.mjs, x 100), read from the hero's .hx__layer, a size container. */
@container (max-aspect-ratio: 174/100) { .hx--home .hx__pin--a174 { display: none; } }
@container (max-aspect-ratio: 170/100) { .hx--home .hx__pin--a170 { display: none; } }
@container (max-aspect-ratio: 168/100) { .hx--home .hx__pin--a168 { display: none; } }
@container (max-aspect-ratio: 166/100) { .hx--home .hx__pin--a166 { display: none; } }
@container (max-aspect-ratio: 158/100) { .hx--home .hx__pin--a158 { display: none; } }
@container (max-aspect-ratio: 155/100) { .hx--home .hx__pin--a155 { display: none; } }
@container (max-aspect-ratio: 150/100) { .hx--home .hx__pin--a150 { display: none; } }
@container (max-aspect-ratio: 147/100) { .hx--home .hx__pin--a147 { display: none; } }
@container (max-aspect-ratio: 139/100) { .hx--home .hx__pin--a139 { display: none; } }
@container (max-aspect-ratio: 130/100) { .hx--home .hx__pin--a130 { display: none; } }
@container (max-aspect-ratio: 128/100) { .hx--home .hx__pin--a128 { display: none; } }
@container (max-aspect-ratio: 126/100) { .hx--home .hx__pin--a126 { display: none; } }
@container (max-aspect-ratio: 124/100) { .hx--home .hx__pin--a124 { display: none; } }
@container (max-aspect-ratio: 115/100) { .hx--home .hx__pin--a115 { display: none; } }
/* Wide screens (from 2300px, where the photo's framing moves up): the hero keeps its height, so the photo loses more of its
   top and bottom as the screen widens, and a pin near either edge waits for a photo box narrow enough to show it whole
   (ULTRA in src/home.mjs, x 100; the checker, 24 Oct 2026: eleven pins cut at 3440x1440, and one, 60.2/74.6, already from
   2600px). Each rule only acts once the photo box is that wide, so up to about 2560px nothing changes. */
@media (min-width: 2300px) {
  @container (min-aspect-ratio: 304/100) { .hx--home .hx__pin--u304 { display: none; } }
  @container (min-aspect-ratio: 332/100) { .hx--home .hx__pin--u332 { display: none; } }
  @container (min-aspect-ratio: 343/100) { .hx--home .hx__pin--u343 { display: none; } }
  @container (min-aspect-ratio: 355/100) { .hx--home .hx__pin--u355 { display: none; } }
  @container (min-aspect-ratio: 358/100) { .hx--home .hx__pin--u358 { display: none; } }
  @container (min-aspect-ratio: 362/100) { .hx--home .hx__pin--u362 { display: none; } }
  @container (min-aspect-ratio: 364/100) { .hx--home .hx__pin--u364 { display: none; } }
  @container (min-aspect-ratio: 375/100) { .hx--home .hx__pin--u375 { display: none; } }
  @container (min-aspect-ratio: 377/100) { .hx--home .hx__pin--u377 { display: none; } }
  @container (min-aspect-ratio: 388/100) { .hx--home .hx__pin--u388 { display: none; } }
}

/* Small phones: a size smaller, so the headline keeps to three lines and the prices clear the phone bar. */
@media (max-width: 359px) {
  .hx--home h1 { font-size: 1.75rem; }
  .hx--home .hx__dek { font-size: 0.875rem; }
}

/* ============================================================================
   The hero's five picks (Aldo, 12 Oct 2026, from the options he tried): the proof cards on the photo, the
   living photo, the button that asks for the click, the brush stroke under the fee, and the arrival. Each
   is still and fully there under reduced motion and the Accessibility panel's "Stop animations", moves
   only opacity and transforms (and the stroke of the ticks), and shifts nothing. The endless motion (the
   drift, and the beat's pulses and turns) rests while the hero is out of sight: home.js adds .hx--away.
   ========================================================================== */
.hx--home.hx--away *, .hx--home.hx--away *::before, .hx--home.hx--away *::after { animation-play-state: paused !important; }

/* ---- the proof figures ---- */
/* One proof figure on the photo, turning, at every width (Aldo, 10 Nov 2026, the hero pass; PROOF_CARDS in src/home.mjs,
   the figures and words of the site's hero chips). Until then wide screens showed the three as separate cards from
   1152px, and this one box only where the photo had room for one (his words, 12 Oct 2026: "maybe we make them rotate
   so each one of them shows for a couple of seconds, and then the next one moves on"). Glass over the photo, an icon
   disc in the button's gold, the figure in Montserrat, a short label. Anchored in the photo like the pins, so it rides
   with it and never meets one; the box keeps its size and place, where it clears every pin and the card (ROTATOR in
   src/home.mjs), and only what's inside it changes. Each figure shows for about six seconds, then the next rises in as
   it fades out: home.js adds .is-live and turns them on the hero's beat, and rests while the hero is out of sight or
   the tab is hidden. Without script, with reduced motion or "Stop animations", the first figure stays, still. The glass
   keeps every label at AA over the brightest part of the photo: 86% paper in light, 92% in dark, where the label takes
   the full ink. With larger text from the Accessibility panel the box would be too small, so it steps aside (the proof
   bar below has the same three). */
.hx--home .hx__fcr { position: absolute; z-index: 1; left: var(--dx); top: var(--dy); translate: -50% -50%; width: 222px; height: 58px; border-radius: 18px; pointer-events: none;
  background: color-mix(in oklab, var(--paper) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--paper) 55%, transparent), 0 2px 6px hsl(var(--shadow-hsl) / 0.12), 0 22px 44px -20px hsl(var(--shadow-hsl) / 0.6); }
.hx--home .hx__fc-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-line); color: #282f32; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4); }
.hx--home .hx__fc-ico svg { width: 20px; height: 20px; }
.hx--home .hx__fc-txt { display: grid; gap: 3px; }
.hx--home .hx__fcr b { font: 700 1.2rem/1.05 var(--font-display); letter-spacing: -0.01em; color: var(--heading); }
.hx--home .hx__fcr small { font: 500 0.8125rem/1.2 var(--font-text); color: var(--ink-soft); }
:root[data-theme="dark"] .hx--home .hx__fcr { background: color-mix(in oklab, var(--paper) 92%, transparent); }
:root[data-theme="dark"] .hx--home .hx__fcr small { color: var(--ink); }
/* In light, the labels take a deeper grey, for a wider margin over the darkest trees. */
:root:not([data-theme="dark"]) .hx--home .hx__fcr small { color: #4f595e; }
.hx--home .hx__fcr-item { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; white-space: nowrap; opacity: 0; }
.hx--home .hx__fcr-item.is-on { opacity: 1; }
.hx--home .hx__fcr.is-live .hx__fcr-item { transform: translateY(7px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.hx--home .hx__fcr.is-live .hx__fcr-item.is-on { transform: none; }
.hx--home .hx__fcr.is-live .hx__fcr-item.is-out { transform: translateY(-5px); }
/* Tablets and phones: a smaller box, at its own place on their photo. */
@media (max-width: 959px) {
  .hx--home .hx__fcr { left: var(--mx); top: var(--my); width: var(--fcr-w, 198px); height: 42px; border-radius: 14px; }
  .hx--home .hx__fcr-item { gap: 9px; padding: 6px 12px 6px 6px; }
  .hx--home .hx__fcr .hx__fc-ico { width: 30px; height: 30px; }
  .hx--home .hx__fcr .hx__fc-ico svg { width: 16px; height: 16px; }
  .hx--home .hx__fcr b { font-size: 0.95rem; }
  .hx--home .hx__fcr small { font-size: 0.75rem; }
}
@media (max-width: 699px) { .hx--home .hx__fcr { left: var(--tx); top: var(--ty); } }
/* Below 360px the band is short and narrow: a smaller box, a size smaller inside, a touch to the left, so it
   still clears the pin on the nearest house. */
@media (max-width: 359px) {
  .hx--home .hx__fcr { --fcr-w: 180px; left: calc(var(--tx) - 1%); }
  .hx--home .hx__fcr-item { gap: 8px; padding-right: 10px; }
  .hx--home .hx__fcr .hx__fc-ico { width: 26px; height: 26px; }
  .hx--home .hx__fcr .hx__fc-ico svg { width: 14px; height: 14px; }
  .hx--home .hx__fcr b { font-size: 0.875rem; }
  .hx--home .hx__fcr small { font-size: 0.6875rem; }
}
/* It floats in once the card has risen, then rests. */
@media (prefers-reduced-motion: no-preference) { .hx--home .hx__fcr { animation: hx-fc 760ms cubic-bezier(0.16, 1, 0.3, 1) 950ms both; } }
@keyframes hx-fc { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
/* With larger text from the Accessibility panel the card keeps its 576px (the words wrap and it grows taller,
   so it never reaches a pin), and the box steps aside: the proof bar below has the same figures. */
html[class*="a11y-text-"] .hx--home .hx__fcr { display: none; }

/* ---- the living photo, and the arrival ---- */
/* The arrival: the photo opens a touch close and dim, and settles in 1.2 seconds as the card rises; the pins
   drop into it as it settles (they're in the same frame, so they land on their roofs). The dim is a veil
   over the photo (.hx__veil) that lifts, so a photo that arrives late never flashes in over a dark band.
   Then the photo drifts like a slow drone shot, 30 seconds each way, and the pins and the proof cards ride
   with it. It pushes in about 1.5% from a point left of the card's middle and lifts a hair, so everything
   moves away from the card and no pin reaches an edge (the tightest, about 7px from the photo's edge at
   1440px, moves under 4); it never lifts more than the push-in adds below, so the photo always covers the
   hero. On tablets and phones, where the card is under the photo, it grows 1.2% from the photo's lower
   edge instead, so the pins rise away from the card. Where the photo is tall for its width (1.74 to 1 or
   narrower), its side pins sit closer to the edges, so it pushes in only 0.6%. The arrival moves the
   frame's transform and the drift its scale and translate, so the two run together. */
.hx--home .hx__veil { position: absolute; inset: 0; background: #0d1a1f; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hx--home .hx__frame { transform-origin: 15% 50%; animation: hx-cine 1200ms cubic-bezier(0.16, 1, 0.3, 1) both, hx-drift 30s ease-in-out 1.4s infinite alternate; }
  .hx--home .hx__veil { animation: hx-veil 1200ms cubic-bezier(0.33, 0, 0.2, 1) both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 959px) {
  .hx--home .hx__frame { transform-origin: 50% 100%; animation-name: hx-cine, hx-drift-band; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
  @container (max-aspect-ratio: 174/100) { .hx--home .hx__frame { animation-name: hx-cine, hx-drift-soft; } }
}
@keyframes hx-cine { from { transform: scale(1.06); } }
@keyframes hx-veil { from { opacity: 0.55; } }
@keyframes hx-drift { to { scale: 1.016; translate: 0 -0.35%; } }
@keyframes hx-drift-band { to { scale: 1.012; } }
@keyframes hx-drift-soft { to { scale: 1.006; translate: 0 -0.12%; } }
/* A soft ring pulses out on the ground under three or four homes (RINGS in src/home.mjs), one on each of the
   hero's 6-second beats (home.js adds .is-pulse; Aldo's "one calm beat", 22 Oct 2026), with a fainter echo half
   a second behind: an ellipse, as the ground is seen at an angle, in the pins' gold, under the pin. Each pulse
   takes three seconds, then the pin rests. */
.hx--home .hx__ring { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hx--home .hx__ring { display: block; position: absolute; z-index: -1; left: 50%; top: 121%; width: calc(var(--z) * 2.8); aspect-ratio: 1;
    margin: calc(var(--z) * -1.4) 0 0 calc(var(--z) * -1.4); scale: 1 0.42; pointer-events: none; }
  .hx--home .hx__ring::before, .hx--home .hx__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0;
    border: 2.5px solid #f6ba6d; background: radial-gradient(closest-side, rgb(246 186 109 / 0.5), rgb(246 186 109 / 0.12) 70%, rgb(246 186 109 / 0)); }
  .hx--home .hx__ring::after { border-width: 1.5px; background: none; }
  .hx--home .hx__ring.is-pulse::before, .hx--home .hx__ring.is-pulse::after { animation: hx-ring 3s cubic-bezier(0.25, 0.5, 0.35, 1) both; }
  .hx--home .hx__ring.is-pulse::after { animation-delay: 0.5s; }
}
@keyframes hx-ring { 0% { opacity: 0; transform: scale(0.15); } 17% { opacity: 1; } 53% { opacity: 0.8; } 100% { opacity: 0; transform: scale(1); } }

/* ---- the button that asks for the click ---- */
/* An arrow inside it that steps right on hover and focus, a soft shine that crosses it once, as the arrival
   settles (under the label, so the words keep their contrast; Aldo's "one calm beat", 22 Oct 2026: it crossed
   every six seconds), never while the address field has focus, and under the promise a line for owners who'd
   rather talk. */
.hx--home .hx__go { display: inline-flex; }
.hx--home .hx__form .btn { position: relative; isolation: isolate; overflow: hidden; }
.hx--home .hx__form .btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.6) 50%, rgb(255 255 255 / 0) 100%); transform: translateX(-140%) skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) {
  .hx--home .hx__form .btn::after { animation: hx-shine 1.1s cubic-bezier(0.45, 0, 0.2, 1) 2.4s both; }
  /* Hidden, not stopped, so leaving the field doesn't start it again. */
  .hx--home .hx__form:focus-within .btn::after { opacity: 0; }
  .hx--home .hx__go .ico { transition: transform 220ms var(--ease); }
  .hx--home .hx__form .btn:is(:hover, :focus-visible) .hx__go .ico { transform: translateX(4px); }
}
@keyframes hx-shine { 0% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(330%) skewX(-18deg); } }
.hx--home .hx__card > .hx__talk { margin-top: 6px; font-size: 0.875rem; line-height: 1.4; color: var(--ink-soft); }
/* The link's tap target is a full 44px, without taking more room in the card. */
.hx--home .hx__talk a { display: inline-flex; align-items: center; gap: 6px; padding-block: 12px; margin-block: -12px; color: var(--heading); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.hx--home .hx__talk .ico { width: 16px; height: 16px; color: var(--accent-ink); }
/* Shorter wide screens: the card takes the call line's room from the hero's padding, so the hero keeps its
   height (and the photo its crop, so no pin near a side steps aside), and below 800px tall the checklist
   tightens too, so the card still fits the first screen whole (1024x768, 1366x768, 1280x800 and up). */
@media (min-width: 960px) and (max-height: 899px) {
  .hx--home .hx__content { padding-block: max(18px, 2.5vh); }
  /* The card's lift stays in the few pixels between it and the hero's bottom edge, where How it works begins (the
     checker, 22 Oct 2026: it reached about 74px below the card, onto the band under the hero then): a slip's shadow, short. */
  .hx--home .hx__content > .hx__card { box-shadow: 0 1px 1px rgb(6 26 32 / 0.14), 0 10px 14px -14px rgb(6 26 32 / 0.6); }
  /* And the card gives back the room its recent lease takes (the line under the call line, 10 Nov 2026), from its own
     padding and the space between its groups, so it still fits the first screen whole. */
  .hx--home .hx__content > .hx__card { padding-block: 26px 18px; }
  .hx--home .hx__prices { margin-top: 16px; padding-top: 14px; }
  .hx--home .hx__card > .hx__form { margin-top: 18px; }
  .hx--home .hx__feats { margin-top: 14px; padding-top: 13px; }
}
/* The same short lift wherever the card grows toward the hero's bottom edge: the visitor's town or the owners-abroad
   line showing, or the larger text settings (the checker's re-check, 22 Oct 2026). */
@media (min-width: 960px) {
  .hx--home:has(.hx__card :is(.city-note, .hx__abroad):not([hidden])) .hx__content > .hx__card,
  html[class*="a11y-text-"] .hx--home .hx__content > .hx__card { box-shadow: 0 1px 1px rgb(6 26 32 / 0.14), 0 10px 14px -14px rgb(6 26 32 / 0.6); }
}
@media (min-width: 960px) and (max-height: 799px) {
  .hx--home .hx__feats { row-gap: 8px; }
  .hx--home .hx__dek { margin-top: 8px; }
  .hx--home .hx__card > .hx__proof { margin-top: 10px; padding-top: 10px; }
}

/* ---- the brush stroke under the fee ---- */
/* A gold brush stroke under "flat monthly fee" (BRUSH in src/home.mjs), behind the words. It draws itself
   once, left to right, as the card settles: its window slides in while the stroke slides the other way,
   so only transforms move. With reduced motion it's simply there. With larger text from the Accessibility
   panel the words may need to wrap, so the stroke steps aside. */
.hx--home .hx__mark { position: relative; display: inline-block; isolation: isolate; }
.hx--home .hx__stroke { position: absolute; z-index: -1; left: -0.06em; right: 0.17em; bottom: -0.16em; height: 0.44em; overflow: hidden; pointer-events: none; }
.hx--home .hx__stroke svg { display: block; width: 100%; height: 100%; opacity: 0.92; }
:root[data-theme="dark"] .hx--home .hx__stroke svg { opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) {
  .hx--home .hx__stroke { animation: hx-wipe 900ms cubic-bezier(0.65, 0, 0.35, 1) 760ms both; }
  .hx--home .hx__stroke svg { animation: hx-wipe-back 900ms cubic-bezier(0.65, 0, 0.35, 1) 760ms both; }
}
@keyframes hx-wipe { from { transform: translateX(-100%); } }
@keyframes hx-wipe-back { from { transform: translateX(100%); } }
html[class*="a11y-text-"] .hx--home .hx__mark { display: inline; }
html[class*="a11y-text-"] .hx--home .hx__stroke { display: none; }
