/* Vantis Realty. Direction after Wanderjaunt: pale ice-blue ground, a giant cobalt name,
   heavy geometric type (Satoshi), charcoal ink, orange rings and arrows, rounded shapes. */
:root {
  --bg: #eaf5f8;
  --surface: #ffffff;
  --surface-2: #d9ebf0;
  --ink: #2b2f31;
  --muted: #4b5559;
  --accent: #1f63b5;
  --accent-dark: #164d8f;
  --pop: #e5602b;               /* orange: rings, arrows, numbers - never small text */
  --accent-ink: #ffffff;
  --on-photo: #ffffff;
  --line: #c3d9e0;             /* form fields and real tables only */

  --ok: #1d6b3a;  --ok-soft: #e1efe5;
  --warn: #7a5300; --warn-soft: #f6ecd2;
  --danger: #a1271e; --danger-soft: #f6e1de;
  --info: #24527a; --info-soft: #e1eaf2;

  --step-small: clamp(1rem, 0.96rem + 0.1vw, 1.0625rem);
  --step-statement: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.1rem, 1rem + 8.4vw, 9rem);

  --m: clamp(20px, 5vw, 80px);          /* the page's one pair of outer margins */
  --gap-section: clamp(88px, 12vw, 200px);
  --radius: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms; --t-reveal: 800ms; --t-open: 1200ms;
}
*, *::before, *::after { box-sizing: border-box; }
/* "hidden" always hides, even where a class or inline style sets display (the Talk panel's callback form, "See all results") */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif; font-size: var(--step-body);
  line-height: 1.5; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-hover) ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: var(--step-head); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }
b, strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); }
.center { text-align: center; }
.right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1.25rem; } .mt-3 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1.25rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: clamp(20px, 2.5vw, 36px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.inline { display: inline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header: wordmark, five links, one action */
.topbar { display: none; }
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: background var(--t-ui) ease, color var(--t-ui) ease; }
.header .container { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; color: inherit; text-decoration: none; white-space: nowrap; }
.logo:hover { color: inherit; }
.logo-mark { width: 30px; height: 30px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.nav { display: flex; gap: clamp(12px, 2vw, 28px); flex: 1; }
.nav a { position: relative; color: inherit; text-decoration: none; font-size: var(--step-small); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover { color: inherit; }
.nav-actions { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.nav-actions .text-link { color: inherit; text-decoration: none; font-size: var(--step-small); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: var(--step-small); padding: 8px 0; cursor: pointer; }
/* on the home page the bar lies over the hero photograph until the page scrolls */
.header.over { position: fixed; left: 0; right: 0; background: transparent; color: var(--on-photo); }
.header.over::before { content: ""; position: absolute; inset: 0 0 -48px 0; background: linear-gradient(to bottom, rgba(12,16,18,.55), rgba(12,16,18,0)); pointer-events: none; transition: opacity var(--t-ui) ease; }
.header.over.solid::before { opacity: 0; }
.header .container { position: relative; }
.header.over .btn { background: var(--on-photo); color: var(--ink); }
.header.over.solid { background: var(--bg); color: var(--ink); }
.header.over.solid .btn { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--bg); color: var(--ink); flex-direction: column; gap: 0; padding: 12px var(--m) 40px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.9rem; letter-spacing: -0.03em; padding: 10px 0; }
  .nav-actions .hide-sm { display: none; }
}

/* ---------------------------------------------------------------- buttons: square, one fill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: var(--radius);
  font: inherit; font-size: var(--step-small); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); transition: background var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.btn:hover { background: var(--accent-dark); color: var(--accent-ink); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-outline { background: var(--surface); color: var(--ink); }
.btn-outline:hover { background: var(--surface-2); color: var(--ink); }
.btn-accent { background: var(--ink); color: #fff; }
.btn-accent:hover { background: #0f181c; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #7f1d16; }
.btn-sm { padding: 8px 14px; font-size: var(--step-small); }
.btn-lg { padding: 16px 28px; font-size: var(--step-small); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
button.link:hover { color: var(--accent); }
.arrow-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: .4em; align-items: baseline; }
.arrow-link::after { content: "\2192"; transition: transform var(--t-hover) var(--ease-out); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- alerts */
.alert { padding: 14px 18px; margin: 18px 0; }
.alert-ok { background: var(--ok-soft); color: #134a28; }
.alert-err { background: var(--danger-soft); color: #74180f; }
.field-err { display: block; margin-top: 4px; color: var(--danger); font-size: .88rem; font-weight: 600; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.alert-info { background: var(--info-soft); color: #1b3f5e; }
.alert-warn { background: var(--warn-soft); color: #573b00; }
.alert ul { margin: 0; padding-left: 18px; }
.alert a { color: inherit; }

/* ---------------------------------------------------------------- photo heads (inner pages) */
.photo-head { position: relative; min-height: clamp(380px, 62svh, 640px); display: flex; align-items: flex-end; color: var(--on-photo); overflow: hidden; background: #2b3438; }
.photo-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-head::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(to bottom, rgba(10,14,16,0), rgba(10,14,16,.62)); }
.photo-head .container { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 64px); }
.photo-head h1 { font-size: var(--step-head); margin-bottom: .25em; max-width: 22ch; }
.photo-head .btn-outline { background: #fff; color: var(--ink); }
.photo-head .spread { align-items: flex-end; }
.photo-head .eyebrow { display: none; }
.photo-head p { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; margin: 0; color: var(--on-photo); }
.photo-head .caption { position: absolute; right: var(--m); bottom: 16px; z-index: 1; font-size: var(--step-small); opacity: .9; }
.photo-head .row { margin-top: 24px; }
.photo-head a:not(.btn) { color: inherit; }

/* plain heads (portal-adjacent pages) */
.page-head { background: var(--bg); }
.page-head .container { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--muted); margin: 0; font-size: var(--step-lead); line-height: 1.35; }

/* legacy hero (sell / management / pay rent) becomes a photograph field */
.hero { position: relative; color: var(--on-photo); background: #2b3438; overflow: hidden; }
.hero > img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(10, 14, 16, .48); }
.hero .container { position: relative; z-index: 1; padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(56px, 8vw, 120px); }
.hero h1 { font-size: var(--step-head); max-width: 22ch; }
@media (max-width: 960px) { .hero .grid-2 { grid-template-columns: 1fr; row-gap: 96px; } }
.hero h1 span { color: inherit; }
.hero .lead { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; color: var(--on-photo); }
.hero p, .hero .muted, .hero h3 { color: var(--on-photo); }
.hero .card, .hero .card .muted, .hero .card h2, .hero .card h3, .hero .card p { color: var(--ink); }
.hero .card .muted { color: var(--muted); }
.hero .chip { background: rgba(255,255,255,.14); color: var(--on-photo); }
.hero .step::before { background: var(--on-photo); color: var(--ink); }
.hero a:not(.btn) { color: inherit; }
.hero .btn-outline { background: var(--on-photo); color: var(--ink); }
.hero .card a:not(.btn) { color: var(--ink); }

/* ---------------------------------------------------------------- sections */
.section { padding: calc(var(--gap-section) / 2) 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.eyebrow { display: none; }

/* ---------------------------------------------------------------- surfaces: tone steps, no lines, no shadows */
.card { background: var(--surface); border-radius: var(--radius); }
.card-body { padding: clamp(18px, 2vw, 28px); }
.card h3 { margin-bottom: 8px; }
.feature { padding: 0; background: transparent; }
.feature .icon { display: none; }
.feature h3 { font-size: var(--step-lead); }
.feature p { color: var(--muted); }
.card.feature { background: transparent; }

/* listing card: photograph first, facts under it */
.listing { display: flex; flex-direction: column; background: transparent; }
.listing a.cover { display: block; position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.listing .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.listing:hover .cover img { transform: scale(1.035); }
.listing .badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.listing .area-note { position: absolute; left: 0; bottom: 0; color: #fff; font-size: var(--step-small); background: rgba(16,22,26,.74); padding: 4px 10px; }
.listing .body { padding: 16px 0 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.listing .price { font-size: var(--step-lead); letter-spacing: -0.02em; }
.listing .price small { font-size: var(--step-small); color: var(--muted); }
.listing .title { color: var(--ink); text-decoration: none; font-weight: 500; }
.listing .title:hover { color: var(--accent); }
.listing .addr { color: var(--muted); font-size: var(--step-small); }
.listing .facts { display: flex; gap: 16px; color: var(--muted); font-size: var(--step-small); padding-top: 8px; flex-wrap: wrap; }
.listing .facts b { color: var(--ink); font-weight: 500; }
.deal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--surface); padding: 12px; font-size: var(--step-small); margin-top: 6px; }
.deal-metrics div b { display: block; font-size: 1rem; color: var(--ink); font-weight: 500; }
.deal-metrics .pos { color: var(--ok); }

/* placeholder art (only when no photograph exists) */
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: hsl(var(--h) 18% 86%); }
.ph svg { width: 42%; max-width: 200px; opacity: .85; }

/* badges: solid tone, sentence case */
.badge { display: inline-block; padding: 4px 10px; font-size: var(--step-small); line-height: 1.3; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.listing .badge, .gallery .badge { background: rgba(255,255,255,.94); }
.badge-rent { background: var(--info-soft); color: var(--info); }
.badge-sale { background: #fff; color: var(--ink); }
.badge-wholesale { background: var(--ink); color: #fff; }
/* dark badges keep their dark fill on photo cards (the white card fill above would hide their white text) */
.listing .badge-wholesale, .listing .badge-reo, .gallery .badge-wholesale, .gallery .badge-reo { background: var(--ink); }
.listing .badge-auction, .gallery .badge-auction { background: var(--accent); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-err { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }

/* ---------------------------------------------------------------- forms */
label { display: block; font-weight: 500; font-size: var(--step-small); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=url], input[type=file], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-size: var(--step-small); color: var(--ink);
  transition: border-color var(--t-hover) ease; }
input:hover, select:hover, textarea:hover { border-color: #9aa59f; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 18px; }
.field .hint { font-size: var(--step-small); color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 1rem; }
.check input { margin-top: 5px; accent-color: var(--accent); }
.form-card { max-width: 820px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-size: var(--step-lead); letter-spacing: -0.02em; padding: 0; margin-bottom: 14px; }

.filters { display: grid; grid-template-columns: 2fr repeat(5, 1fr) auto; gap: 12px; align-items: end; }
@media (max-width: 1100px) { .filters { grid-template-columns: repeat(2, 1fr); } }
.filters.card { background: var(--surface); }

/* ---------------------------------------------------------------- property detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; height: clamp(300px, 58vw, 620px); }
.gallery .main, .gallery .side > div { background: var(--surface-2); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .side { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
.gallery .area-note { position: absolute; left: 0; top: 0; color: #fff; font-size: var(--step-small); background: rgba(16,22,26,.74); padding: 4px 10px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; height: 72vw; } .gallery .side { display: none; } }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 64px); margin-top: 36px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.facts-row { display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; padding: 22px 0; margin: 18px 0 28px; background: transparent; }
.facts-row div b { display: block; font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; }
.facts-row div span { color: var(--muted); font-size: var(--step-small); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); padding: 6px 12px; font-size: var(--step-small); }
.sticky { position: sticky; top: 96px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; text-align: right; }
.kv .total { padding-top: 10px; font-size: 1.1em; }

/* ---------------------------------------------------------------- tables (real tables keep their rules) */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--surface-2); vertical-align: middle; }
th { font-size: var(--step-small); color: var(--muted); font-weight: 500; }
tbody tr { transition: background var(--t-hover) ease; }
tbody tr:hover { background: rgba(255,255,255,.55); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 36px; text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- portals (app screens: quiet, dense) */
.portal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 72px; font-size: 1rem; }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; } }
.portal h1 { font-size: 1.9rem !important; }
.sidenav { background: var(--surface); padding: 12px; align-self: start; position: sticky; top: 88px; }
.sidenav .who { padding: 8px 10px 14px; }
.sidenav .who b { display: block; }
.sidenav a { display: flex; justify-content: space-between; padding: 9px 10px; color: var(--ink); text-decoration: none; font-size: .95rem; transition: background var(--t-hover) ease; }
.sidenav a:hover, .sidenav a.active { background: var(--bg); color: var(--ink); }
.sidenav a.active { box-shadow: inset 3px 0 0 var(--accent); }
.sidenav .sep { font-size: var(--step-small); color: var(--muted); padding: 14px 10px 4px; }
.kpi { padding: 18px 20px; }
.kpi span { color: var(--muted); font-size: var(--step-small); }
.kpi b { display: block; font-size: 1.7rem; font-weight: 400; letter-spacing: -0.02em; margin-top: 2px; }
.kpi.alert-kpi b { color: var(--danger); }
.balance-card { background: var(--ink); color: #fff; }
.balance-card .card-body { padding: 28px; }
.balance-card b { font-size: 2.6rem; font-weight: 400; letter-spacing: -0.03em; display: block; }
.balance-card .btn { background: #fff; color: var(--ink); }
.balance-card .btn:hover { background: var(--surface); }

/* ---------------------------------------------------------------- steps, cta, calculators, pager */
.steps { counter-reset: s; }
.step { position: relative; padding-left: 60px; margin-bottom: 26px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.cta { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.cta p { margin: 0; color: #dfe5e2; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--surface); }
.calc output { font-size: var(--step-lead); letter-spacing: -0.02em; color: var(--ink); display: block; margin-bottom: 8px; }
.pager { display: flex; gap: 4px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { padding: 9px 15px; background: var(--surface); text-decoration: none; color: var(--ink); }
.pager a:hover { background: var(--surface-2); }
.pager .cur { background: var(--ink); color: #fff; }
.receipt { max-width: 640px; margin: 0 auto; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat b { display: block; font-size: var(--step-lead); font-weight: 400; }
.stat span { color: var(--muted); font-size: var(--step-small); }

.list-title { font-size: var(--step-lead); letter-spacing: -0.02em; margin: 0 0 16px; }
.county { margin-top: var(--gap-section); }
.county-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.county-head h2 { margin: 0; }
.county-strip { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 6px; }
.county-strip .pic { aspect-ratio: 4 / 3; }
.county-strip .town:nth-child(2) .pic { aspect-ratio: 4 / 3.6; }
.county-strip .town:nth-child(3) .pic { aspect-ratio: 3 / 3.4; }
.county-strip .cap { padding: 12px var(--m) 0 16px; }
.county-strip .town:first-child .cap { padding-left: var(--m); }
@media (max-width: 760px) { .county-strip { grid-template-columns: 1fr 1fr; } .county-strip .town:first-child { grid-column: 1 / -1; } .county-strip .cap { padding-left: var(--m); } }

/* ---------------------------------------------------------------- footer: the name first, places under it */
.footer { background: var(--ink); color: #e7ece9; margin-top: var(--gap-section); padding-top: clamp(96px, 9vw, 140px); overflow: hidden; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #f0b9a8; text-decoration: underline; }
.footer-name { font-size: clamp(3.4rem, 1rem + 11.5vw, 13rem); letter-spacing: -0.05em; line-height: .9; margin: 0; padding-top: 0; color: #fff; white-space: nowrap; }
.footer-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; margin-top: clamp(48px, 5vw, 72px); }
.footer-places { list-style: none; margin: 0; padding: 0; }
.footer-places li a { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.25; color: #f0b9a8; }
.footer-places li a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: var(--step-small); color: #b7c2bd; margin-bottom: 12px; letter-spacing: 0; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding-bottom: 32px; font-size: var(--step-small); color: #c4cdc9; }
.footer .credits { font-size: var(--step-small); color: #dfe5e2; max-width: 72ch; margin-top: 28px; }
.footer .credits a { color: #e7ece9; text-decoration: underline; }
@media (max-width: 820px) { .footer-row { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- confirm dialog (it floats, so it may cast a shadow) */
.modal-backdrop { position: fixed; inset: 0; background: rgba(16,24,28,.45); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.modal { max-width: 440px; width: 100%; background: var(--bg); box-shadow: 0 24px 60px rgba(0,0,0,.25); }

/* ================================================================ HOME */
/* hero: one photograph, full bleed, the title on the bottom edge, search beneath it */
.home-hero { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; color: var(--on-photo); overflow: hidden; background: #3a4246; }
.home-hero .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 40%; }
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to bottom, rgba(12,16,18,0), rgba(12,16,18,.72)); }
.home-hero .hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--m) clamp(24px, 4vh, 44px); }
.home-hero h1 { font-size: var(--step-display); line-height: .92; letter-spacing: -0.045em; margin: 0 0 clamp(18px, 2.4vw, 32px); max-width: 12ch; }
.home-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.home-hero h1 .line > span { display: inline-block; }
.home-hero .hero-lead { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; margin: 0 0 clamp(20px, 3vw, 36px); color: var(--on-photo); }
.home-hero .caption { position: absolute; top: 88px; right: var(--m); z-index: 2; font-size: var(--step-small); opacity: .92; }

.hero-search { display: grid; grid-template-columns: auto minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 2px; background: var(--bg); color: var(--ink); max-width: 1180px; }
.hero-search .seg { display: flex; }
.hero-search .seg button { border: 0; background: var(--bg); color: var(--muted); font: inherit; font-size: var(--step-small); padding: 0 18px; cursor: pointer; transition: color var(--t-hover) ease, background var(--t-hover) ease; }
.hero-search .seg button[aria-pressed=true] { color: var(--ink); background: var(--surface); }
.hero-search .seg button:hover { color: var(--ink); }
.hero-search .fld { display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; background: var(--bg); }
.hero-search .fld label { margin: 0 0 2px; color: var(--muted); font-weight: 400; }
.hero-search .fld input, .hero-search .fld select { border: 0; padding: 2px 0; background: transparent; font-size: var(--step-body); box-shadow: none; }
.hero-search .fld input:focus, .hero-search .fld select:focus { box-shadow: none; }
.hero-search .btn { padding: 0 34px; font-size: var(--step-body); min-height: 68px; }
.hero-actions { display: flex; gap: 24px; margin-top: 18px; flex-wrap: wrap; }
.hero-actions a { color: var(--on-photo); font-weight: 500; }
@media (max-width: 900px) {
  .home-hero { height: auto; min-height: 100svh; max-height: none; }
  .home-hero .hero-copy { position: relative; padding-top: 52svh; }
  .home-hero .hero-photo { height: 100%; }
  .home-hero::after { height: 80%; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .seg { grid-column: 1 / -1; }
  .hero-search .seg button { flex: 1; padding: 14px 8px; }
  .hero-search .fld.q { grid-column: 1 / -1; }
  .hero-search .btn { grid-column: 1 / -1; min-height: 56px; }
  .home-hero .caption { top: auto; bottom: 8px; }
}

/* section titles on the home page */
.sec { padding-top: var(--gap-section); }
.sec-title { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 1.02; margin: 0; max-width: 16ch; }
.sec-note { color: var(--ink); font-size: var(--step-body); max-width: 40ch; }

/* showcase: frame run, one lifted */
.frames-wrap { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(20px, 2.5vw, 36px); }
.frames-side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.frames { display: flex; align-items: flex-end; gap: 8px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--m) * -1); padding-right: var(--m); scrollbar-width: thin; }
.frame { flex: none; scroll-snap-align: start; text-decoration: none; color: var(--ink); }
.frame .pic { height: 34vh; min-height: 220px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.frame.wide .pic { aspect-ratio: 3 / 2; }
.frame.lifted .pic { height: 62vh; min-height: 380px; aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.frame:hover img { transform: scale(1.04); }
.frame .cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font-size: var(--step-small); }
.frame .cap b { font-weight: 500; }
.frame:hover .cap b { color: var(--accent); }
@media (max-width: 900px) {
  .frames-wrap { grid-template-columns: 1fr; }
  .frame .pic { height: 46vw; min-height: 0; }
  .frame.lifted .pic { height: 92vw; }
}

/* budget: the live thing */
.budget { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.budget-dial { position: sticky; top: 100px; }
.budget-figure { font-size: var(--step-head); letter-spacing: -0.045em; line-height: 1; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.budget input[type=range] { width: 100%; accent-color: var(--accent); height: 36px; }
.budget-modes { display: flex; gap: 2px; margin-top: 18px; }
.budget-modes button { flex: 1; border: 0; padding: 12px; font: inherit; font-size: var(--step-small); background: var(--surface); color: var(--muted); cursor: pointer; transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.budget-modes button[aria-pressed=true] { background: var(--ink); color: #fff; }
.budget-results { list-style: none; margin: 0; padding: 0; }
.budget-results li a { display: grid; grid-template-columns: 112px 1fr auto; gap: 18px; align-items: center; padding: 12px 0; text-decoration: none; color: var(--ink); }
.budget-results li a:hover .t { color: var(--accent); }
.budget-results img { width: 112px; height: 84px; object-fit: cover; }
.budget-results .t { font-weight: 500; display: block; }
.budget-results .s { color: var(--muted); font-size: var(--step-small); }
.budget-results .v { font-variant-numeric: tabular-nums; text-align: right; }
.budget-count { font-size: var(--step-lead); margin: 0 0 14px; }
@media (max-width: 900px) { .budget { grid-template-columns: 1fr; } .budget-dial { position: static; } .budget-results li a { grid-template-columns: 84px 1fr; } .budget-results img { width: 84px; height: 64px; } .budget-results .v { grid-column: 2; text-align: left; } }

/* towns: staggered pairs */
.towns-head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; }
.towns { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: clamp(48px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); }
.town { text-decoration: none; color: var(--ink); display: block; }
.town .pic { overflow: hidden; background: var(--surface-2); }
.town img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--ease-soft); }
.town:hover img { transform: scale(1.04); }
.town .cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.town .cap b { font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; }
.town .cap span { color: var(--muted); font-size: var(--step-small); align-self: end; }
.town:hover .cap b { color: var(--accent); }
.t1 { grid-column: 1 / 6; } .t1 .pic { aspect-ratio: 4 / 5; }
.t2 { grid-column: 7 / 13; margin-top: 12vh; } .t2 .pic { aspect-ratio: 5 / 4; }
.t3 { grid-column: 5 / 13; } .t3 .pic { aspect-ratio: 16 / 9; }
.t4 { grid-column: 1 / 5; margin-top: 8vh; } .t4 .pic { aspect-ratio: 4 / 5; }
.t5 { grid-column: 1 / 8; } .t5 .pic { aspect-ratio: 3 / 2; }
.t6 { grid-column: 9 / 13; margin-top: 12vh; } .t6 .pic { aspect-ratio: 3 / 4; }
.t3 { grid-row: 2; } .t4 { grid-row: 2; } .t5 { grid-row: 3; } .t6 { grid-row: 3; }
@media (max-width: 760px) {
  .towns-head { grid-template-columns: 1fr; }
  .towns { display: flex; flex-direction: column; gap: 56px; }
  .t1, .t2, .t3, .t4, .t5, .t6 { margin-top: 0; }
  .t1 { width: 72%; } .t2 { width: 86%; align-self: flex-end; } .t3 { width: 100%; } .t4 { width: 60%; } .t5 { width: 100%; } .t6 { width: 76%; align-self: flex-end; }
}

/* how selling works: a drag row of moments */
.moments-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.moments-ctrl { display: flex; gap: 6px; }
.moments-ctrl button { width: 52px; height: 52px; border: 0; background: var(--ink); color: #fff; font-size: 1.2rem; cursor: pointer; transition: background var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.moments-ctrl button:hover { background: var(--accent); }
.moments-ctrl button:active { transform: scale(.96); }
.moments-bar { height: 6px; background: var(--surface-2); margin: 28px 0 32px; }
.moments-bar i { display: block; height: 100%; width: 25%; background: var(--ink); transition: width var(--t-ui) var(--ease-out); }
.moments { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); margin: 0 calc(var(--m) * -1); padding: 0 var(--m) 8px; scrollbar-width: none; }
.moments::after { content: ""; flex: none; width: 1px; }
.moments::-webkit-scrollbar { display: none; }
.moment { flex: none; width: 300px; scroll-snap-align: start; display: flex; flex-direction: column; }
.moment h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 8px; }
.moment p { color: var(--ink); font-size: var(--step-body); margin: 0; }
.moment .pic { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.moment img { width: 100%; height: 100%; object-fit: cover; }
.moment:nth-child(1) .pic { margin-top: 110px; } .moment:nth-child(2) .pic { margin-top: 60px; }
.moment:nth-child(3) .pic { margin-top: 140px; } .moment:nth-child(4) .pic { margin-top: 84px; }
.moment:nth-child(5) .pic { margin-top: 120px; }
.moment .act { margin-top: 18px; }
@media (max-width: 760px) { .moment { width: 74vw; } .moment .pic { margin-top: 36px !important; } .moments-ctrl { display: none; } }

/* wholesale: statement, table pushed right */
.deals { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }
.deals h2 { grid-column: 1 / -1; grid-row: 1; font-size: var(--step-head); letter-spacing: -0.04em; line-height: .98; padding-left: 3vw; margin-bottom: clamp(40px, 5vw, 72px); max-width: 18ch; }
.deals .photo { grid-column: 1 / 6; grid-row: 2; align-self: start; }
.deals .word { grid-row: 2; } .deals .rows { grid-row: 2; }
.deals .photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.deals .photo figcaption { font-size: var(--step-small); color: var(--muted); padding-top: 8px; }
.deals .word { grid-column: 7 / 8; font-size: var(--step-small); color: var(--muted); }
.deals .rows { grid-column: 8 / 13; }
.deal-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 14px; padding: 13px 0; text-decoration: none; color: var(--ink); align-items: baseline; }
.deal-row .k { color: var(--muted); font-size: var(--step-small); }
.deal-row .v { text-align: right; font-variant-numeric: tabular-nums; }
.deal-row .v small { display: block; color: var(--ok); font-size: var(--step-small); }
.deal-row:hover { color: var(--accent); }
.deals .after { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .deals { display: block; } .deals h2 { padding-left: 0; } .deals .word { display: none; }
  .deals .photo { width: 60%; margin: 40px 0 0 auto; }
}

/* residents: one held photograph, statements stepping down */
.scene { position: relative; height: 340vh; margin-top: var(--gap-section); }
.scene-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #fff; }
.scene-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 58%; background: linear-gradient(to bottom, rgba(12,16,18,.78), rgba(12,16,18,0)); z-index: 1; }
.scene-copy { position: relative; z-index: 2; text-align: center; padding: 104px var(--m) 0; }
.scene-copy h2 { font-size: var(--step-head); margin-bottom: 18px; }
.scene-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scene-list li { font-size: var(--step-lead); color: #c9d2ce; transition: color var(--t-ui) ease; }
.scene-list li.on { color: #fff; }
.scene-list li.on::before { content: "\2192\00a0"; }
.scene-cta { margin-top: 24px; justify-content: center; }
.scene-cta .btn { background: #fff; color: var(--ink); }
.scene-markers { position: absolute; inset: 0; pointer-events: none; }
.scene-markers i { display: block; height: 60vh; }
@media (max-width: 760px) {
  .scene { height: auto; }
  .scene-stage { position: relative; height: 100svh; }
  .scene-markers { display: none; }
  .scene-list li { color: #fff; }
  .scene-list li.on::before { content: none; }
  .scene-stage::before { inset: auto 0 0 0; height: 70%; background: linear-gradient(to top, rgba(12,16,18,.82), rgba(12,16,18,0)); }
  .scene-copy { position: absolute; bottom: 0; left: 0; right: 0; text-align: left; padding: 0 var(--m) 40px; }
  .scene-cta { justify-content: flex-start; }
}

/* management: three photographs, then a field */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--gap-section); }
.strip img { width: 100%; height: 40svh; object-fit: cover; }
.band { background: var(--surface); padding: clamp(48px, 7vw, 104px) 0; }
.band .container { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; }
.band h2 { font-size: var(--step-head); margin-bottom: 18px; }
.band .statement { font-size: var(--step-statement); line-height: 1.15; letter-spacing: -0.025em; max-width: 34ch; }
.band .statement a { text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.band p { color: var(--ink); }
.band .side { display: flex; justify-content: flex-end; }
.band .side img { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; }
.band .side figcaption { font-size: var(--step-small); color: var(--muted); padding-top: 6px; }
@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:first-child { grid-column: 1 / -1; height: auto; aspect-ratio: 4 / 3; }
  .strip img { height: auto; aspect-ratio: 1; }
  .band .container { grid-template-columns: 1fr; }
  .band .side { justify-content: flex-start; }
}

/* contact: sentence, picture, two links */
.contact-row { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: clamp(16px, 2vw, 28px); align-items: start; padding-top: var(--gap-section); }
.contact-row .say { font-size: var(--step-statement); line-height: 1.15; letter-spacing: -0.025em; margin: 0; max-width: 22ch; }
.contact-row h2 { font-size: var(--step-head); margin: 0 0 18px; }
.contact-row .pic { grid-column: 3; }
.contact-row .pic img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: cover; }
.contact-row .reach { grid-column: 4; }
.contact-row .q { font-size: var(--step-body); font-weight: 500; margin-bottom: 18px; }
.contact-row .links a { display: block; font-size: var(--step-body); margin-bottom: 10px; }
.contact-row .where { font-size: var(--step-small); color: var(--muted); margin-top: 14px; }
@media (max-width: 1100px) { .contact-row { grid-template-columns: 96px 1fr; } .contact-row h2 { grid-column: 1 / -1; } .contact-row .pic { grid-column: 1; } .contact-row .pic img { width: 96px; } .contact-row .reach { grid-column: 2; } .contact-row .intro { grid-column: 1 / -1; } }

/* ================================================================ MOTION
   Content is visible without script; html.js opts into the entrance states. */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.js .home-hero h1 .line > span { animation: rise 900ms var(--ease-expo) both; }
.js .home-hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
.js .home-hero .hero-lead, .js .home-hero .hero-search, .js .home-hero .hero-actions { animation: fadeup 700ms var(--ease-out) 420ms both; }
.js .home-hero .hero-search { animation-delay: 520ms; }
.js .home-hero .hero-actions { animation-delay: 600ms; }
.home-hero .hero-photo { animation: drift 14s var(--ease-soft) both; }
.js .photo-head > img, .js .hero > img.hero-img { animation: drift 12s var(--ease-soft) both; }
.js .photo-head h1, .js .photo-head p, .js .photo-head .row { animation: fadeup 800ms var(--ease-out) both; }
.js .photo-head p { animation-delay: 90ms; } .js .photo-head .row { animation-delay: 170ms; }

.js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); }
.js [data-reveal].in > * { opacity: 1; transform: none; }
.js [data-reveal].in > *:nth-child(2) { transition-delay: 80ms; }
.js [data-reveal].in > *:nth-child(3) { transition-delay: 160ms; }
.js [data-reveal].in > *:nth-child(4) { transition-delay: 240ms; }
.js [data-reveal].in > *:nth-child(5) { transition-delay: 320ms; }
.js [data-reveal].in > *:nth-child(n+6) { transition-delay: 400ms; }
/* pictures open from the bottom edge */
.js [data-wipe] .pic, .js [data-wipe] > img { clip-path: inset(22% 0 0 0); transition: clip-path 900ms var(--ease-expo); }
.js [data-wipe].in .pic, .js [data-wipe].in > img { clip-path: inset(0 0 0 0); }
/* lists arrive row by row */
.js [data-rows] > * { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js [data-rows].in > * { opacity: 1; transform: none; }
.js [data-rows].in > *:nth-child(2) { transition-delay: 70ms; } .js [data-rows].in > *:nth-child(3) { transition-delay: 140ms; }
.js [data-rows].in > *:nth-child(4) { transition-delay: 210ms; } .js [data-rows].in > *:nth-child(5) { transition-delay: 280ms; }
.js [data-rows].in > *:nth-child(n+6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] > *, .js [data-rows] > * { opacity: 1; transform: none; }
  .js [data-wipe] .pic, .js [data-wipe] > img { clip-path: none; }
}

@media print { .header, .topbar, .footer, .sidenav, .no-print { display: none !important; } .portal { display: block; } body { background: #fff; } }

/* ================================================================ AUCTIONS */
.badge-auction { background: var(--accent); color: #fff; }
.auction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 960px) { .auction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .auction-grid { grid-template-columns: 1fr; } }
.auction-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.auction-card .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.auction-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.auction-card:hover img { transform: scale(1.035); }
.auction-card .area-note { position: absolute; left: 0; bottom: 0; color: #fff; font-size: var(--step-small); background: rgba(16,22,26,.74); padding: 4px 10px; }
.auction-card .body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.auction-card .t { font-weight: 500; }
.auction-card:hover .t { color: var(--accent); }
.auction-card .s { color: var(--muted); font-size: var(--step-small); }
.auction-card .bidline { font-size: var(--step-small); }
.auction-card .bidline b { font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; }
.clock { position: absolute; top: 0; right: 0; background: var(--ink); color: #fff; font-size: var(--step-small); padding: 6px 12px; font-variant-numeric: tabular-nums; }
.clock.urgent { background: var(--accent); }
.clock.big { position: static; display: block; text-align: center; font-size: var(--step-lead); padding: 12px; margin: -1px -1px 18px; }
#bid .current b { display: block; font-size: var(--step-head); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
#bid .current { margin-bottom: 18px; }
.bid-table tr.mine td { font-weight: 500; }
.terms { padding-left: 20px; }
.terms li { margin-bottom: 8px; }
.how-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: h; }
.how-list li { counter-increment: h; display: flex; flex-direction: column; gap: 8px; }
.how-list li::before { content: counter(h); font-size: var(--step-head); letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.how-list b { font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; }
.progress-steps { list-style: none; display: flex; gap: 2px; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.progress-steps li { flex: 1; min-width: 110px; padding: 10px 12px; background: var(--surface); color: var(--muted); font-size: var(--step-small); }
.progress-steps li.done { background: var(--ink); color: #fff; }
.progress-steps li.now { background: var(--accent); color: #fff; }
pre.agreement { white-space: pre-wrap; font-family: inherit; font-size: var(--step-small); background: var(--bg); padding: 16px; max-height: 360px; overflow: auto; margin: 0; }

/* ================================================================ FINANCING */
.loans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: var(--bg); }
.loan { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 32px); background: var(--surface); color: var(--ink); text-decoration: none; min-height: 190px; transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.loan b { font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.loan span { font-size: var(--step-small); }
.loan::after { content: "\2192"; margin-top: auto; font-size: var(--step-lead); transition: transform var(--t-hover) var(--ease-out); }
.loan:hover { background: var(--ink); color: #fff; }
.loan:hover::after { transform: translateX(6px); }
.finance-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); padding: 16px 18px; margin-top: 18px; flex-wrap: wrap; }

/* ================================================================ HOME v2: start here */
.home-hero.start h1 { font-size: clamp(2.9rem, 1rem + 6.6vw, 7.25rem); max-width: none; }
.home-hero.start .hero-lead { margin-bottom: clamp(18px, 2.4vw, 28px); }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 1180px; }
.path { position: relative; display: flex; flex-direction: column; gap: 4px; padding: clamp(16px, 1.8vw, 24px) 72px clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 24px);
  background: var(--bg); color: var(--ink); text-decoration: none; min-height: 96px; justify-content: center;
  transition: background var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.path b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.path small { font-size: var(--step-small); color: var(--muted); transition: color var(--t-hover) ease; }
.path .go { position: absolute; right: 18px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.15rem; transition: transform var(--t-ui) var(--ease-out), background var(--t-hover) ease; }
.path:hover { background: var(--accent); color: #fff; }
.path:hover small { color: #f6e3dd; }
.path:hover .go { background: #fff; color: var(--accent); transform: translateX(4px); }
.path:active { transform: scale(.99); }
.js .home-hero .paths { animation: fadeup 700ms var(--ease-out) 520ms both; }
@media (max-width: 900px) {
  .paths { grid-template-columns: 1fr 1fr; }
  .path { padding: 16px 14px 16px 16px; min-height: 104px; justify-content: flex-start; }
  .path .go { position: static; margin: 0 0 8px; width: 36px; height: 36px; font-size: 1rem; }
  .path b { font-size: 1.15rem; }
  .home-hero.start .hero-copy { padding-top: 34svh; }
}
.quick { margin-top: clamp(20px, 3vw, 36px); }
.quick .hero-search { background: var(--surface); }
.quick .hero-search .fld, .quick .hero-search .seg button { background: var(--surface); }
.quick .hero-search .seg button[aria-pressed=true] { background: var(--ink); color: #fff; }

/* post a property: one field of brick */
.post-band { background: var(--accent); color: #fff; margin-top: var(--gap-section); padding: clamp(56px, 8vw, 120px) 0; }
.post-band h2 { font-size: var(--step-head); color: #fff; margin-bottom: 16px; }
.post-band .statement { font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.02em; max-width: 30ch; color: #fff; margin: 0; }
.post-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.post-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.post-band .btn { background: #fff; color: var(--ink); }
.post-band .btn:hover { background: var(--ink); color: #fff; }
.post-band .btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.post-band .arrow-link { color: #fff; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }

/* sell your way: three plain rows */
.ways { display: flex; flex-direction: column; gap: 4px; }
.way { display: grid; grid-template-columns: 180px 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 14px; background: var(--surface);
  color: var(--ink); text-decoration: none; transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.way img { width: 180px; height: 120px; object-fit: cover; }
.way b { display: block; font-size: var(--step-head); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
.way small { display: block; font-size: var(--step-body); margin-top: 6px; }
.way .go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.3rem; transition: transform var(--t-ui) var(--ease-out), background var(--t-hover) ease; }
.way:hover { background: var(--ink); color: #fff; }
.way:hover .go { background: var(--accent); transform: translateX(6px); }
@media (max-width: 700px) {
  .way { grid-template-columns: 96px 1fr; }
  .way img { width: 96px; height: 96px; }
  .way b { font-size: 1.5rem; }
  .way .go { display: none; }
}

/* financing: one field of colour */
.fin-band { background: var(--ink); color: #fff; margin-top: var(--gap-section); padding: clamp(64px, 9vw, 140px) 0; }
.fin-band h2 { font-size: var(--step-head); margin-bottom: 18px; color: #fff; }
.fin-band .statement { font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.02em; max-width: 30ch; color: #fff; }
.fin-band .btn { background: #fff; color: var(--ink); }
.fin-band .btn:hover { background: var(--accent); color: #fff; }
.fin-band .arrow-link { color: #fff; }
.fin-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.fin-list { list-style: none; margin: 0; padding: 0; }
.fin-list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; color: #fff; text-decoration: none; font-size: var(--step-lead); letter-spacing: -0.02em; }
.fin-list a::after { content: "\2192"; transition: transform var(--t-hover) var(--ease-out); }
.fin-list a:hover { color: #f0b9a8; }
.fin-list a:hover::after { transform: translateX(6px); }
@media (max-width: 860px) { .fin-grid { grid-template-columns: 1fr; } }

/* ================================================================ CALCULATORS */
.calc-app { --c1: #9a3a24; --c2: #1f6f9a; --c3: #a8740c; margin-top: clamp(28px, 4vw, 56px); }
.photo-head.short { min-height: clamp(300px, 42svh, 440px); }
.calc-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-bottom: 2px; }
.calc-tabs::-webkit-scrollbar { display: none; }
.calc-tabs button { flex: 1 0 auto; border: 0; padding: 18px 22px; font: inherit; font-size: var(--step-body); background: var(--surface); color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.calc-tabs button:hover { color: var(--ink); }
.calc-tabs button[aria-selected=true] { background: var(--ink); color: #fff; }
.calc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2px; }
.calc-inputs { background: var(--surface); padding: clamp(20px, 2.6vw, 36px); }
.calc-inputs h2 { font-size: var(--step-lead); margin-bottom: 24px; }
.calc-visual { background: #fff; padding: clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-visual { order: -1; } }
.slider { margin-bottom: 22px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--step-small); font-weight: 400; margin-bottom: 10px; }
.slider output { font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(to right, var(--ink) var(--fill, 50%), var(--surface-2) var(--fill, 50%)); }
.slider input[type=range]::-moz-range-track { height: 6px; background: var(--surface-2); }
.slider input[type=range]::-moz-range-progress { height: 6px; background: var(--ink); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.slider input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; }
.seg-row { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.seg-row span { font-size: var(--step-small); margin-right: 12px; }
.seg-row button { border: 0; padding: 12px 16px; font: inherit; font-size: var(--step-small); background: var(--bg); cursor: pointer; }
.seg-row button[aria-pressed=true] { background: var(--ink); color: #fff; }
.hero-num { display: flex; flex-direction: column; }
.hero-num span { font-size: var(--step-small); color: var(--muted); }
.hero-num output { font-size: var(--step-head); letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hero-num output.neg { color: var(--danger); }
.hero-num small { font-size: var(--step-small); color: var(--muted); }
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 480px) { .hero-pair { grid-template-columns: 1fr; } }
.viz-row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
@media (max-width: 640px) { .viz-row { grid-template-columns: 1fr; } .donut-fig svg { max-width: 220px; margin: 0 auto; display: block; } }
figure { margin: 0; }
.viz-title { font-size: var(--step-small); color: var(--muted); margin-bottom: 10px; }
.chart { width: 100%; height: 220px; }
.chart.tall { height: 300px; }
.chart svg, .donut-fig svg { display: block; overflow: visible; }
.chart .grid { stroke: var(--surface-2); stroke-width: 1; }
.chart .base { stroke: var(--muted); stroke-width: 1; }
.chart .link { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .axis { font-size: 12px; fill: var(--muted); }
.chart .val { font-size: 13px; fill: var(--ink); font-variant-numeric: tabular-nums; }
.chart .val.strong { font-weight: 500; font-size: 14px; }
.chart .bar { cursor: default; }
.chart .bar:hover rect:not([fill=transparent]) { opacity: .82; }
.donut-fig .seg { stroke: #fff; stroke-width: 2; transition: opacity var(--t-hover) ease; }
.donut-fig .seg:hover { opacity: .82; }
.donut-big { font-size: 26px; fill: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.donut-small { font-size: 13px; fill: var(--muted); }
.legend { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: var(--step-small); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend span b { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.legend i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; flex: none; }
.legend.inline { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
.legend.inline span b { margin-left: 6px; }
.split { display: flex; height: 56px; gap: 2px; }
.split span { min-width: 2px; border-radius: 2px; transition: opacity var(--t-hover) ease; }
.split span:hover { opacity: .82; }
.calc-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.viz-tip { position: fixed; z-index: 120; pointer-events: none; background: var(--ink); color: #fff; padding: 8px 12px; font-size: 14px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ================================================================ v3: investor home, one action */
.only-sm { display: none; }
@media (max-width: 1080px) { .only-sm { display: block; } .nav-actions .head-cta { display: none; } }

.inv-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #3a4246; }
.inv-hero .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: drift 14s var(--ease-soft) both; }
.inv-hero::after { content: ""; position: absolute; inset: 30% 0 0 0; background: linear-gradient(to bottom, rgba(12,16,18,0), rgba(12,16,18,.78)); }
.inv-hero-copy { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 120px var(--m) clamp(28px, 6vh, 64px); }
.inv-hero h1 { font-size: clamp(3rem, 1rem + 7.2vw, 7.75rem); line-height: .92; letter-spacing: -0.045em; margin: 0 0 16px; }
.inv-lead { font-size: var(--step-lead); line-height: 1.3; margin: 0 0 28px; color: #fff; max-width: 36ch; }
.inv-hero .caption { position: absolute; top: 88px; right: var(--m); z-index: 2; font-size: var(--step-small); opacity: .9; }
@media (max-width: 760px) { .inv-hero .caption { display: none; } }

/* the search bar: three types, a place, a price, go */
.finder { max-width: 860px; background: #fff; color: var(--ink); }
.finder-types { display: flex; }
.finder-types label { flex: 1; margin: 0; cursor: pointer; }
.finder-types input { position: absolute; opacity: 0; pointer-events: none; }
.finder-types span { display: block; text-align: center; padding: 14px 8px; font-size: var(--step-small); font-weight: 500; color: var(--muted); background: var(--surface); transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.finder-types input:checked + span { background: #fff; color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.finder-types input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.finder-row { display: grid; grid-template-columns: 1fr 190px auto; }
.finder-row input, .finder-row select { border: 0; border-radius: 0; padding: 18px 16px; font-size: var(--step-body); min-height: 60px; }
.finder-row select { border-left: 1px solid var(--surface-2); }
.finder-go { border: 0; background: var(--ink); color: #fff; font: inherit; font-size: var(--step-body); font-weight: 500; padding: 0 28px; cursor: pointer; transition: background var(--t-hover) ease; }
.finder-go:hover { background: #0f181c; }
@media (max-width: 640px) {
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-row input { grid-column: 1 / -1; border-bottom: 1px solid var(--surface-2); }
  .finder-row select { border-left: 0; }
}

/* the one strong button */
.start-btn { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; max-width: 860px; min-height: 64px; padding: 0 24px;
  background: var(--accent); color: #fff; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  transition: background var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.start-btn::after { content: ""; width: 12px; height: 12px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); transition: transform var(--t-ui) var(--ease-out); }
.start-btn:hover { background: var(--accent-dark); color: #fff; }
.start-btn:hover::after { transform: translateX(4px) rotate(45deg); }
.start-btn:active { transform: scale(.99); }
.start-btn.light { background: #fff; color: var(--accent); }
.start-btn.light:hover { background: var(--ink); color: #fff; }

/* Canary Financial: the differentiator, a full field of slate */
.canary { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 104px) 0; }
.canary-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.canary h2 { font-size: var(--step-head); color: #fff; margin-bottom: 14px; }
.canary p { color: #dbe2df; margin: 0; }
.loan-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.loan-picks a { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; min-height: 120px; background: rgba(255,255,255,.07); color: #fff; text-decoration: none; transition: background var(--t-hover) ease; }
.loan-picks a b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.loan-picks a span { font-size: var(--step-small); color: #cfd8d4; }
.loan-picks a:hover { background: var(--accent); }
.loan-picks a:hover span { color: #fff; }
@media (max-width: 860px) { .canary-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .loan-picks { grid-template-columns: 1fr; } .loan-picks a { min-height: 0; } }

/* sections */
.inv-sec { padding-top: clamp(56px, 8vw, 120px); }
.inv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.inv-head h2 { font-size: var(--step-head); margin: 0; }
.inv-head a { font-weight: 500; white-space: nowrap; }

/* deals: rows with the numbers */
.deal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.deal { display: grid; grid-template-columns: 200px 1fr auto; gap: clamp(14px, 2.5vw, 32px); align-items: center; padding: 10px; background: var(--surface); color: var(--ink); text-decoration: none; transition: background var(--t-hover) ease; }
.deal:hover { background: var(--surface-2); color: var(--ink); }
.deal img { width: 200px; height: 140px; object-fit: cover; }
.deal-main b { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.deal-main .muted { font-size: var(--step-small); }
.deal-nums { display: flex; gap: clamp(14px, 2.4vw, 36px); padding-right: 12px; font-variant-numeric: tabular-nums; font-size: var(--step-lead); letter-spacing: -0.02em; }
.deal-nums small { display: block; font-size: var(--step-small); color: var(--muted); letter-spacing: 0; }
.deal-nums .pos { color: var(--ok); }
@media (max-width: 760px) {
  .deal { grid-template-columns: 112px 1fr; align-items: start; }
  .deal img { width: 112px; height: 112px; }
  .deal-nums { grid-column: 1 / -1; justify-content: space-between; padding: 0 4px 4px; font-size: 1.15rem; }
}

/* auctions and REO: tall photographs to swipe */
.swipe { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding: 0 var(--m) 6px; scrollbar-width: thin; }
.tall { position: relative; flex: none; width: clamp(260px, 30vw, 400px); aspect-ratio: 3 / 4; scroll-snap-align: start; overflow: hidden; color: #fff; text-decoration: none; background: #3a4246; }
.tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.tall:hover img { transform: scale(1.04); }
.tall::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(to bottom, rgba(12,16,18,0), rgba(12,16,18,.8)); }
.tall .clock { z-index: 2; }
.tall-cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.tall-cap b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.tall-cap span { font-size: var(--step-small); }
@media (max-width: 640px) { .tall { width: 78vw; } }

/* rentals: four photos with rent under each */
.rent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.rent-list a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.rent-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; transition: opacity var(--t-hover) ease; }
.rent-list a:hover img { opacity: .88; }
.rent-list b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.rent-list span { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 900px) { .rent-list { grid-template-columns: 1fr 1fr; } }

/* list a property: a field of brick */
.list-band { background: var(--accent); color: #fff; margin-top: clamp(56px, 8vw, 120px); padding: clamp(48px, 7vw, 104px) 0; }
.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(24px, 5vw, 72px); align-items: end; }
.list-grid h2 { font-size: var(--step-head); color: #fff; margin: 0; grid-column: 1 / -1; }
.list-grid p { font-size: var(--step-lead); line-height: 1.3; color: #fff; margin: 0; max-width: 34ch; }
.list-grid .start-btn { margin: 0; }
@media (max-width: 760px) { .list-grid { grid-template-columns: 1fr; } }
.owners { padding-top: clamp(48px, 7vw, 96px); }
.owners h2 { font-size: var(--step-head); }
.owners .row { gap: 20px; font-weight: 500; }

/* the Get started sheet: a bottom sheet on phones, a side panel on desktop */
.sheet { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; background: var(--bg); color: var(--ink); }
.sheet::backdrop { background: rgba(14, 20, 24, .55); }
.sheet[open] { position: fixed; inset: auto 0 0 0; max-height: 92svh; overflow-y: auto; animation: sheetUp 320ms var(--ease-out); box-shadow: 0 -16px 48px rgba(0,0,0,.25); }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetIn { from { transform: translateX(100%); } to { transform: none; } }
@media (min-width: 900px) {
  .sheet[open] { inset: 0 0 0 auto; width: 520px; height: 100svh; max-height: none; animation-name: sheetIn; }
}
.sheet-close { position: sticky; top: 0; float: right; z-index: 2; width: 56px; height: 56px; border: 0; background: var(--bg); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.start-form { padding: 24px clamp(20px, 4vw, 36px) 32px; }
.start-title { font-size: var(--step-head); margin: 8px 0 20px; }
.intents { display: grid; gap: 4px; }
.intent { margin: 0; cursor: pointer; }
.intent input { position: absolute; opacity: 0; pointer-events: none; }
.intent span { display: block; padding: 18px 20px; background: var(--surface); transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.intent b { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.intent small { color: var(--muted); font-size: var(--step-small); }
.intent:hover span, .intent input:checked + span { background: var(--ink); color: #fff; }
.intent:hover small, .intent input:checked + span small { color: #d4dcd8; }
.intent input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.start-form fieldset { margin-bottom: 18px; }
.start-form legend { font-size: var(--step-body); font-weight: 500; margin-bottom: 10px; }
.form-grid.three { grid-template-columns: 2fr 1fr 1.4fr; }
@media (max-width: 640px) { .form-grid.three { grid-template-columns: 1fr 1fr; } .form-grid.three .field:first-child { grid-column: 1 / -1; } }
.chips-input { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chips-input label { margin: 0; cursor: pointer; font-weight: 400; }
.chips-input input { position: absolute; opacity: 0; pointer-events: none; }
.chips-input span { display: inline-block; padding: 10px 14px; background: var(--surface); font-size: var(--step-small); transition: background var(--t-hover) ease; }
.chips-input input:checked + span { background: var(--ink); color: #fff; }
.chips-input input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.start-actions { display: flex; gap: 8px; margin: 8px 0 14px; }
.start-actions .start-send { flex: 1; }
.start-error { background: var(--danger-soft); color: #74180f; padding: 12px 14px; margin: 0 0 12px; }
.start-done p { font-size: var(--step-lead); line-height: 1.35; }
.start-page { max-width: 720px; padding-top: 48px; }
.start-box { background: #fff; margin-top: 20px; }

/* one-tap bar on phones */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .sticky-cta .btn { min-height: 54px; font-size: var(--step-body); }
  body:has(.sticky-cta) { padding-bottom: 84px; }
}

.badge-reo { background: var(--ink); color: #fff; }

.sticky-cta { transition: transform var(--t-ui) var(--ease-out); }
.sticky-cta.away { transform: translateY(110%); }

.owners { display: grid; grid-template-columns: 7fr 5fr; gap: 24px clamp(24px, 5vw, 72px); align-items: end; }
.owner-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.owner-links a { display: block; padding: 18px 20px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: var(--step-lead); letter-spacing: -0.02em; transition: background var(--t-hover) ease, color var(--t-hover) ease; }
.owner-links a:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .owners { grid-template-columns: 1fr; } }

.auc-sec { display: grid; grid-template-columns: 4fr 8fr; gap: 20px clamp(24px, 4vw, 64px); align-items: start; }
.auc-empty { background: var(--surface); padding: clamp(20px, 3vw, 36px); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.auc-empty p { margin: 0; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.auction-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .auc-sec { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .auction-grid.two { grid-template-columns: 1fr; } }

/* hero choices in the Wanderjaunt manner: big labels on the photograph, each with a ringed arrow */
.inv-hero .finder { background: transparent; }
.inv-hero .finder-types { gap: clamp(12px, 3vw, 40px); margin-bottom: 18px; flex-wrap: wrap; }
.inv-hero .finder-types label { flex: 0 1 auto; }
.inv-hero .finder-types span { display: flex; align-items: center; gap: 12px; padding: 4px 0; background: transparent; color: rgba(255,255,255,.82);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); font-weight: 500; letter-spacing: -0.02em; text-align: left; box-shadow: none; }
.inv-hero .finder-types span::before { content: "\2192"; flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%;
  border: 2px solid var(--accent); color: #fff; font-size: .62em; transition: background var(--t-hover) ease, transform var(--t-ui) var(--ease-out); }
.inv-hero .finder-types label:hover span { color: #fff; }
.inv-hero .finder-types label:hover span::before { transform: translateX(3px); }
.inv-hero .finder-types input:checked + span { color: #fff; box-shadow: none; }
.inv-hero .finder-types input:checked + span::before { background: var(--accent); }
.inv-hero .finder-row { background: #fff; }
@media (max-width: 640px) { .inv-hero .finder-types { gap: 6px 18px; } .inv-hero .finder-types span { font-size: 1.15rem; } }
.inv-hero .finder-types input:checked + span { background: transparent; }
@media (max-width: 640px) { .inv-hero .finder-types { gap: 6px 14px; flex-wrap: nowrap; } .inv-hero .finder-types span { font-size: 1rem; gap: 8px; } .inv-hero .finder-types span::before { width: 1.7em; height: 1.7em; } }

/* ================================================================ v4: after Wanderjaunt
   pale ground, giant cobalt name, heavy title-case heads, orange rings and arrows, waves and blobs */
:root {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 7C18 1 34 0 52 4S84 11 100 2V94C84 99 68 100 50 96S16 89 0 97Z'/%3E%3C/svg%3E");
  --wave-foot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V93C84 99 68 100 50 96S16 89 0 97Z'/%3E%3C/svg%3E");
  --blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M9 12C22 1 42 5 60 4s33 1 37 17-3 29-1 45-6 28-25 30-41-3-58-1S2 86 2 67-1 23 9 12Z'/%3E%3C/svg%3E");
  --num: #b8440f;              /* orange dark enough for small text */
}
h3 { font-weight: 700; }

/* header: plain on the pale ground, a ringed mark, one pill */
.header, .header.over, .header.over.solid { position: sticky; background: var(--bg); color: var(--ink); }
.header.over::before { display: none; }
.header .container { height: 76px; }
.logo { font-weight: 700; font-size: 1.15rem; }
.logo-mark { width: 32px; height: 32px; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.logo-mark svg { width: 15px; height: 15px; }
.nav a { font-weight: 500; }
.nav a::after { background: var(--pop); }
.header .btn, .header.over .btn, .header.over.solid .btn { background: var(--ink); color: #fff; }
.header .btn:hover { background: var(--accent); color: #fff; }

/* buttons and fields: pills and soft corners */
.btn { border-radius: 999px; font-weight: 700; }
.btn-outline { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=url], input[type=file], select, textarea { border-radius: 12px; }
.alert { border-radius: 14px; }
.badge { border-radius: 999px; font-weight: 500; }
.listing a.cover { border-radius: 20px; }
.deal-metrics { border-radius: 14px; }

/* the one strong action: an orange pill */
.start-btn { display: inline-flex; max-width: none; min-height: 64px; padding: 0 34px; margin: 0; border-radius: 999px; background: var(--pop); color: #fff;
  font-size: 1.25rem; font-weight: 700; }
.start-btn:hover { background: #c94c1c; color: #fff; }

/* the ringed arrow: the reference's signature control */
.ring-arrow { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--pop);
  transition: background var(--t-hover) ease, transform var(--t-ui) var(--ease-out); }
.ring-arrow::before { content: "\2192"; font-size: 1.2rem; line-height: 1; }
a:hover .ring-arrow, button:hover .ring-arrow { background: var(--pop); color: #fff; transform: translateX(4px); }
.ring-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; text-decoration: none; margin-top: 18px; }
.ring-link:hover { color: var(--ink); }
.ring-btn { border: 0; background: none; padding: 0; color: var(--ink); cursor: pointer; }
.ring-btn .ring-arrow { width: 64px; height: 64px; }

/* hand-drawn rings, drawn in when their picture arrives */
.ring-at { position: absolute; pointer-events: none; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-soft) .5s; }
.in .ring path, html:not(.js) .ring path { stroke-dashoffset: 0; }
.in .ring-at:nth-of-type(2) .ring path { transition-delay: .8s; }
.in .ring-at:nth-of-type(3) .ring path { transition-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) { .ring path { stroke-dashoffset: 0; transition: none; } }

/* numbered eyebrows and the heavy title-case heads */
.wj-eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.wj-eyebrow i { font-style: normal; color: var(--num); margin-right: 4px; }
.wj-eyebrow.on-photo { color: #fff; }
.wj-eyebrow.on-photo i { color: #ffb08c; }
.wj-why .wj-eyebrow.on-photo i { color: #ffe2d4; }   /* on the solid blue band the peach needs to be lighter to read (4.9:1) */
.wj-big { font-size: clamp(2.6rem, 1rem + 5vw, 5.75rem); font-weight: 900; line-height: .96; letter-spacing: -0.045em; max-width: 11ch; margin: 0 0 20px; }
.wj-note { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.wj-sec { padding-top: clamp(88px, 11vw, 176px); }

/* ---- 01 hero: the name, then the room with three ways in */
.wj-hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 76px); padding-top: clamp(4px, 1.5vh, 20px); }
.wj-word { position: relative; z-index: 2; margin: 0 0 -0.16em; padding: 0 var(--m); font-size: clamp(3.6rem, 15vw, 18rem); font-weight: 900;
  line-height: .8; letter-spacing: -0.06em; color: var(--accent); white-space: nowrap; text-align: center; animation: wordIn 1.1s var(--ease-expo) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
.wj-band { position: relative; overflow: hidden; flex: 1; min-height: 560px; color: #fff; background: #3b3a37;
  -webkit-mask: var(--wave) 0 0 / 100% 100% no-repeat; mask: var(--wave) 0 0 / 100% 100% no-repeat; }
.wj-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: drift 14s var(--ease-soft) both; }
.wj-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(24,26,28,0) 0%, rgba(24,26,28,.3) 34%, rgba(24,26,28,.62) 100%); }
.wj-band-in { position: relative; z-index: 1; height: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(150px, 22vh, 260px) var(--m) clamp(56px, 9vh, 96px);
  display: flex; flex-direction: column; justify-content: flex-end; }
.wj-paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 48px);
  border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
.wj-paths a { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: clamp(18px, 3vh, 30px) 0; color: #fff; text-decoration: none; }
.wj-paths .ring-arrow { grid-row: span 2; }
.wj-paths b { font-size: clamp(1.7rem, 1rem + 2.1vw, 3.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.wj-paths small { font-size: 1rem; color: rgba(255,255,255,.9); }
.wj-paths a:hover { color: #fff; }
/* the same list on a plain light section (membership perks): dark text and rules, not the on-photo white */
.wj-sec .wj-paths { border-color: var(--line); }
.wj-sec .wj-paths a, .wj-sec .wj-paths a:hover { color: var(--ink); }
.wj-sec .wj-paths small { color: var(--muted); }
.wj-act { display: flex; gap: 12px; margin-top: clamp(20px, 3.5vh, 36px); align-items: stretch; }
.wj-search { flex: 1; max-width: 720px; display: flex; background: #fff; border-radius: 999px; padding: 6px; }
.wj-search input, .wj-search select { border: 0; background: transparent; border-radius: 999px; font-size: 1.05rem; padding: 0 18px; min-height: 52px; }
.wj-search input { flex: 1; min-width: 0; }
.wj-search select { width: auto; flex: none; border-left: 1px solid var(--line); border-radius: 0; }
.wj-search button { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; padding: 0 26px; cursor: pointer; }
.wj-search button:hover { background: var(--accent); }
.wj-scroll { position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
@media (max-width: 900px) {
  .wj-word { font-size: 25.5vw; line-height: .78; text-align: left; margin-bottom: -0.12em; }
  .wj-word span { display: block; }
  .wj-band { min-height: 0; }
  .wj-band-in { padding-top: 96px; padding-bottom: 64px; }
  .wj-paths { grid-template-columns: 1fr; }
  .wj-paths li + li { border-top: 1px solid rgba(255,255,255,.25); }
  .wj-sec .wj-paths li + li { border-top-color: var(--line); }
  .wj-paths a { padding: 14px 0; }
  .wj-paths .ring-arrow { width: 44px; height: 44px; }
  .wj-act { flex-direction: column; }
  .wj-search select { display: none; }
  .wj-act .start-btn { width: 100%; justify-content: center; }
  .wj-scroll { display: none; }
}

/* ---- 02 wholesale: the blob photograph with rings, the head over it, a slider */
.wj-work { position: relative; }
.wj-work-pic { position: relative; width: min(62vw, 960px); aspect-ratio: 4 / 3; margin-left: auto; margin-right: calc(var(--m) / 2); }
.wj-work-pic > img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--blob) 0 0 / 100% 100% no-repeat; mask: var(--blob) 0 0 / 100% 100% no-repeat; }
.wj-work-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-top: calc(min(62vw, 960px) * -.75 + 40px);
  min-height: calc(min(62vw, 960px) * .75 - 40px); }  /* the section is never shorter than its photo, so the photo can't spill into the next one */
.wj-work-in .wj-big { max-width: 9ch; text-shadow: 0 0 28px var(--bg), 0 0 12px var(--bg); }
.wj-slider { justify-self: end; width: 100%; max-width: 470px; background: var(--bg); border-radius: 24px; padding: 26px 28px 22px; }
.wj-count { font-weight: 700; font-size: .95rem; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.wj-count [data-now] { color: var(--num); }
.wj-slide { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; animation: slideIn .5s var(--ease-out); }
.wj-slide[hidden] { display: none; }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wj-slide:hover { color: var(--ink); }
.wj-slide-t { font-size: clamp(1.5rem, 1rem + 1vw, 2rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.wj-nums { display: flex; gap: 24px; margin-top: 12px; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wj-nums small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.wj-nums .pos { color: var(--ok); }
.wj-progress { height: 2px; background: var(--line); margin: 20px 0 14px; }
.wj-progress span { display: block; height: 100%; background: var(--pop); transition: width .6s var(--ease-out); }
.wj-slider-foot { display: flex; justify-content: space-between; align-items: center; }
.wj-slider-foot a { font-weight: 700; }
@media (max-width: 900px) {
  .wj-work-pic { width: calc(100% - var(--m)); margin-right: 0; }
  .wj-work-in { grid-template-columns: 1fr; margin-top: -24px; min-height: 0; }
  .wj-slider { justify-self: stretch; max-width: none; background: #fff; }
}

/* ---- 03 financing: one line per loan, hairlines between */
.wj-fin-in { display: grid; grid-template-columns: 5fr 6fr; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.wj-loans { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wj-loans li { border-bottom: 1px solid var(--line); }
.wj-loans a { display: grid; grid-template-columns: auto 1fr; gap: 2px 20px; align-items: center; padding: 24px 0; color: var(--ink); text-decoration: none; }
.wj-loans .ring-arrow { grid-row: span 2; }
.wj-loans b { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.wj-loans small { font-size: 1rem; color: var(--muted); }
.wj-loans a:hover { color: var(--accent); }
@media (max-width: 900px) { .wj-fin-in { grid-template-columns: 1fr; } }

/* ---- 04 auctions: round photographs and one floating card */
.wj-orbs-in { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.wj-orbs { position: relative; aspect-ratio: 4 / 3; }
.wj-orbs.few { aspect-ratio: 2 / 1; }
.wj-orbs.few .orb-0 { left: 4%; top: 4%; width: 40%; }
.wj-orbs.few .orb-1 { left: 44%; top: 56%; width: 18%; }
.wj-orbs.few .orb-card { left: 50%; top: 10%; }
.orb { position: absolute; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: var(--surface-2);
  box-shadow: 0 0 0 8px #fff; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) ease; }
.orb img { width: 100%; height: 100%; object-fit: cover; }
.orb:hover { transform: scale(1.03); }
.orb.on { box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--pop); }
.orb:focus-visible { outline: 3px solid var(--accent); outline-offset: 12px; }
.orb-0 { left: 22%; top: 6%; width: 44%; }
.orb-1 { left: 0; top: 0; width: 20%; }
.orb-2 { left: 4%; top: 50%; width: 17%; }
.orb-3 { left: 72%; top: 48%; width: 27%; }
.orb-4 { left: 46%; top: 72%; width: 15%; }
.orb-card { position: absolute; left: 58%; top: 2%; width: 42%; max-width: 340px; z-index: 2; background: #fff; border-radius: 18px; padding: 16px 20px 20px;
  box-shadow: 0 22px 50px rgba(31, 75, 100, .14); }
.orb-card-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--surface-2); }
.orb-card-top button { border: 0; background: none; font-size: 1.4rem; line-height: 1; padding: 4px 6px; cursor: pointer; color: var(--ink); }
.orb-card-top button:hover { color: var(--pop); }
.dots { display: flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--pop); }
.orb-item { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; animation: slideIn .4s var(--ease-out); }
.orb-item[hidden] { display: none; }
.orb-item:hover { color: var(--ink); }
.orb-item .clock { position: static; align-self: flex-start; border-radius: 999px; margin-bottom: 6px; }
.orb-item b { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.orb-item span:not(.clock) { color: var(--muted); }
.orb-item em { font-style: normal; font-weight: 700; color: var(--num); margin-top: 4px; }
@media (max-width: 900px) {
  .wj-orbs-in { grid-template-columns: 1fr; }
  .wj-orbs { aspect-ratio: auto; display: flex; flex-wrap: wrap; gap: 18px; padding: 10px; }
  .orb { position: relative; left: auto; top: auto; width: calc(33.333% - 12px); }
  .orb-card { position: relative; left: auto; top: auto; width: 100%; max-width: none; margin-top: 8px; }
}

/* ---- 05 list a property */
.wj-list-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.wj-list-pic { position: relative; aspect-ratio: 4 / 3; }
.wj-list-pic > img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--blob) 0 0 / 100% 100% no-repeat; mask: var(--blob) 0 0 / 100% 100% no-repeat; }
.wj-list-in .start-btn { margin-top: 8px; }
@media (max-width: 900px) { .wj-list-in { grid-template-columns: 1fr; } .wj-list-pic { order: 2; } }

/* inner pages: the photograph ends on a wave, heads go heavy */
.photo-head, .hero { -webkit-mask: var(--wave-foot) 0 0 / 100% 100% no-repeat; mask: var(--wave-foot) 0 0 / 100% 100% no-repeat; }
.photo-head .container, .hero .container { padding-bottom: clamp(56px, 7vw, 96px); }
.photo-head h1, .hero h1 { font-weight: 900; letter-spacing: -0.045em; line-height: .98; }
h2 { font-weight: 900; }

/* footer: light, the name in cobalt */
.footer { background: var(--surface-2); color: var(--ink); }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--accent); }
.footer-name { color: var(--accent); font-weight: 900; letter-spacing: -0.06em; font-size: clamp(3rem, 14.5vw, 15rem); }
.footer-places li a { color: var(--ink); font-weight: 700; }
.footer-places li a:hover { color: var(--accent); }
.footer-cols h4 { color: var(--muted); font-weight: 700; }
.footer .legal, .footer .credits { color: var(--muted); }
.footer .credits a { color: var(--ink); }

/* the sheet, the sticky bar */
.sheet { border-radius: 24px 24px 0 0; }
@media (min-width: 900px) { .sheet { border-radius: 24px 0 0 24px; } }
.sheet-close { border-radius: 50%; }
.intent span, .start-box { border-radius: 16px; }
.chips-input span { border-radius: 999px; }
.intent:hover span, .intent input:checked + span, .chips-input input:checked + span { background: var(--accent); }
.sticky-cta .btn { background: var(--pop); color: #fff; font-size: 1.2rem; }
.sticky-cta .btn:hover { background: #c94c1c; }
@media (max-width: 900px) {
  .wj-orbs.few { aspect-ratio: auto; }
  .wj-orbs.few .orb { left: auto; top: auto; width: calc(33.333% - 12px); }
  .wj-orbs.few .orb-card { left: auto; top: auto; }
}

/* rounded photographs on inner pages */
.gallery .main, .gallery .side > div { border-radius: 20px; }
.county-strip { gap: 12px; padding: 0 calc(var(--m) / 2); }
.county-strip .pic { border-radius: 22px; overflow: hidden; }
.photo-head::after { inset: 0; background: linear-gradient(to bottom, rgba(10,14,16,.12), rgba(10,14,16,.66)); }

/* legal lines and the seller fee share */
.disclosure { font-size: .875rem; line-height: 1.45; color: var(--muted); max-width: 72ch; margin: 16px 0 0; }
.fee-share { background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: inset 4px 0 0 var(--pop); color: var(--ink); }
.fee-share h3 { margin: 0 0 6px; }
.fee-share p { margin: 0; }
.hero .fee-share, .hero .fee-share h3, .hero .fee-share p { color: var(--ink); }

/* language picker */
.lang-pick { position: relative; }
.lang-pick summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  font-size: var(--step-small); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); user-select: none; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; width: min(330px, calc(100vw - 24px)); max-height: min(560px, 75svh); overflow-y: auto;
  list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 22px 50px rgba(31, 75, 100, .18); }
.lang-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.lang-list a:hover, .lang-list a.on { background: var(--bg); }
.lang-list b { font-weight: 700; white-space: nowrap; }
.lang-list small { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-list i { font-style: normal; display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; }
.lang-list a.on i { background: var(--accent); }
@media (max-width: 1080px) { .lang-pick summary { padding: 6px 10px; } }
/* scripts Satoshi does not cover fall back to the system's own faces */
:lang(zh-Hans) body, html:lang(zh-Hans) body { font-family: "Satoshi", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:lang(yue-Hant) body { font-family: "Satoshi", "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", sans-serif; }
html:lang(ko) body { font-family: "Satoshi", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html:lang(hi) body { font-family: "Satoshi", "Nirmala UI", "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; }
html:lang(zh-Hans) .wj-big, html:lang(yue-Hant) .wj-big, html:lang(ko) .wj-big, html:lang(hi) .wj-big { letter-spacing: 0; line-height: 1.15; }

/* trust band and consent box */
.trust { margin-top: clamp(72px, 9vw, 140px); }
.trust-in { display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.trust-head { font-size: clamp(2rem, 1rem + 3vw, 3.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin: 0 0 12px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin: 0; }
.trust-list dt { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.trust-list dd { margin: 4px 0 0; font-size: var(--step-lead); line-height: 1.3; }
.bbb-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; }
@media (max-width: 760px) { .trust-in, .trust-list { grid-template-columns: 1fr; } }
.consent-box label { font-weight: 400; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.consent-box input { margin-top: 4px; }

/* ---- languages made obvious ---- */
.wj-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 18px; }
.wj-langs-t { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; margin-right: 6px; }
.wj-langs a { padding: 5px 11px; border-radius: 999px; font-size: .9rem; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); background: rgba(20,24,28,.28); }
.wj-langs a:hover, .wj-langs a.on { background: #fff; color: var(--ink); }
@media (max-width: 900px) { .wj-langs a { font-size: .85rem; padding: 4px 9px; } }
.lang-offer { position: fixed; left: 50%; top: 86px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: calc(100vw - 24px); padding: 10px 14px 10px 18px; background: #fff; border-radius: 999px; box-shadow: 0 16px 40px rgba(31,75,100,.22); font-weight: 700; }
.lang-offer[hidden] { display: none; }

/* ---- voice ---- */
.voice-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: 1.1rem; font-weight: 700; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.voice-btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 900px) { .wj-act .voice-btn { width: 100%; } }
.voice-fab { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 14px 34px rgba(20,30,40,.28); }
.voice-fab:hover { background: var(--accent); }
@media (max-width: 900px) { .voice-fab { bottom: 92px; right: 12px; padding: 12px; } .voice-fab span { display: none; } }
.voice-panel { border: 0; padding: 22px 24px 20px; width: min(460px, calc(100vw - 24px)); max-height: 86svh; overflow-y: auto; border-radius: 24px; background: var(--bg); color: var(--ink);
  box-shadow: 0 30px 80px rgba(10,20,30,.35); }
.voice-panel::backdrop { background: rgba(14,20,24,.5); }
.voice-top { display: flex; justify-content: space-between; align-items: center; }
.voice-top h2 { font-size: 1.6rem; margin: 0; }
.voice-x { border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.voice-hint { margin: 6px 0 14px; color: var(--muted); }
.voice-mic { display: grid; place-items: center; width: 96px; height: 96px; margin: 6px auto 10px; border: 0; border-radius: 50%; cursor: pointer; background: var(--pop); color: #fff;
  box-shadow: 0 0 0 0 rgba(229,96,43,.5); transition: transform var(--t-ui) var(--ease-out); }
.voice-mic:hover { transform: scale(1.04); }
.voice-mic.on { animation: micPulse 1.4s infinite; }
@keyframes micPulse { 0% { box-shadow: 0 0 0 0 rgba(229,96,43,.55); } 70% { box-shadow: 0 0 0 22px rgba(229,96,43,0); } 100% { box-shadow: 0 0 0 0 rgba(229,96,43,0); } }
@media (prefers-reduced-motion: reduce) { .voice-mic.on { animation: none; outline: 4px solid var(--pop); } }
.voice-heard { text-align: center; font-weight: 700; min-height: 1.4em; margin: 0 0 10px; }
.voice-type { display: flex; gap: 8px; margin-bottom: 12px; }
.voice-type input { flex: 1; }
.voice-answer { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; }
.voice-results { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.voice-results a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.voice-results img { width: 76px; height: 58px; object-fit: cover; border-radius: 10px; }
.voice-results b { display: block; line-height: 1.2; }
.voice-results small { display: block; color: var(--muted); }
.voice-results em { font-style: normal; font-weight: 700; color: var(--num); }
.voice-ex, .voice-privacy { margin: 8px 0 0; }

/* ---- perks band: cobalt, wave-edged, right under the hero ---- */
.wj-why { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(80px, 9vw, 130px) 0; background: var(--accent); color: #fff;
  -webkit-mask: var(--wave) 0 0 / 100% 100% no-repeat; mask: var(--wave) 0 0 / 100% 100% no-repeat; }
.wj-why .wj-big { color: #fff; max-width: 14ch; }
.wj-why .wj-note { color: rgba(255,255,255,.9); }
.why-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.why-head .start-btn { background: #fff; color: var(--accent); }
.why-head .start-btn:hover { background: var(--pop); color: #fff; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.35); }
.why-grid li { border-bottom: 1px solid rgba(255,255,255,.35); }
.why-grid li:not(:nth-child(4n)) { border-right: 1px solid rgba(255,255,255,.2); }
.why-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 20px 26px; color: #fff; text-decoration: none; transition: background var(--t-hover) ease; }
.why-grid a:hover { background: rgba(255,255,255,.08); color: #fff; }
.why-grid .ring-arrow { width: 46px; height: 46px; box-shadow: inset 0 0 0 2px #fff; }
.why-grid b { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.why-grid small { font-size: 1rem; color: rgba(255,255,255,.88); }
/* the Talk to Canary tile: Canary's face beside its arrow, as on every Talk button */
.why-face { display: inline-flex; align-items: center; gap: 8px; }
.why-grid .why-face .talk-face { width: 46px; height: 46px; }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why-grid li:not(:nth-child(4n)) { border-right: 0; } .why-grid li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why-grid li:nth-child(odd) { border-right: 0; } .why-grid a { flex-direction: row; flex-wrap: wrap; align-items: center; } .why-grid small { flex-basis: 100%; } }

/* ---- Talk to Canary: the NovaVoxx-style pill (white pill, round pulsing mic orb, label) ---- */
.talk-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: inherit; font-size: var(--step-small); font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(20,30,40,.06);
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease, color var(--t-hover) ease; }
.talk-pill:hover { border-color: var(--pop); box-shadow: 0 6px 18px rgba(229,96,43,.18); color: var(--pop); }
.talk-orb { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; flex: none;
  background: radial-gradient(circle at 35% 30%, #ff9a63, var(--pop) 70%); box-shadow: 0 4px 12px rgba(229,96,43,.35); }
.talk-orb svg { position: relative; z-index: 1; }
/* Canary's face, left of the mic; the mic overlaps it a little so the two read as one person speaking */
.talk-face { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(20,30,40,.18); }
.talk-face + .talk-orb { margin-left: -16px; box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(229,96,43,.35); }
.talk-pill.big .talk-face { width: 50px; height: 50px; }
.talk-card-top .talk-face { width: 30px; height: 30px; }
.talk-pill.big .talk-face + .talk-orb { margin-left: -22px; }
.talk-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--pop); opacity: .55; animation: talkPulse 2.4s ease-in-out infinite; }
@keyframes talkPulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.35); opacity: 0; } }
.talk-stop { display: none; }
.is-live .talk-mic { display: none; }
.is-live .talk-stop { display: block; }
.talk-pill.is-live { border-color: var(--pop); color: var(--pop); }
.is-listening .talk-ring { animation-duration: 1.1s; }
.is-speaking .talk-ring { animation-duration: .7s; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .talk-ring { animation: none; opacity: .35; } }
.talk-pill.big { padding: 7px 26px 7px 7px; font-size: 1.1rem; min-height: 64px; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.95); }
.talk-pill.big .talk-orb { width: 50px; height: 50px; }
.talk-pill.big .talk-orb svg.talk-mic { width: 22px; height: 22px; }
@media (max-width: 1080px) { .header .talk-pill { padding: 4px; } .header .talk-pill .talk-label { display: none; } }
@media (max-width: 900px) { .wj-act .talk-pill.big { width: 100%; justify-content: center; } }

/* the conversation card: floats under the header, out of the way of the page */
.talk-card { position: fixed; right: 20px; top: 88px; z-index: 75; width: min(400px, calc(100vw - 24px)); max-height: calc(100svh - 110px); overflow-y: auto;
  padding: 16px 18px 14px; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 24px 60px rgba(20,40,60,.25); }
.talk-card[hidden] { display: none; }
.talk-card-top { display: flex; align-items: center; gap: 10px; }
.talk-card-top h2 { font-size: 1.15rem; margin: 0; }
.talk-orb.small { width: 26px; height: 26px; }
.talk-status { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--num); }
.talk-x { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 2px; }
.talk-heard { font-weight: 700; margin: 12px 0 4px; min-height: 1.2em; }
.talk-answer { margin: 0 0 10px; line-height: 1.4; }
.talk-results { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.talk-results a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 7px; border-radius: 14px; background: var(--bg); color: var(--ink); text-decoration: none; }
.talk-results img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.talk-results b { display: block; line-height: 1.2; font-size: .95rem; }
.talk-results small { display: block; color: var(--muted); }
.talk-results em { font-style: normal; font-weight: 700; color: var(--num); }
.talk-type { display: flex; gap: 8px; margin: 10px 0 6px; }
.talk-type input { flex: 1; }
.talk-ex, .talk-privacy { margin: 6px 0 0; }
@media (max-width: 900px) { .talk-card { top: auto; bottom: 92px; right: 12px; left: 12px; width: auto; max-height: 62svh; } }

/* header fits the talk pill: links never wrap; the pill shrinks to its orb before anything breaks */
.nav a { white-space: nowrap; }
.header .nav { gap: clamp(10px, 1.4vw, 24px); }
.header .container { gap: clamp(12px, 2vw, 32px); }
.header.fit-1 .talk-pill, .header.fit-2 .talk-pill, .header.fit-4 .talk-pill { padding: 4px; }
.header.fit-1 .talk-pill .talk-label, .header.fit-2 .talk-pill .talk-label, .header.fit-4 .talk-pill .talk-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* test-report fixes: header 800-1080px, hero button, Talk card header */
.nav-signout { font: inherit; font-size: 1.9rem; letter-spacing: -0.03em; padding: 10px 0; color: inherit; text-decoration: none; }
@media (max-width: 1080px) {
  .header .talk-pill .talk-label { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.start-btn, .wj-search button { white-space: nowrap; }
.talk-card-top { flex-wrap: wrap; }
.talk-card-top h2 { flex: 1; }
.talk-status { order: 5; flex-basis: 100%; margin-left: 0; }

/* header: nothing in it ever wraps; a script measures the fit in the page's language (fit-1: Talk pill to its orb;
   fit-2: language to its short code; fit-3: tighter spacing; fit-4: the menu button, as on small screens; fit-5: logo mark only) */
.header .container { max-width: 1760px; }  /* the bar may run wider than the page column, so longer languages keep the full menu */
.header .container > * { flex-shrink: 0; }
.header .nav { flex-shrink: 1; min-width: 0; }
.nav-actions, .nav-actions a, .nav-actions button, .nav-actions summary, .head-cta { white-space: nowrap; }
.header.fit-2 .nav-actions, .header.fit-4 .nav-actions { gap: 12px; }
.header.fit-4 .menu-toggle { display: block; }
.header.fit-4 .nav { display: none; position: fixed; inset: 76px 0 0 0; background: var(--bg); color: var(--ink); flex-direction: column; gap: 0; padding: 12px var(--m) 40px; }
.header.fit-4 .nav.open { display: flex; }
.header.fit-4 .nav a { font-size: 1.9rem; letter-spacing: -0.03em; padding: 10px 0; }
.header.fit-4 .nav-actions .hide-sm, .header.fit-4 .nav-actions .head-cta { display: none; }
.header.fit-4 .only-sm { display: block; }
.header.fit-3 .container { gap: 8px; }
.header.fit-3:not(.fit-4) .nav { gap: 12px; }
.header.fit-3 .nav-actions { gap: 8px; }
.header.fit-3 .lang-pick summary { gap: 5px; padding: 6px 8px 6px 7px; }
.header.fit-3 .logo { gap: 8px; }
.header.fit-5 .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* language picker: a filled, outlined pill with the language's own name, a globe and an arrow */
.lang-pick summary { gap: 8px; padding: 8px 12px 8px 10px; background: #fff; color: var(--ink); font-size: var(--step-small); font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--ink), 0 2px 10px rgba(31, 75, 100, .12); }
.lang-pick summary > svg:first-child { width: 20px; height: 20px; color: var(--pop); flex: none; }
.lang-pick summary:hover, .lang-pick[open] summary { box-shadow: inset 0 0 0 2px var(--pop), 0 4px 16px rgba(229, 96, 43, .22); }
.lang-pick .lang-caret { flex: none; transition: transform var(--t-ui) ease; }
.lang-pick[open] .lang-caret { transform: rotate(180deg); }
.lang-pick .lang-short { display: none; }
.header.fit-2 .lang-pick .lang-full, .header.fit-4 .lang-pick .lang-full { display: none; }
.header.fit-2 .lang-pick .lang-short, .header.fit-4 .lang-pick .lang-short { display: inline; }
@media (max-width: 1080px) { .lang-pick .lang-full { display: none; } .lang-pick .lang-short { display: inline; } .lang-pick summary { padding: 7px 10px 7px 8px; } }

/* hero actions: when the search, Get started and Talk to Canary don't fit on one row (longer languages, mid widths), they wrap */
@media (min-width: 901px) { .wj-act { flex-wrap: wrap; } .wj-search { flex: 1 1 380px; } }
/* big pill buttons never run off a narrow phone: they take the full width and may use two lines */
@media (max-width: 560px) { .start-btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; } }
/* language list: room for every English name, no ellipsis */
.lang-list { width: min(380px, calc(100vw - 24px)); }
.lang-list small { white-space: normal; overflow: visible; text-overflow: clip; }
/* county strip: columns may shrink below their caption, and a caption may wrap, so long place names never widen the page */
.county-strip .town { min-width: 0; }
.town .cap { flex-wrap: wrap; }
@media (max-width: 760px) { .county-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* buttons in table rows stay on one line: Chinese and Korean text may otherwise break between any two characters */
td .btn, th .btn, td button, td .link { white-space: nowrap; }
/* long unbreakable values (an email address, opening hours in longer languages) wrap inside their column instead of widening the page */
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.grid > * { min-width: 0; }
.kv { grid-template-columns: auto minmax(0, 1fr); }
.kv dd { min-width: 0; overflow-wrap: anywhere; }
/* portal side menu: sticky only beside the content; once the layout is one column it scrolls away like the rest of the page */
@media (max-width: 900px) { .sidenav { position: static; } }
/* portal pages: the content column may be narrower than a wide table; the table scrolls inside its card instead of widening the page */
.portal > * { min-width: 0; }
@media (max-width: 900px) { .portal { grid-template-columns: minmax(0, 1fr); } }
/* inside the portal (beside the side menu) three equal columns get too narrow for buttons and labels: as many 240px+ columns as fit */
.portal .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
/* a long status badge inside a table cell may wrap on a narrow screen rather than widen the page */
td .badge { white-space: normal; max-width: 100%; }
/* listing gallery: photos stay inside the gallery's fixed height whatever their own size, so they never run under the title or the price card */
.gallery { grid-template-rows: minmax(0, 1fr); }
.gallery .main, .gallery .side, .gallery .side > div { min-height: 0; }
.gallery .side { grid-template-rows: repeat(2, minmax(0, 1fr)); }

/* account: profile photo and two-step sign-in */
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 10px; }
.avatar-lg { width: 96px; height: 96px; margin-right: 0; flex: none; }
.avatar-none { display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: 2.4rem; font-weight: 700; }
.acct-photo { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.sidenav .who .avatar { float: left; margin-top: 2px; }
.totp-qr { width: 220px; max-width: 100%; margin: 4px 0 12px; }
.totp-qr svg { width: 100%; height: auto; display: block; }
.totp-key { font-size: 1.05rem; letter-spacing: .06em; word-break: break-all; }
.totp-codes { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 28px; font-size: 1.1rem; }
.sidenav .who { overflow-wrap: anywhere; }   /* a long email address wraps inside the menu */
/* photo credits: their own page, readable size; the footer only links to it */
.credits-page .credits { font-size: 1rem; line-height: 1.75; color: var(--ink); max-width: none; margin: 0 0 48px; }
.footer .legal { gap: 8px 20px; flex-wrap: wrap; }
.footer .legal span { margin-right: auto; }

/* HUD-owned homes: the buying rules panel on the listing page */
.hud-facts { margin: .6rem 0 .4rem; padding-left: 1.1rem; }
.hud-facts li { margin: .4rem 0; line-height: 1.45; }
