/* Taman Kamunting Putra · home
   Brand system taken from the sales leaflets: deep teal and bronze gradients, thin gold lines,
   sage-green pages, the leaf mark, rounded "tab" shapes. Type: Cinzel for the estate name
   (close to the wordmark), Marcellus for headings, Figtree for reading text. */

/* self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cinzel-400.woff2?v=63126eed) format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cinzel-500.woff2?v=38ed5e85) format("woff2"); }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/marcellus.woff2?v=d8d78c8d) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/figtree.woff2?v=202cfb54) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(../fonts/figtree-italic.woff2?v=61af1a29) format("woff2"); }

:root {
  --teal-deep: #0a1d1d;
  --teal: #10302f;
  --teal-2: #164340;
  --teal-hi: #2b6b63;
  --bronze-deep: #2a2515;
  --bronze: #4a3f22;
  --bronze-hi: #7a6838;
  --gold: #d4b15c;
  --gold-hi: #ecd28a;
  --gold-lo: #a88c48;
  --gold-dim: rgba(212, 177, 92, .28);
  --sage: #e2e6d6;
  --sage-2: #d4dcc6;
  --moss: #5f8a63;
  --leaf: #2f8a64;
  --cream: #f3efe4;
  --cream-70: rgba(243, 239, 228, .72);
  --ink: #17302b;
  --ink-soft: #4d5e57;
  --line-dark: rgba(212, 177, 92, .22);
  --line-light: rgba(23, 48, 43, .14);
  --display: "Marcellus", "Cinzel", Georgia, serif;
  --caps: "Cinzel", "Marcellus", Georgia, serif;
  --sans: "Figtree", "Gotham", "Avenir Next", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --dark-bg: radial-gradient(70% 55% at 85% 0%, rgba(43, 107, 99, .35), transparent 70%), linear-gradient(165deg, #10302f 0%, #0a1d1d 55%, #0d2626 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #2b6b63 #0a1d1d;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a1d1d; }
::-webkit-scrollbar-thumb { background: #2b6b63; border-radius: 999px; border: 2px solid #0a1d1d; }
body {
  margin: 0;
  background: var(--teal-deep);
  color: var(--cream);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--gold); color: var(--teal-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
main svg:not(.lines), .header svg, .book svg, .wa-float svg, .menu svg:not(.lines) {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lines path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .55; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--teal-deep); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--ink-soft); }

/* ---------- shared type ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.4rem;
}
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }
.label--light { color: var(--gold); }
h2 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}
h2 em { color: var(--moss); }
.head { max-width: 760px; margin-bottom: clamp(50px, 8vh, 90px); }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: clamp(24px, 4vw, 60px); }
.head__text { max-width: 44ch; color: var(--cream-70); font-size: 1.1rem; }
.link {
  font: 600 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--gold);
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  display: inline-block; transition: color .3s;
}
.link:hover { color: var(--gold-hi); }

/* ---------- 3D gold icon badge ---------- */
.ic {
  --size: 64px; position: relative; flex: none; font-style: normal;
  width: var(--size); height: var(--size); border-radius: calc(var(--size) * .3);
  display: grid; place-items: center; color: #133430;
  background: linear-gradient(150deg, #f6e4a6 0%, #e2c272 30%, #c9a24f 62%, #9c7a32 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .7), inset 0 -4px 8px rgba(100, 70, 15, .38), inset 0 0 0 1px rgba(120, 90, 30, .25), 0 16px 26px -12px rgba(110, 80, 20, .6), 0 3px 6px rgba(0, 0, 0, .14);
}
.ic::before { content: ""; position: absolute; left: 12%; right: 12%; top: 6%; height: 38%; border-radius: 50% / 70%; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); pointer-events: none; }
.ic svg { position: relative; width: 56% !important; height: 56% !important; stroke-width: 2 !important; fill: rgba(19, 52, 48, .26) !important; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .55)); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), filter .4s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover::after { transform: scaleX(1); }
.btn > svg { transition: transform .4s var(--ease); }
.btn:hover > svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: #1c1a10; box-shadow: 0 10px 30px -12px rgba(212, 177, 92, .6); }
.btn--gold::after { background: var(--gold-hi); }
.btn--gold:hover { box-shadow: 0 16px 34px -12px rgba(212, 177, 92, .7); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline::after { background: var(--gold); }
.btn--outline:hover { color: #1c1a10; }
.btn--sm { padding: 12px 20px; font-size: .72rem; }
.btn--block { width: 100%; }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
/* each half paints its own slice of one full-screen background, so the halves meet without a seam */
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; overflow: hidden; background: var(--dark-bg); background-size: 100% 100vh; background-repeat: no-repeat; }
.loader__panel--top { top: 0; background-position: top center; }
.loader__panel--bottom { bottom: 0; background-position: bottom center; }
.loader__panel .lines { height: 100vh; }
.loader__panel--top .lines { top: 0; bottom: auto; }
.loader__panel--bottom .lines { top: auto; bottom: 0; }
.loader__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; width: min(340px, 72vw); }
.loader__logo { width: 100%; aspect-ratio: 1168 / 876; clip-path: inset(100% 0 0 0); }
.loader__logo img { width: 100%; height: 100%; object-fit: contain; }
.loader__bar { width: 100%; height: 2px; border-radius: 999px; background: rgba(212, 177, 92, .2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader__meta { width: 100%; display: flex; justify-content: space-between; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lo); }
.loader__count { font-variant-numeric: tabular-nums; color: var(--gold); }

/* ---------- progress + header ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; margin: 0 auto; max-width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(20px, 3.4vw, 64px);
  transition: top .5s var(--ease), left .5s var(--ease), right .5s var(--ease), max-width .6s var(--ease), padding .5s var(--ease), border-radius .5s var(--ease), background .5s, border-color .5s, box-shadow .5s;
  border: 1px solid transparent; border-radius: 0;
}
.header::before {
  content: ""; position: absolute; inset: 0 0 -50px; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to bottom, rgba(10, 29, 29, .55), rgba(10, 29, 29, 0));
  transition: opacity .5s;
}
.header.is-solid {
  top: 14px; left: 14px; right: 14px; max-width: 1200px;
  padding: 11px 14px 11px 28px;
  border-radius: 26px;
  background: rgba(10, 29, 29, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-color: rgba(212, 177, 92, .22);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .7);
}
.header.is-solid::before { opacity: 0; }
.header__brand { flex: none; display: block; }
.header__brand img { height: 104px; width: auto; transition: height .5s var(--ease); }
.header.is-solid .header__brand img { height: 68px; }
.header__nav { display: flex; gap: clamp(12px, 1.5vw, 32px); }
.header__nav a {
  position: relative; text-decoration: none; padding: 8px 2px; white-space: nowrap;
  font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream);
}
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header__nav a:hover::after, .header__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__nav a.is-current { color: var(--gold-hi); }
.header__end { display: flex; align-items: center; gap: 18px; }
.header__wa {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 11px 18px 11px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: #25d366; color: #062a17; font: 600 .76rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 26px -12px rgba(37, 211, 102, .8);
  transition: box-shadow .3s, filter .3s;
}
.header__wa svg { width: 20px; height: 20px; stroke-width: 1.9; }
.header__wa:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -12px rgba(37, 211, 102, 1); }
.lang { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; border: 1px solid rgba(212, 177, 92, .45); background: rgba(10, 29, 29, .35); }
.lang button { border: 0; background: transparent; cursor: pointer; padding: 9px 11px; border-radius: 999px; font: 600 .7rem/1 var(--sans); letter-spacing: .12em; color: var(--cream-70); transition: background .3s, color .3s; }
.lang button:hover { color: var(--cream); }
.lang button[aria-pressed="true"] { background: var(--gold); color: #1c1a10; }
.header__menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: rgba(10, 29, 29, .4); border-radius: 50%; cursor: pointer; position: relative; }
.header__menu span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--cream); transition: transform .4s var(--ease); }
.header__menu span:nth-child(1) { top: 18px; }
.header__menu span:nth-child(2) { top: 25px; }
.header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.header__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--dark-bg); display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 110px var(--pad) 40px; overflow: hidden; }
.menu[hidden] { display: none; }
.menu nav { display: grid; position: relative; }
.menu nav a { display: flex; align-items: baseline; gap: 18px; font: 400 clamp(1.9rem, 7.5vw, 2.8rem)/1.25 var(--display); text-decoration: none; border-bottom: 1px solid var(--line-dark); padding: 12px 0; }
.menu__contact { position: relative; font-size: .95rem; color: var(--gold); }

/* ---------- WhatsApp ---------- */

.book {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 16px; border-radius: 999px;
  background: linear-gradient(150deg, #f0d993 0%, var(--gold) 55%, #b8933f 100%); color: #1c1a10; text-decoration: none;
  font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 36px -14px rgba(120, 90, 30, .75);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s, transform .5s var(--ease), box-shadow .3s;
}
.book svg { width: 1.5em; height: 1.5em; stroke-width: 1.8; }
.book.is-on { opacity: 1; transform: none; pointer-events: auto; }
/* phones: WhatsApp floats bottom right instead of sitting in the header */
.wa-float {
  position: fixed; right: 16px; bottom: 18px; z-index: 50; display: none; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #062a17;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -12px rgba(37, 211, 102, .85);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.book:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 22px 44px -14px rgba(120, 90, 30, .95); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--teal-deep); }
.hero__pin { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #b9d0dc; }
.hero__sky { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(to bottom, #7fa3bb 0%, #a9c5d4 38%, #d3e0e2 62%, #ebe5d6 78%); }
.hero__sun { position: absolute; width: 70vmax; height: 70vmax; right: -18vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 244, 220, .85) 0%, rgba(255, 236, 200, .35) 30%, rgba(255, 236, 200, 0) 62%); }
.hero__clouds {
  position: absolute; left: -8%; top: 0; width: 125%; max-width: none; height: 70%; object-fit: cover; object-position: center top;
  opacity: .9; animation: drift 80s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
@keyframes drift { to { transform: translateX(-6%) scale(1.06); } }
.lines--hero { opacity: .55; mix-blend-mode: multiply; }
.lines--hero path { stroke: #7a6838; }

.hero__title { position: absolute; left: 0; right: 0; top: 14%; z-index: 2; text-align: center; color: #12221a; display: grid; justify-items: center; pointer-events: none; }
.hero__eyebrow { display: flex; align-items: center; gap: 18px; font: 500 clamp(.72rem, 1vw, .95rem)/1 var(--caps); letter-spacing: .6em; text-transform: uppercase; margin-bottom: clamp(10px, 1.6vw, 22px); padding-left: .6em; color: #2b4135; }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: clamp(30px, 5vw, 70px); height: 1px; background: currentColor; opacity: .55; }
.hero__name { display: block; font: 400 clamp(3rem, 8.3vw, 12rem)/.9 var(--caps); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.hero__word { display: inline-block; background: linear-gradient(180deg, #2a4033 0%, #0f1c15 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__house {
  --hw: max(100vw, 1100px);
  position: absolute; left: 50%; z-index: 3;
  top: max(calc(14% + 50px + 3.7vw - var(--hw) * .18), calc(100% + 2% - var(--hw) * .6674));
  width: var(--hw); max-width: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 -10px 40px rgba(20, 30, 25, .08));
}
.hero__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 4; pointer-events: none; background: linear-gradient(to top, rgba(8, 22, 22, .94) 0%, rgba(8, 22, 22, .55) 45%, rgba(8, 22, 22, 0) 100%); }
.hero__dark { position: absolute; inset: 0; z-index: 5; background: var(--teal-deep); opacity: 0; pointer-events: none; }
.hero__bar {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(26px, 5vh, 50px); z-index: 6;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: 22px clamp(20px, 2.6vw, 34px);
  background: rgba(10, 29, 29, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 177, 92, .25); border-radius: var(--r-lg);
}
.hero__tag { display: flex; align-items: center; gap: 12px; font: 600 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 0 rgba(236, 210, 138, .6); animation: ping 2.4s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(236, 210, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 210, 138, 0); } }
.hero__lede { font: 400 clamp(1rem, 1.3vw, 1.2rem)/1.5 var(--sans); color: var(--cream); max-width: 40ch; }
.hero__price { text-align: right; line-height: 1; padding-right: clamp(20px, 3vw, 48px); border-right: 1px solid rgba(212, 177, 92, .3); }
.hero__price span { display: block; font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hero__price strong { font: 400 clamp(1.8rem, 2.8vw, 2.6rem)/1 var(--display); color: var(--cream); }
.hero__cue { position: absolute; left: 50%; bottom: calc(clamp(26px, 5vh, 50px) + 120px); z-index: 6; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 600 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-hi); }
.hero__cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold-hi), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__note { position: absolute; right: var(--pad); top: 50%; z-index: 6; writing-mode: vertical-rl; font: 600 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(18, 34, 26, .55); }

/* ---------- I · estate (sage) ---------- */
.estate { background: linear-gradient(180deg, var(--sage) 0%, #dde3d0 100%); color: var(--ink); position: relative; }
.estate__intro { max-width: 1180px; margin: 0 auto; padding: clamp(110px, 17vh, 190px) var(--pad) clamp(40px, 6vh, 70px); text-align: center; display: grid; justify-items: center; }
.estate__logo { width: min(300px, 62vw); height: auto; margin: 0 0 clamp(36px, 6vh, 56px); }
.estate__statement { font: 400 clamp(1.8rem, 3.6vw, 3.6rem)/1.2 var(--display); max-width: 25ch; color: var(--ink); }
.estate__statement .w { display: inline-block; }

.portal { position: relative; --fh: calc(min(34vw, 440px) * 4 / 3); }
/* pull the pinned stage up so the arch follows the statement instead of sitting half a screen lower */
.js .portal:not(.is-static) { margin-top: min(0px, calc((var(--fh) - 100vh) / 2)); }
.portal__pin { position: relative; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.portal__frame { position: relative; overflow: hidden; width: min(34vw, 440px); aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; box-shadow: 0 50px 90px -40px rgba(20, 40, 35, .55); }
.portal__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.portal__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 22, 22, .65), rgba(8, 22, 22, .05) 55%); opacity: var(--shade, 0); }
.portal__caption { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 2; text-align: center; color: var(--cream); display: grid; justify-items: center; opacity: 0; }
.portal__caption .label::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }
.portal__big { font: 400 clamp(2.4rem, 5.6vw, 5.6rem)/1.05 var(--display); }
.portal__big em { color: var(--gold-hi); }
.portal.is-static .portal__pin { height: auto; padding: 0 var(--pad) 80px; }
.portal.is-static .portal__frame { width: 100%; aspect-ratio: auto; height: 82vh; border-radius: var(--r-lg); --shade: 1; }
.portal.is-static .portal__frame img { transform: none; }
.portal.is-static .portal__caption { opacity: 1; bottom: calc(12vh + 80px); }

.figures { max-width: 1360px; margin: 0 auto; padding: clamp(70px, 11vh, 130px) var(--pad) clamp(100px, 15vh, 170px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.figure {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 290px; padding: 28px 28px 26px;
  border-radius: 28px; color: var(--cream);
  background: radial-gradient(110% 70% at 100% 0%, rgba(80, 150, 140, .45), transparent 60%), linear-gradient(160deg, #1d514c 0%, #133c39 55%, #0b2424 100%);
  border: 1px solid rgba(212, 177, 92, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 70px -42px rgba(10, 29, 29, .8);
}
.figure--bronze { background: radial-gradient(110% 70% at 100% 0%, rgba(176, 146, 74, .5), transparent 60%), linear-gradient(160deg, #5d4f2a 0%, #3d3319 55%, #231d0f 100%); }
.figure .lines { z-index: -1; opacity: .9; }
.figure > .ic { --size: 62px; }
.figure__n { margin-top: auto; padding-top: 40px; font: 400 clamp(3rem, 4.8vw, 4.9rem)/1 var(--display); color: var(--gold-hi); font-variant-numeric: lining-nums; }
.figure__n em { color: var(--cream-70); margin: 0 .06em; font-style: normal; }
.figure__l { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(212, 177, 92, .3); font: 600 .72rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-70); }

/* ---------- II · residences (teal) ---------- */
.res { background: var(--dark-bg); color: var(--cream); position: relative; overflow: hidden; padding: clamp(100px, 15vh, 170px) 0 clamp(100px, 15vh, 170px); }
.lines--res { opacity: .5; }
.res h2 em { color: var(--gold); }
.res .head { margin-bottom: clamp(36px, 6vh, 60px); }

.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto 40px; }
.cover {
  position: relative; text-align: left; cursor: pointer; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "eyebrow state" "size state" "meta state"; align-items: center; column-gap: 16px; row-gap: 4px;
  padding: 20px 22px 20px 26px;
  border: 1px solid rgba(212, 177, 92, .22); border-radius: 22px;
  background: rgba(243, 239, 228, .03); color: rgba(243, 239, 228, .55);
  transition: border-color .4s, box-shadow .5s var(--ease), color .4s, background .4s;
}
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.cover--a::before { background: radial-gradient(80% 90% at 100% 0%, rgba(160, 132, 64, .55), transparent 65%), linear-gradient(160deg, #5d4f2a 0%, #3b3219 60%, #221d10 100%); }
.cover--b::before { background: radial-gradient(80% 90% at 100% 0%, rgba(53, 127, 118, .7), transparent 65%), linear-gradient(160deg, #1d514c 0%, #123a38 60%, #0b2424 100%); }
.cover::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; margin-left: -8px; background: var(--gold); border-radius: 3px; transform: rotate(45deg) scale(0); transition: transform .45s var(--ease); }
.cover:not(.is-on):hover { border-color: rgba(212, 177, 92, .55); color: rgba(243, 239, 228, .8); background: rgba(243, 239, 228, .06); }
.cover.is-on { color: var(--cream); border-color: var(--gold); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .75), 0 0 0 4px rgba(212, 177, 92, .14), 0 0 40px -10px rgba(212, 177, 92, .35); }
.cover.is-on::before { opacity: 1; }
.cover.is-on::after { transform: rotate(45deg) scale(1); }
.cover__eyebrow { grid-area: eyebrow; font: 600 .66rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lo); transition: color .4s; }
.cover.is-on .cover__eyebrow { color: var(--gold); }
.cover__size { grid-area: size; font: 400 clamp(1.8rem, 2.8vw, 2.5rem)/1.05 var(--display); }
.cover__meta { grid-area: meta; display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.cover__meta b { font-weight: 600; }
.cover.is-on .cover__meta b { color: var(--gold-hi); }
.cover__meta i { font-style: normal; opacity: .75; }
.cover__state { grid-area: state; align-self: center; }
.cover__state i, .cover__state b { display: none; align-items: center; gap: 8px; font: 600 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.cover__state i { background: var(--gold); color: #1c1a10; box-shadow: 0 8px 20px -8px rgba(212, 177, 92, .7); }
.cover__state i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1c1a10; }
.cover__state b { border: 1px solid rgba(212, 177, 92, .5); color: var(--gold); }
.cover__state b::after { content: "\2192"; font-size: .9rem; letter-spacing: 0; }
.cover.is-on .cover__state i { display: inline-flex; }
.cover:not(.is-on) .cover__state b { display: inline-flex; }
.cover:not(.is-on):hover .cover__state b { background: var(--gold); color: #1c1a10; border-color: var(--gold); }

.spreads { position: relative; }
.spread {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "ext plan" "info plan";
  gap: 26px clamp(24px, 3vw, 44px); align-items: start;
  background: rgba(243, 239, 228, .035); border: 1px solid rgba(212, 177, 92, .16); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 40px);
}
.spread[hidden] { display: none; }
.spread > * { min-width: 0; }
.spread__ext { grid-area: ext; margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.spread__ext img { width: 100%; height: 100%; object-fit: cover; }
.spread__ext figcaption, .spread__plan figcaption {
  position: absolute; left: 16px; bottom: 16px;
  font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(10, 29, 29, .7); color: var(--gold-hi); padding: 10px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(212, 177, 92, .25);
}
.spread__info { grid-area: info; }
.spread__info h3 { font: 400 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--display); display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.spread__info h3 small { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 999px; }
.spread__scheme { margin-top: 10px; color: var(--cream-70); }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(150deg, rgba(243, 239, 228, .08), rgba(243, 239, 228, .02)); border: 1px solid rgba(212, 177, 92, .22); }
.facts .ic { --size: 58px; }
.facts span { display: grid; gap: 6px; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.facts span b { font: 400 2.4rem/1 var(--display); letter-spacing: 0; color: var(--cream); }
.spread__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 24px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line-dark); }
.spread__price span { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.spread__price b { font: 400 2rem/1 var(--display); color: var(--gold-hi); }
.spread__price small { font-size: .95rem; color: var(--cream-70); }
.spread__plan {
  grid-area: plan; margin: 0; position: relative; --pp: clamp(14px, 1.6vw, 22px);
  background: var(--sage); border-radius: var(--r); padding: var(--pp);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.spread__plan img { width: 100%; }
.spread__plan figcaption { left: auto; right: 14px; bottom: auto; top: 14px; background: rgba(23, 48, 43, .85); }

/* ---------- III · details (sage) ---------- */
.details { background: linear-gradient(180deg, #dde3d0 0%, var(--sage) 100%); color: var(--ink); padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 13vh, 150px); }
.collage { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(14px, 2vw, 30px); }
.collage__item { margin: 0; }
.collage__img { overflow: hidden; border-radius: var(--r-lg); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.collage__item--a { grid-column: 1 / 7; }
.collage__item--a .collage__img { aspect-ratio: 11 / 9; }
.collage__item--b { grid-column: 8 / 13; margin-top: 22vh; }
.collage__item--b .collage__img { aspect-ratio: 4 / 5; }
.collage__item--c { grid-column: 3 / 7; margin-top: -12vh; }
.collage__item--c .collage__img { aspect-ratio: 980 / 1122; }
.collage figcaption { margin-top: 20px; font-size: .98rem; line-height: 1.6; color: var(--ink-soft); max-width: 38ch; }
.collage figcaption b { display: flex; align-items: center; gap: 12px; font: 400 1.3rem/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.collage figcaption b::before { content: ""; width: 28px; height: 1.5px; border-radius: 2px; background: var(--gold-lo, #a88c48); }

.specs { margin-top: clamp(90px, 13vh, 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(30px, 6vw, 100px); }
.specs__title { font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1.15 var(--display); margin-bottom: 16px; }
.specs__intro p.muted { max-width: 32ch; }

.acc-list { display: grid; border-top: 1px solid rgba(23, 48, 43, .18); }
.acc { border-bottom: 1px solid rgba(23, 48, 43, .18); padding: 0 4px; border-radius: 0; transition: background .5s var(--ease), border-radius .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.acc[open] {
  margin: 10px 0; padding: 4px 28px 10px; border-radius: 26px; border-bottom-color: transparent; color: var(--cream);
  background: radial-gradient(90% 60% at 100% 0%, rgba(80, 150, 140, .35), transparent 60%), linear-gradient(160deg, #1d514c 0%, #133c39 55%, #0b2424 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 177, 92, .28), 0 36px 60px -36px rgba(10, 29, 29, .75);
}
.acc-list > .acc:first-child[open] { margin-top: 0; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc__icon.ic { --size: 46px; transition: background .4s, box-shadow .4s, color .4s; }
.acc:not([open]) .acc__icon.ic { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(23, 48, 43, .28); }
.acc:not([open]) .acc__icon.ic::before { opacity: 0; }
.acc:not([open]) .acc__icon.ic svg { fill: none !important; filter: none; stroke-width: 1.6 !important; }
.acc summary span { flex: 1; font: 400 clamp(1.25rem, 1.9vw, 1.65rem)/1.25 var(--display); transition: color .3s; }
.acc:not([open]) summary:hover span { color: var(--moss); }
.acc__count { flex: none; font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--ink-soft); opacity: .8; }
.acc[open] .acc__count { color: var(--gold); opacity: 1; }
.acc summary b { flex: none; position: relative; width: 38px; height: 38px; border: 1px solid rgba(23, 48, 43, .28); border-radius: 50%; transition: transform .5s var(--ease), background .4s, border-color .4s, color .4s; }
.acc summary b::before, .acc summary b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.acc summary b::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.acc:not([open]) summary:hover b { border-color: var(--ink); }
.acc[open] summary b { background: var(--gold); border-color: var(--gold); color: #1c1a10; }
.acc[open] summary b::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { overflow: hidden; }
.acc__body > * { padding-bottom: 22px; }
.acc__body p { max-width: 62ch; color: var(--ink-soft); }
.acc[open] .acc__body p { color: var(--cream-70); }
.kv { margin: 0; display: grid; }
.kv div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; padding: 10px 0; border-top: 1px dashed var(--line-light); }
.kv div:first-child { border-top: 0; }
.kv dt { font: 600 .7rem/1.8 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.kv dd { margin: 0; color: var(--ink); }
.acc .kv div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); padding: 13px 0; border-top: 1px solid rgba(212, 177, 92, .18); }
.acc .kv dt { font-size: .68rem; line-height: 1.9; letter-spacing: .16em; color: var(--gold); }
.acc .kv dd { color: var(--cream); }

/* ---------- IV · location (teal) ---------- */
.loc { background: var(--dark-bg); color: var(--cream); position: relative; overflow: hidden; padding: clamp(100px, 15vh, 170px) 0 clamp(100px, 15vh, 170px); }
.lines--loc { opacity: .4; transform: scaleX(-1); }
.loc h2 em { color: var(--gold); }
.loc__odo-wrap { text-align: right; padding-right: 70px; }
.loc__odo { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; font: 400 clamp(3.6rem, 7vw, 6.4rem)/1 var(--display); color: var(--gold-hi); font-variant-numeric: tabular-nums lining-nums; }
.loc__odo small { font: 600 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.loc__place { margin-top: 6px; color: var(--cream-70); min-height: 1.6em; }

.strip { position: relative; margin: 0 0 clamp(60px, 9vh, 100px); }
.strip__line { position: absolute; left: 6.25%; right: 6.25%; top: 28px; height: 2px; border-radius: 2px; background: rgba(212, 177, 92, .18); }
.strip__line span { display: block; height: 100%; width: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--gold-hi), var(--gold)); transform: scaleX(0); transform-origin: left; }
.strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.stop { display: grid; justify-items: center; text-align: center; gap: 8px; opacity: .42; }
.stop__icon { position: relative; isolation: isolate; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--gold-hi); font-style: normal;
  background: linear-gradient(150deg, #24534d 0%, #143a37 55%, #0a2222 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18), inset 0 -3px 6px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(212, 177, 92, .3), 0 12px 22px -12px rgba(0, 0, 0, .7);
  transition: color .4s, box-shadow .4s; }
.stop__icon::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .45s;
  background: linear-gradient(150deg, #f6e4a6 0%, #e2c272 30%, #c9a24f 62%, #9c7a32 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .7), inset 0 -4px 8px rgba(100, 70, 15, .38); }
.stop__icon svg { width: 24px; height: 24px; stroke-width: 1.9; }
.stop b { font: 600 .82rem/1 var(--sans); letter-spacing: .08em; color: var(--gold); margin-top: 6px; }
.stop span { font-size: .86rem; line-height: 1.4; color: var(--cream-70); max-width: 16ch; }
.stop.is-on { opacity: 1; }
.stop.is-on .stop__icon { color: #133430; box-shadow: 0 0 0 6px rgba(212, 177, 92, .14), 0 14px 26px -12px rgba(110, 80, 20, .7); }
.stop.is-on .stop__icon::before { opacity: 1; }
.stop--home .stop__icon, .stop--home.is-on .stop__icon { color: #fff; background: linear-gradient(150deg, #e0566b 0%, #b8203a 45%, #7e0f22 100%); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(60, 0, 10, .45), 0 0 0 6px rgba(164, 25, 47, .18), 0 14px 26px -12px rgba(120, 10, 30, .8); }
.stop--home .stop__icon::before { display: none; }
.stop--home .stop__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 1.5px solid rgba(199, 56, 79, .7); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.mapplate { position: relative; }
.mapplate__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 24px; margin-bottom: 28px; flex-wrap: wrap; }
.mapplate__head .label { margin-bottom: 10px; }
.mapplate__note { color: var(--cream-70); max-width: 46ch; }
.mapplate__frame { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line-dark); background: #a9bdb9; overflow: hidden; border-radius: var(--r-lg); clip-path: inset(0 0 0 0 round var(--r-lg)); }
.mapplate__frame img { width: 100%; }
.mapplate__pin { position: absolute; left: 76.7%; top: 18.5%; width: 0; height: 0; }
.mapplate__pin::before, .mapplate__pin::after { content: ""; position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 2px solid #b0162f; animation: ring 2.4s var(--ease) infinite; }
.mapplate__pin::after { animation-delay: 1.2s; }


/* ---------- V · developer + FAQ (sage) ---------- */
/* ---------- coming soon: Phase 2B / 2C / 2D ---------- */
.soon { background: linear-gradient(180deg, #efede3 0%, var(--sage) 100%); color: var(--ink); padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 13vh, 150px); }
.soon .head__text { color: var(--ink-soft); }
.soon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.phase {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: clamp(400px, 56vh, 520px); padding: clamp(56px, 8vh, 80px) 26px 30px;
  border-radius: 999px 999px 28px 28px; color: var(--cream);
  border: 1px solid rgba(212, 177, 92, .38); background: var(--teal-deep);
  box-shadow: 0 46px 80px -44px rgba(10, 29, 29, .8);
}
.phase__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phase__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 60%); filter: blur(3px) saturate(.6); transform: scale(1.12); }
.phase__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 29, 29, .5) 0%, rgba(10, 29, 29, .82) 45%, rgba(10, 29, 29, .97) 100%); }
.phase .lines { z-index: -1; opacity: .55; }
.phase__chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(212, 177, 92, .5); background: rgba(10, 29, 29, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.phase__name { margin-top: auto; display: grid; justify-items: center; gap: 6px; font-weight: 400; }
.phase__name span { font: 600 .74rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); padding-left: .3em; }
.phase__name b { font: 400 clamp(5rem, 8.5vw, 8rem)/.95 var(--caps); background: linear-gradient(180deg, #f6e4a6 0%, #e2c272 45%, #b08a3a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .04em; }
.phase__note { margin-top: 10px; color: var(--cream-70); font-size: .98rem; }
.phase__cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s; }
.phase__cta svg { width: 16px; height: 16px; }
.phase__cta:hover { background: var(--gold); color: #1c1a10; }

.dev { background: linear-gradient(180deg, var(--sage) 0%, #dde3d0 100%); color: var(--ink); padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 13vh, 150px); }
.dev__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.dev__text .muted { margin: 24px 0 32px; max-width: 52ch; }
.kv--stack div { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.dev__mark { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--gold-dim); border-radius: 50%; padding: 18%; position: relative; background: rgba(255, 255, 255, .3); }
.dev__mark::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid var(--line-light); }
.dev__mark img { width: 100%; }
.faq { margin-top: clamp(90px, 13vh, 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(30px, 6vw, 100px); }
.faq__title { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 16px; }
.faq .specs__intro p.muted { max-width: 30ch; }

/* ---------- VI · register (teal + image) ---------- */
.reg { position: relative; padding: clamp(110px, 16vh, 180px) 0; overflow: hidden; color: var(--cream); background: var(--teal-deep); }
.reg__bg { position: absolute; inset: -10% 0; }
.reg__bg img { width: 100%; height: 100%; object-fit: cover; }
.reg__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 22, 22, .94) 0%, rgba(8, 22, 22, .82) 45%, rgba(8, 22, 22, .6) 100%); }
.lines--reg { opacity: .4; }
.reg__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(40px, 6vw, 110px); align-items: center; }
.reg__text h2 em { color: var(--gold); }
.reg__text > p:not(.label) { margin-top: 24px; max-width: 44ch; color: var(--cream-70); font-size: 1.1rem; }
.reg__contacts { margin-top: 36px; display: flex; gap: 20px; flex-wrap: wrap; }
.reg__contacts a { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; text-decoration: none; padding: 14px 22px 14px 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(10, 29, 29, .4); transition: border-color .3s, background .3s; }
.reg__contacts a:hover { border-color: var(--gold); background: rgba(10, 29, 29, .7); }
.reg__contacts i.ic { grid-row: 1 / 3; --size: 46px; border-radius: 50%; }
.reg__contacts span { font: 600 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.reg__contacts b { font: 400 1.35rem/1.1 var(--display); }

.form { background: rgba(10, 29, 29, .62); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); display: grid; gap: 20px; }
.form__title { font: 400 1.8rem/1.1 var(--display); }
.field { display: grid; gap: 8px; margin: 0; }
.field label, .field legend { font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.field input:not([type="radio"]), .field select {
  width: 100%; background: rgba(243, 239, 228, .06); border: 1px solid rgba(243, 239, 228, .18); border-radius: 14px;
  color: var(--cream); font: 400 1rem/1.4 var(--sans); padding: 14px 16px;
  transition: border-color .3s, background .3s;
}
.field input::placeholder { color: rgba(243, 239, 228, .35); }
.field select option { background: var(--teal-deep); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(243, 239, 228, .09); }
.field--radio { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field--radio legend { margin-bottom: 12px; width: 100%; }
.field--radio label { cursor: pointer; }
.field--radio input { position: absolute; opacity: 0; }
.field--radio span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .92rem; transition: background .3s, color .3s, border-color .3s; }
.field--radio input:checked + span { background: var(--gold); color: #1c1a10; border-color: var(--gold); }
.field--radio input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.form__error { color: #f0b9a6; font-size: .92rem; }

/* ---------- footer ---------- */
.footer { background: var(--teal-deep); color: var(--cream-70); padding: 90px 0 40px; border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: 220px 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: 170px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer h3 { font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer p { font-size: .95rem; line-height: 1.8; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-hi); }
.legal { padding-top: 30px; font-size: .8rem; color: rgba(243, 239, 228, .55); display: grid; gap: 14px; }
.legal__details summary { cursor: pointer; color: var(--gold); font: 600 .66rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.legal__details p { margin-top: 10px; line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 1440px) {
  .header__wa { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header__wa span { display: none; }
}
/* the full nav needs ~1180px; switch to the menu button a little earlier so other fonts and zoom levels never overflow */
@media (max-width: 1260px) {
  .header__wa { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header__wa span { display: none; }
  .header__end { gap: 10px; }
  .header__nav { display: none; }
  .header__menu { display: block; }
}
@media (max-width: 900px) {
  .header__brand img { height: 76px; }
  .header.is-solid { top: 10px; left: 10px; right: 10px; padding: 8px 10px 8px 18px; border-radius: 20px; }
  .header.is-solid .header__brand img { height: 54px; }
  /* phones: both actions float bottom right, WhatsApp stacked above Book a viewing */
  .book { right: 14px; bottom: 16px; padding: 14px 20px 14px 16px; font-size: .7rem; letter-spacing: .1em; }
  .wa-float { display: grid; right: 14px; bottom: 16px; transition: opacity .5s, transform .5s var(--ease), bottom .5s var(--ease); }
  .wa-float.is-lifted { bottom: 80px; }
  .header__wa { display: none; }

  .hero__title { top: 17%; }
  .hero__name { white-space: normal; font-size: clamp(2.6rem, 13vw, 6rem); line-height: .95; }
  .hero__word { display: block; }
  /* the roof sits just under the title on short screens, else the house rests above the bar */
  .hero__house { --hw: min(200vw, 1100px); --fs: clamp(2.6rem, 13vw, 6rem); top: max(calc(79% - var(--hw) * .6667), calc(17% + 26px + var(--fs) * 1.9 - var(--hw) * .1847)); bottom: auto; left: 85%; }
  /* solid up to ~27% of the screen so the bottom edge of the house image never shows, even once the bar fades */
  .hero__shade { height: 54%; background: linear-gradient(to top, var(--teal-deep) 0%, var(--teal-deep) 50%, rgba(10, 29, 29, .6) 72%, rgba(10, 29, 29, 0) 100%); }
  .hero__bar { grid-template-columns: 1fr auto; gap: 16px; bottom: 22px; left: 16px; right: 16px; padding: 18px 20px; }
  .hero__bar-text { grid-column: 1 / -1; }
  .hero__lede { font-size: .98rem; }
  .hero__tag { font-size: .64rem; }
  .hero__price { padding-right: 0; border-right: 0; text-align: left; }
  .hero__price strong { font-size: 1.7rem; }
  .hero__bar .btn { padding: 13px 18px; font-size: .68rem; white-space: nowrap; }
  .hero__cue, .hero__note { display: none; }

  .estate__intro { text-align: left; justify-items: start; }
  .portal { --fh: calc(62vw * 4 / 3); }
  .portal__frame { width: 62vw; }
  .figures { grid-template-columns: 1fr 1fr; gap: 12px; }
  .figure { padding: 22px 20px 20px; min-height: 230px; border-radius: 22px; }
  .figure > .ic { --size: 52px; }
  .acc[open] { padding: 2px 18px 8px; border-radius: 22px; }
  .acc summary { gap: 14px; }
  .acc .kv div { gap: 14px; }
  .figure__n { padding-top: 28px; }

  .head--split { grid-template-columns: 1fr; align-items: start; }
  .loc__odo-wrap { text-align: left; padding-right: 0; }
  .loc__odo { justify-content: flex-start; }
  .pick { gap: 10px; margin-bottom: 28px; }
  .cover { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "size" "meta" "state"; padding: 16px; border-radius: 18px; row-gap: 6px; }
  .cover__size { font-size: 1.6rem; }
  .cover__meta { font-size: .8rem; gap: 4px 10px; }
  .cover__state { justify-self: start; margin-top: 6px; }
  .cover__state i, .cover__state b { padding: 8px 11px; font-size: .58rem; }
  .spread { grid-template-columns: 1fr; grid-template-areas: "ext" "info" "plan"; gap: 22px; padding: 16px; }
  .spread__plan { --pp: 12px; }
  .facts li { padding: 12px; gap: 12px; }
  .facts .ic { --size: 48px; }
  .facts span b { font-size: 2rem; }

  .collage { grid-template-columns: repeat(6, 1fr); row-gap: 44px; }
  .collage__item--a { grid-column: 1 / 7; }
  .collage__item--b { grid-column: 2 / 7; margin-top: 0; }
  .collage__item--c { grid-column: 1 / 6; margin-top: 0; }
  .specs, .faq, .dev__grid, .reg__grid { grid-template-columns: 1fr; }
  .dev__mark { width: min(300px, 70vw); justify-self: start; }

  .strip__line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .strip__line span { transform: scaleY(0); transform-origin: top; height: 100%; }
  .strip__list { grid-template-columns: 1fr; gap: 14px; }
  .stop { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 2px; justify-items: start; text-align: left; align-items: center; }
  .stop__icon { grid-row: 1 / 3; }
  .stop b { margin-top: 0; }
  .stop span { max-width: none; }
  .mapplate__frame { aspect-ratio: 1.1; border-radius: var(--r); clip-path: inset(0 0 0 0 round var(--r)); }
  .mapplate__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
  .mapplate__pin { left: 74.8%; }
  .reg__contacts a { width: 100%; }

  .soon__grid { grid-template-columns: 1fr; gap: 18px; }
  .phase { min-height: 340px; padding: 50px 22px 26px; border-radius: 180px 180px 24px 24px; }
  .phase__name b { font-size: 5.4rem; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .hero__bar { grid-template-columns: 1fr; gap: 12px; }
  .hero__bar .btn { width: 100%; }
}
@media (max-width: 520px) {
  .header__wa { width: 40px; height: 40px; }
  .header__wa svg { width: 19px; height: 19px; }
  .lang button { padding: 8px 8px; font-size: .62rem; letter-spacing: .08em; }
  .header__end { gap: 8px; }
  .header { padding-left: 16px; padding-right: 16px; }
  .figures { grid-template-columns: 1fr; }
  .kv div, .kv--stack div { grid-template-columns: 1fr; gap: 2px; }
  .footer__cols { grid-template-columns: 1fr; }
  .cover__eyebrow { font-size: .58rem; letter-spacing: .1em; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .facts li { padding: 10px; gap: 10px; }
  .facts .ic { --size: 42px; }
  .facts span { font-size: .6rem; letter-spacing: .1em; }
  .facts span b { font-size: 1.7rem; }
  .cover { padding: 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__clouds { animation: none; }
}
