/* Meyer Blue: The coast is clear.

   Every section is a view from Meyer Blue, named by its bearing. The ground
   is the brochure's stone paper by day and its deep blue at the top of the
   tower, for the plans and the chart; gold is a line and a ring, never a
   fill. The renders are never filtered. */

:root {
  font-variant-numeric: lining-nums;
  --paper: #F3F0EB;
  --paper-2: #EAE5DD;
  --stone: #E4DFD0;
  --card: #FBF9F6;
  --ink: #1B1F3B;
  --ink-soft: #4F5269;
  --navy: #262B6B;
  --navy-2: #20245A;
  --navy-3: #323881;
  --navy-ink: #ECEAF4;
  --navy-soft: #B9BAD6;
  --klein: #23339A;
  --gold: #C9A660;
  --gold-ink: #7A5C24;          /* gold that can carry text on the paper */
  --gold-lt: #DCC08A;           /* gold that can carry text on the blue */
  --hair: rgb(27 31 59 / 0.14);
  --hair-2: rgb(27 31 59 / 0.28);
  --hair-n: rgb(236 234 244 / 0.16);
  --hair-n2: rgb(236 234 244 / 0.32);
  /* the chart's own colours */
  --c-cp1: #F0949F;
  --c-dp: #B9CFE0;
  --c-dps: #7F9DB3;
  --c-e1: #7CC5BE;

  --sc-canvas: var(--paper);
  --sc-surface: var(--card);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--navy);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sc-font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: "Figtree", system-ui, sans-serif;
  --sc-hairline: var(--hair);
  --sc-hairline-strong: var(--hair-2);
  --sc-shadow-color: 236 40% 12%;
  --sc-r-sm: 3px; --sc-r-md: 6px; --sc-r-lg: 12px;

  --gut: clamp(1rem, 4.4vw, 4rem);
  --bar-h: 0px;
  --wrap-w: min(76rem, calc(100% - 2 * var(--gut)));
  --sect: clamp(4.5rem, 8.5vw, 8.5rem);
}

html { background: var(--paper); scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { background: var(--paper); color: var(--ink); font-family: var(--sc-font-text); font-weight: 400; font-size: 1.0625rem; line-height: 1.62; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gut); top: -4rem; z-index: 200; background: var(--card); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--sc-r-sm); }
.skip:focus { top: 0.5rem; }
p, figure, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: var(--wrap-w); margin-inline: auto; }

/* ------------------------------------------------------------------ type -- */
.h2 {
  font: 500 clamp(2.2rem, 1.4rem + 2.5vw, 3.8rem)/1.02 var(--sc-font-display);
  letter-spacing: -0.005em; text-wrap: balance; max-width: 18ch;
}
.h3 { font: 600 0.74rem/1.25 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.kicker { font: 600 0.74rem/1.3 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.9rem; }
.kicker--lt { color: var(--gold-lt); }
.lede { font-size: clamp(1.07rem, 1rem + 0.3vw, 1.22rem); line-height: 1.62; max-width: 56ch; text-wrap: pretty; }
.small { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.credit { font-size: 0.74rem; font-style: normal; letter-spacing: 0.03em; color: var(--ink-soft); }
.link-arrow {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 0.3em;
}
.link-arrow::after { content: " \2192"; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { text-decoration-thickness: 2.5px; } }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.6rem;
  background: var(--navy); color: #fff;
  font: 600 0.86rem/1 var(--sc-font-text); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  box-shadow: var(--sc-e1);
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--navy-3); } }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.05rem; font-size: 0.74rem; }
.sec--navy .btn { background: var(--gold-lt); color: var(--navy-2); }
@media (hover: hover) and (pointer: fine) { .sec--navy .btn:hover { background: #E8D2A6; } }

/* ---------------------------------------------------------------- frames -- */
.frame { position: relative; overflow: hidden; border-radius: var(--sc-r-md); background: var(--paper-2); box-shadow: var(--sc-e2); }
.frame > img, .frame__move > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame__move { height: calc(100% + 40px); margin-top: -20px; will-change: transform; }
figure.frame { display: grid; }
figure.frame > figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1rem 0.8rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; flex-wrap: wrap;
  font-size: 0.86rem; color: #fff; background: linear-gradient(to top, rgb(14 16 36 / 0.86) 0, rgb(14 16 36 / 0.52) 48%, rgb(14 16 36 / 0) 100%);
}
figure.frame > figcaption .credit { color: rgb(255 255 255 / 0.85); }
.zoom { display: block; padding: 0; border: 0; cursor: zoom-in; text-align: left; }
.zoom__hint {
  position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  background: rgb(32 36 90 / 0.92); color: #fff; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
}
@media (hover: hover) and (pointer: fine) {
  .zoom > img { transition: transform 420ms var(--sc-ease-out); }
  .zoom:hover > img { transform: scale(1.012); }
}
[data-wipe] { will-change: clip-path; }

/* ============================================================ THE COMPASS == */
/* Fixed at the top right: the gold ring with its needle, the bearing and the
   section, and the booking button. On phones, a slim bar at the top. */
.cmp {
  position: fixed; right: clamp(0.75rem, 1.6vw, 1.5rem); top: clamp(0.75rem, 1.6vw, 1.25rem); z-index: 60;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.35rem 0.4rem 0.35rem 0.35rem; border-radius: 999px;
  background: rgb(251 249 246 / 0.86); color: var(--ink);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset, var(--sc-e2); border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  transition: background-color 400ms var(--sc-ease-out), color 400ms var(--sc-ease-out), border-color 400ms var(--sc-ease-out), opacity 300ms var(--sc-ease-out), transform 300ms var(--sc-ease-out);
}
.cmp__open { display: flex; align-items: center; gap: 0.6rem; padding: 0.1rem 0.6rem 0.1rem 0.1rem; background: none; border: 0; cursor: pointer; border-radius: 999px; text-align: left; }
.cmp__dial { width: 46px; height: 46px; flex: none; perspective: 120px; }
.cmp__dial svg { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; transition: transform 600ms var(--sc-ease-out); }
.cmp__ring { fill: none; stroke: var(--gold); stroke-width: 2.2; }
.cmp__ticks { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; opacity: 0.85; }
.cmp__n { font: 600 6.6px/1 var(--sc-font-text); fill: currentColor; text-anchor: middle; dominant-baseline: central; opacity: 0.7; }
.cmp__needle { fill: var(--klein); transition: opacity 400ms var(--sc-ease-out); }
.cmp__tail { fill: currentColor; opacity: 0.35; }
.cmp__hub { fill: var(--gold); }
/* looking up or down: the ring tips flat and the needle steps aside */
.cmp.is-tilt .cmp__dial svg { transform: rotateX(64deg); }
.cmp.is-tilt .cmp__needle { opacity: 0; }
.cmp__read { display: grid; line-height: 1.15; min-width: 0; }
.cmp__b { font: 600 0.66rem/1.2 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); white-space: nowrap; }
.cmp__s { font: 500 1.05rem/1.2 var(--sc-font-display); white-space: nowrap; max-width: 15rem; overflow: hidden; text-overflow: ellipsis; }
.cmp.is-navy { background: rgb(32 36 90 / 0.86); color: var(--navy-ink); border-color: var(--hair-n); }
.cmp.is-navy .cmp__b { color: var(--gold-lt); }
.cmp.is-navy .cmp__needle { fill: #fff; }
.cmp.is-navy .btn { background: var(--gold-lt); color: var(--navy-2); }
.cmp.is-away { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* ================================================================= HERO == */
/* The panorama (3372 x 1195) in a box of its own proportions at the foot of
   the hero; its sky is carried on above it. The name sits on the horizon
   (64.85% down the picture), between the sky and the far plane. */
.hero {
  --ar: 2.8218; --hz: 0.6485;
  position: relative; height: 100svh; min-height: 36rem; max-height: 72rem; overflow: hidden; isolation: isolate; container-type: size;
  background: linear-gradient(90deg, #8C8FB4 0%, #A9A3C2 48%, #D4C0D2 100%);
}
.hero__scene { position: absolute; inset: 0; }
.hero__box {
  --bw: max(108cqw, calc(60cqh * var(--ar)));
  position: absolute; width: var(--bw); height: calc(var(--bw) / var(--ar)); bottom: 0;
  left: min(0px, calc(50% - var(--bw) * 0.47));
  pointer-events: none;
}
.hero__plane { position: absolute; inset: 0; will-change: transform; }
.hero__plane > img { display: block; width: 100%; height: 100%; }
.hero__plane--sky { top: -2%; bottom: -14%; }
.hero__plane--sky > img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
.hero__name {
  --bw: max(108cqw, calc(60cqh * var(--ar)));
  position: absolute; z-index: 1; left: max(var(--gut), calc(50% - var(--bw) * 0.47 + var(--bw) * 0.035));
  bottom: calc(var(--bw) / var(--ar) * (1 - var(--hz)) - 0.04em);
  display: flex; gap: 0 0.32em;
  font: 500 min(7.4rem, calc(var(--bw) * 0.056))/0.8 var(--sc-font-display);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--klein);
  will-change: transform; pointer-events: none; white-space: nowrap;
}
.hero__box:last-of-type { z-index: 2; }
.hero__copy {
  position: absolute; z-index: 3; left: var(--gut); top: clamp(5.5rem, 15cqh, 10rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; max-width: 31rem; color: var(--ink);
}
.hero__kicker { font: 600 0.74rem/1.3 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy-2); }
.hero__verse { font: italic 500 clamp(1.9rem, 1.3rem + 1.6vw, 2.9rem)/1.05 var(--sc-font-display); color: var(--navy-2); text-wrap: balance; }
.hero__lede { font-size: 1.04rem; line-height: 1.55; max-width: 34ch; color: #1E2142; }
.hero__copy .btn { margin-top: 0.35rem; }
.hero__credit { position: absolute; right: var(--gut); bottom: 0.9rem; z-index: 3; padding: 0.12rem 0.45rem; border-radius: 3px; background: rgb(14 16 36 / 0.6); color: #fff; }
.hero__copy > *, .hero__name > span { animation: rise 1000ms var(--sc-ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: 60ms; } .hero__copy > :nth-child(3) { animation-delay: 140ms; }
.hero__copy > :nth-child(4) { animation-delay: 220ms; } .hero__copy > :nth-child(5) { animation-delay: 300ms; }
.hero__name > span:last-child { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
/* square and portrait windows: a tighter crop on the sea and the city, the
   name in two lines on the horizon, the words above it in the sky */
@media (max-aspect-ratio: 5/4), (max-width: 860px) {
  .hero__box { --bw: max(150cqw, calc(56cqh * var(--ar))); left: calc(50% - var(--bw) * 0.48); }
  .hero__name {
    --bw: max(150cqw, calc(56cqh * var(--ar)));
    left: 50%; translate: -50% 0; flex-direction: column; align-items: center; gap: 0.06em;
    font-size: clamp(3rem, 15.5vw, 6rem); letter-spacing: 0.14em; line-height: 0.8; text-indent: 0.14em;
  }
  .hero__copy { left: var(--gut); right: var(--gut); max-width: 34rem; top: calc(var(--bar-h) + clamp(1rem, 4cqh, 2.5rem)); gap: 0.55rem; }
  .hero__verse { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .hero__lede { font-size: 0.98rem; }
}

/* ============================================================= SECTIONS == */
.sec { position: relative; padding: var(--sect) 0; overflow-x: clip; }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--stone { background: var(--stone); color: var(--ink); }
.sec--navy { background: var(--navy); color: var(--navy-ink); }
.sec--navy2 { background: var(--navy-2); }
.sec--navy .h3 { color: var(--gold-lt); }
.sec--navy .small, .sec--navy .credit { color: var(--navy-soft); }
.sec--navy .lede { color: var(--navy-ink); }

/* --- look up: the developers --- */
.dev { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.dev__up { position: relative; }
.dev__up img { display: block; width: 100%; height: auto; border-radius: var(--sc-r-md); box-shadow: var(--sc-e3); }
.dev__up figcaption { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.55rem; font-size: 0.84rem; color: var(--ink-soft); }
@media (min-width: 1101px) { .dev__up { position: sticky; top: 6rem; } }
.dev__head .lede { margin-top: 1rem; }
.devs { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.75rem; border-top: 1px solid var(--hair-2); }
.devs__one { display: grid; gap: 1rem; align-content: start; }
.devs__one p { font-size: 0.93rem; line-height: 1.58; color: var(--ink-soft); }
.devs__logo { display: block; width: auto; height: 46px; }
.devs__logo--sl { height: 52px; margin-top: -4px; }
.coll { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.coll__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; margin-top: 0.9rem; align-items: end; }
.coll__row li { display: grid; gap: 0.45rem; font-size: 0.84rem; line-height: 1.35; }
.coll__row img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--sc-r-sm); }
.coll__row .credit { display: block; font-size: 0.7rem; }
.coll__now { align-self: stretch; display: grid !important; place-items: center; align-content: center; gap: 0.6rem !important; border: 1px solid var(--hair-2); border-radius: var(--sc-r-sm); font: italic 500 1.05rem/1.2 var(--sc-font-display) !important; text-align: center; padding: 1rem; aspect-ratio: auto; }
.coll__ring { width: 34px; height: 34px; border-radius: 50%; border: 1.6px solid var(--gold); }
.particulars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); }
.particulars > div { padding: 1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--hair); }
.particulars dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.particulars dd { margin-top: 0.4rem; font-size: 0.97rem; line-height: 1.45; }

/* --- location: three bearings --- */
.loc-sec { padding-top: calc(var(--sect) * 0.6); }
.loc__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.loc__head .lede { margin-top: 1rem; }
.loc__map { aspect-ratio: 1600 / 690; width: 100%; }
.way { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 4.5vw, 4.5rem); align-items: center; margin-top: clamp(4rem, 8vw, 7rem); }
.way--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.way--flip .way__text { order: 2; }
.way__dir { display: flex; align-items: center; gap: 0.7rem; font: 600 0.74rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.way__glyph { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); flex: none; }
.way__glyph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 11px; margin-left: -1px; background: var(--klein); transform-origin: 50% 100%; transform: translateY(-100%) rotate(calc(var(--b) * 1deg)); border-radius: 1px; }
.way__t { margin-top: 0.9rem; font: 500 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1.1 var(--sc-font-display); }
.way__t--sm { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); margin-top: 1.75rem; }
.times { margin-top: 1rem; border-top: 1px solid var(--hair-2); }
.times li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--hair); font-size: 0.94rem; line-height: 1.4; }
.times b { font-weight: 600; white-space: nowrap; color: var(--navy); font-variant-numeric: tabular-nums; }
.way__note { margin-top: 1rem; font-size: 0.93rem; color: var(--ink-soft); max-width: 52ch; }
.way__pic { aspect-ratio: 16 / 9.5; }
.way__pics { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.9rem; align-items: end; }
.way__a { aspect-ratio: 992 / 658; }
.way__b { aspect-ratio: 1; }
.way__c { grid-column: 1 / -1; aspect-ratio: 1077 / 520; width: 82%; }
.loc__fine { grid-column: 1 / -1; margin-top: -1rem; }

/* --- the Meyer Club: the quiet before the turn --- */
.club { padding-bottom: clamp(3rem, 6vw, 5rem); }
.club__in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: end; }
.club__text .lede { margin-top: 1rem; color: var(--navy-soft); }
.club__pic { aspect-ratio: 16 / 9; box-shadow: var(--sc-e3); }
.club__cue { grid-column: 1 / -1; justify-self: center; margin-top: clamp(3rem, 7vw, 5.5rem); font: italic 500 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1 var(--sc-font-display); color: var(--gold-lt); }

/* ============================================================== THE TURN == */
/* A glass room seen from its centre: each wall is a view, cut into strips so
   no wall ever crosses the camera. The wall is wider than the window
   (--k), so the field of view is a little narrower than 90 degrees. */
.turn-sec { position: relative; background: var(--navy-2); color: var(--navy-ink); }
.turn { position: relative; height: 440svh; }
.turn__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; background: #14173A; }
.turn__win { position: absolute; inset: 0; overflow: hidden; }
.turn__room { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.turn__strip { position: absolute; left: 0; top: 0; background-repeat: no-repeat; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-style: preserve-3d; }
.turn__strip.is-edge-l { box-shadow: inset 7px 0 0 #1A1D33; }
.turn__strip.is-edge-r { box-shadow: inset -7px 0 0 #1A1D33; }
.turn__head { position: absolute; z-index: 3; left: var(--gut); top: clamp(5rem, 12vh, 7rem); max-width: 26rem; }
.turn__head .h2 { color: #fff; text-shadow: 0 2px 18px rgb(10 12 30 / 0.45); }
.turn__head .kicker { text-shadow: 0 1px 8px rgb(10 12 30 / 0.6); }
.turn__head::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gut)); top: -9rem; width: min(42rem, 100vw); height: 22rem; background: radial-gradient(ellipse at 20% 45%, rgb(14 16 40 / 0.55), rgb(14 16 40 / 0) 70%); pointer-events: none; }
.turn__faces { position: absolute; z-index: 3; left: var(--gut); right: min(var(--gut), 14rem); bottom: clamp(4.6rem, 11vh, 6.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 64rem; }
.turn__faces li { padding: 0.95rem 1.1rem 1rem; border-radius: var(--sc-r-md); background: rgb(20 23 58 / 0.62); border: 1px solid var(--hair-n); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0.46; transition: opacity 400ms var(--sc-ease-out), border-color 400ms var(--sc-ease-out), background-color 400ms var(--sc-ease-out); }
.turn__faces li.is-on { opacity: 1; border-color: var(--gold-lt); background: rgb(20 23 58 / 0.8); }
.turn__faces { align-items: end; }
.turn__faces li:not(.is-on) .turn__d { display: none; }
.turn__dir { font: 600 0.68rem/1 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-lt); }
.turn__t { margin-top: 0.45rem; font: 500 1.5rem/1.1 var(--sc-font-display); color: #fff; }
.turn__d { margin-top: 0.35rem; font-size: 0.88rem; line-height: 1.45; color: var(--navy-soft); }
/* the heading tape: degrees sliding under a gold lubber line as you turn */
.turn__tape { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: clamp(3.4rem, 7vh, 4rem); overflow: hidden; background: linear-gradient(to top, rgb(14 16 40 / 0.85), rgb(14 16 40 / 0)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.turn__tape::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 70%; margin-left: -1px; background: var(--gold-lt); }
.turn__tape-in { position: absolute; left: 50%; bottom: 0; height: 100%; will-change: transform; }
.turn__tape-in i { position: absolute; bottom: 0; width: 1px; height: 22%; background: rgb(236 234 244 / 0.5); font-style: normal; }
.turn__tape-in i.is-10 { height: 34%; }
.turn__tape-in i.is-30 { height: 46%; background: rgb(236 234 244 / 0.85); }
.turn__tape-in b { position: absolute; bottom: 52%; transform: translateX(-50%); font: 600 0.72rem/1 var(--sc-font-text); letter-spacing: 0.16em; color: #fff; white-space: nowrap; }
.turn__tape-in b.is-card { color: var(--gold-lt); font-size: 0.82rem; }
.turn__credit { position: absolute; z-index: 3; right: var(--gut); bottom: calc(clamp(3.4rem, 7vh, 4rem) + 0.5rem); padding: 0.12rem 0.45rem; border-radius: 3px; background: rgb(14 16 36 / 0.6); color: #fff !important; }
.turn__still { display: none; }

/* ========================================================== SITE PLAN == */
.sp { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.sp__head .lede { margin-top: 1rem; }
.sp__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sp__tabs button {
  min-height: 2.75rem; padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--hair-2); color: var(--ink); font-size: 0.92rem;
  transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.sp__tabs b { font-weight: 600; margin-right: 0.25rem; }
.sp__tabs [aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .sp__tabs button:hover { border-color: var(--navy); } }
.sp__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.25rem; align-items: start; }
.sp__sheet { position: relative; border-radius: var(--sc-r-md); overflow: hidden; background: #F1EEE9; box-shadow: var(--sc-e2); }
.sp__sheet.is-club { align-self: center; }
.sp__img { display: block; width: 100%; }
.sp__img img { display: block; width: 100%; height: auto; }
.sp__rings { position: absolute; inset: 0; pointer-events: none; }
.sp__rings i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 4.2%; aspect-ratio: 1; min-width: 18px; border-radius: 50%; translate: -50% -50%; box-shadow: 0 0 0 2px var(--gold), 0 0 0 7px rgb(201 166 96 / 0.35); opacity: 0; scale: 1.7; transition: opacity 180ms var(--sc-ease-out), scale 260ms var(--sc-ease-out); }
.sp__sheet.is-club .sp__rings i { width: 3.4%; }
.sp__rings i.is-on { opacity: 1; scale: 1.1; }
.sp__credit { position: absolute; right: 0.5rem; bottom: 0.4rem; padding: 0.1rem 0.4rem; border-radius: 3px; background: rgb(14 16 36 / 0.6); color: #fff !important; }
.sp__north { position: absolute; left: 0.75rem; bottom: 0.6rem; display: grid; justify-items: center; gap: 2px; font: 600 0.7rem/1 var(--sc-font-text); color: var(--ink); }
.sp__north i { width: 2px; height: 16px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 8px; }
.sp__legend { columns: 2; column-gap: 1.75rem; border-top: 1px solid var(--hair-2); }
.sp__legend li { break-inside: avoid; display: grid; grid-template-columns: 1.8rem 1fr; align-items: baseline; padding: 0.4rem 0.35rem; border-bottom: 1px solid var(--hair); font-size: 0.93rem; line-height: 1.35; cursor: default; border-radius: 2px; transition: background-color 140ms var(--sc-ease-out); }
.sp__legend li::before { content: attr(data-n); font-weight: 600; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.sp__legend li.is-on { background: rgb(201 166 96 / 0.2); }
.sp__other { margin-top: 1rem; }
.fac { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.4rem); margin-top: clamp(4rem, 8vw, 6.5rem); align-items: start; }
.fac__big { grid-column: 1 / span 8; grid-row: 1 / span 2; aspect-ratio: 16 / 9.6; }
.fac__a { grid-column: 9 / span 4; aspect-ratio: 16 / 9; }
.fac__b { grid-column: 9 / span 4; aspect-ratio: 16 / 9; }
.fac__c, .fac__d, .fac__e { grid-column: span 4; aspect-ratio: 16 / 9; }

/* ============================================================ THE HOMES == */
.stretch { margin: calc(var(--sect) * -1) 0 0; position: relative; }
.stretch img { display: block; width: 100%; height: auto; }
.stretch > figcaption { display: flex; justify-content: space-between; gap: 0.5rem 2rem; flex-wrap: wrap; padding-top: 0.7rem; font-size: 0.86rem; color: var(--ink-soft); }
.homes__head { margin-top: clamp(3rem, 6vw, 5rem); }
.homes__head .lede { margin-top: 1rem; }
.rooms { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); align-items: start; }
.room img { display: block; width: 100%; height: auto; border-radius: var(--sc-r-md); }
.room figcaption { display: flex; justify-content: space-between; gap: 0.25rem 1rem; flex-wrap: wrap; padding-top: 0.55rem; font-size: 0.86rem; color: var(--ink-soft); }
.room--wide { grid-column: 1 / span 8; }
.room--tall { grid-column: 9 / span 4; }
.room--a { grid-column: 1 / span 6; }
.room--b { grid-column: 7 / span 6; margin-top: clamp(1rem, 4vw, 3rem); }
.fin { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.25rem clamp(2rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: center; }
.fin__text p:last-child { margin-top: 0.75rem; font: 500 clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem)/1.25 var(--sc-font-display); max-width: 26ch; }
.fin__pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.fin__pics img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--sc-r-sm); }
.fin__credit { grid-column: 2; justify-self: end; margin-top: -0.6rem; }
.brochure { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.brochure__card {
  display: inline-flex; align-items: center; gap: 1.25rem; padding: 0.75rem 1.5rem 0.75rem 0.75rem; border-radius: var(--sc-r-md);
  background: var(--card); border: 1px solid var(--hair-2); text-decoration: none; color: var(--ink); box-shadow: var(--sc-e1);
  transition: transform 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.brochure__card img { width: 8.5rem; height: auto; border-radius: 3px; }
.brochure__text { display: grid; gap: 0.25rem; }
.brochure__text b { font: 500 1.45rem/1.2 var(--sc-font-display); }
.brochure__text span { font-size: 0.88rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .brochure__card:hover { transform: translateY(-2px); border-color: var(--gold); } }

/* ========================================================= FLOOR PLANS == */
.plans__head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.plans__head .lede { margin-top: 1rem; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 0.85rem; }
.type {
  width: 100%; height: 100%; display: grid; grid-template-columns: 6.2rem 1fr; gap: 1rem; align-items: center; text-align: left;
  padding: 0.75rem 0.9rem 0.75rem 0.75rem; border-radius: var(--sc-r-md); cursor: pointer;
  background: var(--navy-3); border: 1px solid var(--hair-n); color: var(--navy-ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.type:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .type:hover { border-color: var(--gold-lt); background: #3A4090; } }
.type__thumb { width: 6.2rem; height: 6.2rem; border-radius: 3px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.type__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 52%; transform: scale(1.5); }
.type__name { display: block; font: 500 1.4rem/1.15 var(--sc-font-display); }
.type__meta { display: block; margin-top: 0.2rem; font-size: 0.86rem; color: var(--navy-soft); line-height: 1.4; }
.type__left { display: inline-block; margin-top: 0.45rem; font-size: 0.82rem; font-weight: 600; color: var(--gold-lt); }
.plans__dl { margin-top: 1.5rem; }
.sec--navy .plans__dl a { color: #fff; text-decoration-color: var(--gold-lt); }

/* ======================================================== AVAILABILITY == */
.avail__head { margin-bottom: 1.75rem; }
.avail__head .lede { margin-top: 1rem; }
.avail__num { color: var(--gold-lt); }
.avail__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.avail__asat { max-width: 46ch; }
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter button {
  min-height: 2.6rem; padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--hair-n2); color: var(--navy-ink); font-size: 0.92rem;
  transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.filter button span { color: var(--navy-soft); margin-left: 0.15rem; }
.filter [aria-checked="true"] { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--navy-2); }
.filter [aria-checked="true"] span { color: rgb(32 36 90 / 0.75); }
@media (hover: hover) and (pointer: fine) { .filter button:hover { border-color: var(--gold-lt); } }
/* the tower as the chart draws it: Level 26 (the penthouses) on top, nine stacks */
.tower-chart { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr); gap: 1.5rem 3rem; align-items: start; }
.tc { display: grid; grid-template-columns: 1.9rem repeat(9, minmax(0, 1fr)); gap: 3px; max-width: 40rem; }
.tc__lvl { display: grid; place-items: center end; padding-right: 0.35rem; font-size: 0.66rem; color: var(--navy-soft); font-variant-numeric: tabular-nums; }
.tc__cell { min-height: 1.05rem; border-radius: 2px; background: rgb(236 234 244 / 0.07); }
.tc__cell--ph { display: grid; place-items: center; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; color: rgb(236 234 244 / 0.35); }
.tc__cell--none { background: transparent; box-shadow: inset 0 0 0 1px rgb(236 234 244 / 0.08); }
.tc__band { grid-column: 2 / -1; display: grid; place-items: center; min-height: 1.35rem; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-lt); border-top: 1px solid var(--hair-n2); border-bottom: 1px solid var(--hair-n2); }
.tc__stack { text-align: center; font-size: 0.66rem; color: var(--navy-soft); padding-top: 0.25rem; font-variant-numeric: tabular-nums; }
.tc__cell--open {
  display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; font: 600 0.6rem/1 var(--sc-font-text); color: var(--navy-2);
  transition: transform 120ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.tc__cell--open[data-fam="CP1"] { background: var(--c-cp1); }
.tc__cell--open[data-fam="DP1"], .tc__cell--open[data-fam="DP2"] { background: var(--c-dp); }
.tc__cell--open[data-fam="DPS1"] { background: var(--c-dps); }
.tc__cell--open[data-fam="E1"] { background: var(--c-e1); }
.tc__cell--open.is-dim { opacity: 0.14; }
.tc__cell--open.is-hl { box-shadow: 0 0 0 2px #fff; }
@media (hover: hover) and (pointer: fine) { .tc__cell--open:hover { transform: scale(1.12); box-shadow: 0 0 0 2px #fff; position: relative; z-index: 2; } }
.tc__note { display: grid; gap: 1rem; align-content: start; }
.tc__key { display: grid; gap: 0.6rem; font-size: 0.9rem; color: var(--navy-soft); }
.tc__key span { display: inline-flex; align-items: center; gap: 0.6rem; }
.tc__key i { width: 1rem; height: 1rem; border-radius: 2px; flex: none; }
.tc__facts { border-top: 1px solid var(--hair-n2); }
.tc__facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--hair-n); font-size: 0.9rem; }
.tc__facts dt { color: var(--navy-soft); }
.tc__facts dd { font-weight: 600; text-align: right; }
.avail__how { margin-top: 1.25rem; }

/* ============================================================ THE CLOSE == */
/* The sea at dusk holds (sticky) while the booking scrolls over it; the
   compass's ring comes down and sets on the horizon. */
.close { position: relative; background: #2B2D52; color: var(--ink); padding-bottom: calc(var(--sect) * 0.9); }
.close__hold { position: sticky; top: 0; height: 100svh; overflow: hidden; z-index: 0; }
.close__sky { position: absolute; inset: 0; }
.close__sky img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; display: block; }
.close__ring { position: absolute; left: 0; top: 0; width: 100px; height: 100px; overflow: visible; pointer-events: none; transform-origin: 0 0; will-change: transform; opacity: 0; }
.close__ring circle { fill: none; stroke: #E6CC92; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.close__wave { fill: none; stroke: #E6CC92; stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0; transition: opacity 600ms var(--sc-ease-out); }
.close.is-set .close__wave { opacity: 0.9; }
.close__credit { position: absolute; right: var(--gut); bottom: 0.9rem; padding: 0.12rem 0.45rem; border-radius: 3px; background: rgb(14 16 36 / 0.6); color: #fff !important; }
.book { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.75rem, 4vw, 4rem); margin-top: calc(-100svh + clamp(5rem, 13vh, 7.5rem)); align-items: start; }
.book__spacer { min-height: 1px; }
.book__side { display: grid; gap: clamp(1.75rem, 4vh, 2.75rem); }
.book__intro { color: #171A35; padding-top: 0.5rem; }
.book__intro .kicker { color: #2A2E66; }
.book__intro .lede { margin-top: 1rem; color: #1C1F3D; }
.book__title { font-style: italic; font-size: clamp(2.2rem, 1.4rem + 2vw, 3.3rem); max-width: none; }
.book__facts { margin-top: 1.5rem; border-top: 1px solid rgb(23 26 53 / 0.3); max-width: 30rem; }
.book__facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgb(23 26 53 / 0.18); font-size: 0.97rem; }
.book__facts dt { color: #34375A; }
.book__facts a { font-weight: 600; text-decoration-color: var(--klein); text-underline-offset: 0.25em; }

/* ----------------------------------------------------- the booking card -- */
.card { background: var(--card); color: var(--ink); border-radius: var(--sc-r-lg); }
.tb { position: relative; overflow: hidden; box-shadow: 0 30px 60px -20px rgb(10 12 30 / 0.55); }
.tb > * { border-top: 1px solid var(--hair-2); }
.tb > :first-child, .tb > input, .tb > .hp { border-top: 0; }
.tb__head { padding: 1.4rem 1.5rem 1.1rem; border-top: 0 !important; box-shadow: inset 0 3px 0 var(--gold); }
.tb__title { font: italic 500 1.8rem/1.1 var(--sc-font-display); color: var(--ink); }
.tb__sub { margin-top: 0.45rem; font-size: 0.93rem; color: var(--ink-soft); }
.tb__interest { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.5rem; background: #E7E8F3; font-size: 0.92rem; }
.tb__interest[hidden] { display: none; }
.tb__interest-x { background: none; border: 0; padding: 0.25rem; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; color: var(--ink-soft); }
.when { border: 0; margin: 0; padding: 1.25rem 1.5rem; min-width: 0; }
.when__legend { padding: 0; margin-bottom: 1rem; float: left; width: 100%; font: 600 0.72rem/1.2 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.when__legend + * { clear: both; }
.when__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.1rem; }
.when__tabs button {
  display: grid; gap: 0.3rem; text-align: left; padding: 0.65rem 0.85rem; min-height: 3.6rem;
  background: #fff; border: 1px solid var(--hair-2); border-radius: var(--sc-r-sm); cursor: pointer; color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
}
.when__n { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.when__v { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.when__tabs button.is-set .when__v { color: var(--ink); }
.when__tabs [aria-selected="true"] { border-color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); }
@media (hover: hover) and (pointer: fine) { .when__tabs button:hover { border-color: var(--navy); } }
.when__month { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.75rem; }
.when__dow, .when__dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.when__dow { font-size: 0.72rem; color: var(--ink-soft); text-align: center; margin-bottom: 0.35rem; }
.when__dates { margin-bottom: 1.1rem; }
.when__dates button, .when__times button {
  position: relative; font: 500 0.92rem/1 var(--sc-font-text); color: var(--ink);
  background: #fff; border: 1px solid var(--hair-2); border-radius: var(--sc-r-sm);
  cursor: pointer; min-height: 2.75rem; padding: 0.3rem 0.2rem; font-variant-numeric: tabular-nums;
  transition: background-color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out);
}
.when__dates button { display: grid; place-items: center; align-content: center; gap: 0.1rem; }
.when__dates .m { font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.when__dates .pad { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { .when__dates button:hover, .when__times button:hover { border-color: var(--navy); } }
.when__dates [aria-checked="true"], .when__times [aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.when__dates [aria-checked="true"] .m { color: rgb(255 255 255 / 0.8); }
.when__dates button[data-other]::after { content: ""; position: absolute; left: 50%; bottom: 0.26rem; width: 0.3rem; height: 0.3rem; margin-left: -0.15rem; border-radius: 50%; background: var(--gold); }
.when__times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; }
.when__times button:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.when__native label { display: block; margin-top: 0.75rem; font-size: 0.92rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { padding: 0.8rem 1.5rem 0.95rem; min-width: 0; }
.field + .field { border-left: 1px solid var(--hair-2); }
.field--wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--hair-2); }
.field label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input {
  width: 100%; min-height: 2.9rem; padding: 0.65rem 0.8rem;
  background: #FCFBF9; border: 1px solid rgb(27 31 59 / 0.32); border-radius: var(--sc-r-sm);
  font: 400 1rem/1.2 var(--sc-font-text); color: var(--ink);
  transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
}
.field input::placeholder { color: color-mix(in oklab, var(--ink-soft) 85%, transparent); }
.field input:focus-visible { border-color: var(--navy); background: #fff; outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #A3342A; }
.field__error { margin: 0.35rem 0 0; font-size: 0.88rem; color: #A3342A; }
.field__error:empty { display: none; }
.tb__submit { padding: 1.25rem 1.5rem 1rem; }
.tb .btn { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tb .btn:hover { background: var(--navy-3); } }
.tb__fineprint { margin-top: 1rem; font-size: 0.82rem; line-height: 1.55; color: var(--ink-soft); text-align: center; text-wrap: pretty; }
.tb__status { padding: 1rem 1.5rem; font-size: 0.93rem; }
.tb__status.is-ok { background: #E6EDF1; color: #18304A; }
.tb__status.is-wait { background: #EDEBF3; color: var(--ink); }
.tb__status.is-err { background: #F6E3DC; color: #7A2A14; }
.tb__status a { color: inherit; font-weight: 600; }
.tb__status:focus { outline: none; }
.tb.is-sending > :not([data-status]):not(.tb__head), .tb.is-done > :not([data-status]):not(.tb__head) { display: none; }
.tb.is-sending .tb__status, .tb.is-done .tb__status { padding: 2rem 1.75rem; font-size: 1.1rem; line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------- footer -- */
.foot { position: relative; z-index: 1; padding: 2.25rem var(--gut) 2.75rem; font-size: 0.88rem; background: var(--navy-2); color: var(--navy-soft); border-top: 1px solid var(--hair-n); }
.foot__lines { text-align: center; }
.foot__lines p { line-height: 1.7; }
.foot__lines p + p { margin-top: 0.25rem; }
.foot__lines span { white-space: nowrap; }
.foot a { color: var(--navy-ink); text-decoration-color: var(--gold-lt); text-underline-offset: 0.25em; }

/* ------------------------------------------------------------- dialogs -- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--card); box-shadow: var(--sc-e3); }
dialog::backdrop { background: rgb(14 16 36 / 0.62); }
.dlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1rem 0.9rem 1.4rem; border-bottom: 1px solid var(--hair); }
.dlg-title { font: italic 500 1.35rem/1.2 var(--sc-font-display); color: var(--ink); }
.dlg-close { min-height: 2.5rem; padding: 0.4rem 1rem; border-radius: 999px; cursor: pointer; background: var(--navy); color: #fff; border: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.index-dlg { width: min(30rem, calc(100vw - 2rem)); border-radius: var(--sc-r-lg); max-height: min(46rem, calc(100svh - 2rem)); }
.index-dlg[open] { display: grid; grid-template-rows: auto 1fr; }
.index-dlg__list { padding: 0.5rem 1.1rem 1.1rem; overflow: auto; }
.index-dlg__list a { display: grid; grid-template-columns: 2.1rem 6.4rem 1fr; align-items: center; gap: 0.6rem; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--hair); text-decoration: none; border-radius: 3px; }
.index-dlg__list a:hover { background: var(--paper-2); }
.index-dlg__list a.is-here { background: var(--paper-2); }
.index-dlg__list a.is-here .ix__name { color: var(--gold-ink); }
.ix__g { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1.4px solid var(--gold); }
.ix__g::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 10px; margin-left: -1px; background: var(--klein); transform-origin: 50% 100%; transform: translateY(-100%) rotate(calc(var(--b) * 1deg)); border-radius: 1px; }
.ix__g.is-tilt { transform: scaleY(0.38); }
.ix__g.is-tilt::after { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; transform: none; background: var(--klein); }
.ix__b { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.ix__name { font: 500 1.12rem/1.2 var(--sc-font-display); }
.plan-dlg { width: min(68rem, calc(100vw - 2rem)); height: min(54rem, calc(100svh - 2rem)); border-radius: var(--sc-r-lg); }
.plan-dlg[open] { display: grid; grid-template-rows: auto 1fr; }
.plan-dlg__body { display: grid; grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.45fr); min-height: 0; }
.plan-dlg__meta { padding: 1.25rem 1.4rem; overflow: auto; border-right: 1px solid var(--hair); }
.plan-dlg__meta .h3 { color: var(--gold-ink); }
.plan-dlg__meta .facts { display: grid; gap: 0; border-top: 1px solid var(--hair-2); margin-top: 0.75rem; }
.plan-dlg__meta .facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--hair); font-size: 0.93rem; }
.plan-dlg__meta .facts dt { color: var(--ink-soft); }
.plan-dlg__meta .facts dd { text-align: right; font-weight: 600; }
.plan-dlg__meta .btn { margin-top: 1.25rem; width: 100%; }
.plan-dlg__meta .link-arrow { display: inline-block; margin-top: 0.9rem; }
.plan-dlg__units { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.plan-dlg__units b { color: var(--ink); }
.plan-dlg__units button { margin: 0.2rem 0.3rem 0 0; padding: 0.3rem 0.6rem; border-radius: 999px; border: 1px solid var(--hair-2); background: #fff; cursor: pointer; font-size: 0.82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-dlg__units button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan-dlg__img { overflow: auto; background: #fff; display: grid; place-items: start center; }
.plan-dlg__img img { width: 100%; max-width: 60rem; height: auto; display: block; }
.viewer { width: calc(100vw - 2rem); height: calc(100svh - 2rem); max-width: none; max-height: none; border-radius: var(--sc-r-lg); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer__body { overflow: auto; background: #fff; display: grid; place-items: start center; }
.viewer__body img { display: block; width: auto; max-width: none; height: auto; }
.viewer.is-fit .viewer__body img { width: 100%; max-width: 100%; cursor: zoom-in; }
.viewer:not(.is-fit) .viewer__body img { cursor: zoom-out; }

/* ============================================================== TABLET == */
@media (max-width: 1100px) {
  .dev { grid-template-columns: 1fr; }
  .dev__up { max-width: 30rem; }
  .particulars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .way, .way--flip { grid-template-columns: 1fr; }
  .way--flip .way__text { order: 0; }
  .club__in { grid-template-columns: 1fr; }
  .sp__panel { grid-template-columns: 1fr; }
  .sp__sheet { max-width: 34rem; }
  .tower-chart { grid-template-columns: 1fr; }
  .fac__big { grid-column: 1 / -1; grid-row: auto; }
  .fac__a, .fac__b { grid-column: span 6; }
  .book { grid-template-columns: 1fr; }
  .book__spacer { display: none; }
  .tb { margin-top: 36svh; }
  .turn__faces { grid-template-columns: 1fr; max-width: 24rem; gap: 0.5rem; }
  .turn__faces li { display: none; }
  .turn__faces li.is-on { display: block; }
}

/* =============================================================== PHONE == */
@media (max-width: 860px) {
  :root { --bar-h: calc(3.7rem + env(safe-area-inset-top, 0px)); --sect: clamp(3.5rem, 12vw, 5rem); }
  .wrap { width: calc(100% - 2 * var(--gut)); }
  /* the compass becomes a slim bar at the top */
  .cmp {
    left: 0; right: 0; top: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--hair);
    height: var(--bar-h); padding: env(safe-area-inset-top, 0px) 0.6rem 0 0.45rem; justify-content: space-between;
  }
  .cmp.is-navy { border-bottom-color: var(--hair-n); }
  .cmp__open { min-width: 0; padding-right: 0.3rem; }
  .cmp__dial { width: 40px; height: 40px; }
  .cmp__s { font-size: 1rem; max-width: 52vw; }
  .cmp__book { padding-inline: 0.85rem; }
  .devs { grid-template-columns: 1fr; gap: 1.75rem; }
  .coll__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .particulars { grid-template-columns: 1fr; }
  .way__pics { grid-template-columns: 1fr 1fr; }
  .way__c { width: 100%; }
  .times li { font-size: 0.9rem; }
  .sp__legend { columns: 1; }
  .fac { grid-template-columns: 1fr; }
  .fac__big, .fac__a, .fac__b, .fac__c, .fac__d, .fac__e { grid-column: auto; grid-row: auto; }
  .stretch { overflow: hidden; }
  .stretch img { width: 200%; max-width: none; margin-left: -18%; }
  .rooms { grid-template-columns: 1fr; }
  .room--wide, .room--tall, .room--a, .room--b { grid-column: auto; margin-top: 0; }
  .room--tall { max-width: 24rem; }
  .fin { grid-template-columns: 1fr; }
  .fin__credit { grid-column: auto; }
  .types { grid-template-columns: 1fr; }
  .tc { max-width: none; gap: 2px; }
  .tc__cell { min-height: 1rem; }
  .book__facts > div { grid-template-columns: 7.5rem 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field + .field { border-left: 0; border-top: 1px solid var(--hair-2); }
  .when, .field, .tb__head, .tb__submit { padding-left: 1.1rem; padding-right: 1.1rem; }
  .when__dates button, .when__times button { min-height: 2.6rem; font-size: 0.86rem; }
  .plan-dlg__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow: auto; }
  .plan-dlg__meta { border-right: 0; border-bottom: 1px solid var(--hair); }
  .plan-dlg__img { overflow: visible; }
  /* the turn: the room as a window band, the words above and below it */
  .turn__win { top: calc(var(--bar-h) + 6.4rem); bottom: 9.6rem; }
  .turn__head { top: calc(var(--bar-h) + 1rem); left: var(--gut); right: var(--gut); }
  .turn__head::before { display: none; }
  .turn__head .h2 { font-size: 2.3rem; }
  .turn__head .kicker { margin-bottom: 0.4rem; }
  .turn__faces { left: var(--gut); right: var(--gut); bottom: 3.7rem; max-width: none; }
  .turn__faces li { padding: 0.7rem 0.9rem; background: transparent; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .turn__faces li.is-on { background: transparent; }
  .turn__t { font-size: 1.3rem; }
  .turn__credit { top: calc(var(--bar-h) + 6.9rem); bottom: auto; }
  .turn__tape { height: 3.2rem; background: none; }
  /* the close: the words in the sky, then the card over the sea */
  .book { margin-top: calc(-100svh + var(--bar-h) + 1.25rem); gap: 0; }
  .book__intro .h2 { font-size: 2.1rem; }
  .book__intro .lede { font-size: 1rem; }
  .book__facts { margin-top: 1rem; }
  .book__facts > div { padding: 0.5rem 0; font-size: 0.92rem; }
  .tb { margin-top: 44svh; }
}
@media (max-width: 380px) {
  .cmp__read { display: none; }
}

/* ========================================================= WITHOUT SCRIPT == */
.no-js [data-sc-in], .no-js [data-sc-stagger] > * { opacity: 1; transform: none; }
.no-js .cmp, .no-js .filter, .no-js .avail__how, .no-js .sp__tabs { display: none !important; }
.no-js .turn { display: none; }
.no-js .turn__still, .turn-sec.is-still .turn__still { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: var(--sect) var(--gut); }
.turn-sec.is-still .turn { display: none; }
.turn__still img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--sc-r-md); }
.turn__still figcaption { margin-top: 0.55rem; font-size: 0.9rem; color: var(--navy-soft); }
.turn__still b { color: var(--gold-lt); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; margin-right: 0.4rem; }
.no-js .close__hold { position: relative; height: 70svh; }
.no-js .close__ring { display: none; }
.no-js .book { margin-top: 2rem; }
.no-js .book__intro, .no-js .book__intro .lede, .no-js .book__intro .kicker, .no-js .book__facts dt { color: var(--navy-ink); }
.no-js .book__facts > div, .no-js .book__facts { border-color: var(--hair-n2); }
.no-js .book__facts a { text-decoration-color: var(--gold-lt); }
.no-js .tb { margin-top: 1.5rem; }
.nojs-note { margin-top: 1rem; }
@media (max-width: 860px) { .no-js .turn__still, .turn-sec.is-still .turn__still { grid-template-columns: 1fr; } }

/* ====================================================== REDUCED MOTION == */
@media (prefers-reduced-motion: reduce) {
  .hero__plane, .hero__name, .frame__move { transform: none !important; }
  .hero__copy > *, .hero__name > span { animation: none; }
  [data-wipe] { clip-path: none !important; }
  .cmp__dial svg { transition: none; }
  .close__hold { position: relative; height: 72svh; }
  .book { margin-top: calc(-72svh + clamp(4rem, 10vh, 6rem)); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .book { margin-top: calc(-72svh + 1.25rem); }
  .tb { margin-top: 30svh; }
}
