/* 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 {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --card: #ffffff;
  --ink: #1d1a16;
  --ink-2: #4a433b;
  --ink-3: #6d6459;
  --line: #ddd3c4;
  --bronze: #835f2c;
  --bronze-2: #a87d3f;
  --night: #0f0d0b;
  --night-2: #1a1713;
  --on-night: #f6f0e6;
  --on-night-2: #d9cfbf;
  --gold: #e0bd7c;
  --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(--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(--bronze); }
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: rgba(247, 243, 236, 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; 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 { display: none; } }
.mark b { white-space: nowrap; }
@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.on img { animation: kb 12s ease-out forwards; }
@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 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; 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: repeat(3, 46px); grid-template-rows: repeat(2, 46px) auto; 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 .up { grid-column: 2; grid-row: 1; } .fly-pad .left { grid-column: 1; grid-row: 2; } .fly-pad .down { grid-column: 2; grid-row: 2; } .fly-pad .right { grid-column: 3; grid-row: 2; }
.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: min(82vh, 820px); min-height: 520px; 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; }
.fly-top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: 22px 56px 70px; text-align: center; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0)); }
.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(--gold); 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: #9c917f; 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 { position: relative; width: 0; height: 0; }
.stop-pin i { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(224,189,124,0.8); animation: pulse 2s infinite; }
.stop-pin b { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 11px; border-radius: 999px; background: rgba(16,14,11,0.82); color: #fff; font-size: 14px; font-weight: 700; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stop-pin b:empty { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,189,124,0.8); } 70% { box-shadow: 0 0 0 20px rgba(224,189,124,0); } 100% { box-shadow: 0 0 0 0 rgba(224,189,124,0); } }
.dot-pin { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--night); opacity: 0.9; 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: rgba(247,243,236,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; 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 .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), #e3d9c7); 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 { margin: 6px 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: #c58a12; }
.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 ---------- */
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .facts-grid { grid-template-columns: 1fr; } }
.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; gap: 6px; 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 { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; }
.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; }
.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 .lbi img, .lb .lbi video { position: absolute; top: 64px; left: 16px; width: calc(100% - 32px); height: calc(100% - 72px); object-fit: contain; opacity: 0; transition: opacity 0.75s ease; }
.lb .lbi img.on, .lb .lbi video.on { opacity: 1; animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.045) translate(-0.5%, 0.5%); } }
/* 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: 820px; margin: 0 auto; width: 100%; height: 108px; 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: 2; -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; }

/* ---------- 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; } }

/* ---------- seller page ---------- */
.s-hero { padding: clamp(120px, 16vw, 180px) 0 clamp(40px, 6vw, 70px); }
.s-hero h1 { font-size: clamp(46px, 9.5vw, 104px); font-weight: 500; margin-top: 12px; max-width: 1000px; }
.addr-form { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 12px; align-items: end; margin-top: 30px; max-width: 980px; }
.addr-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.addr-form input { font: inherit; font-size: 17px; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.addr-form input:focus { outline: none; border-color: var(--bronze); }
.addr-form .btn:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 760px) { .addr-form { grid-template-columns: 1fr; } .addr-form .btn { width: 100%; } }
.addr-msg { min-height: 1.6em; margin: 12px 0 0; color: var(--bronze); font-weight: 600; }
.yours-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.s-map { height: min(68vh, 620px); min-height: 420px; border-radius: var(--radius); }
@media (max-width: 960px) { .yours-grid { grid-template-columns: 1fr; } .s-map { height: 440px; min-height: 0; } }
.yours-side { display: flex; flex-direction: column; gap: 14px; }
.sun-card { background: #fff6e4; border-color: #f0dcb4; }
.sun-big { font-family: var(--serif); font-size: clamp(52px, 9vw, 72px); line-height: 1; margin-top: 8px; }
.sun-card p { margin: 8px 0 0; color: var(--ink-2); }
.drive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drive-grid div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.drive-grid b { display: block; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; }
.drive-grid b small { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin-left: 4px; }
.drive-grid span { font-size: 15px; color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.steps li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps .num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.steps .when { font-size: 14px; font-weight: 700; color: var(--bronze); letter-spacing: 0.06em; text-transform: uppercase; }
.steps h3 { font-size: 26px; margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.proof { position: relative; display: block; min-height: 520px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; }
.proof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; }
.proof:hover img { transform: scale(1.03); }
.proof::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 100%); }
.proof-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 5vw, 48px); max-width: 700px; }
.proof-copy p { font-size: 18px; margin: 8px 0 14px; }
