/* ═══════════════════════════════════════════════════════════════
   2999 RUM ROW — WHERE ARCHITECTURE MEETS THE WATER
   Near-black #0B0B0A · Warm ivory #F1EEE7 · Stone #B8B0A4 · Bronze #9A8162
   ═══════════════════════════════════════════════════════════════ */

:root {
  --black:      #0B0B0A;
  --black-soft: #12110F;
  --ivory:      #F1EEE7;
  --stone:      #B8B0A4;
  --bronze:     #9A8162;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(6rem, 14vh, 12rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { background: var(--black); }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
body.is-loading { overflow: hidden; height: 100vh; }

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { overflow: hidden; }

::selection { background: var(--bronze); color: var(--black); }

.container {
  width: min(92vw, 1440px);
  margin-inline: auto;
}

.section-pad { padding-block: var(--pad); }
.section-pad--ivory {
  padding-block: var(--pad);
  background: var(--ivory);
  color: var(--black);
}

/* ── Type primitives ─────────────────────────────────────────── */

.label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.label--dark { color: #8a8172; }

.serif-i { font-style: italic; font-weight: 400; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 0.98; letter-spacing: -0.01em; }

.section-title, .statement__title, .arch__title, .cove__title, .indo__title,
.gather__title, .interiors__title, .private__title, .pr__title, .gallery__title {
  font-size: clamp(3.5rem, 8vw, 8rem);
}

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span, .reveal-line:not(:has(> span)) { will-change: transform; }

/* ═══════════════ PRELOADER ═══════════════ */

.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.4rem;
  transition: transform 1.2s var(--ease);
}
.preloader.is-done { transform: translateY(-100%); }

.preloader__mark {
  font-family: var(--serif);
  text-align: center;
  line-height: 1;
}
.preloader__num   { display: block; font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: 0.06em; }
.preloader__name  { display: block; font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: 0.55em; text-indent: 0.55em; color: var(--stone); margin-top: 0.9rem; }

.preloader__line {
  width: min(200px, 40vw);
  height: 1px;
  background: rgba(241, 238, 231, 0.16);
  overflow: hidden;
}
.preloader__line-fill {
  display: block; height: 100%; width: 0%;
  background: var(--stone);
}

/* ═══════════════ CURSOR ═══════════════ */

.cursor {
  position: fixed; top: 0; left: 0; z-index: 190;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(241, 238, 231, 0.55);
  display: none;
  align-items: center; justify-content: center;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.35);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .45s var(--ease), background-color .45s var(--ease);
  mix-blend-mode: difference;
}
.cursor.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-active.is-small { transform: translate(-50%, -50%) scale(0.32); background: rgba(241,238,231,.92); }
.cursor.is-active.is-small .cursor__label { color: var(--black); mix-blend-mode: normal; }
.cursor__label {
  font-size: 10px; letter-spacing: 0.28em; text-indent: 0.28em;
  color: var(--ivory);
}
@media (pointer: fine) { .cursor { display: flex; } }

/* ═══════════════ NAVIGATION ═══════════════ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.4rem, 4vw, 3.4rem);
  transition: background-color .6s var(--ease), backdrop-filter .6s var(--ease), padding .6s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11, 11, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 1.05rem;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--ivory);
  text-decoration: none;
}
.nav__links {
  display: flex; gap: clamp(1.4rem, 3vw, 3rem);
  font-size: 10.5px; letter-spacing: 0.24em;
}
.nav__links a {
  color: var(--stone); text-decoration: none;
  position: relative;
  padding-block: 0.3rem;
  transition: color .4s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__inquire { color: var(--ivory); }

.nav__burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 30px;
  position: relative; z-index: 130;
}
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 1px;
  background: var(--ivory);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 18px; }
body.menu-open .nav__burger span:nth-child(1) { top: 15px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 15px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.2rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
body.menu-open .menu { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__inner {
  display: flex; flex-direction: column; gap: 1.6rem;
  text-align: center;
}
.menu__inner a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  color: var(--ivory); text-decoration: none;
  letter-spacing: 0.04em;
}
.menu__foot {
  position: absolute; bottom: 2.4rem;
  font-size: 10px; letter-spacing: 0.3em; color: var(--stone);
}

/* ═══════════════ 01 · HERO — THE PROPERTY FILM ═══════════════ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}
.hero__media, .hero__video { position: absolute; inset: 0; }
.hero__video {
  object-fit: cover;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,11,10,.34) 0%, rgba(11,11,10,0) 26%),
    linear-gradient(to top, rgba(11,11,10,.42) 0%, rgba(11,11,10,0) 30%);
  pointer-events: none;
}
.hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 1s var(--ease);
}
.hero.is-playing .hero__poster { opacity: 0; }
.hero__dim {
  position: absolute; inset: 0;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
}

/* — minimal interface: 95% film / 5% UI — */

.hero-fade { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero.is-ready .hero__ident,
.hero.is-ready .hero__cue { opacity: 1; }

.hero__ident {
  position: absolute; left: clamp(1.4rem, 4vw, 3.4rem); bottom: 2.2rem;
  z-index: 3;
  display: flex; flex-direction: column; gap: 0.55rem;
  text-shadow: 0 1px 24px rgba(11,11,10,.45);
}
.hero__ident-name {
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--ivory);
  font-weight: 400;
}
.hero__ident-place {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--stone);
}

.hero__cue {
  position: absolute; right: clamp(1.4rem, 4vw, 3.4rem); bottom: 2.2rem;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.95rem;
  font-size: 9.5px; letter-spacing: 0.32em; text-indent: 0.32em;
  color: var(--stone);
}
.hero__cue-line {
  width: 1px; height: 34px;
  background: rgba(241, 238, 231, 0.28);
  position: relative; overflow: hidden; display: block;
}
.hero__cue-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ivory);
  animation: cueDrift 3.4s var(--ease) infinite;
  opacity: 0;
}
.hero.is-ready .hero__cue-line::after { opacity: 1; }
@keyframes cueDrift {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* the one line of copy — only over the film's final composition */
.hero__line {
  position: absolute; left: 50%; bottom: clamp(5.5rem, 16vh, 9rem);
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-shadow: 0 1px 30px rgba(11,11,10,.5);
  pointer-events: none;
}
.hero__line em {
  display: block;
  font-style: italic;
  color: var(--ivory);
}
.hero__line.is-on { opacity: 1 !important; transition: opacity 1.8s var(--ease); }

/* ═══════════════ 02 · STATEMENT ═══════════════ */

.statement { background: var(--black); }
.statement__title { max-width: 12ch; }
.statement__copy {
  max-width: 56ch;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.85;
}

/* ═══════════════ 03 · NUMBERS ═══════════════ */

.numbers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.4rem) clamp(1rem, 2vw, 2rem);
  align-items: center;
  padding-block: var(--pad);
  background: var(--black);
}
.numbers__stat {
  grid-column: span 4;
  text-align: center;
  padding-block: clamp(2.4rem, 5vw, 4rem);
}
.numbers__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 9vw, 9.5rem);
  line-height: 1;
  color: var(--ivory);
}
.numbers__key {
  display: block;
  margin-top: 1.1rem;
  font-size: 10.5px; letter-spacing: 0.34em; text-indent: 0.34em;
  color: var(--stone);
}
.numbers__figure {
  grid-column: span 12;
  height: clamp(46vh, 72vh, 78vh);
}
.numbers__figure img { transform: scale(1.12); will-change: transform; }

/* ═══════════════ 04 · ARCHITECTURE ═══════════════ */

.architecture { background: var(--black); padding-bottom: 0; }
.arch__title { max-width: 11ch; }

.arch__pin {
  position: relative;
  height: 100svh;
  min-height: 560px;
  margin-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.arch__media { position: absolute; inset: 0; }
.arch__media img { transform: scale(1.14); will-change: transform; }
.arch__pin::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,10,.66), rgba(11,11,10,.06) 55%);
}
.arch__text {
  position: relative; z-index: 2;
  width: min(92vw, 1440px);
  margin-inline: auto;
  padding-bottom: clamp(2.6rem, 6vh, 4.6rem);
}
.arch__words p {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.18;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(28px);
}
.arch__words p.is-on { opacity: 1; transform: translateY(0); transition: opacity .9s var(--ease), transform .9s var(--ease); }

.arch__credits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.credit__key {
  display: block;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--bronze);
  margin-bottom: 0.8rem;
}
.credit__val {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--ivory);
}

/* ═══════════════ 05 · TREASURE COVE ═══════════════ */

.cove {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.cove__media, .cove__video { position: absolute; inset: 0; }
.cove__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,11,10,.58), rgba(11,11,10,.12) 55%, rgba(11,11,10,.4));
}
.cove__content {
  position: relative; z-index: 2;
  padding-block: var(--pad);
}
.cove__title { max-width: 12ch; }
.cove__words {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: clamp(1.2rem, 2.6vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vw, 4rem);
}
.cove__words li {
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ivory);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(154, 129, 98, 0.55);
}

/* ═══════════════ 06 · INDOOR / OUTDOOR ═══════════════ */

.indo { background: var(--black); }
.indo__title { max-width: 13ch; }
.indo__flow {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--bronze);
}
.indo__media {
  position: relative;
  height: clamp(60vh, 86vh, 92vh);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.indo__video { transform: scale(1.08); will-change: transform; }
.indo__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.4vw, 2.4rem);
  padding-block: 1.6rem;
  font-size: 10.5px; letter-spacing: 0.26em;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(11,11,10,.55), transparent);
}

/* ═══════════════ 07 · GATHERING (IVORY) ═══════════════ */

.gather { position: relative; z-index: 1; }
.gather__title { max-width: 15ch; }
.gather__editorial {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.gather__lead { height: clamp(56vh, 78vh, 84vh); }
.gather__lead img { transform: scale(1.1); will-change: transform; }
.gather__list p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.55;
  color: #26231e;
  border-bottom: 1px solid rgba(11,11,10,.14);
  padding-block: 1.1rem;
}
.gather__list p:last-child { border-bottom: 0; }

/* ═══════════════ 08 · INTERIORS ═══════════════ */

.interiors { background: var(--black); }
.interiors__title { max-width: 13ch; }
.interiors__sequence {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  padding-inline: clamp(1rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.interiors__wide { grid-column: 2 / span 10; height: clamp(54vh, 80vh, 86vh); }
.interiors__pair {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  align-items: start;
  margin-top: clamp(1.2rem, 2.4vw, 2.2rem);
}
.interiors__tall   { height: clamp(48vh, 68vh, 74vh); }
.interiors__narrow { height: clamp(30vh, 44vh, 50vh); margin-top: clamp(2rem, 8vh, 6rem); }
.interiors__sequence figure img { transform: scale(1.1); will-change: transform; }

/* ═══════════════ 09 · PRIVATE FLOORS ═══════════════ */

.private { background: var(--black-soft); }
.private__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.private__title { max-width: 10ch; }
.private__list {
  list-style: none;
  margin-top: clamp(1rem, 2vw, 2rem);
}
.private__list li {
  overflow: hidden;
}
.private__list li span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.3;
  color: var(--stone);
  padding-block: clamp(1.2rem, 2.6vw, 2rem);
  border-bottom: 1px solid rgba(184, 176, 164, 0.18);
  transform: translateY(110%);
}
.private__list li.is-on span { transform: translateY(0); transition: transform 1s var(--ease); }

/* ═══════════════ 12 · RETURN TO THE WATER ═══════════════ */

.return {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.return__media { position: absolute; inset: 0; }
.return__media img { transform: scale(1.14); will-change: transform; }
.return__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,10,.68), rgba(11,11,10,.08) 60%);
}
.return__content {
  position: relative; z-index: 2;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}
.return__title { font-size: clamp(3rem, 7vw, 7rem); max-width: 13ch; }

/* ═══════════════ 13 · PORT ROYAL ═══════════════ */

.portroyal { background: var(--black); padding-bottom: 0; }
.pr__title { max-width: 12ch; }
.pr__copy {
  max-width: 46ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--stone);
  line-height: 1.85;
}
.pr__aerial {
  height: clamp(56vh, 82vh, 88vh);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.pr__aerial img { transform: scale(1.12); will-change: transform; }

/* ═══════════════ 14 · GALLERY ═══════════════ */

.gallery { background: var(--black); }
.gallery__title { max-width: 14ch; }
.gallery__flow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.g { cursor: pointer; outline: none; }
.g img { transform: scale(1.06); transition: transform 1.4s var(--ease); will-change: transform; }
.g:hover img, .g:focus-visible img { transform: scale(1.0); }
.g--pan     { grid-column: 2 / span 10; height: clamp(50vh, 74vh, 80vh); }
.g--wide    { grid-column: 1 / span 12; height: clamp(44vh, 62vh, 68vh); }
.g--mid     { grid-column: 3 / span 8;  height: clamp(40vh, 56vh, 62vh); }
.g--portrait{ grid-column: 2 / span 4;  height: clamp(46vh, 66vh, 72vh); }
.g--portrait + .g--wide { grid-column: 7 / span 6; height: clamp(36vh, 50vh, 56vh); align-self: end; }

/* ═══════════════ 15 · DETAILS ═══════════════ */

.details { background: var(--black); }
.details__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.details__title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
}
.details__sub {
  margin-top: 1.2rem;
  font-size: 10.5px; letter-spacing: 0.3em;
  color: var(--stone);
}
.details__price {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--bronze);
}
.details__list div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-block: 1.05rem;
  border-bottom: 1px solid rgba(184, 176, 164, 0.16);
}
.details__list dt {
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--stone);
}
.details__list dd {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--ivory);
}

/* ═══════════════ 16 · FINALE ═══════════════ */

.finale {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.finale__media, .finale__video { position: absolute; inset: 0; }
.finale__scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,11,10,.30), rgba(11,11,10,.66));
}
.finale__content {
  position: relative; z-index: 2;
  text-align: center;
  padding-inline: 1.4rem;
}
.finale__kicker {
  font-size: 11px; letter-spacing: 0.4em; text-indent: 0.4em;
  color: var(--stone);
  margin-bottom: clamp(1.6rem, 3vh, 2.4rem);
}
.finale__title { font-size: clamp(4.4rem, 11vw, 11rem); line-height: 0.96; }
.finale__sub {
  margin-top: clamp(1.6rem, 3vh, 2.4rem);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--ivory);
}
.finale__ctas {
  margin-top: clamp(2.6rem, 5vh, 4rem);
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 2.6rem;
}

.btn {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.28em; text-indent: 0.28em;
  text-decoration: none;
  padding: 1.05rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: color .55s var(--ease);
}
.btn--line {
  color: var(--ivory);
  border: 1px solid rgba(241, 238, 231, 0.5);
}
.btn--line::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ivory);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn--line:hover { color: var(--black); }
.btn--line:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--ghost { color: var(--stone); }
.btn--ghost:hover { color: var(--ivory); }

/* ═══════════════ FOOTER ═══════════════ */

.footer {
  background: var(--black);
  border-top: 1px solid rgba(184, 176, 164, 0.14);
  padding-block: 2.6rem;
}
.footer__inner {
  display: flex; flex-direction: column; gap: 0.9rem;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--stone);
  text-align: center;
}

/* ═══════════════ LIGHTBOX ═══════════════ */

.lightbox {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(8, 8, 7, 0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.lightbox__stage {
  width: min(92vw, 1500px);
  height: min(86vh, 1000px);
}
.lightbox__stage img {
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.lightbox.is-open .lightbox__stage img { opacity: 1; transform: scale(1); }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: 2.2rem;
  display: flex; justify-content: space-between;
  padding-inline: clamp(1.4rem, 5vw, 4rem);
  font-size: 10.5px; letter-spacing: 0.3em;
  color: var(--stone);
}
.lightbox__close {
  position: absolute; top: 2rem; right: clamp(1.4rem, 5vw, 4rem);
  background: none; border: 0; cursor: pointer;
  color: var(--ivory);
  font-size: 10.5px; letter-spacing: 0.3em;
  padding: 0.6rem;
  transition: color .4s var(--ease);
}
.lightbox__close:hover { color: var(--bronze); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer;
  color: var(--stone);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  padding: 1.6rem 1.2rem;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.lightbox__nav:hover { color: var(--ivory); }
.lightbox__nav--prev { left: clamp(0.4rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.4rem, 2vw, 2rem); }

/* ═══════════════ REVEALS (JS-driven, base states) ═══════════════ */

[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-reveal].is-on {
  opacity: 1; transform: translateY(0);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
[data-stat] { opacity: 0; transform: translateY(44px); }
[data-stat].is-on {
  opacity: 1; transform: translateY(0);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 1024px) {
  .numbers__stat { grid-column: span 6; }
  .private__inner { grid-template-columns: 1fr; }
  .details__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }

  .numbers__stat { grid-column: span 12; padding-block: 2rem; }
  .numbers__figure { grid-column: span 12; height: 54vh; }

  .arch__pin { height: 88svh; }
  .arch__credits { grid-template-columns: 1fr; gap: 2.2rem; }

  .gather__editorial { grid-template-columns: 1fr; }
  .gather__lead { height: 62vh; }

  .interiors__wide { grid-column: 1 / span 12; height: 58vh; }
  .interiors__pair { grid-column: 1 / span 12; grid-template-columns: 1fr; }
  .interiors__narrow { margin-top: 0; }

  .g--pan, .g--wide, .g--mid, .g--portrait,
  .g--portrait + .g--wide { grid-column: 1 / span 12; height: 58vh; }

  .indo__media { height: 64vh; }
  .indo__caption { gap: 0.9rem 1.6rem; }

  .hero__ident { left: 1.3rem; bottom: 1.8rem; gap: 0.45rem; }
  .hero__ident-name { font-size: 11.5px; letter-spacing: 0.28em; }
  .hero__ident-place { font-size: 9px; letter-spacing: 0.26em; }
  .hero__cue { right: 1.3rem; bottom: 1.8rem; gap: 0.75rem; }
  .hero__cue-line { height: 26px; }
  .hero__line { bottom: 7rem; font-size: 1.15rem; }

  .lightbox__nav--prev { left: 0.2rem; }
  .lightbox__nav--next { right: 0.2rem; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal], [data-stat] { opacity: 1; transform: none; }
  .hero-fade { opacity: 1; }
  .hero__cue-line::after { display: none; }
  .hero__line { display: none; }
  .arch__words p, .private__list li span { opacity: 1; transform: none; }
}
