/* Marble Arch Apartments · site styles (typefaces in fonts.css)
   Layout concept: an architect's elevation in Carrara marble. Engraved hairlines, Roman inscriptions,
   arched frames for the photographs that matter, generous stone margins and dark bands of night marble. */


:root {
  /* colour */
  --marble: #F3F2EE;        /* page ground, Carrara white */
  --stone: #E8E5DE;         /* alternate band, Portland stone */
  --stone-deep: #DCD7CE;    /* pressed states, placeholders */
  --ink: #121820;           /* text and night bands */
  --ink-2: #1B232E;         /* raised surfaces on night */
  --fog: #545B65;           /* secondary text on marble */
  --fog-night: #A9AEB5;     /* secondary text on night */
  --vein: #CDC8BF;          /* hairlines on marble */
  --vein-night: rgba(243, 242, 238, .16);
  --bronze: #9C7A4C;        /* Samuel Parker's bronze gates: rules, keystones, large numerals */
  --bronze-ink: #7A5C34;    /* bronze for small text on marble */
  --bronze-light: #C9A56E;  /* bronze on night */
  --park: #C3CDB9;          /* parks on the map */
  --water: #CBD7DE;         /* water on the map */
  --focus: #9C7A4C;
  /* type */
  --f-display: "Bodoni Moda", "Bodoni 72", "Didot", "Times New Roman", serif;
  --f-inscription: "Cinzel", "Trajan Pro", "Optima", Georgia, serif;
  --f-text: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  /* space, 4px scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px; --s11: 176px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --header: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}
@media (max-width: 760px) { :root { --header: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0; background: var(--marble); color: var(--ink);
  font-family: var(--f-text); font-weight: 380; font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--marble); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: rgba(156, 122, 76, .28); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--marble); padding: 10px 16px; transition: top .3s var(--ease); }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: calc(980px + 2 * var(--gutter)); }
.section { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.band-stone { background: var(--stone); }
.band-night { background: var(--ink); color: var(--marble); }
.band-night .eyebrow { color: var(--bronze-light); }
.band-night .eyebrow::before { background: var(--bronze-light); }
.band-night .muted { color: var(--fog-night); }
.marble-night { background: var(--ink) url("../img/marble-dark.jpg") center / cover; }
.marble-night, .site-footer { background-attachment: scroll; }
.grid { display: grid; gap: var(--s6); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 var(--s5); font: 500 12px/1.4 var(--f-text); letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-ink); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--bronze); }
.eyebrow--plain::before { display: none; }
.display, .h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 400; font-optical-sizing: auto; margin: 0; text-wrap: balance; letter-spacing: -.012em; }
.display { font-size: clamp(3.1rem, 7.6vw, 8rem); line-height: .98; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.018em; }
.h2 { font-size: clamp(2.1rem, 4vw, 3.9rem); line-height: 1.06; }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.14; }
.h4 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.65; font-weight: 360; max-width: 34em; margin: 0; }
.muted { color: var(--fog); }
.body { max-width: 62ch; }
.body p { margin: 0 0 1.1em; }
.body p:last-child { margin-bottom: 0; }
.numeral { font-family: var(--f-inscription); font-weight: 400; letter-spacing: .08em; color: var(--bronze); }
.inscription { font-family: var(--f-inscription); text-transform: uppercase; letter-spacing: .22em; }
.small { font-size: 14px; line-height: 1.6; }
.tabular { font-variant-numeric: tabular-nums; }

/* keystone rule: a hairline with Nash's keystone at its centre */
.keyrule { position: relative; height: 22px; display: flex; align-items: center; justify-content: center; margin: var(--s7) 0; }
.keyrule::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--vein); }
.keyrule span { position: relative; width: 16px; height: 18px; background: var(--bronze); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); box-shadow: 0 0 0 10px var(--marble); }
.band-stone .keyrule span { box-shadow: 0 0 0 10px var(--stone); }

/* ---------- buttons and links ---------- */
.btn { --bg: var(--ink); --fg: var(--marble); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; background: var(--bg); color: var(--fg); font: 500 12.5px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .45s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--bronze); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .i { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--light { --bg: var(--marble); --fg: var(--ink); }
.btn--light:hover { color: var(--marble); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { color: var(--marble); }
.band-night .btn--ghost { --fg: var(--marble); box-shadow: inset 0 0 0 1px rgba(243,242,238,.55); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11.5px; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .55s var(--ease); }
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link .i { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.i { width: 22px; height: 22px; fill: currentColor; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }

/* ---------- header ---------- */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; height: var(--header); background: rgba(243, 242, 238, .97); border-bottom: 1px solid transparent; transition: transform .6s var(--ease), border-color .4s, background-color .4s; }
.site-header.is-scrolled { border-bottom-color: var(--vein); }
.site-header.is-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); max-width: none; }
.brandmark { display: inline-flex; align-items: center; }
.brandmark img { height: 40px; width: auto; }
@media (max-width: 760px) { .brandmark img { height: 34px; } }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; font: 500 12px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; padding: 10px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn span { position: relative; width: 26px; height: 1.5px; background: var(--ink); transition: background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 26px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) { .nav__links, .nav .btn { display: none; } .menu-btn { display: inline-flex; } }

/* full screen menu */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--marble); display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header) + env(safe-area-inset-top, 0px) + 24px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; font: 400 clamp(2.2rem, 9vw, 4rem)/1.12 var(--f-display); }
.menu__list .numeral { font-size: 13px; letter-spacing: .2em; min-width: 30px; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--vein); padding-top: 20px; }
.menu__arch { position: absolute; right: 6vw; bottom: 22vh; width: min(40vw, 280px); opacity: .5; pointer-events: none; }
@media (max-width: 600px) { .menu__arch { display: none; } }

/* ---------- page curtain (transition between pages) ---------- */
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--marble); display: grid; place-items: center; pointer-events: none; visibility: hidden; }
.curtain img { width: 96px; height: auto; }
.curtain.is-on { visibility: visible; }

/* ---------- preloader (home) ---------- */
.preloader { position: fixed; inset: 0; z-index: 95; background: var(--marble); display: grid; place-items: center; }
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader svg.pl-mark { width: clamp(120px, 14vw, 180px); height: auto; overflow: visible; }
.preloader .pl-word { font-family: var(--f-inscription); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .26em; padding-left: .26em; color: var(--ink); white-space: nowrap; }
.preloader .pl-sub { font: 500 11px/1 var(--f-text); letter-spacing: .5em; padding-left: .5em; color: var(--bronze-ink); text-transform: uppercase; }
.no-preloader .preloader { display: none; }

/* ---------- hero: the Arch ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--ink); }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__film { position: absolute; inset: 0; overflow: hidden; }
.hero__film video, .hero__film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__film .poster { z-index: 0; }
.hero__film video { z-index: 1; }
.facade { position: absolute; inset: 0; z-index: 2; will-change: transform, opacity; transform-origin: 50% 70%; }
.facade__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.facade__ground { fill: var(--marble); }
.facade__inscription { font-family: var(--f-inscription); }
.facade__svg--port { display: none; }
@media (max-aspect-ratio: 1/1) { .facade__svg--land { display: none; } .facade__svg--port { display: block; } }
.hero__corner { position: absolute; z-index: 3; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); font: 500 11px/1.5 var(--f-text); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.hero__corner--l { left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.hero__corner--r { right: max(var(--gutter), env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 12px; }
.hero__corner--r i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 1px 0 no-repeat, rgba(18,24,32,.18); animation: scrollcue 2.4s var(--ease-in-out) infinite; }
@keyframes scrollcue { 0% { background-size: 1px 0; background-position: 0 0; } 50% { background-size: 1px 100%; background-position: 0 0; } 51% { background-position: 0 100%; } 100% { background-size: 1px 0; background-position: 0 100%; } }
@media (max-aspect-ratio: 1/1) { .hero__corner--l { display: none; } }
.hero__tag { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--header) + env(safe-area-inset-top, 0px) + 14px); text-align: center; font: italic 400 clamp(17px, 4.6vw, 22px)/1.3 var(--f-display); color: var(--ink); display: none; padding-inline: 24px; }
@media (max-aspect-ratio: 1/1) { .hero__tag { display: block; } }
.film-ctl { position: absolute; z-index: 4; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; background: var(--marble); color: var(--ink); font: 500 11px/1.3 var(--f-text); letter-spacing: .2em; text-transform: uppercase; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.film-ctl.is-on { opacity: 1; visibility: visible; }
.film-ctl button { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--marble); border-radius: 50%; }
.film-ctl button .i { width: 16px; height: 16px; }
.film-ctl .label { display: grid; }
.film-ctl .label small { font-size: 9.5px; color: var(--fog); letter-spacing: .24em; }


/* reduced motion: the arch at rest, film paused behind */
.rm .hero { height: auto; }
.rm .facade { transform: none !important; opacity: 1 !important; }

/* ---------- intro statement ---------- */
.statement { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 4.1vw, 4rem); line-height: 1.14; letter-spacing: -.012em; margin: 0; max-width: 20em; text-wrap: balance; }
.statement em { font-style: italic; color: var(--bronze-ink); }
.statement .w { transition: color .2s; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--vein); }
.facts > div { padding: 26px 20px 0 0; display: grid; gap: 6px; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--vein); }
.facts b { font: 400 clamp(1.8rem, 2.6vw, 2.6rem)/1 var(--f-display); }
.facts span { font: 500 11.5px/1.5 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { border-left: 0; padding-left: 0; } .facts > div { padding-bottom: 22px; } }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s7); align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.head .lead { justify-self: end; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; gap: var(--s5); } .head .lead { justify-self: start; } }

/* ---------- the four apartments: horizontal gallery ---------- */
.homes { position: relative; overflow: hidden; }
.homes__track { display: flex; gap: clamp(24px, 3vw, 48px); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); will-change: transform; }
.home-card { flex: 0 0 auto; width: clamp(300px, 34vw, 520px); display: grid; gap: 22px; }
.home-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 100vmax 100vmax 0 0; background: var(--stone-deep); max-width: 100%; }
.home-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.home-card__media img.alt { opacity: 0; }
.home-card:hover .home-card__media img { transform: scale(1.045); }
.home-card:hover .home-card__media img.alt { opacity: 1; }
.home-card__meta { display: grid; gap: 8px; }
.home-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.home-card__title h3 { font: 400 clamp(1.6rem, 2.2vw, 2.2rem)/1.1 var(--f-display); margin: 0; }
.home-card__title .numeral { font-size: 14px; }
.home-card__specs { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 11.5px/1.5 var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--fog); }
.home-card__line { margin: 0; color: var(--fog); max-width: 36ch; }
.homes__progress { margin-top: 44px; height: 1px; background: var(--vein); position: relative; }
.homes__progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--bronze); }
@media (max-width: 760px) {
  .homes__track { flex-direction: column; gap: 56px; }
  .home-card { width: 100%; }
  .homes__progress { display: none; }
}

/* ---------- places: from the front door ---------- */
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.place { position: relative; display: grid; gap: 14px; }
.place__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-deep); max-width: 100%; }
.place__media img, .place__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place__media video { opacity: 0; transition: opacity .6s; }
.place.is-playing .place__media video { opacity: 1; }
.place__time { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.place__time b { font: 400 clamp(2rem, 3vw, 2.8rem)/1 var(--f-display); }
.place__time span { font: 500 11px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.place h3 { margin: 0; font: 400 1.35rem/1.2 var(--f-display); }
.place p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fog); }
.place:nth-child(even) { margin-top: clamp(0px, 6vw, 88px); }
@media (max-width: 1000px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } .place:nth-child(even) { margin-top: 48px; } }
@media (max-width: 520px) { .place:nth-child(even) { margin-top: 32px; } .place p { font-size: 14px; } }

/* ---------- the standard ---------- */
.standard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--vein); }
.std { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 18px; padding: 30px 24px 30px 0; border-bottom: 1px solid var(--vein); }
.std .i { width: 30px; height: 30px; color: var(--bronze); grid-row: span 2; margin-top: 2px; }
.std h3 { margin: 0; font: 400 1.3rem/1.25 var(--f-display); }
.std p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fog); }
@media (max-width: 1000px) { .standard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .standard { grid-template-columns: 1fr; } .std { padding-right: 0; } }
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; margin-top: 56px; }
.brands p { margin: 0; font: 500 11.5px/1.5 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--fog); }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 26px 46px; }
.brands img { height: 26px; width: auto; filter: grayscale(1) contrast(1.2); opacity: .78; }
.brands li:nth-child(1) img { height: 34px; }
.brands li:nth-child(2) img { height: 18px; }
.brands li:nth-child(3) img { height: 20px; }
.brands li:nth-child(4) img { height: 22px; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); }
.quote { margin: 0; display: grid; align-content: start; gap: 20px; padding-top: 28px; border-top: 1px solid var(--vein-night); }
.band-stone .quote, .quote--light { border-top-color: var(--vein); }
.quote blockquote { margin: 0; font: italic 400 clamp(1.25rem, 1.7vw, 1.6rem)/1.42 var(--f-display); }
.quote figcaption { font: 500 11.5px/1.6 var(--f-text); letter-spacing: .18em; text-transform: uppercase; }
.quote figcaption span { display: block; color: var(--fog-night); letter-spacing: .14em; text-transform: none; font-weight: 400; font-size: 13px; }
.band-stone .quote figcaption span, .quote--light figcaption span { color: var(--fog); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-top: 48px; }
.rating b { font: 400 clamp(3rem, 5vw, 4.4rem)/1 var(--f-display); }
.rating span { color: var(--fog-night); }

/* ---------- platform logos ---------- */
.platforms { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.platforms__row { display: flex; width: max-content; gap: clamp(56px, 7vw, 110px); align-items: center; padding-block: 18px; animation: marquee 46s linear infinite; }
.platforms:hover .platforms__row, .platforms.is-paused .platforms__row { animation-play-state: paused; }
.platforms__row img { height: var(--h, 26px); width: auto; filter: grayscale(1) brightness(.35) contrast(1.4); opacity: .82; }
@keyframes marquee { to { transform: translateX(-50%); } }
.rm .platforms__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
.marquee-ctl { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font: 500 11px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); padding: 10px 0; }
.marquee-ctl .i { width: 14px; height: 14px; }

/* booking logos on apartment pages: links */
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--vein); border: 1px solid var(--vein); }
.book-tile { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-height: 148px; padding: 26px 24px 20px; background: var(--marble); transition: background .4s var(--ease); }
.book-tile:hover, .book-tile:focus-visible { background: #fff; }
.book-tile img { height: var(--h, 26px); width: auto; max-width: 70%; align-self: center; transition: transform .6s var(--ease); }
.book-tile:hover img { transform: translateY(-3px); }
.book-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 11px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.book-tile__foot .i { width: 16px; height: 16px; color: var(--ink); transition: transform .45s var(--ease); }
.book-tile:hover .book-tile__foot .i { transform: translate(3px, -3px); }
.book-tile.is-soon img { opacity: .38; filter: grayscale(1); }
.book-tile.is-soon .book-tile__foot .i { color: var(--fog); }
.book-tile--direct { background: var(--ink); color: var(--marble); }
.book-tile--direct:hover { background: var(--ink-2); }
.book-tile--direct img { filter: none; }
.book-tile--direct .book-tile__foot { color: var(--bronze-light); }
.book-tile--direct .book-tile__foot .i { color: var(--marble); }
@media (max-width: 760px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .book-tile { min-height: 124px; padding: 20px 16px 16px; } }

/* ---------- owners band ---------- */
.owners-band { position: relative; overflow: hidden; }
.az-strip { display: flex; gap: clamp(18px, 3vw, 44px); font-family: var(--f-inscription); font-size: clamp(56px, 11vw, 170px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(156, 122, 76, .5); white-space: nowrap; will-change: transform; user-select: none; }
.az-strip span { transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }
.az-strip span.lit { color: var(--bronze); -webkit-text-stroke-color: transparent; }
.band-night .az-strip { -webkit-text-stroke-color: rgba(201, 165, 110, .55); }
.band-night .az-strip span.lit { color: var(--bronze-light); }
.owners-band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); align-items: end; margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .owners-band__grid { grid-template-columns: 1fr; gap: var(--s6); } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink) url("../img/marble-dark.jpg") center / cover; color: var(--marble); overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--vein-night); }
.footer__cta a { display: grid; gap: 14px; padding: clamp(44px, 6vw, 84px) 0; position: relative; }
.footer__cta a + a { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--vein-night); }
.footer__cta .h3 { transition: color .4s; }
.footer__cta a:hover .h3 { color: var(--bronze-light); }
.footer__cta .link { color: var(--bronze-light); }
@media (max-width: 760px) { .footer__cta { grid-template-columns: 1fr; } .footer__cta a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--vein-night); } }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--s7); padding-block: clamp(48px, 6vw, 88px); }
.footer__cols h4 { margin: 0 0 18px; font: 500 11.5px/1.4 var(--f-text); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-light); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a { color: rgba(243,242,238,.86); transition: color .3s; }
.footer__cols a:hover { color: #fff; }
.footer__cols p { margin: 0 0 10px; color: rgba(243,242,238,.78); }
.footer__brand img { width: 220px; height: auto; margin-bottom: 20px; }
.placeholder { display: inline-block; padding: 2px 10px; border: 1px dashed currentColor; font: 500 11px/1.6 var(--f-text); letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
@media (max-width: 980px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__word { position: relative; height: clamp(46px, 10.4vw, 232px); overflow: hidden; pointer-events: none; }
.footer__word span { position: absolute; left: 50%; bottom: clamp(-52px, -2.4vw, -10px); transform: translateX(-50%); font-family: var(--f-inscription); font-size: clamp(44px, 11.6vw, 260px); line-height: 1; letter-spacing: .06em; padding-left: .06em; white-space: nowrap; color: transparent; background: url("../img/marble-light.jpg") center / cover; -webkit-background-clip: text; background-clip: text; opacity: .92; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--vein-night); font-size: 12.5px; color: rgba(243,242,238,.66); position: relative; z-index: 2; background: rgba(18,24,32,.5); }
.footer__legal p { margin: 0; max-width: 92ch; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero .h1 { max-width: 14em; }
.page-hero .lead { margin-top: var(--s6); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font: 500 11.5px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--vein); }

.arch-frame { position: relative; overflow: hidden; border-radius: 100vmax 100vmax 0 0; background: var(--stone-deep); max-width: 100%; }
.arch-frame img, .arch-frame video { width: 100%; height: 100%; object-fit: cover; }
.frame { position: relative; overflow: hidden; background: var(--stone-deep); max-width: 100%; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }

/* split feature: text and image */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- apartments index rows ---------- */
.home-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--vein); }
.home-row:nth-child(even) .home-row__media { order: 2; }
.home-row__media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: end; }
.home-row__media .arch-frame { aspect-ratio: 3 / 4; }
.home-row__media .frame { aspect-ratio: 4 / 5; }
.home-row__text { display: grid; gap: 22px; align-content: center; }
.home-row__text .numeral { font-size: 15px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.specs li { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--f-text); letter-spacing: .16em; text-transform: uppercase; }
.specs .i { width: 20px; height: 20px; color: var(--bronze); }
@media (max-width: 900px) { .home-row { grid-template-columns: 1fr; } .home-row:nth-child(even) .home-row__media { order: 0; } }

/* comparison table */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th, .compare td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--vein); vertical-align: top; }
.compare thead th { font: 500 11.5px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.compare tbody th { font: 400 1.25rem/1.3 var(--f-display); }
.compare tbody th small { display: block; font: 400 12px/1.4 var(--f-inscription); letter-spacing: .2em; color: var(--bronze-ink); }

/* ---------- apartment page ---------- */
.apt-hero { padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + clamp(36px, 5vw, 72px)); }
.apt-hero__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s7); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.apt-hero__head .h1 { font-size: clamp(2.6rem, 6vw, 6rem); }
.apt-hero__head .numeral { font-size: 16px; display: block; margin-bottom: 18px; }
.apt-hero__aside { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 900px) { .apt-hero__head { grid-template-columns: 1fr; gap: var(--s5); } }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(380px, 62vh, 720px); position: relative; }
.mosaic__item { position: relative; overflow: hidden; background: var(--stone-deep); padding: 0; min-width: 0; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__item:first-child { grid-row: span 2; border-radius: 100vmax 100vmax 0 0; }
.mosaic__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: auto; aspect-ratio: 4 / 5; } .mosaic__item:first-child { grid-column: span 2; grid-row: auto; } .mosaic__item:nth-child(n+4) { display: none; } }
.apt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1040px) { .apt-layout { grid-template-columns: 1fr; } }
.apt-side { position: sticky; top: calc(var(--header) + env(safe-area-inset-top, 0px) + 24px); display: grid; gap: 20px; padding: 32px; background: #fff; border: 1px solid var(--vein); }
.apt-side .h4 { margin-bottom: 4px; }
.apt-side .rating-mini { display: flex; align-items: baseline; gap: 10px; }
.apt-side .rating-mini b { font: 400 2.2rem/1 var(--f-display); }
@media (max-width: 1040px) { .apt-side { position: static; } }
.apt-block { padding-block: clamp(44px, 5vw, 72px); border-top: 1px solid var(--vein); }
.apt-block:first-child { border-top: 0; padding-top: 0; }
.apt-block > .eyebrow { margin-bottom: 18px; }
.rooms { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
@media (max-width: 1240px) and (min-width: 1041px), (max-width: 820px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .room:last-child:nth-child(odd) { grid-column: span 2; } }
.room { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--vein); background: var(--marble); }
.room .i { width: 30px; height: 30px; color: var(--bronze); }
.room b { font: 400 1.15rem/1.3 var(--f-display); }
.room span { font-size: 14px; color: var(--fog); }
.amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 26px 0 0; padding: 0; list-style: none; }
.amen li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--vein); }
.amen .i { width: 22px; height: 22px; color: var(--bronze); }
@media (max-width: 620px) { .amen { grid-template-columns: 1fr; } }
.stations { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.stations li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--vein); }
.station-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--vein); border-radius: 50%; color: var(--bronze); }
.station-icon .i { width: 20px; height: 20px; }
.stations b { font: 400 1.15rem/1.2 var(--f-display); display: block; }
.stations small { color: var(--fog); font-size: 13.5px; }
.stations .mins { font: 500 12px/1.4 var(--f-text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.rules h3 { margin: 0 0 10px; font: 500 11.5px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-ink); }
.rules p { margin: 0; font-size: 15px; color: var(--fog); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.more-homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
@media (max-width: 900px) { .more-homes { grid-template-columns: 1fr; } }
.more-homes .home-card { width: 100%; }

/* lightbox gallery */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(12, 16, 22, .97); color: var(--marble); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(14px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 14px max(20px, env(safe-area-inset-left, 0px)); }
.lb__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lb__filters button { padding: 9px 14px; border: 1px solid rgba(243,242,238,.24); font: 500 11px/1 var(--f-text); letter-spacing: .18em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.lb__filters button[aria-pressed="true"] { background: var(--marble); color: var(--ink); border-color: var(--marble); }
.lb__close { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(243,242,238,.3); border-radius: 50%; flex: none; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(64px, env(safe-area-inset-right, 0px)); }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(243,242,238,.3); border-radius: 50%; background: rgba(12,16,22,.4); }
.lb__nav--prev { left: max(10px, env(safe-area-inset-left, 0px)); } .lb__nav--next { right: max(10px, env(safe-area-inset-right, 0px)); }
.lb__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(20px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); font-size: 14px; color: rgba(243,242,238,.8); }
.lb__count { font-variant-numeric: tabular-nums; letter-spacing: .14em; white-space: nowrap; }
@media (max-width: 760px) { .lb__stage { padding: 0 8px; } .lb__nav { display: none; } .lb__filters button { padding: 8px 10px; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 500 11.5px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; font: 400 16px/1.4 var(--f-text); color: var(--ink); background: #fff; border: 1px solid var(--vein); border-radius: 0; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z' fill='%23121820'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(156,122,76,.16); }
.field .hint { font-size: 13px; color: var(--fog); }
.field .err { font-size: 13px; color: #9B2C2C; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9B2C2C; }
.field.is-invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--fog); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form-note { padding: 18px 20px; border-left: 2px solid var(--bronze); background: #fff; font-size: 15px; display: none; }
.form-note.is-on { display: block; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--vein); margin-bottom: 36px; overflow-x: auto; }
.tabs button { padding: 16px 0; margin-right: 34px; font: 500 12px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--bronze); }

/* ---------- owners page ---------- */
.az-hero { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-inscription); font-size: clamp(120px, 24vw, 360px); line-height: .8; color: var(--ink); margin-top: clamp(24px, 4vw, 56px); }
.az-hero .az-line { flex: 1; height: 1px; background: var(--vein); margin: 0 clamp(16px, 3vw, 48px); position: relative; overflow: hidden; }
.az-hero .az-line i { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; animation: az-line 1.8s var(--ease-in-out) .5s both; }
@keyframes az-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.az-hero .az-a, .az-hero .az-z { display: inline-block; }
.az-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--vein); border: 1px solid var(--vein); }
.az-grid .az:last-child { grid-column: 1 / -1; min-height: 0; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 24px; background: var(--ink); color: var(--marble); }
.az-grid .az:last-child .az__l { grid-row: span 2; color: var(--bronze-light); font-size: 64px; }
.az-grid .az:last-child p { color: var(--fog-night); }
.az-grid .az:last-child:hover { background: var(--ink-2); }
@media (max-width: 1000px) { .az-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .az-grid .az:last-child { grid-column: auto; display: grid; grid-template-columns: 1fr; } .az-grid .az:last-child .az__l { grid-row: auto; font-size: 48px; } }
@media (max-width: 600px) { .az-grid { grid-template-columns: 1fr; } .az { min-height: 0; } }
.az { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; background: var(--marble); min-height: 200px; overflow: hidden; transition: background .5s var(--ease); }
.az:hover { background: #fff; }
.az__l { font-family: var(--f-inscription); font-size: 48px; line-height: 1; color: var(--bronze); transition: transform .6s var(--ease); }
.az:hover .az__l { transform: translateY(-4px); }
.az h3 { margin: 0; font: 400 1.25rem/1.25 var(--f-display); }
.az p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fog); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; }
.step { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--vein-night); align-items: baseline; }
.step:last-child { border-bottom: 1px solid var(--vein-night); }
.step__n { font-family: var(--f-inscription); font-size: 22px; letter-spacing: .14em; color: var(--bronze-light); }
.step h3 { margin: 0; font: 400 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--f-display); }
.step p { margin: 0; color: var(--fog-night); }
@media (max-width: 860px) { .step { grid-template-columns: 56px minmax(0, 1fr); } .step p { grid-column: 2; } }
.faq { border-top: 1px solid var(--vein); }
.faq details { border-bottom: 1px solid var(--vein); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .5s var(--ease); width: 20px; height: 20px; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 64ch; color: var(--fog); }

/* ---------- neighbourhood ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .map-wrap { grid-template-columns: 1fr; } }
.map { position: relative; aspect-ratio: 10 / 8; background: #ECEAE4; border: 1px solid var(--vein); overflow: hidden; max-width: 100%; }
.map svg { width: 100%; height: 100%; }
.map .road { fill: none; stroke: #fff; stroke-linecap: round; }
.map .road-edge { fill: none; stroke: #D6D1C7; stroke-linecap: round; }
.map .park { fill: var(--park); }
.map .water { fill: var(--water); }
.map .label { font: 500 9.5px var(--f-text); letter-spacing: .16em; text-transform: uppercase; fill: #6A6F76; }
.map .label--park { fill: #5E6B57; font-size: 11px; letter-spacing: .26em; }
.map .pin circle.dot { fill: var(--ink); }
.map .pin text { font: 500 10px var(--f-text); letter-spacing: .1em; fill: var(--ink); }
.map .pin { cursor: pointer; transition: opacity .4s; }
.map .home-area { fill: rgba(156,122,76,.18); stroke: var(--bronze); stroke-width: 1.2; }
.map .route { fill: none; stroke: var(--bronze); stroke-width: 2.2; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.map .route.is-on { opacity: 1; }
.map.is-focus .pin:not(.is-on) { opacity: .5; }
.walks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vein); }
.walks button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--vein); text-align: left; transition: background .3s, padding .4s var(--ease); }
.walks button:hover, .walks button.is-on { background: #fff; padding-left: 14px; }
.walks b { font: 400 1.2rem/1.3 var(--f-display); }
.walks span { font: 500 11.5px/1.4 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); white-space: nowrap; }
.nearby { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.nearby div { padding: 26px 0; border-top: 1px solid var(--vein); }
.nearby h3 { margin: 0 0 8px; font: 400 1.25rem/1.25 var(--f-display); }
.nearby p { margin: 0; font-size: 15px; color: var(--fog); }
@media (max-width: 1000px) { .nearby { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nearby { grid-template-columns: 1fr; } }
.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.photo-strip .frame { aspect-ratio: 4 / 5; }
.photo-strip .frame:first-child { aspect-ratio: auto; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip .frame:first-child { grid-column: span 2; aspect-ratio: 16 / 10; } }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--vein-night); }
.timeline div { padding: 30px 24px 10px 0; display: grid; gap: 10px; align-content: start; }
.timeline div + div { padding-left: 24px; border-left: 1px solid var(--vein-night); }
.timeline b { font: 400 clamp(2rem, 3vw, 3rem)/1 var(--f-display); color: var(--bronze-light); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; color: var(--fog-night); font-size: 15.5px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline div:nth-child(3) { padding-left: 0; border-left: 0; } .timeline div { padding-bottom: 26px; } }

/* ---------- brand page ---------- */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.swatch { display: grid; grid-template-rows: 150px auto; border: 1px solid var(--vein); background: #fff; }
.swatch i { display: block; }
.swatch div { padding: 16px; display: grid; gap: 4px; font-size: 13.5px; }
.swatch b { font: 400 1.15rem/1.2 var(--f-display); }
.logo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.logo-card { display: grid; place-items: center; gap: 18px; min-height: 260px; padding: 36px; border: 1px solid var(--vein); background: #fff; text-align: center; }
.logo-card img { max-height: 120px; width: auto; max-width: 85%; }
.logo-card small { font: 500 11px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.logo-card--night { background: var(--ink); color: var(--marble); border-color: var(--ink); }
.logo-card--night small { color: var(--fog-night); }
.logo-card--stone { background: var(--stone); }
@media (max-width: 760px) { .logo-cards { grid-template-columns: 1fr; } }
.type-spec { display: grid; gap: 10px; padding: 32px 0; border-top: 1px solid var(--vein); }
.type-spec small { font: 500 11px/1.4 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); }
.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dodont ul { margin: 0; padding-left: 1.1em; }
.dodont li { margin-bottom: 8px; }
@media (max-width: 760px) { .dodont { grid-template-columns: 1fr; } }

/* ---------- toast and cursor ---------- */
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 85; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: var(--marble); padding: 14px 22px; font-size: 14.5px; line-height: 1.5; width: max-content; max-width: min(calc(100vw - 32px), 520px); transition: transform .6s var(--ease), visibility 0s .6s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1px solid var(--bronze); pointer-events: none; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor span { font: 500 10px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--marble); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--ink); border-color: var(--ink); }
.cursor.is-big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- motion helpers ---------- */
.reveal-mask { display: block; overflow: hidden; }
.line-wrap { overflow: hidden; display: block; padding-bottom: .06em; margin-bottom: -.06em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- page curtain and preloader: driven by CSS so neither can ever stay on screen ---------- */
[id] { scroll-margin-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 24px); }
.lb-open { overflow: hidden; }
.curtain.is-on { visibility: visible; animation: curtain-in .56s var(--ease-in-out) both; }
.curtain-in .curtain { visibility: visible; animation: curtain-out .9s var(--ease-in-out) .06s both; }
@keyframes curtain-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes curtain-out { from { clip-path: inset(0 0 0 0); visibility: visible; } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.preloader { animation: pl-out 1s var(--ease-in-out) 2.1s both; }
@keyframes pl-out { from { clip-path: inset(0 0 0 0); visibility: visible; } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.pl-d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pl-draw 1.4s var(--ease-in-out) .1s forwards; }
.pl-d:nth-child(2) { animation-delay: .32s; } .pl-d:nth-child(3) { animation-delay: .46s; } .pl-d:nth-child(4) { animation-delay: .6s; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
.pl-key { opacity: 0; animation: pl-fade .6s var(--ease) 1.25s forwards; }
@keyframes pl-fade { to { opacity: 1; } }
.preloader .pl-word, .preloader .pl-sub { animation: pl-rise 1.1s var(--ease) both; }
.preloader .pl-word { animation-delay: .62s; } .preloader .pl-sub { animation-delay: .9s; }
@keyframes pl-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rm .preloader { display: none; }

/* ---------- hero additions ---------- */
.hero__film video { opacity: 0; transition: opacity 1s var(--ease); }
.hero__film.is-live video { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(to top, rgba(10, 14, 20, .64), rgba(10, 14, 20, .14) 48%, rgba(10, 14, 20, 0) 72%); }
.hero__title { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(clamp(92px, 12vh, 140px) + env(safe-area-inset-bottom, 0px)); color: var(--marble); opacity: 0; pointer-events: none; }
.hero__title .eyebrow { color: var(--marble); }
.hero__title .eyebrow::before { background: var(--bronze-light); }
.hero__title .display { max-width: 11em; }
.hero__title .display em { color: var(--bronze-light); }
.film-ctl .label { overflow: hidden; }
.film-ctl .label__text { display: block; white-space: nowrap; }
.facade__svg { transform-origin: 50% 100%; }

/* ---------- the apartments gallery: native horizontal scroll until the pin takes over ---------- */
.homes__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.homes__viewport::-webkit-scrollbar { display: none; }
.homes.is-pinned .homes__viewport { overflow: visible; }
@media (min-width: 761px) {
  .home-card { width: clamp(280px, min(34vw, calc((100vh - 250px) * .8)), 520px); width: clamp(280px, min(34vw, calc((100svh - 250px) * .8)), 520px); }
}
.menu__list a[aria-current="page"] { color: var(--bronze-ink); }

/* ---------- films: a play button on each place, a pause control on every film that plays by itself ---------- */
.place__play { position: absolute; z-index: 2; left: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 242, 238, .92); color: var(--ink); transition: opacity .4s, transform .5s var(--ease); }
.place__play .i { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .place__play { opacity: 0; } .place:hover .place__play, .place__play:focus-visible { opacity: 1; } }
.vid { position: relative; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid-ctl { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 242, 238, .92); color: var(--ink); }
.vid-ctl .i { width: 16px; height: 16px; }

/* ---------- form additions ---------- */
.check-err { display: none; margin-top: -12px; font-size: 13px; color: #9B2C2C; }
.check.is-invalid { color: #9B2C2C; }
.check.is-invalid + .check-err { display: block; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- map additions ---------- */
.map .pin .hit { fill: transparent; }
.map .pin circle.dot { transition: fill .3s; }
.map .pin.is-on circle.dot { fill: var(--bronze); }
.map .pin.is-on text { font-weight: 600; }
.map .home-label { font: 600 10.5px var(--f-text); letter-spacing: .2em; fill: var(--bronze-ink); }
.map .route.is-on { animation: march 1.1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -16; } }
.walks button[aria-pressed="true"] b { color: var(--bronze-ink); }

/* ---------- reduced motion: logos sit still in one row, no duplicates ---------- */
.rm .platforms { -webkit-mask-image: none; mask-image: none; }
.rm .platforms__row img[aria-hidden="true"] { display: none; }
.rm .marquee-ctl { display: none; }

/* ---------- light variants ---------- */
.band-stone .timeline { border-top-color: var(--vein); }
.band-stone .timeline div + div { border-left-color: var(--vein); }
.band-stone .timeline b { color: var(--bronze-ink); }
.band-stone .timeline p { color: var(--fog); }
.apt-side .side-num { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.standard--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .standard--3, .timeline--3 { grid-template-columns: 1fr; }
  .timeline--3 div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--vein); }
  .timeline--3 div { padding: 24px 0; }
}
.placeholder { max-width: 100%; white-space: normal; }

/* ---------- apartment pages: a booking bar on phones and tablets ---------- */
.book-bar { display: none; }
@media (max-width: 1040px) {
  .book-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(243, 242, 238, .97); border-top: 1px solid var(--vein); transform: translateY(0); transition: transform .5s var(--ease); }
  .book-bar.is-off { transform: translateY(110%); }
  .book-bar__text { display: grid; min-width: 0; }
  .book-bar__text b { font: 400 1.15rem/1.2 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .book-bar__text span { font: 500 11px/1.5 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--fog); }
  .has-book-bar ~ .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body:has(.has-book-bar) .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- the map on phones: full size, panned by dragging ---------- */
.map-hint { display: none; margin: 10px 0 0; }
@media (max-width: 760px) {
  .map { aspect-ratio: auto; height: min(68vh, 440px); overflow: auto; overscroll-behavior: contain; }
  .map svg { width: 880px; height: auto; max-width: none; }
  .map-hint { display: block; }
}
.map-wrap > * { min-width: 0; }
.lightbox { background: #0C1016; }
