/* Shared page styles (disclaimer & privacy)
   Quiet classical luxury: white and ivory pages, charcoal ink, one deep rose accent,
   capital serif headings (Cinzel) and Garamond text. */

:root {
  --paper: #ffffff;
  --ivory: #f8f5f1;
  --stone: #ece6df;
  --ink: #1f1a17;
  --ink-2: #2a2421;
  --text: #55514e;
  --muted: #7c7774;
  --rose: #d51b5e;
  --rose-dark: #b70645;
  --line: rgba(31, 26, 23, .14);
  --line-light: rgba(255, 255, 255, .22);

  --serif-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 11vw, 160px);
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.wrap .narrow { padding: 0; }
.center { text-align: center; }
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .74); }

.eyebrow {
  font-family: var(--serif-caps);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 22px;
}
.eyebrow--light { color: rgba(255, 255, 255, .86); }

.title {
  font-family: var(--serif-caps);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 26px;
  text-wrap: balance;
}
.title--light { color: #fff; }
.title--sm { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 24px; }
.body-lg { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; }
.section-head { margin-bottom: clamp(48px, 6vw, 84px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head--split .title { margin-bottom: 0; }
.fineprint { font-size: 14px; color: var(--muted); margin-top: 40px; line-height: 1.5; }
.fineprint--light { color: rgba(255, 255, 255, .5); }

.rule { display: block; width: 64px; height: 1px; background: var(--rose); margin: 40px auto; }
.flower-mark { width: 64px; margin: 0 auto 36px; opacity: .85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 34px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--serif-caps); font-size: 13px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; background: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--rose { background: var(--rose); color: #fff; }
.btn--rose:hover { background: var(--rose-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-light); background: none; color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.round-btn:hover { background: var(--rose); border-color: var(--rose); }
.round-btn svg, .dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--paper);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader img { width: 72px; animation: bloom 1.6s var(--ease) infinite alternate; }
.preloader span { font-family: var(--serif-caps); font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes bloom { from { transform: scale(.92) rotate(-8deg); opacity: .5; } to { transform: scale(1) rotate(0); opacity: 1; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .45), transparent);
  transition: opacity .5s var(--ease);
}
.site-header.is-solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.site-header.is-solid::before { opacity: 0; }
.site-header__inner {
  height: 100%; max-width: calc(1440px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 36px; filter: invert(1); transition: filter .5s var(--ease); }
.brand span { font-family: var(--serif-caps); font-size: 17px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.is-solid .brand img { filter: none; }
.brand--light img { filter: invert(1); }
.brand--light { color: #fff; }

.primary-nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.primary-nav a, .header-phone {
  position: relative; text-decoration: none;
  font-family: var(--serif-caps); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.is-solid .primary-nav a.is-active { color: var(--rose); }
.header-phone { letter-spacing: .1em; opacity: .9; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-open .site-header { background: var(--paper); color: var(--ink); box-shadow: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .brand img { filter: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif-caps); font-size: clamp(22px, 6vw, 30px); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { display: grid; gap: 16px; margin-top: 40px; }
.mobile-menu__foot a { font-family: var(--serif-caps); letter-spacing: .12em; text-decoration: none; color: var(--ink); }

@media (max-width: 1100px) {
  .primary-nav, .header-phone { display: none; }
  .menu-toggle { display: block; color: inherit; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .brand span { font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  color: #fff; text-align: center; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20, 16, 14, .35) 0%, rgba(20, 16, 14, .7) 100%),
    linear-gradient(to bottom, rgba(20, 16, 14, .2), rgba(20, 16, 14, .55));
}
.hero__content { position: relative; z-index: 2; padding: calc(var(--header-h) + 24px) var(--gutter) 120px; max-width: 980px; }
.hero__mark { width: 64px; margin: 0 auto 30px; filter: invert(1); opacity: .9; }
.hero__title {
  font-family: var(--serif-caps); font-weight: 400; color: #fff;
  font-size: clamp(40px, 8.4vw, 124px); line-height: 1; letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 26px;
}
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .char { display: inline-block; }
.hero__lede { font-size: clamp(19px, 2vw, 24px); font-style: italic; color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-bottom: 42px; }
.hero__facts span {
  font-family: var(--serif-caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .35);
}
.hero__facts span:first-child { border-left: 0; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__note { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; font-size: 12px; font-style: italic; color: rgba(255, 255, 255, .6); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 1px; height: 64px; transform: translateX(-50%); overflow: hidden; background: rgba(255, 255, 255, .25); }
.scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 640px) {
  .hero__facts { flex-direction: column; gap: 10px; }
  .hero__facts span { border-left: 0; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Inspiration & stats ---------- */
.statement {
  font-family: var(--serif-caps); color: var(--ink);
  font-size: clamp(22px, 2.8vw, 34px); line-height: 1.45; letter-spacing: .06em; text-transform: uppercase;
  text-wrap: balance;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--wrap); margin: clamp(72px, 9vw, 120px) auto 0; padding: 0 var(--gutter);
}
.stat { text-align: center; padding: 10px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--serif-caps); font-size: clamp(44px, 5.4vw, 76px); line-height: 1.1; color: var(--rose); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 10px; font-family: var(--serif-caps); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------- Golden Mile ---------- */
.golden { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: var(--ink); }
.golden__media { position: absolute; inset: -12% 0; }
.golden__media img { width: 100%; height: 100%; object-fit: cover; }
.golden::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 16, 14, .55), rgba(20, 16, 14, .72)); }
.golden__content { position: relative; z-index: 2; padding: var(--section) var(--gutter); max-width: 900px; }
.phrase-stack { display: grid; gap: clamp(14px, 2vw, 22px); font-family: var(--serif-caps); font-weight: 400; color: #fff; }
.phrase-stack span { font-size: clamp(18px, 2.4vw, 30px); letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
.phrase-stack__end { margin-top: clamp(18px, 3vw, 36px); padding-top: clamp(18px, 3vw, 36px); border-top: 1px solid var(--line-light); color: #fff; font-size: clamp(16px, 1.6vw, 20px) !important; letter-spacing: .2em !important; }

/* ---------- Residences ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.res-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.res-card__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.res-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.res-card:hover .res-card__img img { transform: scale(1.05); }
.res-card__body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; text-align: center; }
.res-card__no { font-family: var(--serif-caps); color: var(--rose); letter-spacing: .2em; font-size: 14px; }
.res-card h3 { font-family: var(--serif-caps); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: .1em; text-transform: uppercase; margin: 10px 0 24px; }
.res-card dl { margin: 0 0 30px; border-top: 1px solid var(--line); }
.res-card dl div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.res-card dt { font-family: var(--serif-caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.res-card dd { margin: 0; color: var(--ink); }
.res-card dd.price { color: var(--rose); font-weight: 500; }
.res-card .btn { margin-top: auto; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Amenities ---------- */
.amenities__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.amenities__img { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.amenities__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.amenities__img figcaption { margin-top: 12px; font-size: 14px; font-style: italic; color: var(--muted); }
.amenity-list { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.amenity-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.amenity-list li > span { font-family: var(--serif-caps); font-size: 14px; color: var(--rose); letter-spacing: .1em; padding-top: 3px; }
.amenity-list h3 { font-family: var(--serif-caps); font-weight: 400; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.amenity-list p { font-size: 17px; }
@media (max-width: 900px) {
  .amenities__grid { grid-template-columns: 1fr; }
  .amenities__img { position: static; }
  .amenities__img img { aspect-ratio: 4 / 3; }
}

/* ---------- Gallery ---------- */
.gallery__nav { display: flex; gap: 12px; }
.gallery__slider { padding: 0 var(--gutter); max-width: 100%; }
.gallery__slider .swiper-slide { width: min(78vw, 760px); margin: 0; }
.gallery__slider a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__slider img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s var(--ease); filter: grayscale(.35) brightness(.85); }
.gallery__slider .swiper-slide-active img, .gallery__slider a:hover img { filter: none; }
.gallery__slider a:hover img { transform: scale(1.04); }
.gallery__slider figcaption { margin-top: 16px; font-family: var(--serif-caps); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
@media (max-width: 640px) { .gallery__nav { display: none; } .gallery__slider .swiper-slide { width: 86vw; } }

/* ---------- Highlights ---------- */
.highlights__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.highlight-list { list-style: none; padding: 0; margin: 40px 0 44px; border-top: 1px solid var(--line); }
.highlight-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.highlight-list strong { font-family: var(--serif-caps); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); font-size: 15px; margin-right: 6px; }
.highlights__img { margin: 0; }
.highlights__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .highlights__grid { grid-template-columns: 1fr; } }

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.loc-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.loc-tabs__list button {
  border: 1px solid var(--line); background: transparent; padding: 10px 18px; cursor: pointer;
  font-family: var(--serif-caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.loc-tabs__list button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.loc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.loc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.loc-list b { font-family: var(--serif-caps); font-weight: 500; font-size: 14px; letter-spacing: .12em; color: var(--rose); white-space: nowrap; }
.map { min-height: 420px; background: var(--stone); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.6) contrast(1.05); display: block; }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } }

/* ---------- Enquiry ---------- */
.enquire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.contact-lines li { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-lines span { font-family: var(--serif-caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-lines a { color: var(--ink); text-decoration: none; }
.contact-lines a:hover { color: var(--rose); }
.enquire__form { background: var(--paper); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); }
@media (max-width: 900px) { .enquire__grid { grid-template-columns: 1fr; } }

.enquiry-form { display: grid; gap: 18px; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 128px 1fr; gap: 12px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: 22px 16px 8px;
  border: 1px solid var(--line); border-radius: 0; background: var(--paper);
  font-size: 17px; color: var(--ink); appearance: none; -webkit-appearance: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field select { padding: 0 36px 0 16px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 26px, calc(100% - 15px) 26px; background-size: 5px 5px; background-repeat: no-repeat; }
.field--code select { padding-right: 30px; font-size: 16px; }
.field textarea { resize: vertical; min-height: 96px; padding-top: 26px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(213, 27, 94, .12); }
.field label {
  position: absolute; left: 17px; top: 18px; pointer-events: none;
  font-size: 17px; color: var(--muted);
  transform-origin: left top; transition: transform .3s var(--ease), color .3s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.72); color: var(--rose); }
.field__error { display: none; margin-top: 6px; font-size: 14px; color: var(--rose-dark); }
.is-invalid .field__error, .consent__error.is-shown { display: block; }
.is-invalid input, .is-invalid select { border-color: var(--rose-dark); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rose); }
.consent a { color: var(--rose); }
.consent__error { margin-top: -10px; }
.form-status { font-size: 16px; min-height: 1px; }
.form-status.is-error { color: var(--rose-dark); }
.form-success { text-align: center; padding: 24px 0; }
.form-success h3 { font-family: var(--serif-caps); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: 22px; margin: 18px 0 12px; }
.form-success img { width: 56px; margin: 0 auto; }

/* Dialog */
.enquiry-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: clamp(28px, 5vw, 48px); border: 0; border-radius: 0; background: var(--paper); color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
}
.enquiry-dialog::backdrop { background: rgba(20, 16, 14, .6); backdrop-filter: blur(4px); }
.enquiry-dialog[open] { animation: dialogIn .5s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.dialog-close:hover { color: var(--rose); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 72px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); margin-bottom: 32px; }
.site-footer__top .brand { margin-right: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer nav a { text-decoration: none; font-family: var(--serif-caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.site-footer nav a:hover { color: #fff; }
.site-footer__rera { color: #fff; font-family: var(--serif-caps); font-size: 13px; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer__legal { max-width: 900px; line-height: 1.6; margin-bottom: 20px; }

/* ---------- Mobile sticky bar ---------- */
.sticky-bar { display: none; }
@media (max-width: 760px) {
  .sticky-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    background: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .sticky-bar.is-visible { transform: none; }
  .sticky-bar a, .sticky-bar button {
    display: grid; place-items: center; min-height: 54px; border: 0; background: none; color: #fff; text-decoration: none; cursor: pointer;
    font-family: var(--serif-caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  }
  .sticky-bar a + a { border-left: 1px solid var(--line-light); }
  .sticky-bar button { background: var(--rose); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Reveal (initial states only when JS is running) ---------- */
.js [data-reveal], .js [data-reveal-group] > *, .js .phrase-stack > span { opacity: 0; }
.js [data-clip] { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > *, .js .phrase-stack > span { opacity: 1; }
  .js [data-clip] { clip-path: none; }
  .hero__media img { transform: none; }
}

/* ---------- Phone refinements ---------- */
.gallery__progress { display: none; }
.res-swipe-hint { display: none; }
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .statement { font-size: 20px; letter-spacing: .04em; }
  .body-lg { font-size: 18px; }

  /* Golden Mile phrases: smaller, calmer */
  .golden__content { padding: 96px var(--gutter); }
  .phrase-stack { gap: 14px; }
  .phrase-stack span { font-size: 17px; letter-spacing: .08em; }
  .phrase-stack__end { font-size: 14px !important; letter-spacing: .14em !important; }

  /* Residences: horizontal swipe instead of a long stack */
  .res-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none;
    gap: 14px; max-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .res-grid::-webkit-scrollbar { display: none; }
  .res-card { scroll-snap-align: start; }
  .res-card__body { padding: 24px 20px; }
  .res-card h3 { margin: 8px 0 18px; }
  .res-card dl { margin-bottom: 22px; }
  .res-swipe-hint { display: block; text-align: center; margin-top: 18px; font-family: var(--serif-caps); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .fineprint { margin-top: 24px; }

  /* Amenities */
  .amenity-list { margin-top: 32px; }
  .amenity-list li { grid-template-columns: 36px 1fr; gap: 8px; padding: 20px 0; }
  .amenity-list h3 { font-size: 15px; }
  .amenity-list p { font-size: 16px; }

  /* Gallery progress bar (arrows are hidden on phones) */
  .gallery__progress { display: block; position: relative; height: 1px; margin: 28px var(--gutter) 0; background: var(--line-light); }
  .gallery__progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--rose); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
  .gallery__slider .swiper-slide { width: 84vw; }
  .gallery__slider figcaption { font-size: 12px; margin-top: 12px; }

  /* Highlights */
  .highlight-list { margin: 28px 0 32px; }
  .highlight-list li { font-size: 17px; }

  /* Location */
  .loc-tabs__list { display: grid; grid-template-columns: 1fr 1fr; }
  .loc-tabs__list button { min-height: 46px; padding: 10px 8px; }
  .loc-list li { font-size: 17px; }
  .map, .map iframe { min-height: 300px; }

  /* Enquiry */
  .enquire__form { padding: 24px 18px; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .contact-lines li { align-items: center; padding: 6px 0; }
  .contact-lines a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0 0 16px; }
  .field-row { grid-template-columns: 112px 1fr; gap: 10px; }
  .consent { padding: 4px 0; }

  /* Footer: bigger tap areas */
  .site-footer { padding-top: 56px; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }
  .site-footer nav a { display: flex; align-items: center; min-height: 44px; }
  .site-footer__legal { font-size: 14px; }

  .hero__note { bottom: 10px; font-size: 12px; }
}
@media (max-width: 380px) {
  .field-row { grid-template-columns: 98px 1fr; gap: 8px; }
  .field--code select { font-size: 15px; padding: 0 24px 0 12px; background-position: calc(100% - 15px) 26px, calc(100% - 10px) 26px; }
  .hero__title { font-size: 38px; }
}

/* Dialog: scrolls on its own; full-screen sheet on phones */
.enquiry-dialog { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 760px) {
  .enquiry-dialog {
    width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0;
    padding: calc(28px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  }
  .enquiry-dialog[open] { animation: sheetIn .5s var(--ease); }
  .enquiry-dialog .field:has(textarea) { display: none; }
  .enquiry-dialog .title--sm { margin-bottom: 20px; }
  .sticky-bar.is-hidden { transform: translateY(140%); }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
