/* Surroundings change with the theme; apartment cards keep their original palette. */
:root{--bg:#1b3029;--panel:#233c33;--ink:#f4f1e9;--muted:#c0cbc3;--gold:#ddc394;--line:#d1b88759;color-scheme:dark}
:root[data-theme=light]{--bg:#f3f0e8;--panel:#fffdf7;--ink:#193027;--muted:#526159;--gold:#755526;--line:#536b4945;--dark:#193027;--cream:#f3f0e8;--wine:#755526;color-scheme:light}
.apartment,.hero,.viewer{--bg:#0b1715;--panel:#10221e;--ink:#f4f1e9;--muted:#a7b3ac;--gold:#d1b887;--line:#d1b88735;--wine:#d1b887;--dark:#08120f;--cream:#0b1715;color:var(--ink);color-scheme:dark}
.header{background:var(--bg);border-color:var(--line)}.header nav a{color:var(--ink)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 11px;border:1px solid var(--line);color:var(--ink);background:transparent;flex-shrink:0;font-size:11px}
.theme-toggle:hover{background:var(--panel)}.theme-icon{font-size:22px;line-height:1}.header-inner{gap:22px}.header nav{gap:20px}
.intro-detail,.hero~.intro-strip .intro-detail{color:var(--muted)}
.projects-section{background:#14271f}.contact-section{background:#233d31}.design-seal{background:var(--bg)}
.field input,.field select,.catalog-toolbar select{color:var(--ink);color-scheme:inherit}.field input::placeholder{color:var(--muted)}
.gallery-open{color:#d1b887}.design-caption{color:#d1b887}
[data-theme=light] .projects-section{background:#e5e9df}
[data-theme=light] .contact-section{background:#e4e8dc}
[data-theme=light] .property-summary,[data-theme=light] .property-gift{background:#fffdf7}
[data-theme=light] .button:not(.hero .button):not(.apartment .button){background:#234b3b;border-color:#234b3b;color:#fffdf7}
[data-theme=light] .button.outline:not(.hero .button){background:transparent;color:var(--ink);border-color:var(--line)}
[data-theme=light] .room-tabs button[aria-pressed=true],[data-theme=light] .plan-tabs button[aria-pressed=true]{background:#234b3b;color:#fffdf7}
[data-theme=light] .compare-bar{background:#fffdf7;color:var(--ink)}
[data-theme=light] .toast{background:#234b3b;color:#fffdf7}
[data-theme=light] .skip{background:#234b3b;color:#fffdf7}
[data-theme=light] .gallery-thumbs button{opacity:.75}[data-theme=light] .gallery-thumbs button[aria-pressed=true]{opacity:1}
.property-section .eyebrow{margin-bottom:12px}
@media(max-width:1200px){.theme-label{display:none}.header-inner{gap:16px}.header nav{gap:15px}}
@media(max-width:800px){.theme-label{display:inline}.theme-toggle{margin-left:0}}
@media(max-width:520px){.theme-label{display:none}.theme-toggle{padding:6px;min-width:40px;min-height:40px}.header-inner{gap:12px}.header-save{margin-left:auto}}
.header nav a{transition:none}
/* Daylight treatment is display-only: original photographs and PDFs stay intact. */
.plan-stack{display:grid;gap:20px}
[data-theme=light] .hero{--bg:#f3f0e8;--panel:#fffdf7;--ink:#193027;--muted:#46584d;--gold:#755526;--line:#536b4945;color:var(--ink);background:var(--bg);color-scheme:light}
[data-theme=light] .hero-visual img{filter:brightness(1.16) saturate(.88);opacity:1}
[data-theme=light] .hero-shade{background:linear-gradient(90deg,#f3f0e8 0%,#f3f0e8f5 17%,#f3f0e8d9 34%,#f3f0e84d 57%,#f3f0e80d 85%),linear-gradient(0deg,#f3f0e8 0%,#f3f0e8e6 10%,#f3f0e833 42%,transparent 65%)}
[data-theme=light] .hero-description,[data-theme=light] .hero-note,[data-theme=light] .hero-stats div span,[data-theme=light] .hero-coordinate{color:#46584d}
[data-theme=light] .hero .button{background:#234b3b;border-color:#234b3b;color:#fffdf7}
[data-theme=light] .hero .button:hover{background:#193a2d}
[data-theme=light] :is(.card-image,.project-image,.gallery-main,.design-visual)>img,[data-theme=light] .gallery-thumbs img{filter:brightness(1.13) contrast(.95) saturate(.9)}
[data-theme=light] .card-image>img{filter:brightness(1.2) contrast(.93) saturate(.9)}
[data-theme=light] .card-visual:after{inset:0;background:linear-gradient(180deg,#fff8e926 0%,#fff8e91a 50%,#fff8e92b 72%,#10201c 100%)}
[data-theme=light] .project-image{position:relative;background:#e5e9df}
[data-theme=light] .project-image:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#fff8e912,transparent 45%,#e5e9df80 83%,#e5e9df)}
[data-theme=light] .design-visual:after{inset:0;background:linear-gradient(180deg,#fff8e91a,transparent 45%,#f3f0e8a6 80%,#f3f0e8)}
[data-theme=light] .design-caption{color:#193027;font-weight:600}
[data-theme=light] .gallery-main:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#fff8e914,transparent 55%,#f3f0e84d)}
[data-theme=light] .gallery-open{z-index:1;background:#fffdf7ed;color:#193027;border-color:#536b4966}
[data-theme=light] :is(.plan-image,.neighborhood) img,[data-theme=light] #page-image,[data-theme=light] #pdf-canvas{filter:brightness(1.08)}
[data-theme=light] .viewer-scroll{background:#e5e9df}
@media(max-width:800px){[data-theme=light] .hero-shade{background:linear-gradient(90deg,#f3f0e8ed,#f3f0e8b3 55%,#f3f0e833),linear-gradient(0deg,#f3f0e8 0%,#f3f0e8cc 20%,transparent 75%)}}
@media(max-width:520px){[data-theme=light] .hero-shade{background:linear-gradient(90deg,#f3f0e8eb,#f3f0e8a6 65%,#f3f0e859),linear-gradient(0deg,#f3f0e8 5%,#f3f0e8e6 27%,transparent 80%)}}
