/* 136 South Tower: Ali's listing site. Light and editorial for reading on a phone in daylight;
   the fly tours and the walkthrough go dark and full bleed. */
:root {
  /* The palette is the home's own (Janice's Palette Catcher, 10-28): Dusty Rose #CAABA7, Mauve #A67A8A,
     Taupe #847770, Moss #3F4318, Cocoa #643A27, Tobacco #906C45, Graphite #47413E, Ink #1C190F. */
  --rose: #caaba7; --mauve: #a67a8a; --taupe: #847770; --moss: #3f4318; --cocoa: #643a27; --tobacco: #906c45; --graphite: #47413e;
  --paper: #f7f1ee;
  --paper-2: #efe4df;
  --card: #fffdfb;
  --ink: #1c190f;
  --ink-2: #47413e;
  --ink-3: #847770;
  --line: #e4d6d1;
  --bronze: #643a27;
  --bronze-2: #906c45;
  --night: #1c190f;
  --night-2: #2a2520;
  --on-night: #f7f1ee;
  --on-night-2: #d9c4c0;
  --gold: #caaba7;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 4.5vw, 56px);
  --max: 1240px;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--story, var(--paper)); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--bronze-2); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--mauve); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.04; letter-spacing: -0.005em; }
h2 { font-size: clamp(38px, 8.4vw, 76px); margin-top: 10px; }
h2 em, h1 em { font-style: italic; }
h3 { font-size: clamp(26px, 5.4vw, 34px); }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); max-width: 680px; margin: 16px 0 0; }
.sec { padding: clamp(64px, 11vw, 140px) 0; }
.sec-head { margin-bottom: clamp(26px, 5vw, 48px); }
.fine { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: #3a332b; }
.btn:hover { border-color: var(--bronze); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.light { border-color: rgba(255,255,255,0.85); color: #fff; background: rgba(0,0,0,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.light.solid { background: #fff; color: var(--ink); border-color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter); color: #fff; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.topbar.solid { background: var(--story-a, rgba(247, 241, 238, 0.94)); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mark { text-decoration: none; line-height: 1.1; }
.mark b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.mark small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; opacity: 0.85; }
.topnav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.topnav a { text-decoration: none; opacity: 0.9; }
.topnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.topbar .btn { min-height: 42px; padding: 0 18px; font-size: 14px; border-color: currentColor; }
@media (max-width: 960px) { .topnav a { display: none; } }   /* the links fold away on a phone; the music button stays in the menu */
.mark b { white-space: nowrap; }
.w-short { display: none; }
@media (max-width: 440px) { .w-long { display: none; } .w-short { display: inline; } .topbar { gap: 10px; } .topbar .topnav { gap: 0; } }
@media (max-width: 520px) { .mark b { font-size: 20px; } .mark small { display: none; } .topbar .btn { min-height: 40px; padding: 0 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #000; color: #fff; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 2s ease; }
.slide.on { opacity: 1; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide img { animation: kb 14s ease-out forwards; animation-play-state: paused; }
.slide.on img { animation-play-state: running; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.15) 38%, rgba(0,0,0,0.72) 62%, rgba(0,0,0,0.9) 100%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(28px, 6vh, 64px); }
.hero-copy .where { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.95; }
.hero-copy h1 { font-size: clamp(48px, 11vw, 132px); font-weight: 400; margin-top: 8px; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.hero-copy .price { font-family: var(--serif); font-size: clamp(30px, 6vw, 48px); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chips span { font-size: 15px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 560px) { .hero-copy .row .btn { flex: 1 1 0; padding: 0 14px; } .hero-copy .row .btn.book { flex: 1 1 100%; } }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.intro p { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); margin: 0 0 16px; }
.intro p.first { font-family: var(--serif); font-size: clamp(26px, 4.4vw, 36px); line-height: 1.25; color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--card); padding: 18px 18px 16px; }
.facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 44px); line-height: 1; }
.facts span { font-size: 15px; color: var(--ink-2); }
.features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.features span { font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- fly ---------- */
.fly-sec { background: var(--night); color: var(--on-night); padding: clamp(56px, 9vw, 110px) 0 0; }
.fly-sec .kicker { color: var(--gold); }
.fly-sec .lede { color: var(--on-night-2); }
/* the nine tours: a tidy set inside the column on desktop, a swipeable row on a phone */
.tour-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; }
.tour-pick { min-width: 0; text-align: left; padding: 10px 16px; border-radius: 999px; display: flex; align-items: baseline; gap: 8px; border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: var(--on-night); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.tour-pick:hover { border-color: rgba(255,255,255,0.5); }
.tour-pick b { font-size: 16px; }
.tour-pick small { font-size: 13px; color: var(--on-night-2); white-space: nowrap; }
@media (max-width: 640px) {
  .tour-picker { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 22px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 18px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tour-picker::-webkit-scrollbar { display: none; }
  .tour-pick { flex: none; scroll-snap-align: start; }
}
/* the arrow pad: shows when you have the controls; hold an arrow to fly, like Fly Winthrop */
.fly-pad { position: absolute; right: 12px; bottom: 84px; z-index: 4; display: grid; grid-template-columns: 40px repeat(3, 46px); grid-template-rows: repeat(2, 46px) auto; align-items: center; gap: 5px; justify-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.fly-pad[hidden] { display: none; }
.fly-pad button { width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.55); background: rgba(0,0,0,0.45); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; touch-action: none; }
.fly-pad button svg { width: 22px; height: 22px; }
.fly-pad button.on, .fly-pad button:active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.fly-pad .hi { grid-column: 1; grid-row: 1; } .fly-pad .lo { grid-column: 1; grid-row: 2; } .fly-pad .up { grid-column: 3; grid-row: 1; } .fly-pad .left { grid-column: 2; grid-row: 2; } .fly-pad .down { grid-column: 3; grid-row: 2; } .fly-pad .right { grid-column: 4; grid-row: 2; }
.fly-pad .hi, .fly-pad .lo { width: 40px; height: 40px; }
.fly-pad .hi svg, .fly-pad .lo svg { width: 18px; height: 18px; }
.fly-pad .hint { grid-column: 1 / -1; font-size: 12px; color: var(--on-night-2); text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.fly-stage:focus { outline: none; }
.fly-stage:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.tour-pick[aria-pressed="true"] { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.tour-pick[aria-pressed="true"] small { color: var(--ink-2); }
.fly-stage { position: relative; height: max(460px, min(820px, calc(100svh - var(--bar, 66px) - var(--picker, 150px)))); min-height: 0; background: #0b0a09; overflow: hidden; }
.fly-stage.full { position: fixed; inset: 0; z-index: 120; height: 100%; min-height: 0; }
.fly-map { position: absolute; inset: 0; transform-origin: 50% 50%; }
/* In the air the map is drawn past the edges so the view can bank without showing its corners. */
.fly-stage.flying .maplibregl-ctrl-top-right { opacity: 0; pointer-events: none; }
.fly-top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: 22px 56px 96px; text-align: center; pointer-events: none; background: linear-gradient(180deg, rgba(20,17,10,0.86) 0%, rgba(20,17,10,0.62) 45%, rgba(20,17,10,0) 100%); }
.fly-top .k { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.fly-top .c { font-family: var(--serif); font-size: clamp(34px, 7vw, 64px); line-height: 1.02; margin-top: 6px; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.fly-top .s { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 3.4vw, 24px); color: var(--on-night); margin-top: 4px; text-shadow: 0 1px 14px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6); }
.fly-top .k { text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.fly-card { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 76px; max-width: 460px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: rgba(16, 14, 11, 0.86); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fly-card[hidden] { display: none; }
.fly-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.fly-card .t { font-size: 16px; font-weight: 700; }
.fly-card .m { font-size: 15px; color: var(--on-night-2); margin-top: 2px; }
.fly-card .l { font-size: 15px; color: var(--on-night); margin-top: 4px; line-height: 1.45; }
.fly-card a { color: var(--gold); font-weight: 700; font-size: 15px; }
.fly-card .credit { font-size: 11px; color: #a8958e; margin-top: 4px; }
.fly-card.noimg { grid-template-columns: 1fr; }
@media (min-width: 900px) { .fly-card { left: 24px; right: auto; bottom: 92px; width: 440px; } }
.fly-ctl { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; padding: 12px; background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0)); }
.fly-ctl button { min-width: 50px; min-height: 50px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.55); background: rgba(0,0,0,0.45); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fly-ctl button.main { background: #fff; color: var(--ink); border-color: #fff; }
.fly-ctl svg { width: 18px; height: 18px; vertical-align: -3px; }
.fly-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--on-night-2); font-size: 15px; }
.fly-stage.full .fly-full .lbl-open, .fly-stage:not(.full) .fly-full .lbl-close { display: none; }
.fly-hint { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 18px; border-radius: 999px; background: rgba(0,0,0,0.65); color: #fff; font-size: 15px; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.fly-hint.on { opacity: 1; }
/* the stop: a pulsing gold dot with the place's name under it, so there is no doubt what you are looking at */
.stop-pin { width: 34px; height: 46px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45)); pointer-events: none; }
.stop-pin svg { display: block; width: 100%; height: 100%; }
.dot-pin { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--night); opacity: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.dot-pin::after { content: ""; position: absolute; inset: -12px; }   /* a thumb-sized target */
.dot-pin:hover { background: var(--gold); }
.home-pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); border: 2px solid var(--gold); font-family: var(--serif); font-weight: 700; font-size: 15px; }
.maplibregl-ctrl-attrib { font-size: 10px !important; }

/* ---------- room by room ---------- */
.chapters { position: sticky; top: var(--bar, 66px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter); background: var(--story-a, rgba(247,241,238,0.95)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.chapters::-webkit-scrollbar { display: none; }
.chapters a { flex: none; text-decoration: none; font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); }
.chapters a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chapter { padding: 40px 0 10px; scroll-margin-top: 130px; }
.chapter .wrap > h3 { font-size: clamp(30px, 6vw, 44px); }
.chapter .wrap > p { color: var(--ink-2); margin: 6px 0 0; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 520px); gap: 18px; overflow-x: auto; padding: 18px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shot { scroll-snap-align: start; margin: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--paper-2); aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.shot button:hover img { transform: scale(1.04); }
.shot figcaption { padding: 12px 12px 0; }
.shot figcaption b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.15; }
.shot figcaption span { display: block; font-size: 16px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }

/* ---------- walkthrough + lightbox ---------- */
.walk { position: fixed; inset: 0; z-index: 200; background: #000; display: none; color: #fff; }
.walk.open { display: block; }
.walk .ws { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; overflow: hidden; }
.walk .ws::before { content: ""; position: absolute; inset: -48px; background: var(--bg) center / cover; filter: blur(44px) brightness(0.5) saturate(1.15); }
.walk .ws.on { opacity: 1; }
.walk .ws img, .walk .ws video { position: relative; width: 100%; height: 100%; object-fit: cover; }
.walk .ws.on video { animation: kb 7s linear forwards; }
.walk .ws.on img { animation: kb 7s linear forwards; }
@media (orientation: portrait) and (max-width: 700px) { .walk .ws img { object-fit: contain; } .walk .ws.on img { animation: drift 7s ease-in-out forwards; } }
.walk::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85)); }
.walk .wtop { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px var(--gutter); }
.walk .wtop .n { font-size: 15px; font-weight: 700; }
.walk .wcap { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 86px; max-width: 760px; }
.walk .wcap .g { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.walk .wcap h3 { font-size: clamp(34px, 7vw, 64px); font-weight: 500; margin-top: 6px; }
.walk .wcap p { font-size: clamp(17px, 2.4vw, 20px); margin: 8px 0 0; color: #f1e9dc; }
.walk .wcap > * { animation: rise 0.7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.walk .wnav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.walk .wnav button, .walk .wtop button { min-width: 50px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.45); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.walk .wbar { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,0.18); }
.walk .wbar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.3s; }

/* ---------- film ---------- */
.film { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.film video { width: 100%; height: 100%; display: block; }
.film .poster { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000; }
.film .poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.film .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; }
.film .play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--ink); }

/* ---------- a day ---------- */
.day { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.moment { scroll-snap-align: start; }
.moment .ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.moment .ph img { width: 100%; height: 100%; object-fit: cover; }
.moment.night .ph img { object-position: 62% 50%; }
.moment .tm { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.92); font-weight: 700; font-size: 15px; }
.moment h3 { font-size: 26px; margin-top: 12px; }
.moment p { font-size: 16px; color: var(--ink-2); margin: 4px 0 0; }
.golden { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: #fff3dc; color: #6a4a12; font-weight: 600; font-size: 15px; }
.golden i { width: 10px; height: 10px; border-radius: 50%; background: #e7a93c; box-shadow: 0 0 10px #e7a93c; flex: none; }

/* ---------- nearby ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: 15px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-top: 18px; }
.place { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.place .pimg { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.place .pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place .pimg .rt { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(16,14,11,0.78); color: #fff; font-size: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.place .pimg .rt .star { color: var(--gold); }
.place .pimg.none { display: grid; place-items: center; background: linear-gradient(135deg, var(--paper-2), #e6d3cf); font-family: var(--serif); font-size: 64px; color: var(--bronze-2); }
.place .pb { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.place h4 { margin: 0; font-size: 20px; line-height: 1.2; }
.place .ty { font-size: 14px; color: var(--ink-3); letter-spacing: 0.02em; }
.place .pl { min-height: calc(3 * 1.5em); margin: 10px 0 2px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.place .ad { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.place .rt { font-size: 15px; color: var(--ink); font-weight: 600; }
.place .rt .star { color: var(--tobacco); }
.place .ad { font-size: 14px; color: var(--ink-3); }
.place .mins { font-family: var(--serif); font-size: 30px; line-height: 1; margin-top: 4px; }
.place .mins small { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-left: 4px; }
.place .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.place .acts .btn { min-height: 44px; padding: 0 16px; font-size: 15px; flex: 1; }

/* ---------- the facts ---------- */
/* the three fact cards are a strip: on a desktop the section holds while scrolling slides them right to left;
   on a phone they swipe. Wide cards set their rows in two columns so each card fits the window. */
.facts-grid { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(min(84vw, 380px), 30vw, 700px); gap: 16px; align-items: start; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.facts-grid > .panel { scroll-snap-align: start; padding: 22px 24px; }
.fl > div { break-inside: avoid; }
.facts-grid .fl > div { padding: 8px 0; font-size: 15px; grid-template-columns: 104px 1fr; }
.facts-grid .fc-n { font-family: var(--serif); font-size: 15px; letter-spacing: 0.08em; color: var(--mauve); margin-bottom: 2px; }
.facts-grid h3 { font-size: 28px; }
#facts .sec-head { margin-bottom: 20px; }
.facts-grid h3 { font-size: 26px; margin-bottom: 10px; }
.fl { margin: 0; }
.fl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.fl > div:first-child { border-top: 0; }
.fl dt { color: var(--ink-3); font-weight: 600; }
.fl dd { margin: 0; color: var(--ink); }

/* ---------- light ---------- */
.light-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .light-grid { grid-template-columns: 1fr; } }
.sunbox { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; width: 100%; touch-action: none; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.sunbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--bright, 1)) saturate(var(--sat, 1)) sepia(var(--sepia, 0)); transition: filter 0.25s; pointer-events: none; }
.sunbox > div { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.25s; }
/* the real film of the day over the house; when it can play, the painted effects step aside */
.sunbox video.day { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.sunbox.film video.day { opacity: 1; }
.sunbox.film img { filter: none; }
.sunbox.film .sky, .sunbox.film .warm, .sunbox.film .glow, .sunbox.film .dusk { display: none; }
/* night: a blue wash, then the pool, the spa, the fountain and the lanterns come on */
.sunbox .sky { background: #16305e; mix-blend-mode: multiply; opacity: var(--night, 0); }
.sunbox .dusk { opacity: var(--lit, 0); background:
  radial-gradient(ellipse 8% 6% at 62% 45%, rgba(120,215,255,0.7), rgba(60,170,220,0.3) 60%, transparent 100%),
  radial-gradient(ellipse 3% 3.6% at 56.5% 41%, rgba(140,225,255,0.6), transparent 100%); }
/* low sun: warm light from the sun's side of the frame */
.sunbox .warm { mix-blend-mode: soft-light; opacity: var(--warm, 0); background: linear-gradient(var(--sun-deg, 90deg), rgba(255,140,40,0.95), rgba(255,200,120,0.4) 45%, transparent 75%); }
.sunbox .glow { mix-blend-mode: screen; opacity: var(--glow, 0); background: radial-gradient(circle at var(--sun-x, 50%) var(--sun-y, 50%), rgba(255,246,220,0.95), rgba(255,205,120,0.55) 12%, rgba(255,160,60,0.18) 30%, transparent 55%); }
.sunbox > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sunbox .star { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.sun-play { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.5); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sun-play svg { width: 18px; height: 18px; }
.sun-play[aria-pressed="true"] svg { display: none; }
@media (max-width: 960px) { .light-grid .sunbox { aspect-ratio: 4 / 3; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel label, .panel .lab { display: block; font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.panel label:first-child, .panel .lab:first-child { margin-top: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.clock { font-family: var(--serif); font-size: 44px; line-height: 1; }
/* a slider you can grab on the first try: a tall hit area, a big thumb, and the page never steals the drag */
input[type=range] { width: 100%; height: 44px; margin: 0; accent-color: var(--bronze); touch-action: none; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--bronze); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--bronze); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
input[type=range]:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.readout div { background: var(--paper); border-radius: 10px; padding: 12px; }
.readout b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.readout span { font-size: 14px; color: var(--ink-2); }

/* ---------- own it ---------- */
.own { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .own { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; font-weight: 600; }
.field output { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.total .big { font-family: var(--serif); font-size: clamp(54px, 10vw, 88px); line-height: 1; }
.total .big small { font-size: 0.32em; color: var(--ink-2); }
.bars { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 18px 0; }
.bars i { display: block; height: 100%; }
.legend { display: grid; gap: 10px; }
.legend div { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font-size: 16px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend b { font-variant-numeric: tabular-nums; }

/* ---------- showing ---------- */
.show { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; } }
form.req { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.req .full { grid-column: 1 / -1; }
form.req label { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 6px; margin: 0; font-size: 15px; font-weight: 700; }
form.req input, form.req select, form.req textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; }
form.req input:focus, form.req select:focus, form.req textarea:focus { outline: none; border-color: var(--bronze); }
@media (max-width: 560px) { form.req { grid-template-columns: 1fr; } }
.agent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.agent img, .agent .ali-v { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; display: block; }
.agent h3 { font-size: 32px; }
.agent .role { color: var(--ink-2); font-size: 16px; margin-top: -4px; }
.agent .row { justify-content: center; }
.qr { width: 150px; height: 150px; margin-top: 8px; }
.qr svg { width: 100%; height: 100%; display: block; }
.toast { position: fixed; top: 14px; left: 50%; z-index: 300; width: min(380px, calc(100% - 28px)); transform: translate(-50%, calc(-100% - 40px)); visibility: hidden; display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(28, 25, 21, 0.96); color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.35); transition: transform 0.55s cubic-bezier(.2,.9,.3,1.2), visibility 0.55s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 22px; }
.toast b { font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.toast b small { color: #a99f90; font-weight: 400; }
.toast p { margin: 2px 0 0; font-size: 15px; line-height: 1.4; color: #eee5d6; }
.toast em { display: block; font-style: normal; font-size: 12px; color: #a99f90; margin-top: 6px; }

/* ---------- gallery lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 220; display: none; flex-direction: column; background: #0a0908; color: #fff; }
.lb.open { display: flex; }
.lb .lbi { position: relative; flex: 1; min-height: 0; overflow: hidden; container-type: size; --m: clamp(16px, 4vw, 64px); }
.lb .lbbg { position: absolute; inset: -48px; background-size: cover; background-position: center; filter: blur(44px) brightness(0.5) saturate(1.15); opacity: 0; transition: opacity 0.9s ease; }
.lb .lbbg.on { opacity: 1; }
.lb .lbf { --ar: 1.5; --fw: min(calc(100cqw - 2 * var(--m)), calc((100cqh - 2 * var(--m)) * var(--ar)));
  position: absolute; inset: 0; margin: auto; width: var(--fw); height: calc(var(--fw) / var(--ar));
  border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); opacity: 0; transition: opacity 0.75s ease; }
.lb .lbf.on { opacity: 1; }
.lb .lbi img, .lb .lbi video, .lb .lbi canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform-origin: 50% 50%; }
.lb .lbm { position: absolute; inset: 0; transform-origin: 50% 50%; }
.lb .lbm.on { animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1%, 0.8%); } }
/* a fixed-height caption so the photo never moves when the next caption is longer */
.lb .lbc { position: relative; z-index: 2; padding: 14px var(--gutter) 0; max-width: 860px; margin: 0 auto; width: 100%; height: 150px; overflow: hidden; }
.lb .lbc b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.lb .lbc span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; color: #e8dfd0; margin-top: 4px; line-height: 1.4; }
.lb .lbn { display: flex; justify-content: center; gap: 8px; padding: 6px 0 16px; }
.lb button { min-width: 50px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.4); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.lb .x { position: absolute; z-index: 3; top: 10px; right: 10px; }
/* the sound toggle: speaker when on, crossed when off */
.snd svg { width: 20px; height: 20px; vertical-align: -5px; }
.snd .off, .snd[aria-pressed="false"] .on { display: none; }
.snd[aria-pressed="false"] .off { display: inline; }
.lb .lbs { position: absolute; z-index: 3; top: 10px; right: 70px; }

/* ---------- footer ---------- */
footer { background: var(--night); color: var(--on-night-2); padding: 56px 0 70px; font-size: 15px; line-height: 1.6; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
footer b { color: var(--on-night); }
footer a { color: var(--gold); }
footer details { margin-top: 12px; }
footer summary { cursor: pointer; color: var(--on-night); font-weight: 700; }
footer .credits { font-size: 13px; color: #a99f90; margin-top: 8px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .slide.on img, .walk .ws.on img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- from above: the day film ---------- */
.dayfilm { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1b1a22; touch-action: pan-y; cursor: ew-resize; box-shadow: 0 30px 60px -30px rgba(40, 28, 16, 0.45); }
.dayfilm > img, .dayfilm > div:not(.df-now) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dayfilm .df-day { filter: brightness(var(--b, 1)) saturate(var(--sa, 1.04)) sepia(var(--se, 0)); }
.dayfilm .df-cool { background: #34508f; mix-blend-mode: multiply; opacity: var(--cool, 0); }
.dayfilm .df-warm { mix-blend-mode: soft-light; opacity: var(--warm, 0); background: linear-gradient(var(--wdir, 90deg), rgba(255, 128, 40, 1), rgba(255, 176, 110, 0.55) 45%, rgba(255, 200, 150, 0) 85%); }
.dayfilm .df-glow { mix-blend-mode: screen; opacity: var(--glow, 0); background: radial-gradient(120% 90% at var(--gx, 0%) 45%, rgba(255, 170, 100, 0.55), rgba(255, 150, 90, 0.18) 40%, rgba(255, 150, 90, 0) 70%); }
.dayfilm .df-night { opacity: var(--n, 0); }
.dayfilm::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.38), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 72%, rgba(0,0,0,0.32)); }
.df-now { position: absolute; z-index: 2; left: 18px; top: 16px; color: #fff; display: flex; flex-direction: column; gap: 2px; pointer-events: none; text-shadow: 0 1px 10px rgba(0,0,0,0.5); padding: 10px 16px 12px; border-radius: 14px; background: rgba(28,25,15,0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.df-now span { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--rose); }
.df-now b { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 46px); line-height: 1; }
.dayfilm .sun-play { left: auto; right: 16px; bottom: 16px; }
.df-scale { max-width: 100%; margin-top: 14px; }
.df-marks { position: relative; height: 22px; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.df-marks span { position: absolute; top: 0; white-space: nowrap; }
@media (max-width: 700px) { .dayfilm { aspect-ratio: 4 / 3; } .df-now { left: 16px; top: 14px; } } 

/* ---------- music: barryframing.com's five-bar button, in the menu ---------- */
.top-r { display: flex; align-items: center; gap: 10px; }
.topnav .tool-btn { width: 38px; height: 38px; }
.tool-btn { appearance: none; -webkit-appearance: none; width: 42px; height: 42px; flex: none; padding: 0; border-radius: 999px; display: grid; place-items: center; cursor: pointer; color: inherit; background: transparent; border: 1.5px solid currentColor; opacity: 0.92; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease; }
.tool-btn:hover { opacity: 1; }
.tool-btn:active { transform: scale(0.96); }
.tool-btn svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tool-btn.is-active { border-color: #7a4a33; background: var(--cocoa); color: #fff7f5; opacity: 1; box-shadow: 0 0 0 2px rgba(100,58,39,0.3), 0 8px 22px rgba(100,58,39,0.35); }
.tool-btn.is-active svg path { animation: bars 1.1s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.tool-btn.is-active svg path:nth-child(2) { animation-delay: -0.35s; } .tool-btn.is-active svg path:nth-child(3) { animation-delay: -0.7s; } .tool-btn.is-active svg path:nth-child(4) { animation-delay: -0.2s; } .tool-btn.is-active svg path:nth-child(5) { animation-delay: -0.55s; }
.tool-btn.is-loading svg path { animation: none; }
@keyframes bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } }
@media (prefers-reduced-motion: reduce) { .tool-btn.is-active svg path { animation: none; } }
@media (max-width: 520px) { .tool-btn { width: 40px; height: 40px; } }

.place h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* strips pinned on desktop: the section holds while the strip slides through its pictures */
.pinned > .pin > .pin-stick { position: sticky; }
.pinned .day, .pinned .strip, .pinned .facts-grid { scroll-snap-type: none; overflow-x: hidden; scrollbar-width: none; }
.pinned .day::-webkit-scrollbar, .pinned .strip::-webkit-scrollbar, .pinned .facts-grid::-webkit-scrollbar { display: none; }
#day.pinned { padding-bottom: clamp(40px, 6vw, 80px); }


/* on the tour, the stop's own Nearby card comes up over the map */
.fly-card.has-place { display: block; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; width: 300px; max-width: calc(100% - 24px); right: auto; }
.fly-card .place.in-fly { box-shadow: 0 18px 40px rgba(0,0,0,0.45); color: var(--ink); }
.fly-card .place.in-fly .pimg img { width: 100%; height: 100%; border-radius: 0; }
.fly-card .place.in-fly .pl { min-height: 0; -webkit-line-clamp: 2; }
.fly-card .place.in-fly .acts { padding-top: 8px; }
.fly-card .place.in-fly .btn { color: var(--ink); font-size: 15px; }
.fly-card .place.in-fly .btn.solid { color: var(--paper); }
@media (max-width: 700px) { .fly-card.has-place { width: auto; left: 12px; right: 12px; max-width: none; bottom: 70px; } .fly-card .place.in-fly { flex-direction: row; } .fly-card .place.in-fly .pimg { aspect-ratio: auto; width: 34%; flex: none; } .fly-card .place.in-fly .pl, .fly-card .place.in-fly .ad, .fly-card .place.in-fly .acts, .fly-card .place.in-fly .pimg .rt { display: none; } .fly-card .place.in-fly .pb { padding: 10px 12px; } }
@media (max-height: 760px) and (min-width: 701px) { .fly-card .place.in-fly .pl { display: none; } }

/* ---------- the palette, in blocks (his ask 10-28: colors for headers and sections) ----------
   Facts on Dusty Rose; the film on Graphite; a day on Moss; the day from above on Cocoa; the showing on Mauve.
   Room chapters each take a colour for their heading. Everything else keeps the scroll colour story. */
#facts { background: var(--rose); }
#facts .kicker { color: var(--cocoa); }
#film { background: var(--graphite); }
#day { background: var(--moss); }
#light { background: var(--cocoa); }
#showing { background: var(--mauve); }
.tone-dark { color: var(--on-night); }
.tone-dark .kicker { color: var(--rose); }
.tone-dark .lede, .tone-dark .moment p, .tone-dark .df-marks { color: var(--on-night-2); }
#showing .kicker { color: #f3e3e6; }
#showing .lede { color: #f7ecee; }
.tone-dark input[type=range]::-webkit-slider-runnable-track { background: rgba(255,255,255,0.28); }
.tone-dark input[type=range]::-moz-range-track { background: rgba(255,255,255,0.28); }
.tone-dark input[type=range]::-webkit-slider-thumb { background: var(--rose); }
.tone-dark input[type=range]::-moz-range-thumb { background: var(--rose); }
.tone-dark .moment .tm { background: rgba(255,255,255,0.94); color: var(--ink); }
.tone-dark .panel, .tone-dark .agent { color: var(--ink); }
.chapter:nth-child(1) > .wrap > h3, .chapter:nth-child(1) h3 { color: var(--cocoa); }
.chapter:nth-child(2) h3 { color: var(--moss); }
.chapter:nth-child(3) h3 { color: var(--tobacco); }
.chapter:nth-child(4) h3 { color: var(--mauve); }
.chapter:nth-child(5) h3 { color: var(--graphite); }
.chapter:nth-child(6) h3 { color: var(--taupe); }
.chapter:nth-child(7) h3 { color: var(--moss); }
#nearby h2 em, #rooms h2 em, #own h2 em, #home h2 em { color: var(--mauve); }
.dayfilm > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* I'll fly: the real flight, framed in the stage; the map's own overlays step aside */
.fly-stage .fly-air { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #9cb8c8; }
.fly-stage.in-air .fly-top, .fly-stage.in-air .fly-card, .fly-stage.in-air .fly-pad, .fly-stage.in-air .fly-hint, .fly-stage.in-air .maplibregl-ctrl-top-right { display: none !important; }
.fly-stage.in-air .fly-ctl { background: none; pointer-events: none; }
.fly-stage.in-air .fly-ctl button { pointer-events: auto; }
.fly-stage.in-air #flyPrev, .fly-stage.in-air #flyNext { display: none; }


/* the rating sits with the words, never over the photo */
.place .pb .rt { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-top: 2px; }
.place .pb .rt .star { color: var(--tobacco); }

/* No widows: never a single word alone on the last line (Pierce, 10-28). Headings balance their lines;
   body text uses the browser's orphan control, and app.js ties the last two words of every block together. */
h1, h2, h3, h4, .c, .lbc b, .fly-top .c { text-wrap: balance; }
p, li, figcaption, span, .lede, .pl, .lbc span, .l, .s, .fine, .moment p { text-wrap: pretty; }

/* each room chapter on a gentle tint of its own heading colour (Pierce, 10-28) */
.chapter { transition: background-color 0.6s ease; padding: 56px 0 36px; }
.chapter:nth-child(1) { background: #f4ebe5; }   /* cocoa: blush clay */
.chapter:nth-child(2) { background: #eef0e5; }   /* moss: pale sage */
.chapter:nth-child(3) { background: #f5ede1; }   /* tobacco: warm sand */
.chapter:nth-child(4) { background: #f4e9ed; }   /* mauve: soft rose */
.chapter:nth-child(5) { background: #eeecea; }   /* graphite: warm stone */
.chapter:nth-child(6) { background: #f1ece8; }   /* taupe: linen */
.chapter:nth-child(7) { background: #ebefe3; }   /* moss: garden */

/* the music button wears the colour of the section under the menu */
.topnav .tool-btn { color: var(--accent, var(--mauve)); transition: color 0.6s ease, border-color 0.6s ease, background 0.6s ease; }
.topnav .tool-btn.is-active { background: var(--accent, var(--cocoa)); border-color: var(--accent, var(--cocoa)); color: #fff; }

/* ---------- restyle any room ---------- */

/* Ali's welcome, by the visitor's own day and time */
.hello { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; max-width: 640px; }
.hello img, .hello .ali-v { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--rose); }
.hello p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.35; color: var(--ink-2); }
.hello p span { color: var(--mauve); font-style: italic; }
.hello p i { font-style: italic; color: var(--cocoa); white-space: nowrap; }
.hello p i::before { content: "\2014\00a0"; }

/* a hint of motion: things rise gently into place as they scroll in */
.rise { opacity: 0; transform: translateY(16px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform 0.9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

/* the Fly link lands on the tour row, with the whole map below it on screen */
.tour-picker { position: relative; }
.tour-picker .anchor { position: absolute; top: 0; scroll-margin-top: calc(var(--bar, 66px) + 18px); }

/* ---------- the neighborhood: places beside the map ---------- */
.anchor { display: block; position: relative; top: calc(-1 * var(--bar, 66px) - 18px); height: 0; }
.hood { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; background: var(--night); }
.hood-list { height: 0; min-height: 100%; overflow-y: auto; padding: 0 14px 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.hood-list .hl-h { position: sticky; top: 0; z-index: 2; padding: 16px 4px 10px; background: var(--night); display: flex; flex-direction: column; gap: 2px; }
.hood-list .hl-h b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--on-night); }
.hood-list .hl-h span { font-size: 14px; color: var(--on-night-2); }
.hood-list .place { flex: none; cursor: pointer; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.hood-list .place .pimg { aspect-ratio: 16 / 9; }
.hood-list .place .pl { min-height: 0; -webkit-line-clamp: 2; }
.hood-list .place .acts { padding-top: 8px; }
.hood-list .place .acts .btn { flex: 0 0 auto; }
.hood-list .place.on { box-shadow: 0 0 0 3px var(--rose), 0 14px 30px rgba(0,0,0,0.35); }
.hood-list .place:hover { transform: translateY(-2px); }
.hood .fly-stage { min-width: 0; }
.fly-card { display: none !important; }
.hood-fine { color: var(--on-night-2); padding: 16px 0 40px; margin: 0; }
@media (max-width: 960px) {
  .hood { grid-template-columns: 1fr; }
  .hood .fly-stage { order: 1; }
  .hood-list { order: 2; height: auto; min-height: 0; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 14px 12px 6px; scroll-snap-type: x mandatory; }
  .hood-list .hl-h { display: none; }
  .hood-list .place { width: 78vw; max-width: 320px; scroll-snap-align: center; }
  .hood-list .place .ad { display: none; }
}

/* place cards in the dark neighborhood section keep dark text */
.hood-list .place { color: var(--ink); }
.hood-list .place h4 { color: var(--ink); }
.hood-list .place .mins { color: var(--ink); }

/* the list scrolls under soft fades, so there is clearly more above and below */
.hood-list { position: relative; padding-bottom: 40vh; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 90px), transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 90px), transparent 100%); }
.hood-list .hl-h { box-shadow: 0 18px 22px -6px var(--night); }
@media (max-width: 960px) { .hood-list { padding-bottom: 6px; -webkit-mask-image: none; mask-image: none; } }

/* restyle swatches sit in the caption band, beside the room's words */
.lb .lbc.has-rs { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: start; height: 150px; }
.lb .lbc.has-rs > b, .lb .lbc.has-rs > span { grid-column: 1; }
.lb .lbc.has-rs .rs-pick { grid-column: 2; grid-row: 1 / span 2; }
.rs-pick .rs-k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--rose); margin-bottom: 10px; }
.rs-pick .rs-row { display: flex; gap: 14px; }
.lb .rs-pick button { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: #e9e0d6; font-size: 13px; font-weight: 600; cursor: pointer; }
.rs-pick button img { width: 112px; height: 75px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,0.12); transition: box-shadow 0.25s, transform 0.25s; }
.rs-pick button:hover img { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }
.rs-pick button[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--rose); }
.rs-pick button[aria-pressed="true"] span { color: #fff; }
.rs-pick.hint button:nth-child(2) img { animation: rsHint 1.6s ease-in-out 1s 3; }
@keyframes rsHint { 0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,0.12); } 50% { box-shadow: 0 0 0 4px var(--rose), 0 0 24px rgba(202,171,167,0.6); } }
@media (max-width: 900px) {
  .lb .lbc, .lb .lbc.has-rs { display: block; height: 172px; }
  .lb .lbc.has-rs > span { display: none; }
  .rs-pick { margin-top: 8px; } .rs-pick .rs-k { display: none; }
  .rs-pick .rs-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 96px); gap: 10px; overflow: visible; }
  .lb .rs-pick button { width: 100%; }
  .rs-pick button img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .lb .rs-pick button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
}
.lbf .rs { position: absolute; inset: 0; z-index: 2; --x: 100%; cursor: ew-resize; touch-action: none; animation: none; }
.lbf .rs.out { opacity: 0; transition: opacity 0.45s; }
.lbf .rs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: none !important; transform: none !important; }
.lbf .rs img.b { clip-path: inset(0 0 0 var(--x)); }
.lbf .rs.sweep img.b { transition: clip-path 1.2s cubic-bezier(.65,0,.35,1); }
.lbf .rs .h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,0.35); }
.lbf .rs.sweep .h { transition: left 1.2s cubic-bezier(.65,0,.35,1); }
.lbf .rs .h i { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.lbf .rs .h i::before, .lbf .rs .h i::after { content: ""; position: absolute; top: 50%; margin-top: -5px; border: 5px solid transparent; }
.lbf .rs .h i::before { left: 7px; border-right-color: var(--ink); }
.lbf .rs .h i::after { right: 7px; border-left-color: var(--ink); }

/* the place list snaps card by card, each one landing in the middle */
.hood-list { scroll-snap-type: y mandatory; scroll-padding-top: 70px; }
.hood-list .place { scroll-snap-align: center; }
@media (max-width: 960px) { .hood-list { scroll-snap-type: x mandatory; scroll-padding-top: 0; } }
.hood-list { overscroll-behavior: contain; }   /* scrolling the list never carries on into the page */

/* money and numbers a buyer reads closely: full-height figures, not the serif's old-style ones */
.hero-copy .price, .field output, #oTotal, .big, .facts td, .facts dd, .df-now b { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

form.req ::placeholder { color: var(--ink-2); opacity: 0.8; }

/* the hero leads with booking; on a phone the two tours share a row under it */
.hero-copy .row .btn.book { min-width: 200px; }

/* phones: Book and Call stay one thumb away, from below the hero until the showing form is on screen */
.bookbar { display: none; }
@media (max-width: 760px) {
  .bookbar { display: flex; gap: 10px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 241, 238, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform 0.35s ease; }
  .bookbar.on { transform: none; }
  .bookbar .btn { min-height: 48px; }
  .bookbar .btn.solid { flex: 1 1 auto; }
  .bookbar .btn.call { flex: none; padding: 0 18px; gap: 8px; }
  .lb.open ~ .bookbar, .walk.open ~ .bookbar { transform: translateY(110%); }
}
.lb .lbc .rs-pick button span { display: block; font-size: 13px; line-height: 1.3; margin: 0; color: inherit; -webkit-line-clamp: unset; }
.lb .lbc .rs-pick button[aria-pressed="true"] span { color: #fff; }
.lb .lbc .rs-pick .rs-s { display: none; }
@media (max-width: 900px) { .lb .lbc .rs-pick .rs-l { display: none; } .lb .lbc .rs-pick .rs-s { display: block; } }

/* phones and tablets: the map and the place row share one screen, so a tour never needs scrolling up and down.
   Each card is a compact row (photo, name, rating, minutes); its description opens with More. */
.place .more { display: none; }
@media (max-width: 960px) {
  .hood .fly-stage { height: calc(100svh - var(--bar, 66px) - 158px); min-height: 300px; max-height: 900px; }
  .hood-list { padding: 12px 12px 10px; gap: 10px; align-items: flex-start; scroll-padding-inline: 12px; }
  .hood-list .place { width: min(82vw, 360px); max-width: none; flex-direction: row; min-height: 118px; }
  .hood-list .place .pimg { aspect-ratio: auto; width: 108px; flex: none; align-self: stretch; }
  .hood-list .place .pimg .rt { display: none; }
  .hood-list .place .pb { padding: 10px 12px; gap: 2px; min-width: 0; }
  .hood-list .place h4 { font-size: 17px; }
  .hood-list .place .ty { font-size: 13px; }
  .hood-list .place .rt { font-size: 13px; }
  .hood-list .place .mins { font-size: 24px; margin-top: 2px; }
  .hood-list .place .mins small { font-size: 12.5px; }
  .hood-list .place .pl { display: none; margin: 6px 0 0; min-height: 0; font-size: 14.5px; -webkit-line-clamp: unset; }
  .hood-list .place.open .pl { display: block; }
  .hood-list .place .more { display: inline-block; align-self: flex-start; margin-top: 4px; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--mauve); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .tour-picker { scroll-padding-inline: var(--gutter); }
}

/* phones: the home gets the top of the screen to itself; the name, price and buttons sit below it on ink,
   not over the facade */
@media (max-width: 560px), (max-width: 1100px) and (orientation: portrait) {
  .hero { display: flex; flex-direction: column; background: #14110b; }
  .hero::after { display: none; }
  .hero .slides { position: relative; inset: auto; flex: 1 1 auto; min-height: 38%; overflow: hidden; }
  .hero .slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 78%, #14110b 100%); }
  .hero-copy { position: relative; inset: auto; padding-top: 4px; padding-bottom: clamp(22px, 4vh, 44px); }
  .hero-copy h1 { font-size: clamp(42px, 9vw, 78px); }
  .chips { margin-bottom: 0; }
  .hero-copy .row { margin-top: 18px; }
}
@media (max-width: 560px) {
  .hero-copy .where { font-size: 13px; }
  .hero-copy h1 { font-size: 42px; margin-top: 4px; }
  .hero-copy .price { font-size: 28px; margin-top: 6px; }
  .hero-copy .chips { margin: 10px 0 0; gap: 6px; }
  .hero-copy .chips span { font-size: 13px; padding: 5px 10px; }
  .hero-copy .row { margin-top: 14px; gap: 8px; }
  .hero-copy .row .btn { min-height: 46px; }
}
.topbar:not(.solid) .topnav .tool-btn:not(.is-active) { color: #fff; border-color: rgba(255,255,255,0.8); }
@media (max-width: 960px) { .hood-list { overscroll-behavior-x: contain; overscroll-behavior-y: auto; } }   /* the sideways row never swallows an up-or-down swipe */

/* the hero's facts read as a line of text, not as buttons that can't be pressed; space sets them apart */
.facts-line { display: flex; flex-wrap: wrap; column-gap: 26px; row-gap: 2px; margin-top: 12px; font-size: 17px; font-weight: 600; letter-spacing: 0.01em; opacity: 0.95; }
.facts-line span { white-space: nowrap; }
@media (max-width: 560px) { .facts-line { column-gap: 18px; font-size: 15px; margin-top: 8px; } }

/* the showing section fits one screen: tapping Book a showing lands on the whole form, button included */
#showing { padding: 28px 0 56px; }
#showing .sec-head { margin-bottom: 16px; }
#showing h2 { font-size: clamp(34px, 4.4vw, 52px); }
#showing .show { align-items: start; }
form.req { gap: 10px 12px; }
form.req label { gap: 4px; font-size: 14px; }
form.req input, form.req select, form.req textarea { font-size: 16px; padding: 10px 12px; }
form.req textarea { min-height: 0; resize: vertical; }
#showing .agent { gap: 8px; }
.agent img, .agent .ali-v { width: 120px; height: 120px; }
.agent h3 { font-size: 26px; }
.qr { width: 112px; height: 112px; margin-top: 4px; }
@media (max-width: 560px) {
  form.req { grid-template-columns: 1fr 1fr; }      /* name and phone, day and time stay side by side */
  #showing .panel { padding: 16px; }
}
@media (max-width: 760px) {
  #showing .qr, #showing .qr + .fine { display: none; }   /* nobody scans a code on the phone they are holding */
  .agent img, .agent .ali-v { width: 96px; height: 96px; }
}

@media (pointer: coarse) { div.day, .strip, .facts-grid { touch-action: pan-y; } }   /* the page pans up and down natively; sideways is the strip's own */

/* the film's play control is a small pill, not a giant disc */
.film .play { left: 18px; top: auto; bottom: 18px; transform: none; width: auto; height: auto; padding: 11px 18px 11px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.film .play svg { width: 16px; height: 16px; margin: 0; }

/* walkthrough: the photo sits whole in the upper part of the screen, framed with rounded corners over its own
   blurred colors; the words live below it and never cover the room. Titles take the palette's dusty rose. */
.walk { --wcap: 300px; }
.walk .ws { display: flex; align-items: center; justify-content: center; padding: 60px var(--gutter) var(--wcap); }
.walk .ws img, .walk .ws video { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.walk .ws.on img, .walk .ws.on video { animation: wkb 7s ease-out forwards; }
@keyframes wkb { from { transform: scale(1.035); } to { transform: scale(1); } }
.walk::after { background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0) 14%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55)); }
.walk .wcap { bottom: 84px; left: 50%; right: auto; transform: translateX(-50%); width: min(820px, calc(100% - 2 * var(--gutter))); text-align: center; }
.walk .wcap h3 { font-size: clamp(30px, 4.4vw, 50px); color: var(--rose); }
.walk .wcap .g { color: #e6d6c8; }
.walk .wcap p { font-size: clamp(16px, 1.9vw, 19px); }
@media (orientation: portrait) and (max-width: 700px) { .walk { --wcap: 280px; } .walk .ws.on img { animation: wkb 7s ease-out forwards; } .walk .wcap { text-align: left; } }
@media (max-height: 760px) { .walk { --wcap: 250px; } .walk .wcap p { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; } }
@media (min-width: 1600px) and (min-height: 900px) {
  .facts-grid > .panel { padding: 30px 34px; }
  .facts-grid h3 { font-size: 38px; margin-bottom: 14px; }
  .facts-grid .fc-n { font-size: 18px; }
  .facts-grid .fl > div { font-size: 18px; padding: 11px 0; grid-template-columns: 150px 1fr; }
}

/* the film: nothing on top while it plays; a tap shows three small controls and a hairline of progress */
.film video { cursor: pointer; }
.film:fullscreen video { object-fit: contain; }
.film-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: center; padding: 14px; background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0)); opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.film.ui-on .film-ui { opacity: 1; pointer-events: auto; }
.film-ui button { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,0.9); color: var(--ink); cursor: pointer; }
.film-ui button svg { width: 18px; height: 18px; }
.film-ui button[data-a="full"] { margin-left: auto; }
.film-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.25); }
.film-prog b { display: block; height: 100%; width: 0; background: var(--rose); }

/* the address: the street on its own, balanced over two lines where it must break; the place beneath it in
   the serif, quietly, the way an invitation sets it */
.hero-copy h1 { text-wrap: balance; max-width: 11em; }
.hero-copy .where { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 26px); font-weight: 400; letter-spacing: 0.01em; text-transform: none; opacity: 0.92; }
.hero-copy .where span { opacity: 0.55; margin: 0 4px; font-style: normal; }
.hero-copy h1 + .where + .price { margin-top: 14px; }
@media (max-width: 560px) { .hero-copy .where { font-size: 18px; margin-top: 6px; } }

/* on a computer, a sent request becomes Ali's number, the message to copy, and a code to text from a phone */
form.req .req-done { display: none; }
form.req.is-done > *:not(.req-done) { display: none; }
form.req.is-done .req-done { display: block; }
.req-done h3 { font-size: 30px; }
.req-done > p { margin: 4px 0 0; color: var(--ink-2); }
.req-num { display: inline-block; margin-top: 8px; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 44px); color: var(--ink); text-decoration: none; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.req-msg { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1.5px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink); user-select: text; }
.req-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.req-acts .btn { min-height: 46px; font-size: 15px; }
.req-qr { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.req-qr .q { width: 104px; height: 104px; flex: none; }
.req-qr .q svg { width: 100%; height: 100%; display: block; }
.req-qr .fine { margin: 0; }
.show.req-sent .agent .qr, .show.req-sent .agent .qr + .fine { display: none; }
#aliMsg { cursor: pointer; text-transform: none; }

/* a listing that is pending or sold says so beside its price */
.hero-copy .price .status { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* the facts, shown off: every card opens on a photo of the part of the home it describes, leads with one
   number worth knowing, then the details. Cards stand the same height so the row reads as one piece. */
.facts-grid { align-items: stretch; }
.facts-grid > .panel.fc { padding: 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -36px rgba(60, 30, 30, 0.45); border: 0; }
.fc-ph { aspect-ratio: 2.3 / 1; overflow: hidden; background: var(--paper-2); }
.fc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
.panel.fc:hover .fc-ph img { transform: scale(1.04); }
.fc-b { padding: 18px 24px 20px; flex: 1; }
.facts-grid .fc-n { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--mauve); margin: 0; }
.fc-lead { margin: 8px 0 12px; }
.fc-lead b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 3.2vw, 54px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.fc-lead span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.facts-grid .fl > div:first-child { border-top: 1px solid var(--line); }
@media (max-height: 820px) and (min-width: 701px) { #facts .lede { display: none; } .fc-ph { aspect-ratio: 3 / 1; } .facts-grid .fl > div { padding: 6px 0; font-size: 14.5px; } }
@media (min-width: 1600px) and (min-height: 900px) { .fc-b { padding: 24px 32px 28px; } .facts-grid h3 { font-size: 38px; } }
.show.sold { grid-template-columns: minmax(0, 520px); justify-content: center; }
form.req[hidden] { display: none; }
