/* The Luxury Residency, one-page marketing site.
   Signature: the stacked boxes of the logo (THE / LUXURY / RESIDENCY) return as frames,
   a pyramid of three doors, a five-floor method and a lift panel that tracks the floors. */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 400 600;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Grounds */
  --mist: #F2F4F1;
  --paper: #FBFBF9;
  --emerald-950: #04201A;
  --emerald-900: #072B22;
  --emerald-800: #0B3A2E;
  --emerald-700: #0F4C3C;
  --emerald-600: #146150;
  /* Inks */
  --ink: #0D1714;
  --ink-soft: #3A4743;
  --ink-mute: #56635E;
  --jade-200: #A9D1C1;
  --jade-100: #DCEBE4;
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.84);
  --on-dark-mute: rgba(255, 255, 255, 0.7);
  --error: #A1282C;
  /* Lines */
  --line: rgba(13, 23, 20, 0.2);
  --line-strong: #6B7672;
  --line-chip: #7A8581;
  --line-dark: rgba(255, 255, 255, 0.34);
  /* Type */
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* Rhythm */
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1240px;
  --section: clamp(96px, 12vw, 184px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
@media (min-width: 1180px) {
  :root { --edge: max(84px, calc((100vw - var(--max)) / 2)); }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--emerald-600); outline-offset: 3px; }
[data-theme="dark"] :focus-visible { outline-color: var(--jade-200); }
::selection { background: var(--emerald-700); color: #fff; }
main:focus { outline: none; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 1180px) { .wrap { width: min(var(--max), 100% - 2 * max(var(--gutter), 84px)); } }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--paper); color: var(--ink);
  font: 600 13px/1 var(--sans); text-decoration: none;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1 var(--sans); font-stretch: 118%;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow__num {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 26px; padding: 0 6px;
  border: 1px solid currentColor;
  letter-spacing: 0.08em;
  color: var(--emerald-700);
}
.eyebrow--light { color: var(--on-dark-soft); }
.eyebrow--light .eyebrow__num { color: var(--jade-200); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin-top: 26px;
}
.statement {
  font-family: var(--serif);
  font-size: clamp(56px, 10.4vw, 164px);
  line-height: 0.9;
  letter-spacing: -0.022em;
  margin-top: 30px;
  max-width: 11ch;
}
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.lead--light { color: var(--on-dark-soft); }
.body { color: var(--ink-soft); }

/* ---------- Buttons and links ---------- */
.btn {
  --h: 54px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h); padding: 0 1.9em;
  font: 500 12.5px/1.2 var(--sans); font-stretch: 116%;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  color: #fff;
  background: linear-gradient(118deg, #0D5442 0%, #13705A 58%, #16735B 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px -14px rgba(4, 32, 26, 0.65);
}
.btn--primary::after {
  content: ''; position: absolute; z-index: 0;
  top: -30%; bottom: -30%; left: 0; width: 34%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-140%) skewX(-18deg);
  animation: sheen 6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%, 58% { transform: translateX(-140%) skewX(-18deg); }
  100% { transform: translateX(420%) skewX(-18deg); }
}
.btn--ghost { color: inherit; border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
[data-theme="light"] .btn--ghost:hover { background: rgba(13, 23, 20, 0.05); }
.btn--sm { --h: 44px; padding: 0 1.4em; font-size: 11.5px; }
.btn--block { display: flex; width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 12px/1.3 var(--sans); font-stretch: 116%;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--emerald-700);
  padding: 6px 0;
}
.link::after {
  content: ''; width: 34px; height: 1px; background: currentColor;
  transition: width 0.5s var(--ease);
}
.link:hover::after { width: 54px; }
.link--light { color: var(--jade-100); }

/* ---------- Frames: the logo's boxes, reused ---------- */
.frame {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  --fc: var(--line);
}
.frame::before, .frame::after { content: ''; position: absolute; inset: 0; }
.frame::before {
  border-top: 1px solid var(--fc); border-bottom: 1px solid var(--fc);
  transform: scaleX(var(--fx, 1));
}
.frame::after {
  border-left: 1px solid var(--fc); border-right: 1px solid var(--fc);
  transform: scaleY(var(--fy, 1));
}
.frame--light { --fc: rgba(255, 255, 255, 0.62); }

.ticks {
  --t: 14px; --tc: var(--emerald-700);
  position: absolute; inset: -8px; z-index: 3; pointer-events: none;
  opacity: var(--fx, 1);
  background:
    linear-gradient(var(--tc) 0 0) top left / var(--t) 1px,
    linear-gradient(var(--tc) 0 0) top left / 1px var(--t),
    linear-gradient(var(--tc) 0 0) top right / var(--t) 1px,
    linear-gradient(var(--tc) 0 0) top right / 1px var(--t),
    linear-gradient(var(--tc) 0 0) bottom left / var(--t) 1px,
    linear-gradient(var(--tc) 0 0) bottom left / 1px var(--t),
    linear-gradient(var(--tc) 0 0) bottom right / var(--t) 1px,
    linear-gradient(var(--tc) 0 0) bottom right / 1px var(--t);
  background-repeat: no-repeat;
}
.ticks--dark { --tc: var(--jade-200); }

/* ---------- Logo ---------- */
.logo {
  --u: clamp(8.4px, 1.16vw, 15px);
  --lw: max(1px, calc(var(--u) * 0.1));
  display: flex; flex-direction: column; align-items: center;
  gap: calc(var(--u) * 1.05);
  font-family: var(--sans); font-weight: 500; line-height: 1;
  text-transform: uppercase; color: inherit;
}
.logo__box {
  --bx: 1; --by: 1;
  position: relative; display: grid; place-items: center; overflow: hidden;
}
.logo__box::before, .logo__box::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.logo__box::before {
  border-top: var(--lw) solid currentColor; border-bottom: var(--lw) solid currentColor;
  transform: scaleX(var(--bx));
}
.logo__box::after {
  border-left: var(--lw) solid currentColor; border-right: var(--lw) solid currentColor;
  transform: scaleY(var(--by));
}
.logo__word { display: block; }
.logo__box--1 {
  width: calc(var(--u) * 12.6); height: calc(var(--u) * 3.7);
  font-size: calc(var(--u) * 1.32); font-stretch: 125%; letter-spacing: 0.52em;
}
.logo__box--1 .logo__word { padding-left: 0.52em; }
.logo__box--2 {
  width: calc(var(--u) * 18.2); height: calc(var(--u) * 4.5);
  font-size: calc(var(--u) * 2); font-stretch: 125%; letter-spacing: 0.36em;
}
.logo__box--2 .logo__word { padding-left: 0.36em; }
.logo__box--3 {
  width: calc(var(--u) * 25.8); height: calc(var(--u) * 7);
  font-size: calc(var(--u) * 2.62); font-stretch: 112%; letter-spacing: 0.22em; font-weight: 500;
}
.logo__box--3 .logo__word { padding-left: 0.22em; }
.logo--sm { --u: 6.4px; align-items: flex-start; }

.endorse {
  font: 500 11px/1 var(--sans); font-stretch: 125%;
  letter-spacing: 0.44em; text-transform: uppercase;
  padding-left: 0.44em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
}
.is-scrolled[data-header-theme="dark"] .site-header {
  background: rgba(4, 32, 26, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
[data-header-theme="light"] .site-header {
  color: var(--ink);
  background: rgba(242, 244, 241, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand__mark { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.brand__mark i { display: block; border: 1px solid currentColor; }
.brand__mark i:nth-child(1) { width: 12px; height: 5px; }
.brand__mark i:nth-child(2) { width: 18px; height: 6px; }
.brand__mark i:nth-child(3) { width: 26px; height: 9px; }
.brand__name {
  font: 500 11.5px/1 var(--sans); font-stretch: 125%;
  letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap;
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__link { white-space: nowrap; margin-right: 14px; font: 500 11.5px/1 var(--sans); font-stretch: 118%; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: inherit; }
.site-header__link:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 760px) { .site-header__link { display: none; } }
.film-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 12px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 500 11px/1 var(--sans); font-stretch: 116%; letter-spacing: 0.18em; text-transform: uppercase;
}
.film-toggle__icon { position: relative; width: 10px; height: 12px; }
.film-toggle__icon::before, .film-toggle__icon::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor;
}
.film-toggle__icon::before { left: 0; }
.film-toggle__icon::after { right: 0; }
.film-toggle[aria-pressed="true"] .film-toggle__icon::before {
  width: 0; height: 0; background: none;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor;
}
.film-toggle[aria-pressed="true"] .film-toggle__icon::after { display: none; }
@media (max-width: 760px) {
  .brand__name { font-size: 10px; letter-spacing: 0.22em; }
  .site-header__cta { display: none; }
  .site-header__sell { --h: 38px; padding: 0 0.9em; letter-spacing: 0.1em; white-space: nowrap; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand__name { font-size: 9.5px; letter-spacing: 0.15em; }
  .site-header__sell { font-size: 10px; letter-spacing: 0.06em; padding: 0 0.75em; }
  .film-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Lift panel (floors) ---------- */
.lift {
  position: fixed; z-index: 55;
  right: clamp(14px, 1.8vw, 30px); top: 50%; transform: translateY(-50%);
  display: none; color: #fff;
  transition: color 0.5s var(--ease);
}
[data-lift-theme="light"] .lift { color: var(--ink); }
@media (min-width: 1180px) { .lift { display: block; } }
.lift__floors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lift a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  text-decoration: none; color: inherit;
  font: 500 10.5px/1 var(--sans); font-stretch: 116%; letter-spacing: 0.18em; text-transform: uppercase;
}
.lift__num {
  display: grid; place-items: center; width: 30px; height: 26px;
  border: 1px solid currentColor; opacity: 0.5;
  letter-spacing: 0.06em;
  transition: opacity 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.lift__name {
  opacity: 0; transform: translateX(6px); white-space: nowrap;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.lift a:hover .lift__num, .lift a:focus-visible .lift__num { opacity: 1; }
.lift a:hover .lift__name, .lift a:focus-visible .lift__name { opacity: 1; transform: none; }
.lift a[aria-current] .lift__num { opacity: 1; background: #fff; border-color: #fff; color: var(--emerald-950); }
[data-lift-theme="light"] .lift a[aria-current] .lift__num { background: var(--ink); border-color: var(--ink); color: var(--mist); }

/* ---------- G · Lobby ---------- */
.lobby {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; color: #fff; background: var(--emerald-950);
}
.lobby__film { position: absolute; inset: 0; transform-origin: 50% 40%; will-change: transform; background: var(--emerald-950); }
.lobby__film .film { position: absolute; inset: 0; }
.lobby__film .film--twin { opacity: 0; }
.film { width: 100%; height: 100%; object-fit: cover; }
.lobby__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 52% at 50% 46%, rgba(3, 24, 20, 0.6) 0%, rgba(3, 24, 20, 0.28) 55%, rgba(3, 24, 20, 0) 80%),
    linear-gradient(180deg, rgba(3, 24, 20, 0.58) 0%, rgba(3, 24, 20, 0.1) 26%, rgba(3, 24, 20, 0.16) 60%, rgba(3, 24, 20, 0.82) 100%);
}
.lobby__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 110px;
  text-align: center;
}
/* Lobby intro in CSS, so it never waits for scripts; text stays opaque (it is the LCP) */
@keyframes lr-draw-x { from { transform: scaleX(0); } }
@keyframes lr-draw-y { from { transform: scaleY(0); } }
@keyframes lr-rise { from { transform: translateY(125%); } }
@keyframes lr-lift { from { transform: translateY(14px); } }
.lobby .logo__box::before { animation: lr-draw-x 1.7s cubic-bezier(0.87, 0, 0.13, 1) both; }
.lobby .logo__box::after { animation: lr-draw-y 1.7s cubic-bezier(0.87, 0, 0.13, 1) both; }
.lobby .logo__box--2::before, .lobby .logo__box--2::after { animation-delay: 0.16s; }
.lobby .logo__box--3::before, .lobby .logo__box--3::after { animation-delay: 0.32s; }
.lobby .logo__word { animation: lr-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.lobby .logo__box--2 .logo__word { animation-delay: 0.64s; }
.lobby .logo__box--3 .logo__word { animation-delay: 0.78s; }
.lobby .endorse, .lobby__line, .lobby__ctas, .lobby__foot { animation: lr-lift 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }
.lobby__content { display: flex; flex-direction: column; align-items: center; }
.lobby .endorse { margin-top: calc(var(--u, 14px) * 1.9); color: var(--on-dark-soft); }
.lobby__line {
  max-width: 30ch; margin-top: clamp(22px, 3vw, 36px);
  font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.22;
  text-shadow: 0 1px 24px rgba(3, 24, 20, 0.6);
}
.lobby__ctas { margin-top: clamp(26px, 3.2vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lobby__ctas .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.lobby__foot {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; align-items: center;
  font: 500 11px/1 var(--sans); font-stretch: 116%; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--on-dark-soft);
}
.lobby__foot .film-toggle { color: inherit; margin-left: -12px; }
.lobby__cue { display: inline-flex; align-items: center; gap: 12px; }
.lobby__cue::after {
  content: ''; width: 1px; height: 28px; background: currentColor;
  transform-origin: 50% 100%; animation: rise 2.6s var(--ease) infinite;
}
@keyframes rise {
  0% { transform: scaleY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 760px) {
  .lobby__inner { align-items: flex-end; padding-bottom: 96px; }
  .lobby__scrim {
    background:
      linear-gradient(180deg, rgba(3, 24, 20, 0.55) 0%, rgba(3, 24, 20, 0.1) 22%, rgba(3, 24, 20, 0.4) 48%, rgba(3, 24, 20, 0.9) 100%);
  }
  .lobby__ctas { width: 100%; flex-direction: column; }
  .lobby__ctas .btn { width: 100%; }
  .lobby__foot { bottom: 20px; }
}

/* ---------- 01 · The Residency ---------- */
.residency { padding: var(--section) 0; background: var(--mist); }
.residency__grid {
  margin-top: clamp(56px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 120px); align-items: end;
}
.window { position: relative; margin: 0; }
.window__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--emerald-900); }
.window__frame .film { object-position: 72% 50%; }
.residency__text { display: grid; gap: 22px; max-width: 560px; }
.residency__text .lead { font-size: clamp(20px, 1.8vw, 25px); color: var(--ink); }
.are {
  margin: 14px 0 0; padding-top: 26px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.are dt {
  font: 500 11px/1 var(--sans); font-stretch: 118%; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--emerald-700);
}
.are dd { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.18; }
@media (max-width: 860px) {
  .residency__grid { grid-template-columns: 1fr; }
  .window { max-width: 420px; }
  .are { grid-template-columns: 1fr; }
}

/* ---------- 02 · Three ways in ---------- */
.ways { padding: var(--section) 0; background: var(--paper); overflow: hidden; }
.sec-head { max-width: 860px; margin: 0 auto clamp(64px, 8vw, 116px); text-align: center; }
.sec-head .eyebrow { justify-content: center; }
.sec-head .lead { max-width: 54ch; margin: 24px auto 0; }
.pyramid { display: flex; flex-direction: column; align-items: center; gap: clamp(30px, 4vw, 60px); }
.door {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 360px; background: var(--paper);
}
.door--1 { width: min(100%, 780px); }
.door--2 { width: min(100%, 980px); min-height: 400px; }
.door--3 { width: 100%; }
.door__media { position: relative; overflow: hidden; background: var(--jade-100); }
.door__media img { width: 100%; height: 100%; object-fit: cover; }
.door--2 .door__media { order: 2; }
.door__body {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: clamp(30px, 4vw, 58px);
}
.door__count {
  font: 500 11px/1 var(--sans); font-stretch: 116%; letter-spacing: 0.24em;
  color: var(--ink-mute);
}
.door__title {
  font: 600 13px/1.2 var(--sans); font-stretch: 125%;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--emerald-700);
}
.door__sub { font-family: var(--serif); font-size: clamp(32px, 3.3vw, 48px); line-height: 1.02; }
.door__text { color: var(--ink-soft); max-width: 46ch; }
.door .link { margin-top: 6px; align-self: flex-start; }

.door--otb {
  --bleed: 0%;
  min-height: clamp(480px, 50vw, 660px);
  grid-template-columns: 1fr; color: #fff; background: transparent; isolation: isolate;
}
.door--otb .door__media {
  position: absolute; z-index: -1;
  inset: calc(var(--bleed) * 1.5) calc(var(--bleed) * 0.9) var(--bleed) calc(var(--bleed) * 0.9);
  background: var(--emerald-900);
}
.door--otb .door__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 26, 21, 0.86) 0%, rgba(4, 26, 21, 0.5) 42%, rgba(4, 26, 21, 0) 74%);
}
.door--otb .door__body { max-width: 600px; align-self: end; padding: clamp(32px, 5vw, 76px); }
.door--otb .door__count { color: var(--on-dark-mute); }
.door--otb .door__title { color: var(--jade-200); }
.door--otb .door__text { color: var(--on-dark-soft); }
.ways__note {
  max-width: 34ch; margin: clamp(64px, 8vw, 110px) auto 0; text-align: center;
  font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25;
}
@media (max-width: 860px) {
  .door { grid-template-columns: 1fr; min-height: 0; }
  .door--1 { width: 88%; }
  .door--2 { width: 94%; min-height: 0; }
  .door--2 .door__media { order: 0; }
  .door__media { aspect-ratio: 16 / 10; }
  .door--otb { min-height: 560px; }
  .door--otb .door__media { aspect-ratio: auto; }
  .door--otb .door__media img { object-position: 70% 50%; }
  .door--otb .door__media::after {
    background: linear-gradient(0deg, rgba(4, 26, 21, 0.92) 0%, rgba(4, 26, 21, 0.62) 46%, rgba(4, 26, 21, 0.08) 100%);
  }
}
@media (max-width: 480px) {
  .door--1 { width: 100%; }
  .door--2 { width: 100%; }
}

/* ---------- 03 · Four addresses ---------- */
.addresses { background: var(--emerald-950); color: #fff; padding-top: var(--section); }
.addresses__head { padding-bottom: clamp(56px, 7vw, 100px); }
.addresses__head .lead { max-width: 46ch; margin-top: 24px; }
.stage { position: relative; }
.stage__index, .stage__count { display: none; }
.city {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: flex-end;
}
.city__film { position: absolute; inset: 0; z-index: -2; background: var(--emerald-900); }
.city__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(4, 26, 21, 0.94) 0%, rgba(4, 26, 21, 0.62) 38%, rgba(4, 26, 21, 0.12) 72%, rgba(4, 26, 21, 0.4) 100%);
}
.city--mumbai .film { object-position: 78% 50%; }
.city--middle-east .film { object-position: 32% 50%; }
.city__wrap { padding: 160px 0 clamp(64px, 9vh, 104px); }
.city__body { max-width: 600px; display: grid; gap: 16px; justify-items: start; }
.city__name { font-family: var(--serif); font-size: clamp(56px, 9vw, 124px); line-height: 0.94; letter-spacing: -0.015em; }
.city__line { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; color: var(--jade-100); }
.city__text { color: var(--on-dark-soft); max-width: 50ch; }
.city__homes {
  width: 100%; padding-top: 16px; border-top: 1px solid var(--line-dark);
  font: 500 12px/1.75 var(--sans); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-soft);
}
.city__homes span { display: block; color: var(--jade-200); letter-spacing: 0.24em; margin-bottom: 4px; }
.city .btn--ghost { margin-top: 10px; color: #fff; border-color: rgba(255, 255, 255, 0.7); }

/* Desktop: the four addresses share one pinned stage */
.stage--pinned { height: 100vh; overflow: hidden; }
.stage--pinned .city {
  position: absolute; inset: 0; min-height: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s;
}
.stage--pinned .city.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; }
.stage--pinned .city__shade {
  background:
    linear-gradient(90deg, rgba(4, 26, 21, 0.86) 0%, rgba(4, 26, 21, 0.5) 34%, rgba(4, 26, 21, 0.05) 62%),
    linear-gradient(0deg, rgba(4, 26, 21, 0.85) 0%, rgba(4, 26, 21, 0.25) 46%, rgba(4, 26, 21, 0) 70%);
}
.stage--pinned .city__wrap { display: flex; justify-content: flex-end; padding: 0 0 clamp(64px, 11vh, 120px); }
.stage--pinned .city__body {
  max-width: 480px; padding: 34px 38px 36px;
  background: rgba(4, 26, 21, 0.52);
  -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.stage--pinned .city__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stage--pinned .city__body > * { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.stage--pinned .city.is-active .city__body > * { opacity: 1; transform: none; }
.stage--pinned .city.is-active .city__body > *:nth-child(2) { transition-delay: 0.15s; }
.stage--pinned .city.is-active .city__body > *:nth-child(3) { transition-delay: 0.25s; }
.stage--pinned .city.is-active .city__body > *:nth-child(4) { transition-delay: 0.35s; }
.stage--pinned .city.is-active .city__body > *:nth-child(5) { transition-delay: 0.45s; }
.stage--pinned .stage__index {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  left: var(--edge);
  list-style: none; margin: 0; padding: 0;
}
.stage--pinned .stage__index li {
  font-family: var(--serif); font-size: clamp(40px, min(4.8vw, 8.6vh), 84px); line-height: 1.02; letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.24);
  transition: color 0.9s var(--ease), transform 0.9s var(--ease);
  transform-origin: 0 50%;
}
.stage--pinned .stage__index li.is-active { color: #fff; transform: translateX(14px); }
.stage--pinned .stage__count {
  display: block; position: absolute; z-index: 4;
  left: var(--edge); bottom: clamp(64px, 11vh, 120px);
  font: 500 11px/1 var(--sans); font-stretch: 116%; letter-spacing: 0.24em; color: var(--on-dark-soft);
}

/* ---------- 04 · The method ---------- */
.method { padding: var(--section) 0; background: var(--mist); }
.sec-head--split {
  max-width: none; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end;
}
.sec-head--split .eyebrow { justify-content: flex-start; }
.sec-head--split .lead { margin: 0; max-width: 40ch; }
.floors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.floor {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 96px minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(16px, 3vw, 44px); align-items: baseline;
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 40px);
  background: var(--paper);
}
.floor:nth-child(1) { width: 76%; }
.floor:nth-child(2) { width: 82%; }
.floor:nth-child(3) { width: 88%; }
.floor:nth-child(4) { width: 94%; }
.floor:nth-child(5) { width: 100%; }
.floor__num { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 62px); line-height: 0.85; color: var(--emerald-700); }
.floor__title {
  font: 600 13px/1.35 var(--sans); font-stretch: 120%;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.floor__text { color: var(--ink-soft); }
.method__note { margin-top: 40px; text-align: center; color: var(--ink-mute); font-size: 15px; }
@media (max-width: 860px) {
  .sec-head--split { grid-template-columns: 1fr; }
  .floor, .floor:nth-child(n) { width: 100%; grid-template-columns: 56px minmax(0, 1fr); }
  .floor__text { grid-column: 2; }
  .floor__num { font-size: 40px; }
}

/* ---------- 05 · Questions ---------- */
.faq { padding: var(--section) 0; background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.faq__head .lead { margin-top: 24px; max-width: 34ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 11px; height: 11px; margin-right: 4px;
  border-right: 1px solid var(--emerald-700); border-bottom: 1px solid var(--emerald-700);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.4s var(--ease);
}
.qa[open] summary::after { transform: translateY(3px) rotate(225deg); }
.qa__q { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.qa__a { padding: 0 0 26px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- PH · Private consultation ---------- */
.consult {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--section) 0; color: #fff; background: var(--emerald-950);
}
.consult__film { position: absolute; inset: 0; z-index: -2; }
.consult__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 32, 26, 0.9) 0%, rgba(4, 32, 26, 0.72) 42%, rgba(4, 32, 26, 0.92) 100%);
}
.consult__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 120px); align-items: start;
}
.consult__intro .lead { margin-top: 26px; max-width: 42ch; }
.assure { list-style: none; margin: 38px 0 0; padding: 0; display: grid; gap: 14px; color: var(--on-dark-soft); }
.assure li { position: relative; padding-left: 30px; }
.assure li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 16px; height: 1px; background: var(--jade-200); }
.contact { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.consult__card { position: relative; background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 54px); }
@media (max-width: 980px) { .consult__grid { grid-template-columns: 1fr; } }

/* Form */
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > label:not(.consent), .chips legend {
  font: 600 11px/1.3 var(--sans); font-stretch: 116%;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft);
}
.opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-mute); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0; outline: none; resize: vertical;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form input::placeholder { color: var(--ink-mute); }
.tel { display: flex; gap: 12px; align-items: end; }
.tel input { flex: 1; min-width: 0; }
/* the picker shows "🇮🇳 +91"; the real <select> sits invisibly on top, so the native list, search and a11y stay */
.cc {
  position: relative; flex: none; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 400 17px/1.4 var(--sans); color: var(--ink); padding: 10px 2px 10px 0;
  border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cc::after { content: ''; width: 6px; height: 6px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0.55; }
.cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.form input:focus, .form textarea:focus, .cc:focus-within { border-bottom-color: var(--emerald-600); box-shadow: 0 1px 0 var(--emerald-600); }
.field.is-invalid input { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field__err { font-size: 13px; color: var(--error); }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 12px; }
.chips__set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line-chip); font: 500 14px/1.2 var(--sans); color: var(--ink);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip:hover span { border-color: var(--emerald-700); }
.chip input:checked + span { background: var(--emerald-800); border-color: var(--emerald-800); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--emerald-600); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--emerald-700); }
.consent a { color: var(--emerald-700); }
.field.is-invalid .consent span { color: var(--error); }
.form__status { font-size: 14px; color: var(--ink-soft); min-height: 1.4em; }
.form .btn--primary[disabled] { opacity: 0.7; cursor: progress; }
.form__done { display: grid; gap: 14px; outline: none; }
.form__done-title { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.form__done p:last-child { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.foot {
  background: var(--emerald-950); color: var(--on-dark-soft);
  padding: clamp(72px, 9vw, 130px) 0 calc(36px + env(safe-area-inset-bottom));
}
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 40px; }
.foot__brand { display: grid; gap: 22px; justify-items: start; color: #fff; }
.foot__brand { min-width: 0; }
.foot__brand .endorse { color: var(--on-dark-soft); font-size: 10px; line-height: 1.8; letter-spacing: 0.3em; }
.foot__label {
  font: 500 11px/1 var(--sans); font-stretch: 116%; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--jade-200); margin-bottom: 16px;
}
.foot__col p:not(.foot__label) { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: #fff; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__legal {
  margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--on-dark-mute);
}
@media (min-width: 761px) and (max-width: 1100px) { .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Phone bar ---------- */
.mbar {
  position: fixed; z-index: 58; left: 0; right: 0; bottom: 0;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(4, 32, 26, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
}
.mbar.is-visible { transform: none; }
@media (min-width: 1024px) { .mbar { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .btn--primary::after { display: none; }
}

/* ---------- Header search ---------- */
.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; }
.site-search { position: relative; flex: 1 1 auto; max-width: 440px; margin: 0 auto; }
.site-search__icon { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); opacity: 0.8; pointer-events: none; }
.site-search input {
  width: 100%; height: 40px; padding: 0 16px 0 40px; border-radius: 999px;
  font: 400 14px/1 var(--sans); color: inherit; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32); outline: none; -webkit-appearance: none; appearance: none;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-search input::placeholder { color: currentColor; opacity: 0.75; }
.site-search input:focus { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.7); }
[data-header-theme="light"] .site-search input { background: rgba(4, 32, 26, 0.04); border-color: var(--line-chip, rgba(4, 32, 26, 0.2)); }
[data-header-theme="light"] .site-search input:focus { background: #fff; border-color: var(--emerald-700); }
.site-search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; max-height: min(70vh, 520px); overflow-y: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(4, 32, 26, 0.45);
}
.site-search__item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.site-search__item:hover, .site-search__item.is-active { background: var(--mist); }
.site-search__item img, .site-search__mono { flex: none; width: 56px; height: 42px; object-fit: cover; background: var(--emerald-900); color: #fff; display: grid; place-items: center; font-family: var(--serif); }
.site-search__item b { display: block; font: 400 17px/1.25 var(--serif); }
.site-search__item small { display: block; margin-top: 3px; font: 500 12px/1.3 var(--sans); color: var(--ink-mute); }
.site-search__place { display: block; padding: 12px 14px; background: var(--mist); border-bottom: 1px solid var(--line); font: 400 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.site-search__place b { font-weight: 600; color: var(--emerald-700); }
.site-search__all, .site-search__none { display: block; padding: 12px 14px; font: 500 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald-700); text-decoration: none; }
.site-search__none { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-soft); }
.site-search__toggle { display: none; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; padding: 10px; }
.site-search__toggle svg { width: 20px; height: 20px; }
@media (max-width: 1100px) { .site-search { max-width: 300px; } }
@media (max-width: 900px) {
  .site-search { position: absolute; left: 0; right: 0; top: 100%; max-width: none; margin: 0; padding: 10px var(--gutter);
    background: rgba(4, 32, 26, 0.94); color: #fff; display: none; }
  [data-header-theme="light"] .site-search { background: rgba(242, 244, 241, 0.98); color: var(--ink); border-bottom: 1px solid var(--line); }
  .search-open .site-search { display: block; }
  .site-search__icon { left: calc(var(--gutter) + 14px); }
  .site-search__results { left: var(--gutter); right: var(--gutter); }
  .site-search__toggle { display: inline-grid; place-items: center; margin-left: auto; margin-right: -6px; }
}

/* home: the last screen is the footer alone, so the consultation card has scrolled fully away and never sits under the header */
.foot--end { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: flex-end; }

/* narrow screens: the header keeps the mark, the links and the buttons on one line, nothing cut */
@media (max-width: 1000px) {
  .site-header .brand__name { display: none; }
  .site-header .btn--sm { white-space: nowrap; }
}

/* the small code boxes beside labels (01, PH, CT, RS…) read as jargon to visitors: labels stand alone */
.eyebrow__num { display: none; }
