:root {
  color-scheme: light;
  --ink: #202724; --deep: #171e1c; --deep2:#212a25; --paper: #f4f0e7;
  --gold: #cfad78; --muted: #63685e; --edge: #d6cbb9;
  --serif: Georgia, "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font: 15px/1.7 var(--sans); }
body:has(dialog[open]) { overflow:hidden; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; cursor:pointer; }
img { display:block; width:100%; }
figure, h1, h2, p { margin:0; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline:2px solid #a98142; outline-offset:5px; }
.skip { position:fixed; top:0; left:0; transform:translateY(-120%); background:var(--paper); padding:.5rem 1rem; z-index:20; }
.skip:focus { transform:none; }
.wrap { width:min(100% - 9vw, 1260px); margin-inline:auto; }
.chapter { scroll-margin-top:50px; }
.top { position:fixed; inset:0 0 auto; z-index:10; height:72px; color:white; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; padding-inline:4.5vw; background:linear-gradient(#121916ba, #12191612); transition:background .35s; }
.top.solid { height:62px; background:#171e1cf5; box-shadow:0 1px 0 #e3c99e25; backdrop-filter:blur(14px); }
.brand { display:flex; align-items:center; gap:10px; width:max-content; font-size:14px; font-weight:650; letter-spacing:.08em; line-height:1.2; }
.brand img { width:35px; height:35px; border-radius:9px; }
.brand small { display:block; margin-top:4px; font-size:7px; font-weight:500; letter-spacing:.12em; color:#ddd5c5; }
.top nav { display:flex; gap:clamp(14px,3.2vw,52px); }
.top nav a { padding:6px 0; border-bottom:1px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-color:var(--gold); color:#f3dcb6; }
.top-map { justify-self:end; font-size:13px; border:1px solid #ffffff59; padding:5px 12px; border-radius:40px; white-space:nowrap; }
.progress { position:absolute; bottom:0; left:0; width:100%; height:2px; background:var(--gold); transform:scaleX(0); transform-origin:left; }
.hero { min-height: 740px; height:100svh; position:relative; overflow:hidden; color:white; background:var(--deep); display:grid; align-items:center; isolation:isolate; }
.hero-image, .hero-wash { position:absolute; inset:0; width:100%; height:100%; z-index:-1; }
.hero-image { object-fit:cover; object-position:center 54%; transform:translateY(var(--drift, 0px)) scale(1.07); }
.hero-wash { background:linear-gradient(90deg,#0f1715d4 0%,#1119178c 41%,#141d1b15 85%),linear-gradient(0deg,#131916bd 0%,transparent 36%); }
.hero-content { padding-bottom:5vh; }
.eyebrow { display:flex; align-items:center; gap:11px; color:#806343; font-size:11px; line-height:1.3; font-weight:650; letter-spacing:.19em; }
.eyebrow span { display:inline-block; width:26px; height:1px; background:currentColor; }
.hero .eyebrow, .layouts .eyebrow, .footer .eyebrow { color:#e4be86; }
h1 { font:400 clamp(68px,12vw,188px)/.9 Georgia,serif; letter-spacing:-.085em; margin:.14em 0 .17em; }
em { color:#e0bd88; font-weight:400; }
.hero-subtitle { font-size:clamp(17px,2vw,25px); letter-spacing:.14em; margin-bottom:30px; color:#fffcf0; }
.action { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; border-radius:30px; padding:10px 19px; border:1px solid transparent; font-weight:650; width:max-content; transition:background .25s, color .25s, transform .25s; }
.action:hover { transform:translateY(-3px); }
.action span, .textlink span { font-size:18px; line-height:1; }
.filled { background:#ebd6b4; color:var(--deep); }
.filled:hover { background:white; }
.outline { border-color:#e7cc9fb0; color:#ffefd3; }
.outline:hover { background:#f4e0bc; color:var(--deep); }
.scroll-cue { position:absolute; bottom:92px; left:4.5vw; display:flex; align-items:center; gap:10px; color:#fff4df; font-size:12px; letter-spacing:.08em; }
.scroll-cue span:last-child { display:grid; place-items:center; border:1px solid #fff7de6e; width:35px; height:35px; border-radius:50%; animation:bob 2.4s infinite; }
@keyframes bob { 50% { transform:translateY(4px); } }
.hero-credit { position:absolute; right:4.5vw; bottom:96px; color:#f2e8d5; font-size:10px; letter-spacing:.17em; }
.district { position:relative; z-index:1; margin-top:-60px; border-radius:56% 46% 0 0 / 63px 56px 0 0; background:var(--paper); }
.district-main { display:grid; grid-template-columns:.83fr 1fr; align-items:center; gap:8vw; padding-block:clamp(110px,12vw,175px) clamp(68px,9vw,125px); }
h2 { font:500 clamp(40px,6vw,78px)/1.08 var(--serif); letter-spacing:-.045em; }
.district h2, .section-title h2 { margin-top:12px; }
.intro { margin:23px 0; color:#4d574d; max-width:37ch; font-size:16px; }
.details { margin:0 0 24px; }
.details div { padding:12px 0; border-top:1px solid var(--edge); display:grid; grid-template-columns:100px 1fr; gap:15px; }
.details dt { font-weight:700; } .details dd { margin:0; color:#4d574d; font-size:13px; }
.textlink { display:inline-flex; align-items:center; gap:7px; border-bottom:1px solid #a98d60; padding-bottom:3px; font-weight:650; }
.textlink:hover { color:#9d6135; }
.district-photo { position:relative; border-radius:48% 48% 12px 12px / 16% 16% 12px 12px; overflow:hidden; box-shadow:0 24px 64px #35291324; }
.district-photo img { aspect-ratio:1.11; object-fit:cover; }
.district-photo figcaption { position:absolute; right:0; bottom:0; background:#1a231fcf; color:#fff0d9; padding:8px 17px; font-size:10px; letter-spacing:.12em; border-radius:10px 0 0 0; }
.panorama { position:relative; display:grid; align-items:center; height:clamp(380px,52vw,610px); overflow:hidden; isolation:isolate; color:white; }
.panorama img { position:absolute; height:100%; object-fit:cover; object-position:50% 54%; z-index:-2; }
.panorama::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#16221adc,#16221a02 95%); }
.panorama-content { padding-bottom:34px; }
.panorama-content p { font:500 clamp(33px,5vw,68px)/1.1 var(--serif); margin-bottom:25px; }
.layouts { position:relative; margin-top:-55px; z-index:2; border-radius:52% 48% 0 0 / 58px 54px 0 0; padding:clamp(102px,11vw,150px) 0 145px; background:var(--deep); color:#f5eddf; }
.section-title { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:34px; }
.section-title > p { max-width:30ch; color:var(--muted); font-size:15px; }
.layouts .section-title > p { color:#c9c8b8; }
.layout-tabs { display:grid; grid-template-columns:repeat(5, 1fr); border-bottom:1px solid #ffffff32; margin-bottom:25px; }
.layout-tabs button { border:0; border-bottom:2px solid transparent; border-radius:0; background:none; text-align:left; padding:10px 10px 12px; display:flex; align-items:baseline; gap:10px; color:#cecec1; }
.layout-tabs button strong { font:400 clamp(23px,3.1vw,40px)/1 Georgia,serif; }
.layout-tabs button small { font-size:12px; white-space:nowrap; }
.layout-tabs button[aria-selected=true] { border-color:#e3bc83; color:#ffddb0; background:#f2d39f0a; }
.layout-panel { display:grid; grid-template-columns:1.58fr 1fr; border:1px solid #e9d2ad38; border-radius:18px; overflow:hidden; background:var(--deep2); min-height:355px; }
.layout-panel.swap, .cards.swap { animation:swap .46s ease both; }
@keyframes swap { from { opacity:.42; transform:translateY(6px); } }
.gallery-card { position:relative; min-height:350px; overflow:hidden; }
.media-button { display:block; color:inherit; background:none; border:0; padding:0; width:100%; height:100%; text-align:left; position:relative; }
.gallery-card .media-button img { height:100%; position:absolute; inset:0; object-fit:cover; }
.gallery-card .media-button::after { content:""; position:absolute; inset:40% 0 0; background:linear-gradient(transparent,#0b1510b5); pointer-events:none; }
.gallery-label { position:absolute; bottom:16px; left:18px; color:white; z-index:1; font-size:13px; }
.gallery-label b { margin-left:.5rem; font-weight:500; color:#f1d19e; }
.layout-notes { padding:clamp(18px,3.2vw,40px); }
.layout-notes h3 { font:500 clamp(22px,3vw,34px)/1.3 var(--serif); margin:0 0 10px; }
.layout-notes p { color:#d1d0c2; font-size:13px; margin:.75rem 0; }
.plan { height:165px; border-radius:8px; overflow:hidden; background:#eeebe2; }
.plan img { width:100%; height:100%; padding:8px; object-fit:contain; }
.plan span { position:absolute; bottom:8px; right:8px; background:#19221e; color:white; font-size:11px; padding:2px 8px; border-radius:12px; }
.layout-notes .textlink { font-size:13px; color:#efc892; margin-top:5px; }
.listings { position:relative; z-index:3; margin-top:-55px; border-radius:48% 53% 0 0 / 54px 57px 0 0; background:var(--paper); padding:clamp(96px,10vw,145px) 0 110px; }
.filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.filters button { border:1px solid #b3aa98; border-radius:20px; padding:4px 15px; background:transparent; font-size:13px; }
.filters button[aria-pressed=true] { background:var(--deep2); color:white; border-color:var(--deep2); }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:19px; }
.listing-card { background:#fbf8f1; border:1px solid #ded4c1; border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.listing-card img { aspect-ratio:1.76; object-fit:cover; transition:transform .6s; }
.listing-card .media-button { height:auto; overflow:hidden; }
.listing-card .media-button:hover img { transform:scale(1.04); }
.listing-body { padding:19px 20px 22px; display:flex; flex:1; flex-direction:column; align-items:start; }
.listing-body h3 { margin:0 0 6px; font-size:16px; font-weight:640; }
.price { font:400 clamp(23px,2.7vw,37px)/1.25 Georgia,serif; color:#833c32; }
.listing-meta { color:#5e6459; margin:.6em 0 .9em; font-size:13px; }
.listing-body .textlink { margin-top:auto; font-size:13px; }
.reference-note { color:#695b45; font-size:12px; margin-top:auto; }
.footer { margin-top:-25px; position:relative; z-index:4; border-radius:53% 49% 0 0 / 25px 24px 0 0; background:var(--deep); color:#f4ede2; padding:65px 0 26px; }
.footer-inner { display:flex; justify-content:space-between; gap:25px; align-items:center; }
.footer-title { font:400 clamp(39px,7vw,90px)/1 Georgia,serif; letter-spacing:-.06em; margin:.12em 0; }
.footer-links { display:grid; gap:5px; font-size:13px; }
.footer-links a:hover { color:var(--gold); }
.credits { border-top:1px solid #f0e1bf38; margin-top:26px; padding-top:15px; font-size:11px; color:#d0caba; }
.chapter-switch { position:fixed; bottom:18px; right:18px; z-index:8; display:flex; gap:4px; background:#171e1ce8; border:1px solid #d2b27b69; border-radius:40px; padding:4px; }
.chapter-switch button { border:0; background:none; color:white; border-radius:50%; width:34px; height:34px; font-size:18px; line-height:1; }
.chapter-switch button:hover { background:#f0d3a6; color:var(--deep); } .chapter-switch button:disabled { opacity:.3; cursor:default; background:none; color:white; }
dialog { color:white; background:#111916; border:1px solid #c8a77b77; border-radius:12px; width:min(94vw,1050px); max-width:none; padding:2.9rem 3.7rem 1rem; overflow:auto; }
dialog::backdrop { background:#0b100fe8; }
dialog img { width:100%; height:min(70vh, 740px); object-fit:contain; }
dialog figcaption { text-align:center; color:#e3d6be; padding:.55rem 0; font-size:13px; }
dialog button { color:white; background:#ffffff15; border:1px solid #ffffff35; border-radius:50%; width:35px; height:35px; line-height:1; font-size:23px; position:absolute; }
.light-close { top:9px; right:9px; } .light-prev { top:48%; left:10px; } .light-next { top:48%; right:10px; }
.motion .reveal { opacity:0; transform:translateY(32px); transition:opacity .75s ease,transform .85s cubic-bezier(.2,.65,.25,1); }
.motion .reveal.visible, .motion .reveal:focus-within { opacity:1; transform:none; }
@media(max-width:760px) {
  .hero { min-height:570px; }.hero-image { object-position:54% center; }
  .hero h1 { font-size:clamp(53px,14vw,105px); }
  .hero-content { padding-bottom:9vh; }.hero-credit { display:none; }
  .top { height:59px; gap:10px; }.top.solid { height:54px; }
  .brand img { width:30px; height:30px; }.brand small { display:none; }
  .top nav { gap:12px; font-size:13px; }.top-map { padding:3px 7px; font-size:11px; }
  .district-main { grid-template-columns:1fr; gap:38px; }
  .district-photo img { aspect-ratio:1.3; }
  .section-title { display:block; }.section-title > p { margin-top:13px; }
  .layout-tabs button { display:block; padding-inline:4px; text-align:center; }.layout-tabs button small { display:block; font-size:9px; margin-top:4px; }
  .layout-panel { grid-template-columns:1fr; }.gallery-card { min-height:270px; }.plan { height:145px; }
  .cards { grid-template-columns:repeat(2,1fr); gap:10px; }.listing-body { padding:12px 11px 15px; }.listing-body h3 { font-size:14px; }.listing-meta { font-size:12px; }
  .footer-links { white-space:nowrap; }.chapter-switch { bottom:10px; right:10px; }
}
@media(max-width:350px) { .top-map { display:none; }.top nav { justify-self:end; }.top { grid-template-columns:1fr auto; }.cards { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
