/* ============================================================
   LUMA · Residences — demo landing (DUOS-inspired)
   ============================================================ */

:root {
  --cream:   #f3ece2;   /* warm background */
  --cream-2: #efe7db;
  --ink:     #223649;   /* dark navy slate */
  --ink-2:   #3a4c5c;
  --grey:    #d9dad4;   /* design section bg */
  --line:    #d8cdbc;
  --line-dark: #bfc1b9; /* hairlines on the grey sections */
  --ochre:   #cf9a3a;
  --terra:   #a8461f;   /* accent text: 5:1 on cream */
  --pill-bg: #223649;

  --maxw: 1180px;
  --font-sans: "Questrial", system-ui, sans-serif;
  --font-serif: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Shared bits ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.7rem;
  background: var(--pill-bg);
  color: var(--cream);
  border: 1px solid var(--pill-bg);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.pill:hover { background: transparent; color: var(--ink); }
.pill--full { width: 100%; padding-block: 1rem; }
/* section call-to-action: mixed case + italic-serif phrase (matches DUOS) */
.pill--cta {
  text-transform: none;
  letter-spacing: .01em;
  font-size: .92rem;
  font-weight: 300;
  padding: .42rem 1.6rem;
}
.pill--cta em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.18em;
  margin-left: .12em;
}

/* dual-typeface heading: sans caps + italic serif */
.dual {
  font-family: var(--font-sans);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.45rem, 5.2vw, 3rem);
  line-height: 1.12;
  color: var(--ink);
}
.dual em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.15em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.side-label {
  position: absolute;
  writing-mode: vertical-rl;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.side-label--left  { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%) rotate(180deg); }
.side-label--right { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(243,236,226,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
/* full-bleed: groups sit hard against the viewport edges */
.header__inner {
  width: 100%;
  padding: 1.1rem clamp(1rem, 2.2vw, 2rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: .35em;
  padding-left: .35em; /* optical centering for tracking */
  color: var(--cream);
  transition: color .25s;
}
.header__right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.6vw, 1.6rem);
}
.header__link {
  position: relative;
  font-family: var(--font-sans);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  padding-bottom: .3rem;
  transition: color .25s;
}
/* underline wipes in from the left on hover / keyboard focus */
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .35s cubic-bezier(.65,.05,.36,1);
}
.header__link:hover::after,
.header__link:focus-visible::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .header__link::after { transition: none; }
}

.lang { display: flex; align-items: center; gap: .35rem; color: var(--cream); }
.lang__globe { opacity: .85; }
.lang__btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: .74rem; letter-spacing: .16em;
  color: var(--cream); opacity: .65; padding: .2rem;
  transition: opacity .25s, color .25s;
}
.lang__btn.is-active { opacity: 1; }
.lang__sep { color: var(--cream); opacity: .4; }

/* over the hero video the bar is transparent with light text;
   once scrolled it flips to the cream bar with ink text */
.header.scrolled .brand,
.header.scrolled .header__link,
.header.scrolled .lang,
.header.scrolled .lang__btn { color: var(--ink); }
.header.scrolled .lang__sep { color: var(--line); opacity: 1; }

/* menu overlay is cream, so the bar above it goes dark too */
body.menu-open .brand,
body.menu-open .header__link,
body.menu-open .lang,
body.menu-open .lang__btn { color: var(--ink); }
body.menu-open .lang__sep { color: var(--line); opacity: 1; }

.burger {
  grid-column: 1;
  justify-self: start;
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { width: 26px; height: 1.5px; background: var(--cream); transition: transform .3s, opacity .3s, background .25s; }
.header.scrolled .burger span { background: var(--ink); }
/* menu open = cream overlay behind, so bars must be dark */
body.menu-open .burger span { background: var(--ink); }
/* burger -> X when menu open */
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* full-screen menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--cream);
  display: none;
  overflow-y: auto;
}
.menu.open { display: block; }
body.menu-open { overflow: hidden; }
.menu__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 6.5rem clamp(1.5rem, 5vw, 3rem) 3rem;
}
.menu__list { list-style: none; border-top: 1px solid var(--line); }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: block;
  padding: 1.15rem .2rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.15rem, 3.6vw, 1.9rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: padding-left .25s, color .25s;
}
.menu__list a:hover,
.menu__list a:focus-visible { padding-left: 1rem; color: var(--terra); }
.menu__contact { margin-top: auto; padding-top: 2.5rem; }
.menu__label { font-size: .74rem; letter-spacing: .2em; color: var(--ink); }
.menu__addr { font-size: .95rem; color: var(--ink-2); margin-top: .6rem; line-height: 1.6; }
.menu__email { margin-top: .9rem; }
.menu__email a { border-top: 1px dashed var(--line); padding-top: .8rem; display: inline-block; color: var(--ink-2); }
.menu__email a:hover { color: var(--terra); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
/* darken the top so the cream header stays legible over the sky */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,24,40,.45), rgba(20,24,40,0) 22%, rgba(20,24,40,0) 78%, rgba(20,24,40,.35));
  pointer-events: none;
}
.hero__labels, .hero__scroll { z-index: 1; }
.hero__labels .side-label { color: rgba(243,236,226,.9); mix-blend-mode: difference; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  color: var(--cream);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ============================================================
   WORDMARK SPLIT — LU / MA part toward the edges on scroll,
   revealing the motif and tagline between them.
   Progress 0..1 is written to --p by JS.
   ============================================================ */
.wordmark {
  --p: 0;
  position: relative;
  height: 260vh;                /* scroll runway for the effect */
  background: var(--cream);
}
.wordmark__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  /* three panes: LU | content | MA */
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
}

.wordmark__half {
  grid-row: 1;
  justify-self: center;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(3.5rem, 13.5vw, 12rem);
  line-height: .8;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  /* distance from a side pane's centre to the middle of the stage */
  --gather: calc((1 - min(1, var(--p) * 1.82)) * (37.5vw - 50%));
}
.wordmark__half--left  { grid-column: 1; transform: translateX(var(--gather)); }
.wordmark__half--right { grid-column: 3; transform: translateX(calc(-1 * var(--gather))); }

.wordmark__center {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem);
  text-align: center;
  /* fades in only once the halves have opened enough to clear it */
  opacity: clamp(0, calc((var(--p) - .58) * 5.8), 1);
  transform: translateY(calc(max(0, 1 - var(--p) * 1.6) * 26px));
}
/* hairline gutters, like the reference */
.wordmark__center::before,
.wordmark__center::after {
  content: "";
  position: absolute;
  top: -50vh; bottom: -50vh;
  width: 1px;
  background: var(--line);
  opacity: clamp(0, calc((var(--p) - .62) * 5), 1);
}
.wordmark__center::before { left: 0; }
.wordmark__center::after  { right: 0; }

/* sized by height as well, so the pane always fits the stage */
.wordmark__art {
  height: clamp(150px, min(30vw, 42vh), 460px);
  width: auto;
  margin: 0 auto clamp(1rem, 3vh, 2.4rem);
}

.dual--stacked em { display: block; margin-top: .35rem; }

.wordmark__center .dual {
  font-size: clamp(1.5rem, min(3.4vw, 4.9vh), 3.2rem);
  margin-bottom: clamp(.8rem, 2.4vh, 1.4rem);
}
.tagline__body {
  font-size: clamp(1rem, min(1.8vw, 2.4vh), 1.5rem);
  line-height: 1.55;
  max-width: 34em;
  margin-inline: auto;
  color: var(--ink-2);
  font-weight: 300;
}
.tagline__body em { font-style: italic; }

/* no scroll choreography when the viewer asked for less motion */
@media (prefers-reduced-motion: reduce) {
  .wordmark { height: auto; --p: 1 !important; }
  .wordmark__sticky { position: static; height: auto; padding-block: clamp(3rem, 8vw, 6rem); }
}

/* ============================================================
   DESIGN & ARCHITECTURE — image left, panel right
   ============================================================ */
.design {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  background: var(--grey);
}
.design__media { overflow: hidden; }
.design__media img { width: 100%; height: 100%; object-fit: cover; }

.design__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.design__inner { max-width: 34em; }
.design .dual { margin-bottom: 1rem; }
.design p {
  max-width: 32em;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 2.1rem;
}
.design p em { font-family: var(--font-serif); font-style: italic; font-size: 1.15em; }

/* marker slides in from the right edge when the section comes into view */
.design__marker {
  position: absolute;
  top: clamp(2rem, 9vh, 6rem);
  right: clamp(1.5rem, 6vw, 5rem);
  width: clamp(46px, 5.5vw, 84px);
  height: auto;
  opacity: 0;
  transform: translateX(180%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .7s ease;
}
.design__marker.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .design__marker { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   CAROUSEL (shared)
   ============================================================ */
.carousel { position: relative; overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform .6s cubic-bezier(.65,.05,.36,1);
  touch-action: pan-y;          /* vertical page scroll ok; horizontal handled by JS */
  cursor: grab;
}
.carousel__track:active { cursor: grabbing; }
.carousel__slide img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.carousel__slide { min-width: 100%; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans);
  font-size: 2.4rem; line-height: 1;
  color: var(--ink);
  padding: .3rem .7rem;
  opacity: .7; transition: opacity .2s;
}
.carousel__arrow:hover { opacity: 1; }
.carousel__arrow--prev { left: .3rem; }
.carousel__arrow--next { right: .3rem; }

.carousel__dots {
  display: flex; justify-content: center; gap: .5rem;
  padding: 1.2rem 0 .2rem;
}
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer;
  transition: background .25s;
}
.carousel__dot.is-active { background: var(--ink); }

/* ============================================================
   RESIDENCES
   ============================================================ */
.residences { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
/* asymmetric collage: offset portrait left, tall image right, copy bottom-left */
.suites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: stretch;
  /* exactly one screen, like the reference; images crop to fit */
  height: max(640px, 100svh);
  grid-template-rows: minmax(0, 1fr);
  margin-bottom: clamp(3rem, 8vw, 6rem);
  /* no right padding: the big image bleeds off the right edge */
  padding: clamp(1.5rem, 4vh, 3.5rem) 0 0 0;
}
.suites__left {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, auto) auto;
  align-content: space-between;
  gap: clamp(2rem, 7vh, 6rem);
  padding-left: clamp(1.25rem, 2.5vw, 3rem);
}
.suites__small {
  width: clamp(180px, 22vw, 470px);
  max-height: 52vh;
  height: auto;
  justify-self: end;
  align-self: start;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.suites__text { align-self: end; max-width: 30em; padding-bottom: clamp(.5rem, 3vh, 2rem); }
.suites__text .dual {
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);   /* keeps the title on one line */
  margin-bottom: .9rem;
}
.suites__text p {
  color: var(--ink-2); line-height: 1.55;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  margin-bottom: 2rem;
}
.suites__big {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  align-self: stretch;
  margin-top: clamp(.5rem, 2.5vh, 2rem);
}
/* residence types: a row of plans separated by hairlines */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2.6rem) clamp(.6rem, 1.4vw, 1.5rem) clamp(2.6rem, 4vw, 3.6rem);
  border-right: 1px solid var(--line);
}
.plan:first-child { border-left: 1px solid var(--line); }

.plan__name {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: .16em;
  font-size: clamp(.72rem, 1.05vw, 1rem);
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
  text-wrap: balance;
}
.plan__img {
  width: 100%;
  height: clamp(260px, 52vh, 600px);
  object-fit: contain;
  margin-block: auto;
}
.plan__zoom {
  position: absolute;
  right: clamp(.7rem, 1.2vw, 1.3rem);
  bottom: clamp(.7rem, 1.2vw, 1.3rem);
  background: none;
  border: none;
  padding: .2rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: opacity .25s, color .25s;
}
.plan__meta {
  margin-top: clamp(1rem, 2.5vh, 1.6rem);
  font-size: clamp(.72rem, .95vw, .9rem);
  letter-spacing: .06em;
  color: var(--ink-2);
  text-align: center;
}
.plan__meta [data-i18n="plan.from"] { font-family: var(--font-serif); font-style: italic; font-size: 1.15em; padding-inline: .15em; }
.plan__zoom:hover, .plan__zoom:focus-visible { color: var(--terra); }

/* ============================================================
   AMENITIES — full-bleed image, then intro + numbered list
   ============================================================ */
.amenities { background: var(--grey); }
.amenities__media { position: relative; width: 100%; height: clamp(340px, 78svh, 820px); overflow: hidden; }
.amenities__media img { width: 100%; height: 100%; object-fit: cover; }
.amenities__caption {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2.5rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.95rem, 1.2vw, 1.15rem);
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(34,54,73,.35);
}
.amenities__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}
.amenities__intro .dual { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.8rem); }
.amenities__intro p {
  max-width: 28em; color: var(--ink-2); line-height: 1.55;
  font-size: clamp(.95rem, 1.4vw, 1.2rem); margin-bottom: 2.1rem;
}
.amen-list { list-style: none; border-top: 1px solid var(--line-dark); }
.amen-list li {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(.9rem, 1.8vw, 1.3rem) .2rem;
  border-bottom: 1px solid var(--line-dark);
}
.amen-list__no {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--ink-2);
  opacity: .7;
  min-width: 2em;
}
.amen-list__name {
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
  letter-spacing: .02em;
  color: var(--ink);
}
.amen-list__name em { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.12em; }
/* stagger the list reveal */
.amen-list li:nth-child(2) { transition-delay: .06s; }
.amen-list li:nth-child(3) { transition-delay: .12s; }
.amen-list li:nth-child(4) { transition-delay: .18s; }
.amen-list li:nth-child(5) { transition-delay: .24s; }
.amen-list li:nth-child(6) { transition-delay: .30s; }

/* ============================================================
   NEIGHBORHOOD
   ============================================================ */
.neighborhood { padding-block: clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.stack {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding-inline: 1rem;
}
.stack {
  position: relative;
  height: clamp(260px, 42vw, 400px);
}
/* three cards share one spot; data-front picks which sits in the middle */
.stack img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(34%, 250px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 6px solid var(--ink);
  background: var(--line);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), z-index 0s .25s;
  --x: 0%; --r: 0deg; --s: 1;
  transform: translate(calc(-50% + var(--x)), -50%) rotate(var(--r)) scale(var(--s));
}
.stack[data-front="0"] img:nth-child(1),
.stack[data-front="1"] img:nth-child(2),
.stack[data-front="2"] img:nth-child(3) { --x: 0%; --r: 0deg; --s: 1.12; z-index: 3; }
.stack[data-front="0"] img:nth-child(2),
.stack[data-front="1"] img:nth-child(3),
.stack[data-front="2"] img:nth-child(1) { --x: 78%; --r: 6deg; z-index: 2; }
.stack[data-front="0"] img:nth-child(3),
.stack[data-front="1"] img:nth-child(1),
.stack[data-front="2"] img:nth-child(2) { --x: -78%; --r: -6deg; z-index: 1; }

.nb {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
}
.nb__list { list-style: none; text-align: right; border-top: 1px solid var(--line); }
.nb__list li { border-bottom: 1px solid var(--line); }
.nb__item {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem .2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 300;
  color: #5d6a71;           /* dimmed, still 4.7:1 on cream */
  text-align: right;
  transition: color .25s;
}
.nb__name {
  order: 2;
  flex: 1;
  font-size: clamp(.9rem, 1.6vw, 1.15rem);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nb__time {
  order: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  color: var(--terra);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .35s, transform .35s;
}
.nb__item.is-active { color: var(--ink); }
.nb__item.is-active .nb__time { opacity: 1; transform: none; }
.nb__item:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }

.nb__foot {
  max-width: var(--maxw);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}
.nb__foot .dual { margin-bottom: .95rem; }
.nb__foot p { max-width: 480px; color: var(--ink-2); line-height: 1.5; font-size: clamp(.9rem, 2vw, 1.15rem); margin-bottom: 2.1rem; }

/* ============================================================
   INQUIRE
   ============================================================ */
.inquire { background: var(--cream-2); border-top: 1px solid var(--line); }
.inquire__inner {
  max-width: 820px; margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}
.inquire .eyebrow { display: block; margin-bottom: 1rem; }
.inquire .dual { margin-bottom: 1rem; }
.inquire > .inquire__inner > p { color: var(--ink-2); max-width: 520px; line-height: 1.5; font-size: clamp(.9rem, 2vw, 1.15rem); margin: 0 auto 2.5rem; }

.inquire__form {
  display: grid;
  /* minmax(0, …): inputs carry an intrinsic width that would otherwise
     push two columns wider than a phone screen */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem;
  text-align: left;
}
.field { display: grid; gap: .4rem; min-width: 0; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  padding: .8rem .95rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px; color: var(--ink);
  transition: border-color .2s;
}
.field select {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  padding: .8rem 2.4rem .8rem .95rem;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23223649' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .95rem center;
  border: 1px solid var(--line);
  border-radius: 4px; color: var(--ink);
  appearance: none;
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field [aria-invalid], .field [aria-invalid]:focus { border-color: var(--terra); }
.consent {
  grid-column: 1 / -1;
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .85rem; line-height: 1.5; color: var(--ink-2);
  cursor: pointer;
}
.consent input { margin-top: .25rem; width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; }
.consent input[aria-invalid] { outline: 1px solid var(--terra); outline-offset: 2px; }
.form-error { grid-column: 1 / -1; font-size: .85rem; color: var(--terra); }
.field textarea { resize: vertical; }
.inquire__form .pill--full { grid-column: 1 / -1; margin-top: .4rem; }
.form-note {
  grid-column: 1 / -1; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem;
  color: var(--terra);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(243,236,226,.72); }
.footer a { transition: color .2s; }
.footer a:hover, .footer a:focus-visible { color: var(--cream); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  font-size: .95rem;
  line-height: 1.7;
}
.footer__logo {
  display: inline-block;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: .35em;
  color: var(--cream);
  line-height: 1;
}
.footer__tag {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  color: rgba(243,236,226,.85);
}
.footer__col { display: flex; flex-direction: column; gap: .35rem; }
.footer__label {
  font-size: .7rem;
  letter-spacing: .25em;
  color: rgba(243,236,226,.7);
  margin-bottom: .6rem;
}
.footer__hours { font-size: .85rem; color: rgba(243,236,226,.75); margin-top: .4rem; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid rgba(243,236,226,.14);
  font-size: .8rem;
  color: rgba(243,236,226,.7);
}
.footer__by { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: rgba(243,236,226,.8); }
.footer__top { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* ============================================================
   PLAN LIGHTBOX
   ============================================================ */
body.modal-open { overflow: hidden; }
.planbox {
  margin: auto;
  width: min(1040px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: none;
  background: var(--cream);
  color: var(--ink);
  overflow: auto;
}
.planbox::backdrop { background: rgba(34,54,73,.72); backdrop-filter: blur(3px); }
.planbox[open] { animation: planbox-in .4s cubic-bezier(.2,.8,.2,1); }
@keyframes planbox-in { from { opacity: 0; transform: translateY(18px); } }
.planbox__close {
  position: absolute; top: .8rem; right: .8rem;
  background: none; border: none; cursor: pointer; color: var(--ink);
  padding: .5rem; z-index: 1;
}
.planbox__close:hover { color: var(--terra); }
.planbox__body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.planbox__img {
  width: 100%;
  height: min(70svh, 620px);
  object-fit: contain;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
}
.planbox__info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.6rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.planbox__name { font-weight: 300; letter-spacing: .16em; font-size: clamp(1rem, 1.8vw, 1.4rem); }
.planbox__facts { border-top: 1px solid var(--line); }
.planbox__facts div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.planbox__facts dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.planbox__facts dd { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; }
.planbox .pill { align-self: flex-start; }

/* ============================================================
   KEY FACTS — a hairline strip under the hero
   ============================================================ */
.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;
}
.facts { border-bottom: 1px solid var(--line); background: var(--cream); }
.facts__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.facts__item {
  padding: clamp(1.2rem, 2.6vw, 2rem) clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column-reverse;   /* value above its label */
  gap: .35rem;
  text-align: center;
}
.facts__item:last-child { border-right: none; }
.facts dt {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.facts dd {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
}

/* ============================================================
   AVAILABILITY & PRICE LIST
   ============================================================ */
.avail {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 5rem) 0;
}
.avail__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .6rem 2rem; margin-bottom: 1.8rem;
}
.avail__head .dual { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.avail__count { color: var(--ink-2); font-size: .95rem; }
.avail__count b { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.35em; color: var(--ink); }

.avail__filters {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seg__btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); padding: .55rem 1.1rem;
  transition: background .2s, color .2s;
}
.seg__btn + .seg__btn { border-left: 1px solid var(--ink); }
.seg__btn.is-active { background: var(--ink); color: var(--cream); }
.seg__btn:focus-visible { outline: 2px solid var(--terra); outline-offset: -4px; }
.avail__floor, .avail__only, .avail__sort {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.avail__sort { display: none; }
.avail__floor select, .avail__sort select {
  font-family: var(--font-sans); font-size: .9rem; color: var(--ink);
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23223649' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .7rem center;
  border: 1px solid var(--line); border-radius: 4px;
  padding: .45rem 2rem .45rem .7rem; appearance: none; cursor: pointer;
}
.avail__only { cursor: pointer; }
.avail__only input { width: 16px; height: 16px; accent-color: var(--ink); }
.avail__only, .avail__floor { margin-left: auto; }
.avail__only { margin-left: 0; }

.avail__wrap { overflow-x: auto; }
.avail__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.avail__table th {
  text-align: left; font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.avail__table th button {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2); padding: 1rem .8rem .8rem;
}
.avail__table th button::after { content: ""; display: inline-block; width: .8em; }
.avail__table th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--ink); }
.avail__table th[aria-sort="descending"] button::after { content: " ↓"; color: var(--ink); }
.avail__table th button:hover, .avail__table th button:focus-visible { color: var(--ink); }
.avail__table td {
  padding: .85rem .8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.avail__table tbody tr { cursor: pointer; transition: background .2s; }
.avail__table tbody tr:hover { background: var(--cream-2); }
.avail__table tr.is-sold td { color: var(--ink-2); }
.avail__price { font-variant-numeric: tabular-nums; }
.avail__open {
  background: none; border: none; cursor: pointer; color: var(--ink-2); padding: .1rem;
  display: inline-flex; transition: color .2s;
}
.avail__open:hover, .avail__open:focus-visible { color: var(--terra); }
.badge {
  display: inline-block; padding: .2rem .65rem; border-radius: 999px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor;
}
.badge--available { color: #2f6b4f; }
.badge--reserved  { color: #8a5a12; }
.badge--sold      { color: var(--ink-2); opacity: .8; }
.avail__empty { padding: 2rem 0; text-align: center; color: var(--ink-2); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; }
.avail__note { margin-top: 1rem; font-size: .8rem; color: var(--ink-2); }
.avail__more {
  display: block; margin: 1.4rem auto 0;
  background: none; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer;
  font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); padding: .65rem 1.6rem; transition: background .2s, color .2s;
}
.avail__more:hover, .avail__more:focus-visible { background: var(--ink); color: var(--cream); }
.avail__more[hidden] { display: none; }

/* ============================================================
   FLOOR PICKER — aerial view with clickable floors
   ============================================================ */
.pick {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.8rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pick__view { position: relative; margin: 0; background: var(--cream-2); }
.pick__svg { display: block; width: 100%; height: auto; aspect-ratio: 1160 / 930; }
.fl {
  fill: rgba(243,236,226,0);
  stroke: rgba(243,236,226,.55);
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill .25s, stroke .25s;
  outline: none;
}
.fl.is-hover, .fl:focus-visible { fill: rgba(168,70,31,.32); stroke: #f3ece2; stroke-width: 2.5; }
.fl.is-selected { fill: rgba(34,54,73,.5); stroke: #f3ece2; stroke-width: 3; }
.fl.is-selected.is-hover { fill: rgba(34,54,73,.6); }
.pick__tip {
  position: absolute; z-index: 2; pointer-events: none;
  transform: translate(14px, -50%);
  background: var(--ink); color: var(--cream);
  padding: .5rem .75rem; border-radius: 4px;
  font-size: .8rem; line-height: 1.35; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(20,24,40,.25);
}
.pick__tip b { display: block; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; opacity: .75; margin-bottom: .1rem; }
.pick__panel { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.pick__eyebrow { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--terra); margin-bottom: .8rem; }
.pick__btns { display: flex; gap: .4rem; margin-bottom: 1.3rem; }
.pick__btn {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--ink); background: none; color: var(--ink);
  font-family: var(--font-sans); font-size: .9rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.pick__btn:hover, .pick__btn:focus-visible { background: var(--cream-2); }
.pick__btn.is-selected { background: var(--ink); color: var(--cream); }
.pick__hint { color: var(--ink-2); line-height: 1.6; font-size: .95rem; max-width: 26em; }
.pick__title { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.pick__sum { color: var(--ink-2); font-size: .92rem; margin: .35rem 0 1rem; line-height: 1.5; }
.pick__sum em { font-family: var(--font-serif); color: var(--terra); }
.pick__list { list-style: none; border-top: 1px solid var(--line); }
.pick__unit {
  width: 100%;
  display: grid; grid-template-columns: 3.2rem 1fr auto auto; gap: .8rem; align-items: center;
  padding: .7rem .2rem; border: none; border-bottom: 1px solid var(--line);
  background: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: .9rem; color: var(--ink);
  transition: background .2s;
}
.pick__unit:hover, .pick__unit:focus-visible { background: var(--cream-2); }
.pick__unit span:nth-child(2) { color: var(--ink-2); }
.pick__price { font-variant-numeric: tabular-nums; }
.pick__unit.is-sold { color: var(--ink-2); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem); }
.gallery__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .6rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.gallery__head .dual { font-size: clamp(1.6rem, 3vw, 2.8rem); }
.gallery__head p { max-width: 28em; color: var(--ink-2); line-height: 1.55; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 24vw, 380px);
  gap: clamp(.6rem, 1.2vw, 1rem);
}
.gtile {
  position: relative; overflow: hidden;
  padding: 0; border: none; background: var(--line); cursor: zoom-in;
}
.gtile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.gtile:hover img, .gtile:focus-visible img { transform: scale(1.04); }
.gtile:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gtile--film { grid-column: span 2; }
.gtile--tall { grid-row: span 2; }
.gtile--wide { grid-column: span 3; }
.gtile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem .8rem;
  background: linear-gradient(to top, rgba(20,24,40,.55), rgba(20,24,40,0));
  color: var(--cream); text-align: left;
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem;
}
.gtile__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(243,236,226,.9); color: var(--ink);
  padding-left: 4px;
  transition: transform .3s;
}
.gtile--film:hover .gtile__play { transform: translate(-50%, -50%) scale(1.08); }

/* full-screen viewer */
.glb {
  width: 100vw; height: 100svh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: none;
  background: rgba(16,20,32,.96);
  color: var(--cream);
}
.glb::backdrop { background: rgba(16,20,32,.9); }
.glb[open] { display: grid; grid-template-rows: 1fr auto; animation: planbox-in .35s ease; }
.glb__stage { display: grid; place-items: center; padding: clamp(3.5rem, 6vw, 4.5rem) clamp(.5rem, 6vw, 6rem) 0; min-height: 0; }
.glb__stage img, .glb__stage video { max-width: 100%; max-height: 100%; object-fit: contain; }
.glb__cap {
  text-align: center; padding: 1rem 1rem 1.4rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem;
}
.glb__count { font-family: var(--font-sans); font-style: normal; font-size: .75rem; letter-spacing: .2em; opacity: .7; margin-left: .8rem; }
.glb__btn {
  position: absolute; background: none; border: 1px solid rgba(243,236,226,.3); border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--cream); cursor: pointer; transition: border-color .2s, background .2s;
}
.glb__btn:hover, .glb__btn:focus-visible { border-color: var(--cream); background: rgba(243,236,226,.08); }
.glb__btn--prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.glb__btn--next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.glb__btn--close { right: clamp(.5rem, 2vw, 1.5rem); top: clamp(.5rem, 2vw, 1.2rem); }

/* ============================================================
   NEIGHBORHOOD MAP — Leaflet on OpenStreetMap tiles
   ============================================================ */
.nbmap {
  height: clamp(320px, 34vw, 460px);
  background: var(--cream-2);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  z-index: 0;                      /* keep Leaflet's panes under the header */
}
/* OSM's colourful style, drained to grey and warmed towards the site's cream */
.nbmap .leaflet-tile-pane { filter: grayscale(1) sepia(.28) brightness(1.06) contrast(.88); }
.nbmap .leaflet-container, .nbmap.leaflet-container { background: var(--cream-2); font-family: var(--font-sans); }
.nbmap .leaflet-control-zoom { border: 1px solid var(--line); box-shadow: none; }
.nbmap .leaflet-control-zoom a { background: var(--cream); color: var(--ink); border-color: var(--line); }
.nbmap .leaflet-control-attribution { background: rgba(243,236,226,.85); color: var(--ink-2); font-size: 10px; }
.nbmap .leaflet-control-attribution a { color: var(--ink-2); }
.map-poi span, .map-luma span {
  display: grid; place-items: center;
  width: 100%; height: 100%; border-radius: 50%;
  font-size: 12px; line-height: 1;
}
.map-poi span {
  background: var(--cream); color: var(--ink); border: 1.2px solid var(--ink);
  transition: background .25s, color .25s, transform .25s;
}
.map-poi.is-active span { background: var(--terra); border-color: var(--terra); color: var(--cream); transform: scale(1.18); }
.map-luma span { background: var(--ink); color: var(--cream); font-size: 15px; box-shadow: 0 0 0 5px rgba(34,54,73,.15); }
.map-luma b {
  position: absolute; left: 50%; top: 42px; transform: translateX(-50%);
  font-weight: 400; font-size: 10px; letter-spacing: .3em; color: var(--ink);
  background: rgba(243,236,226,.85); padding: 1px 4px 1px 7px;
}
.nb__no {
  order: 0;
  flex: none;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  font-size: .72rem; letter-spacing: 0;
}
.nb__item.is-active .nb__no { background: var(--terra); border-color: var(--terra); color: var(--cream); }

/* planbox: unit line and status colours */
.planbox__unit { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--terra); margin-bottom: -.8rem; }
.planbox__facts dd.is-available { color: #2f6b4f; }
.planbox__facts dd.is-reserved { color: #8a5a12; }

/* ============================================================
   FINISHES & FITTINGS — the one dark band mid-page
   ============================================================ */
.specs {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}
.specs__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.specs .dual { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.8rem); }
.specs__head p { color: rgba(243,236,226,.78); line-height: 1.6; max-width: 30em; }
.specs__grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(243,236,226,.18);
}
.spec {
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(243,236,226,.18);
}
.spec:not(:nth-child(3n+1)) { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid rgba(243,236,226,.18); }
.spec__icon { color: var(--ochre); margin-bottom: 1.1rem; }
.spec__title {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: .5rem;
}
.spec__body { color: rgba(243,236,226,.78); line-height: 1.6; font-size: .95rem; max-width: 26em; }
.spec:nth-child(2) { transition-delay: .06s; } .spec:nth-child(3) { transition-delay: .12s; }
.spec:nth-child(5) { transition-delay: .06s; } .spec:nth-child(6) { transition-delay: .12s; }

/* ============================================================
   BUILDING PROGRESS
   ============================================================ */
.progress { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.progress__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .6rem 2rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.progress .dual { font-size: clamp(1.6rem, 3vw, 2.8rem); }
.progress__now { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--terra); }
.steps {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(var(--of), 1fr);
}
/* track and the filled part up to the current stage (halfway into the next) */
.steps::before, .steps::after {
  content: ""; position: absolute; top: 7px; left: 0; height: 1px;
}
.steps::before { right: 0; background: var(--line); }
.steps::after {
  width: calc((var(--done) - .5) / var(--of) * 100% + 50% / var(--of));
  background: var(--ink);
}
.step { position: relative; padding-right: 1rem; }
.step__dot {
  display: block; width: 15px; height: 15px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--ink-2);
  position: relative; z-index: 1; margin-bottom: 1.1rem;
}
.step.is-done .step__dot { background: var(--ink); border-color: var(--ink); }
.step.is-next .step__dot { border-color: var(--terra); box-shadow: 0 0 0 5px rgba(168,70,31,.15); }
.step__when { display: block; font-size: .72rem; letter-spacing: .2em; color: var(--ink-2); margin-bottom: .3rem; }
.step__what { display: block; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); }

/* ============================================================
   DOWNLOADS
   ============================================================ */
.downloads {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 0 0 2.6rem;
  text-align: left;
}
.dl {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  column-gap: 1rem; align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line); border-radius: 4px; background: var(--cream);
  transition: border-color .2s, background .2s;
}
.dl:hover, .dl:focus-visible { border-color: var(--ink); }
.dl__kind {
  grid-row: span 2; font-size: .62rem; letter-spacing: .1em; font-weight: 400;
  border: 1px solid var(--ink-2); border-radius: 3px; padding: .3rem .4rem; color: var(--ink-2);
}
.dl__name { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.2; }
.dl__meta { grid-column: 2; font-size: .78rem; color: var(--ink-2); }
.dl__icon { grid-column: 3; grid-row: 1 / span 2; color: var(--ink); }
.avail__pdf { margin-left: .6rem; color: var(--ink); border-bottom: 1px solid currentColor; }
.avail__pdf:hover { color: var(--terra); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stack img, .nb__time, .gtile img, .fl { transition: none; }
  .glb[open] { animation: none; }
  .planbox[open] { animation: none; }
  html { scroll-behavior: auto; }
  .hero__scroll { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .pick { grid-template-columns: 1fr; }
  .specs__grid { grid-template-columns: 1fr 1fr; }
  .spec:not(:nth-child(3n+1)) { padding-left: 0; border-left: none; }
  .spec:nth-child(2n) { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid rgba(243,236,226,.18); }
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .facts__item:nth-child(3) { border-right: none; }
  .facts__item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(180px, 34vw, 320px); }
  .gtile--film, .gtile--wide { grid-column: span 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  /* suites collage stacks on phones */
  .suites {
    grid-template-columns: 1fr; gap: 1.5rem;
    height: auto; grid-template-rows: none; padding: 1.5rem 0 0 0;
  }
  .suites__left { gap: 1.5rem; padding-left: 1.25rem; padding-right: 1.25rem; }
  .suites__small { width: min(78%, 320px); max-height: none; justify-self: center; }
  .suites__big { height: auto; aspect-ratio: 4 / 5; margin-top: 0; }
  .suites__text { max-width: none; margin-top: .5rem; }

  /* design section stacks: image above, panel below */
  .design { grid-template-columns: 1fr; min-height: 0; }
  .design__media { height: clamp(300px, 62vw, 460px); }
  .design__panel { padding: clamp(2rem, 8vw, 3rem) 1.25rem clamp(2.5rem, 9vw, 3.5rem); }
  .design__marker { width: clamp(36px, 10vw, 48px); top: 1.25rem; right: 1.25rem; }
  .design__inner { padding-right: 3.5rem; }

  .amenities__body { grid-template-columns: 1fr; }
  .planbox__body { grid-template-columns: 1fr; }
  .planbox__img { height: min(52svh, 420px); border-right: none; border-bottom: 1px solid var(--line); }

  .hero__labels { display: none; }
  .amenities__media { height: clamp(260px, 80vw, 420px); }
  .amenities__media img { object-position: 58% 75%; }

  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__item { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .facts__item:nth-child(-n+2) { border-top: none; }
  .facts__item:nth-child(2n) { border-right: none; }
  .facts__item:last-child { grid-column: span 2; border-right: none; }

  .specs__head { grid-template-columns: 1fr; }
  .specs__grid { grid-template-columns: 1fr; }
  .spec:nth-child(2n) { padding-left: 0; border-left: none; }
  /* progress turns vertical */
  .steps { grid-template-columns: 1fr; gap: 1.4rem; padding-left: 2rem; }
  .steps::before, .steps::after { top: 0; left: 7px; width: 1px; right: auto; }
  .steps::before { bottom: 0; height: auto; }
  .steps::after { height: calc((var(--done) - .5) / var(--of) * 100% + 50% / var(--of)); width: 1px; }
  .step__dot { position: absolute; left: -2rem; top: .15rem; margin: 0; }
  .downloads { grid-template-columns: 1fr; }
  .inquire__form { grid-template-columns: minmax(0, 1fr); }

  /* price list: each row becomes a small card */
  .avail__filters { gap: .8rem 1.2rem; }
  .avail__floor { margin-left: 0; }
  .avail__sort { display: inline-flex; }
  .pick__unit { grid-template-columns: 2.8rem 1fr auto; }
  .pick__unit .badge { display: none; }   /* the row colour already says sold */
  .pick__btn { width: 2.6rem; height: 2.6rem; }
  .avail__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .avail__table, .avail__table tbody { display: block; }
  /* two lines: unit · type · status, then floor · area · price */
  .avail__table tr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "unit type status" "floor area price";
    gap: .25rem .9rem; align-items: baseline;
    padding: .85rem .2rem; border-bottom: 1px solid var(--line);
  }
  .avail__table td { border: none; padding: 0; white-space: nowrap; font-size: .92rem; }
  .avail__table td:nth-child(1) { grid-area: unit; }
  .avail__table td:nth-child(2) { grid-area: floor; color: var(--ink-2); font-size: .82rem; }
  .avail__table td:nth-child(2)::before { content: attr(data-label) " "; }
  .avail__table td:nth-child(3) { grid-area: type; }
  .avail__table td:nth-child(4) { grid-area: area; color: var(--ink-2); font-size: .82rem; }
  .avail__table td:nth-child(5) { display: none; }   /* loggia: in the unit dialog */
  .avail__table td:nth-child(6) { grid-area: price; text-align: right; }
  .avail__table td:nth-child(7) { grid-area: status; text-align: right; }
  .avail__table td:nth-child(8) { display: none; }   /* the whole row opens the plan */

  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 62vw; }
  .gtile--film, .gtile--wide { grid-column: auto; }
  .gtile--tall { grid-row: span 1; }

  /* plans become a swipeable row on phones */
  .plans {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 360px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .plan { scroll-snap-align: center; }
  .plan__img { height: clamp(260px, 50vh, 420px); }

  /* reference keeps only INQUIRE + the globe on phones */
  .header__link + .header__link { display: none; }
  .header__inner { padding-inline: .9rem; }
  .brand { font-size: 1.25rem; letter-spacing: .22em; padding-left: .22em; }
  .header__right { gap: .6rem; }
  .header__link { font-size: .66rem; letter-spacing: .1em; }
  .lang { gap: .25rem; }
  .lang__btn { font-size: .66rem; letter-spacing: .1em; padding: .15rem; }
  .lang__globe { width: 15px; height: 15px; }
  .burger span { width: 22px; }
}

@media (max-width: 400px) {
  .brand { font-size: 1.1rem; letter-spacing: .16em; padding-left: .16em; }
  .header__link { font-size: .6rem; }
  .lang__btn { font-size: .6rem; }
  .header__right { gap: .45rem; }

  /* phones: no room to part the halves — stack the wordmark above the content */
  .wordmark { height: auto; }
  .wordmark__sticky {
    position: static; height: auto; display: block;
    padding: clamp(2.5rem, 9vw, 4rem) 1rem clamp(3rem, 10vw, 4.5rem);
    text-align: center;
  }
  .wordmark__half {
    position: static; display: inline-block;
    transform: none;
    font-size: clamp(2.8rem, 17vw, 5rem);
  }
  .wordmark__center {
    width: 100%; margin: clamp(1.8rem, 6vw, 2.5rem) auto 0;
    padding-inline: .5rem;
    opacity: 1; transform: none;
  }
  .wordmark__center::before,
  .wordmark__center::after { display: none; }
  .wordmark__art { width: clamp(150px, 40vw, 220px); }
  .nb { grid-template-columns: 1fr; gap: 1.5rem; }
  .nb__item { text-align: left; }
  .nb__name { order: 1; }
  .nb__time { order: 2; }
  .footer__inner { grid-template-columns: 1fr; }
  .stack img { border-width: 4px; width: 40%; }
}
