/* Inner-page patterns. Phone first. */
.hero--tight { padding-bottom: var(--s5); }
.h3 { font: 600 var(--fs-h3)/1.25 var(--font-display); color: var(--heading); letter-spacing: -0.015em; }
.ledger-groups { margin-top: var(--s5); }
.ledger-groups .ledger + .ledger { margin-top: var(--s7); }

/* Pricing calculator and receipt */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
/* Reflows at 320px and with enlarged text (the panel measured it cut off). */
.calc > * { min-width: 0; }
.calc .btn { white-space: normal; text-align: center; }
.calc__controls .field + .field { margin-top: 20px; }
.calc__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.calc__pair .field + .field { margin-top: 0; }
.calc__compare { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px; }
.calc__compare summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.calc__receipt { position: relative; background: var(--paper); }
.calc__receipt::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--gold-line); }
.receipt__title { margin-top: 12px; font: 700 1.35rem/1.2 var(--font-display); color: var(--heading); letter-spacing: -0.02em; }
.receipt { margin: 14px 0 0; }
.receipt > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--border-strong); }
.receipt dt { color: var(--ink-soft); }
.receipt dd { margin: 0; text-align: right; font-weight: 600; }
.receipt [data-r-fee] { font: 700 1.5rem/1 var(--font-display); color: var(--heading); letter-spacing: -0.02em; }
.receipt__actions { display: grid; gap: 8px; margin-top: 18px; }
@media (min-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s7); }
  .calc__receipt { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Areas hub */
.areas { display: grid; gap: var(--s6); }
.areas ul { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--border); }
.areas li a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 500; }
.areas li a .ico { width: 16px; height: 16px; color: var(--ink-soft); transition: transform var(--t-fast) var(--ease); }
.areas li a:hover .ico { transform: translateX(3px); color: var(--accent-ink); }
@media (min-width: 700px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(3, 1fr); } }

/* Quick tasks (tenants, support) */
.tasks { display: grid; gap: 10px; }
.task { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--paper); text-decoration: none; box-shadow: var(--e1); transition: border-color var(--t-fast), transform 140ms var(--ease); }
.task:hover { border-color: var(--teal); }
.task:active { transform: scale(0.99); }
.task strong { display: block; font: 600 1.02rem/1.3 var(--font-display); color: var(--heading); }
.task span { color: var(--ink-soft); font-size: 0.92rem; }
.task .ico { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--ink-soft); }
@media (min-width: 760px) { .tasks { grid-template-columns: repeat(3, 1fr); } .task { min-height: 96px; align-items: flex-start; flex-direction: column; } .task .ico { margin: auto 0 0; } }

/* Roles, documents, blog list */
.rows-simple { list-style: none; margin: var(--s5) 0 0; padding: 0; border-top: 1px solid var(--border); }
.rows-simple li { padding: 16px 0; border-bottom: 1px solid var(--border); display: grid; gap: 4px; }
.rows-simple h3 { font-size: 1.08rem; }
.rows-simple p { color: var(--ink-soft); }
.rows-simple a { font-weight: 600; }
.post-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.post-list li a { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.post-list .cat { font: 600 11px/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.post-list h3 { font-size: 1.15rem; }
.post-list p { color: var(--ink-soft); }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: var(--s6); font-size: 1.5rem; }
.prose ul { padding-left: 20px; }

/* Tenant documents: pick a document, see it on the desk (Aldo, 27 Sept 2026: "show a
   picture of those documents"). Pictures keep their own size, so small scans stay sharp. */
.docs { display: grid; gap: var(--s5); margin-top: var(--s5); }
.docs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.docs__tab { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.docs__tab:hover { border-color: var(--teal); }
.docs__tab[aria-selected="true"] { border-color: var(--teal); background: var(--teal-subtle); }
.docs__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-3); font: 700 0.85rem/1 var(--font-display); color: var(--heading); }
.docs__tab[aria-selected="true"] .docs__n { background: var(--teal); color: #fff; }
/* (In dark mode --teal is light, so what's written on it is the page's dark: this number, and the picked ID button below.) */
:root[data-theme="dark"] .docs__tab[aria-selected="true"] .docs__n, :root[data-theme="dark"] .idpick__btn[aria-selected="true"] { color: var(--paper); }
.docs__t strong { display: block; font: 600 0.98rem/1.25 var(--font-display); color: var(--heading); }
.docs__t small { display: block; margin-top: 2px; font-size: 0.82rem; color: var(--ink-soft); }
.docs__panel { display: grid; gap: var(--s5); }
.docs__body > * + * { margin-top: 12px; }
.docs__any { font-weight: 600; }
.docs__note { position: relative; padding: 12px 14px 12px 18px; border-radius: var(--r-md); background: var(--paper-2); }
.docs__note::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--gold-line); }
/* Phones: one row to swipe, so the chips and the picture stay on screen together. */
.idpick { display: flex; gap: 6px; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: thin; }
.idpick__btn { flex: none; scroll-snap-align: start; }
.idpick__btn { min-height: 36px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 500 0.85rem/1.25 var(--font-text); text-align: left; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.idpick__btn:hover { border-color: var(--teal); }
.idpick__btn[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.docs__fig { margin: 0; }
.docs__fig figcaption { margin-top: 10px; text-align: center; font-size: 0.88rem; color: var(--ink-soft); }
.docs__fig figcaption span { display: block; margin-top: 2px; }
.docs__desk { position: relative; display: grid; place-items: center; min-height: 300px; padding: 28px 18px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: radial-gradient(120% 90% at 50% 15%, var(--paper) 0%, var(--paper-3) 78%); }
.docs__paper { max-width: 100%; padding: 6px; border-radius: 6px; background: #fff; box-shadow: var(--e3); transform: rotate(-1.2deg); }
.docs__paper img { display: block; width: auto; height: auto; max-width: 100%; max-height: 320px; border-radius: 2px; }
.docs__none { display: grid; gap: 6px; max-width: 18rem; padding: 22px; border: 1px dashed var(--border-strong); border-radius: var(--r-md); text-align: center; color: var(--ink-soft); }
.docs__none strong { font: 600 1rem/1.3 var(--font-display); color: var(--heading); }
/* Proof of income: three samples fanned out, the pay statement in front. */
.docs__desk--fan { min-height: 330px; }
.docs__desk--fan .docs__paper { position: absolute; }
.docs__desk--fan .docs__paper--1 { left: 5%; top: 16px; transform: rotate(-6deg); }
.docs__desk--fan .docs__paper--2 { right: 5%; top: 22px; transform: rotate(5deg); }
.docs__desk--fan .docs__paper--1 img { max-height: 210px; }
.docs__desk--fan .docs__paper--2 img { max-height: 190px; }
.docs__desk--fan .docs__paper--0 { left: 50%; bottom: 20px; z-index: 2; width: min(84%, 520px); transform: translateX(-50%) rotate(-1deg); }
.docs__desk--fan .docs__paper--0 img { width: 100%; max-height: none; }

:root[data-theme="dark"] .docs__paper { filter: brightness(0.94); }
@media (min-width: 700px) {
  .docs__desk { min-height: 380px; }
  .docs__desk--fan { min-height: 420px; }
  .docs__desk--fan .docs__paper--1 img { max-height: 300px; }
  .docs__desk--fan .docs__paper--2 img { max-height: 270px; }
}
@media (min-width: 960px) {
  .docs { grid-template-columns: 290px minmax(0, 1fr); gap: var(--s6); }
  .docs__list { grid-template-columns: 1fr; }
  .docs__panel { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: var(--s6); }
  .docs__panel--id { grid-template-areas: "body stage" "pick pick"; row-gap: var(--s4); }
  .docs__panel--id .docs__body { grid-area: body; }
  .docs__panel--id .docs__stage { grid-area: stage; }
  .docs__panel--id .idpick { grid-area: pick; flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .docs__panel:not(.is-off) .docs__paper, .js .docs__fig:not(.is-off) .docs__paper { animation: doc-in 380ms var(--ease) both; }
  .js .docs__desk--fan .docs__paper--1 { animation-delay: 60ms; }
  .js .docs__desk--fan .docs__paper--2 { animation-delay: 120ms; }
  @keyframes doc-in { from { opacity: 0; translate: 0 10px; } }
}

/* Legal pages: contents on the left, the document on the right. */
.legal { display: grid; gap: var(--s5); }
.legal-toc { font-size: 0.9rem; }
.legal-toc__h { font: 600 11.5px/1.3 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.legal-toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-soft); }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--heading); text-decoration: underline; }
.legal-body { max-width: 44rem; }
.legal-body h2 { margin-top: var(--s6); font-size: 1.35rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h3 { margin-top: var(--s4); font-size: 1.08rem; }
.legal-body li + li { margin-top: 6px; }
.legal-dates { margin-top: 10px; font-size: 0.95rem; color: var(--ink-soft); }
.legal-sum { position: relative; padding: 16px 18px 16px 22px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--border); }
.legal-sum::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--gold-line); }
.legal-sum__h { font: 700 1rem/1.3 var(--font-display); color: var(--heading); }
.legal-sum ul { margin: 8px 0 0; padding-left: 18px; }
.legal-draft { margin-bottom: var(--s4); padding: 12px 14px; border-radius: var(--r-md); background: var(--warn-bg); color: var(--ink); font-size: 0.92rem; }
.legal-draft strong { color: var(--warn); }
@media (min-width: 960px) {
  .legal { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s7); align-items: start; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
/* The HTML sitemap */
.sitemap { display: grid; gap: var(--s5); }
.sitemap ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.sitemap a { text-decoration-color: var(--border-strong); }
.sitemap__sub { margin-top: 16px; font: 600 0.95rem/1.3 var(--font-display); color: var(--heading); }
.sitemap__cols { display: grid; gap: 4px 28px; }
@media (min-width: 700px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sitemap__group--wide { grid-column: 1 / -1; } .sitemap__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sitemap__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Area pages: the address in the hero, the city's own map, the local facts and rules. */
.starter--hero { margin-top: var(--s4); }
.starter--hero label { font: 600 1rem/1.3 var(--font-display); color: var(--heading); }
.starter--hero input { border-color: var(--field-line); background: var(--paper); color: var(--ink); }
.starter--hero input:focus { outline-color: var(--teal); }
.cmap { margin: 0; }
.cmap svg { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--e2); }
.cmap figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--ink-soft); }
.cmap__sea, .cmap__water { fill: #d6e7ed; }
.cmap__land { fill: var(--paper); stroke: var(--border-strong); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.cmap__on { fill: #e9eff1; stroke: var(--teal); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.cmap__near { fill: var(--ink-soft); font-family: var(--font-text); font-weight: 500; }
.cmap__office rect { fill: var(--teal); }
.cmap__office text { fill: var(--heading); font-family: var(--font-text); font-weight: 600; }
.cmap__pin path { fill: #dfa062; stroke: #b0713a; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.cmap__pin-dot { fill: #fff; }
.cmap__label { fill: var(--heading); font-family: var(--font-display); font-weight: 700; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

:root[data-theme="dark"] .cmap__sea, :root[data-theme="dark"] .cmap__water { fill: #1d3440; }
:root[data-theme="dark"] .cmap__on { fill: #22343b; }
.glance { display: grid; gap: var(--s5); margin-top: var(--s5); }
.glance__col { display: grid; gap: var(--s4); align-content: start; }
.glance__item p { margin-top: 6px; }
.glance__item .list-check { margin-top: 8px; }
/* Neighbourhoods are plain text (the pills looked like links); the nearby towns are the links. */
.glance__hoods { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.7; }
.near-pills { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.near-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--paper); color: var(--heading); font-weight: 600; text-decoration: none; }
.near-pills a:hover { border-color: var(--accent-ink); }
.glance__card { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.glance__k { font: 600 11.5px/1.3 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.glance__big { margin-top: 6px; font: 700 1.5rem/1.2 var(--font-display); color: var(--heading); }
.glance__rents { margin: 10px 0 0; display: grid; gap: 10px; }
.glance__rents > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--border-strong); }
.glance__rents dt { color: var(--ink-soft); }
.glance__rents dd { margin: 0; text-align: right; font: 700 1.5rem/1.1 var(--font-display); color: var(--heading); font-variant-numeric: tabular-nums; }
.glance__rents small { display: block; margin-top: 4px; font: 400 0.78rem/1.3 var(--font-text); color: var(--ink-soft); }
.glance__src { margin-top: 10px; font-size: 0.8rem; color: var(--ink-soft); }
.rules { display: grid; gap: 12px; }
.rule { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 8px; align-content: start; }
.rule__src { font-size: 0.88rem; font-weight: 600; }
.rule__src a { display: inline-flex; align-items: center; gap: 6px; }
.rule__src .ico { width: 14px; height: 14px; }
@media (min-width: 900px) {
  .glance { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--s7); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules:has(> :only-child) { grid-template-columns: minmax(0, 44rem); }
}

/* Pricing: placement on its own, the add-ons' notes, the guarantee's terms. */
.plan-alt { margin-top: var(--s4); padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper-2); display: grid; gap: 8px; }
.spec__note { display: block; margin-top: 3px; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.pm-terms { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); }
.pm-terms .pm-badge { width: 120px; height: auto; }
.pm-terms p { margin-top: 6px; }
.spec td strong { white-space: nowrap; }

/* Vendors: the trades we work with */
.trades { display: grid; gap: 12px; margin-top: var(--s4); }
.trade { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 6px; align-content: start; }
.trade p { color: var(--ink-soft); }
@media (min-width: 760px) { .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Vendors: the sample work order in the hero */
.wo { margin: 0; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e3); transform: rotate(-1deg); max-width: 440px; }
.wo__bar { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font: 600 0.8rem/1 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.wo__bar b { color: var(--heading); letter-spacing: 0; }
.wo__bar em { margin-left: auto; padding: 3px 8px; border-radius: var(--r-pill); background: var(--paper-3); font-style: normal; letter-spacing: 0.04em; }
.wo__title { margin-top: 12px; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); }
.wo__rows { margin: 12px 0 0; display: grid; gap: 8px; }
.wo__rows > div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 0.92rem; }
.wo__rows dt { color: var(--ink-soft); }
.wo__rows dd { margin: 0; }
.wo__pay { margin-top: 14px; padding: 10px 12px; border-radius: var(--r-md); background: var(--ok-bg); color: #127436; font-weight: 600; font-size: 0.92rem; }

/* Help: who to contact for what, and the office */
.who { display: grid; gap: 12px; margin-top: var(--s4); }
.who__item { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 8px; align-content: start; }
.who__item p:first-of-type { color: var(--ink-soft); }
.office { margin-top: var(--s4); padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); }
.office p + p { margin-top: 6px; }
.anchor-alias { display: block; position: relative; top: calc(var(--header-h) * -1); visibility: hidden; }
@media (min-width: 760px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .who { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.notfound-search { display: grid; gap: 8px; }
.notfound-search label { font: 600 1rem/1.3 var(--font-display); color: var(--heading); }
.notfound-search input { min-height: 48px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: var(--r-md); background: var(--paper); color: var(--ink); font-size: 1rem; }

/* Landlord Toolkit: the cover fanned over two of its pages, and each part beside its page */
.tk-stack { position: relative; width: 170px; aspect-ratio: 360 / 466; margin: 0 auto 12px; }
.tk-stack__p { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 5px; background: #fff; box-shadow: var(--e2); }
.tk-stack__p:nth-child(1) { transform: translate(18%, 3%) rotate(7deg); }
.tk-stack__p:nth-child(2) { transform: translate(9%, 1%) rotate(3.5deg); }
.tk-stack__p:nth-child(3) { box-shadow: var(--e3); }
@media (min-width: 900px) { .tk-stack { width: 300px; margin: 0 auto; } }
.tk-inside { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: 18px; }
.tk-inside li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; color: var(--ink-soft); }
.tk-inside strong { display: block; color: var(--ink); }
.tk-inside__img { width: 76px; height: auto; border-radius: 3px; border: 1px solid var(--border); background: #fff; box-shadow: var(--e1); }
/* On phones the form comes first: the hero already shows the product (the panel, 27 Sept 2026). */
@media (max-width: 899px) { .tk-split #toolkit-form { order: -1; } }

/* Areas hub (27 Sept 2026): "Do you manage my town?" The finder in the hero, what each town
   includes, a jump to each region, our offices, and the homepage's map beside the hero on desktop. */
.finder { display: none; flex: 1 1 100%; gap: 8px; max-width: 34rem; }
.js .finder { display: grid; }   /* without script the box would do nothing, so the list alone shows */
.finder label { font: 600 1rem/1.3 var(--font-display); color: var(--heading); }
.finder__box { position: relative; }
.finder__box .ico { position: absolute; left: 15px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-soft); pointer-events: none; }
.finder input { width: 100%; min-height: 52px; padding: 0 14px 0 44px; border: 1px solid var(--field-line); border-radius: var(--r-md); background: var(--paper); color: var(--ink); font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.finder input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold-1) 50%, transparent); }
.finder__out { position: relative; padding: 10px 14px 10px 18px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--border); color: var(--ink); line-height: 1.5; }
.finder__out::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--gold-line); }
.finder__out:empty { display: none; }
.finder__out a { font-weight: 600; }
.finder__call { flex: 1 1 100%; }
.areas__jump { margin-bottom: var(--s5); }
.areas__jump .near-pills { margin: 0; }
.areas li a { gap: 12px; padding-block: 10px; }
.areas li a small { display: block; margin-top: 2px; font-size: 0.84rem; font-weight: 400; line-height: 1.35; color: var(--ink-soft); }
.offices { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 12px; }
.offices__main { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal), var(--e1); }
.offices .glance__big + .small { margin-top: 6px; }
@media (min-width: 700px) { .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .offices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* The map: the homepage's base drawing for the theme, with the region names and offices over it. */
.areas-map { margin: 0; }
.areas-map__frame { position: relative; aspect-ratio: 1000 / 1220; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper-3); box-shadow: var(--e2); }
.areas-map__frame > img, .areas-map__frame > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.areas-map__base--dark { display: none; }
:root[data-theme="dark"] .areas-map__base--light { display: none; }
:root[data-theme="dark"] .areas-map__base--dark { display: block; }

.areas-map__region { font: 600 25px var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--ink-soft); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.areas-map__office rect { fill: var(--teal); stroke: var(--paper); stroke-width: 3px; }
.areas-map__office path { fill: var(--paper); }
.areas-map__office--main rect { stroke: var(--gold-1); stroke-width: 4px; }
.areas-map__office text { font: 600 23px var(--font-text); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.areas-map__office--main text { font-weight: 700; fill: var(--heading); }
/* A narrower map on small desktops: larger labels keep them about 10px on screen. */
@media (max-width: 1099px) { .areas-map__region { font-size: 30px; } .areas-map__office text { font-size: 28px; } }
.areas-map figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--ink-soft); }
.areas-map__key { display: inline-block; width: 11px; height: 11px; margin-right: 7px; border-radius: 3px; background: var(--teal); vertical-align: -1px; }
@media (max-width: 899px) { .hero__art:has(> .areas-map) { display: none; } }
/* Top-aligned, so the box never moves while its answer appears under it. */
@media (min-width: 900px) { .hero__grid:has(> .hero__art > .areas-map) { align-items: start; } }

/* ---------------------------------------------- city pages (27 Sept 2026) ----
   The homepage's sections carry most of the page; these are the town's own: the local market as
   cards, the city's rules on a dark band, and the questions with the towns and guides nearby. */
.gl__grid { display: grid; gap: 16px; }
.gl__card { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.gl__card h3 { margin: 0; font: 700 1.15rem/1.25 var(--font-display); color: var(--heading); }
.gl__card p { margin: 0; line-height: 1.55; }
.gl__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-subtle); color: var(--heading); }
.gl__ico svg { width: 24px; height: 24px; }
.gl__k { font: 600 0.75rem/1.3 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.gl__lead { font-size: 1.05rem; }
.gl__card .gl__big { font: 700 1.5rem/1.2 var(--font-display); color: var(--heading); }
.gl__src { font-size: 0.8rem; color: var(--ink-soft); }
.gl__card .link-arrow { justify-self: start; }
/* A phone number never breaks over two lines (the defects pre-check, 22 Oct 2026: "1-833-" / "310-2888" at 390px). */
.gl__card a[href^="tel:"] { white-space: nowrap; }
.gl__hoods { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gl__hoods li { padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--paper-2); font-size: 0.88rem; line-height: 1.3; }
.gl__draws { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.gl__draws li { display: flex; align-items: center; gap: 12px; line-height: 1.4; }
.gl__di { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--border); color: var(--accent-ink); }
.gl__di svg { width: 19px; height: 19px; }
@media (min-width: 760px) { .gl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gl__grid:not(:has(> .gl__card--rent)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.lrules { background: var(--band); color: #fff; }
.hsec.lrules h2 { color: #fff; }
.lrules .hsec__eyebrow { color: rgb(255 255 255 / 0.8); }
.lrules .hsec__lede { color: rgb(255 255 255 / 0.86); }
.lrules__grid { display: grid; gap: 16px; }
.lrule { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--band-line); border-radius: var(--r-lg); background: rgb(255 255 255 / 0.05); }
.lrule__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #103947; background: linear-gradient(135deg, #f6ba6d, #dfa062 55%, #b0713a); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35); }
.lrule__ico svg { width: 24px; height: 24px; }
.lrule h3 { margin: 6px 0 0; font: 700 1.2rem/1.25 var(--font-display); color: #fff; }
.lrule p { margin: 0; line-height: 1.55; color: rgb(255 255 255 / 0.86); }
.lrule a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold-1); font-weight: 600; text-underline-offset: 3px; }
.lrule a .ico { width: 16px; height: 16px; }
.lrules .sec-cta { margin-top: var(--s6); }
@media (min-width: 760px) { .lrules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lrules__grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cq__near { display: grid; gap: 12px; margin-top: var(--s5); }
.cq__near h3, .cq__guides h3 { margin: 0; font: 700 1.05rem/1.3 var(--font-display); color: var(--heading); }
.cq__near .near-pills { margin: 0; }
.cq__near .link-arrow { justify-self: start; }
.cq__guides { margin-top: var(--s7); }
.cq__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.cq__list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); color: var(--heading); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.cq__list a:hover { border-color: var(--teal); transform: translateY(-2px); }
.cq__gi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-subtle); color: var(--heading); }
.cq__gi svg { width: 22px; height: 22px; }
.cq__list .ico { width: 18px; height: 18px; color: var(--accent-ink); }
@media (min-width: 760px) { .cq__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gl__leased { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.gl__leased li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--border-strong); }
.gl__leased span { grid-column: 1; font-size: 0.9rem; color: var(--ink-soft); }
.gl__leased em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 600; color: var(--ink); white-space: nowrap; }
/* Phones: the days go under the rent, as on the homepage strip, instead of squeezing the rows. */
@media (max-width: 479px) { .gl__leased li { grid-template-columns: minmax(0, 1fr); } .gl__leased em { grid-column: 1; grid-row: auto; align-self: start; } }

/* A town's own story (src/areas.mjs F.local, 29 Sept 2026): sourced paragraphs in a readable column,
   numbered source links, and the sources listed under them. */
.lstory__wrap { max-width: 860px; }
.lstory__parts { display: grid; gap: clamp(18px, 2.6vw, 28px); }
.lstory__part h3 { margin: 0 0 6px; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); }
.lstory__part p { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--ink); }
.lstory__ref { font-size: 0.72em; line-height: 0; margin-left: 1px; }
.lstory__ref a { color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 0 2px; }
.lstory__ref a:hover, .lstory__ref a:focus-visible { text-decoration: underline; }
.lstory__src { margin-top: clamp(22px, 3vw, 32px); padding-top: 16px; border-top: 1px solid var(--border); }
.lstory__k { margin: 0 0 6px; font: 600 0.8rem/1.3 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.lstory__src ol { margin: 0; padding-left: 1.3em; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.lstory__src li { margin-top: 4px; }
.lstory__src a { color: var(--heading); }
.lstory__src li:target { background: var(--teal-subtle); border-radius: 4px; }

/* ============================================== /landlord-calendar/ in the Story line ==== */
/* Since 2 Nov 2026 (src/pages2.mjs calendarPage; Aldo's picks of 1 Nov, the picker's landlord-calendar__* docs): story.css draws
   the gold line and its stops. Here, scoped to .page-calendar: the line starts at the year's eyebrow, under the breadcrumbs (the
   section's padding, the crumbs' one line at the body's 1.6 line height, the head's gap, then the eyebrow's middle), and the
   homepage's calendar stands in the street photo's place, beside the words from 960px and under them on smaller screens. */
.page-calendar .year > .st-line { top: calc(var(--s8) + var(--fs-sm) * 1.6 + var(--s3) + var(--st-eb, 0.48rem) - 2px); }
.page-calendar .year__art { display: flex; }
.page-calendar .year__art .st-art { --art-s: 112px; }
@media (min-width: 960px) {
  .page-calendar .year__top { grid-template-columns: minmax(0, 1fr) auto; }
  .page-calendar .year__art { justify-content: center; padding-inline: var(--s6); }
  .page-calendar .year__art .st-art { --art-s: 200px; }
}

