:root {
  --ink: #0c0a08;
  --ink-2: #14110d;
  --ink-3: #1c1813;
  --line: rgba(243, 236, 225, 0.12);
  --line-2: rgba(243, 236, 225, 0.22);
  --cream: #f3ece1;
  --muted: #b3a792;
  --dim: #7d7364;
  --gold: #c9a46a;
  --gold-2: #e2c58f;
  --terra: #b8653f;
  --pool: #56bccb;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.7; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(40px, 6vw, 84px); margin-top: 18px; }
h2 em, h1 em { font-style: italic; color: var(--gold-2); }
.lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin: 22px 0 0; }
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(12, 10, 8, 0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold); color: var(--gold-2); }
.btn.solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.solid:hover { background: var(--gold-2); color: var(--ink); }
.btn.small { padding: 9px 14px; font-size: 12px; }
.btn[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn svg { width: 16px; height: 16px; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.topbar.solid { background: rgba(12, 10, 8, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { font-family: var(--serif); font-size: 20px; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.brand b { font-weight: 600; }
.brand span { color: var(--gold); font-style: italic; padding: 0 6px; }
.topnav { display: flex; gap: 22px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.topnav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.topnav a:hover { color: var(--cream); }
@media (max-width: 1100px) { .topnav { display: none; } }
.notes-toggle { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); cursor: pointer; background: none; border: 0; padding: 6px 0; }
.notes-toggle .sw { width: 38px; height: 22px; border-radius: 99px; background: var(--ink-3); border: 1px solid var(--line-2); position: relative; transition: background 0.25s; flex: none; }
.notes-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform 0.25s, background 0.25s; }
.notes-toggle[aria-pressed="true"] .sw { background: rgba(201, 164, 106, 0.25); border-color: var(--gold); }
.notes-toggle[aria-pressed="true"] .sw::after { transform: translateX(16px); background: var(--gold); }
.notes-toggle .lbl-short { display: none; }
@media (max-width: 560px) { .notes-toggle .lbl-long { display: none; } .notes-toggle .lbl-short { display: inline; } }

/* ---------- Ali's notes ---------- */
.note {
  display: none;
  margin: 28px 0 0; padding: 16px 18px 16px 20px; max-width: 620px;
  border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(201, 164, 106, 0.10), rgba(201, 164, 106, 0));
  font-size: 14px; color: #e7dcc8; line-height: 1.55;
}
.note b { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 700; }
body.notes .note { display: block; animation: noteIn 0.5s ease both; }
@keyframes noteIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
#hero { height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2.2s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.on img { animation: kb 11s ease-out forwards; }
.slide:nth-child(even).on img { animation-name: kb2; }
@media (max-width: 700px) { .hero-shade { background: linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0) 22%, rgba(12,10,8,0.35) 40%, rgba(12,10,8,0.92) 72%, var(--ink) 100%); } }
@keyframes kb { from { transform: scale(1.14) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kb2 { from { transform: scale(1.02) translate(-1%, 0); } to { transform: scale(1.14) translate(1%, -1%); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0) 28%, rgba(12,10,8,0) 45%, rgba(12,10,8,0.88) 88%, var(--ink) 100%); }
.hero-inner { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(36px, 7vh, 80px); }
.hero-inner .for { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.hero-inner h1 { font-size: clamp(50px, min(8.4vw, 13vh), 132px); font-weight: 300; }
.hero-inner .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 32px); color: var(--muted); margin-top: 10px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-top: 36px; }
.price { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.price small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(8px); opacity: 1; } }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.stat span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(4) { border-left: 0; } .stat:nth-child(n+4) { border-top: 1px solid var(--line); } }

/* ---------- letter ---------- */
#letter { padding: clamp(80px, 11vw, 150px) 0; }
.letter { max-width: 860px; }
.letter p.big { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.18; margin: 22px 0 0; font-weight: 300; }
.letter p.big em { color: var(--gold-2); }
.letter .sig { margin-top: 30px; color: var(--muted); font-size: 14px; }
.letter .sig b { color: var(--cream); font-weight: 600; }

/* ---------- estate ---------- */
.estate-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.estate-copy p { color: #ddd2c1; font-size: 17px; }
.estate-copy .drop::first-letter { font-family: var(--serif); float: left; font-size: 78px; line-height: 0.82; padding: 6px 10px 0 0; color: var(--gold-2); }
.feat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.feat span { font-size: 12px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(70px, 9vw, 120px); gap: 10px; }
.mosaic button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, filter 0.6s; filter: saturate(0.95); }
.mosaic button:hover img { transform: scale(1.06); filter: saturate(1.1); }
.m1 { grid-column: span 4; grid-row: span 3; } .m2 { grid-column: span 2; grid-row: span 2; } .m3 { grid-column: span 2; grid-row: span 1; }
.m4 { grid-column: span 3; grid-row: span 2; } .m5 { grid-column: span 3; grid-row: span 2; }
@media (max-width: 900px) { .estate-grid { grid-template-columns: 1fr; } }

/* ---------- film ---------- */
.film { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border: 1px solid var(--line); }
.film video { width: 100%; height: 100%; display: block; background: #000; }
.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.75; transition: opacity 0.4s, transform 1.4s; }
.film .poster:hover img { opacity: 0.9; transform: scale(1.03); }
.film .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(0,0,0,0.25); }
.film .play svg { width: 28px; height: 28px; margin-left: 5px; }
.film .poster .cap { position: absolute; left: 24px; bottom: 20px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream); }

/* ---------- maps ---------- */
.mapbox { position: relative; height: min(78vh, 760px); min-height: 460px; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.mapbox .map { position: absolute; inset: 0; }
.map-ui { position: absolute; left: 16px; top: 16px; right: 16px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.map-ui > * { pointer-events: auto; }
.map-hud { position: absolute; left: 16px; bottom: 16px; z-index: 3; max-width: min(420px, calc(100% - 32px)); padding: 16px 18px; background: rgba(12,10,8,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 4px; }
.map-hud .k { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.map-hud .v { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.map-hud .s { font-size: 13px; color: var(--muted); }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.maplibregl-ctrl-attrib { font-size: 10px !important; background: rgba(12,10,8,0.7) !important; color: var(--muted) !important; }
.maplibregl-ctrl-attrib a { color: var(--muted) !important; }
.maplibregl-ctrl-group { background: rgba(12,10,8,0.8) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.house-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); box-shadow: 0 0 0 0 rgba(226,197,143,0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226,197,143,0.7); } 70% { box-shadow: 0 0 0 22px rgba(226,197,143,0); } 100% { box-shadow: 0 0 0 0 rgba(226,197,143,0); } }
.house-tag { font-family: var(--serif); font-size: 15px; background: rgba(12,10,8,0.85); padding: 4px 10px; border: 1px solid var(--gold); white-space: nowrap; transform: translateY(-34px); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; transition: transform 0.2s; }
.dot:hover, .dot.on { transform: scale(1.5); }
.drive-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.drive-stats div { background: var(--ink); padding: 22px 20px; }
.drive-stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 54px); line-height: 1; display: block; }
.drive-stats b small { font-size: 0.45em; color: var(--muted); margin-left: 4px; }
.drive-stats span { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .drive-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- plan ---------- */
.plan-shell { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .plan-shell { grid-template-columns: 1fr; } }
.plan-card { border: 1px solid var(--line); background: var(--ink-2); padding: 18px; position: relative; }
.plan-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.plan-tabs .hint { margin-left: auto; font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }
.plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-svg { width: 100%; min-width: 640px; height: auto; display: block; }
.plan-svg .rm rect { fill: rgba(243,236,225,0.035); stroke: rgba(243,236,225,0.35); stroke-width: 1.2; transition: fill 0.25s, stroke 0.25s; }
.plan-svg .rm.out rect { fill: rgba(86,188,203,0.05); stroke-dasharray: 4 4; }
.plan-svg .rm.water rect { fill: rgba(86,188,203,0.22); stroke: rgba(86,188,203,0.7); }
.plan-svg .rm { cursor: pointer; }
.plan-svg .rm:hover rect, .plan-svg .rm:focus rect { fill: rgba(201,164,106,0.16); stroke: var(--gold-2); outline: none; }
.plan-svg .rm.on rect { fill: rgba(201,164,106,0.28); stroke: var(--gold-2); stroke-width: 2; }
.plan-svg .rm:focus { outline: none; }
.plan-svg text { fill: var(--cream); font-family: var(--sans); font-size: 17px; font-weight: 500; pointer-events: none; }
.plan-svg text.sm { font-size: 12px; fill: var(--muted); letter-spacing: 0.08em; }
.plan-svg .wall { fill: none; stroke: rgba(243,236,225,0.75); stroke-width: 3; }
.plan-svg .compass text { font-size: 10px; fill: var(--gold); }
.plan-disclaimer { font-size: 11px; color: var(--dim); margin-top: 10px; }
.room-view { border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; min-height: 420px; }
.room-photo { position: relative; aspect-ratio: 4/3; background: #000; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.room-photo .count { position: absolute; right: 12px; top: 12px; font-size: 11px; padding: 4px 9px; background: rgba(0,0,0,0.6); border-radius: 99px; }
.room-photo .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); background: rgba(0,0,0,0.4); cursor: pointer; display: grid; place-items: center; }
.room-photo .nav.prev { left: 10px; } .room-photo .nav.next { right: 10px; }
.room-meta { padding: 20px 22px 22px; }
.room-meta .lvl { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.room-meta h3 { font-size: 34px; margin: 6px 0 8px; }
.room-meta p { margin: 0; color: var(--muted); font-size: 15px; }
.room-thumbs { display: flex; gap: 6px; padding: 0 22px 22px; flex-wrap: wrap; }
.room-thumbs button { width: 64px; height: 48px; padding: 0; border: 1px solid transparent; cursor: pointer; overflow: hidden; background: #000; opacity: 0.6; }
.room-thumbs button.on, .room-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- walkthrough overlay ---------- */
.walk { position: fixed; inset: 0; z-index: 200; background: #000; display: none; }
.walk.open { display: block; }
.walk .wslide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.walk .wslide.on { opacity: 1; }
.walk .wslide img { width: 100%; height: 100%; object-fit: cover; }
.walk .wslide.on img { animation: kb 6.5s linear forwards; }
.walk .wslide.alt.on img { animation-name: kb2; }
.walk .wshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.8)); pointer-events: none; }
.walk .wcap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px; }
.walk .wcap .n { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-2); }
.walk .wcap h3 { font-size: clamp(40px, 6vw, 84px); font-weight: 300; margin-top: 8px; }
.walk .wcap p { color: #e8dfd0; max-width: 560px; margin: 10px 0 0; font-size: 16px; }
.walk .wcap h3, .walk .wcap p, .walk .wcap .n { animation: rise 0.9s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.walk .wbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.15); }
.walk .wbar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width 0.3s linear; }
.walk .wtop { position: absolute; top: 16px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 2; }
.walk .wctl { display: flex; gap: 8px; }
.walk .wtap { position: absolute; top: 80px; bottom: 140px; width: 30%; z-index: 1; cursor: pointer; background: none; border: 0; }
.walk .wtap.l { left: 0; } .walk .wtap.r { right: 0; }

/* ---------- day ---------- */
.day { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 380px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.day::-webkit-scrollbar { height: 4px; } .day::-webkit-scrollbar-thumb { background: var(--gold); }
.moment { scroll-snap-align: start; position: relative; }
.moment .ph { aspect-ratio: 3/4; overflow: hidden; background: #000; position: relative; }
.moment .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.moment:hover .ph img { transform: scale(1.06); }
.moment .t { position: absolute; top: 14px; left: 14px; font-family: var(--serif); font-size: 28px; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.moment .t small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; margin-left: 4px; }
.moment h3 { font-size: 26px; margin-top: 16px; }
.moment p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.day-nav { display: flex; gap: 8px; }
.golden { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(201,164,106,0.4); border-radius: 99px; font-size: 13px; color: var(--gold-2); }
.golden i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- neighborhood ---------- */
.hood { display: grid; grid-template-columns: 380px 1fr; gap: 0; border: 1px solid var(--line); }
.hood .mapbox { border: 0; border-left: 1px solid var(--line); height: 640px; }
.hood-list { max-height: 640px; overflow-y: auto; background: var(--ink-2); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ink-2); z-index: 2; }
.chip { font-size: 11px; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; letter-spacing: 0.04em; }
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.place { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; width: 100%; text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; }
.place:hover, .place.on { background: rgba(201,164,106,0.08); }
.place i { width: 10px; height: 10px; border-radius: 50%; }
.place b { font-weight: 500; font-size: 14px; display: block; }
.place small { color: var(--dim); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.place .m { font-family: var(--serif); font-size: 24px; line-height: 1; text-align: right; }
.place .m small { display: block; font-family: var(--sans); font-size: 10px; text-transform: none; letter-spacing: 0; }
.src { font-size: 11px; color: var(--dim); margin-top: 12px; }
@media (max-width: 900px) { .hood { grid-template-columns: 1fr; } .hood .mapbox { height: 420px; min-height: 0; border-left: 0; border-top: 1px solid var(--line); order: -1; } .hood-list { max-height: 420px; } }

/* ---------- light ---------- */
.light { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .light { grid-template-columns: 1fr; } }
.sunbox { position: relative; aspect-ratio: 1; border: 1px solid var(--line); overflow: hidden; background: #000; max-width: 720px; width: 100%; }
.sunbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(var(--bright, 0.9)); transition: filter 0.4s; }
.sunbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun-ctl { border: 1px solid var(--line); background: var(--ink-2); padding: 22px; }
.sun-ctl label { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 18px 0 10px; }
.sun-ctl label:first-child { margin-top: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 20px; border: 1px solid var(--line); }
.readout div { background: var(--ink-2); padding: 12px 14px; }
.readout b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.readout span { font-size: 11px; color: var(--muted); }
.clock { font-family: var(--serif); font-size: 44px; line-height: 1; }
input[type=range] { width: 100%; accent-color: var(--gold); height: 28px; }

/* ---------- own ---------- */
.own { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .own { grid-template-columns: 1fr; } }
.calc { border: 1px solid var(--line); background: var(--ink-2); padding: 26px; }
.field { margin-bottom: 18px; }
.field .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.field .top output { font-family: var(--serif); font-size: 24px; color: var(--cream); }
.total { border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.total .big { font-family: var(--serif); font-size: clamp(56px, 7vw, 96px); line-height: 0.95; }
.total .big small { font-size: 0.3em; color: var(--muted); }
.bars { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; }
.bars i { display: block; height: 100%; transition: flex-grow 0.4s; }
.legend { display: grid; gap: 10px; }
.legend div { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; }
.legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.fine { font-size: 11px; color: var(--dim); line-height: 1.5; }

/* ---------- gallery ---------- */
.gal-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.gal { columns: 4 240px; column-gap: 10px; }
.gal button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 10px; cursor: zoom-in; background: #000; overflow: hidden; break-inside: avoid; }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1s ease, opacity 0.4s; }
.gal button:hover img { transform: scale(1.05); }
.lb { position: fixed; inset: 0; z-index: 220; background: rgba(5,4,3,0.97); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb .x, .lb .lp, .lb .ln { position: absolute; border: 1px solid var(--line-2); background: rgba(0,0,0,0.5); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb .x { top: 16px; right: 16px; } .lb .lp { left: 16px; top: 50%; } .lb .ln { right: 16px; top: 50%; }
.lb .lc { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: 0.2em; }

/* ---------- showing ---------- */
.show { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; } }
form.req { border: 1px solid var(--line); background: var(--ink-2); padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.req .full { grid-column: 1 / -1; }
form.req label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: grid; gap: 6px; }
form.req input, form.req select, form.req textarea { font: inherit; font-size: 15px; color: var(--cream); background: var(--ink); border: 1px solid var(--line-2); padding: 12px 14px; border-radius: 2px; text-transform: none; letter-spacing: 0; width: 100%; }
form.req input:focus, form.req select:focus, form.req textarea:focus { outline: none; border-color: var(--gold); }
@media (max-width: 560px) { form.req { grid-template-columns: 1fr; } }
.phone { border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(201,164,106,0.12), transparent 60%); }
.qr { width: 180px; height: 180px; background: var(--cream); padding: 12px; border-radius: 6px; }
.qr svg { width: 100%; height: 100%; display: block; }
.toast { position: fixed; top: 18px; left: 50%; transform: translate(-50%, calc(-100% - 60px)); visibility: hidden; z-index: 300; width: min(380px, calc(100% - 32px)); background: rgba(30,27,23,0.96); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transition: transform 0.6s cubic-bezier(.2,.9,.3,1.2), visibility 0.6s; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 20px; }
.toast b { font-size: 13px; display: flex; justify-content: space-between; }
.toast b small { color: var(--dim); font-weight: 400; }
.toast p { margin: 2px 0 0; font-size: 13px; color: #ddd2c1; line-height: 1.4; }
.toast em { display: block; font-style: normal; font-size: 10px; color: var(--dim); margin-top: 6px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- proposal ---------- */
#proposal { background: radial-gradient(1200px 600px at 80% -10%, rgba(184,101,63,0.16), transparent 60%), radial-gradient(900px 500px at 0% 20%, rgba(201,164,106,0.10), transparent 60%), var(--ink); }
.offer { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 980px) { .offer { grid-template-columns: 1fr; } }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.incl div { background: var(--ink); padding: 22px 22px 24px; }
.incl .n { font-family: var(--serif); color: var(--gold); font-size: 16px; font-style: italic; }
.incl h3 { font-size: 26px; margin: 6px 0 8px; }
.incl p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .incl { grid-template-columns: 1fr; } }
.pricecard { position: sticky; top: 90px; border: 1px solid var(--gold); padding: 30px 28px; background: linear-gradient(180deg, rgba(201,164,106,0.10), rgba(201,164,106,0.02)); }
.pricecard .amt { font-family: var(--serif); font-size: 92px; line-height: 0.9; letter-spacing: -0.02em; }
.pricecard .amt small { font-size: 24px; color: var(--muted); letter-spacing: 0; }
.pricecard ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; font-size: 14px; }
.pricecard li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: #e2d8c7; }
.pricecard li::before { content: "✦"; color: var(--gold); font-size: 11px; padding-top: 3px; }
.math { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.math div { display: flex; justify-content: space-between; gap: 10px; }
.math b { color: var(--cream); font-weight: 600; font-variant-numeric: tabular-nums; }
.compare { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare td:first-child { color: var(--muted); }
.compare td:last-child { color: var(--cream); }
.compare .y { color: var(--gold-2); }
.table-scroll { overflow-x: auto; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phase { border-top: 2px solid var(--gold); padding-top: 18px; }
.phase .d { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.phase h3 { font-size: 28px; margin: 8px 0; }
.phase p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } }
.work { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.work a { text-decoration: none; display: block; border: 1px solid var(--line); background: var(--ink-2); transition: border-color 0.3s, transform 0.3s; }
.work a:hover { border-color: var(--gold); transform: translateY(-3px); }
.work .shot { aspect-ratio: 16/10; overflow: hidden; background: #000; }
.work img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work .wm { padding: 16px 18px 18px; }
.work h3 { font-size: 24px; }
.work p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.work .tag { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.close { text-align: center; padding: clamp(90px, 12vw, 170px) 0; }
.close h2 { font-size: clamp(48px, 8vw, 120px); font-weight: 300; }
.close p { color: var(--muted); max-width: 600px; margin: 22px auto 34px; font-size: 18px; }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--dim); font-size: 12px; line-height: 1.7; }
footer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide.on img, .walk .wslide.on img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
