/* Mayfair Grand Residences
   Layout: an editorial London townhouse page. Deep Grosvenor night grounds, Portland stone bands,
   champagne gilt hairlines, Bodoni Moda display set large, Jost for everything practical. */

:root {
  --night: #0B1422;
  --night-2: #0F1A2B;
  --navy: #162740;
  --ivory: #EDE6D6;
  --ivory-2: #B9B4A9;
  --ivory-3: #8C8B88;
  --line-d: rgba(237, 230, 214, 0.14);
  --line-d2: rgba(237, 230, 214, 0.28);
  --stone: #F1EDE6;
  --stone-2: #E6DFD2;
  --ink: #0E1726;
  --ink-2: #4A5262;
  --line-l: rgba(14, 23, 38, 0.14);
  --line-l2: rgba(14, 23, 38, 0.3);
  --gilt: #C4A572;
  --gilt-2: #DCC69C;
  --gilt-ink: #7A5F33;
  --park: #17291F;
  --park-2: #1D3427;
  --water: #13243A;
  --danger: #E79A82;

  --f-display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --f-sans: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', 'Segoe UI', sans-serif;

  --side: clamp(20px, 4.2vw, 72px);
  --max: 1560px;
  --head-h: 88px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --sec: clamp(96px, 12vw, 184px);

  color-scheme: dark;
}

@media (max-width: 760px) {
  :root { --head-h: 70px; }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* paint the safe area band above the fixed header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 90;
  background: var(--night);
}

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; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
::selection { background: var(--gilt); color: var(--night); }

:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; border-radius: 1px; }
.is-light :focus-visible { outline-color: var(--gilt-ink); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--gilt); color: var(--night); padding: 12px 18px; font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(64px, 8vw, 120px); }
.is-light { background: var(--stone); color: var(--ink); color-scheme: light; }
.is-light-2 { background: var(--stone-2); color: var(--ink); color-scheme: light; }
.is-night-2 { background: var(--night-2); }

.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- type ---------- */
.d-hero, .d1, .d2, .d3, .d4 { font-family: var(--f-display); font-optical-sizing: auto; text-wrap: balance; }
.d-hero { font-size: clamp(3.5rem, 8.2vw, 9.6rem); line-height: 0.93; letter-spacing: -0.022em; font-weight: 400; }
.d1 { font-size: clamp(3rem, 6.4vw, 6.9rem); line-height: 0.96; letter-spacing: -0.02em; }
.d2 { font-size: clamp(2.35rem, 4.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.015em; }
.d3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; }
.d4 { font-size: clamp(1.3rem, 1.7vw, 1.7rem); line-height: 1.22; }
.it { font-style: italic; }
.lead { font-family: var(--f-display); font-size: clamp(1.32rem, 1.9vw, 1.85rem); line-height: 1.45; letter-spacing: -0.005em; text-wrap: pretty; }
.body-l { font-size: clamp(1.06rem, 1.2vw, 1.18rem); line-height: 1.75; text-wrap: pretty; }
.muted { color: var(--ivory-2); }
.is-light .muted, .is-light-2 .muted { color: var(--ink-2); }
.small { font-size: 0.875rem; line-height: 1.6; }
.label {
  font-family: var(--f-sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; line-height: 1.4;
}
.gilt { color: var(--gilt); }
.is-light .gilt, .is-light-2 .gilt { color: var(--gilt-ink); }
.measure { max-width: 34em; }
.measure-s { max-width: 26em; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- buttons and links ---------- */
.btn {
  --bg: var(--gilt); --fg: var(--night); --bg2: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.25s var(--ease), color 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg2);
  transform: translateY(101%); border-radius: inherit; transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn--ghost { --bg: transparent; --fg: var(--ivory); --bg2: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-d2); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--night); }
.is-light .btn--ghost, .is-light-2 .btn--ghost { --fg: var(--ink); --bg2: var(--ink); box-shadow: inset 0 0 0 1px var(--line-l2); }
.is-light .btn--ghost:hover, .is-light-2 .btn--ghost:hover { color: var(--stone); }
.is-light .btn:not(.btn--ghost), .is-light-2 .btn:not(.btn--ghost) { --bg: var(--ink); --fg: var(--stone); --bg2: var(--gilt-ink); }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }

.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: 0.02em; padding-block: 6px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0.28); transform-origin: left; transition: transform 0.6s var(--ease);
}
.tlink:hover::after, .tlink:focus-visible::after { transform: scaleX(1); }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: env(safe-area-inset-top, 0px) 0 auto 0; z-index: 80;
  height: var(--head-h);
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hdr__in {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hdr.is-solid { background: rgba(11, 20, 34, 0.96); box-shadow: 0 1px 0 var(--line-d); }
.hdr.is-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
.brand { display: inline-flex; align-items: center; color: var(--ivory); }
.brand svg { height: 48px; width: auto; }
.brand .lg-e { color: var(--gilt); }
.brand .lg-s { color: var(--gilt); }
@media (max-width: 760px) { .brand svg { height: 36px; } }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__a { position: relative; font-size: 0.95rem; letter-spacing: 0.02em; padding: 10px 0; color: var(--ivory); }
.nav__a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gilt);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__a:hover::after, .nav__a[aria-current="page"]::after, .nav__a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.hdr__cta { display: flex; align-items: center; gap: 14px; }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-d2); transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.menu-btn:hover { box-shadow: inset 0 0 0 1px var(--gilt); }
.menu-btn span { display: block; width: 18px; height: 1px; background: var(--ivory); position: relative; transition: transform 0.4s var(--ease); }
.menu-btn span::after { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 1px; background: var(--ivory); transition: width 0.4s var(--ease); }
.menu-btn span::before { content: ""; position: absolute; left: 0; top: -6px; width: 18px; height: 1px; background: var(--ivory); }
.menu-btn:hover span::after { width: 18px; }
@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 560px) { .hdr__cta .btn { display: none; } }

/* ---------- full screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 120; background: var(--night);
  display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  clip-path: circle(0px at calc(100% - 60px) 44px);
  visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu__top { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; }
.menu__close { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d2); }
.menu__close svg { width: 18px; height: 18px; stroke: var(--ivory); }
.menu__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-content: center; padding-block: 24px; overflow: auto; }
.menu__main a {
  display: block; font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.06;
  letter-spacing: -0.015em; padding-block: 4px; color: var(--ivory); transition: color 0.3s var(--ease), transform 0.5s var(--ease);
}
.menu__main a:hover, .menu__main a:focus-visible { color: var(--gilt); transform: translateX(10px); }
.menu__main .mi { display: block; overflow: hidden; }
.menu__side { display: grid; gap: 28px; align-content: center; }
.menu__side h3 { color: var(--gilt); }
.menu__side ul a { display: block; padding: 7px 0; font-size: 1.05rem; color: var(--ivory-2); transition: color 0.3s; }
.menu__side ul a:hover { color: var(--ivory); }
.menu__foot { padding-block: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--ivory-2); font-size: 0.9rem; }
@media (max-width: 860px) {
  .menu__body { grid-template-columns: 1fr; align-content: start; padding-top: 12px; }
  .menu__side { align-content: start; }
}

/* ---------- veil (page transitions) ---------- */
.veil {
  position: fixed; inset: 0; z-index: 150; background: var(--night); pointer-events: none;
  display: grid; place-items: center; visibility: hidden;
}
.veil.is-on { visibility: visible; pointer-events: all; }
.veil svg { width: 84px; height: 84px; color: var(--gilt); }

/* ---------- preloader ---------- */
.pre {
  position: fixed; inset: 0; z-index: 160; background: var(--night); display: grid; place-items: center;
  visibility: hidden;
}
.js .pre.is-on { visibility: visible; }
.pre__in { display: grid; justify-items: center; gap: 26px; }
.pre__em { width: 120px; height: 120px; color: var(--gilt); }
.pre__wm { width: min(420px, 74vw); color: var(--ivory); }
.pre__wm .lg-s { color: var(--gilt); }
.pre__bar { width: 160px; height: 1px; background: var(--line-d); overflow: hidden; }
.pre__bar span { display: block; height: 100%; background: var(--gilt); transform: scaleX(0); transform-origin: left; }

/* ---------- cursor label ---------- */
.cur {
  position: fixed; left: 0; top: 0; z-index: 140; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; background: var(--gilt); color: var(--night); display: grid; place-items: center;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; pointer-events: none;
  transform: scale(0); opacity: 0;
}
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* ---------- home hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; background: var(--night); overflow: clip; }
.hero__pin { --r: min(21vw, 33vh); --cx: 74%; --cy: 52%; position: relative; height: 100%; width: 100%; overflow: clip; }
.hero__film {
  position: absolute; inset: 0; z-index: 2; background: var(--navy);
  clip-path: circle(calc(var(--r) * var(--k, 1)) at var(--cx) var(--cy));
}
.hero__video, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__poster { opacity: 1; }
.hero__video.is-on { opacity: 1; }
.hero__ring {
  position: absolute; left: var(--cx, 74%); top: var(--cy, 55%);
  width: calc(var(--r, 21vw) * 2 + 72px); height: calc(var(--r, 21vw) * 2 + 72px);
  transform: translate(-50%, -50%); pointer-events: none; color: var(--gilt); z-index: 3;
}
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.hero__ring .spin { transform-origin: 50% 50%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__copy {
  position: absolute; left: 0; right: 0; top: calc(var(--head-h) + clamp(28px, 7vh, 96px)); z-index: 1;
  pointer-events: none;
}
.hero__copy .wrap > * { pointer-events: auto; }
.hero__h { max-width: 9.4em; }
.hero__h .l { display: block; }
.hero__h .l2 { padding-left: 0.55em; }
.hero__h .l3 { padding-left: 1.1em; }
.hero__sub { margin-top: clamp(22px, 3.4vh, 40px); max-width: 25em; color: var(--ivory-2); }
.hero__ctas { margin-top: clamp(24px, 3.6vh, 40px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 4;
}
.hero__meta .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory-2); font-size: 0.85rem; letter-spacing: 0.04em; }
.hero__scroll i { width: 1px; height: 42px; background: var(--line-d2); position: relative; overflow: hidden; display: block; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gilt); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }
.cap {
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 999px;
  background: rgba(11, 20, 34, 0.86); box-shadow: inset 0 0 0 1px var(--line-d);
}
.cap__place { font-size: 0.9rem; letter-spacing: 0.02em; min-width: 15.5em; }
.cap__place span { display: inline-block; }
.cap__bars { display: flex; gap: 4px; }
.cap__bars i { display: block; width: 14px; height: 2px; background: var(--line-d2); position: relative; overflow: hidden; border-radius: 2px; }
.cap__bars i b { position: absolute; inset: 0; background: var(--gilt); transform: scaleX(0); transform-origin: left; }
.cap__bars i.done b { transform: scaleX(1); }
.cap__btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d2); flex: none; }
.cap__btn svg { width: 14px; height: 14px; fill: var(--ivory); }
@media (max-width: 900px) {
  .hero__pin { --r: min(38vw, 21vh); --cx: 50%; --cy: 67%; }
  .hero__sub { display: none; }
  .hero__h { max-width: none; }
  .hero__ctas { gap: 10px; margin-top: clamp(18px, 3vh, 28px); }
  .hero__ctas .btn { min-height: 44px; padding: 0 18px; font-size: 0.86rem; }
  .cap__place { min-width: 0; }
  .cap__bars { display: none; }
  .hero__scroll { display: none; }
  .hero__meta .wrap { justify-content: center; }
}
@media (max-width: 900px) and (min-height: 700px) { .hero__h { font-size: clamp(3.2rem, 15vw, 5.6rem); } }

/* ---------- statement ---------- */
.state { display: grid; gap: clamp(48px, 6vw, 88px); }
.state__p { font-family: var(--f-display); font-size: clamp(1.9rem, 3.5vw, 3.55rem); line-height: 1.18; letter-spacing: -0.012em; max-width: 21em; text-wrap: pretty; }
.state__p .w { display: inline; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.fact { padding: 28px 24px 4px 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-l); }
.fact b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -0.02em; }
.fact span { font-size: 0.95rem; color: var(--ink-2); max-width: 14em; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-l); }
}

/* ---------- section heads ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.shead p { max-width: 30em; }
@media (max-width: 860px) { .shead { grid-template-columns: 1fr; } }

/* ---------- residences horizontal ---------- */
.rh { position: relative; background: var(--night); }
.rh__pin { position: relative; }
.rh__head { padding-top: var(--sec); }
.rh__track {
  display: flex; gap: clamp(18px, 2vw, 32px); padding-bottom: clamp(56px, 7vw, 112px);
  padding-left: max(var(--side), env(safe-area-inset-left, 0px)); padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}
.rcard { flex: none; width: min(82vw, 30rem); display: grid; gap: 22px; align-content: start; }
.rcard__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.rcard:hover .rcard__img img { transform: scale(1.1); }
.rcard__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(237, 230, 214, 0.06); pointer-events: none; }
.rcard__name { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.rcard__name h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.1vw, 2.15rem); line-height: 1.1; letter-spacing: -0.01em; }
.rcard__name h3 a::after { content: ""; position: absolute; inset: 0; }
.rcard { position: relative; }
.rcard__rate { font-size: 0.9rem; color: var(--gilt); white-space: nowrap; }
.rcard__area { color: var(--ivory-2); font-size: 0.95rem; }
.rcard__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--ivory); border-top: 1px solid var(--line-d); padding-top: 14px; }
.rcard__facts span b { font-weight: 500; }
.rcard--end { width: min(82vw, 24rem); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(28px, 3vw, 48px); box-shadow: inset 0 0 0 1px var(--line-d); }
.rh__progress { position: absolute; left: max(var(--side), env(safe-area-inset-left, 0px)); right: max(var(--side), env(safe-area-inset-right, 0px)); bottom: clamp(28px, 3vw, 48px); height: 1px; background: var(--line-d); display: none; }
.rh__progress span { display: block; height: 100%; background: var(--gilt); transform: scaleX(0); transform-origin: left; }
@media (min-width: 1024px) {
  .rh.is-pinned .rh__pin { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 100%); overflow: hidden; }
  .rh.is-pinned .rh__head { padding-top: calc(var(--head-h) + clamp(16px, 3vh, 40px)); }
  .rh.is-pinned .rh__head .shead { margin-bottom: clamp(20px, 3vh, 40px); }
  .rh.is-pinned .rh__track { --ch: clamp(240px, calc(100svh - 500px), 640px); width: max-content; align-items: start; padding-bottom: 0; will-change: transform; }
  .rh.is-pinned .rcard { width: auto; }
  .rh.is-pinned .rcard__img { height: var(--ch); width: calc(var(--ch) * 0.8); aspect-ratio: auto; }
  .rh.is-pinned .rcard--end { width: calc(var(--ch) * 0.8); height: var(--ch); }
  .rh.is-pinned .rcard__name h3 { font-size: clamp(1.5rem, 1.9vw, 2rem); }
  .rh.is-pinned .rh__progress { display: block; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .rh.is-pinned .shead .d1 { font-size: clamp(3rem, 5.6vw, 5.4rem); }
  .rh.is-pinned .rh__track { --ch: clamp(220px, calc(100svh - 440px), 640px); }
}
.rh:not(.is-pinned) .rh__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rh:not(.is-pinned) .rh__track::-webkit-scrollbar { display: none; }
.rh:not(.is-pinned) .rcard { scroll-snap-align: start; scroll-margin-left: var(--side); }

/* ---------- platforms ---------- */
.plats__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 860px) { .plats__intro { grid-template-columns: 1fr; } }
.marquee { overflow: hidden; position: relative; border-block: 1px solid var(--line-l); padding-block: clamp(30px, 4vw, 52px); }
.marquee__row { display: flex; width: max-content; gap: 0; animation: marq 46s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; }
.plogo { display: inline-flex; align-items: center; justify-content: center; padding-inline: clamp(28px, 4vw, 64px); color: currentColor; }
.plogo svg, .plogo .pmask { height: calc(var(--lh, 26px) * var(--h, 1)); width: auto; }
.plogo svg { aspect-ratio: var(--ratio); fill: currentColor; }
.pmask { display: block; aspect-ratio: var(--ratio); background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
@keyframes marq { to { transform: translateX(-50%); } }
.plats__note { margin-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- A to Z ---------- */
.az { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.az__intro { position: sticky; top: calc(var(--head-h) + 40px); display: grid; gap: 28px; }
.az__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.az__l {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.6rem); color: var(--ivory-2);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.az__l:hover { color: var(--ivory); background: rgba(237, 230, 214, 0.04); }
.az__l[aria-selected="true"] { color: var(--night); background: var(--gilt); }
.az__panel { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; min-height: 9.5em; }
.az__big { font-family: var(--f-display); font-size: clamp(5.5rem, 10vw, 9.5rem); line-height: 0.8; color: var(--gilt); min-width: 0.9em; }
.az__t { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1.1; margin-bottom: 12px; }
.az__d { color: var(--ivory-2); max-width: 28em; }
.az__list { display: none; }
@media (max-width: 960px) {
  .az { grid-template-columns: 1fr; }
  .az__intro { position: static; }
}
@media (max-width: 520px) {
  .az__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .az__panel { grid-template-columns: 1fr; gap: 6px; }
}
.az-full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 96px); }
.az-full li { display: grid; grid-template-columns: 2.4em 1fr; gap: 18px; padding-block: 20px; border-top: 1px solid var(--line-d); }
.az-full li b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--gilt); }
.az-full h3 { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px; }
.az-full p { color: var(--ivory-2); font-size: 0.98rem; }
@media (max-width: 760px) { .az-full { grid-template-columns: 1fr; } }

/* ---------- the standard ---------- */
.std { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.std li { padding: 36px 28px 40px 0; display: grid; gap: 14px; align-content: start; border-bottom: 1px solid var(--line-l); }
.std li:not(:nth-child(4n+1)) { padding-left: 28px; border-left: 1px solid var(--line-l); }
.std .ic { width: 34px; height: 34px; color: var(--gilt-ink); stroke-width: 1.2; }
.std h3 { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; }
.std p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 1080px) {
  .std { grid-template-columns: 1fr 1fr; }
  .std li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .std li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-l); }
}
@media (max-width: 560px) {
  .std { grid-template-columns: 1fr; }
  .std li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- map ---------- */
.mapw { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.mapw > .map { position: sticky; top: calc(var(--head-h) + 32px); }
@media (max-width: 960px) { .mapw { grid-template-columns: 1fr; } .mapw > .map { position: relative; top: auto; order: -1; } }
.walk { border-top: 1px solid var(--line-d); }
.walk li { border-bottom: 1px solid var(--line-d); }
.walk button {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; padding: 16px 4px;
  text-align: left; transition: color 0.3s var(--ease), padding 0.4s var(--ease);
}
.walk button span:first-child { font-size: 1.08rem; }
.walk button span:last-child { font-family: var(--f-display); font-size: 1.5rem; color: var(--gilt); }
.walk button span:last-child small { font-family: var(--f-sans); font-size: 0.8rem; color: var(--ivory-2); margin-left: 6px; }
.walk button:hover, .walk button.is-on { padding-left: 14px; color: var(--gilt-2); }
.map { position: relative; width: 100%; aspect-ratio: 1000 / 760; }
.map svg { width: 100%; height: 100%; overflow: visible; }
.map .m-bg { fill: var(--night-2); }
.map .m-frame { fill: none; stroke: var(--line-d); stroke-width: 1; }
.map .m-park { fill: var(--park); }
.map .m-park2 { fill: var(--park-2); }
.map .m-water { fill: var(--water); }
.map .m-road { fill: none; stroke: rgba(237, 230, 214, 0.36); stroke-width: 2.2; stroke-linecap: round; }
.map .m-st { fill: none; stroke: rgba(237, 230, 214, 0.15); stroke-width: 1.1; stroke-linecap: round; }
.map .m-sq { fill: rgba(237, 230, 214, 0.05); stroke: rgba(237, 230, 214, 0.2); stroke-width: 1; }
.map .m-rl { font-family: var(--f-sans); font-size: 12px; letter-spacing: 0.24em; fill: rgba(237, 230, 214, 0.5); text-transform: uppercase; }
.map .m-lbl { font-family: var(--f-display); font-size: 15px; font-style: italic; fill: rgba(237, 230, 214, 0.55); }
.map .m-dot { fill: var(--ivory); transition: r 0.3s; }
.map .m-tube { fill: var(--night); stroke: var(--ivory); stroke-width: 1.6; }
.map .m-lm text { font-family: var(--f-sans); font-size: 13.5px; fill: var(--ivory); letter-spacing: 0.02em; opacity: 0.86; transition: opacity 0.3s; }
.map .m-lm.is-on text { opacity: 1; fill: var(--gilt-2); }
.map .m-lm.is-on .m-dot { fill: var(--gilt); }
.map .m-home circle { fill: none; stroke: var(--gilt); }
.map .m-home .core { fill: var(--gilt); stroke: none; }
.map .m-home text { font-family: var(--f-display); font-size: 17px; fill: var(--gilt); }
.map .m-route { fill: none; stroke: var(--gilt); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0; }
.map .m-route.is-on { opacity: 1; }
.map .m-pulse { fill: var(--gilt); opacity: 0.18; transform-origin: center; transform-box: fill-box; animation: pulse 2.8s var(--ease-io) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.35; } 100% { transform: scale(2.2); opacity: 0; } }
.map__note { margin-top: 14px; font-size: 0.85rem; color: var(--ivory-3); }
@media (max-width: 960px) { .mapw { grid-template-columns: 1fr; } .mapw .map { order: -1; } }

/* ---------- reviews ---------- */
.rev { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.rev__mark { font-family: var(--f-display); font-size: clamp(7rem, 14vw, 13rem); line-height: 0.7; color: var(--gilt-ink); height: 0.5em; display: block; }
.rev__stage { position: relative; min-height: 15em; }
.rev__q { position: absolute; inset: 0 0 auto 0; visibility: hidden; }
.rev__q.is-on { position: relative; visibility: visible; }
.rev__q blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.7rem, 2.9vw, 2.95rem); line-height: 1.22; letter-spacing: -0.01em; text-wrap: pretty; }
.rev__by { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; color: var(--ink-2); font-size: 0.95rem; }
.rev__by b { color: var(--ink); font-weight: 500; }
.rev__by a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-l2); }
.rev__ctl { margin-top: clamp(32px, 4vw, 52px); display: flex; align-items: center; gap: 14px; }
.circ { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-l2); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.circ:hover { background: var(--ink); color: var(--stone); }
.circ svg { width: 18px; height: 18px; }
.rev__count { margin-left: 8px; font-size: 0.95rem; color: var(--ink-2); }
.stars { display: inline-flex; gap: 3px; color: var(--gilt-ink); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 860px) { .rev { grid-template-columns: 1fr; } .rev__mark { height: 0.42em; } }

/* ---------- doors ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.door { position: relative; display: grid; gap: 24px; }
.door__img { position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: var(--navy); }
.door__img img, .door__img video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.6s var(--ease); }
.door:hover .door__img img, .door:hover .door__img video { transform: scale(1.09); }
.door__t { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.door__t h3 { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.015em; }
.door__t p { color: var(--ivory-2); margin-top: 10px; max-width: 24em; }
.door a.door__link::after { content: ""; position: absolute; inset: 0; }
.door__go { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d2); transition: background-color 0.4s var(--ease), transform 0.5s var(--ease); }
.door__go svg { width: 20px; height: 20px; }
.door:hover .door__go { background: var(--gilt); color: var(--night); transform: rotate(-45deg); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: var(--night-2); position: relative; overflow: clip; }
.ftr__cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-block: clamp(80px, 10vw, 150px) clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line-d); }
.ftr__cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.ftr__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(48px, 5vw, 80px); }
.ftr__cols h4 { font-family: var(--f-sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gilt); margin-bottom: 18px; font-weight: 500; }
.ftr__cols li a { display: inline-block; padding: 5px 0; color: var(--ivory-2); transition: color 0.3s; }
.ftr__cols li a:hover { color: var(--ivory); }
.ftr__cols address { font-style: normal; color: var(--ivory-2); line-height: 1.8; }
.ftr__logo svg { height: auto; width: min(240px, 100%); color: var(--ivory); }
.ftr__logo .lg-e, .ftr__logo .lg-s { color: var(--gilt); }
.ftr__plats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 8px; padding-block: 28px; border-top: 1px solid var(--line-d); color: var(--ivory-2); }
.ftr__plats .t { font-size: 0.85rem; margin-right: 12px; }
.ftr__plats .plogo { padding-inline: 18px; --lh: 18px; color: var(--ivory-2); opacity: 0.9; }
.ftr__big { font-family: var(--f-display); font-optical-sizing: auto; font-size: calc((min(100vw, var(--max)) - 2 * var(--side)) / 6.3); line-height: 0.82; letter-spacing: -0.035em; color: var(--ivory); white-space: nowrap; padding-top: 24px; padding-bottom: 0.2em; overflow: clip; user-select: none; }
.ftr__big .ch { display: inline-block; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-block: 24px max(28px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-d); color: var(--ivory-3); font-size: 0.85rem; }
.ftr__legal a:hover { color: var(--ivory); }
@media (max-width: 960px) {
  .ftr__cta { grid-template-columns: 1fr; }
  .ftr__cta .btns { justify-content: flex-start; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .ftr__cols { grid-template-columns: 1fr; } }

/* ---------- inner page heads ---------- */
.phead { padding-top: calc(var(--head-h) + clamp(56px, 9vw, 140px)); padding-bottom: clamp(56px, 7vw, 110px); position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.9rem; color: var(--ivory-2); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs a:hover { color: var(--ivory); }
.crumbs span[aria-hidden] { color: var(--gilt); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.phead__grid p { max-width: 30em; }
@media (max-width: 900px) { .phead__grid { grid-template-columns: 1fr; } }

/* ---------- residences list ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 56px); }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d2); font-size: 0.95rem; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s; }
.chip[aria-pressed="true"] { background: var(--ivory); color: var(--night); box-shadow: none; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ivory); }
.rrow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 88px); align-items: center; padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line-d); }
.rrow:nth-child(even) .rrow__media { order: 2; }
.rrow__media { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 10.5; }
.rrow__media a { position: relative; overflow: hidden; background: var(--navy); display: block; }
.rrow__media a:first-child { grid-row: span 2; }
.rrow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rrow__media a:hover img { transform: scale(1.06); }
.rrow__txt { display: grid; gap: 22px; }
.rrow__txt h2 a { transition: color 0.3s; }
.rrow__txt h2 a:hover { color: var(--gilt-2); }
.factrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-d); }
.factrow div { padding: 14px 0 12px; }
.factrow div + div { padding-left: 16px; border-left: 1px solid var(--line-d); }
.factrow dt { font-size: 0.8rem; color: var(--ivory-2); }
.factrow dd { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.2; }
.prow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.prow .plogo { --lh: 17px; padding-inline: 0 18px; color: var(--ivory-2); transition: color 0.3s; }
.prow a.plogo:hover { opacity: 1; color: var(--gilt-2); }
.rrow.is-hidden { display: none; }
@media (max-width: 960px) {
  .rrow { grid-template-columns: 1fr; }
  .rrow:nth-child(even) .rrow__media { order: 0; }
}
.compare { overflow-x: auto; }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.compare th, .compare td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.compare tbody th { font-weight: 500; font-size: 0.9rem; color: var(--ink-2); white-space: nowrap; }

/* ---------- residence page ---------- */
.rhero { padding-top: calc(var(--head-h) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(32px, 4vw, 56px); }
.rhero__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.rhero__name { font-family: var(--f-display); font-size: clamp(3rem, 7.2vw, 7.8rem); line-height: 0.94; letter-spacing: -0.022em; text-wrap: balance; }
.rhero__sub { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ivory-2); }
.rhero__sub .gilt { white-space: nowrap; }
.rhero__acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 900px) { .rhero__top { grid-template-columns: 1fr; } .rhero__acts { justify-content: flex-start; } }
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(360px, 62vh, 760px); }
.bento button { position: relative; overflow: hidden; background: var(--navy); display: block; width: 100%; height: 100%; cursor: zoom-in; }
.bento button:first-child { grid-row: span 2; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bento button:hover img { transform: scale(1.05); }
.bento__more { margin-top: 14px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bento button { aspect-ratio: 4 / 3; }
  .bento button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .bento button:nth-child(n+4) { display: none; }
}
.rbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(40px, 6vw, 120px); align-items: start; padding-top: clamp(56px, 7vw, 110px); padding-bottom: var(--sec); }
.rmain { display: grid; gap: clamp(56px, 6vw, 96px); min-width: 0; }
.rblock h2 { font-family: var(--f-display); font-size: clamp(1.9rem, 2.8vw, 2.8rem); line-height: 1.08; letter-spacing: -0.012em; margin-bottom: clamp(20px, 2.4vw, 32px); }
.rdesc { display: grid; gap: 22px; }
.rdesc p:first-child { font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.45; }
.rdesc p + p { color: var(--ivory-2); }
.hl { display: flex; flex-wrap: wrap; gap: 10px; }
.hl li { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d2); font-size: 0.93rem; }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.rooms div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line-d); }
.rooms dt { color: var(--ivory-2); font-size: 0.95rem; }
.rooms dd { font-size: 1rem; }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; } .rooms div { grid-template-columns: 8.5em 1fr; } }
.amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.amen li { display: flex; align-items: center; gap: 14px; padding-block: 15px; border-top: 1px solid var(--line-d); font-size: 0.98rem; }
.amen .ic { width: 22px; height: 22px; color: var(--gilt); flex: none; }
@media (max-width: 900px) { .amen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .amen { grid-template-columns: 1fr; } }
.house { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-d); }
.house div { padding: 18px 16px 18px 0; }
.house div + div { padding-left: 16px; border-left: 1px solid var(--line-d); }
.house dt { font-size: 0.82rem; color: var(--ivory-2); }
.house dd { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.25; }
@media (max-width: 760px) { .house { grid-template-columns: 1fr 1fr; } .house div:nth-child(3) { padding-left: 0; border-left: 0; } .house div:nth-child(n+3) { border-top: 1px solid var(--line-d); } }
.rquotes { display: grid; gap: 24px; }
.rquote { padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line-d); display: grid; gap: 16px; }
.rquote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.4; }
.rquote footer { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--ivory-2); font-size: 0.9rem; }
.rquote .stars { color: var(--gilt); }
.ruler { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.ruler b { font-family: var(--f-display); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--gilt); }

.book { position: sticky; top: calc(var(--head-h) + 24px); padding: clamp(24px, 2.4vw, 36px); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d); display: grid; gap: 20px; }
.book h2 { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; }
.book__rate { display: flex; align-items: center; gap: 10px; color: var(--ivory-2); font-size: 0.92rem; }
.book__rate .stars { color: var(--gilt); }
.book__list { display: grid; gap: 8px; }
.pbtn {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px;
  background: var(--night); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--ivory);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.pbtn .plogo { justify-content: flex-start; padding: 0; --lh: 20px; }
.pbtn .go { font-size: 0.8rem; color: var(--ivory-2); display: inline-flex; align-items: center; gap: 8px; }
.pbtn .go svg { width: 14px; height: 14px; }
a.pbtn:hover, a.pbtn:focus-visible { background: var(--ivory); color: var(--night); box-shadow: none; }
a.pbtn:hover .go { color: var(--night); }
.pbtn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.book__note { font-size: 0.85rem; color: var(--ivory-2); }
.book__help { border-top: 1px solid var(--line-d); padding-top: 18px; display: grid; gap: 6px; font-size: 0.92rem; }
.bookbar { display: none; }
@media (max-width: 1080px) {
  .rbody { grid-template-columns: 1fr; }
  .book { position: static; }
  .bookbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(11, 20, 34, 0.97); box-shadow: 0 -1px 0 var(--line-d); transform: translateY(110%); transition: transform 0.5s var(--ease);
  }
  .bookbar.is-on { transform: none; }
  .bookbar__t { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.1; }
  .bookbar__t small { display: block; font-family: var(--f-sans); font-size: 0.78rem; color: var(--ivory-2); }
}
.minimap { margin-top: 28px; }
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.others .rcard { width: auto; }
@media (max-width: 1080px) { .others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .others { grid-template-columns: 1fr; } }

/* ---------- lightbox and film ---------- */
.lb, .film {
  position: fixed; inset: 0; z-index: 130; background: #080E18; display: none;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.lb.is-open, .film.is-open { display: grid; }
.lb { grid-template-rows: auto 1fr auto; }
.lb__top, .film__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 8px 12px; }
.lb__count { font-size: 0.9rem; color: var(--ivory-2); }
.xbtn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d2); transition: background-color 0.3s; }
.xbtn:hover { background: var(--ivory); color: var(--night); }
.xbtn svg { width: 18px; height: 18px; }
.lb__stage { position: relative; min-height: 0; touch-action: pan-y; }
.lb__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--p { left: 8px; }
.lb__nav--n { right: 8px; }
.lb__nav .circ { box-shadow: inset 0 0 0 1px var(--line-d2); background: rgba(11, 20, 34, 0.7); }
.lb__nav .circ:hover { background: var(--ivory); color: var(--night); }
.lb__cap { text-align: center; padding: 14px 8px 4px; color: var(--ivory-2); font-size: 0.95rem; }
.film { grid-template-rows: auto 1fr auto; }
.film__stage { position: relative; overflow: hidden; min-height: 0; background: #000; }
.film__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: transform, opacity; }
.film__stage img.is-on { opacity: 1; }
.film__bar { display: flex; align-items: center; gap: 18px; padding: 16px 8px 4px; }
.film__cap { flex: 1; min-width: 0; display: flex; gap: 14px; align-items: baseline; }
.film__cap b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
.film__cap span { color: var(--ivory-2); font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.film__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.12); }
.film__prog span { display: block; height: 100%; background: var(--gilt); transform: scaleX(0); transform-origin: left; }
.film__title { font-family: var(--f-display); font-size: 1.35rem; }

/* ---------- owners ---------- */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.model { padding: clamp(28px, 3.4vw, 56px); box-shadow: inset 0 0 0 1px var(--line-l); display: grid; gap: 22px; align-content: start; background: var(--stone); }
.model h3 { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.04; }
.model .line { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.4; color: var(--gilt-ink); }
.model p { color: var(--ink-2); }
.model ul { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.model li { padding: 13px 0; border-bottom: 1px solid var(--line-l); display: flex; gap: 14px; align-items: center; }
.model li svg { width: 16px; height: 16px; color: var(--gilt-ink); flex: none; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }
.steps { position: relative; display: grid; gap: 0; }
.steps__line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: var(--line-d); }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--gilt); transform: scaleY(0); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 3vw, 48px); padding-block: clamp(22px, 3vw, 40px); }
.step__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--night); box-shadow: inset 0 0 0 1px var(--line-d2); font-family: var(--f-display); font-size: 1.35rem; z-index: 1; }
.step h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.1; margin-bottom: 8px; }
.step p { color: var(--ivory-2); max-width: 34em; }
.faq { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-l2); position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 0 26px; color: var(--ink-2); max-width: 46em; }
.receive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); }
.receive li { padding: 30px 24px 10px 0; display: grid; gap: 10px; align-content: start; }
.receive li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }
.receive h3 { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; }
.receive p { color: var(--ivory-2); font-size: 0.98rem; }
@media (max-width: 960px) { .receive { grid-template-columns: 1fr 1fr; } .receive li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .receive { grid-template-columns: 1fr; } .receive li + li { padding-left: 0; border-left: 0; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.framevid { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.framevid video, .framevid img { width: 100%; height: 100%; object-fit: cover; }
.framevid--arch { border-radius: 999px 999px 0 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.fld { display: grid; gap: 8px; }
.fld label, .fld .lab { font-size: 0.85rem; color: var(--ivory-2); }
.is-light .fld label, .is-light .fld .lab { color: var(--ink-2); }
.fld input, .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--line-d2); border-radius: 0; padding: 12px 0; min-height: 48px; appearance: none; -webkit-appearance: none;
  transition: border-color 0.3s var(--ease);
}
.is-light .fld input, .is-light .fld select, .is-light .fld textarea { border-bottom-color: var(--line-l2); }
.fld textarea { min-height: 120px; resize: vertical; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.fld select option { color: #0E1726; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--gilt); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ivory-3); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 0.9rem; color: var(--ivory-2); }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gilt); }
.form__msg { min-height: 1.6em; font-size: 0.95rem; }
.form__msg.ok { color: var(--gilt-2); }
.form__msg.err { color: var(--danger); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d2); font-size: 0.95rem; transition: background-color 0.3s, color 0.3s; }
.seg button[aria-selected="true"] { background: var(--ivory); color: var(--night); box-shadow: none; }

/* ---------- about ---------- */
.emblem-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.emblem-feature .em { width: min(100%, 460px); aspect-ratio: 1; color: var(--gilt); justify-self: center; }
@media (max-width: 900px) { .emblem-feature { grid-template-columns: 1fr; } }
.princ { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.princ li { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.princ h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.1; }
.princ p { color: var(--ink-2); }
@media (max-width: 700px) { .princ li { grid-template-columns: 1fr; gap: 6px; } }
.kv { display: grid; border-top: 1px solid var(--line-d); }
.kv div { display: grid; grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line-d); }
.kv dt { color: var(--ivory-2); font-size: 0.95rem; }
.sister { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.sister .plogo { --lh: 40px; padding: 0; }

/* ---------- brand page ---------- */
.bk-sec { padding-block: clamp(64px, 8vw, 128px); border-top: 1px solid var(--line-d); }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bk-tile { position: relative; min-height: 340px; display: grid; place-items: center; padding: 40px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d); }
.bk-tile.is-light { background: var(--stone); box-shadow: none; }
.bk-tile .cap2 { position: absolute; left: 18px; bottom: 14px; font-size: 0.8rem; color: var(--ivory-2); }
.bk-tile.is-light .cap2 { color: var(--ink-2); }
.bk-tile img { max-height: 220px; width: auto; }
.sw { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sw div { display: grid; gap: 10px; }
.sw i { display: block; aspect-ratio: 1 / 1.15; box-shadow: inset 0 0 0 1px var(--line-d); }
.sw b { font-weight: 500; font-size: 0.95rem; }
.sw span { font-size: 0.82rem; color: var(--ivory-2); line-height: 1.5; }
@media (max-width: 960px) { .bk-grid { grid-template-columns: 1fr; } .sw { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.spec > div { padding: clamp(24px, 3vw, 44px); box-shadow: inset 0 0 0 1px var(--line-d); display: grid; gap: 14px; align-content: start; }
.spec .big { font-size: clamp(4rem, 9vw, 8rem); line-height: 0.9; }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr; } }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dodont ul { display: grid; gap: 0; }
.dodont li { padding: 12px 0; border-bottom: 1px solid var(--line-d); color: var(--ivory-2); }
.dodont h3 { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 10px; }
@media (max-width: 760px) { .dodont { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.prose { max-width: 46em; display: grid; gap: 18px; color: var(--ivory-2); }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--ivory); margin-top: 28px; line-height: 1.15; }
.prose strong { color: var(--ivory); font-weight: 500; }
.prose ul { display: grid; gap: 8px; padding-left: 1.1em; list-style: disc; }

/* ---------- reveal states (set by script only) ---------- */
.js [data-fade] { will-change: transform, opacity; }
.split-line { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__ring .spin { animation: none; }
  .marquee__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__set + .marquee__set { display: none; }
  .marquee__set { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
}

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* never let a wide track push the page sideways */
.site { overflow-x: clip; }

/* owner inbox */
.inbox { border-top: 1px solid var(--line-d); }
.inbox__list { display: grid; gap: 14px; }
.inbox__item { padding: 22px 24px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d); border-radius: 4px; }
.inbox__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.inbox__head b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.inbox__head span { color: var(--ivory-2); font-size: 0.9rem; }
.inbox__kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; }
.inbox__kv dt { font-size: 0.78rem; color: var(--ivory-3); margin-bottom: 2px; }
.inbox__kv dd { color: var(--ivory); white-space: pre-wrap; overflow-wrap: anywhere; }

/* contact links, spam trap, not found page */
.ftr__cols address a { color: var(--ivory-2); transition: color 0.3s; }
.ftr__cols address a:hover, .ftr__cols address a:focus-visible { color: var(--ivory); }
.menu__contact { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
.menu__contact a { color: var(--ivory-2); transition: color 0.3s; }
.menu__contact a:hover, .menu__contact a:focus-visible { color: var(--gilt-2); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.nf { min-height: 70vh; min-height: 70svh; display: grid; align-content: center; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
