/* Raghava project sites: per project brand layer, loaded after v3.css. Built by DecentraLabs for Raghava.
   Each project wears its own brochure look on the shared system (rule: never our house template).
   Sage: deep teal and metallic gold (brochure, sagebyraghava.world); type is the shared raghava.world pair in v3.css (2 Dec).
   Wave: navy and gold #C49846 (wavebyraghava.world); type is the shared raghava.world pair in v3.css (2 Dec). */

html[data-project="sage"]{
  --ivory:#F4F1EA;--paper:#ECE8DE;--sand:#E2DCCB;--ink:#10201F;--ink-2:#3C4A48;--ink-3:#7C8683;
  --copper:#9A7536;--copper-d:#7E5F2A;--night:#01262C;--coal:#062126;
}
html[data-project="wave"]{
  --ivory:#F6F1E8;--paper:#EEE7DA;--sand:#E5DBC8;--ink:#141B26;--ink-2:#414957;--ink-3:#7E8592;
  --copper:#A87D33;--copper-d:#8A6628;--night:#0E1A2B;--coal:#101826;
}
html[data-project="sage"] h1,html[data-project="sage"] h2,html[data-project="sage"] h3{letter-spacing:-.01em}
html[data-project="wave"] h1,html[data-project="wave"] h2{letter-spacing:-.015em}
html[data-project="wave"] .label,html[data-project="wave"] .sbar{font-weight:500}

/* dark grounds follow the brand, not IRIS's charcoal */
html[data-project] .x3d-sec{background:var(--night)}
html[data-project] .hero3{background:var(--night)}

/* wide wordmarks in the nav and preloader */
html[data-project] .nav .logo img{height:40px}
html[data-project] .nav.solid .logo img{height:34px}
html[data-project] .pre img{width:180px;height:auto}
html[data-project] .statement .sign img{width:120px;height:auto}
@media (max-width:760px){html[data-project] .nav .logo img{height:32px}}

/* plans: Sage shows the three floors of a villa side by side on white; Wave units sit on square frames */
html[data-project="sage"] .view .plan{aspect-ratio:3800/1810;background:#fff}
html[data-project="wave"] .view .plan{aspect-ratio:1/1;background:#fff;max-height:78svh;margin:0 auto}
html[data-project="wave"] .res .view .plan{width:min(100%,78svh)}

/* Sage: how the house lives, floor by floor, under the plan */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);margin-top:48px}
.trio div{padding:24px 24px 24px 0}
.trio div+div{padding-left:24px;border-left:1px solid var(--line)}
.trio b{display:block;font-family:var(--display);font-weight:400;font-size:24px;line-height:32px;margin-bottom:8px}
.trio p{font-size:14px;line-height:20px;color:var(--ink-2)}
@media (max-width:760px){.trio{grid-template-columns:1fr}.trio div,.trio div+div{padding:16px 0;border-left:0;border-top:1px solid var(--line)}}

/* Wave: typical floor plates */
.plates{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:64px}
.plates figure{position:relative;background:#fff;border:1px solid var(--line)}
.plates img{display:block;width:100%;height:auto}
.plates figcaption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;border-top:1px solid var(--line);font-size:14px;line-height:20px}
.plates figcaption b{font-family:var(--display);font-weight:400;font-size:20px;line-height:28px;display:block}
.plates .lnk{font-size:12px;letter-spacing:.2em;text-transform:uppercase;border-bottom:1px solid var(--ink);padding-bottom:2px;cursor:pointer;white-space:nowrap;color:var(--ink)}
@media (max-width:760px){.plates{grid-template-columns:1fr}}

/* a plain location note where Raghava has not published travel times */
.locnote{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}
.locnote li{list-style:none;display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:20px}
.locnote li em{font-style:normal;color:var(--ink-3);text-align:right}

/* phones: the lightbox title gets its own line above the buttons, so long plan names never stack word by word */
@media (max-width:760px){
  .lb .bar{flex-wrap:wrap;row-gap:8px}
  .lb .bar .t{flex-basis:100%;font-size:18px;line-height:24px}
  .lb .bar .acts{width:100%;justify-content:flex-end}
}

/* phone 3D card: each project its own night render */
@media (max-width:760px){html[data-project="wave"] .x3d-inline{background-image:url(/assets/wave/night-900.webp)}}

/* typical floor plates sit behind the same plan gate (Sapni, 2 Dec 2026) */
.plates figure{overflow:hidden}
.plates img{transition:filter .8s var(--ease)}
html:not(.unlocked) .plates img{filter:blur(10px) saturate(.8)}
