/* Radiant Legacy. Tokens come from the developer brochure; motion rules live in MOTION_SPEC.md. */

:root {
  --ink: #121617;
  --ink-2: #1a1f21;
  --ink-3: #15191b;
  --night: #0d1011;
  --mist: #e9eceb;
  --paper: #f3f4f2;
  --slate: #535c5f;
  --dim: #a9b1b3;
  --dim-2: #8d979a;
  --soft: #c9cfd0;
  --dim-l: #3e474a;
  --dim-l2: #4a5356;
  --gold: #cda869;
  --gold-hi: #e4c893;
  --gold-dark: #7a5c26;
  --gold-bar: #a8823c;
  --line-d: rgba(233, 236, 235, .16);
  --line-l: rgba(18, 22, 23, .16);

  --f-display: 'Forum', Georgia, 'Times New Roman', serif;
  --f-num: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(96px, 10vw, 150px);
  --hdr-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 960px) {
  :root { --hdr-h: 64px; }
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-hi); }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--gold-dark); }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; color: var(--ink); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; z-index: 2; padding-block: var(--section-y); }
.dark { background: var(--ink); color: var(--mist); }
.dark-2 { background: var(--ink-2); color: var(--mist); }
.light { background: var(--mist); color: var(--ink); }
.paper { background: var(--paper); color: var(--ink); }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--f-num);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.light .eyebrow, .paper .eyebrow { color: var(--gold-dark); }

.h-xl {
  margin-top: 24px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
  text-wrap: balance;
}

.lede { color: var(--dim); text-wrap: pretty; }
.light .lede, .paper .lede { color: var(--dim-l); }

.note { font-size: 12px; line-height: 1.6; color: var(--dim-2); }
.light .note, .paper .note { color: var(--dim-l2); }
.note a { color: var(--dim); }
.light .note a, .paper .note a { color: var(--gold-dark); }

.head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.head-row > .lede { max-width: 440px; }

.chrome {
  background-image: linear-gradient(100deg, #9aa3a6 0%, #f2f4f4 30%, #a7b0b2 55%, #e6eaea 80%, #9aa3a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* masked number rise: the inner span moves, the outer clips */
.rise { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.rise > span { display: inline-block; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn svg { flex-shrink: 0; transition: transform .35s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); color: var(--ink); }
.btn--ghost { border-color: rgba(233, 236, 235, .4); color: var(--mist); font-weight: 500; }
.btn--ghost:hover { border-color: var(--mist); color: var(--mist); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.light .link-more, .paper .link-more { color: var(--gold-dark); }
.light .link-more:hover, .paper .link-more:hover { color: var(--ink); }
.link-more svg { transition: transform .35s var(--ease-out); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s, -webkit-backdrop-filter .45s, backdrop-filter .45s;
}
.hdr.is-solid, .menu-open .hdr {
  background-color: rgba(18, 22, 23, .82);
  border-bottom-color: rgba(233, 236, 235, .1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hdr__bar {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hdr__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hdr__wave { height: 26px; width: auto; }
.hdr__logo { height: 38px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: 14px; letter-spacing: .02em; }
.hdr__nav a { color: var(--soft); }
.hdr__nav a:hover { color: var(--mist); }
.hdr__tools { display: flex; align-items: center; gap: 12px; }
.hdr__progress {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
}

.lang { display: flex; align-items: center; gap: 2px; font-family: var(--f-num); font-size: 11px; letter-spacing: .12em; }
.lang > * { display: inline-flex; align-items: center; min-height: 44px; padding: 0 7px; }
.lang span { color: var(--mist); box-shadow: inset 0 -1px 0 var(--gold); min-height: 0; padding-block: 4px; }
.lang a { color: var(--dim-2); }
.lang a:hover { color: var(--mist); }

.hdr__tel { display: none; align-items: center; min-height: 44px; margin-right: 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--mist); white-space: nowrap; }
.hdr__tel:hover { color: var(--gold-hi); }
@media (min-width: 1360px) {
  .hdr__tel { display: inline-flex; }
}

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(233, 236, 235, .28);
  background: transparent;
  cursor: pointer;
}
.burger span { width: 16px; height: 1.5px; background: var(--mist); transition: transform .35s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: var(--hdr-h) 0 0;
  z-index: 49;
  overflow: auto;
  padding: 24px var(--gutter) 40px;
  background: rgba(13, 16, 17, .97);
  opacity: 0;
  transition: opacity .3s;
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; }
.mnav nav { display: flex; flex-direction: column; }
.mnav a:not(.btn) {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--mist);
  padding: 14px 0;
  border-bottom: 1px solid rgba(233, 236, 235, .1);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms + 60ms);
}
.mnav.is-open a:not(.btn) { opacity: 1; transform: none; }
.mnav .btn { margin-top: 28px; height: 56px; font-size: 16px; }
.mnav__contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; }
.mnav .mnav__contact a { padding: 10px 0; border: 0; font-family: var(--f-body); font-size: 16px; font-weight: 600; color: var(--gold); }
.menu-open { overflow: hidden; }

@media (max-width: 1100px) {
  .hdr__nav { gap: 16px; font-size: 13px; }
}
@media (max-width: 960px) {
  .hdr__nav, .hdr__wave { display: none; }
  .burger { display: inline-flex; }
  .hdr__logo { height: 34px; }
}
@media (max-width: 640px) {
  .hdr__cta { display: none; }
}
@media (min-width: 961px) {
  .mnav { display: none !important; }
}

/* ---------- hero ---------- */

.hero-wrap { position: relative; }

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: clamp(640px, 100svh, 980px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}
.hero__media, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 40%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 22, 23, .62) 0%, rgba(18, 22, 23, .3) 34%, rgba(18, 22, 23, 0) 58%),
    linear-gradient(180deg, rgba(18, 22, 23, .82) 0%, rgba(18, 22, 23, .28) 28%, rgba(18, 22, 23, .04) 48%, rgba(18, 22, 23, .5) 70%, rgba(18, 22, 23, .96) 100%);
}
.hero__veil, .hero__dim { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }

.hero__copy {
  position: relative;
  flex: none;
  width: 100%;
  padding-top: calc(var(--hdr-h) + clamp(24px, 6svh, 74px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.hero__lead { max-width: 600px; }
.hero__title {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, min(4.6vw, 7.4svh), 70px);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.hero__sub { margin-top: 22px; max-width: 470px; font-size: clamp(16px, 1.3vw, 18px); color: var(--soft); text-wrap: pretty; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.facts { width: 270px; border-top: 1px solid rgba(233, 236, 235, .24); }
.facts > div { padding: 16px 0; border-bottom: 1px solid rgba(233, 236, 235, .24); }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { margin-top: 4px; font-family: var(--f-num); font-weight: 300; font-size: 21px; white-space: nowrap; }

/* The lockup takes whatever height the copy leaves, so short laptop screens get a smaller wordmark instead of an overlap. */
.hero__mark {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin-top: clamp(16px, 3svh, 40px);
  container-type: size;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.lockup {
  --mk: min(20.6vw, calc((100cqh - 34px) / 1.04));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: clamp(14px, 1.6vw, 26px);
}
.hero__radiant {
  margin-left: calc(var(--mk) * .07);
  margin-bottom: calc(var(--mk) * .02);
  font-family: var(--f-display);
  font-size: calc(var(--mk) * .21);
  line-height: 1;
}
.mark {
  position: relative;
  font-family: var(--f-display);
  font-size: var(--mk);
  line-height: .8;
  letter-spacing: .015em;
  white-space: nowrap;
}
.mark__ch {
  display: inline-block;
  background-image: linear-gradient(100deg, #7e878a 0%, #f2f4f4 18%, #9aa3a6 34%, #e6eaea 52%, #7f888b 70%, #dce1e2 86%, #8e979a 100%);
  background-size: 600% 100%;
  background-position: var(--p) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* the glint is a white copy of the word, shown only through a moving soft band */
.mark__glint {
  position: absolute;
  inset: 0;
  color: #ffe9c4;
  --gx: 120%;
  -webkit-mask-image: linear-gradient(100deg, transparent 43%, #000 49%, #000 51%, transparent 57%);
  mask-image: linear-gradient(100deg, transparent 43%, #000 49%, #000 51%, transparent 57%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-position: var(--gx) 0;
  mask-position: var(--gx) 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  visibility: hidden;
}
.mark__glint > span { display: inline-block; }

@media (max-width: 960px) {
  .hero__copy { row-gap: 28px; }
  .hero .facts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    border-top-color: rgba(233, 236, 235, .3);
  }
  .hero .facts > div { padding: 12px 0 0; border: 0; }
  .hero .facts dt { font-size: 12px; }
  .hero .facts dd { font-size: 15px; }
}
@media (max-width: 420px) {
  .hero .facts { gap: 10px; }
  .hero .facts dd { font-size: 13px; }
}
@media (max-width: 640px) {
  .hero__shade { background: linear-gradient(180deg, rgba(18, 22, 23, .9) 0%, rgba(18, 22, 23, .66) 44%, rgba(18, 22, 23, .34) 62%, rgba(18, 22, 23, .66) 80%, rgba(18, 22, 23, .96) 100%); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .15em; }
}

/* intro start state, set before first paint by the inline head script and released by main.js */
.is-intro [data-intro] { opacity: 0; }
.is-intro .mark__ch { transform: translateY(115%); }
.is-intro .hero__veil { opacity: .55; }

/* ---------- about ---------- */

.about { position: relative; z-index: 1; overflow: hidden; }
.waves {
  position: absolute;
  right: -4vw;
  top: 40px;
  width: min(62vw, 900px);
  height: auto;
  opacity: .5;
  pointer-events: none;
}
.manifesto {
  margin-top: 40px;
  max-width: 1180px;
  font-family: var(--f-display);
  font-size: clamp(30px, 3.5vw, 54px);
  line-height: 1.16;
  text-wrap: pretty;
}
.manifesto em { font-style: normal; color: var(--gold); }

.stats {
  margin-top: clamp(64px, 7vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
}
.stat { border-top: 1px solid rgba(233, 236, 235, .18); padding-top: 26px; }
.stat__num { font-family: var(--f-num); font-weight: 200; font-size: clamp(52px, 5.4vw, 80px); line-height: 1; }
.stat__label { margin-top: 14px; max-width: 240px; font-size: 15px; color: var(--dim); }

/* ---------- architecture ---------- */

.arch__grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 80px); align-items: flex-start; }
.arch__text { flex: 1 1 380px; }
.arch__text .h-xl { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; text-transform: uppercase; letter-spacing: .01em; }
.arch__text p:not(.eyebrow) { max-width: 460px; color: var(--dim-l); text-wrap: pretty; }
.arch__text .p1 { margin-top: 32px; }
.arch__text .p2 { margin-top: 18px; }
.chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.chips li { padding: 8px 14px; border: 1px solid rgba(18, 22, 23, .2); border-radius: 999px; }
.arch__media { flex: 1.4 1 520px; display: flex; flex-direction: column; gap: 24px; }
.arch__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.arch__fact { flex: 1 1 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding-bottom: 8px; }
.arch__fact .big { font-family: var(--f-num); font-weight: 200; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; white-space: nowrap; }
.arch__fact .big small { font-size: .4em; font-weight: 300; }
.arch__fact p:not(.big):not(.note) { color: var(--dim-l); max-width: 300px; }

@media (min-width: 1100px) {
  .arch__text { position: sticky; top: calc(var(--hdr-h) + 44px); }
}

/* image frames: the frame clips, the image scales inside it */
.frame { position: relative; overflow: hidden; background: #c9cfd0; }
.frame > img, .frame > video { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--tall { flex: 1 1 260px; aspect-ratio: 3 / 4; }
.dark .frame, .dark-2 .frame { background: #2b3235; }
.hover-zoom > img { transition: transform 1.4s var(--ease-out); }
.hover-zoom:hover > img { transform: scale(1.04); }

/* ---------- full-bleed curtain ---------- */

.curtain { position: relative; z-index: 2; }
.distinction {
  position: sticky;
  top: 0;
  z-index: 0;
  height: clamp(560px, 56vw, 820px);
  overflow: hidden;
  background: var(--ink);
}
.bleed-img { position: absolute; left: 0; width: 100%; top: -8%; height: 116%; object-fit: cover; }
.distinction .bleed-img { object-position: 50% 45%; }
.distinction__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 22, 23, .86) 0%, rgba(18, 22, 23, .2) 42%, rgba(18, 22, 23, 0) 70%); }
.distinction__copy {
  position: absolute;
  inset: auto 0 clamp(36px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.distinction__title { font-family: var(--f-display); font-size: clamp(32px, 6.4vw, 100px); line-height: .94; text-transform: uppercase; }
.distinction__copy p:last-child { max-width: 320px; font-size: 14px; color: var(--soft); }

/* ---------- the tower (ascent) ---------- */

.tower { position: relative; z-index: 1; background: var(--ink); }
.tower__head { padding-top: var(--section-y); }
.tower__head .lede { margin-top: 26px; max-width: 560px; }
.tower__body {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(32px, 5vw, 96px);
  padding-bottom: var(--section-y);
}
.tower__stage {
  position: sticky;
  top: calc(var(--hdr-h) + 20px);
  height: calc(100svh - var(--hdr-h) - 40px);
  max-height: 900px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lift { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 24px; }
.lift__label { grid-column: 1 / -1; font-family: var(--f-num); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim-2); }
.lift__num {
  min-width: 2.2ch;
  font-family: var(--f-num);
  font-weight: 200;
  font-size: clamp(64px, 6.4vw, 112px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.lift__num.is-range { font-size: clamp(44px, 4vw, 68px); }
.lift__zone-wrap { overflow: hidden; padding-bottom: .12em; }
.lift__zone { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; }
.tower__fig { flex: 1; min-height: 0; }
.tower__fig svg { width: 100%; height: 100%; }
.lift-track { display: none; }

.zones { counter-reset: zone; }
.zone {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-block: 7svh;
}
.zone__media { aspect-ratio: 16 / 11; }
.zone__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -16px; }
.zone__thumbs .frame { aspect-ratio: 4 / 3; }
.zone__code { font-family: var(--f-num); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.zone__title { margin-top: 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.04; }
.zone__text { margin-top: 14px; max-width: 520px; color: var(--dim); text-wrap: pretty; }
.zone .link-more { margin-top: 18px; }

/* tower drawing, shared by the ascent and the floor selector */
.tw { overflow: visible; }
.tw__fl { fill: #1b2124; stroke: rgba(233, 236, 235, .16); stroke-width: 1; transition: fill .45s var(--ease-out), stroke .45s var(--ease-out); }
.tw__ground { stroke: rgba(233, 236, 235, .24); stroke-width: 1; }
.tw__label { font-family: var(--f-num); font-size: 10px; letter-spacing: .06em; fill: var(--dim-2); transition: fill .45s; }
.tw__ribbon { fill: none; stroke-width: 1.3; stroke-linecap: round; }
.tw__marker { fill: var(--gold); stroke: var(--gold); }
.tw__marker line { stroke-width: 1; }

.tw--ascent .tw__fl.is-lit { fill: #3a3427; stroke: rgba(205, 168, 105, .3); }
.tw--ascent .tw__fl.is-zone { fill: rgba(205, 168, 105, .62); stroke: rgba(228, 200, 147, .7); }
.tw--ascent .tw__fl.is-now { fill: var(--gold-hi); stroke: var(--gold-hi); }
.tw--ascent .tw__label.is-on { fill: var(--gold); }

.tw--plan .tw__fl--base { fill: #3b4447; }
.tw--plan .tw__fl--park { fill: #2b3235; stroke: #4e585b; }
.tw--plan .tw__fl--amen { fill: #9fb9bb; }
.tw--plan .tw__fl--office { fill: #4e585b; }
.tw--plan .tw__fl--terrace { fill: #6e797d; }
.tw--plan .tw__fl--crown { fill: #899396; }
.tw--plan .tw__fl { stroke: transparent; }
.tw--plan .tw__fl.is-sel { fill: var(--gold); }
.tw--plan .tw__label { font-size: 19px; }

@media (max-width: 899px) {
  .tower__body { display: block; }
  .tower__stage {
    top: var(--hdr-h);
    z-index: 3;
    height: auto;
    max-height: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 12px var(--gutter) 14px;
    background: rgba(18, 22, 23, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-d);
    gap: 10px;
  }
  .lift { grid-template-columns: auto auto 1fr; column-gap: 12px; align-items: baseline; }
  .lift__label { grid-column: auto; }
  .lift__num { font-size: 26px; min-width: 2.4ch; }
  .lift__zone { font-size: 20px; }
  .tower__fig { display: none; }
  .lift-track { display: grid; grid-template-columns: repeat(37, 1fr); gap: 2px; height: 6px; }
  .lift-track i { background: #273033; transition: background-color .35s; }
  .lift-track i.is-lit { background: #5a4c33; }
  .lift-track i.is-zone { background: rgba(205, 168, 105, .75); }
  .lift-track i.is-now { background: var(--gold-hi); }
  .zone { min-height: 0; padding-block: 48px 8px; gap: 22px; }
}

/* ---------- why ADGM ---------- */

.adgm .head-row h2 { max-width: 720px; }
.market {
  margin-top: clamp(56px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  border-top: 1px solid var(--line-d);
}
.market > div { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line-d); }
.market__num { font-family: var(--f-num); font-weight: 200; font-size: clamp(50px, 5vw, 80px); line-height: 1; white-space: nowrap; }
.market__label { margin-top: 18px; max-width: 250px; }
.market__src { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--dim-2); }
.market__src:hover { color: var(--mist); }

/* ---------- price vs Dubai ---------- */

.price__grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.price__text { flex: 1 1 360px; }
.price__text .lede { margin-top: 28px; max-width: 440px; }
.chart { flex: 1.3 1 520px; }
.chart__cap { font-size: 13px; color: var(--dim-l2); margin-bottom: 22px; }
.chart__rows { display: flex; flex-direction: column; gap: 18px; }
.row { display: grid; grid-template-columns: minmax(130px, 210px) 1fr 96px; align-items: center; gap: 16px; font-size: 14px; }
.row--hero { font-weight: 600; }
.row__track { position: relative; height: 12px; }
.bar { position: absolute; top: 0; bottom: 0; background: #a3abae; transform-origin: 0 50%; }
.bar--range { background: #cdd2d3; }
.row--hero .bar { background: var(--gold-bar); }
.row--hero .bar--range { background: #d9be8a; }
.row__val { text-align: right; font-family: var(--f-num); font-size: 13px; white-space: nowrap; }
.row--hero .row__val { color: var(--gold-dark); }
.chart .note { margin-top: 28px; }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .row__track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- floors and yield ---------- */

.floors .head-row > div { max-width: 720px; }
.floors .head-row .lede { margin-top: 22px; max-width: 520px; }
.ftabs { display: flex; flex-wrap: wrap; gap: 10px; }
.ftab {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 8px;
  border-radius: 999px; border: 1px solid rgba(233, 236, 235, .28);
  background: transparent; color: var(--mist);
  font-size: 14px; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.ftab:hover { border-color: var(--mist); }
.ftab__code {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(233, 236, 235, .28);
  font-family: var(--f-num); font-size: 14px;
  transition: border-color .3s;
}
.ftab[aria-selected="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.ftab[aria-selected="true"] .ftab__code { border-color: rgba(18, 22, 23, .35); }

.calc { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.calc__tower { flex: 0 1 270px; min-width: 240px; background: var(--ink-3); padding: 28px 24px; display: flex; flex-direction: column; gap: 24px; }
.calc__tower > p { font-size: 13px; color: var(--dim); }
.calc__tower .tw { width: 100%; height: auto; max-height: 420px; }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--dim); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 18px; height: 8px; flex-shrink: 0; }
.calc__plan { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.calc__planbox { background: #eef0ef; padding: clamp(12px, 2vw, 28px); }
.calc__planbox img { width: 100%; height: auto; aspect-ratio: 915 / 730; object-fit: contain; }
.calc__type { font-family: var(--f-num); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.calc__name { margin-top: 10px; font-family: var(--f-display); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; }
.calc__note { margin-top: 10px; color: var(--dim); max-width: 520px; }
.calc__card { flex: 1 1 360px; min-width: 0; border: 1px solid rgba(233, 236, 235, .14); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 22px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.kv dt, .calc__card .k { font-size: 12px; color: var(--dim); }
.kv dd.v { margin-top: 6px; font-family: var(--f-num); font-weight: 300; font-size: 20px; white-space: nowrap; }
.kv dd.s { font-size: 13px; color: var(--dim); white-space: nowrap; }
.calc__sep { border-top: 1px solid rgba(233, 236, 235, .14); padding-top: 20px; }
.calc__price { margin-top: 6px; font-family: var(--f-num); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; white-space: nowrap; }
.calc__usd { margin-top: 4px; font-size: 14px; color: var(--gold); }
.rate { display: flex; flex-direction: column; gap: 14px; }
.rate__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rate__top label { font-size: 13px; color: var(--dim); }
.rate__val { font-family: var(--f-num); font-size: 15px; white-space: nowrap; }
.rate input[type=range] { width: 100%; height: 28px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.fpreset {
  min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(233, 236, 235, .28);
  background: transparent; color: var(--mist); font-size: 13px; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.fpreset:hover { border-color: var(--mist); }
.fpreset[aria-pressed="true"] { background: var(--mist); color: var(--ink); }
.kv dd.yield { margin-top: 6px; font-family: var(--f-num); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; white-space: nowrap; }
.kv dd.yield--gold { color: var(--gold); }
.floors .note { margin-top: 28px; max-width: 980px; }

@media (max-width: 640px) {
  .calc__tower { flex-basis: 100%; flex-direction: row; align-items: flex-start; }
  .calc__tower > p { display: none; }
  .calc__tower [data-tower] { width: 44%; flex-shrink: 0; }
  .calc__tower .tw { max-height: none; }
  .legend { padding-top: 6px; }
}

/* ---------- terms ---------- */

.plan { margin-top: clamp(56px, 6vw, 88px); }
.plan__bar { display: flex; height: 14px; gap: 4px; }
.plan__seg { transform-origin: 0 50%; }
.plan__seg:nth-child(1) { flex: 5; background: var(--gold-bar); }
.plan__seg:nth-child(2) { flex: 45; background: var(--slate); }
.plan__seg:nth-child(3) { flex: 50; background: var(--ink); }
.plan__cols { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; }
.plan__pct { font-family: var(--f-num); font-weight: 200; font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.plan__col:first-child .plan__pct { color: var(--gold-dark); }
.plan__what { margin-top: 14px; font-weight: 600; }
.plan__how { margin-top: 4px; color: var(--dim-l2); font-size: 15px; }
.plan__sum { margin-top: 16px; font-family: var(--f-num); font-size: 14px; white-space: nowrap; }
.plan .note { margin-top: 22px; }
.terms-list {
  margin-top: clamp(56px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  border-top: 1px solid var(--line-l);
}
.terms-list > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line-l); }
.terms-list dt { font-size: 13px; color: var(--dim-l2); }
.terms-list dd { margin-top: 8px; font-family: var(--f-display); font-size: 28px; line-height: 1.1; }

/* ---------- location ---------- */

.location { position: relative; z-index: 2; }
.location__hero { position: relative; height: clamp(420px, 44vw, 640px); overflow: hidden; background: #9fb9bb; }
.location__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 22, 23, .62) 0%, rgba(18, 22, 23, 0) 45%); }
.location__hero p {
  position: absolute; z-index: 1;
  left: var(--gutter); bottom: clamp(24px, 3vw, 44px);
  font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 54px); line-height: 1;
  color: var(--mist); text-transform: uppercase;
}
.location__grid { padding-block: var(--section-y); display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.location__text { flex: 1 1 380px; }
.location__text .lede { margin-top: 26px; max-width: 460px; }
.times { margin-top: 40px; border-top: 1px solid var(--line-l); }
.times li { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.times b { width: 92px; flex-shrink: 0; font-family: var(--f-num); font-weight: 300; font-size: 26px; white-space: nowrap; }
.times b small { font-size: 12px; }
.location__rail { margin-top: 28px; max-width: 460px; font-size: 15px; color: var(--dim-l); }
.location__rail a { color: var(--gold-dark); white-space: nowrap; }
.location__map { flex: 1.3 1 520px; }
.location__map .frame { aspect-ratio: 1297 / 880; background: #9fb9bb; }
.location__map figcaption { margin-top: 14px; font-size: 13px; color: var(--dim-l2); }

/* ---------- video ---------- */

.video__grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center; }
.video__text { flex: 1 1 360px; }
.video__text .lede { margin-top: 26px; max-width: 420px; }
.video__text .btn { margin-top: 36px; }
.video__media { flex: 1.2 1 480px; display: flex; justify-content: center; }
.video__media figure { width: min(340px, 100%); }
.video__frame { aspect-ratio: 576 / 1024; border-radius: 22px; border: 1px solid rgba(233, 236, 235, .18); }
.video__media figcaption { margin-top: 14px; font-size: 14px; color: var(--dim); }

/* ---------- developer ---------- */

.projects {
  margin-top: clamp(48px, 5vw, 72px);
  padding-block: 26px;
  border-block: 1px solid rgba(18, 22, 23, .14);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.2;
  color: var(--slate);
}
.projects li { white-space: nowrap; }
.projects li:not(:last-child)::after { content: '·'; color: var(--gold-bar); padding-inline: .3em; }
.projects strong { font-weight: 400; color: var(--ink); }
.offers-head { margin-top: clamp(72px, 8vw, 120px); font-family: var(--f-num); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim-l2); }
.offers { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.offer { background: var(--paper); display: flex; flex-direction: column; }
.offer .frame { aspect-ratio: 16 / 7; }
.offer__body { padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.offer__meta { font-size: 13px; color: var(--dim-l2); }
.offer h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }
.offer dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(18, 22, 23, .14); padding-top: 18px; }
.offer dt { font-size: 12px; color: var(--dim-l2); }
.offer dd { margin-top: 4px; font-family: var(--f-num); font-size: 15px; white-space: nowrap; }
.offer__text { font-size: 14px; color: var(--dim-l); }
.offer .link-more { margin-top: auto; }

/* ---------- CTA ---------- */

.cta { overflow: hidden; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 22, 23, .94) 0%, rgba(18, 22, 23, .8) 50%, rgba(18, 22, 23, .6) 100%); }
.cta__grid { position: relative; display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.cta__text { flex: 1 1 380px; }
.cta__text .lede { margin-top: 26px; max-width: 460px; color: var(--soft); }
.cta__msg { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.form {
  flex: 1 1 420px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: rgba(18, 22, 23, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-d);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--dim); }
.fld {
  height: 52px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid rgba(233, 236, 235, .28);
  border-radius: 0;
  color: var(--mist);
  font-size: 16px;
  transition: border-color .25s;
}
select.fld { padding: 0 14px; background: var(--ink-2); }
.fld:focus { border-color: var(--gold); outline: none; }
.fld::placeholder { color: #6f797c; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--dim); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.form .btn { height: 56px; font-size: 16px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form__hint { font-size: 12px; color: var(--dim-2); }
.form__ok { font-size: 14px; color: var(--gold); }
.form__ok.is-error { color: #f0a08e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */

.ftr { position: relative; z-index: 2; background: var(--night); color: var(--dim); padding: clamp(64px, 7vw, 96px) 0 40px; font-size: 13px; }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.ftr__brand { display: flex; flex-direction: column; gap: 18px; max-width: 360px; }
.ftr__brand img { height: 56px; width: auto; align-self: flex-start; }
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(120px, auto)); gap: 10px 40px; }
.ftr__nav a, .ftr__contact a { color: var(--dim); }
.ftr__nav a:hover, .ftr__contact a:hover { color: var(--mist); }
.ftr__contact { display: flex; flex-direction: column; gap: 8px; }
.ftr__contact p, .ftr__contact p a { color: var(--mist); }
.ftr__contact p a:hover { color: var(--gold-hi); }
.ftr__legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(233, 236, 235, .1); display: flex; flex-direction: column; gap: 12px; font-size: 12px; line-height: 1.6; color: var(--dim-2); }
.ftr__legal a { color: var(--dim); }

/* ---------- reduced motion ---------- */

/* ---------- WhatsApp button ---------- */

.wa-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 45; /* under the header (50) and the mobile menu (49) */
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out), visibility 0s;
}
/* Hidden on the first screen; main.js adds .is-shown once the visitor scrolls past the hero. */
.js .wa-fab:not(.is-shown), .menu-open .wa-fab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.9);
  transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s;
}
.wa-fab__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(205, 168, 105, .6);
  border-radius: 50%;
  /* Frosted glass, the same treatment as the header and the contact form. */
  /* .62 keeps the icon at 3.6:1 even over the light sections. */
  background: rgba(18, 22, 23, .62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--gold-hi); /* set here, not on the link, so the global a:hover colour cannot change the icon */
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease-out);
}
/* Two thin rings spread out like the waves on the facade. */
.wa-fab__btn::before,
.wa-fab__btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: wa-pulse 3.6s var(--ease-out) infinite;
}
.wa-fab__btn::after { animation-delay: .6s; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  55%, 100% { transform: scale(1.85); opacity: 0; }
}
.wa-fab:hover .wa-fab__btn { background: rgba(18, 22, 23, .8); border-color: var(--gold-hi); transform: scale(1.06); }
.wa-fab:focus-visible { outline: none; }
.wa-fab:focus-visible .wa-fab__btn { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
.wa-fab__label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  background: rgba(18, 22, 23, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transform: translate(10px, -50%);
  pointer-events: none;
  transition: opacity .3s, transform .45s var(--ease-out);
}
.wa-fab__label small { font-size: 12px; font-weight: 500; color: var(--gold); }
.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) {
  .wa-fab__label { display: none; }
}
@media (max-width: 640px) {
  .wa-fab { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .wa-fab__btn { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab__btn::before, .wa-fab__btn::after { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
