/* Shft-in site styles. Tokens from the Shft-in brand kit. */
/* Self-hosted fonts (Fontsource, SIL Open Font License 1.1). Latin + Latin Extended only (₹ lives in Latin Extended). */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(/assets/fonts/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/hanken-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/space-mono-latin-ext-400-normal.woff2) format('woff2'), url(/assets/fonts/space-mono-latin-ext-400-normal.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/space-mono-latin-400-normal.woff2) format('woff2'), url(/assets/fonts/space-mono-latin-400-normal.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --pine: #1f3a34;
  --pine-deep: #152b26;
  --clay: #d65a3b;
  --clay-dark: #b8462a;
  --clay-btn: #c4502f; /* clay darkened so white labels pass WCAG AA (4.6:1) */
  --sun: #f2c14e;
  --bone: #f6efe3;
  --cream: #fbf6ec;
  --ink: #17130f;
  --slate: #5a635e;
  --green: #2e7d4a;
  --err: #a8331a;
  /* Shape rule: interactive = pill, containers = 20px, inputs and small tags = 12px. */
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Semantic tokens. Neutral first: the brand clay is reserved for the primary
     action and a few small marks; pine survives only in the logo. */
  color-scheme: light;
  --page: #f4f4f1;
  --page-rgb: 244, 244, 241;
  --surface: #fafaf8;
  --card: #fdfdfc;
  --heading: #15181a;
  --text: #2a2e30;
  --muted: #5b6264;
  --accent-text: #b4442a;
  --tint: 21, 24, 26;
  --shade: 21, 24, 26;
  --line: rgba(var(--tint), .12);
  --tile-a: #e2e4df;
  --tile-b: #d3d6d0;
  --map-bg: #e5e7e2;
  --map-land: #f1f2ee;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #111413;
    --page-rgb: 17, 20, 19;
    --surface: #161a19;
    --card: #1b201e;
    --heading: #f1f2ef;
    --text: #d8dbd8;
    --muted: #9da4a1;
    --accent-text: #ee8665;
    --tint: 236, 238, 234;
    --shade: 0, 0, 0;
    --tile-a: #222826;
    --tile-b: #1a1f1d;
    --map-bg: #151918;
    --map-land: #1d2220;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 400 16px/1.55 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-bare { background: var(--page); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); background-size: 220px; opacity: .045; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { body::after { mix-blend-mode: screen; opacity: .03; } }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
main:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--clay-btn); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 960px; }
.wrap--mid { max-width: 1040px; }
.section { padding-block: clamp(60px, 8vw, 118px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--flush-top { padding-top: 0; }
.section--bone { background: var(--page); }
.section--cream { background: var(--surface); }
.measure-16 { max-width: 16ch; } .measure-18 { max-width: 18ch; } .measure-20 { max-width: 20ch; } .measure-24 { max-width: 24ch; }
.center { text-align: center; justify-content: center; margin-inline: auto; }


/* ---------- type ---------- */
.mono { font-family: var(--mono); letter-spacing: .06em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow--sun { color: var(--muted); } .eyebrow--clay { color: var(--accent-text); } .eyebrow--muted { color: var(--muted); margin: 0; font-size: 11px; }
.h-display { font: 700 clamp(42px, 6.2vw, 84px)/.96 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.h-page { font: 700 clamp(34px, 5.4vw, 72px)/.98 var(--display); letter-spacing: -.05em; text-wrap: balance; margin-bottom: 18px; }
.h-section { font: 700 clamp(32px, 4.6vw, 62px)/1.02 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.h-sub { font: 700 clamp(28px, 3.4vw, 46px)/1.04 var(--display); letter-spacing: -.04em; text-wrap: balance; margin-bottom: 14px; }
.h-block { font: 700 clamp(22px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.035em; color: var(--heading); margin: clamp(32px, 4vw, 48px) 0 18px; }
.h-block--lg { font-size: clamp(26px, 3.2vw, 42px); }
.h-closing { font: 700 clamp(34px, 6vw, 84px)/.98 var(--display); letter-spacing: -.05em; color: var(--heading); max-width: 16ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.58; max-width: 54ch; margin-top: clamp(16px, 2.2vw, 24px); }
.lede--light { color: var(--muted); }
.lede--light strong { color: var(--heading); }
.muted-lede { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.62; color: var(--muted); max-width: 46ch; margin-top: 14px; }
.small { font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.note-light { font-size: 14px; color: var(--muted); }
.clay, .accent { color: var(--accent-text); } .sun { color: var(--heading); }
.text-link { font-weight: 700; color: var(--heading); white-space: nowrap; }
.text-link:hover { color: var(--accent-text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 100px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1.1; cursor: pointer; text-align: center;
  transition: transform .18s ease-out, box-shadow .18s ease-out, background .18s ease-out, color .18s;
}
.btn .icon { width: 16px; height: 16px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--xs { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--xl { min-height: 58px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--clay { background: var(--clay-btn); color: #fff; box-shadow: 0 6px 16px rgba(196, 80, 47, .18); }
.btn--clay:hover { background: var(--clay-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(196, 80, 47, .22); }
.btn--ink { background: var(--heading); color: var(--page); }
.btn--ink:hover { color: var(--page); background: rgba(var(--tint), .86); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(var(--tint), .26); color: var(--heading); background: transparent; }
.btn--ghost:hover { background: rgba(var(--tint), .07); color: var(--heading); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: clamp(24px, 3vw, 34px); }

.icon { width: 18px; height: 18px; flex: none; }
.icon--sun { color: var(--heading); } .icon--clay { color: var(--accent-text); } .icon--green { color: var(--green); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand--dark { color: var(--heading); margin-bottom: 24px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark .mark-chevron, .photo__mark .mark-chevron { stroke: var(--clay); }
.wordmark { display: inline-flex; align-items: center; gap: .05em; font: 700 22px/1 var(--display); letter-spacing: -.05em; }
.wordmark__dot { width: .16em; height: .16em; border-radius: 50%; background: var(--clay); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 70; background: rgba(var(--page-rgb), .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); color: var(--heading); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.topbar__nav { display: flex; align-items: center; gap: clamp(4px, 1vw, 10px); }
.navlist { display: flex; gap: 2px; }
.navlist a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 100px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.navlist a:hover { color: var(--heading); background: rgba(var(--tint), .08); }
.navlist a[aria-current="page"] { color: var(--heading); background: rgba(var(--tint), .1); }
.topbar__toggle { display: none; background: none; border: 1.5px solid var(--line); color: var(--heading); width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; }
.saved-link { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--heading); margin-right: 4px; }
.saved-link:hover, .saved-link[aria-current="page"] { border-color: var(--heading); color: var(--heading); }
.saved-link__count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--radius-sm); background: var(--clay-btn); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.hero { background: var(--page); color: var(--heading); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(52px, 7vw, 88px); }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(var(--tint), .24); border-radius: 100px; padding: 7px 15px; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: clamp(18px, 3vw, 30px); }

.inventory { border: 1px solid rgba(var(--tint), .18); border-radius: var(--radius); overflow: hidden; background: rgba(var(--tint), .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.inventory__head { padding: 20px 22px 16px; border-bottom: 1px solid rgba(var(--tint), .14); }
.inventory__title { font: 700 clamp(20px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.025em; margin-top: 6px; }
.inventory__list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 22px; border-bottom: 1px solid rgba(var(--tint), .09); font-size: 14px; font-weight: 600; color: var(--muted); }
.inventory__nums { display: flex; align-items: center; gap: 10px; flex: none; }
.inventory__nums .mono { font-size: 12px; color: var(--muted); font-weight: 400; }
.inventory__nums strong { font: 700 15px var(--display); color: var(--heading); min-width: 38px; text-align: right; }
.inventory__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; }
.inventory__foot .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.inventory__foot a { font-size: 13px; font-weight: 700; color: var(--heading); }

/* ---------- stats & marquee ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: clamp(22px, 3vw, 40px); }
.stats--compact { margin-bottom: clamp(20px, 3vw, 40px); }
.stat__n { display: flex; align-items: baseline; font: 700 clamp(44px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.055em; color: var(--heading); padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid rgba(var(--tint), .2); }
.stats--compact .stat__n { font-size: clamp(38px, 4.6vw, 62px); }
.stat__l { font-size: 14px; font-weight: 600; color: var(--muted); }
.section--bone > .marquee { margin-top: clamp(44px, 6vw, 80px); margin-bottom: calc(-1 * clamp(60px, 8vw, 118px)); }
.marquee { border-block: 1px solid rgba(var(--tint), .14); background: var(--surface); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; padding: 0 28px; font: 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--heading); white-space: nowrap; }

/* ---------- swaps ---------- */
.swaps { margin-top: clamp(32px, 5vw, 58px); border-bottom: 1px solid var(--line); }
.swap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2.4vw, 44px); padding: clamp(16px, 2.4vw, 26px) 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; }
.swap p { display: flex; align-items: flex-start; gap: 12px; }
.swap__old { color: var(--muted); }
.swap__new { color: var(--heading); font-weight: 600; }
.swap__x, .swap__tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.swap__x { border: 1.5px solid rgba(var(--tint), .32); color: var(--muted); }
.swap__tick { background: var(--heading); color: var(--page); }
.swap__x .icon, .swap__tick .icon { width: 12px; height: 12px; stroke-width: 3.2; }

/* ---------- split headers & tiles ---------- */

/* ---------- room types ---------- */

/* ---------- photos ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--tile-a); }
.photo--tile { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; color: rgba(var(--tint), .1); background: linear-gradient(150deg, var(--tile-a), var(--tile-b)); }
.photo--tile.tone-1 { background: linear-gradient(200deg, var(--tile-a), var(--tile-b)); }
.photo--tile.tone-2 { background: linear-gradient(120deg, var(--tile-b), var(--tile-a)); }
.photo__mark { width: 26%; max-width: 110px; min-width: 40px; }
.photo--tile .photo__mark .mark-chevron { stroke: currentColor; }

/* ---------- home cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cards--two { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.home-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s; }
.home-card:hover, .home-card.is-hot { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(var(--shade), .16); border-color: rgba(var(--tint), .28); }
.home-card__media { position: relative; aspect-ratio: 16 / 11; }
.home-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.home-card__t { font: 700 19px/1.2 var(--display); letter-spacing: -.025em; color: var(--heading); }
.home-card__t a:hover { color: var(--accent-text); }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.home-card__area { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.home-card__area .icon { width: 14px; height: 14px; }
.home-card__rooms { font-size: 14px; color: var(--muted); flex: 1; }
.home-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 11px; margin-top: 4px; border-top: 1px solid var(--line); }
.home-card__price strong { font: 700 19px var(--display); color: var(--text); }
.home-card__price small { font-size: 12.5px; color: var(--muted); }
.home-card__beds { font-size: 12px; color: var(--muted); }
.home-card .badge { position: absolute; top: 12px; left: 12px; }

.heart { position: absolute; z-index: 2; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .16s, color .16s; }
.heart:hover { transform: scale(1.08); color: var(--accent-text); }
.heart[aria-pressed="true"] { color: var(--accent-text); }
.heart .heart__on { display: none; }
.heart[aria-pressed="true"] .heart__on { display: block; }
.heart[aria-pressed="true"] .heart__off { display: none; }
.heart--inline { position: static; width: 100%; height: auto; min-height: 44px; gap: 8px; border-radius: 100px; background: transparent; font-weight: 700; font-size: 14px; margin-top: 10px; }

/* ---------- steps ---------- */

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { font: 500 clamp(17px, 1.5vw, 20px)/1.4 var(--display); letter-spacing: -.02em; color: var(--heading); flex: 1; }
.quote figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.quote figcaption strong { color: var(--text); }

/* ---------- owner teaser ---------- */
.owner-teaser { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(26px, 3.4vw, 44px); border-bottom: 1px solid rgba(var(--tint), .18); }
.faq__item { border-top: 1px solid rgba(var(--tint), .18); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: clamp(18px, 2.2vw, 24px) 0; font: 600 clamp(17px, 1.5vw, 21px)/1.3 var(--display); letter-spacing: -.02em; color: var(--heading); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__mark { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(var(--tint), .24); }
.faq__mark::before, .faq__mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--heading); transform: translate(-50%, -50%); transition: transform .2s; }
.faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--muted); max-width: 64ch; padding-bottom: 24px; }
.faq__more { margin-top: 22px; }
.faq--cards { border: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 0; }
.faq--cards .faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 20px; }
.faq--cards .faq__item summary { font-size: 16.5px; padding: 18px 0; }
.faq--cards .faq__item p { padding-bottom: 18px; font-size: 15px; }

.closing .muted-lede { max-width: 50ch; margin-top: clamp(18px, 2.4vw, 26px); }
.closing .small { margin-top: 18px; }

/* ---------- page heads ---------- */
.page-head { background: var(--page); color: var(--heading); padding-block: clamp(44px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.page-head--tight { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 44px); }
.page-head .lede { margin-top: 0; }
.back-link { display: inline-flex; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: clamp(20px, 3vw, 30px); min-height: 32px; align-items: center; }
.back-link:hover { color: var(--heading); }

/* ---------- filters / explore ---------- */
.filters { margin-top: clamp(24px, 3vw, 36px); margin-bottom: calc(-1 * clamp(28px, 4vw, 44px)); background: var(--surface); border-top: 1px solid var(--line); padding-block: 16px; }
.filters__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; align-items: end; }
.filters__grid > .filters__end { grid-column: 4; grid-row: 2; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 100px; border: 1.5px solid rgba(var(--tint), .24); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .16s; }
.chip input:checked + span { background: var(--heading); border-color: var(--heading); color: var(--page); }
.chip input:focus-visible + span { outline: 2.5px solid var(--heading); outline-offset: 2px; }
.filters__end { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.filters__count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--heading); }
.filters__clear { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.explore { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 32px); align-items: start; padding-block: clamp(28px, 4vw, 48px) clamp(60px, 8vw, 110px); }
.explore__map { position: sticky; top: 88px; }
.explore__note { margin-top: clamp(22px, 3vw, 34px); }
.empty { border: 1.5px dashed rgba(var(--tint), .28); border-radius: var(--radius); padding: clamp(36px, 6vw, 64px) 24px; text-align: center; margin-bottom: 20px; }
.empty__t { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--display); letter-spacing: -.03em; color: var(--heading); margin-bottom: 10px; }
.empty p { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 44ch; margin: 0 auto; }
.empty .btn-row { margin-top: 22px; }

/* ---------- map ---------- */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--map-bg); border: 1px solid var(--line); }
.map__svg { width: 100%; height: auto; }
.map__bg { fill: var(--map-bg); }
.map__region { fill: var(--map-land); stroke: transparent; stroke-width: 4; transition: stroke .3s, fill .3s; }
.map__region.is-on { stroke: var(--heading); fill: rgba(var(--tint), .03); }
.map__river { fill: rgba(120, 170, 190, .16); }
.map__park { fill: rgba(140, 170, 95, .2); }
.map__roads path { stroke: rgba(var(--tint), .09); stroke-width: 10; fill: none; stroke-linecap: round; }
.map__metro { stroke: rgba(var(--tint), .3); stroke-width: 4; stroke-dasharray: 2 14; stroke-linecap: round; fill: none; }
.map__stations circle { fill: rgba(var(--tint), .4); }
.map__city { fill: rgba(var(--tint), .34); font: 700 26px var(--mono); letter-spacing: 4px; }
.map__park-label, .map__river-label { font: 14px var(--mono); letter-spacing: 3px; }
.map__park-label { fill: rgba(140, 170, 95, .7); }
.map__river-label { fill: rgba(140, 190, 210, .55); }
.pin { cursor: pointer; outline: none; }
.pin__label { fill: var(--heading); stroke: var(--map-land); stroke-width: 3; transition: fill .16s; }
.pin__text { fill: var(--page); font: 700 21px var(--display); pointer-events: none; }
.pin__stem { stroke: var(--heading); stroke-width: 3; }
.pin__dot { fill: var(--heading); stroke: var(--map-land); stroke-width: 3; }
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin.is-hot .pin__label, .pin.is-focus .pin__label { fill: var(--clay-btn); }
.pin:hover .pin__text, .pin:focus-visible .pin__text, .pin.is-hot .pin__text, .pin.is-focus .pin__text { fill: #fff; }
.pin:hover .pin__stem, .pin.is-hot .pin__stem, .pin.is-focus .pin__stem { stroke: var(--clay-btn); }
.pin:hover .pin__dot, .pin.is-hot .pin__dot, .pin.is-focus .pin__dot { fill: var(--clay-btn); }
.pin:focus-visible .pin__label { stroke: var(--heading); stroke-width: 5; }
.map__legend { position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .92); color: var(--heading); border-radius: 100px; padding: 7px 14px; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--clay { background: var(--clay); }
.map__card { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--card); color: var(--text); border-radius: var(--radius); padding: 12px 12px 12px 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); animation: rise .2s ease-out; }
.map__card-name { font: 700 15px var(--display); flex: 1 1 auto; }
.map__card-meta { font-size: 13px; color: var(--muted); flex: 1 1 100%; order: 3; }
.map--small { margin-top: 18px; }
.map--small .map { box-shadow: none; }

/* ---------- property ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: clamp(24px, 3.5vw, 40px); height: clamp(300px, 42vw, 520px); }
.gallery > * { border-radius: var(--radius); overflow: hidden; }
.gallery__main { grid-row: span 2; }
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.facts__n { font: 700 24px var(--display); letter-spacing: -.03em; color: var(--heading); }
.facts__l { font-size: 13px; color: var(--muted); line-height: 1.35; }
.unit-list { border-bottom: 1px solid var(--line); }
.unit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); }
.unit__t { font: 700 17px var(--display); letter-spacing: -.02em; color: var(--heading); }
.unit__d { font-size: 14px; color: var(--muted); margin-top: 3px; }
.unit__end { display: flex; align-items: center; gap: 16px; }
.unit__price { font: 700 19px var(--display); }
.unit__price small { font: 400 12.5px var(--body); color: var(--muted); }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.amenities li { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--heading); }
.amenities .icon { width: 15px; height: 15px; stroke-width: 3; }
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.nearby li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.nearby span { font-size: 13px; color: var(--muted); }
.visit-card { position: sticky; top: 92px; border: 1px solid rgba(var(--tint), .18); border-radius: var(--radius); background: var(--surface); padding: clamp(22px, 2.6vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.visit-card .eyebrow { margin-bottom: 0; }
.visit-card__price { font: 700 30px var(--display); letter-spacing: -.03em; }
.visit-card__price small { font: 400 14px var(--body); color: var(--muted); }
.visit-card__t { font: 700 clamp(21px, 2.1vw, 25px)/1.12 var(--display); letter-spacing: -.03em; color: var(--heading); }
.visit-card__d { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-bottom: 6px; }
.visit-card__call { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--heading); min-height: 40px; }
.visit-card__call .icon { width: 15px; height: 15px; }
.more-homes { padding-block: clamp(40px, 6vw, 80px); }

/* ---------- forms ---------- */
.visit { background: var(--page); color: var(--heading); min-height: 70vh; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 60px); align-items: start; padding-block: clamp(44px, 6vw, 88px) clamp(60px, 8vw, 110px); }
.assure { margin-top: 26px; }
.assure li { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; font-size: 15.5px; color: var(--muted); }
.assure .icon { margin-top: 3px; }
.form-card { background: var(--page); color: var(--text); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: 0 34px 74px rgba(0, 0, 0, .32); }
.form-card--cream { background: var(--surface); border: 1.5px solid var(--line); box-shadow: none; }
.form-card__t { font: 700 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -.03em; color: var(--heading); margin-bottom: 6px; }
.form-card__d { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--heading); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 15px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(var(--tint), .22); background: var(--card); font-size: 16px; color: var(--text);
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { padding: 13px 15px; min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { cursor: pointer; font-weight: 600; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--heading); box-shadow: 0 0 0 3px rgba(var(--shade), .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__error { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--err); }
.field__error .icon { width: 15px; height: 15px; margin-top: 2px; }
.field--dark label { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field--dark input, .field--dark select { min-height: 46px; background: var(--card); color: var(--text); border-color: rgba(var(--tint), .2); font-size: 15px; }
.field--dark select option { color: #17130f; background: var(--card); }
.field--dark input::placeholder { color: var(--muted); }
.field--dark input:focus, .field--dark select:focus { border-color: var(--heading); box-shadow: 0 0 0 3px rgba(var(--tint), .1); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--heading); cursor: pointer; }
.consent label { cursor: pointer; }
.consent a { color: var(--heading); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error label { color: var(--err); }
.form__fine { font-size: 13px; color: var(--muted); text-align: center; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; background: rgba(168, 51, 26, .08); border: 1px solid rgba(168, 51, 26, .3); color: var(--err); border-radius: var(--radius-sm); padding: 13px 15px; margin-bottom: 18px; font-size: 14px; }
.form-alert .icon { margin-top: 1px; }
.form-alert ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
.form-alert a { color: var(--err); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { animation: rise .3s ease-out; outline: none; }
.success__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--heading); margin-bottom: 18px; }
.success__icon .icon { width: 22px; height: 22px; stroke-width: 3; }
.success__t { font: 700 clamp(24px, 2.6vw, 32px)/1.08 var(--display); letter-spacing: -.035em; color: var(--heading); margin-bottom: 12px; }
.success p { font-size: 15.5px; line-height: 1.62; color: var(--muted); margin-bottom: 14px; }
.success__ref .mono { color: var(--text); font-weight: 700; }
.note-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 2px solid rgba(var(--tint), .12); border-radius: var(--radius); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 28px rgba(23, 19, 15, .05); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.plan__t { font: 700 22px var(--display); letter-spacing: -.02em; color: var(--heading); }
.plan__price { font: 700 38px/1 var(--display); letter-spacing: -.04em; }
.plan__price small { font: 600 14px var(--body); color: var(--muted); letter-spacing: 0; }
.plan__dep { font-size: 13.5px; font-weight: 700; color: var(--heading); }
.plan__note { font-size: 15px; line-height: 1.55; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan__feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; flex: 1; }
.plan__feats li { display: flex; gap: 9px; font-size: 15px; }
.plan__feats .icon { width: 17px; height: 17px; margin-top: 2px; stroke-width: 3; }
.calc { overflow: hidden; background: var(--page); color: var(--heading); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 4vw, 40px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 100px; border: 1.5px solid rgba(var(--tint), .26); background: transparent; color: var(--heading); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip-link:hover { color: var(--heading); border-color: var(--heading); }
.chip-link.is-on { background: var(--heading); color: var(--page); border-color: var(--heading); }
.chip-link--light { border-color: rgba(var(--tint), .18); color: var(--heading); background: var(--card); }
.chip-link--light:hover { color: var(--heading); border-color: var(--heading); }
.chip-link--light.is-on { background: var(--heading); color: var(--page); border-color: var(--heading); }
.chip-link abbr { text-decoration: none; }
.chip-row--light { margin-top: 0; }
.calc__box { background: rgba(var(--tint), .06); border: 1px solid rgba(var(--tint), .14); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
.calc__rows dt { color: var(--muted); }
.calc__rows dd { font: 700 19px var(--display); }
.calc__total { border-top: 1px solid rgba(var(--tint), .18); margin-top: 6px; padding-top: 14px !important; }
.calc__total dt { color: var(--heading); font-weight: 700; }
.calc__total dd { font-size: 28px; color: var(--heading); }
.calc__compare { background: rgba(var(--tint), .05); border-radius: var(--radius); padding: 14px 16px; font-size: 14.5px; line-height: 1.55; }
.calc__compare a { color: var(--accent-text); text-decoration: underline; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); margin-top: 26px; }
.compare, .leads { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.compare th, .compare td, .leads th, .leads td { text-align: left; padding: 14px 20px; border-bottom: 1px solid rgba(var(--tint), .08); vertical-align: top; }
.compare thead th { background: rgba(var(--tint), .05); color: var(--heading); font-size: 13px; letter-spacing: .04em; }
.compare thead .compare__us { color: var(--heading); }
.compare tbody th { font-weight: 700; color: var(--text); width: 26%; }
.compare tbody .compare__us { font-weight: 700; color: var(--heading); background: rgba(var(--tint), .04); }
.compare td { color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* ---------- life ---------- */
.life-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: clamp(36px, 5vw, 64px); }
.life-gallery__item { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--surface); padding: clamp(22px, 2.6vw, 30px); }
.pillar .eyebrow { margin-bottom: 12px; }
.pillar__t { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; color: var(--heading); margin-bottom: 8px; }
.pillar__d { font-size: 15px; line-height: 1.6; color: var(--muted); }
.day-tabs { display: flex; flex-wrap: wrap; gap: 7px; justify-self: end; }
.meals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.meal { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; }
.meal .eyebrow { margin-bottom: 12px; font-size: 11px; }
.meal__d { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--heading); }
.meal--dark { background: var(--surface); border-color: var(--heading); }
.meal--dark .meal__d { color: var(--heading); }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.event { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.event__tag { align-self: flex-start; font-size: 11px; text-transform: uppercase; background: rgba(var(--tint), .08); color: var(--heading); padding: 5px 9px; border-radius: 7px; margin-bottom: 8px; }
.event__t { font: 700 20px var(--display); letter-spacing: -.02em; }
.event__when { font-weight: 700; color: var(--heading); font-size: 14px; }
.event__where { font-size: 14px; color: var(--muted); }

/* ---------- owners ---------- */
.owner-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.owner-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(var(--tint), .2); border: 1px solid rgba(var(--tint), .2); border-radius: var(--radius); overflow: hidden; }
.owner-stats > div { background: var(--card); padding: clamp(18px, 2.4vw, 26px); }
.owner-stats dt { font: 700 clamp(26px, 3vw, 40px)/1 var(--display); letter-spacing: -.045em; color: var(--heading); }
.owner-stats dd { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.owner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.estimator { overflow: hidden; background: var(--page); color: var(--heading); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.estimator .lede { margin-top: 0; font-size: 15px; }
.estimator label { display: flex; justify-content: space-between; align-items: baseline; }
.estimator__rooms { font: 700 22px var(--display); color: var(--heading); letter-spacing: 0; text-transform: none; }
.estimator input[type="range"] { min-height: 32px; padding: 0; background: transparent; border: 0; accent-color: var(--heading); }
.estimator__out { background: rgba(var(--tint), .05); border-radius: var(--radius); padding: 20px; }
.estimator__out .eyebrow { margin-bottom: 6px; font-size: 11px; }
.estimator__n { font: 700 clamp(28px, 3vw, 36px) var(--display); letter-spacing: -.03em; }
.estimator__n small { font: 600 14px var(--body); color: var(--muted); }
.estimator__y { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- about ---------- */
.principles { border-bottom: 1px solid rgba(var(--tint), .18); }
.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(8px, 2vw, 32px); padding: clamp(18px, 2.4vw, 26px) 0; border-top: 1px solid rgba(var(--tint), .18); }
.principle dt { font: 700 clamp(18px, 1.7vw, 23px)/1.2 var(--display); letter-spacing: -.03em; color: var(--heading); }
.principle dd { font-size: 15.5px; line-height: 1.62; color: var(--muted); }
.founder { display: grid; grid-template-columns: 200px 1fr; gap: clamp(18px, 3vw, 34px); align-items: center; margin-top: clamp(40px, 6vw, 72px); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 36px); }
.founder__img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.founder__note { font: 500 clamp(17px, 1.6vw, 21px)/1.42 var(--display); letter-spacing: -.02em; color: var(--heading); margin-bottom: 14px; }
.founder figcaption { font-size: 14px; color: var(--muted); }

/* ---------- help ---------- */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: clamp(30px, 4vw, 44px); }
.channel { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.channel .eyebrow { margin-bottom: 6px; font-size: 11px; }
.channel:hover { border-color: var(--accent-text); color: inherit; }
.channel__v { font: 700 19px/1.25 var(--display); color: var(--heading); word-break: break-word; }
.channel__m { font-size: 13px; color: var(--muted); }
.channel--dark { background: var(--surface); border-color: var(--heading); }
.channel--dark .channel__v { color: var(--heading); }
.channel--dark .channel__m { color: var(--muted); }
.help-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.help-panel + .help-panel { margin-top: 28px; }
.help-panel .h-block { margin-top: 0; font-size: 22px; }
.help-faq.is-tabbed .help-panel + .help-panel { margin-top: 0; }
.help-faq.is-tabbed .help-panel .h-block { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.help-faq.is-tabbed .chip-row { margin-bottom: 18px; }

/* ---------- saved ---------- */
.saved-list { display: flex; flex-direction: column; gap: 12px; }
.saved-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.saved-item__t { font: 700 19px var(--display); letter-spacing: -.02em; color: var(--heading); }
.saved-item__m { font-size: 14px; color: var(--muted); margin-top: 2px; }
.saved-item__end { display: flex; align-items: center; gap: 10px; }
.saved-item__remove { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.saved-item__remove:hover { border-color: var(--accent-text); color: var(--accent-text); }
.saved-item__remove .icon { width: 16px; height: 16px; }

/* ---------- prose (legal) ---------- */
.prose { font-size: 16px; line-height: 1.7; color: var(--text); }
.prose h2 { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; color: var(--heading); margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: rgba(var(--tint), .05); color: var(--heading); font-size: 13px; }

/* ---------- footer ---------- */
.footer { background: var(--page); color: var(--heading); padding-block: clamp(44px, 5.5vw, 72px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.footer__brand p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 34ch; margin-top: 16px; }
.footer__h { font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--heading); margin-bottom: 12px; }
.footer__grid a:not(.brand) { display: block; font-size: 14.5px; color: var(--muted); padding: 7px 0; word-break: break-word; }
.footer__grid a:not(.brand):hover { color: var(--heading); }
.footer__phone { font: 700 19px var(--display) !important; color: var(--heading) !important; }
.footer__small { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 10px; }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.footer__base .mono { font-size: 11.5px; color: var(--muted); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { font-size: 13px; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.footer__legal a:hover { color: var(--heading); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(var(--page-rgb), .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.35; animation: slide-up .28s ease-out; }
.sticky-cta strong { color: var(--heading); }

/* ---------- admin ---------- */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--page); }
.admin-login .form-card { width: 100%; max-width: 420px; }
.admin-bar { background: var(--page); color: var(--heading); }
.admin-bar__inner { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.admin-bar__title { flex: 1; font-size: 12px; text-transform: uppercase; color: var(--heading); }
.admin { padding-block: 28px 60px; }
.admin__filters { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.leads td { font-size: 14px; }
.leads thead th { background: rgba(var(--tint), .05); color: var(--heading); font-size: 12.5px; }
.leads tr.is-new td:first-child { box-shadow: inset 4px 0 0 var(--clay); }
.leads__details { max-width: 360px; color: var(--muted); }
.leads__status { display: flex; gap: 6px; align-items: center; }
.leads__status select { min-height: 36px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: 0 8px; background: var(--card); }
.leads__delete summary { cursor: pointer; font-size: 13px; color: var(--err); font-weight: 600; list-style: none; }
.leads__delete summary::-webkit-details-marker { display: none; }
.leads__delete form { margin-top: 8px; }
.pager { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 18px; font-weight: 700; }

/* ---------- motion ---------- */
.reveal { transition: opacity .46s cubic-bezier(.22, .7, .3, 1), transform .46s cubic-bezier(.22, .7, .3, 1); }
.reveal.is-pending { opacity: 0; transform: translateY(22px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .explore { grid-template-columns: 1fr; }
  .explore__map { position: static; order: -1; }
  .filters__grid { grid-template-columns: 1fr 1fr; }
  .filters__grid > .field:first-child { grid-column: 1 / -1; }
  .chips { grid-column: 1 / -1; }
  .filters__grid > .filters__end { grid-column: 1 / -1; grid-row: auto; justify-content: space-between; }
  .navlist a { padding: 0 9px; font-size: 14px; }
}
@media (max-width: 960px) {
  .hero__grid, .visit__grid, .detail, .owner-grid, .help-grid { grid-template-columns: 1fr; }
  .visit-card { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .life-gallery { grid-template-columns: repeat(3, 1fr); }
  .life-gallery > :nth-child(n+4) { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .day-tabs { justify-self: start; }
}
@media (max-width: 860px) {
  .topbar__toggle { display: inline-flex; }
  .topbar__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--gutter) 20px; background: var(--page); border-bottom: 1px solid var(--line); }
  .topbar__nav.is-open { display: flex; }
  .navlist { flex-direction: column; }
  .navlist a { min-height: 48px; font-size: 16px; padding: 0 8px; border-radius: var(--radius-sm); }
  .saved-link { width: auto; height: 48px; border-radius: var(--radius-sm); justify-content: flex-start; padding: 0 8px; gap: 10px; border: 0; margin: 0; }
  .saved-link .sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; font-weight: 600; font-size: 16px; }
  .saved-link__count { position: static; }
  .no-js .topbar__nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; border: 0; }
  .no-js .topbar__toggle { display: none; }
  .no-js .topbar__inner { flex-wrap: wrap; padding-block: 8px; }
  .sticky-cta { display: flex; }
}
@media (max-width: 720px) {
  .swap { grid-template-columns: 1fr; }
  .owner-teaser { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(320px, 90vw, 460px); }
  .gallery__main { grid-row: auto; grid-column: 1 / -1; }
  .principle { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__img { max-width: 160px; }
  .pin__label, .pin__text, .pin__stem { display: none; }
  .pin__dot { r: 14; }
  .map__city { font-size: 34px; }
  .footer { padding-bottom: 100px; }
  .table-wrap { border-radius: var(--radius); }
}
@media (max-width: 480px) {
  .home-card__media { aspect-ratio: 16 / 9; }
  .footer__grid { grid-template-columns: 1fr; }
  .inventory__nums .mono { display: none; }
  .life-gallery { grid-template-columns: 1fr 1fr; }
  .life-gallery > :nth-child(n+3) { display: none; }
  .btn--lg, .btn--xl { width: 100%; }
  .unit__end { width: 100%; justify-content: space-between; }
}
@media print {
  .topbar, .sticky-cta, .footer, .heart { display: none !important; }
  body { background: #fff; }
}


/* ---------- redesign pass: layout families ---------- */
.eyebrow:not([class*="eyebrow--"]) { color: var(--muted); }
.h-section, .h-sub, .h-closing { color: var(--heading); }
.dark-block .h-section, .dark-block .h-sub, .panel-dark .h-sub, .page-head .h-page, .calc .h-sub, .estimator .h-sub { color: var(--heading); }
.section--page { background: var(--page); }
.section--surface { background: var(--surface); }
.section--bone { background: var(--page); }
.section--cream { background: var(--surface); }
.section--stats { padding-bottom: 0; }
.section--stats .marquee { margin-top: clamp(44px, 6vw, 72px); }
.stack-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.stack-head .muted-lede, .stack-head .lede { margin-top: 0; }
.stack-head .text-link { display: inline-flex; align-items: center; gap: 8px; }
.stack-head .text-link .icon { width: 16px; height: 16px; }
.page-head .stack-head { margin-bottom: 0; }

.dark-block { background: var(--page); color: var(--heading); }
.dark-block .hero { background: transparent; }
.swaps-section { padding-top: clamp(28px, 4vw, 48px); }
.pill { display: inline-flex; border: 1px solid rgba(var(--tint), .24); border-radius: 100px; padding: 7px 15px; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: clamp(18px, 3vw, 28px); }
.inventory__title { font: 700 clamp(20px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.025em; padding: 20px 22px 16px; border-bottom: 1px solid rgba(var(--tint), .14); margin: 0; }
.inventory__list li > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.inventory__city { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.inventory__nums { flex-direction: column; align-items: flex-end !important; gap: 2px !important; }
.inventory__nums span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.inventory__nums strong { min-width: 0; }

/* Bento: photo + three groups, exactly four cells */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bento__photo { grid-row: span 2; border-radius: var(--radius); min-height: 360px; overflow: hidden; }
.bento__cell { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); }
.bento__cell--room { background: var(--card); border: 1px solid var(--line); grid-column: span 2; }
.bento__cell--building { background: var(--surface); color: var(--heading); }
.bento__cell--bill { background: var(--heading); color: var(--page); }
.bento__t { font: 700 clamp(20px, 1.8vw, 24px)/1.2 var(--display); letter-spacing: -.025em; margin-bottom: 14px; }
.bento__cell--room .bento__t { color: var(--heading); }
.bento__list { display: grid; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.bento__cell--room .bento__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); color: var(--text); }
.bento__list li { display: flex; gap: 10px; align-items: flex-start; }
.bento__list .icon { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.bento__cell--room .icon { color: var(--heading); }
.bento__cell--building .icon { color: var(--heading); }

/* Rooms: photo + priced rows */
.rooms-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rooms-split__photo { border-radius: var(--radius); aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: 96px; }
.room-rows { margin-top: clamp(22px, 3vw, 32px); }
.room-row { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; }
.room-row + .room-row { border-top: 1px solid var(--line); }
.room-row__t { font: 700 20px/1.2 var(--display); letter-spacing: -.025em; color: var(--heading); }
.room-row__d { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 6px; max-width: 46ch; }
.room-row__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; text-align: right; }
.room-row__price { font: 700 21px var(--display); color: var(--heading); white-space: nowrap; }
.room-row__price small { font: 500 12.5px var(--body); color: var(--muted); }

/* How it works: heading left, steps right */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.how__h { position: sticky; top: 100px; }
.how__steps { display: grid; gap: clamp(22px, 3vw, 34px); }
.how__step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.how__n { font: 700 clamp(44px, 4.4vw, 58px)/.9 var(--display); letter-spacing: -.05em; color: rgba(var(--tint), .3); }
.how__t { font: 700 clamp(19px, 1.7vw, 23px)/1.2 var(--display); letter-spacing: -.025em; color: var(--heading); margin-bottom: 6px; }
.how__d { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* Dark panel inside a light page (owners teaser, closing bands) */
.panel-dark { background: var(--surface); color: var(--heading); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); }
.panel-dark .lede { max-width: 52ch; }

/* Owners: what we take on */
.takes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(28px, 5vw, 64px); margin-top: clamp(28px, 3.6vw, 44px); }
.takes dt { font: 700 clamp(18px, 1.6vw, 21px)/1.25 var(--display); letter-spacing: -.02em; color: var(--heading); margin-bottom: 6px; }
.takes dd { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 48ch; }

.home-card__tag { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.unit__ask { font: 600 14px var(--body); color: var(--muted); }
.text-link { color: var(--heading); }
.btn:active { transform: translateY(1px); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__photo { grid-row: auto; grid-column: 1 / -1; min-height: 240px; }
  .bento__cell--room { grid-column: 1 / -1; }
  .rooms-split, .how { grid-template-columns: 1fr; }
  .rooms-split__photo { position: static; aspect-ratio: 16 / 10; }
  .how__h { position: static; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .takes { grid-template-columns: 1fr; }
  .room-row { flex-direction: column; gap: 10px; }
  .room-row__end { flex-direction: row; align-items: baseline; justify-content: space-between; width: 100%; }
  .how__step { grid-template-columns: 44px 1fr; }
}

/* Dark-theme component tweaks (after base rules so they win). */
@media (prefers-color-scheme: dark) {
  .panel-dark, .calc, .estimator, .meal--dark, .channel--dark { box-shadow: inset 0 0 0 1px rgba(var(--tint), .1); }
  .home-card:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
}
.owner-hero .btn { margin-top: 26px; }

/* ---------- commute and who-it's-for on cards ---------- */
.home-card__for { color: var(--muted); }
.home-card__for:not(:empty)::before { content: "·"; margin: 0 .5em; color: var(--muted); }
.home-card__commute { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font: 600 13px/1.3 var(--body); color: var(--heading); background: rgba(var(--tint), .08); border-radius: 100px; padding: 5px 11px; }
.home-card__commute[hidden] { display: none; }

/* ---------- hero finder ---------- */
.finder { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; box-shadow: 0 24px 48px rgba(var(--shade), .1); }
.finder__t { font: 700 clamp(20px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.025em; color: var(--heading); padding: 20px 22px 0; margin: 0; }
.finder__body { display: grid; gap: 14px; padding: 16px 22px 22px; }
.finder__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finder__foot { display: flex; justify-content: space-between; gap: 12px; padding: 13px 22px; border-top: 1px solid rgba(var(--tint), .12); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finder__foot strong { color: var(--heading); font-weight: 400; margin-left: 6px; }
@media (max-width: 400px) { .finder__row { grid-template-columns: 1fr; } }

/* ---------- property: cost, rules ---------- */
.eyebrow__sep { margin: 0 .6em; opacity: .6; }
.cost { margin-top: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(18px, 2.4vw, 26px); }
.cost .h-block { margin-top: 0; }
.cost__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin: 14px 0 18px; }
.cost__rows { display: grid; gap: 0; margin: 0 0 14px; }
.cost__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cost__rows dt { color: var(--muted); }
.cost__rows dd { margin: 0; font: 700 16px var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.cost__strong dt { color: var(--heading); font-weight: 700; }
.cost__strong dd { color: var(--accent-text); font-size: 20px; }
.rules { display: grid; gap: 10px; padding: 0; margin: 14px 0 0; list-style: none; counter-reset: rule; }
.rules li { position: relative; padding-left: 36px; color: var(--text); counter-increment: rule; }
.rules li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 12px var(--mono); color: var(--accent-text); }
@media (max-width: 480px) { .cost__form { grid-template-columns: 1fr 1fr; } }

/* ---------- compare homes ---------- */
.vs { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--surface); min-width: 600px; }
.vs th, .vs td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.vs thead th { font: 700 18px/1.25 var(--display); letter-spacing: -.02em; color: var(--heading); }
.vs thead th a:hover { color: var(--accent-text); }
.vs tbody th, .vs thead td { width: 120px; font: 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.vs__rooms, .vs__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.vs__rooms li { display: flex; justify-content: space-between; gap: 10px; }
.vs__rooms small { font-size: 12px; color: var(--muted); font-weight: 400; }
.vs__list strong { color: var(--accent-text); }
.vs__note { margin-top: 14px; }
.muted { color: var(--muted); }
.compare-pick { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 18px; }
.compare-pick .h-block { margin: 0; }
.compare-pick__set { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 18px; }
.compare-pick__set legend { font: 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.compare-pick .btn { justify-self: start; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--heading); cursor: pointer; flex: none; }

/* ---------- visit modes ---------- */
.modes { border: 0; padding: 0; margin: 0 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.modes legend { font-size: 13.5px; font-weight: 700; color: var(--heading); margin-bottom: 8px; padding: 0; }
.modes .field__error { grid-column: 1 / -1; }
.mode { position: relative; cursor: pointer; display: flex; }
.mode input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.mode__box { flex: 1; display: grid; gap: 3px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .16s, background .16s; }
.mode__t { font-weight: 700; font-size: 14.5px; color: var(--heading); }
.mode__d { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.mode input:checked + .mode__box { border-color: var(--heading); box-shadow: inset 0 0 0 1px var(--heading); }
.mode input:focus-visible + .mode__box { outline: 2.5px solid var(--heading); outline-offset: 2px; }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }
.vs thead th { background: var(--surface); }
@media (max-width: 720px) {
  .vs th:first-child, .vs td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .vs tbody th, .vs thead td { width: 96px; padding-inline: 12px; font-size: 10.5px; }
}

/* ---------- hero visual: photo with the finder laid over its corner ---------- */
.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.hero__visual .finder { margin: -132px 0 0 -56px; max-width: 430px; }
.hero .lede { color: var(--muted); }
.page-head, .visit { border-bottom: 1px solid var(--line); }
.page-head .lede, .visit .lede { color: var(--muted); }
.panel-dark { border: 1px solid var(--line); }
.calc, .estimator { border: 1px solid var(--line); background: var(--surface); }
.meal--dark { border-color: rgba(var(--tint), .4); }
.channel--dark { border-color: rgba(var(--tint), .4); }
.bento__cell--building { border: 1px solid var(--line); }
.form-card { background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(var(--shade), .08); }
@media (max-width: 960px) {
  .hero__visual .finder { margin: -64px 16px 0; max-width: none; }
  .hero__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .hero__visual .finder { margin: -40px 0 0; }
}

.setup-line { width: 100%; font: 13px/1.5 var(--mono); padding: 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface); color: var(--text); margin: 6px 0 14px; resize: none; word-break: break-all; }
