/* ============================================================
   TAMPA BAY REALTY — Alessandra Vega (fictional agent placeholder)
   Black, white and red (palette C, chosen 2026-09-30): white ground,
   black type and bands, facts in black, red only for actions, headline
   emphasis and the one red booking band. The scenes carry the colour.
   ============================================================ */
:root {
  /* Palette channels (space-separated so rgb(var(--x-rgb) / a) works). Palettes override these, see html[data-pal]. */
  --ground-rgb: 255 255 255;  /* page ground: white */
  --paper-rgb: 245 245 244;   /* lighter sections, chips */
  --fg-rgb: 17 17 17;         /* text + lines on the ground: black */
  --dark-rgb: 17 17 17;       /* dark bands, scene shading, shadows */
  --on-dark-rgb: 255 255 255; /* text on dark bands */
  --fact-rgb: 17 17 17;       /* facts: eyebrows, tags (black, the red is saved for actions) */
  --action-rgb: 190 18 30;    /* actions: buttons, pins, the route, headline emphasis */
  --fact-light-rgb: 190 190 190; /* facts on dark bands */
  --warm-rgb: 255 82 92;      /* emphasis on dark bands and over the scenes */
  --sand: rgb(var(--ground-rgb)); --sand-2: #EDEDEC; --paper: rgb(var(--paper-rgb)); --shell: #FFFFFF;
  --ink: rgb(var(--dark-rgb)); --ink-2: #2A2A2A; --ink-3: #3A3A3A;
  --line: rgb(var(--fg-rgb) / .12); --line-2: rgb(var(--fg-rgb) / .22);
  --gulf: rgb(var(--fact-rgb)); --gulf-2: #111111; --gulf-soft: rgb(var(--fact-rgb) / .08); --gulf-light: rgb(var(--fact-light-rgb));
  --coral: rgb(var(--action-rgb)); --coral-2: #D41F2B; --coral-deep: #8E0C16;
  --warm: rgb(var(--warm-rgb)); --em: var(--coral); --em-on-dark: var(--warm); --fact-on-dark: var(--gulf-light);
  --field: #fff; --cta-bg: #A80F1A; --cta-em: #FFFFFF; --cta-fact: rgb(255 255 255 / .8); --cta-btn-bg: #FFFFFF; --cta-btn-fg: #A80F1A; --map-filter: grayscale(1);
  --text: rgb(var(--fg-rgb)); --text-dim: rgb(var(--fg-rgb) / .72); --text-faint: rgb(var(--fg-rgb) / .5);
  --on-dark: rgb(var(--on-dark-rgb)); --on-dark-dim: rgb(var(--on-dark-rgb) / .72); --on-dark-faint: rgb(var(--on-dark-rgb) / .5);
  /* Type system G (default since 2026-09-28): Recia display with true italics + Clash Grotesk text */
  --display: 'Recia'; --body: 'Clash Grotesk';
  --display-weight: 500; --display-scale: 1; --display-track: -.01em; --display-lh: 1.02;
  --em-style: italic; --em-family: var(--display); --em-weight: 400;
  --gutter: clamp(20px, 5vw, 72px); --nav-h: 84px; --radius: 14px; --wrap: 1240px;
  color-scheme: light;
}
/* Palette bake-off (2026-09-30, Justin: "black, red and white"): he chose C, now the :root default. ?pal=a|b preview the others, ?pal=o the original coastal palette. */
html[data-pal="a"] { /* A · White & red: white ground, black type, crimson for every fact and every action */
  --ground-rgb: 255 255 255; --paper-rgb: 246 245 243; --fg-rgb: 12 12 12; --dark-rgb: 12 12 12; --on-dark-rgb: 255 255 255;
  --fact-rgb: 200 16 46; --action-rgb: 200 16 46; --fact-light-rgb: 255 102 117; --warm-rgb: 255 102 117;
  --sand-2: #ECEBE8; --shell: #FFFFFF; --ink-2: #242424; --ink-3: #333333; --gulf-2: #9E0B23; --coral-2: #E0223F; --coral-deep: #9E0B23;
  --map-filter: grayscale(1); }
html[data-pal="b"] { /* B · All black: black ground, white type, bright red accents */
  --ground-rgb: 10 10 11; --paper-rgb: 21 21 23; --fg-rgb: 246 245 242; --dark-rgb: 0 0 0; --on-dark-rgb: 246 245 242;
  --fact-rgb: 235 52 58; --action-rgb: 226 38 45; --fact-light-rgb: 255 110 114; --warm-rgb: 255 110 114;
  --sand-2: #1D1D20; --shell: #161618; --ink-2: #1D1D20; --ink-3: #2B2B2F; --gulf-2: #FF7A7E; --coral-2: #F2474D; --coral-deep: #FF7A7E;
  --field: #1D1D20; --map-filter: invert(1) hue-rotate(180deg) grayscale(1) brightness(.9) contrast(.95); color-scheme: dark; }
html[data-pal="o"] { /* O · the original coastal palette (sand, bay navy, Gulf teal, sunset coral), kept for reference */
  --ground-rgb: 243 237 226; --paper-rgb: 251 248 242; --fg-rgb: 14 27 46; --dark-rgb: 14 27 46; --on-dark-rgb: 247 242 232;
  --fact-rgb: 21 127 146; --action-rgb: 210 96 58; --fact-light-rgb: 143 210 220; --warm-rgb: 255 217 168;
  --sand-2: #E8DFCF; --shell: #FFFDF9; --ink-2: #1A2B45; --ink-3: #2A3C58; --gulf-2: #0F6270; --coral-2: #E37A55; --coral-deep: #A9461F;
  --em: var(--gulf); --cta-bg: var(--ink); --cta-em: var(--em-on-dark); --cta-fact: var(--fact-on-dark); --cta-btn-bg: var(--coral); --cta-btn-fg: #fff; --map-filter: none; }
/* Type bake-off: ?font=a..h (G is the default). */
html[data-font="a"] { --display: 'Gambetta'; --body: 'Supreme'; --display-weight: 500; --display-scale: 1; --display-track: -.012em; --em-style: italic; --em-weight: 400; }
html[data-font="b"] { --display: 'Clash Display'; --body: 'Ranade'; --display-weight: 600; --display-scale: .94; --display-track: -.01em; --em-style: normal; --em-weight: 400; }
html[data-font="c"] { --display: 'Melodrama'; --body: 'Switzer'; --display-weight: 500; --display-scale: 1.02; --display-track: -.005em; --em-style: normal; --em-weight: 300; }
html[data-font="d"] { --display: 'Cabinet Grotesk'; --body: 'Sentient'; --display-weight: 800; --display-scale: .96; --display-track: -.02em; --em-style: italic; --em-family: 'Sentient'; --em-weight: 400; }
/* Round 2 (2026-09-28): E Gambarino + Plein · F Stardom + General Sans · G Recia + Clash Grotesk · H Gloock + Geologica */
html[data-font="e"] { --display: 'Gambarino'; --body: 'Plein'; --display-weight: 400; --display-scale: 1.04; --display-track: -.005em; --display-lh: 1.0; --em-style: normal; --em-weight: 400; }
html[data-font="f"] { --display: 'Stardom'; --body: 'General Sans'; --display-weight: 400; --display-scale: 1.02; --display-track: 0; --em-style: normal; --em-weight: 400; }
html[data-font="h"] { --display: 'Gloock'; --body: 'Geologica'; --display-weight: 400; --display-scale: 1; --display-track: -.01em; --em-style: normal; --em-weight: 400; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; background: var(--sand); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--sand); color: var(--text); font: 400 17px/1.6 var(--body), system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
img[width][height] { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--gulf); outline-offset: 3px; }

h1, h2, h3, .display { font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: var(--display-lh); margin: 0; text-wrap: balance; }
h1 { font-size: calc(clamp(40px, 5.4vw, 86px) * var(--display-scale)); }
h2 { font-size: calc(clamp(30px, 3.7vw, 58px) * var(--display-scale)); }
h3 { font-size: calc(clamp(19px, 1.5vw, 24px) * var(--display-scale)); line-height: 1.15; }
h1 em, h2 em, h3 em, .statement em { font-style: var(--em-style); font-family: var(--em-family); font-weight: var(--em-weight); color: var(--em); }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.6; color: var(--text-dim); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 11.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gulf); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gulf); }
.num, .price, .spec b, .stat b { font-family: var(--body), system-ui, sans-serif; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px; border-radius: 999px; border: 1px solid var(--coral); background: var(--coral); color: #fff; text-decoration: none; font: 600 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); background: var(--coral-2); border-color: var(--coral-2); box-shadow: 0 14px 30px -14px rgb(var(--action-rgb) / .7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgb(var(--fg-rgb) / .05); border-color: var(--text); box-shadow: none; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255, 255, 255, .26); border-color: #fff; box-shadow: none; }
.btn-ink { background: var(--text); border-color: var(--text); color: var(--sand); }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark); box-shadow: 0 14px 30px -14px rgb(var(--dark-rgb) / .7); }
.link { color: var(--gulf); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(var(--fact-rgb) / .4); }
.link:hover { text-decoration-color: var(--gulf); }

/* ---------- Loader ---------- */
.loader { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 90; background: rgb(var(--fg-rgb) / .08); pointer-events: none; transition: opacity .6s .3s; }
.loader::before { content: ""; position: absolute; inset: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--gulf), var(--coral)); transition: width .3s; }
.loader.done { opacity: 0; }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); height: var(--nav-h); color: #fff; transition: background .35s, box-shadow .35s, color .35s; }
.nav.scrolled, body.solid-top .nav { background: rgb(var(--ground-rgb) / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--text); }
.brand { display: flex; flex-direction: column; gap: 5px; margin-right: auto; text-decoration: none; line-height: 1; }
.brand .word { font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); font-size: calc(21px * var(--display-scale)); letter-spacing: var(--display-track); }
.brand .word em { font-style: var(--em-style); font-family: var(--em-family); font-weight: var(--em-weight); }
.brand small { font: 600 9.5px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; font: 600 11.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: currentColor; }
.nav-links .btn { min-height: 44px; padding: 11px 20px; font-size: 11.5px; border-bottom: 1px solid var(--coral); }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; touch-action: manipulation; opacity: .9; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; pointer-events: none; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--sand); color: var(--text); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--gutter) 40px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.mobile-menu.open { transform: none; }
.mobile-menu a { text-decoration: none; font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); font-size: calc(clamp(26px, 7vw, 34px) * var(--display-scale)); padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu a[aria-current="page"], .mobile-menu a:hover { color: var(--gulf); }
.mobile-menu a.go { color: var(--coral); }
.mobile-menu .fine { margin-top: 22px; }
.fine { font-size: 12.5px; line-height: 1.55; color: var(--text-faint); }
body:has(.mobile-menu.open) .nav { color: var(--text); }

/* ---------- Scroll-scrub scenes ---------- */
.scrub { position: relative; height: 560vh; background: var(--ink); color: #fff; }
.scrub.hero { height: 800vh; }
.scrub.long { height: 720vh; } /* 10 s / 300-frame scenes */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .4s ease; }
.scrub.has-frame .poster { opacity: 0; }
.stage-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(var(--dark-rgb) / .58) 0%, rgb(var(--dark-rgb) / 0) 36%), linear-gradient(180deg, rgb(var(--dark-rgb) / .42) 0%, rgb(var(--dark-rgb) / 0) 26%); }
.reveal-line { position: absolute; opacity: 0; will-change: opacity, transform; max-width: min(580px, 36vw); z-index: 2; isolation: isolate; color: #fff; }
.reveal-line::before { content: ""; position: absolute; inset: -60px -90px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(ellipse at center, rgb(var(--dark-rgb) / .62) 0%, rgb(var(--dark-rgb) / .38) 42%, rgb(var(--dark-rgb) / 0) 72%); filter: blur(18px); }
.reveal-line h1, .reveal-line h2 { color: #fff; text-shadow: 0 2px 30px rgb(var(--dark-rgb) / .35); }
.reveal-line h1 em, .reveal-line h2 em { color: var(--em-on-dark); }
.reveal-line .eyebrow { color: var(--em-on-dark); }
.reveal-line .eyebrow::before { background: var(--em-on-dark); }
.reveal-line .lead { color: rgba(255, 255, 255, .88); margin-top: 18px; }
.reveal-line .btn-row { margin-top: 26px; }
.reveal-line.ml { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.reveal-line.mr { right: var(--gutter); top: 50%; transform: translateY(-50%); text-align: right; }
.reveal-line.mr .lead { margin-left: auto; }
.reveal-line.mr .btn-row { justify-content: flex-end; }
.reveal-line.mr .eyebrow { flex-direction: row-reverse; }
.reveal-line.center { left: 50%; top: 50%; text-align: center; max-width: min(860px, 88vw); }
.hero-title { left: var(--gutter); top: auto; bottom: clamp(72px, 12vh, 140px); max-width: min(720px, 46vw); }
.hero-title h1 { font-size: calc(clamp(40px, 5vw, 82px) * var(--display-scale)); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font: 600 10.5px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .85); display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .4s; z-index: 2; }
.scroll-hint span { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .18); z-index: 2; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, #fff, var(--coral)); }
.static-preview .scrub, .static-preview .scrub.hero { height: 100vh; }
.static-preview .stage { position: relative; height: 100vh; }
.static-preview .scroll-hint { display: none; }
.scrub.poster-only .poster { animation: breathe 16s ease-in-out infinite alternate; transform-origin: 50% 55%; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
/* Scene place-cards: a small line naming where we are, top right, fades out early */
.reveal-line.place { left: auto; right: var(--gutter); top: calc(var(--nav-h) + 22px); max-width: none; text-align: right; }
.reveal-line.place::before { display: none; }
.place .where { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgb(var(--dark-rgb) / .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 12.5px/1.3 var(--body); letter-spacing: .04em; color: #fff; }
.place .where i { width: 7px; height: 7px; border-radius: 50%; background: var(--em-on-dark); box-shadow: 0 0 10px var(--em-on-dark); flex: none; }
/* Demo badge: this is a spec site with a fictional agent; the buyer's details replace CONFIG */
.demo-badge { position: fixed; left: 14px; bottom: 14px; z-index: 50; font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--text); background: rgb(var(--paper-rgb) / .9); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; pointer-events: none; }

/* ---------- Plain sections ---------- */
.plain { position: relative; padding: clamp(64px, 8vw, 116px) var(--gutter); background: var(--sand); }
.plain.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plain.dark { background: var(--ink); color: var(--on-dark); }
.plain.dark .lead, .plain.dark p { color: var(--on-dark-dim); }
.plain.dark .eyebrow { color: var(--fact-on-dark); } .plain.dark .eyebrow::before { background: var(--fact-on-dark); }
.plain.dark h2 em, .plain.dark .statement em { color: var(--fact-on-dark); }
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head .lead { margin-top: 18px; }
.sec-head.row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; max-width: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.wide { grid-template-columns: 1.1fr .9fr; }
.statement { font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: calc(clamp(30px, 3.5vw, 54px) * var(--display-scale)); line-height: 1.08; text-wrap: balance; }
.statement b { font-weight: inherit; color: var(--gulf); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Meet the agent ---------- */
.meet .portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); box-shadow: 0 40px 80px -40px rgb(var(--dark-rgb) / .5); }
.meet .portrait img, .meet .portrait img[width][height] { width: 100%; height: 100%; object-fit: cover; }
.meet .portrait .tag { position: absolute; left: 18px; bottom: 18px; background: rgb(var(--paper-rgb) / .92); color: var(--text); border-radius: 999px; padding: 9px 14px; font: 600 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts li span:first-child { font: 600 11px/1.6 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gulf); }
.facts li span:last-child { color: var(--text-dim); }
.meet .btn-row { margin-top: 30px; }
.sig { margin-top: 26px; font-family: var(--display), Georgia, serif; font-style: italic; font-weight: 400; font-size: calc(26px * var(--display-scale)); color: var(--ink-3); }

/* ---------- Listings ledger (rows, not panels; a photo shows on hover, and inline on phones) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.lrow { position: relative; display: grid; grid-template-columns: 1.6fr 1fr auto auto; gap: 8px 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding-left .3s cubic-bezier(.2, .8, .2, 1); }
.lrow:hover { padding-left: 10px; }
.lrow .addr { font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); font-size: calc(clamp(20px, 1.7vw, 26px) * var(--display-scale)); letter-spacing: var(--display-track); line-height: 1.15; }
.lrow .addr small { display: block; font: 500 13px/1.4 var(--body); letter-spacing: .02em; color: var(--text-dim); margin-top: 6px; }
.lrow .spec { font-size: 14.5px; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lrow .spec b { color: var(--text); font-weight: 600; }
.lrow .status { font: 600 10.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gulf); border: 1px solid rgb(var(--fact-rgb) / .35); border-radius: 999px; padding: 7px 11px; white-space: nowrap; }
.lrow .status.pending { color: var(--coral-deep); border-color: rgb(var(--action-rgb) / .4); }
.lrow .price { font-weight: 600; font-size: 19px; color: var(--text); white-space: nowrap; text-align: right; }
.lrow .price small { display: block; font-weight: 500; font-size: 12px; color: var(--text-faint); letter-spacing: .04em; }
.lrow .thumb { position: absolute; right: 0; top: 50%; width: 260px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-40px, -50%) rotate(-2deg) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 30px 60px -24px rgb(var(--dark-rgb) / .6); z-index: 3; }
.lrow .thumb img, .lrow .thumb img[width][height] { width: 100%; height: 100%; object-fit: cover; }
.lrow:hover .thumb { opacity: 1; transform: translate(-320px, -50%) rotate(-1deg) scale(1); }
.ledger-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--text-dim); font-size: 15px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 10px 18px; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; min-height: 42px; transition: background .2s, color .2s, border-color .2s; touch-action: manipulation; }
.fchip:hover { border-color: var(--text); }
.fchip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--sand); }

/* ---------- Listing cards (listings page) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--shell); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgb(var(--dark-rgb) / .45); }
.card .photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.card .photo img, .card .photo img[width][height] { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .photo img { transform: scale(1.04); }
.card .photo .status { position: absolute; left: 14px; top: 14px; background: rgb(var(--paper-rgb) / .94); color: var(--gulf); border-radius: 999px; padding: 7px 11px; font: 600 10.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.card .photo .status.pending { color: var(--coral-deep); }
.card .body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.card .price { font-weight: 600; font-size: 20px; }
.card .price small { font-weight: 500; font-size: 12.5px; color: var(--text-faint); margin-left: 8px; letter-spacing: .04em; }
.card h3 { font-size: calc(clamp(19px, 1.5vw, 23px) * var(--display-scale)); }
.card .hood { font: 600 11px/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gulf); }
.card .spec { font-size: 14.5px; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card .spec b { color: var(--text); font-weight: 600; }
.card .blurb { font-size: 15px; color: var(--text-dim); line-height: 1.55; }
.card[hidden] { display: none; }
.cards-empty { display: none; padding: 24px 0; color: var(--text-faint); }
.cards.is-empty + .cards-empty { display: block; }
.disclaim { margin-top: clamp(24px, 3vw, 40px); font-size: 13px; line-height: 1.6; color: var(--text-faint); max-width: 80ch; }

/* ---------- Bay map: the signature graphic (Tampa Bay in Gulf teal, the three cities, the causeways) ---------- */
.bay { width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1; overflow: visible; }
.bay .gulf { fill: rgb(var(--fact-rgb) / .14); }
.bay .water { fill: rgb(var(--fact-rgb) / .26); stroke: var(--gulf); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bay .coast { fill: none; stroke: var(--gulf); stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.bay .isle { fill: none; stroke: var(--gulf); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .7; }
.bay .bridge { fill: none; stroke: var(--text); stroke-width: 1.4; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; opacity: .75; stroke-dashoffset: 400; transition: stroke-dashoffset 2.4s cubic-bezier(.2, .8, .2, 1); }
.in .bay .bridge, .static-preview .bay .bridge { stroke-dashoffset: 0; }
.bay .city { fill: var(--coral); }
.bay .city-halo { fill: none; stroke: var(--coral); stroke-width: 1; opacity: .8; animation: halo 3.4s ease-out infinite; }
.bay .city-halo.c2 { animation-delay: 1.1s; } .bay .city-halo.c3 { animation-delay: 2.2s; }
@keyframes halo { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.bay text { font: 600 13px/1 var(--body), system-ui, sans-serif; fill: var(--text); letter-spacing: .02em; }
.bay text.big { font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); font-size: 17px; letter-spacing: 0; }
.bay text.sm { font-size: 11px; font-weight: 500; fill: var(--text-faint); }
.bay text.lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; fill: var(--gulf); font-weight: 700; }
.bay .hood { fill: var(--text); opacity: .7; }
.plain.dark .bay .gulf { fill: rgb(var(--fact-light-rgb) / .1); } .plain.dark .bay .water { fill: rgb(var(--fact-light-rgb) / .18); stroke: var(--fact-on-dark); } .plain.dark .bay .coast, .plain.dark .bay .isle { stroke: var(--fact-on-dark); }
.plain.dark .bay .bridge { stroke: var(--on-dark); } .plain.dark .bay text { fill: var(--on-dark); } .plain.dark .bay text.sm { fill: var(--on-dark-faint); } .plain.dark .bay text.lbl { fill: var(--fact-on-dark); } .plain.dark .bay .hood { fill: var(--on-dark); }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 13.5px; color: var(--text-dim); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 18px; height: 1px; background: var(--text); border-top: 1px dashed var(--text); }
.map-legend i.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); border: 0; }
.areas { list-style: none; margin: 28px 0 0; padding: 0; columns: 2; column-gap: 32px; }
.areas li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-dim); display: flex; justify-content: space-between; gap: 12px; }
.areas li b { color: var(--text); font-weight: 600; }
.areas li span { font-size: 12.5px; color: var(--text-faint); letter-spacing: .04em; }

/* ---------- Process (labelled by moment, not number) ---------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.stage-item { border-top: 1px solid var(--line-2); padding-top: 20px; position: relative; }
.stage-item::before { content: ""; position: absolute; left: 0; top: -1px; width: 38px; height: 1px; background: var(--coral); }
.stage-item .when { display: block; font: 600 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gulf); margin-bottom: 14px; }
.stage-item h3 { margin-bottom: 10px; font-size: calc(clamp(18px, 1.4vw, 22px) * var(--display-scale)); }
.stage-item p { color: var(--text-dim); font-size: 15px; }
.plain.dark .stage-item { border-color: rgb(var(--on-dark-rgb) / .2); } .plain.dark .stage-item .when { color: var(--fact-on-dark); }

/* ---------- Neighborhood ledger (community page) ---------- */
.hoods { display: grid; gap: clamp(40px, 6vw, 88px); }
.hood-group { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.hood-group .city { position: sticky; top: calc(var(--nav-h) + 24px); }
.hood-group .city h2 { font-size: calc(clamp(28px, 3vw, 44px) * var(--display-scale)); }
.hood-group .city p { margin-top: 14px; color: var(--text-dim); font-size: 15.5px; }
.hood-group .city .photo { margin-top: 22px; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.hood-group .city .photo img, .hood-group .city .photo img[width][height] { width: 100%; height: 100%; object-fit: cover; }
.hood-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.hood-list li { display: grid; grid-template-columns: 240px 1fr auto; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.hood-list h3 { font-size: calc(clamp(18px, 1.4vw, 22px) * var(--display-scale)); }
.hood-list p { color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.hood-list .range { font: 600 11px/1.5 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gulf); white-space: nowrap; }
.commutes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.commute { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; background: var(--shell); }
.commute .k { display: block; font: 600 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gulf); margin-bottom: 12px; }
.commute p { font-size: 15px; color: var(--text-dim); }
.commute p b { color: var(--text); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 10vw, 132px) var(--gutter); background: var(--cta-bg); color: var(--on-dark); }
.cta-band .horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 100%, rgb(var(--action-rgb) / .35), transparent 60%), radial-gradient(ellipse 100% 40% at 50% 100%, rgb(var(--fact-rgb) / .35), transparent 70%); }
.cta-band .line { position: absolute; left: 0; right: 0; bottom: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgb(var(--on-dark-rgb) / .6), transparent); }
.cta-band .inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-band .eyebrow { color: var(--cta-fact); justify-content: center; } .cta-band .eyebrow::before { background: var(--cta-fact); }
.cta-band h2 em { color: var(--cta-em); }
.cta-band .btn:not(.btn-light):not(.btn-ghost) { background: var(--cta-btn-bg); border-color: var(--cta-btn-bg); color: var(--cta-btn-fg); }
.cta-band .lead { margin: 18px auto 30px; color: var(--on-dark-dim); }
.cta-band .btn-row { justify-content: center; }
.cta-band .alt { margin-top: 22px; font-size: 14px; color: var(--on-dark-dim); }
.cta-band .alt a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgb(var(--on-dark-rgb) / .4); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(48px, 7vw, 84px) var(--gutter) 40px; border-top: 1px solid rgb(var(--on-dark-rgb) / .12); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.foot-brand .brand { margin: 0 0 18px; color: var(--on-dark); }
.foot-brand p { color: var(--on-dark-dim); font-size: 15px; max-width: 36ch; }
.foot-col h4 { margin: 0 0 14px; font: 600 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--fact-on-dark); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--fact-on-dark); }
.foot-col li { color: var(--on-dark-dim); font-size: 15px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgb(var(--on-dark-rgb) / .12); font-size: 12.5px; color: var(--on-dark-faint); }
.foot-bottom span a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgb(var(--on-dark-rgb) / .3); }
.foot-bottom span a:hover { color: var(--on-dark); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-legal a { color: var(--on-dark-dim); text-decoration: none; }
.foot-legal a:hover { color: var(--fact-on-dark); }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.ph { border-bottom: 1px dotted rgb(var(--action-rgb) / .7); } /* placeholder value, swap in site.js CONFIG */

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) var(--gutter) clamp(40px, 5vw, 64px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .wrap { max-width: 960px; margin: 0; }
.page-hero .lead { margin-top: 22px; }
.page-hero.with-photo { padding-bottom: 0; border-bottom: 0; }
.page-hero.with-photo .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero.with-photo .photo { aspect-ratio: 4 / 5; max-height: 640px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--sand-2); }
.page-hero.with-photo .photo img, .page-hero.with-photo .photo img[width][height] { width: 100%; height: 100%; object-fit: cover; }
.page-hero.with-photo .copy { padding-bottom: clamp(32px, 5vw, 64px); }
.page-hero .wave { position: absolute; right: -6vw; top: -10%; width: min(70vw, 820px); opacity: .5; pointer-events: none; }
.page-hero .wave path { fill: none; stroke: var(--gulf); stroke-width: 1; opacity: .5; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--text-dim); }
.prose strong { color: var(--text); font-weight: 600; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; background: var(--shell); }
.contact-card .k { display: block; font: 600 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gulf); margin-bottom: 14px; }
.contact-card p, .contact-card a { color: var(--text); font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gulf); }
.contact-card .note { display: block; margin-top: 8px; font-size: 13px; color: var(--text-faint); }

/* ---------- Contact form ---------- */
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.book-grid > * { min-width: 0; }
.book-text .lead { margin-top: 18px; }
.next { margin-top: 34px; display: grid; gap: 14px; }
.next div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: baseline; font-size: 15px; color: var(--text-dim); }
.next .when { font: 600 11px/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gulf); }
.book-form { background: var(--shell); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px -40px rgb(var(--dark-rgb) / .35); }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ff-row[hidden] { display: none; }
.ff { display: flex; flex-direction: column; gap: 7px; }
.ff > span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.ff input, .ff select, .ff textarea { font-family: var(--body), system-ui, sans-serif; font-size: 15px; color: var(--text); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.ff select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.ff textarea { resize: vertical; min-height: 96px; }
.ff input::placeholder, .ff textarea::placeholder { color: rgb(var(--fg-rgb) / .4); }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: revert; border-color: var(--gulf); background: var(--field); box-shadow: 0 0 0 3px rgb(var(--fact-rgb) / .14); }
.ff-consent { flex-direction: row; align-items: flex-start; gap: 12px; cursor: pointer; }
.ff-consent > span { font-size: 12.5px; line-height: 1.55; color: var(--text-dim); text-transform: none; letter-spacing: 0; font-weight: 400; }
.ff-consent input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--coral); flex: none; }
.book-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note { margin: 0; font-size: 11.5px; letter-spacing: .04em; color: var(--text-faint); }
.form-done { background: var(--gulf-soft); border: 1px solid rgb(var(--fact-rgb) / .4); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.form-done strong { color: var(--gulf-2); }
.form-done[hidden] { display: none; }
form.sent .form-note { display: none; }
.book-form [aria-invalid="true"] { border-color: rgb(var(--action-rgb) / .8); }
.ff-err { font-size: 12.5px; color: var(--coral-deep); }
.ff-err[hidden] { display: none; }

/* 404 + legal */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--nav-h); }
.notfound .btn-row { justify-content: center; margin-top: 26px; }
.legal { max-width: 70ch; }
.legal h2 { font-size: calc(clamp(18px, 1.5vw, 22px) * var(--display-scale)); margin: clamp(36px, 4vw, 52px) 0 14px; }
.legal p, .legal li { color: var(--text-dim); line-height: 1.7; }
.legal p + p { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .reveal-line { max-width: min(540px, 42vw); }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hood-group { grid-template-columns: 240px 1fr; }
  .lrow .thumb { width: 200px; }
  .lrow:hover .thumb { transform: translate(-250px, -50%) rotate(-1deg) scale(1); }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  /* One header height and an opaque background on phones: blur + animated height on a fixed header kills taps on real iOS. */
  .nav.scrolled, body.solid-top .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(var(--ground-rgb) / .96); }
  .brand .word { font-size: calc(18px * var(--display-scale)); }
  .split, .split.wide, .book-grid, .page-hero.with-photo .grid { grid-template-columns: 1fr; }
  .values, .contact-cards, .commutes { grid-template-columns: 1fr; }
  .hood-group { grid-template-columns: 1fr; }
  .hood-group .city { position: static; }
  .hood-list li { grid-template-columns: 1fr; gap: 6px; }
  .cards { grid-template-columns: 1fr; }
  .areas { columns: 1; }
  .reveal-line { max-width: none; }
  .reveal-line.ml, .reveal-line.mr { left: var(--gutter); right: var(--gutter); top: auto; bottom: 7vh; transform: none; text-align: left; }
  .reveal-line.mr .lead { margin-left: 0; } .reveal-line.mr .btn-row { justify-content: flex-start; } .reveal-line.mr .eyebrow { flex-direction: row; }
  .hero-title { top: auto; bottom: 7vh; max-width: none; }
  .hero-title h1 { font-size: calc(clamp(30px, 7.8vw, 40px) * var(--display-scale)); }
  .reveal-line.place { display: none; }
  .stage-shade { background: linear-gradient(0deg, rgb(var(--dark-rgb) / .8) 0%, rgb(var(--dark-rgb) / .25) 40%, rgb(var(--dark-rgb) / 0) 58%), linear-gradient(180deg, rgb(var(--dark-rgb) / .45) 0%, rgb(var(--dark-rgb) / 0) 26%); }
  .btn { min-height: 48px; padding: 12px 18px; font-size: 12px; }
  .scroll-hint { display: none; }
  /* Phones: the scene IS the content — one headline and one button, low in the frame, no paragraph. */
  .scrub .reveal-line .lead { display: none; }
  .scrub .reveal-line .btn-row { margin-top: 14px; }
  .scrub .reveal-line .btn-row .btn ~ .btn { display: none; }
  .scrub .reveal-line::before { inset: -30px -48px; }
  .scrub .reveal-line .eyebrow { display: none; }
  .scrub .reveal-line h2 { font-size: calc(clamp(24px, 6.6vw, 32px) * var(--display-scale)); }
  h2 { font-size: calc(clamp(26px, 6.6vw, 36px) * var(--display-scale)); }
  .statement { font-size: calc(clamp(26px, 6.8vw, 36px) * var(--display-scale)); }
  .lrow { grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "addr price" "spec status"; gap: 10px 14px; padding: 16px 0; }
  .lrow:hover { padding-left: 0; }
  .lrow .addr { grid-area: addr; } .lrow .price { grid-area: price; } .lrow .spec { grid-area: spec; } .lrow .status { grid-area: status; align-self: center; }
  .lrow .thumb { grid-area: thumb; position: static; width: 100%; opacity: 1; transform: none; box-shadow: none; }
  .lrow:hover .thumb { transform: none; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .sec-head.row { grid-template-columns: 1fr; align-items: start; }
  .demo-badge { left: auto; right: 12px; bottom: 12px; }
  .meet .portrait { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .btn-row .btn { width: 100%; min-height: 54px; font-size: 12.5px; letter-spacing: .16em; }
  .scrub .reveal-line .btn-row .btn { width: 100%; }
  .reveal-line.ml, .reveal-line.mr, .hero-title { left: var(--gutter); right: var(--gutter); }
  .stages { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal a { display: inline-block; padding: 8px 0; }
  .ff-row { grid-template-columns: 1fr; }
  .next div { grid-template-columns: 1fr; gap: 4px; }
  .cta-band .alt { font-size: 13.5px; }
  .page-hero.with-photo .photo { max-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bay .bridge { stroke-dashoffset: 0; transition: none; }
  .bay .city-halo, .scroll-hint span, .scrub.poster-only .poster, .place .where i { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
/* Commute cards inside the dark map section */
.plain.dark .commute { background: rgba(255, 255, 255, .06); border-color: rgb(var(--on-dark-rgb) / .22); }
.plain.dark .commute p { color: var(--on-dark-dim); } .plain.dark .commute p b { color: var(--on-dark); } .plain.dark .commute .k { color: var(--fact-on-dark); }

/* Legend on the dark map section; badge bottom-right everywhere; phone ledger keeps three photos, then rows only */
.plain.dark .map-legend { color: var(--on-dark-dim); } .plain.dark .map-legend i { background: var(--on-dark); border-color: var(--on-dark); } .plain.dark .map-legend i.dot { background: var(--coral); }
.demo-badge { left: auto; right: 14px; }
@media (max-width: 900px) { .ledger li:nth-child(n+4) .thumb { display: none; } .ledger li:nth-child(n+4) .lrow { grid-template-areas: "addr price" "spec status"; } }

/* ---------- Real map (Stadia Alidade over OpenStreetMap data), replaces the drawn bay ---------- */
.realmap { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.realmap img, .realmap img[width][height] { width: 100%; height: 100%; object-fit: cover; display: block; }
.realmap.light img { filter: var(--map-filter); }
.realmap.light::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px 40px var(--sand); pointer-events: none; }
.paper .realmap.light::after { box-shadow: inset 0 0 120px 40px var(--paper); }
.realmap.dark { background: #2e2e2e; }
.realmap.dark::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 140px 50px var(--ink); pointer-events: none; }
.realmap .city { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.realmap .city i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgb(var(--action-rgb) / .25), 0 0 0 10px rgb(var(--action-rgb) / .12); }
.realmap .city b { position: absolute; left: 18px; top: -4px; white-space: nowrap; font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); font-size: 17px; letter-spacing: var(--display-track); color: var(--ink); text-shadow: 0 1px 8px rgba(255, 255, 255, .85); }
.realmap.dark .city b { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.realmap .bridge { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); z-index: 2; font: 600 9.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--coral-deep); white-space: nowrap; }
.realmap.dark .bridge { color: var(--em-on-dark); }
.realmap .hoodm { position: absolute; transform: translate(-4px, -50%); z-index: 2; font: 600 10.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.realmap .hoodm::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gulf); margin-right: 6px; vertical-align: middle; }
.realmap .hoodm.flip { transform: translate(calc(-100% + 4px), -50%); }
.realmap .hoodm.flip::before { float: right; margin: 5px 0 0 6px; }
.realmap .attr { position: absolute; right: 10px; bottom: 8px; z-index: 2; font: 500 9px/1 var(--body); letter-spacing: .02em; color: rgb(var(--fg-rgb) / .5); }
.realmap.dark .attr { color: rgba(255, 255, 255, .45); }
/* Listings on the map: price pins with leader lines, linked to the rows beside it */
.listmap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.listmap .realmap { position: sticky; top: calc(var(--nav-h) + 24px); }
.listmap svg.leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.listmap svg.leaders line { stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.listmap svg.leaders circle { fill: #fff; }
.pin { position: absolute; transform: translate(-50%, -100%); z-index: 3; font: 600 12px/1 var(--body); font-variant-numeric: tabular-nums; color: #fff; background: var(--coral); padding: 7px 9px; border-radius: 8px; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .8); transition: transform .25s, background .25s, color .25s; cursor: pointer; text-decoration: none; }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; background: inherit; transform: translate(-50%, -50%) rotate(45deg); }
.pin.com { background: var(--gulf); }
.pin.on, .pin:hover { transform: translate(-50%, -110%) scale(1.15); background: var(--em-on-dark); color: var(--ink); z-index: 4; }
.listmap .rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.listmap .row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.listmap .row img, .listmap .row img[width][height] { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; }
.listmap .row b { display: block; font-family: var(--display), Georgia, serif; font-weight: var(--display-weight); font-size: 16px; letter-spacing: var(--display-track); line-height: 1.15; transition: color .2s; }
.listmap .row span { display: block; font: 500 12px/1.4 var(--body); color: var(--text-dim); margin-top: 2px; }
.listmap .row em { font: 600 15px var(--body); font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.listmap .row.on b, .listmap .row:hover b { color: var(--coral-deep); }
.listmap .legend { display: flex; gap: 18px; margin-top: 12px; font-size: 12.5px; color: var(--text-dim); }
.listmap .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--coral); margin-right: 6px; vertical-align: -1px; }
.listmap .legend i.com { background: var(--gulf); }
@media (max-width: 900px) { .listmap { grid-template-columns: 1fr; } .listmap .realmap { position: relative; top: auto; } .realmap .city b { font-size: 14px; } .realmap .bridge { display: none; } .pin { font-size: 11px; padding: 6px 7px; } }
/* On the listings map the city names sit under their dots so the price pins have the room */
.listmap .realmap .city b { left: 50%; top: 12px; transform: translateX(-50%); font-size: 14px; }

/* ---------- Community page as a visual guide ---------- */
.guide-hero { position: relative; height: min(78vh, 760px); min-height: 420px; overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: flex-end; }
.guide-hero picture, .guide-hero img, .guide-hero img[width][height] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--dark-rgb) / .78) 0%, rgb(var(--dark-rgb) / .1) 55%), linear-gradient(180deg, rgb(var(--dark-rgb) / .45) 0%, rgb(var(--dark-rgb) / 0) 30%); }
.guide-hero .wrap { position: relative; z-index: 1; width: 100%; padding: 0 var(--gutter) clamp(36px, 6vw, 72px); }
.guide-hero .eyebrow { color: var(--em-on-dark); } .guide-hero .eyebrow::before { background: var(--em-on-dark); }
.guide-hero h1 { color: #fff; max-width: 12ch; text-shadow: 0 2px 30px rgb(var(--dark-rgb) / .4); }
.guide-hero h1 em { color: var(--em-on-dark); }
.guide-hero .lead { color: rgba(255, 255, 255, .88); margin-top: 16px; max-width: 48ch; }
.guide-hero .credit { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; font: 600 10.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.city-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.city-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); color: #fff; text-decoration: none; }
.city-tile img, .city-tile img[width][height] { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.city-tile:hover img { transform: scale(1.04); }
.city-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--dark-rgb) / .82) 0%, rgb(var(--dark-rgb) / 0) 55%); }
.city-tile .t { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.city-tile h2 { font-size: calc(clamp(26px, 2.4vw, 36px) * var(--display-scale)); color: #fff; }
.city-tile p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.city-tile .go { display: inline-block; margin-top: 14px; font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--em-on-dark); }
.mapband { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.drive { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.drive li { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-dim); }
.drive li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.chapter { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-2); }
.chapter + .chapter { margin-top: clamp(40px, 6vw, 80px); }
.chapter .intro { position: sticky; top: calc(var(--nav-h) + 24px); }
.chapter .intro h2 { font-size: calc(clamp(30px, 3vw, 46px) * var(--display-scale)); }
.chapter .intro p { margin-top: 14px; color: var(--text-dim); font-size: 15.5px; }
.chapter .intro .btn-row { margin-top: 22px; }
.hood-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.hood-card { position: relative; display: block; text-decoration: none; color: inherit; }
.hood-card .ph { display: block; border: 0; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--sand-2); } /* block: an inline span let the img size against the whole card */
.hood-card .ph img, .hood-card .ph img[width][height] { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.hood-card:hover .ph img { transform: scale(1.05); }
.hood-card h3 { margin-top: 14px; font-size: calc(clamp(18px, 1.4vw, 21px) * var(--display-scale)); }
.hood-card p { margin-top: 5px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.hood-card .tag { display: inline-block; margin-top: 8px; font: 600 10.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gulf); }
@media (max-width: 1100px) { .hood-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .city-tiles { grid-template-columns: 1fr; } .city-tile { aspect-ratio: 16 / 10; } .mapband { grid-template-columns: 1fr; } .chapter { grid-template-columns: 1fr; } .chapter .intro { position: static; } .hood-cards { grid-template-columns: 1fr 1fr; } .guide-hero { height: 70vh; } }
@media (max-width: 600px) { .hood-cards { grid-template-columns: 1fr; } }

/* ---------- About: one Tuesday, stop by stop ---------- */
.about-hero { padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) var(--gutter) clamp(48px, 6vw, 80px); }
.about-hero .wrap { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-hero h1 { font-size: calc(clamp(46px, 6vw, 100px) * var(--display-scale)); margin: 18px 0 22px; }
.about-hero .portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.about-hero .portrait img, .about-hero .portrait img[width][height] { width: 100%; height: 100%; object-fit: cover; display: block; }
.day { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 112px) var(--gutter); }
.day .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.day-map { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.day-map img, .day-map img[width][height] { width: 100%; height: 100%; object-fit: cover; display: block; }
.day-map::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px 40px var(--ink); pointer-events: none; }
.day-map svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.day-map .route-all { fill: none; stroke: rgb(var(--on-dark-rgb) / .35); stroke-width: .35; stroke-dasharray: 1 .9; stroke-linecap: round; stroke-linejoin: round; }
.day-map .route-done { fill: none; stroke: var(--coral); stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset .7s cubic-bezier(.2, .8, .2, 1); }
.day-map .stop circle { fill: var(--ink); stroke: rgb(var(--warm-rgb) / .7); stroke-width: .4; transition: fill .3s, stroke .3s; }
.day-map .stop text { font: 600 2.1px var(--body); fill: var(--on-dark-dim); letter-spacing: .06px; transition: fill .3s; }
.day-map .stop.done circle { fill: var(--coral); stroke: var(--em-on-dark); }
.day-map .stop.on circle { fill: var(--coral); stroke: #fff; stroke-width: .6; }
.day-map .stop.on text, .day-map .stop.done text { fill: var(--on-dark); }
.day-map .attr { position: absolute; right: 10px; bottom: 8px; z-index: 2; font: 500 9px/1 var(--body); color: rgba(255, 255, 255, .45); }
.day-list .eyebrow { color: var(--fact-on-dark); } .day-list .eyebrow::before { background: var(--fact-on-dark); }
.day-list h2 { color: inherit; margin-bottom: 26px; } .day-list h2 em { color: var(--fact-on-dark); }
.day-list ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(var(--on-dark-rgb) / .18); }
.day-list li { display: grid; grid-template-columns: 116px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgb(var(--on-dark-rgb) / .18); opacity: .55; transition: opacity .35s; }
.day-list li.on, .day-list li.done { opacity: 1; }
.day-list time b { display: block; font: 600 22px/1.1 var(--body); font-variant-numeric: tabular-nums; color: var(--em-on-dark); transition: color .3s; }
.day-list li.on time b { color: var(--coral-2); }
.day-list time small { display: block; font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint); margin-top: 6px; }
.day-list h3 { color: inherit; margin-bottom: 6px; }
.day-list li p { margin: 0; color: var(--on-dark-dim); font-size: 16px; }
.about-creds .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-creds blockquote { margin: 0; font-family: var(--display), Georgia, serif; font-weight: var(--em-weight); font-style: italic; font-size: calc(clamp(26px, 2.8vw, 40px) * var(--display-scale)); line-height: 1.18; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line-2); }
.spec div { padding: 16px 18px 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gulf); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 15.5px; color: var(--text-dim); }
@media (max-width: 900px) {
  .about-hero .wrap, .day .wrap, .about-creds .wrap { grid-template-columns: 1fr; }
  .about-hero .portrait { max-width: 420px; }
  .day .wrap { gap: 28px; }
  .day-map { top: var(--nav-h); z-index: 2; aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; box-shadow: 0 22px 24px -6px var(--ink); }
  .day-map .stop text { font-size: 3px; }
  .day-list li { grid-template-columns: 84px 1fr; gap: 14px; }
  .day-list time b { font-size: 19px; }
}
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .day-map .route-done, .day-map .stop circle, .day-list li { transition: none; } }
