/* =====================================================================
   THE EDITION — design system
   Palette drawn from the building itself: the ivory of the wave
   balconies, the mineral stone of the lobby, the timber of the soffits,
   the warm line of LED light, and the blue hour over Dakar.
   ===================================================================== */

:root {
  --ivory: #F4EFE7;
  --paper: #EDE6DB;
  --stone: #DCD2C4;
  --sand: #C4B4A0;
  --timber: #A2603A;
  --timber-deep: #7A4428;
  --glow: #EDBE86;
  --espresso: #2A211B;
  --night: #14110F;
  --ink: #1F1915;
  --muted: #6B6058;
  --dusk: #2D3F57;
  --line: rgba(31, 25, 21, .14);
  --line-light: rgba(244, 239, 231, .22);

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-fg: var(--ivory);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--glow); outline-offset: 4px; }
::selection { background: var(--timber); color: var(--ivory); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--sans); font-weight: 450; font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase; margin: 0 0 1.4rem; opacity: .78;
}
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem); line-height: .98; margin: 0;
}
.display em, .h2 em, .h3 em { font-style: italic; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.02; margin: 0 0 1.5rem; letter-spacing: -.005em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; margin: 0 0 .9rem; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; max-width: 36em; font-weight: 300; }
.small { font-size: 13px; letter-spacing: .02em; }
.wordmark { font-family: var(--serif); letter-spacing: .34em; text-transform: uppercase; font-weight: 400; margin-right: -.34em; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --b: currentColor;
  display: inline-flex; align-items: center; gap: .9rem;
  padding: 1rem 1.6rem; border: 1px solid var(--b); border-radius: 0;
  background: transparent; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-weight: 450; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.btn::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.btn:hover::after { width: 34px; }
.btn--solid { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--solid:hover { background: var(--timber-deep); border-color: var(--timber-deep); }
.btn--light { color: var(--ivory); border-color: rgba(244,239,231,.55); }
.btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.link-line { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink);
  padding: .7rem 1rem; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--header-fg);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter); transition: color .6s var(--ease), background .6s var(--ease), padding .6s var(--ease), transform .7s var(--ease);
}
.header[data-tone="dark"] { --header-fg: var(--ink); }
.header.is-solid { background: rgba(244,239,231,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }
.header.is-solid-night { background: rgba(20,17,15,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }
.header.is-hidden { transform: translateY(-110%); }
.header__brand { grid-column: 2; justify-self: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.header__brand .wordmark { font-size: 17px; }
.brand-wave { width: 74px; height: 8px; opacity: .8; }
.header__left, .header__right { display: flex; align-items: center; gap: 22px; }
.header__right { justify-self: end; }
.header__btn {
  background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 450; letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
}
.burger { width: 26px; height: 9px; position: relative; display: inline-block; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.burger::before { top: 0; } .burger::after { bottom: 0; right: 8px; }
.header__btn:hover .burger::after { right: 0; }
.header__cta { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.sound-btn { display: inline-flex; align-items: center; gap: 10px; }
.sound-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.sound-bars i { width: 1px; height: 3px; background: currentColor; transition: height .4s var(--ease); }
.sound-on .sound-bars i { animation: bar 1.4s var(--ease) infinite alternate; }
.sound-on .sound-bars i:nth-child(2) { animation-delay: -.4s; } .sound-on .sound-bars i:nth-child(3) { animation-delay: -.9s; }
@keyframes bar { from { height: 2px; } to { height: 10px; } }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--ivory);
  display: grid; grid-template-columns: 1.1fr .9fr; visibility: hidden; opacity: 0;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .7s var(--ease); }
.menu__nav { padding: 120px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: center; }
.menu__nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__nav li { counter-increment: m; overflow: hidden; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1.2rem; text-decoration: none; font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.12; transform: translateY(105%);
  transition: transform .9s var(--ease-out), color .4s;
}
.menu__nav a::before { content: counter(m, decimal-leading-zero); font-family: var(--sans); font-size: 11px; letter-spacing: .2em; opacity: .5; }
.menu__nav a:hover { color: var(--glow); }
.menu.is-open .menu__nav a { transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: .05s; } .menu.is-open li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open li:nth-child(4) a { transition-delay: .15s; } .menu.is-open li:nth-child(5) a { transition-delay: .2s; }
.menu.is-open li:nth-child(6) a { transition-delay: .25s; } .menu.is-open li:nth-child(7) a { transition-delay: .3s; }
.menu.is-open li:nth-child(8) a { transition-delay: .35s; }
.menu__aside { position: relative; overflow: hidden; }
.menu__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.menu.is-open .menu__aside img { transform: scale(1); }
.menu__contact { position: absolute; left: var(--gutter); bottom: 40px; font-size: 13px; line-height: 1.9; opacity: .8; z-index: 1; }
.menu__contact a { text-decoration: none; }
.menu__close { position: absolute; top: 22px; left: var(--gutter); z-index: 2; color: var(--ivory); }

/* ---------- Film ---------- */
.film { position: relative; background: var(--night); color: var(--ivory); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__poster, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__poster { object-fit: cover; }
.film__canvas { display: block; }
.film__grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(12,10,9,.55) 0%, rgba(12,10,9,0) 22%),
    linear-gradient(to top, rgba(12,10,9,.62) 0%, rgba(12,10,9,0) 38%),
    radial-gradient(120% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(8,6,5,.42) 100%);
}
.film__veil { position: absolute; inset: 0; background: var(--night); pointer-events: none; transition: opacity 2.6s var(--ease); }
.is-ready .film__veil { opacity: 0; }

.film__floor {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none;
  opacity: 0; font-family: var(--serif); color: var(--glow);
}
.film__floor b { display: block; font-weight: 400; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.film__floor span { font-family: var(--sans); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory); opacity: .75; }

.film__copy { position: absolute; inset: 0; pointer-events: none; }
.beat {
  position: absolute; max-width: min(560px, 82vw); opacity: 0;
  text-shadow: 0 1px 24px rgba(0,0,0,.35);
  will-change: opacity, transform;
}
.beat.is-on a, .beat.is-on button { pointer-events: auto; }
.beat .display { font-size: clamp(2.3rem, 4.9vw, 4.9rem); }
.beat p { margin: 1.3rem 0 0; font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 30em; font-weight: 350; opacity: .9; }
.beat .btn { margin-top: 2rem; }
.beat--left { left: var(--gutter); bottom: 15vh; }
.beat--right { right: var(--gutter); bottom: 15vh; text-align: left; }
.beat--bottom-left { left: var(--gutter); bottom: 9vh; }
.beat--bottom-left p { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.beat--center { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 900px; width: 90vw; }
.beat--center p { margin-left: auto; margin-right: auto; }
.beat--hero { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: none; width: 92vw; }
.beat--hero .wordmark-xl, .beat--final .wordmark-xl {
  font-family: var(--serif); text-transform: uppercase; font-weight: 400; letter-spacing: .3em; margin: 0 -.3em 0 0;
  font-size: clamp(2.1rem, 7.2vw, 7.4rem); line-height: 1;
}
.beat--hero p:not(.kicker) { margin: 1.6rem auto 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.7rem); max-width: none; }
.beat--final { left: 50%; top: auto; bottom: 7vh; transform: translate(-50%, 0); text-align: center; width: 92vw; max-width: none; }
.beat--final p:not(.kicker) { margin: 1.4rem auto 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.25; max-width: none; }
.beat--final .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.beat--final .btn { margin-top: 0; }
.wordmark-xl span { display: inline-block; opacity: 0; transform: translateY(.25em); transition: opacity 1.6s var(--ease), transform 1.8s var(--ease-out); }
.is-ready .wordmark-xl span { opacity: 1; transform: none; }
.hero-line { opacity: 0; transition: opacity 1.8s var(--ease) 1.5s; }
.is-ready .hero-line { opacity: .92; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase; opacity: 0; transition: opacity 1.2s var(--ease) 2.6s; pointer-events: none;
}
.is-ready .scroll-cue { opacity: .8; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--ivory), transparent); transform-origin: top; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.rail {
  position: fixed; right: calc(var(--gutter) * .45); top: 50%; transform: translateY(-50%); z-index: 20;
  list-style: none; margin: 0; padding: 0; color: var(--ivory); transition: opacity .6s var(--ease);
}
.rail.is-hidden { opacity: 0; pointer-events: none; }
.rail button {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: none; border: 0; cursor: pointer; padding: 6px 0;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .45; transition: opacity .4s;
}
.rail button span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .6s var(--ease); }
.rail button::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.rail button:hover, .rail button[aria-current="step"] { opacity: 1; }
.rail button[aria-current="step"]::after { width: 30px; }
.rail button:hover span, .rail button[aria-current="step"] span { max-width: 180px; }
.progress { position: fixed; left: 0; bottom: 0; height: 1px; width: 100%; z-index: 20; background: var(--glow); transform-origin: left; transform: scaleX(0); opacity: .8; transition: opacity .6s; }
.progress.is-hidden { opacity: 0; }
.skip-film {
  position: absolute; left: var(--gutter); bottom: 30px; z-index: 3;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--ivory); opacity: .7;
}
.skip-film:hover { opacity: 1; }

/* Static film (reduced motion, no canvas) */
.film--static { padding: 0; }
.film--static .film__stage { display: none; }
.film-static { display: none; }
.film--static .film-static { display: block; }
.still { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; }
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,.75), rgba(12,10,9,.05) 60%); }
.still__copy { position: relative; z-index: 1; padding: 0 var(--gutter) 12vh; max-width: 760px; }
.still__copy p { margin: 1.2rem 0 0; }
.still__copy .btn { margin-top: 1.6rem; margin-right: .6rem; }
.still--hero { align-items: center; text-align: center; }
.still--hero .still__copy { margin: 0 auto; padding-bottom: 0; }

/* ---------- Editorial ---------- */
.section { padding: clamp(96px, 14vw, 200px) var(--gutter); position: relative; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--ivory); }
.section--stone { background: var(--stone); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.num { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; opacity: .55; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; }
.intro .display { font-size: clamp(2.6rem, 5.4vw, 5.6rem); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 140px); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
.fact b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1; display: block; }
.fact b small { font-size: .38em; margin-left: .2em; font-family: var(--sans); letter-spacing: .06em; }
.fact span { display: block; margin-top: 12px; font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 7vw, 140px); align-items: center; }
.split--rev > :first-child { order: 2; }
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.frame:hover img { transform: scale(1.09); }
.frame.in img { transform: scale(1); }
.frame.in:hover img { transform: scale(1.025); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--pano { aspect-ratio: 21 / 9; }
.caption { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.2; margin: 2.6rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* brochure link closing the residences teaser */
.res-brochure { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.res-brochure img { width: clamp(150px, 18vw, 240px); height: auto; box-shadow: 0 18px 40px -18px rgba(31, 25, 21, .45); transition: transform .6s var(--ease-out); }
.res-brochure:hover img, .res-brochure:focus-visible img { transform: translateY(-4px) rotate(-1deg); }
.res-brochure > span { display: grid; gap: 10px; }
.res-brochure .kicker { margin: 0; }
.res-brochure__text { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; max-width: 18em; }
@media (max-width: 520px) { .res-brochure { flex-direction: column; align-items: flex-start; } }
.res-teaser { display: grid; gap: clamp(80px, 10vw, 160px); margin-top: clamp(56px, 7vw, 110px); }
.res-item { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 96px); align-items: end; text-decoration: none; }
.res-item:nth-child(even) { grid-template-columns: 5fr 7fr; }
.res-item:nth-child(even) .frame { order: 2; }
.res-item .frame { aspect-ratio: 3 / 2; }
.res-item .arrow, .res-brochure .arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 1.4rem; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.res-item .arrow::after, .res-brochure .arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.res-item:hover .arrow::after, .res-brochure:hover .arrow::after { width: 56px; }

.life { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; margin-top: clamp(48px, 6vw, 90px); }
.life__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.life__list li { border-bottom: 1px solid var(--line-light); }
.life__btn { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0; display: grid; grid-template-columns: 52px 1fr; align-items: baseline; color: inherit; }
.life__btn b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1; opacity: .4; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.life__btn p { grid-column: 2; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .7s var(--ease), margin .7s var(--ease); max-width: 32em; font-size: 15px; }
.life__btn[aria-expanded="true"] b { opacity: 1; transform: translateX(6px); }
.life__btn[aria-expanded="true"] p { max-height: 8em; opacity: .85; margin-top: 14px; }
.life__media { position: sticky; top: 14vh; aspect-ratio: 4 / 5; overflow: hidden; }
.life__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.1s var(--ease), transform 2.2s var(--ease-out); }
.life__media img.is-on { opacity: 1; transform: none; }
.life__mimg { display: none; }

.arch { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; margin-top: 3rem; }
.notes dt { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .4rem; }
.notes dd { margin: 0; font-size: 14.5px; color: var(--muted); }
.drawings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.drawings .frame { aspect-ratio: 4 / 3; background: #fff; }
.drawings .frame img { object-fit: contain; }
/* project manager + builder under the drawings, linked to their websites */
.arch-team { margin-top: clamp(36px, 3.5vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.arch-team ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.arch-team a { display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.arch-team__txt { display: block; min-width: 0; }
.arch-team img { height: 58px; width: auto; max-width: 80px; flex: none; object-fit: contain; display: block; }
.arch-team__site { display: inline-block; margin-top: 6px; font-size: 13px; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.arch-team a:hover .arch-team__site, .arch-team a:focus-visible .arch-team__site { color: var(--timber); border-color: var(--timber); }
@media (max-width: 520px) { .arch-team ul { grid-template-columns: 1fr; } }
.zoomable { cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }

.loc { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 120px); align-items: center; }
.loc__points { list-style: none; padding: 0; margin: 2rem 0 0; }
.loc__points li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.map { background: var(--ivory); border: 1px solid var(--line); aspect-ratio: 1 / 1; position: relative; }
.map svg { width: 100%; height: 100%; display: block; }
.map__note { position: absolute; left: 16px; bottom: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.map--live { overflow: hidden; background: var(--stone); }
.map--live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.6) contrast(.96); }
.map__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 14px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.map__links { display: flex; gap: 20px; }
.map__links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .4s var(--ease); }
.map__links a:hover { border-color: currentColor; }
.dest { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 2rem; }
.dest div { padding: 14px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.dest div span:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.dest__note { margin: 14px 0 0; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.own { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); }
.dl { margin: 0; border-top: 1px solid var(--line-light); }
.dl div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 14.5px; }
.dl dt { opacity: .6; letter-spacing: .04em; }
.dl dd { margin: 0; }
.timeline { margin-top: 64px; }
.timeline__bar { display: grid; grid-template-columns: 2fr 10fr 8fr 6fr; height: 2px; gap: 3px; margin-bottom: 22px; }
.timeline__bar i { background: var(--glow); opacity: .35; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.timeline__bar i:nth-child(2) { opacity: .55; transition-delay: .15s; } .timeline__bar i:nth-child(3) { opacity: .75; transition-delay: .3s; } .timeline__bar i:nth-child(4) { opacity: 1; transition-delay: .45s; }
.timeline.in .timeline__bar i { transform: none; }
.timeline__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px 24px; }
.timeline__steps div { padding-right: 12px; font-size: 13px; }
.timeline__steps b { display: block; font-weight: 450; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.timeline__steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.15; margin-bottom: 4px; }
#ownership + #presentation { border-top: 1px solid var(--line-light); } /* two night sections in a row */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line-light); padding-top: 18px; font-size: 14px; }
.steps li::before { content: "0" counter(s); display: block; font-size: 10.5px; letter-spacing: .24em; opacity: .55; margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 6px; }

.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 140px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; background: var(--espresso); color: var(--ivory); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__mono { font-family: var(--serif); font-size: clamp(6rem, 14vw, 12rem); line-height: 1; opacity: .9; letter-spacing: -.02em; }
.portrait .ph { position: absolute; left: 20px; bottom: 18px; right: 20px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.9rem; margin-top: 2rem; }

.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 140px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .65; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line-light);
  padding: 10px 0 12px; border-radius: 0; transition: border-color .4s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--glow); }
.field .err { font-size: 12px; color: var(--glow); min-height: 1em; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
.form__status { font-size: 14px; opacity: .85; max-width: 34em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 12px; opacity: .6; grid-column: 1 / -1; }

/* ---------- Footer (redesigned 10/11/2026): claim + links + contact, one partner row, slim bottom bar ---------- */
.footer { background: var(--night); color: var(--ivory); padding: clamp(72px, 9vw, 128px) var(--gutter) 28px; }
.footer h4 { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 450; opacity: .5; margin: 0 0 22px; }
.footer p, .footer a { font-size: 14px; line-height: 1.9; margin: 0; text-decoration: none; color: inherit; }
.footer__main { display: grid; grid-template-columns: 1.25fr .95fr 1fr; gap: clamp(40px, 6vw, 110px); padding-bottom: clamp(56px, 7vw, 96px); }
.footer .footer__logo { height: clamp(78px, 7vw, 100px); width: auto; display: block; margin-bottom: clamp(28px, 3vw, 40px); }
.footer .footer__claim { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1.08; max-width: 13em; margin: 0 0 30px; }
.footer__claim em { color: var(--glow); }
.footer .footer__cta { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 15px 22px; border: 1px solid var(--line-light); border-radius: 999px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.footer__cta span { transition: transform .35s var(--ease); }
.footer .footer__cta:hover, .footer .footer__cta:focus-visible { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.footer__cta:hover span { transform: translateX(4px); }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; }
.footer__nav a { display: inline-block; font-size: 15px; line-height: 2.15; opacity: .78; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.footer__nav a:hover, .footer__nav a:focus-visible { opacity: 1; transform: translateX(4px); }
.footer .footer__company { font-size: 12.5px; opacity: .55; margin-bottom: 12px; }
.footer .footer__big { display: inline-flex; align-items: center; font-family: var(--serif); font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.5; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.footer .footer__big:hover, .footer .footer__big:focus-visible { background-size: 100% 1px; }
.footer__team { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line-light); }
.footer__team h4 { margin: 0; }
.footer__team ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; }
.footer__team li { display: flex; align-items: center; }
.footer__team a, .footer__team li > div { display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.footer__team img { width: 84px; height: 62px; object-fit: contain; flex: none; }
.footer__team img.is-invert { filter: invert(1) brightness(.95); }
.footer__team span { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.footer__team small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .5; margin-bottom: 5px; }
.footer__team i { font-style: normal; font-family: var(--sans); font-size: .8em; opacity: 0; transition: opacity .3s var(--ease); }
.footer__team a:hover i { opacity: .7; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 11.5px; letter-spacing: .04em; }
.footer__bottom > span { opacity: .5; }
.footer__up { background: none; border: 0; padding: 6px 0; color: inherit; font: inherit; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; opacity: .75; cursor: pointer; transition: opacity .3s var(--ease); }
.footer__up:hover { opacity: 1; }
@media (max-width: 1080px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: 1 / -1; }
  .footer__team { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__team ul { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Placeholders — visible on purpose while the content is under review */
.ph {
  display: inline-block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px dashed currentColor; padding: 3px 8px; opacity: .6; line-height: 1.5;
}

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; } .rv-d2 { transition-delay: .24s; } .rv-d3 { transition-delay: .36s; }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20,17,15,.96); }
.lightbox::backdrop { background: rgba(20,17,15,.6); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 64px 24px 24px; background: transparent; }
.lightbox button { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: var(--ivory); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; padding: 10px; }
.lightbox--plan img { background: #fff; padding: 24px; }

/* Cursor (desktop, fine pointer) */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--glow); mix-blend-mode: difference; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .4s; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(237,190,134,.2); border: 1px solid var(--glow); mix-blend-mode: normal; }

/* ---------- Residences page ---------- */
.page-hero { position: relative; min-height: 88vh; display: grid; align-items: end; color: var(--ivory); background: var(--night); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,.75), rgba(12,10,9,.1) 60%, rgba(12,10,9,.35)); }
.page-hero__copy { position: relative; z-index: 1; padding: 0 var(--gutter) 10vh; max-width: 1100px; }
.subnav { position: sticky; top: 0; z-index: 30; background: rgba(244,239,231,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 32px; overflow-x: auto; max-width: var(--max); scrollbar-width: none; }
.subnav a { display: block; padding: 16px 0; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; white-space: nowrap; opacity: .6; border-bottom: 1px solid transparent; }
.subnav a:hover, .subnav a.is-active { opacity: 1; border-color: currentColor; }
.residence__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
.residence__n { font-family: var(--serif); font-size: clamp(4rem, 10vw, 9rem); line-height: .8; color: var(--timber); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 38vw); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 18px; margin: clamp(48px, 6vw, 90px) calc(var(--gutter) * -1) 0; scrollbar-width: thin; }
.gallery .frame { aspect-ratio: 4 / 5; scroll-snap-align: start; }
.gallery .frame:first-child { grid-column: span 1; }
.res-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); margin-top: clamp(56px, 7vw, 110px); align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); }
.plan img { width: 100%; }
.schedule { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.schedule caption { text-align: left; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; padding-bottom: 14px; }
.schedule th, .schedule td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 350; }
.schedule td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule tr:first-child th, .schedule tr:first-child td { border-top: 1px solid var(--line); }
.meta { margin-top: 32px; display: grid; gap: 0; }
.meta div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; text-align: right; }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; max-width: 40em; }
.shared { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.shared article .frame { aspect-ratio: 4 / 3; }
.shared article .plan { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .shared { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header { grid-template-columns: auto 1fr auto; padding: 16px var(--gutter); }
  .header__brand { grid-column: 2; }
  .header__brand .wordmark { font-size: 13px; letter-spacing: .28em; }
  .header__label, .header__cta, .sound-label { display: none; }
  .menu { grid-template-columns: 1fr; }
  .menu__aside { display: none; }
  .menu__contact { position: static; padding: 32px var(--gutter) 0; }
  .menu__nav { justify-content: flex-start; padding-top: 96px; }
  .rail { display: none; }
  .beat { max-width: none; left: var(--gutter) !important; right: var(--gutter) !important; bottom: 11vh; }
  .beat--center, .beat--hero { left: 50% !important; right: auto !important; bottom: auto; }
  .beat--final { left: 50% !important; right: auto !important; bottom: 8vh; }
  .beat .display { font-size: clamp(2.1rem, 9.4vw, 3.2rem); }
  .beat--hero .wordmark-xl, .beat--final .wordmark-xl { font-size: clamp(1.6rem, 8.6vw, 3rem); letter-spacing: .22em; margin-right: -.22em; }
  .film__grade { background: linear-gradient(to bottom, rgba(12,10,9,.55), rgba(12,10,9,0) 24%), linear-gradient(to top, rgba(12,10,9,.82) 0%, rgba(12,10,9,0) 58%); }
  .skip-film { bottom: 22px; }
  .scroll-cue { bottom: 22px; left: auto; right: var(--gutter); transform: none; }
  .intro, .split, .arch, .loc, .own, .story, .form-wrap, .life, .res-item, .res-item:nth-child(even), .res-body { grid-template-columns: 1fr; }
  .split--rev > :first-child, .res-item:nth-child(even) .frame { order: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-bottom: 28px; }
  .notes, .drawings, .dest { grid-template-columns: 1fr; }
  .life__media { display: none; }
  .life__mimg { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: 6px 0 4px; }
  .life__mimg img { width: 100%; height: 100%; object-fit: cover; }
  .life__btn p { max-height: none; opacity: .85; margin-top: 12px; }
  .life__btn b { opacity: 1; }
  .form { grid-template-columns: 1fr; }
  .timeline__bar, .timeline__steps { grid-template-columns: 1fr; }
  .timeline__bar { display: none; }
  .timeline__steps div { border-left: 2px solid var(--glow); padding: 4px 0 18px 16px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 78vw; }

  .dl div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .frame img { transform: none !important; }
}

/* Local scrim behind film copy, scaled with the beat's own opacity */
.beat::before { content: ""; position: absolute; inset: -18% -22% -18% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(12,10,9,.5), rgba(12,10,9,.22) 60%, rgba(12,10,9,0)); }
.beat--bottom-left::before { inset: -120% -30%; }
.beat--hero::before, .beat--final::before { inset: -10% 8%; background: radial-gradient(closest-side, rgba(12,10,9,.42), rgba(12,10,9,0)); }
.scroll-cue.is-gone { opacity: 0 !important; transition: opacity .6s var(--ease); }
.beat--final .wordmark-xl { font-size: clamp(1.8rem, 4.6vw, 4.6rem); }
.beat--final p:not(.kicker) { font-size: clamp(1.2rem, 1.9vw, 1.7rem); }
.skip-film.is-gone { opacity: 0; pointer-events: none; }
.still .display.wordmark { font-size: clamp(1.7rem, 7.4vw, 5.4rem); letter-spacing: .24em; margin-right: -.24em; white-space: normal; }

/* Team / partners */
.team { padding: 44px 0 52px; border-bottom: 1px solid var(--line-light); }
.team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team__item a { text-decoration: none; display: block; }
/* every logo sits in the same 112 px band, so roles and names line up */
.team__item img { box-sizing: border-box; height: 92px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 10px 0 28px; }
.team__item--invert img { filter: invert(1) brightness(.95); }
.team__item--plate img { background: var(--ivory); padding: 10px 14px; height: 112px; margin: 0 0 18px; }
.team__role { display: block; font-size: 10.5px; line-height: 1.6; letter-spacing: .26em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.team__name { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.lang-btn { min-width: 28px; justify-content: center; }
@media (max-width: 860px) { .team__list { grid-template-columns: 1fr; } }
.story__crest { width: 84px; height: auto; margin-top: 2.2rem; }
.portrait img { filter: none; }

/* ---------- Owner page ---------- */
.owner-hero { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: #0f0e0d; color: var(--ivory); }
.owner-hero__copy { align-self: end; padding: 0 var(--gutter) 14vh; }
.owner-hero__copy .display { font-size: clamp(2.6rem, 5.2vw, 5.6rem); }
.owner-hero__name { margin: 2rem 0 0; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; opacity: .7; }
.owner-hero__portrait { position: relative; overflow: hidden; }
.owner-hero__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.owner-hero__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #0f0e0d, rgba(15,14,13,0) 30%); }
.owner-text .h2 { max-width: 16em; }
.owner-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.owner-cols p { margin: 0 0 1.3rem; font-size: 16.5px; line-height: 1.75; }
.owner-drop::first-letter { font-family: var(--serif); float: left; font-size: 5.2em; line-height: .82; padding: .06em .12em 0 0; color: var(--timber); }
.owner-accent { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem) !important; line-height: 1.25 !important; }
.owner-accent--strong { font-style: italic; color: var(--timber-deep); }
.owner-quote { margin: clamp(64px, 8vw, 120px) auto; max-width: 22em; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.15; }
.owner-sign__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 140px); align-items: center; }
.owner-sign__brand { text-align: center; }
.owner-crest { width: 150px; height: auto; margin: 0 auto 1.6rem; }
.owner-signoff { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
.owner-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2.2rem; }
.owner-team { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.owner-team img { height: 120px; width: auto; max-width: 100%; object-fit: contain; display: block; margin-bottom: 20px; }
@media (max-width: 860px) {
  .owner-hero { grid-template-columns: 1fr; grid-template-rows: 62vh auto; }
  .owner-hero__portrait { order: -1; }
  .owner-hero__portrait::after { background: linear-gradient(to top, #0f0e0d, rgba(15,14,13,0) 40%); }
  .owner-hero__copy { padding: 8px var(--gutter) 64px; }
  .owner-cols, .owner-sign__grid, .owner-team { grid-template-columns: 1fr; }
}

/* ---------- Official logo ---------- */
.brand-logo { height: 30px; width: auto; display: block; transition: opacity .6s var(--ease); }
.brand-logo--dark { display: none; }
.header[data-tone="dark"] .brand-logo--light { display: none; }
.header[data-tone="dark"] .brand-logo--dark { display: block; }
.film-logo { margin: 0; line-height: 0; }
.film-logo img { width: auto; margin: 0 auto; display: block; filter: drop-shadow(0 6px 30px rgba(0,0,0,.45)); }
.film-logo--hero img { height: clamp(170px, 40vh, 400px); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity 2.4s var(--ease) .3s, transform 3s var(--ease-out) .3s; }
.is-ready .film-logo--hero img { opacity: 1; transform: none; }
.film-logo--final img { height: clamp(120px, 22vh, 230px); }
.film-logo--static img { height: clamp(150px, 30vh, 320px); margin: 0 auto 1rem; }
.beat--hero .kicker { margin-bottom: 1.8rem; }
@media (max-width: 860px) {
  .brand-logo { height: 24px; }
  .film-logo--hero img { height: clamp(150px, 30vh, 260px); }
  .film-logo--final img { height: clamp(100px, 17vh, 160px); }
}
.header__brand { transition: opacity .8s var(--ease); }
.logo-in-film .header__brand { opacity: 0; pointer-events: none; }
@media (max-height: 640px) {
  .film-logo--hero img { height: 30vh; }
  .beat--hero .kicker { margin-bottom: .8rem; }
  .beat--hero p:not(.kicker) { margin-top: .8rem; font-size: 1.05rem; }
  .scroll-cue { display: none; }
  .film-logo--final img { height: 17vh; }
  .beat--final { bottom: 4vh; }
  .beat--final p:not(.kicker) { font-size: 1.05rem; margin-top: .6rem; }
  .beat--final .ctas { margin-top: 1rem; gap: 8px; }
  .beat--final .btn { padding: .65rem 1rem; font-size: 10px; }
}

/* WhatsApp contact link: app icon + number */
.wa-icon { width: 1.15em; height: 1.15em; fill: #25D366; vertical-align: -0.22em; margin-right: .5em; flex: none; }

/* ---------- Feature: full-bleed highlight of the building ---------- */
.feature { position: relative; min-height: 112vh; min-height: 112svh; overflow: hidden; color: var(--ivory); background: var(--night); display: grid; align-items: end; }
.feature__media { position: absolute; inset: 0; overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; transform: scale(1.14); will-change: transform; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,.82) 0%, rgba(12,10,9,.35) 38%, rgba(12,10,9,0) 62%), linear-gradient(to right, rgba(12,10,9,.35), rgba(12,10,9,0) 55%); }
.feature__copy { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(64px, 11vh, 140px); max-width: 980px; }
.feature__copy .display { font-size: clamp(2.6rem, 6vw, 6.2rem); }
.feature__copy .lede { margin-top: 1.6rem; max-width: 34em; opacity: .9; }
.feature__caption { margin: 2.2rem 0 0; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .6; }
@media (max-width: 860px) {
  .feature { min-height: 100svh; }
  .feature__media img { object-position: 30% 50%; }
}
.feature-strip { background: var(--night); color: var(--ivory); padding: 16px var(--gutter) clamp(72px, 9vw, 130px); }
.feature-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-strip .frame { aspect-ratio: 4 / 5; }
.feature-strip .caption { color: var(--ivory); opacity: .6; }
@media (max-width: 860px) { .feature-strip__grid { grid-template-columns: 1fr; } .feature-strip .frame { aspect-ratio: 4 / 3; } }

/* ---------- The Rooftop section ---------- */
.rooftop { padding-top: clamp(56px, 7vw, 100px); }
.rooftop__facts { margin-top: 0; border-top-color: var(--line-light); }
.rooftop__facts .fact span { color: var(--ivory); opacity: .65; }
.rooftop__details { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.rooftop__details .lede { opacity: .88; }
.rooftop__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.rooftop__list li { padding: 15px 0; border-bottom: 1px solid var(--line-light); font-size: 15.5px; }
.rooftop__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.rooftop__ctas .btn { font-family: var(--sans); }
.rooftop__gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 19vw, 300px); gap: 14px; margin-top: clamp(64px, 8vw, 120px); }
.rooftop__gallery .frame { position: relative; height: 100%; }
.rooftop__gallery .frame img { height: 100%; }
.rooftop__lead { grid-column: span 2; grid-row: span 2; }
.rooftop__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.rooftop__gallery .frame::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(12,10,9,.6), rgba(12,10,9,0)); pointer-events: none; }
@media (max-width: 860px) {
  .rooftop__details { grid-template-columns: 1fr; }
  .rooftop__gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .rooftop__lead { grid-column: span 2; grid-row: span 1; }
}
.btn.zoomable { width: auto; display: inline-flex; padding: 1rem 1.6rem; border: 1px solid rgba(244,239,231,.55); cursor: zoom-in; }
#rooftop .feature__media img { object-position: 100% 62%; }
#rooftop .feature__copy { max-width: 640px; margin-left: auto; }
#rooftop .feature__media::after { background: linear-gradient(to top, rgba(12,10,9,.8) 0%, rgba(12,10,9,.3) 40%, rgba(12,10,9,0) 65%), linear-gradient(to left, rgba(12,10,9,.6), rgba(12,10,9,0) 55%); }
@media (max-width: 860px) { #rooftop .feature__media img { object-position: 55% 60%; } #rooftop .feature__copy { max-width: none; margin-left: 0; } }
@media (max-width: 860px) {
  #rooftop { align-items: start; }
  #rooftop .feature__copy { padding-top: 92px; padding-bottom: 0; }
  #rooftop .feature__copy .display { font-size: clamp(2.2rem, 10vw, 3rem); }
  #rooftop .feature__copy .lede { font-size: 15px; }
  #rooftop .feature__media::after { background: linear-gradient(to bottom, rgba(12,10,9,.85) 0%, rgba(12,10,9,.55) 45%, rgba(12,10,9,0) 62%), linear-gradient(to top, rgba(12,10,9,.6), rgba(12,10,9,0) 25%); }
  #rooftop .feature__media img { object-position: 52% 80%; }
}

/* ---------- Residences: list of the 18 residences ---------- */
.res-list__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.res-list .lede { opacity: .85; }
.res-list__table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.res-list__table thead th { font-weight: 450; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--glow); text-align: left; padding: 0 0 14px; }
.res-list__table tbody th, .res-list__table td { padding: 16px 0; border-top: 1px solid var(--line-light); font-weight: 350; text-align: left; }
.res-list__table tbody tr:last-child th, .res-list__table tbody tr:last-child td { border-bottom: 1px solid var(--line-light); }
.res-list__table tbody th a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.res-list__table tbody th a:hover { background-size: 100% 1px; }
.res-list__table .c1 { text-align: right; padding-right: 28px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-list__table .c2 { text-align: center; width: 70px; }
.res-list__table .c3 { opacity: .7; white-space: nowrap; }
.res-list__table thead .c1 { text-align: right; padding-right: 28px; } .res-list__table thead .c2 { text-align: center; }
.res-list__prices { margin-top: 2.2rem; }
.res-list__prices p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.35; }
@media (max-width: 860px) {
  .res-list__grid { grid-template-columns: 1fr; }
  .res-list__table { font-size: 14px; }
  .res-list__table .c1 { padding-right: 12px; } .res-list__table .c2 { width: 44px; }
  .res-list__table .c3 { white-space: normal; }
}
.res-list__table .c3 { padding-left: 16px; }
@media (max-width: 860px) { .res-list__table thead th { letter-spacing: .14em; font-size: 9.5px; } .res-list__table .c3 { padding-left: 10px; } }

/* ---------- Brochure (flip-book, brochure.html) ---------- */
.brochure { min-height: 100vh; padding-top: clamp(120px, 13vw, 180px); padding-bottom: clamp(72px, 9vw, 140px); }
.brochure__head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 64px); }
.brochure__note { opacity: .6; }
.brochure__download { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 15px 24px; border: 1px solid var(--line-light); border-radius: 999px; color: var(--ivory); text-decoration: none; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.brochure__download span { font-size: 15px; letter-spacing: 0; }
.brochure__download small { font-size: 10px; letter-spacing: .14em; opacity: .55; }
.brochure__download:hover, .brochure__download:focus-visible { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
a.brochure__btn { text-decoration: none; }
.brochure__download { white-space: nowrap; }
@media (max-width: 520px) { .brochure__download { gap: 10px; padding: 14px 18px; font-size: 10.5px; letter-spacing: .14em; } .brochure__download small { letter-spacing: .08em; } }
.brochure__stage { max-width: 1500px; margin: 0 auto; }
.book { margin: 0 auto; }
.book__page { background: var(--espresso); overflow: hidden; }
.book__page img { width: 100%; height: 100%; object-fit: cover; -webkit-user-select: none; user-select: none; pointer-events: none; }
.brochure__bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 32px; }
.brochure__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: none; color: var(--ivory); font-size: 18px; line-height: 1; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.brochure__btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.brochure__btn--text { width: auto; padding: 0 24px; border-radius: 999px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.brochure__count { min-width: 7.5em; text-align: center; font-size: 12px; letter-spacing: .2em; font-variant-numeric: tabular-nums; opacity: .8; }
.brochure__hint { margin: 18px 0 0; text-align: center; font-size: 12px; opacity: .5; }
.lightbox.brochure-zoom { overflow: auto; overscroll-behavior: contain; }
.lightbox.brochure-zoom button { position: fixed; z-index: 2; }
.lightbox.brochure-zoom .brochure-zoom__pages { display: flex; flex-direction: column; align-items: center; gap: 16px; min-height: 100%; padding: 64px 16px 24px; }
.lightbox.brochure-zoom img { width: min(100%, 1400px); height: auto; padding: 0; object-fit: contain; }
@media (max-width: 860px) {
  .brochure__bar { margin-top: 24px; }
  .brochure__btn--text { order: 4; }
}

/* ==========================================================================
   VARIANTE « MENU HORIZONTAL » (proposition client, 16/11/2026)
   Logo à gauche, rubriques en ligne, actions à droite. Police sans empattement
   simple, tout en capitales. Entre 861 et 1239 px : rubriques sur une 2e ligne. Sous 861 px : bouton Menu + panneau plein écran.
   ========================================================================== */
.header--bar { grid-template-columns: auto 1fr auto; column-gap: 40px; }
.header--bar .header__brand { grid-column: 1; justify-self: start; }
.header--bar .header__nav { justify-self: center; }
.header--bar .header__nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(18px, 1.9vw, 34px); }
.header--bar .header__nav a,
.header--bar .header__btn {
  font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.header--bar .header__nav a {
  position: relative; display: inline-block; padding: 8px 0; opacity: .82; transition: opacity .3s;
}
.header--bar .header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.header--bar .header__nav a:hover, .header--bar .header__nav a.is-current { opacity: 1; }
.header--bar .header__nav a:hover::after, .header--bar .header__nav a.is-current::after { transform: scaleX(1); }
.header--bar .header__right { gap: 24px; }
.header--bar .header__cta { border: 1px solid currentColor; padding: 10px 18px; border-bottom-width: 1px; transition: background .35s, color .35s; }
.header--bar .header__cta:hover { background: var(--header-fg); color: var(--night); }
.header[data-tone="dark"].header--bar .header__cta:hover { color: var(--ivory); }
.header--bar .sound-label { display: none; }
.header--bar .header__menu { display: none; gap: 12px; }
.header--bar .header__menu .burger::after { right: 0; left: 8px; }

/* Panneau plein écran (tablette / mobile) : même police simple, en capitales */
.menu__nav a {
  font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 2.3;
}
.menu__nav a::before { display: none; }
.menu__close { font-family: var(--sans); }
.menu__contact { text-transform: none; }

/* 861–1239 px : le menu reste horizontal, sur une seconde ligne sous le logo et les actions */
@media (min-width: 861px) and (max-width: 1239px) {
  .header--bar { grid-template-columns: auto 1fr auto; grid-template-areas: "brand . right" "nav nav nav"; row-gap: 10px; }
  .header--bar .header__brand { grid-area: brand; }
  .header--bar .header__right { grid-area: right; }
  .header--bar .header__nav { grid-area: nav; justify-self: center; }
  .header--bar .header__nav ul { gap: clamp(14px, 2.1vw, 28px); }
  .header--bar .header__nav a { font-size: 10.5px; letter-spacing: .13em; padding: 4px 0; }
}
@media (max-width: 860px) {
  .header--bar .header__nav { display: none; }
  .header--bar .header__menu { display: inline-flex; }
}
@media (max-width: 860px) {
  .header--bar { grid-template-columns: auto 1fr auto; }
  .header--bar .header__brand { grid-column: 1; }
  .header--bar .header__right { grid-column: 3; gap: 18px; }
  .header--bar .header__label { display: none; }
}
/* écrans 1240–1439 px : version compacte pour garder une seule ligne */
@media (min-width: 1240px) and (max-width: 1439px) {
  .header--bar { column-gap: 26px; }
  .header--bar .header__nav ul { gap: 17px; }
  .header--bar .header__nav a, .header--bar .header__btn { font-size: 10.5px; letter-spacing: .12em; }
  .header--bar .header__right { gap: 18px; }
  .header--bar .header__cta { padding: 9px 14px; }
}

/* ---------- Appartements : plans comme la brochure (feuille blanche, légendes en serif) ---------- */
.res-sheet { background: #fff; display: grid; gap: clamp(24px, 4vw, 72px); align-items: end; padding: clamp(24px, 4.5vw, 72px); margin-top: clamp(56px, 7vw, 110px); color: var(--ink); }
.res-sheet__fig { margin: 0; }
.res-sheet .plan { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.res-sheet .plan img { width: 100%; height: auto; display: block; }
.res-sheet__fig figcaption { margin-top: 18px; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; }
.res-sheet__note { grid-column: 1 / -1; margin: 0; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; opacity: .5; }
.res-sheet--single { margin-top: 0; justify-items: center; }
.res-sheet--single .res-sheet__fig { max-width: min(100%, 400px); }
.res-sheet--single .res-sheet__note { text-align: center; }
.res-body--drawn { grid-template-columns: 7fr 5fr; margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 860px) {
  .res-sheet, .res-body--drawn { grid-template-columns: 1fr !important; }
}

/* menu toujours visible : les ancres s'arrêtent sous la barre */
html { scroll-padding-top: 72px; }
@media (min-width: 861px) and (max-width: 1239px) { html { scroll-padding-top: 110px; } }
.header--bar.is-hidden { transform: none; }
