:root {
  --blue: #304a6e;
  --blue-dark: #192d46;
  --blue-deep: #101d2d;
  --blue-soft: #6e8099;
  --neutral: #efe9dd;
  --neutral-soft: #f8f5ef;
  --neutral-shade: #d8d1c5;
  --white: #fffdfa;
  --line: rgba(48, 74, 110, 0.18);
  --line-light: rgba(255, 253, 250, 0.22);
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --page-pad: clamp(24px, 5vw, 92px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--blue-dark);
  background: var(--neutral-soft);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { color: inherit; font: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: var(--neutral-soft);
  background: var(--blue-deep);
  font-size: 12px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.page-progress {
  position: fixed;
  z-index: 150;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}
.page-progress::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--blue);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

/* Header */
.residence-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto auto;
  align-items: center;
  min-height: 70px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: min-height 350ms cubic-bezier(.2,.75,.25,1), background-color 350ms ease, border-color 350ms ease, backdrop-filter 350ms ease;
}
.residence-header.is-scrolled {
  min-height: 58px;
  border-color: var(--line);
  background: rgba(248,245,239,.91);
  backdrop-filter: blur(18px);
}
.residence-brand { display: flex; width: 150px; height: 52px; align-items: center; overflow: hidden; }
.residence-brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.residence-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(11px, 1.15vw, 23px);
  color: #445c7c;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.residence-desktop-nav a { position: relative; padding: 10px 0; white-space: nowrap; }
.residence-desktop-nav a::after {
  position: absolute;
  inset: auto 0 4px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}
.residence-desktop-nav a:hover::after,
.residence-desktop-nav a:focus-visible::after,
.residence-desktop-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-left: clamp(18px, 2.4vw, 45px);
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--blue-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.residence-menu-toggle { display: none; }
.residence-mobile-nav { display: none; }

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-kicker span { width: 28px; height: 1px; background: currentColor; }
.section-kicker-light { color: var(--neutral-soft); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  padding: 0 0 8px;
  border-bottom: 1px solid currentColor;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Hero */
.residence-hero {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
  padding: 154px var(--page-pad) 0;
  background: var(--neutral-soft);
}
.hero-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, transparent calc(100% - 1px), var(--line) 1px);
  background-size: calc((100vw - 2 * var(--page-pad)) / 4) 100%;
  background-position: var(--page-pad) 0;
  opacity: .4;
}
.hero-ghost {
  position: absolute;
  z-index: 0;
  top: 100px;
  left: 45%;
  margin: 0;
  color: rgba(48,74,110,.055);
  font-size: clamp(135px, 17.5vw, 330px);
  font-weight: 800;
  letter-spacing: -.095em;
  line-height: .72;
  transform: translateX(-50%);
  white-space: nowrap;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(720px, 50vw);
  padding-top: 86px;
}
.hero-copy h1 {
  margin: 35px 0 28px;
  font-family: var(--display);
  font-size: clamp(78px, 8.8vw, 158px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .75;
}
.hero-copy h1 em { color: var(--blue); font-weight: 400; }
.hero-copy > p {
  width: min(430px, 78%);
  margin: 0 0 0 clamp(30px, 7vw, 130px);
  font-family: var(--display);
  font-size: clamp(22px, 1.7vw, 29px);
  line-height: 1.18;
}
.hero-copy .text-link { margin-left: clamp(30px, 7vw, 130px); }
.hero-image {
  position: absolute;
  z-index: 2;
  top: 122px;
  right: 0;
  width: 54vw;
  height: 750px;
  margin: 0;
  overflow: hidden;
  background: var(--neutral-shade);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; transition: transform 1.3s cubic-bezier(.2,.75,.25,1); }
.hero-image:hover img { transform: scale(1.025); }
.hero-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  color: var(--white);
  background: linear-gradient(to top, rgba(12,27,45,.58), transparent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero-facts {
  position: absolute;
  z-index: 4;
  right: var(--page-pad);
  bottom: 0;
  left: var(--page-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248,245,239,.87);
  backdrop-filter: blur(12px);
}
.hero-facts > div { position: relative; min-height: 165px; padding: 26px; border-right: 1px solid var(--line); }
.hero-facts > div:first-child { border-left: 1px solid var(--line); }
.hero-facts span { position: absolute; top: 17px; right: 17px; color: var(--blue-soft); font-size: 7px; letter-spacing: .16em; }
.hero-facts strong { display: block; margin-top: 29px; font-family: var(--display); font-size: clamp(38px, 3vw, 55px); font-weight: 500; letter-spacing: -.04em; line-height: .8; }
.hero-facts p { margin: 12px 0 0; color: var(--blue-soft); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

/* Editorial introduction */
.residence-introduction {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
  gap: 9vw;
  min-height: 720px;
  align-items: center;
  overflow: hidden;
  padding: 110px var(--page-pad);
  color: var(--neutral-soft);
  background: var(--blue);
}
.intro-number {
  position: absolute;
  right: -1vw;
  bottom: -13vw;
  margin: 0;
  color: rgba(255,255,255,.055);
  font-family: var(--display);
  font-size: 42vw;
  line-height: .75;
}
.residence-introduction > div { position: relative; z-index: 1; }
.residence-introduction h2 {
  margin: 40px 0 0;
  font-family: var(--display);
  font-size: clamp(72px, 8vw, 145px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .78;
}
.residence-introduction h2 em { color: #b9c7d8; font-weight: 400; }
.introduction-copy { align-self: end; padding: 0 0 18px 34px; border-left: 1px solid var(--line-light); }
.introduction-copy > p { margin: 0 0 20px; font-family: var(--display); font-size: clamp(19px, 1.5vw, 25px); line-height: 1.25; }
.pill-action { display: inline-flex; align-items: center; margin-top: 17px; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.pill-action span { display: flex; min-height: 48px; align-items: center; padding: 0 28px; border-radius: 999px; background: var(--blue-dark); }
.pill-action i { display: grid; width: 48px; height: 48px; margin-left: -4px; place-items: center; border-radius: 50%; background: var(--blue-dark); font-size: 16px; font-style: normal; transition: transform 350ms ease; }
.pill-action:hover i { transform: translate(4px,-3px); }
.pill-action-light span,
.pill-action-light i { color: var(--blue-dark); background: var(--neutral-soft); }

/* Photography */
.photo-residence { padding: 130px var(--page-pad) 120px; background: var(--neutral-soft); }
.photo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .55fr);
  gap: 8vw;
  align-items: end;
  margin-bottom: 72px;
}
.photo-heading h2,
.tour-heading h2,
.similar-residences h2 {
  margin: 32px 0 0;
  font-family: var(--display);
  font-size: clamp(72px, 7.8vw, 142px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .78;
}
.photo-heading h2 em,
.tour-heading h2 em,
.similar-residences h2 em { color: var(--blue); font-weight: 400; }
.photo-heading > p {
  margin: 0;
  padding: 0 0 7px 28px;
  border-left: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.25;
}
.photo-viewer { --stage-h: min(68vw, 820px); display: grid; grid-template-columns: minmax(0, 1fr) 110px; grid-template-rows: var(--stage-h); gap: 18px; }
.photo-stage { position: relative; height: var(--stage-h); overflow: hidden; background: var(--neutral-shade); }
.photo-stage > img { width: 100%; height: 100%; object-fit: cover; transition: opacity 350ms ease, transform 650ms cubic-bezier(.2,.75,.25,1); }
.photo-stage > img.is-changing { opacity: 0; transform: scale(1.018); }
.photo-counter {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  padding: 10px 13px;
  color: var(--white);
  background: rgba(16,29,45,.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
  backdrop-filter: blur(10px);
}
.photo-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 85px 26px 24px;
  color: var(--white);
  background: linear-gradient(to top, rgba(9,20,35,.85), transparent);
}
.photo-caption p:first-child { margin: 0; font-family: var(--display); font-size: clamp(26px, 2.2vw, 38px); }
.photo-caption p:last-child { margin: 8px 0 0; font-size: 7px; font-weight: 700; letter-spacing: .17em; opacity: .7; text-transform: uppercase; }
.photo-controls { position: absolute; z-index: 4; right: 22px; bottom: 22px; display: flex; gap: 9px; }
.photo-controls button {
  min-width: 90px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  color: var(--white);
  background: rgba(16,29,45,.32);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: color 220ms ease, background-color 220ms ease;
}
.photo-controls button:hover { color: var(--blue-deep); background: var(--white); }
/* the rail is capped to the stage height, so extra photos scroll instead of
   stretching the row past the main image */
.photo-thumbnails { display: flex; flex-direction: column; gap: 10px; height: var(--stage-h); min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(48,74,110,.35) transparent; }
.photo-thumbnails::-webkit-scrollbar { width: 3px; }
.photo-thumbnails::-webkit-scrollbar-thumb { background: rgba(48,74,110,.35); border-radius: 3px; }
.photo-thumbnails button { position: relative; flex: 0 0 104px; padding: 0; overflow: hidden; border: 1px solid transparent; background: var(--neutral-shade); opacity: .5; transition: opacity 250ms ease, border-color 250ms ease; }
.photo-thumbnails button::after { position: absolute; inset: 6px; content: ""; border: 1px solid transparent; transition: border-color 250ms ease; }
.photo-thumbnails button:hover,
.photo-thumbnails button.is-active { border-color: var(--blue); opacity: 1; }
.photo-thumbnails button.is-active::after { border-color: rgba(255,255,255,.8); }
.photo-thumbnails img { width: 100%; height: 100%; object-fit: cover; }

/* Specifications */
.residence-specifications {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(460px, 1.15fr) minmax(240px, .55fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding: 130px var(--page-pad);
  color: var(--neutral-soft);
  background: var(--blue-deep);
}
.specification-intro h2 {
  margin: 38px 0 30px;
  font-family: var(--display);
  font-size: clamp(64px, 6.2vw, 112px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .78;
}
.specification-intro h2 em { color: #aebed0; font-weight: 400; }
.specification-intro > p { width: 85%; margin: 0; color: rgba(247,244,238,.65); font-family: var(--display); font-size: 20px; line-height: 1.25; }
.specification-list { margin: 0; border-top: 1px solid var(--line-light); }
.specification-list > div {
  display: grid;
  grid-template-columns: minmax(120px, .85fr) minmax(50px, .35fr) minmax(150px, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line-light);
}
.specification-list dt { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.specification-list dd { margin: 0; font-family: var(--display); font-size: 32px; }
.specification-list span { color: rgba(247,244,238,.42); font-size: 7px; font-weight: 700; letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.specification-note { align-self: end; padding: 26px; border: 1px solid var(--line-light); }
.specification-note > span { display: block; margin-bottom: 22px; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.specification-note p { margin: 0 0 18px; font-family: var(--display); font-size: 21px; line-height: 1.2; }
.specification-note small { color: rgba(247,244,238,.5); font-size: 8px; line-height: 1.6; }

/* Interactive 3D */
.three-d-tour { padding: 135px var(--page-pad) 120px; background: var(--neutral); }
.tour-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  gap: 8vw;
  align-items: end;
  margin-bottom: 72px;
}
.tour-instructions { padding-left: 28px; border-left: 1px solid var(--line); }
.tour-instructions p { margin: 0; font-family: var(--display); font-size: clamp(19px, 1.4vw, 24px); line-height: 1.25; }
.tour-instructions .tour-disclaimer { margin-top: 18px; color: var(--blue-soft); font-family: var(--sans); font-size: 7px; font-weight: 700; letter-spacing: .13em; line-height: 1.6; text-transform: uppercase; }
.tour-shell {
  position: relative;
  height: min(65vw, 820px);
  min-height: 580px;
  overflow: hidden;
  color: var(--neutral-soft);
  background: #172b43;
  border: 1px solid rgba(48,74,110,.28);
}
.tour-canvas { position: absolute; inset: 0; cursor: grab; }
.tour-canvas:active { cursor: grabbing; }
.tour-canvas canvas { display: block; width: 100%; height: 100%; }
.tour-loading {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--blue-deep);
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}
.tour-loading.is-hidden { visibility: hidden; opacity: 0; }
.tour-loading span { width: 48px; height: 48px; margin: 0 auto 17px; border: 1px solid rgba(255,255,255,.22); border-top-color: var(--neutral-soft); border-radius: 50%; animation: spin 900ms linear infinite; }
.tour-loading p { margin: 0; font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.tour-topbar {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 23px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  pointer-events: none;
}
.tour-topbar p { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tour-topbar p i { width: 7px; height: 7px; border-radius: 50%; background: #8eb593; box-shadow: 0 0 0 5px rgba(142,181,147,.12); }
.tour-topbar button { padding: 9px 15px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: var(--white); background: rgba(16,29,45,.28); font-size: 7px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: auto; }
.tour-rooms { position: absolute; z-index: 4; right: 22px; bottom: 22px; display: grid; width: min(520px, calc(100% - 44px)); grid-template-columns: repeat(4, 1fr); background: rgba(16,29,45,.8); backdrop-filter: blur(14px); }
.tour-rooms button { min-width: 0; padding: 17px 14px; border: 0; border-right: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); background: transparent; font-size: 7px; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; transition: color 250ms ease, background-color 250ms ease; }
.tour-rooms button span { display: block; margin-bottom: 7px; font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.tour-rooms button:hover,
.tour-rooms button.is-active { color: var(--blue-deep); background: var(--neutral-soft); }
.tour-compass { position: absolute; z-index: 4; bottom: 24px; left: 24px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 8px; font-weight: 700; }
.tour-compass i { position: absolute; top: 4px; width: 1px; height: 13px; background: #b9c8d9; }

/* Material story */
.material-story { position: relative; min-height: 1060px; overflow: hidden; padding: 95px var(--page-pad); color: var(--neutral-soft); background: var(--blue); }
.material-grid { position: relative; height: 870px; }
.material-image { position: absolute; margin: 0; overflow: hidden; background: var(--blue-dark); }
.material-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.material-image:hover img { transform: scale(1.03); }
.material-image-one { top: 0; left: 0; width: 28%; height: 70%; }
.material-image-two { right: 0; bottom: 0; width: 31%; height: 72%; }
.material-image-three { right: 24%; top: 0; width: 20%; height: 43%; }
.material-copy { position: absolute; z-index: 2; bottom: 0; left: 22%; width: min(650px, 48%); padding: 50px; background: var(--blue-deep); }
.material-copy h2 { margin: 35px 0 28px; font-family: var(--display); font-size: clamp(58px, 5.6vw, 100px); font-weight: 400; letter-spacing: -.06em; line-height: .78; }
.material-copy h2 em { color: #aebfd2; font-weight: 400; }
.material-copy > p { width: 84%; margin: 0; color: rgba(247,244,238,.7); font-family: var(--display); font-size: 20px; line-height: 1.25; }

/* Similar residences */
.similar-residences { padding: 130px var(--page-pad) 125px; background: var(--neutral-soft); }
.similar-residences > header { margin-bottom: 72px; }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.7vw, 28px); }
.similar-card { display: block; border-top: 1px solid var(--line); }
.similar-card figure { height: min(44vw, 670px); margin: 0; overflow: hidden; background: var(--neutral-shade); }
.similar-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 850ms cubic-bezier(.2,.75,.25,1), filter 500ms ease; }
.similar-card:hover img { transform: scale(1.035); filter: saturate(.85); }
.similar-card > div { position: relative; padding: 22px 52px 20px 0; border-bottom: 1px solid var(--line); }
.similar-card span { display: block; margin-bottom: 10px; color: var(--blue-soft); font-size: 7px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.similar-card strong { font-family: var(--display); font-size: clamp(25px, 2.1vw, 36px); font-weight: 500; }
.similar-card i { position: absolute; top: 50%; right: 0; font-size: 8px; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: translateY(-50%); }

/* Viewing conversion */
.viewing-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
  gap: 8vw;
  min-height: 850px;
  align-items: center;
  padding: 115px var(--page-pad);
  color: var(--neutral-soft);
  background: var(--blue-deep);
}
.viewing-copy h2 { margin: 42px 0 32px; font-family: var(--display); font-size: clamp(76px, 7.7vw, 140px); font-weight: 400; letter-spacing: -.065em; line-height: .75; }
.viewing-copy h2 em { color: #aebfd2; font-weight: 400; }
.viewing-copy > p { width: 80%; margin: 0; color: rgba(247,244,238,.72); font-family: var(--display); font-size: clamp(20px, 1.5vw, 25px); line-height: 1.25; }
.viewing-privacy { display: grid; grid-template-columns: 32px 1fr; gap: 18px; width: 75%; margin-top: 56px; padding-top: 19px; border-top: 1px solid var(--line-light); }
.viewing-privacy span { font-family: var(--display); font-size: 17px; opacity: .55; }
.viewing-privacy p { margin: 0; font-size: 8px; line-height: 1.6; letter-spacing: .11em; text-transform: uppercase; }
.viewing-form { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); color-scheme: dark; }
.form-field { position: relative; min-height: 105px; padding: 20px 22px 13px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.form-field-wide { grid-column: 1 / -1; min-height: 130px; }
.form-field label { display: flex; justify-content: space-between; color: rgba(247,244,238,.62); font-size: 7px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.form-field label span { opacity: .55; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; margin-top: 15px; padding: 0; border: 0; outline: 0; color: var(--white); background: transparent; font-family: var(--display); font-size: 21px; resize: none; }
.form-field select { appearance: none; cursor: pointer; }
.form-field select option { color: var(--blue-deep); background: var(--neutral-soft); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { box-shadow: 0 1px 0 #b8c8da; }
.submit-action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 0 0 28px; border: 0; color: var(--blue-deep); background: var(--neutral-soft); font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.submit-action i { display: grid; width: 72px; height: 72px; place-items: center; border-left: 1px solid var(--line); font-size: 17px; font-style: normal; transition: color 250ms ease, background-color 250ms ease; }
.submit-action:hover i { color: var(--neutral-soft); background: var(--blue); }
.form-status { grid-column: 1 / -1; min-height: 20px; margin: 16px 0 0; color: #b9c9da; font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }

/* Lift the notification dock clear of the floating "Book a viewing" pill. */
:root { --bergas-dock-offset: 62px; }

.floating-viewing {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  color: var(--neutral-soft);
  filter: drop-shadow(0 8px 20px rgba(12,28,47,.2));
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: opacity 250ms ease, transform 250ms ease;
}
.floating-viewing span { display: flex; min-height: 46px; align-items: center; padding: 0 23px; border-radius: 999px; background: var(--blue-dark); }
.floating-viewing i { display: grid; width: 46px; height: 46px; margin-left: -4px; place-items: center; border-radius: 50%; background: var(--blue-dark); font-size: 15px; font-style: normal; }
.floating-viewing:hover { transform: translateY(-3px); }
.floating-viewing.is-hidden { pointer-events: none; opacity: 0; transform: translateY(12px); }

/* Footer */
.residence-footer { overflow: hidden; color: var(--neutral-soft); background: radial-gradient(circle at 75% 30%, #213954 0, var(--blue-deep) 38%, #0b1624 100%); }
.footer-inner { padding: 0 var(--page-pad) 34px; }
.footer-word-wrap { height: clamp(125px, 18vw, 295px); overflow: hidden; border-bottom: 1px solid var(--line-light); }
.footer-word { margin: 0; text-align: center; font-size: clamp(115px, 21.4vw, 405px); font-weight: 800; letter-spacing: -.09em; line-height: .78; white-space: nowrap; transform: translateY(72%); transition: transform 1.4s cubic-bezier(.16,.8,.2,1); }
.residence-footer.is-visible .footer-word { transform: translateY(17%); }
.footer-grid { display: grid; grid-template-columns: .9fr .9fr 1.1fr 1.2fr; gap: clamp(30px, 6vw, 105px); padding: 52px 0 62px; border-bottom: 1px solid var(--line-light); }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid h2 { margin: 0 0 25px; font-size: 12px; font-weight: 700; }
.footer-grid a,
.footer-grid p,
.footer-grid small { margin: 0 0 13px; color: rgba(247,244,238,.65); font-size: 10px; line-height: 1.55; }
.footer-grid a { transition: color 220ms ease, transform 220ms ease; }
.footer-grid a:hover { color: var(--white); transform: translateX(3px); }
.footer-grid small { margin-top: 4px; color: rgba(247,244,238,.38); font-size: 8px; }
.footer-newsletter { width: 100%; }
.footer-newsletter form { display: flex; width: 100%; margin-top: 9px; border-bottom: 1px solid rgba(247,244,238,.4); }
.footer-newsletter input { min-width: 0; flex: 1; padding: 13px 0; border: 0; outline: 0; color: var(--white); background: transparent; font-size: 10px; }
.footer-newsletter input::placeholder { color: rgba(247,244,238,.43); }
.footer-newsletter button { width: 42px; border: 0; color: var(--neutral-soft); background: transparent; font-size: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; }
.footer-bottom p { margin: 0; color: rgba(247,244,238,.48); font-size: 9px; }
.footer-bottom a { width: 72px; height: 36px; }
.footer-bottom img { width: 100%; height: 100%; object-fit: contain; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 900ms ease, transform 1s cubic-bezier(.2,.75,.25,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js [data-image-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s cubic-bezier(.16,.8,.2,1); }
.js [data-image-reveal].is-visible { clip-path: inset(0); }

@media (max-width: 1240px) {
  .residence-header { grid-template-columns: 1fr auto auto; }
  .residence-desktop-nav { display: none; }
  .residence-menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
    width: 42px;
    height: 42px;
    margin-left: 24px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .residence-menu-toggle span { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform 240ms ease; }
  .residence-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .residence-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .residence-mobile-nav {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 115px var(--page-pad) 38px;
    color: var(--neutral-soft);
    background: var(--blue-deep);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 350ms ease, transform 450ms cubic-bezier(.2,.75,.25,1), visibility 0s linear 450ms;
  }
  .residence-mobile-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity 350ms ease, transform 450ms cubic-bezier(.2,.75,.25,1); }
  .mobile-nav-inner { display: flex; flex-direction: column; }
  .residence-mobile-nav a { display: flex; align-items: center; gap: 25px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-family: var(--display); font-size: clamp(30px, 4.8vw, 56px); line-height: 1; }
  .residence-mobile-nav a span { width: 22px; font-family: var(--sans); font-size: 8px; letter-spacing: .12em; opacity: .45; }
  .residence-mobile-nav a.active { color: #aebdce; font-style: italic; }
  .residence-mobile-nav > p { margin: 0; font-size: 8px; letter-spacing: .18em; opacity: .55; text-transform: uppercase; }
  .residence-header.menu-active { color: var(--neutral-soft); }
  .residence-header.menu-active .residence-brand { filter: brightness(0) invert(1); opacity: .85; }
  .residence-header.menu-active .header-action { border-color: currentColor; }
  .residence-specifications { grid-template-columns: .85fr 1.15fr; }
  .specification-note { grid-column: 2; }
  .material-copy { left: 18%; width: 55%; }
  .viewing-section { grid-template-columns: .8fr 1.2fr; gap: 5vw; }
}

@media (max-width: 900px) {
  /* these grids kept px floors (290px/280px) that cannot shrink on phones */
  .photo-heading,
  .tour-heading { grid-template-columns: 1fr; gap: 30px; }

  .residence-hero { min-height: 1040px; padding-top: 125px; }
  .hero-copy { width: 78%; padding-top: 10px; }
  .hero-copy h1 { font-size: clamp(72px, 13vw, 110px); }
  .hero-image { top: 475px; width: 82vw; height: 420px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts > div { min-height: 92px; padding: 16px 20px; }
  .hero-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-facts strong { margin-top: 15px; font-size: 31px; }
  .hero-facts p { margin-top: 7px; }
  .residence-introduction { grid-template-columns: 1fr; gap: 60px; min-height: 720px; }
  .introduction-copy { width: 58%; margin-left: auto; }
  .photo-heading,
  .tour-heading { grid-template-columns: 1fr; gap: 42px; }
  .photo-heading > p,
  .tour-instructions { width: 60%; margin-left: auto; }
  .photo-viewer { grid-template-columns: 1fr; }
  .photo-stage { height: 68vw; }
  .photo-viewer { grid-template-rows: auto auto; }
  .photo-thumbnails { flex-direction: row; height: auto; overflow-x: auto; overflow-y: hidden; }
  .photo-thumbnails button { flex-basis: 100px; height: 78px; }
  .residence-specifications { grid-template-columns: 1fr; }
  .specification-intro { width: 70%; }
  .specification-list { width: 76%; margin-left: auto; }
  .specification-note { grid-column: auto; width: 55%; margin-left: auto; }
  .tour-shell { height: 75vw; min-height: 540px; }
  .material-story { min-height: 920px; }
  .material-grid { height: 745px; }
  .material-image-one { width: 38%; }
  .material-image-two { width: 38%; }
  .material-image-three { display: none; }
  .material-copy { left: 25%; width: 58%; padding: 38px; }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-card:last-child { display: none; }
  .similar-card figure { height: 64vw; }
  .viewing-section { grid-template-columns: 1fr; gap: 80px; }
  .viewing-copy { width: 74%; }
  .viewing-form { width: 82%; margin-left: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --page-pad: 20px; }
  .residence-header,
  .residence-header.is-scrolled { min-height: 62px; padding: 0 20px; }
  .residence-brand { width: 112px; height: 42px; }
  .header-action { display: none; }
  .residence-menu-toggle { margin-left: 0; }
  .residence-mobile-nav { padding: 92px 24px 28px; }
  .residence-mobile-nav a { padding: 8px 0; font-size: 29px; }
  .residence-hero { min-height: 930px; padding: 100px 20px 0; }
  .hero-guides { background-size: calc((100vw - 40px) / 2) 100%; background-position: 20px 0; }
  .hero-ghost { top: 102px; left: 48%; font-size: 27vw; }
  .hero-copy { width: 100%; max-width: calc(100vw - 40px); padding: 0; }
  .hero-copy h1 { margin: 28px 0 22px; font-size: clamp(59px, 16vw, 75px); }
  .hero-copy > p { width: 72%; margin-left: 28%; font-size: 18px; }
  .hero-copy .text-link { margin-top: 25px; margin-left: 28%; }
  .hero-image { top: 425px; right: 0; width: calc(100vw - 20px); height: 330px; }
  .hero-facts { right: 20px; bottom: 25px; left: 20px; }
  .hero-facts > div { min-height: 73px; padding: 10px 13px; }
  .hero-facts strong { margin-top: 12px; font-size: 24px; }
  .hero-facts p { margin-top: 5px; font-size: 6px; }
  .hero-facts span { top: 8px; right: 9px; font-size: 5px; }
  .residence-introduction { min-height: 640px; padding: 78px 20px 62px; }
  .residence-introduction h2 { font-size: 60px; }
  .introduction-copy { width: 82%; padding-left: 20px; }
  .introduction-copy > p { font-size: 18px; }
  .photo-residence { padding: 82px 20px 70px; }
  .photo-heading { margin-bottom: 48px; }
  .photo-heading h2,
  .tour-heading h2,
  .similar-residences h2 { font-size: 61px; }
  .photo-heading > p,
  .tour-instructions { width: 82%; font-size: 18px; }
  .photo-stage { height: 112vw; max-height: 560px; }
  .photo-stage > img { object-position: center; }
  .photo-caption { padding: 70px 15px 16px; }
  .photo-controls { right: 14px; bottom: 65px; }
  .photo-controls button { min-width: 70px; padding: 9px 11px; font-size: 6px; }
  .photo-thumbnails button { flex-basis: 76px; height: 67px; }
  .residence-specifications { gap: 55px; padding: 82px 20px; }
  .specification-intro { width: 100%; }
  .specification-intro h2 { font-size: 62px; }
  .specification-intro > p { width: 82%; font-size: 18px; }
  .specification-list { width: 100%; }
  .specification-list > div { grid-template-columns: 1fr 50px; gap: 12px; min-height: 73px; }
  .specification-list span { grid-column: 1 / -1; margin-top: -16px; text-align: left; }
  .specification-note { width: 78%; }
  .three-d-tour { padding: 82px 20px 72px; }
  .tour-heading { margin-bottom: 48px; }
  .tour-shell { height: 126vw; min-height: 540px; }
  .tour-topbar { padding: 15px; }
  .tour-rooms { right: 10px; bottom: 10px; left: 10px; width: auto; grid-template-columns: repeat(2, 1fr); }
  .tour-rooms button { padding: 12px; }
  .tour-compass { bottom: 128px; left: 14px; width: 40px; height: 40px; }
  .material-story { min-height: 790px; padding: 60px 20px; }
  .material-grid { height: 670px; }
  .material-image-one { width: 61%; height: 62%; }
  .material-image-two { width: 55%; height: 48%; }
  .material-copy { bottom: 85px; left: 13%; width: 82%; padding: 27px; }
  .material-copy h2 { font-size: 49px; }
  .material-copy > p { width: 100%; font-size: 17px; }
  .similar-residences { padding: 82px 20px 72px; }
  .similar-residences > header { margin-bottom: 48px; }
  .similar-grid { grid-template-columns: 1fr; gap: 35px; }
  .similar-card:last-child { display: block; }
  .similar-card figure { height: 126vw; max-height: 610px; }
  .viewing-section { gap: 58px; min-height: 0; padding: 82px 20px; }
  .viewing-copy { width: 100%; }
  .viewing-copy h2 { font-size: 67px; }
  .viewing-copy > p { width: 86%; font-size: 19px; }
  .viewing-privacy { width: 80%; margin-top: 38px; }
  .viewing-form { width: 100%; grid-template-columns: 1fr; }
  .form-field,
  .form-field-wide { grid-column: auto; min-height: 92px; }
  .form-field-wide { min-height: 122px; }
  .submit-action,
  .form-status { grid-column: auto; }
  :root { --bergas-dock-offset: 56px; }
  .floating-viewing { right: 14px; bottom: 13px; }
  .floating-viewing span { min-height: 42px; padding: 0 18px; }
  .floating-viewing i { width: 42px; height: 42px; }
  .footer-inner { padding: 0 20px 25px; }
  .footer-word-wrap { height: 100px; }
  .footer-word { font-size: 24vw; }
  .residence-footer.is-visible .footer-word { transform: translateY(27%); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 24px; padding: 40px 0 46px; }
  .footer-grid h2 { margin-bottom: 17px; }
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-end; gap: 20px; }
  .footer-bottom p { max-width: 210px; line-height: 1.5; }
}

@media (max-width: 420px) {
  .hero-copy > p { width: 78%; margin-left: 22%; }
  .hero-copy .text-link { margin-left: 22%; }
  .material-copy h2 { font-size: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-image-reveal] { clip-path: none; }
  .footer-word { transform: translateY(17%); }
}
