/* =========================================================================
   The Ease Canggu · site.css
   Palette: the bark of the rainbow eucalyptus (leaf, sun, flame, violet, ocean) on eucalyptus mist and lagoon.
   ========================================================================= */

@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/jakarta.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/jakarta-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  /* grounds */
  --lime: #F3FBF7;      /* eucalyptus mist canvas */
  --lime-2: #E2F5EC;    /* mist surface */
  --lime-3: #C6EBDA;
  --bark: #0A4A46;      /* lagoon: the dark ground */
  --bark-2: #0E5953;
  --bark-3: #146A62;
  /* ink */
  --ink: #0C2826;
  --ink-soft: #3B5C58;
  --bone: #F5FCF8;
  --bone-soft: #ACDCD0;
  /* accent: rainbow-eucalyptus flame, stops per ground */
  --tan: #FF6A2B;
  --tan-fill: #FF6A2B;
  --tan-text: #B13E08;
  --tan-light: #FFB27A;
  /* category: bark violet */
  --olive: #7A4DE8;
  --olive-text: #5A2FC6;
  --olive-light: #CDB8FF;
  /* the bark's other stripes */
  --leaf: #1FB389;
  --sun: #FFC83A;
  --ocean: #1C9FD0;
  --on-accent: #0C2826;
  --bark-stripe: linear-gradient(90deg, var(--leaf) 0 20%, var(--sun) 20% 40%, var(--tan) 40% 60%, var(--olive) 60% 80%, var(--ocean) 80% 100%);

  --rule: rgba(12,40,38, .16);
  --rule-strong: rgba(12,40,38, .32);
  --rule-dark: rgba(245,252,248, .16);

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-text: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --maxw: 1320px;
  --section: clamp(72px, 11vw, 168px);
  --bar-h: 68px;

  --t-xs: .78rem; --t-sm: .875rem; --t-base: 1rem; --t-md: 1.125rem; --t-lg: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --t-d-md: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --t-d-lg: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem);
  --t-d-xl: clamp(2.5rem, 1.35rem + 4.6vw, 5.6rem);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --radius: 2px;
  --e1: 0 1px 2px rgba(4,36,34, .08), 0 2px 8px rgba(4,36,34, .06);
  --e2: 0 6px 18px rgba(4,36,34, .12), 0 2px 6px rgba(4,36,34, .08);
  --e3: 0 24px 60px rgba(4,36,34, .28), 0 6px 18px rgba(4,36,34, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0; background: var(--lime); color: var(--ink);
  font-family: var(--f-text); font-size: var(--t-base); line-height: 1.6;
  font-feature-settings: "kern"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--tan-light); color: var(--bark); }
:focus-visible { outline: 2px solid var(--tan-text); outline-offset: 3px; border-radius: 1px; }
.section--dark :focus-visible, .hero :focus-visible, .bar:not([data-state="solid"]) :focus-visible, .dock :focus-visible, .lightbox :focus-visible, .planviewer :focus-visible { outline-color: var(--tan-light); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.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; }
.num, .tnum { font-variant-numeric: tabular-nums; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--bark); color: var(--bone); padding: 10px 14px; transition: top .15s var(--ease-out); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
.display em, .hero__title em { font-style: normal; font-weight: 700; color: var(--tan-text); letter-spacing: -.035em; }
.hero__title em, .section--dark .display em { color: var(--sun); }
.display--xl { font-size: var(--t-d-xl); }
.display--lg { font-size: var(--t-d-lg); }
.display--md { font-size: var(--t-d-md); line-height: 1.08; letter-spacing: -.015em; }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.fineprint { font-size: var(--t-xs); line-height: 1.5; color: var(--ink-soft); }
.source-line { font-size: var(--t-xs); color: var(--ink-soft); letter-spacing: .01em; margin-top: var(--s-4); max-width: 34ch; }
.side-title { font-family: var(--f-text); font-weight: 600; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--s-4); }
.missing-unused { color: #8C3B2E; font-family: var(--f-text); font-weight: 600; font-size: .8em; letter-spacing: 0; background: rgba(140, 59, 46, .08); padding: .05em .35em; border-radius: 2px; }
.section--dark .missing, .hero .missing-unused { color: #F0B9A6; background: rgba(240, 185, 166, .1); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--surface { background: var(--lime-2); }
.section--dark { background: var(--bark); color: var(--bone); --ink: var(--bone); --ink-soft: var(--bone-soft); --rule: var(--rule-dark); --rule-strong: rgba(245,252,248, .3); --tan-text: var(--tan-light); }
.section--dark .lead, .section--dark .fineprint, .section--dark .source-line, .section--dark .side-title { color: var(--bone-soft); }

/* ---------- buttons ---------- */
.btn { --bg: transparent; --fg: var(--ink); --bd: var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
  font-family: var(--f-text); font-weight: 600; font-size: var(--t-sm); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .16s var(--ease-out), color .16s var(--ease-out), border-color .16s var(--ease-out), transform .12s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn--primary { --bg: var(--tan-fill); --fg: var(--on-accent); --bd: var(--tan-fill); }
.btn--ghost-light { --fg: var(--bone); --bd: rgba(245,252,248, .55); background: rgba(4,36,34, .18); }
.btn--wa { --bg: var(--bark); --fg: var(--bone); --bd: var(--bark); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --bg: #FF8A55; --bd: #FF8A55; }
  .btn--ghost-light:hover { --bd: var(--bone); background: rgba(4,36,34, .35); }
  .btn--wa:hover { --bg: #073B38; }
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--tan-text); font-weight: 600; font-size: var(--t-sm); text-decoration: none; background: none; border: 0; padding: 6px 0; }
.link-arrow::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .18s var(--ease-out); }
.link-arrow--light { color: var(--tan-light); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { width: 28px; } }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h); display: flex; align-items: center; gap: var(--s-5);
  padding-inline: var(--gutter); color: var(--bone); transition: background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.bar::before { content: ""; position: absolute; inset: 0 0 -24px 0; background: linear-gradient(rgba(4,36,34, .45), rgba(4,36,34, 0)); pointer-events: none; transition: opacity .25s; z-index: -1; }
.bar[data-state="solid"] { background: rgba(243,251,247, .94); color: var(--ink); box-shadow: 0 1px 0 var(--rule); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.bar[data-state="solid"]::before { opacity: 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.mark__the { font-family: var(--f-display); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; }
.mark__ease { display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 400; font-size: 1.32rem; letter-spacing: .34em; line-height: 1; }
.mark__lambda { width: .66em; height: .8em; margin: 0 .34em 0 0; }
.bar__nav { display: flex; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; }
.bar__nav a { font-size: var(--t-sm); text-decoration: none; opacity: .86; padding: 6px 0; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out); }
.bar__nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { opacity: 1; } .bar__nav a:hover::after { transform: scaleX(1); } }
.bar__tools { display: flex; align-items: center; gap: var(--s-4); }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: var(--radius); opacity: .9; }
.lang button { background: none; border: 0; padding: 6px 9px; min-width: 38px; min-height: 34px; font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] { color: var(--bark); background: var(--bone); }
.bar[data-state="solid"] .lang button[aria-pressed="true"] { color: var(--bone); background: var(--ink); }
.bar__wa { min-height: 40px; padding: 0 16px; }
.bar:not([data-state="solid"]) .bar__wa { --bg: rgba(245,252,248, .12); --bd: rgba(245,252,248, .5); }
.bar__menu { display: none; background: none; border: 1px solid currentColor; border-radius: var(--radius); min-height: 40px; padding: 0 14px; font-size: var(--t-sm); font-weight: 600; }
.drawer { position: fixed; inset: var(--bar-h) 0 0 0; z-index: 49; background: var(--lime); padding: var(--s-5) var(--gutter) var(--s-8); overflow-y: auto; }
.drawer nav { display: grid; }
.drawer a { font-family: var(--f-display); font-size: 1.7rem; font-weight: 300; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
@media (max-width: 1080px) {
  .bar__nav { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
  .bar__tools { margin-left: auto; }
}
@media (max-width: 560px) {
  .bar__wa { display: none; }
  .bar { gap: var(--s-3); }
  .mark__ease { font-size: 1.12rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1100px; overflow: hidden; background: var(--bark); color: var(--bone); isolation: isolate; }
.hero__far { position: absolute; inset: -2% 0 0 0; transform-origin: 50% 60%; }
.hero__far picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__light { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(120% 80% at 88% -10%, rgba(255,214,110, .22), rgba(255,214,110, 0) 55%); }
.hero__scrim { position: absolute; inset: auto auto 0 0; width: min(100%, 980px); height: 78%; pointer-events: none;
  background: radial-gradient(125% 105% at 0% 100%, rgba(4,36,34, .84) 0%, rgba(4,36,34, .64) 42%, rgba(4,36,34, .2) 66%, rgba(4,36,34, 0) 82%); }
.hero__title, .hero__sub { text-shadow: 0 2px 22px rgba(4,36,34, .38); }
html[lang="id"] .hero__title { font-size: clamp(2.3rem, 1.2rem + 3.9vw, 4.9rem); max-width: 16ch; }
.hero__copy { position: absolute; left: var(--gutter); bottom: clamp(40px, 9vh, 104px); z-index: 3; max-width: min(900px, 60vw); }
.hero__title { font-size: var(--t-d-xl); font-weight: 300; line-height: .98; letter-spacing: -.025em; max-width: 15.5ch; }
.hero__sub { margin-top: var(--s-5); font-size: var(--t-lg); line-height: 1.5; color: rgba(245,252,248, .9); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
/* near plane: the villa's own stone-slat louvre screen */
.hero__screen { position: absolute; z-index: 4; top: -4%; bottom: -4%; right: 0; width: 38%; display: flex; justify-content: space-between; padding-right: 2%;
  pointer-events: none; --open: 0; --tilt: 0deg; }
/* A louvre turning about its vertical axis, seen head-on, is a board whose visible width is cos(angle).
   scaleX(cos θ) gives that turn with a cheap 2D transform (no 3D rendering context), and the face darkens
   as it turns away from the light. */
.slat { position: relative; flex: 0 0 auto; width: 9.6%; height: 100%;
  --ang: calc(30deg + var(--open) * 60deg + var(--tilt));
  background: #c9c2b3 url("../assets/img/slat-strip.webp") center / cover;

  transform-origin: 50% 50%;
  transform: translateX(calc(var(--open) * var(--dx, 0px))) scale(calc(max(cos(var(--ang)), .035) * (1 + var(--open) * .18)), calc(1 + var(--open) * .18));
  }
.slat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,226,150, .16), rgba(0,0,0,.5)); opacity: calc(.35 + var(--open) * .65); }
.slat::before { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 14px; background: linear-gradient(90deg, rgba(4,36,34, .38), rgba(4,36,34, 0)); }
.slat:nth-child(1) { --dx: 40px; background-position: 10% 0; }
.slat:nth-child(2) { --dx: 70px; background-position: 30% 0; }
.slat:nth-child(3) { --dx: 100px; background-position: 55% 0; }
.slat:nth-child(4) { --dx: 130px; background-position: 80% 0; }
.slat:nth-child(5) { --dx: 160px; background-position: 20% 0; }
.slat:nth-child(6) { --dx: 190px; background-position: 65% 0; }
.slat:nth-child(7) { --dx: 220px; background-position: 40% 0; }
.slat:nth-child(8) { --dx: 250px; background-position: 90% 0; }
.slat:nth-child(9) { --dx: 280px; background-position: 5% 0; }
@media (max-width: 860px) {
  .hero { min-height: 560px; }
  .hero__copy { max-width: none; right: var(--gutter); bottom: clamp(28px, 5vh, 64px); }
  .hero__title, html[lang="id"] .hero__title { max-width: 12ch; font-size: clamp(2.2rem, 9.4vw, 3.4rem); }
  .hero__sub { font-size: var(--t-base); margin-top: var(--s-4); }
  .hero__ctas { margin-top: var(--s-5); }
  .hero__scrim { width: 100%; height: 76%; background: linear-gradient(0deg, rgba(4,36,34, .86) 0%, rgba(4,36,34, .55) 45%, rgba(4,36,34, 0) 100%); }
  .hero__screen { width: 40%; top: -2%; bottom: 46%; }
  .slat:nth-child(n+6) { display: none; }
  .slat { width: 13%; }
}

/* ---------- reveal ---------- */
.reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
.reveal.is-in { clip-path: inset(0 0 0 0); }
.in { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.in.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .in { clip-path: none; opacity: 1; transform: none; }

/* ---------- concept ---------- */
.concept__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 112px); align-items: end; }
.concept__trunk { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.concept__trunk img { width: 100%; height: 100%; object-fit: cover; }
.concept__text .lead { margin-top: var(--s-5); }
.concept__facts { list-style: none; margin-top: var(--s-7); border-top: 1px solid var(--rule); }
.concept__facts li { padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 15ch 1fr; gap: var(--s-5); }
.concept__facts strong { font-family: var(--f-display); font-weight: 500; }
.pillars { margin-top: clamp(80px, 10vw, 160px); }
.pillars__title { font-size: var(--t-d-md); font-weight: 300; letter-spacing: -.015em; max-width: 22ch; line-height: 1.1; }
.pillars__list { margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-5); }
.pillar { grid-column: span 4; padding: var(--s-5) 0 var(--s-6); border-top: 1px solid var(--rule-strong); }
.pillar:nth-child(4) { grid-column: 3 / span 4; }
.pillar:nth-child(5) { grid-column: 7 / span 4; }
.pillar dt { font-family: var(--f-display); font-weight: 700; color: var(--tan-text); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1; margin-bottom: var(--s-3); }
.pillar dd { margin: 0; color: var(--ink-soft); max-width: 36ch; }
.wellness { margin-top: clamp(80px, 10vw, 160px); display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.wellness__media { margin: 0; }
.wellness__media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.wellness__text p { margin-top: var(--s-4); color: var(--ink-soft); }
@media (max-width: 900px) {
  .concept__grid, .wellness { grid-template-columns: 1fr; }
  .concept__trunk { aspect-ratio: 4 / 3; }
  .pillars__list { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(4), .pillar:nth-child(5) { grid-column: auto; }
  .concept__facts li { grid-template-columns: 1fr; gap: var(--s-1); }
}

/* ---------- location / map ---------- */
.location__head { display: grid; gap: var(--s-5); }
.location__head > * { max-width: 980px; }
.location__grid { margin-top: var(--s-8); display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.map__filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.chip { border: 1px solid var(--rule-strong); background: transparent; border-radius: 999px; min-height: 40px; padding: 0 16px; font-size: var(--t-sm); transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.map__canvas { position: relative; background: #DDF3EA; border: 1px solid var(--rule); }
.map__svg { width: 100%; height: auto; }
.map__sea { opacity: .55; }
.map__coast { fill: none; stroke: #1C9FD0; stroke-width: 1.6; }
.map__roads path { fill: none; stroke: #FFFFFF; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map__roadlabels text { font: 500 11px var(--f-text); fill: #5E8A82; letter-spacing: .08em; text-transform: uppercase; }
.map__route { fill: none; stroke: var(--tan); stroke-width: 3; stroke-dasharray: 8 7; }
.map__routelabel rect { fill: var(--tan-fill); }
.map__routelabel text { font: 700 13px var(--f-text); fill: var(--bark); text-anchor: middle; }
.map__home circle { fill: var(--bark); }
.map__home text { fill: var(--bone); text-anchor: middle; font-family: var(--f-display); }
.map__home-the { font-size: 6.5px; letter-spacing: .3em; }
.map__home-name { font-size: 11px; letter-spacing: .28em; }
.poi { cursor: pointer; outline: none; }
.poi circle { stroke: #DDF3EA; stroke-width: 2.5; transition: transform .18s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.poi text { font: 500 12.5px var(--f-text); fill: var(--ink); paint-order: stroke; stroke: #DDF3EA; stroke-width: 4px; stroke-linejoin: round; }
.poi--beach circle { fill: var(--ocean); } .poi--club circle { fill: var(--tan); } .poi--cafe circle { fill: #D99A00; } .poi--well circle { fill: var(--olive); }
.poi.is-dim { opacity: .18; }
.map__svg--zoom .poi text { font-size: 19px; stroke-width: 5px; }
.map__svg--zoom .poi circle { r: 9px; }
.map__svg--zoom .map__roadlabels text { font-size: 15px; }
.map__svg--zoom .map__routelabel { transform: translate(944px, 372px) rotate(-50deg) scale(1.4); }
.poi.is-hot circle, .poi:focus-visible circle { transform: scale(1.5); }
.poi:focus-visible text { text-decoration: underline; }
.map__tip { position: absolute; left: 12px; bottom: 12px; background: var(--bark); color: var(--bone); font-size: var(--t-sm); padding: 8px 12px; max-width: 70%; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s var(--ease-out); pointer-events: none; }
.map__tip.is-on { opacity: 1; transform: none; }
.map .fineprint { margin-top: var(--s-3); }
.travel { list-style: none; border-top: 1px solid var(--rule-strong); margin-bottom: var(--s-6); }
.travel li { display: grid; gap: 2px; padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); }
.travel b { font-weight: 600; }
.poi-list { list-style: none; columns: 2; column-gap: var(--s-5); font-size: var(--t-sm); margin-bottom: var(--s-5); }
.poi-list li { break-inside: avoid; }
.poi-list button { background: none; border: 0; padding: 5px 0; text-align: left; display: flex; gap: 8px; align-items: center; width: 100%; }
.poi-list i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.aerial { margin: var(--s-6) 0 0; }
.aerial video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--lime-3); }
.aerial figcaption { font-size: var(--t-xs); color: var(--ink-soft); margin-top: var(--s-2); }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } .map__svg { min-height: 300px; } }

/* ---------- gallery ---------- */
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-7); }
.tabs { display: flex; gap: var(--s-5); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { background: none; border: 0; padding: 10px 0 12px; font-size: var(--t-sm); font-weight: 600; letter-spacing: .02em; color: var(--ink-soft); position: relative; white-space: nowrap; min-height: 44px; }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tan); transform: scaleX(0); transition: transform .2s var(--ease-out); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.ggrid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 210px); grid-auto-flow: dense; gap: clamp(8px, 1vw, 14px); }
.gitem { grid-column: span 2; grid-row: span 2; }
.gitem--wide { grid-column: span 4; grid-row: span 2; }
.gitem--tall { grid-column: span 2; grid-row: span 3; }
.ggrid .gitem:first-child { grid-column: span 4; grid-row: span 3; }
.gitem__btn { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: var(--lime-3); overflow: hidden; display: block; text-align: left; }
.gitem__btn picture, .gitem__btn img { width: 100%; height: 100%; object-fit: cover; }
.gitem__btn img { transition: transform 1.2s var(--ease-out); }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: var(--bone); font-size: var(--t-sm); line-height: 1.35;
  background: linear-gradient(0deg, rgba(4,36,34, .72), rgba(4,36,34, 0)); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease-out); }
.gitem__btn:focus-visible .gitem__cap { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .gitem__btn:hover img { transform: scale(1.035); } .gitem__btn:hover .gitem__cap { opacity: 1; transform: none; } }
@media (hover: none) { .gitem__cap { opacity: 1; transform: none; } }
.gallery__note { margin-top: var(--s-5); }
@media (max-width: 900px) {
  .ggrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .gitem, .gitem--tall { grid-column: span 1; grid-row: span 1; }
  .gitem--wide, .ggrid .gitem:first-child { grid-column: span 2; grid-row: span 1; }
}

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,36,34, .96); color: var(--bone); }
.lightbox::backdrop { background: rgba(4,36,34, .8); }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s var(--ease-out); }
.lightbox__fig { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px clamp(16px, 7vw, 110px); max-height: 100dvh; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; }
.lightbox__cap { font-size: var(--t-sm); color: var(--bone-soft); text-align: center; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(245,252,248, .08); border: 1px solid rgba(245,252,248, .25); border-radius: 50%; color: var(--bone); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 16px; top: 16px; }
.lightbox__count { position: absolute; left: 20px; top: 26px; font-size: var(--t-xs); letter-spacing: .1em; color: var(--bone-soft); font-variant-numeric: tabular-nums; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- tour ---------- */
.tour__head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6); align-items: end; margin-bottom: var(--s-7); }
.tour__frame { position: relative; aspect-ratio: 16 / 9; background: var(--bark-2); overflow: hidden; }
.tour__frame:fullscreen { aspect-ratio: auto; }
.tour__facade, .tour__facade picture, .tour__facade img, .tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tour__facade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 55%, rgba(4,36,34, .15), rgba(4,36,34, .55)); }
.tour__start { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 56px; padding: 0 28px; box-shadow: var(--e3); }
.tour__start:active { transform: translate(-50%, calc(-50% + 1px)); }
.tour__tools { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; margin-top: var(--s-4); }
@media (max-width: 900px) { .tour__head { grid-template-columns: 1fr; } .tour__frame { aspect-ratio: 4 / 5; } }

/* ---------- residences ---------- */
.res__head { display: grid; grid-template-columns: 6fr 6fr; gap: var(--s-6); align-items: end; margin-bottom: var(--s-7); }
.tabs--types { gap: clamp(16px, 2.4vw, 36px); }
.tabs--types [role="tab"] small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .72rem; letter-spacing: .04em; margin-top: 2px; }
.res__panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); padding-top: var(--s-7); outline: none; }
.res__panel:focus-visible { outline: 2px solid var(--tan-text); outline-offset: 8px; }
.spec-card h3 { font-size: var(--t-d-md); font-weight: 300; line-height: 1.05; }
.spec-card .cat { display: inline-block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-3); }
.cat--villa { color: var(--tan-text); } .cat--apartment { color: var(--olive-text); }
.section--dark .cat--apartment { color: var(--olive-light); }
.specs { margin: var(--s-6) 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
.specs div { padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); }
.specs div:nth-child(odd) { padding-right: var(--s-4); }
.specs dt { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.specs dd { margin: 2px 0 0; font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.features { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: var(--s-6); }
.features li { font-size: var(--t-xs); border: 1px solid var(--rule-strong); padding: 4px 10px; border-radius: 999px; }
.spec-card__from { font-size: var(--t-md); margin-bottom: var(--s-5); }
.spec-card__from b { font-family: var(--f-display); font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.plan-card { display: grid; gap: var(--s-4); }
.plan-card__variants { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-card__variants .chip { min-height: 34px; font-size: var(--t-xs); }
.plan-card__open { position: relative; display: block; width: 100%; padding: clamp(12px, 2vw, 28px); background: #fff; border: 1px solid var(--rule); cursor: zoom-in; }
.plan-card__open img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.plan-card__hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; background: var(--bark); color: var(--bone); font-size: var(--t-xs); padding: 6px 10px; }
.plan-card__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-card__thumbs button { padding: 0; border: 0; background: var(--lime-3); aspect-ratio: 4 / 3; overflow: hidden; }
.plan-card__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .res__head, .res__panel { grid-template-columns: 1fr; } .res__panel .plan-card { order: -1; } }

/* plan viewer */
.planviewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #F5FCF8; color: var(--ink); }
.planviewer[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .2s var(--ease-out); }
.planviewer::backdrop { background: rgba(4,36,34, .7); }
.planviewer__stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; }
.planviewer__stage:active { cursor: grabbing; }
.planviewer__stage img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; user-select: none; will-change: transform; }
.planviewer__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 12px var(--gutter); border-top: 1px solid var(--rule); background: var(--lime); }
.planviewer__title { font-weight: 600; font-size: var(--t-sm); }
.planviewer__tools { display: flex; gap: 8px; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule-strong); background: transparent; border-radius: var(--radius); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- breath ---------- */
.breath { position: relative; height: 92svh; min-height: 520px; overflow: hidden; background: var(--bark); }
.breath picture, .breath img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.breath::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(0deg, rgba(4,36,34, .78), rgba(4,36,34, .45) 45%, rgba(4,36,34, 0)); }
.breath__line { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(48px, 10vh, 112px); color: var(--bone); font-family: var(--f-display); font-weight: 300; font-size: var(--t-d-lg); line-height: 1.02; letter-spacing: -.02em; max-width: 20ch; text-shadow: 0 2px 20px rgba(4,36,34, .4); }

/* ---------- availability (peak) ---------- */
.availability { background: var(--bark); color: var(--bone); --ink: var(--bone); --ink-soft: var(--bone-soft); --rule: var(--rule-dark); --rule-strong: rgba(245,252,248, .3); --tan-text: var(--tan-light); }
.plan-act { position: relative; height: 290vh; }
.plan-stage { position: sticky; top: 0; height: 100svh; min-height: 620px; display: grid; grid-template-columns: minmax(250px, 2.6fr) 9.4fr; gap: clamp(24px, 2.6vw, 48px); align-items: center;
  padding: calc(var(--bar-h) + 16px) var(--gutter) 28px; max-width: calc(1600px + 2 * var(--gutter)); margin-inline: auto; overflow: hidden; }
.plan-stage__copy .display { max-width: 9ch; }
.plan-stage__counts { margin-top: var(--s-5); font-size: var(--t-md); color: var(--bone-soft); }
.plan-stage__counts strong { color: var(--tan-light); font-family: var(--f-display); font-size: 2rem; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1; }
.plan-stage__hint { margin-top: var(--s-5); font-family: var(--f-text); font-style: italic; font-size: var(--t-lg); line-height: 1.35; max-width: 30ch; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-5); font-size: var(--t-sm); color: var(--bone-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; display: inline-block; border-radius: 1px; }
.sw--available { background: var(--tan-fill); }
.sw--reserved { background: repeating-linear-gradient(135deg, var(--tan-fill) 0 3px, transparent 3px 6px); border: 1px solid var(--tan-fill); }
.sw--sold { background: var(--bark-3); border: 1px solid rgba(245,252,248, .2); }
.tabs--plan { display: none; margin-top: var(--s-5); }
.plan-stage__plans { display: grid; grid-template-columns: 2.35fr 1fr; gap: clamp(16px, 2vw, 32px); align-items: center; min-height: 0; }
.siteplan, .stack { margin: 0; min-width: 0; }
.siteplan__svg, .stack__svg { width: 100%; height: auto; max-height: calc(100svh - var(--bar-h) - 80px); overflow: visible; }
.siteplan figcaption, .stack figcaption { margin-top: var(--s-2); color: var(--bone-soft); }
/* svg plan pieces */
.sp-river { fill: none; stroke: #1C9FD0; stroke-width: 16; stroke-linecap: round; opacity: .55; }
.sp-road { fill: none; stroke: #073B38; stroke-width: 26; stroke-linecap: round; }
.sp-path { fill: none; stroke: #FFC83A; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 9; }
.sp-label { font: 600 11px var(--f-text); fill: var(--bone-soft); letter-spacing: .14em; text-transform: uppercase; }
.sp-draw { stroke-dasharray: var(--len); stroke-dashoffset: calc(var(--len) * (1 - var(--draw, 1))); }
.plot { cursor: pointer; outline: none; }
.plot rect { stroke-width: 1.5; transition: fill .5s var(--ease-out), stroke .5s var(--ease-out), opacity .5s var(--ease-out); }
.plot text { font: 600 17px var(--f-text); text-anchor: middle; pointer-events: none; font-variant-numeric: tabular-nums; transition: fill .5s; }
.plot .plot__type { font-weight: 400; font-size: 13px; letter-spacing: .04em; }
.stack .plot text { font-size: 15px; }
.stack .plot .plot__type { font-size: 11px; }
.plot--available rect { fill: var(--tan-fill); stroke: #FFB27A; }
.plot--available text { fill: var(--bark); }
.plot--reserved rect { fill: url(#hatch); stroke: var(--tan-fill); }
.plot--reserved text { fill: var(--bone); }
.plot--sold rect { fill: var(--bark-3); stroke: rgba(245,252,248, .18); }
.plot--sold text { fill: rgba(245,252,248, .5); }
.plot[data-phase="pre"] rect { fill: rgba(245,252,248, .07); stroke: rgba(245,252,248, .35); }
.plot[data-phase="pre"] text { fill: var(--bone-soft); }
.plot[data-phase="hidden"] { opacity: 0; }
.plot { transition: opacity .45s var(--ease-out); }
.plot.is-selected rect { stroke: var(--bone); stroke-width: 3.5; }
.plot:focus-visible rect { stroke: var(--bone); stroke-width: 3; stroke-dasharray: 4 3; }
@media (hover: hover) and (pointer: fine) { .plot--available:hover rect { fill: #FF8A55; } .plot--sold:hover rect { fill: #1B7A70; } }
.plot-tip { font: 500 12px var(--f-text); }
.stack-floor-label { font: 600 11px var(--f-text); fill: var(--bone-soft); letter-spacing: .1em; text-transform: uppercase; }
.stack-roof rect, .stack-ground rect { fill: rgba(245,252,248, .06); stroke: rgba(245,252,248, .2); }
.stack-roof text, .stack-ground text { font: 500 11px var(--f-text); fill: var(--bone-soft); text-anchor: middle; letter-spacing: .06em; }
@media (max-width: 1080px) {
  .plan-act { height: auto; }
  .plan-stage { position: relative; height: auto; min-height: 0; grid-template-columns: 1fr; align-content: start; gap: var(--s-4); padding-top: var(--section); padding-bottom: var(--s-6); }
  .siteplan--upright .siteplan__svg { max-height: none; max-width: 420px; }
  .siteplan--upright .sp-rowlabel { display: none; }
  .plan-stage__copy .display { max-width: none; font-size: var(--t-d-md); }
  .plan-stage__counts { margin-top: var(--s-2); font-size: var(--t-sm); }
  .plan-stage__counts strong { font-size: 1.5rem; }
  .plan-stage__hint { margin-top: var(--s-2); font-size: var(--t-base); }
  .legend { margin-top: var(--s-3); }
  .tabs--plan { display: flex; margin-top: var(--s-2); }
  .tabs--plan [role="tab"] { color: var(--bone-soft); }
  .tabs--plan [role="tab"][aria-selected="true"] { color: var(--bone); }
  .plan-stage__plans { grid-template-columns: 1fr; }
  .plan-stage__plans[data-view="villa"] .stack, .plan-stage__plans[data-view="apartment"] .siteplan { display: none; }
  .siteplan__svg, .stack__svg { max-height: none; margin-inline: auto; }
  .stack__svg { max-width: 460px; }
}


/* units table */
.units { padding-top: var(--s-9); padding-bottom: var(--section); }
.units__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4); margin-bottom: var(--s-6); }
.units__head .source-line { margin: 0; max-width: 46ch; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); align-items: end; padding: var(--s-5) 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.filters__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters__group legend, .field > span { display: block; font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.seg { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: var(--t-sm); }
.seg input:checked + span { background: var(--ink); color: var(--bark); }
.seg input:focus-visible + span { outline: 2px solid var(--tan-text); outline-offset: 2px; }
.section--dark .seg input:checked + span, .availability .seg input:checked + span { background: var(--bone); color: var(--bark); }
.ledger:not(.section--dark) .seg input:checked + span, .seg--light input:checked + span { background: var(--ink); color: var(--lime); }
.checks { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.checks label, .check { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; font-size: var(--t-sm); cursor: pointer; }
.checks input, .check input { width: 18px; height: 18px; accent-color: var(--tan-fill); margin: 0; }
.field { display: grid; }
.field input, .field select, .field textarea { min-height: 44px; width: 100%; background: transparent; border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 8px 12px; font-size: var(--t-base); color: var(--ink); }
.field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #0C2826; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--tan-text); outline: none; box-shadow: 0 0 0 1px var(--tan-text); }
.field--select { min-width: 160px; }
.units__count { margin: var(--s-4) 0; font-size: var(--t-sm); color: var(--bone-soft); }
.table-wrap { overflow-x: auto; }
.units__table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.units__table th { text-align: left; font-weight: 600; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-soft); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.units__table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.units__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.units__table td.u { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; }
.units__table tr.is-selected { background: rgba(255,178,122, .12); box-shadow: inset 3px 0 0 var(--tan-light); }
.units__table tr.is-selected td:first-child { padding-left: 10px; }
.units__table tr.is-sold td:not(.act) { color: rgba(245,252,248, .45); }
.status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 1px; }
.status--available::before { background: var(--tan-fill); }
.status--reserved::before { background: repeating-linear-gradient(135deg, var(--tan-fill) 0 2px, transparent 2px 4px); border: 1px solid var(--tan-fill); }
.status--sold::before { background: var(--bark-3); border: 1px solid rgba(245,252,248, .3); }
.act { white-space: nowrap; text-align: right; }
.act .btn { min-height: 38px; padding: 0 12px; font-size: var(--t-xs); }
.act .btn + .btn { margin-left: 6px; }
.btn--sel { --fg: var(--bone); --bd: rgba(245,252,248, .4); }
.btn--sel[aria-pressed="true"] { --bg: var(--bone); --fg: var(--bark); --bd: var(--bone); }
.btn--ask { --bg: var(--tan-fill); --fg: var(--on-accent); --bd: var(--tan-fill); }
.cat-tag { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: block; }
.cat-tag--villa { color: var(--tan-light); } .cat-tag--apartment { color: var(--olive-light); }
@media (max-width: 860px) {
  .units__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .units__table, .units__table tbody, .units__table tr, .units__table td { display: block; }
  .units__table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .units__table td { border: 0; padding: 0; }
  .units__table td[data-l]::before { content: attr(data-l) " "; color: var(--bone-soft); font-size: var(--t-xs); }
  .units__table td.u { grid-column: 1; }
  .units__table td.st { grid-column: 2; grid-row: 1; text-align: right; }
  .units__table td.num { text-align: left; }
  .units__table td.pr { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.15rem; }
  .units__table td.act { grid-column: 1 / -1; text-align: left; margin-top: 8px; display: flex; gap: 8px; }
  .units__table td.act .btn { flex: 1; min-height: 44px; }
  .units__table td.act .btn + .btn { margin-left: 0; }
  .units__table tr.is-selected td:first-child { padding-left: 0; }
  .filters { gap: var(--s-4); }
  .field--select { min-width: calc(50% - 8px); flex: 1 1 calc(50% - 8px); }
}

/* ---------- ledger sections ---------- */
.ledger__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 96px); }
.ledger__rail { position: relative; }
.ledger__rail > * { position: sticky; top: calc(var(--bar-h) + 24px); }
.ledger__rail .source-line { top: calc(var(--bar-h) + 140px); }
.ledger__body { min-width: 0; }
@media (max-width: 900px) { .ledger__grid { grid-template-columns: 1fr; } .ledger__rail > * { position: static; } }

/* pricing */
.fromtable table { width: 100%; border-collapse: collapse; }
.fromtable caption { text-align: left; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; padding-bottom: var(--s-3); }
.fromtable th, .fromtable td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.fromtable thead th { font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; border-bottom-color: var(--rule-strong); }
.fromtable td.num, .fromtable th.num { text-align: right; font-variant-numeric: tabular-nums; }
.fromtable tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; }
.fromtable .from { font-family: var(--f-display); font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 520px) {
  .fromtable th, .fromtable td { padding-right: 8px; }
  .fromtable .from, .fromtable tbody th { font-size: .98rem; }
}
.fromtable .none { color: var(--ink-soft); }
.steps { list-style: none; margin-top: var(--s-8); display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--rule-strong); }
.step { padding: var(--s-5) var(--s-4) var(--s-5) 0; position: relative; counter-increment: s; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--tan-fill); }
.step__k { display: block; font-family: var(--f-display); font-size: 1.35rem; margin-bottom: var(--s-2); }
.step p { font-size: var(--t-sm); color: var(--ink-soft); }
.step b { color: var(--ink); font-variant-numeric: tabular-nums; }
.schedule { margin-top: var(--s-6); }
.schedule__card { background: var(--bark); color: var(--bone); padding: clamp(20px, 3vw, 36px); display: grid; gap: var(--s-5); }
.schedule__card h3 { font-size: 1.5rem; font-weight: 300; }
.schedule__card h3 b { font-weight: 500; }
.schedule__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.schedule__rows div { border-top: 1px solid rgba(245,252,248, .25); padding-top: var(--s-3); }
.schedule__rows dt { font-size: var(--t-xs); color: var(--bone-soft); letter-spacing: .06em; text-transform: uppercase; }
.schedule__rows dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.schedule__rows small { display: block; font-family: var(--f-text); font-size: var(--t-xs); color: var(--bone-soft); }
.schedule__empty { border: 1px dashed var(--rule-strong); padding: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: end; justify-content: space-between; }
.schedule__empty p { max-width: 40ch; color: var(--ink-soft); }
.terms { list-style: none; margin-top: var(--s-6); display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); font-size: var(--t-sm); color: var(--ink-soft); }
.terms li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .schedule__rows, .terms { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* invest */
.how { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); border-top: 1px solid var(--rule-strong); }
.how li { padding-top: var(--s-4); font-size: var(--t-sm); color: var(--bone-soft); }
.how b { display: block; color: var(--bone); font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin-bottom: var(--s-2); line-height: 1.2; }
.calc { margin-top: var(--s-8); display: grid; grid-template-columns: 4fr 7fr; gap: clamp(20px, 3vw, 48px); padding: clamp(20px, 3vw, 40px); background: var(--bark-2); border: 1px solid var(--rule-dark); }
.calc__inputs { display: grid; gap: var(--s-4); align-content: start; }
.calc .field input, .calc .field select { color: var(--bone); border-color: rgba(245,252,248, .3); }
.field--range > span { display: flex; justify-content: space-between; }
.field--range output { font-variant-numeric: tabular-nums; color: var(--bone); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }
.field--range input { border: 0; padding: 0; accent-color: var(--tan-fill); min-height: 32px; }
.calc .check { font-size: var(--t-xs); color: var(--bone-soft); align-items: flex-start; line-height: 1.45; }
.calc .check input { margin-top: 2px; flex: none; }
.seg--small span { min-height: 36px; font-size: var(--t-xs); }
.kpis { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-5); }
.kpis div { padding: var(--s-3) 0; border-bottom: 1px solid var(--rule-dark); }
.kpis dt { font-size: var(--t-xs); color: var(--bone-soft); letter-spacing: .06em; text-transform: uppercase; }
.kpis dd { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(1.1rem, .85rem + .75vw, 1.5rem); font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.kpis .kpi--lead dd { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
@media (max-width: 440px) { .kpis { grid-template-columns: 1fr; } }
.kpis dd small { display: block; font-family: var(--f-text); font-size: var(--t-xs); color: var(--bone-soft); margin-top: 2px; }
.kpis .kpi--lead dd { color: var(--tan-light); }
.chart { margin: var(--s-6) 0 0; position: relative; }
.chart__title { font-size: var(--t-sm); color: var(--bone-soft); margin-bottom: var(--s-3); }
.chart__plot svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgba(245,252,248, .1); }
.chart .axis text { font: 500 12px var(--f-text); fill: var(--bone-soft); font-variant-numeric: tabular-nums; }
.chart .bar rect { fill: var(--tan-fill); transition: fill .12s; }
.chart .bar.is-hot rect { fill: #FFC83A; }
.chart .bar .lbl { font: 600 12px var(--f-text); fill: var(--bone); text-anchor: middle; font-variant-numeric: tabular-nums; }
.chart .bar .hit { fill: transparent; }
.chart .ref { stroke: var(--bone-soft); stroke-dasharray: 4 4; stroke-width: 1; }
.chart .ref-l { font: 500 11px var(--f-text); fill: var(--bone-soft); }
.chart__tip { position: absolute; pointer-events: none; background: var(--lime); color: var(--ink); font-size: var(--t-xs); padding: 8px 10px; box-shadow: var(--e2); opacity: 0; transform: translate(-50%, -110%); white-space: nowrap; transition: opacity .1s; z-index: 2; }
.chart__tip.is-on { opacity: 1; }
.chart__tip b { display: block; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.chart__table { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--bone-soft); }
.chart__table summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; }
.chart__table table { width: 100%; border-collapse: collapse; margin-top: var(--s-2); font-variant-numeric: tabular-nums; }
.chart__table th, .chart__table td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--rule-dark); text-align: right; }
.chart__table th:first-child, .chart__table td:first-child { text-align: left; }
.fees { margin-top: var(--s-7); }
.fees ul { list-style: none; font-size: var(--t-sm); color: var(--bone-soft); }
.fees li { padding: 10px 0; border-bottom: 1px solid var(--rule-dark); }
.disclaimer { margin-top: var(--s-6); padding: var(--s-5); border: 1px solid rgba(255,178,122, .45); font-size: var(--t-sm); color: var(--bone-soft); }
.disclaimer b { color: var(--bone); }
@media (max-width: 1000px) { .calc { grid-template-columns: 1fr; } .how { grid-template-columns: 1fr; } }

/* developer */
.dev__cols { margin: var(--s-7) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.kv { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.kv th, .kv td { text-align: left; padding: 11px 10px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.kv th { font-weight: 400; color: var(--ink-soft); width: 46%; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 1px solid var(--rule-strong); }
.progress { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-4); }
.progress figure { margin: 0; }
.progress video { width: 100%; aspect-ratio: 848 / 478; background: var(--bark); }
.progress__photo img { width: 100%; aspect-ratio: 848 / 478; object-fit: cover; }
.progress figcaption { font-size: var(--t-xs); color: var(--ink-soft); margin-top: var(--s-2); }
.timeline { list-style: none; margin-top: var(--s-6); border-left: 1px solid var(--rule-strong); }
.timeline li { position: relative; padding: 0 0 var(--s-5) var(--s-5); font-size: var(--t-sm); color: var(--ink-soft); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--tan-fill); }
.timeline b { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; }
.spec { margin-top: var(--s-6); border-top: 1px solid var(--rule-strong); }
.spec summary { cursor: pointer; padding: var(--s-4) 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; min-height: 48px; align-items: center; }
.spec summary::after, .faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.5rem; font-weight: 300; transition: transform .2s var(--ease-out); }
.spec[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
.spec summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.spec__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); }
.spec__list div { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); }
.spec__list dt { color: var(--ink-soft); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; }
.spec__list dd { margin: 2px 0 0; }
@media (max-width: 900px) { .dev__cols, .progress, .spec__list { grid-template-columns: 1fr; } }

/* faq */
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 96px); }
.faq__list { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-5); align-items: center; padding: var(--s-4) 0; min-height: 56px; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.3; }
.faq__a { padding: 0 0 var(--s-5); color: var(--ink-soft); max-width: 66ch; display: grid; gap: var(--s-3); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* contact */
.contact { padding-bottom: 0; }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.contact__intro .lead { margin-top: var(--s-5); }
.contact__selection { margin-top: var(--s-6); }
.selcard { border: 1px solid rgba(255,178,122, .5); padding: var(--s-4) var(--s-5); display: grid; gap: 4px; }
.selcard__k { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--tan-light); font-weight: 600; }
.selcard__v { font-family: var(--f-display); font-size: 1.4rem; }
.selcard__m { font-size: var(--t-sm); color: var(--bone-soft); }
.direct { margin-top: var(--s-6); }
.direct__name { font-size: var(--t-sm); color: var(--bone-soft); }
.direct__num { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 300; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .direct__num:hover { text-decoration: underline; } }
.downloads { margin-top: var(--s-7); display: grid; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--rule-dark); text-decoration: none; min-height: 52px; }
.dl:first-of-type { border-top: 1px solid rgba(245,252,248, .3); }
.dl span { font-weight: 600; }
.dl span::before { content: "↓"; display: inline-block; margin-right: 10px; color: var(--tan-light); }
.dl small { color: var(--bone-soft); font-size: var(--t-xs); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .dl:hover span { text-decoration: underline; } }
.lead-form { display: grid; gap: var(--s-4); padding: clamp(20px, 3vw, 40px); background: var(--lime); color: var(--ink); --ink: #0C2826; --ink-soft: #3B5C58; --rule: rgba(12,40,38, .16); --rule-strong: rgba(12,40,38, .32); --tan-text: #B13E08; box-shadow: var(--e3); }
.lead-form .field input, .lead-form .field select, .lead-form .field textarea { color: var(--ink); border-color: var(--rule-strong); }
.lead-form .field > span { color: var(--ink-soft); }
.lead-form .fineprint { color: var(--ink-soft); }
.lead-form :focus-visible { outline-color: var(--tan-text); }
.form__error { color: #8C3B2E; font-size: var(--t-sm); font-weight: 600; min-height: 0; }
.form__error:empty, .form__ok:empty { display: none; }
.form__ok { font-size: var(--t-sm); background: var(--lime-2); padding: var(--s-3) var(--s-4); border-left: 2px solid var(--tan-fill); }
.field.is-bad input, .field.is-bad select { border-color: #8C3B2E; box-shadow: 0 0 0 1px #8C3B2E; }
.foot { padding-top: var(--s-9); padding-bottom: calc(var(--s-8) + 56px); display: grid; gap: var(--s-3); border-top: 0; }
.foot__mark { font-size: var(--t-sm); color: var(--bone-soft); }
.foot .fineprint { max-width: 90ch; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- dock (signature) ---------- */
.dock { position: fixed; z-index: 45; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); max-width: min(560px, calc(100vw - 100px));
  display: flex; align-items: center; gap: var(--s-4); background: var(--bark); color: var(--bone); padding: 10px 10px 10px 16px; box-shadow: var(--e3); border: 1px solid rgba(255,178,122, .35);
  animation: dockin .35s var(--ease-out); }
@keyframes dockin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dock { transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.in-hero .dock { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
.dock__info { display: grid; line-height: 1.2; min-width: 0; }
.dock__label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tan-light); font-weight: 600; }
.dock__unit { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__meta { font-size: var(--t-xs); color: var(--bone-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.dock__links { display: flex; gap: 2px; margin-left: auto; }
.dock__links a { font-size: var(--t-xs); font-weight: 600; text-decoration: none; padding: 8px 10px; border: 1px solid rgba(245,252,248, .2); min-height: 36px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .dock__links a:hover { background: rgba(245,252,248, .08); } }
.dock__clear { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: var(--bone-soft); flex: none; }
.dock__clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 640px) {
  .dock { right: 84px; left: 12px; max-width: none; padding: 8px 6px 8px 12px; gap: 8px; }
  .dock__links a { padding: 6px 8px; }
  .dock__links a:not(:last-child) { display: none; }
}

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; z-index: 46; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #12A150; color: #fff; box-shadow: 0 10px 28px rgba(4,36,34, .35), 0 2px 6px rgba(4,36,34, .25); transition: transform .16s var(--ease-out); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-2px); } }

/* ---------- rendering budget ----------
   Media-heavy sections below the fold are skipped for layout and paint until they approach the viewport.
   Not the availability section (its pinned stage relies on sticky positioning) and not the text ledger
   sections (accessibility checkers sample their backgrounds by hit-testing, which skipped content defeats). */
.concept, .location, .gallery, .tour, .residences, .breath {
  content-visibility: auto; contain-intrinsic-size: auto 1200px;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { clip-path: none; transition: none; }
  .in { transform: none; transition: opacity .4s linear; }
  .hero__far, .hero__copy { transform: none !important; }
  .slat { --open: 0 !important; }
  .plan-act { height: auto; }
  .plan-stage { position: relative; height: auto; min-height: 0; padding-block: var(--section) var(--s-7); }
  .siteplan__svg, .stack__svg { max-height: none; }
  .gitem__btn img, .chip, .btn, .bar, .dock { transition: none; animation: none; }
}

/* Hero layers are promoted to their own compositor layers only once the visitor starts moving,
   so the first frame is one cheap layer and scrolling afterwards is composite-only. */
.hero.is-live .hero__far, .hero.is-live .slat { will-change: transform; }
.hero.is-live .hero__copy { will-change: transform, opacity; }

/* construction video: a poster button until the visitor asks for the player */
.progress__play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bark); cursor: pointer; }
.progress__play img { width: 100%; aspect-ratio: 848 / 478; object-fit: cover; }
.progress__playicon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; background: rgba(4,36,34, .82); color: var(--bone); font-weight: 600; font-size: var(--t-sm); white-space: nowrap; }
.progress__playicon svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .progress__play:hover .progress__playicon { background: var(--bark); } }

/* Phones: the louvre screen joins the composition on the first touch or scroll (or after a pause),
   so the first frame on a phone is the photograph and the headline only. */
@media (max-width: 860px) {
  .hero__screen { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-out), visibility 0s .9s; }
  .hero.is-live .hero__screen { opacity: 1; visibility: visible; transition: opacity .9s var(--ease-out), visibility 0s; }
}

/* Wide screens: the text ledger sections are skipped until near too (audited clean at this width). */
@media (min-width: 861px) {
  .pricing, .invest, .developer, .faq, .contact { content-visibility: auto; contain-intrinsic-size: auto 1400px; }
}
@media (min-width: 861px) { .slat { will-change: transform; } }

/* ---------- signature: the rainbow-eucalyptus bark stripe ---------- */
.bar[data-state="solid"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--bark-stripe); }
.section--dark::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: var(--bark-stripe); z-index: 5; }
.section--dark::before { top: 0; }
.hero::after { bottom: 0; }
