/* =========================================================================
   Acreonix Homes — design system
   Midnight · Gold · Ivory. Cormorant Garamond (display) + Geist (text).
   ========================================================================= */
:root {
  --midnight: #141A3A;
  --midnight-2: #0D1129;
  --midnight-3: #1C2350;
  --gold: #C9A66B;
  --gold-2: #B08D57;
  --gold-3: #8C6C3C;
  --ivory: #F7F3EA;
  --sand: #EFE8DA;
  --stone: #E2D9C6;
  --ink: #141A3A;
  --ink-2: #3A4060;
  --muted: #6B6F84;
  --hair: rgba(20, 26, 58, .09);
  --hair-light: rgba(247, 243, 234, .12);

  --serif: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; /* display = Geist, per brand kit */
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--midnight); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Film grain — fixed, never on scrolling content */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* ---------------- type ---------------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.display { font-size: min(clamp(2.7rem, 7.6vw, 7.4rem), 13svh); letter-spacing: -.05em; line-height: .94; }
.h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); letter-spacing: -.045em; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); letter-spacing: -.03em; line-height: 1.12; }
.display em, .h1 em, .h2 em, .h3 em, .footer__line em, .statement__text em { font-style: normal; font-weight: 400; letter-spacing: -.03em; color: var(--gold-2); }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.on-dark .lead { color: rgba(247, 243, 234, .74); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-3);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark { color: var(--ivory); }

/* ---------------- buttons ---------------- */
.btn {
  --bg: var(--midnight); --fg: var(--ivory); --ico-bg: rgba(247, 243, 234, .12);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
}
.btn:not(:has(.btn__ico)) { padding: 0 24px; }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(20, 26, 58, .55); }
.btn:active { transform: scale(.98); }
.btn__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ico-bg);
  transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.btn__ico .i { width: 16px; height: 16px; }
.btn:hover .btn__ico { transform: translate(3px, -2px) scale(1.06); }
.btn--gold { --bg: var(--gold); --fg: var(--midnight); --ico-bg: rgba(20, 26, 58, .1); }
.btn--gold:hover { --bg: #D4B47E; box-shadow: 0 18px 40px -18px rgba(176, 141, 87, .8); }
.btn--ivory { --bg: var(--ivory); --fg: var(--midnight); --ico-bg: rgba(20, 26, 58, .08); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --ico-bg: rgba(20, 26, 58, .07); box-shadow: inset 0 0 0 1px var(--hair); }
.btn--ghost:hover { --bg: rgba(20, 26, 58, .04); box-shadow: inset 0 0 0 1px rgba(20, 26, 58, .16); }
.btn--glass {
  --fg: var(--ivory); --ico-bg: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05);
}
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--sm { min-height: 42px; font-size: 13.5px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.btn .i { width: 18px; height: 18px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease), gap .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; gap: 14px; }
.link .i { width: 16px; height: 16px; }

/* ---------------- liquid glass ---------------- */
.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(140deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .34));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(255, 255, 255, .25),
    inset 0 0 22px rgba(255, 255, 255, .18),
    0 20px 50px -24px rgba(20, 26, 58, .28);
}
.glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(180px circle at var(--mx, 25%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 65%);
  opacity: .6;
  transition: opacity .6s var(--ease);
}
.glass--dark {
  background: linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  color: var(--ivory);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    inset 0 0 20px rgba(255, 255, 255, .05),
    0 20px 50px -24px rgba(5, 7, 20, .55);
}
.glass--dark::before { background: radial-gradient(180px circle at var(--mx, 25%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 65%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(247, 243, 234, .96); }
  .glass--dark { background: rgba(20, 26, 58, .9); }
}

/* ---------------- navigation ---------------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0;
  z-index: 60;
  padding: 0 14px;
  pointer-events: none;
  transition: transform .7s var(--ease);
}
.nav--hidden { transform: translateY(calc(-100% - 20px)); }
.nav__pill {
  pointer-events: auto;
  max-width: 1240px; height: var(--nav-h);
  margin: 0 auto;
  padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 18px;
  border-radius: 999px;
  color: var(--ink);
  transition: background .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.nav--on-dark .nav__pill {
  color: var(--ivory);
  background: linear-gradient(140deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 20px 50px -24px rgba(5, 7, 20, .5);
}
.nav--on-dark .nav__pill::before { background: radial-gradient(180px circle at var(--mx, 25%) var(--my, 0%), rgba(255, 255, 255, .2), transparent 65%); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.mark { width: 30px; height: 30px; }
.mark .m-a { stroke: var(--gold-2); }
.mark .m-b { stroke: var(--midnight); transition: stroke .6s var(--ease); }
.nav--on-dark .mark .m-a, .on-dark .mark .m-a, .menu .mark .m-a { stroke: var(--gold); }
.nav--on-dark .mark .m-b, .on-dark .mark .m-b, .menu .mark .m-b { stroke: var(--ivory); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word span:first-child { font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.brand__word span:last-child { font-size: 9.5px; font-weight: 400; letter-spacing: .58em; text-transform: uppercase; color: var(--gold-2); margin-top: 5px; }
.nav--on-dark .brand__word span:last-child, .on-dark .brand__word span:last-child { color: var(--gold); }
.brand--lg .mark { width: 44px; height: 44px; }
.brand--lg .brand__word span:first-child { font-size: 19px; }
.brand--lg .brand__word span:last-child { font-size: 11.5px; margin-top: 7px; }

.nav__links { display: flex; gap: 2px; margin: 0 auto; }
.nav__links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 450; letter-spacing: .01em;
  opacity: .78;
  transition: opacity .4s var(--ease), background-color .4s var(--ease);
}
.nav__links a:hover { opacity: 1; background: rgba(20, 26, 58, .06); }
.nav--on-dark .nav__links a:hover { background: rgba(255, 255, 255, .1); }
.nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold);
}
.nav__end { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links + .nav__end { margin-left: 0; }
.nav__saved {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: background-color .4s var(--ease);
}
.nav__saved:hover { background: rgba(20, 26, 58, .06); }
.nav--on-dark .nav__saved:hover { background: rgba(255, 255, 255, .1); }
.nav__saved .i { width: 19px; height: 19px; }
.nav__saved span {
  position: absolute; top: 6px; right: 5px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--gold); color: var(--midnight);
  font-size: 10px; font-weight: 600;
}
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.25px; background: currentColor; border-radius: 2px;
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-open .nav { transform: none; }
.menu-open .nav__pill { color: var(--ivory); background: transparent; box-shadow: none; }
.menu-open .nav__pill::before { opacity: 0; }
.menu-open .mark .m-b { stroke: var(--ivory); }
.menu-open .mark .m-a { stroke: var(--gold); }
.menu-open .nav__cta, .menu-open .nav__saved { opacity: 0; pointer-events: none; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(13, 17, 41, .82);
  -webkit-backdrop-filter: blur(40px) saturate(150%); backdrop-filter: blur(40px) saturate(150%);
  color: var(--ivory);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.menu-open body { overflow: hidden; }
.menu__inner { min-height: 100%; padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.08; letter-spacing: -.04em;
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), color .3s;
}
.menu__links a[aria-current="page"] { color: var(--gold); }
.menu__num { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); opacity: .8; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.menu-open .menu__links a, .menu-open .menu__foot { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__end { margin-left: auto !important; }
}
@media (max-width: 560px) {
  .hero__eyebrow::before { display: none; }
  .hero__caption { display: none; }
  :root { --nav-h: 58px; }
  .nav { top: 10px; padding: 0 10px; }
  .nav__pill { padding: 0 6px 0 16px; }
  .nav__cta { display: none; }
  .mark { width: 26px; height: 26px; }
  .brand__word span:first-child { font-size: 12.5px; }
  .brand__word span:last-child { font-size: 8.5px; }
}

/* ---------------- reveals ---------------- */
.is-ready [data-reveal] {
  opacity: 0; transform: translateY(48px); filter: blur(8px);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.is-ready [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.is-ready [data-stagger] > * {
  opacity: 0; transform: translateY(56px);
  transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0s));
}
.is-ready [data-stagger].is-in > * { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; }
.is-ready [data-split] .w > span { transform: translateY(110%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.is-ready [data-split].is-in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .is-ready [data-reveal], .is-ready [data-stagger] > *, .is-ready [data-split] .w > span { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* Image reveal: a curtain lifts, image settles from a slight zoom */
.media-reveal { position: relative; overflow: hidden; }
.is-ready .media-reveal img { transform: scale(1.18); transition: transform 2s var(--ease-out); }
.is-ready .media-reveal.is-in img { transform: scale(1); }
.is-ready .media-reveal::after {
  content: ''; position: absolute; inset: 0; background: var(--sand);
  transform-origin: top; transition: transform 1.3s var(--ease);
}
.on-dark .media-reveal::after, .is-ready .media-reveal--dark::after { background: var(--midnight); }
.is-ready .media-reveal.is-in::after { transform: scaleY(0); }

/* Scroll-driven parallax where supported (no JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax img { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes parallax { from { transform: translateY(-7%) scale(1.14); } to { transform: translateY(7%) scale(1.14); } }
  }
}

/* ---------------- sections ---------------- */
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.section--tight { padding: clamp(72px, 9vw, 120px) 0; }
.section--dark { background: var(--midnight); color: var(--ivory); }
.section--sand { background: var(--sand); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head__side { max-width: 380px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* ---------------- hero (home) ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--midnight-2);
  color: var(--ivory);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-soft); }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-on img { animation: kenburns 9s var(--ease-soft) forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-on img { animation: none; transform: none; } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 17, 41, .6) 0%, rgba(13, 17, 41, 0) 28%),
    linear-gradient(0deg, rgba(13, 17, 41, .95) 0%, rgba(13, 17, 41, .72) 30%, rgba(13, 17, 41, .25) 66%, rgba(13, 17, 41, .1) 100%),
    linear-gradient(90deg, rgba(13, 17, 41, .72) 0%, rgba(13, 17, 41, .4) 45%, rgba(13, 17, 41, 0) 78%),
    rgba(13, 17, 41, .22);
}
.hero__content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero__eyebrow { margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero h1 { max-width: 11.5ch; }
.hero__row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: clamp(20px, 3.4svh, 40px); flex-wrap: wrap; }
.hero__sub { max-width: 30rem; color: rgba(247, 243, 234, .78); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.hero__caption { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 243, 234, .7); }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 26px; height: 2px; background: rgba(247, 243, 234, .25); position: relative; overflow: hidden; border-radius: 2px; }
.hero__dots button::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-on::after { animation: dot 7s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.hero__place { min-width: 12ch; }

/* Search pill */
.search {
  margin-top: clamp(20px, 3.6svh, 44px);
  display: flex; align-items: center; gap: 4px;
  padding: 7px;
  border-radius: 999px;
  max-width: 920px;
}
.seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); flex: none; }
.seg button, .seg label { position: relative; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; opacity: .72; transition: opacity .3s, background-color .5s var(--ease), color .5s var(--ease); cursor: pointer; white-space: nowrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg button[aria-pressed="true"], .seg label:has(input:checked) { opacity: 1; background: var(--ivory); color: var(--midnight); }
.search__field { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 4px 18px; position: relative; }
.search__field + .search__field::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .16); }
.search__field span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.search__field select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 2px 0 0; font-size: 15px; outline: none; cursor: pointer; width: 100%; color: inherit; }
.search__field select option { color: var(--ink); }
.search__go { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--midnight); transition: transform .5s var(--ease), background-color .3s; }
.search__go:hover { background: #D4B47E; transform: scale(1.05); }
.search__go .i { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .search { flex-wrap: wrap; border-radius: 28px; padding: 8px; }
  .seg { width: 100%; }
  .seg button, .seg label { flex: 1; text-align: center; }
  .search__field { flex: 1 1 30%; padding: 10px 12px; }
  .search__field + .search__field::before { top: 25%; bottom: 25%; }
  .search__field select { font-size: 14px; }
  .search__go { width: 100%; height: 50px; border-radius: 999px; }
}

/* ---------------- marquee ---------------- */
.marquee { overflow: hidden; padding: 30px 0; background: var(--midnight-2); color: rgba(247, 243, 234, .55); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 400; letter-spacing: -.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------- statement ---------------- */
.statement { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.statement__text { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.9vw, 2.8rem); line-height: 1.16; letter-spacing: -.035em; }
.statement__text .wd { color: rgba(20, 26, 58, .16); transition: color .5s var(--ease-soft); }
.statement__text .wd.on { color: var(--ink); }

.statement__text .wd.on em, .statement__text em .wd.on { color: var(--gold-2); }
.statement__aside { display: flex; flex-direction: column; gap: 28px; padding-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; position: relative; }
.facts::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hair); }
.fact b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 3.8vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.fact span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 22ch; }
@media (max-width: 860px) {
  .statement { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------- property card ---------------- */
.pcard { position: relative; cursor: pointer; display: flex; flex-direction: column; }
.pcard__media { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 5; background: var(--stone); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 17, 41, .5), transparent 32%), linear-gradient(180deg, rgba(13, 17, 41, .3), transparent 26%); pointer-events: none; }
.pcard__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 7px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.pcard__tag.glass--dark, .pcard__save.glass--dark { background: linear-gradient(140deg, rgba(20, 26, 58, .42), rgba(20, 26, 58, .22)); }
.pcard__save {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  transition: transform .5s var(--ease), color .3s;
}
.pcard__save:hover { transform: scale(1.08); }
.pcard__save .i { width: 18px; height: 18px; transition: fill .3s; }
.pcard__save.is-on { color: var(--gold); }
.pcard__save.is-on .i { fill: var(--gold); }
.pcard__count { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 12px; color: rgba(247, 243, 234, .85); letter-spacing: .04em; }
.pcard__body { padding: 20px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.pcard__loc { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.pcard__title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.025em; }
.pcard__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease); }
.pcard:hover .pcard__title a { background-size: 100% 1px; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pcard__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.pcard__price { margin-top: 6px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.per { font-weight: 400; color: var(--muted); font-size: .9em; }
.on-dark .pcard__loc { color: var(--gold); }
.on-dark .pcard__meta, .on-dark .per { color: rgba(247, 243, 234, .6); }

/* ---------------- rail ---------------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 440px);
  gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 8px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag .pcard { pointer-events: none; }
@media (min-width: 1440px) { .rail { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 82vw; gap: 16px; } }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20, 26, 58, .05);
  transition: background-color .4s var(--ease), opacity .3s, transform .5s var(--ease);
}
.rail-ctrl button:hover:not(:disabled) { background: var(--midnight); color: var(--ivory); }
.rail-ctrl button:active { transform: scale(.95); }
.rail-ctrl button:disabled { opacity: .3; cursor: default; }
.on-dark .rail-ctrl button { background: rgba(255, 255, 255, .08); }
.on-dark .rail-ctrl button:hover:not(:disabled) { background: var(--ivory); color: var(--midnight); }

/* ---------------- emirates ---------------- */
.emirates { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.emirates__stage { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--midnight); }
.emirates__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease-soft), transform 2.2s var(--ease-out); }
.emirates__stage img.is-on { opacity: 1; transform: scale(1); }
.emirates__label { position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 10px 16px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.emirates__list { display: flex; flex-direction: column; }
.emirate {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0;
  position: relative;
}
.emirate::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
.emirate::before { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); z-index: 1; }
.emirate.is-on::before, .emirate:hover::before { transform: scaleX(1); }
.emirate__n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.emirate__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.045em; transition: transform .8s var(--ease), color .4s; }
.emirate.is-on .emirate__name, .emirate:hover .emirate__name { transform: translateX(14px); }
.emirate__name small { display: block; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
.emirate__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(20, 26, 58, .05); transition: background-color .4s var(--ease), color .4s, transform .6s var(--ease); }
.emirate:hover .emirate__go, .emirate.is-on .emirate__go { background: var(--midnight); color: var(--ivory); transform: rotate(0deg) scale(1.04); }
.emirate__thumb { display: none; }
@media (max-width: 900px) {
  .emirates { grid-template-columns: 1fr; }
  .emirates__stage { display: none; }
  .emirate { grid-template-columns: 96px 1fr auto; }
  .emirate__n { display: none; }
  .emirate__thumb { display: block; width: 96px; height: 116px; border-radius: var(--r-sm); overflow: hidden; }
  .emirate__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .emirate.is-on .emirate__name, .emirate:hover .emirate__name { transform: none; }
}

/* ---------------- services list (dark) ---------------- */
.services { position: relative; }
.service {
  display: grid; grid-template-columns: 80px 1.2fr 1fr auto; gap: 32px; align-items: center;
  padding: clamp(28px, 3.4vw, 44px) 0;
  position: relative;
}
.service::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair-light); }
.service:first-child::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair-light); }
.service__n { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold); }
.service__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.04; letter-spacing: -.04em; transition: transform .8s var(--ease), color .4s; }
.service__desc { color: rgba(247, 243, 234, .62); font-size: 15px; max-width: 36ch; }
.service__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: background-color .4s var(--ease), color .4s, transform .6s var(--ease); }
.service:hover .service__name { transform: translateX(16px); color: var(--gold); }
.service:hover .service__go { background: var(--gold); color: var(--midnight); transform: rotate(45deg); }
.service__go .i { transition: transform .6s var(--ease); }
.service:hover .service__go .i { transform: rotate(-45deg); }
.hover-img {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 300px; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden;
  pointer-events: none; opacity: 0;
  transition: opacity .5s var(--ease);
  will-change: transform;
}
.hover-img.is-on { opacity: 1; }
.hover-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.hover-img img.is-on { opacity: 1; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr auto; gap: 14px 20px; }
  .service__n { grid-column: 1 / -1; }
  .service__desc { grid-column: 1; }
  .service__go { grid-row: 2; grid-column: 2; }
  .hover-img { display: none; }
}

/* ---------------- owner portal showcase ---------------- */
.portal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.portal__list { display: flex; flex-direction: column; gap: 22px; margin: 36px 0 44px; padding: 0; list-style: none; }
.portal__list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.portal__list .i { width: 22px; height: 22px; color: var(--gold-2); margin-top: 2px; }
.portal__list b { display: block; font-weight: 500; margin-bottom: 2px; }
.portal__list span { color: var(--muted); font-size: 15px; }
.portal__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(176, 141, 87, .12); }
.portal__ico .i { margin: 0; }
.portal__visual { position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--r-lg); overflow: hidden; }
.portal__visual > img { width: 100%; height: 100%; object-fit: cover; }
.portal__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(13, 17, 41, .3), rgba(13, 17, 41, .65)); }
.phone {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: min(300px, 70%);
  transform: translate(-50%, -46%);
  padding: 18px; border-radius: 34px;
  background: linear-gradient(140deg, rgba(20, 26, 58, .42), rgba(20, 26, 58, .22));
}
.phone__bar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 18px; }
.phone__big { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.phone__cap { font-size: 12px; opacity: .7; margin: 6px 0 18px; }
.phone__bars { display: flex; align-items: end; gap: 6px; height: 72px; margin-bottom: 18px; }
.phone__bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(247, 243, 234, .28); transform-origin: bottom; }
.phone__bars i:last-child { background: var(--gold); }
.is-ready .portal__visual .phone__bars i { transform: scaleY(0); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 80ms + .4s); }
.is-ready .portal__visual.is-in .phone__bars i { transform: none; }
.phone__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 13px; }
.phone__row + .phone__row { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.phone__row b { font-weight: 500; }
.phone__pill { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: rgba(201, 166, 107, .25); color: #F1DDB5; letter-spacing: .04em; }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; } }

/* ---------------- CTA band ---------------- */
.cta { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; color: var(--ivory); background: var(--midnight); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 17, 41, .92), rgba(13, 17, 41, .6) 55%, rgba(13, 17, 41, .35)), linear-gradient(0deg, rgba(13, 17, 41, .5), transparent 45%); }
.cta__inner { position: relative; z-index: 2; padding: 120px 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* ---------------- footer ---------------- */
.footer { background: var(--midnight-2); color: var(--ivory); padding: clamp(80px, 10vw, 140px) 0 0; position: relative; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: clamp(56px, 7vw, 96px); }
.footer__line { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.02; letter-spacing: -.045em; }
.footer__line em { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 56px 0; box-shadow: inset 0 1px 0 var(--hair-light); }
.footer__brand p { margin-top: 24px; max-width: 30ch; color: rgba(247, 243, 234, .55); font-size: 14.5px; }
.footer__brand .mark .m-a { stroke: var(--gold); }
.footer__brand .mark .m-b { stroke: var(--ivory); }
.footer__brand .brand__word span:last-child { color: var(--gold); }
.footer h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer__grid a { display: block; padding: 5px 0; font-size: 14.5px; color: rgba(247, 243, 234, .72); transition: color .3s, transform .5s var(--ease); }
.footer__grid a:hover { color: var(--ivory); transform: translateX(4px); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 0; box-shadow: inset 0 1px 0 var(--hair-light); font-size: 13px; color: rgba(247, 243, 234, .5); position: relative; z-index: 2; }
.footer__tools { display: flex; align-items: center; gap: 22px; }
.footer__tools a:hover { color: var(--ivory); }
.cur { position: relative; display: inline-flex; align-items: center; }
.cur select { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .06); border: 0; border-radius: 999px; padding: 7px 30px 7px 14px; font-size: 12.5px; color: var(--ivory); cursor: pointer; }
.cur select option { color: var(--ink); }
.cur .i { position: absolute; right: 9px; width: 14px; height: 14px; pointer-events: none; }
.footer__mark {
  font-family: var(--serif); font-weight: 600; font-size: 16.5vw; line-height: .78; letter-spacing: -.06em;
  text-align: center; color: rgba(247, 243, 234, .035); margin-bottom: -2.5vw; user-select: none; white-space: nowrap;
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  padding: 13px 22px; border-radius: 999px; font-size: 14px;
  background: rgba(20, 26, 58, .78);
  opacity: 0; transform: translate(-50%, 20px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------------- page header (inner pages) ---------------- */
.phead { padding: clamp(150px, 18vw, 220px) 0 clamp(48px, 6vw, 80px); }
.phead .eyebrow { margin-bottom: 24px; }
.phead__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.phead--image { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: var(--ivory); background: var(--midnight); overflow: hidden; padding-bottom: clamp(48px, 6vw, 88px); }
.phead--image .phead__bg { position: absolute; inset: 0; }
.phead--image .phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead--image .phead__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 17, 41, .95), rgba(13, 17, 41, .55) 45%, rgba(13, 17, 41, .5)), linear-gradient(90deg, rgba(13, 17, 41, .55), rgba(13, 17, 41, 0) 75%); }
.phead--image .wrap { position: relative; z-index: 2; }

/* ---------------- forms ---------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  background: rgba(20, 26, 58, .045);
  border: 0; border-radius: var(--r-sm);
  padding: 15px 16px;
  font-size: 15.5px; color: var(--ink);
  outline: none;
  transition: background-color .3s var(--ease), box-shadow .4s var(--ease);
  box-shadow: inset 0 0 0 1px transparent;
}
.input:hover, .select:hover, .textarea:hover { background: rgba(20, 26, 58, .065); }
.input:focus, .select:focus, .textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-2), 0 10px 30px -18px rgba(20, 26, 58, .3); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141A3A' stroke-width='1.25' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.on-dark .input, .on-dark .select, .on-dark .textarea { background-color: rgba(255, 255, 255, .07); color: var(--ivory); }
.on-dark .input::placeholder, .on-dark .textarea::placeholder { color: rgba(247, 243, 234, .45); }
.on-dark .field > span { color: rgba(247, 243, 234, .55); }
.on-dark .input:focus, .on-dark .select:focus, .on-dark .textarea:focus { background: rgba(255, 255, 255, .12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--muted); }
.sent { padding: 18px 20px; border-radius: var(--r-sm); background: rgba(176, 141, 87, .12); color: var(--gold-3); font-size: 14.5px; display: flex; gap: 10px; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; user-select: none; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(20, 26, 58, .07); display: grid; place-items: center; margin: 0; cursor: pointer; transition: background-color .3s var(--ease); flex: none; }
.check input::after { content: ''; width: 10px; height: 6px; border-left: 1.5px solid var(--ivory); border-bottom: 1.5px solid var(--ivory); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .4s var(--ease); }
.check input:checked { background: var(--midnight); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }

/* ---------------- utility ---------------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.muted { color: var(--muted); }
.gold { color: var(--gold-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.img-frame { border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; } .ratio-11 { aspect-ratio: 1; } .ratio-169 { aspect-ratio: 16 / 10; } .ratio-tall { aspect-ratio: 3 / 4.2; }

/* =========================================================================
   Listings page
   ========================================================================= */
.toolbar-wrap { position: sticky; top: calc(var(--nav-h) + 22px); z-index: 30; pointer-events: none; transition: top .7s var(--ease); }
.toolbar-wrap > .wrap > * { pointer-events: auto; }
.nav--hidden ~ main .toolbar-wrap, body:has(.nav--hidden) .toolbar-wrap { top: 14px; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 999px; }
.seg--light { background: rgba(20, 26, 58, .05); }
.seg--light button[aria-pressed="true"] { background: var(--midnight); color: var(--ivory); }
.toolbar__quick { display: flex; gap: 4px; flex: 1; min-width: 0; }
.tsel { position: relative; display: inline-flex; min-width: 0; }
.tsel select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent;
  padding: 11px 32px 11px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 450; cursor: pointer; max-width: 100%;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141A3A' stroke-width='1.25' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
  transition: background-color .3s var(--ease);
}
.tsel select:hover { background-color: rgba(20, 26, 58, .05); }
.tbtn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: rgba(20, 26, 58, .05); transition: background-color .3s var(--ease); white-space: nowrap; }
.tbtn:hover { background: rgba(20, 26, 58, .09); }
.tbtn .i { width: 17px; height: 17px; }
.tbtn b { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--gold); color: var(--midnight); font-size: 11px; font-weight: 600; }
.toolbar__end { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.views { display: flex; padding: 3px; border-radius: 999px; background: rgba(20, 26, 58, .05); }
.views button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; opacity: .55; transition: opacity .3s, background-color .4s var(--ease); }
.views button .i { width: 17px; height: 17px; }
.views button[aria-pressed="true"] { opacity: 1; background: #fff; box-shadow: 0 4px 14px -6px rgba(20, 26, 58, .3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 15px; border-radius: 999px; background: rgba(20, 26, 58, .06); font-size: 13px; transition: background-color .3s var(--ease); }
.chip:hover { background: rgba(20, 26, 58, .1); }
.chip .i { width: 14px; height: 14px; opacity: .6; }
.chip--clear { background: transparent; text-decoration: underline; text-underline-offset: 3px; padding-left: 8px; }
@media (max-width: 1100px) { .toolbar__quick { display: none; } }
@media (max-width: 700px) {
  .toolbar-wrap { top: calc(var(--nav-h) + 16px); }
  .toolbar { flex-wrap: wrap; border-radius: 26px; gap: 6px; }
  .toolbar .seg { width: 100%; }
  .toolbar .seg button { flex: 1; padding: 10px 6px; }
  .tbtn { flex: 1; justify-content: center; }
  .toolbar__end { flex: 1; margin: 0; }
  .tsel--sort { flex: 1; }
  .tsel--sort select { width: 100%; background-color: rgba(20, 26, 58, .05); }
  .views { display: none; }
}

.results-count { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.grid--rows { grid-template-columns: 1fr; gap: 28px; }
.grid--rows .pcard { display: grid; grid-template-columns: minmax(260px, 44%) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: 28px; position: relative; }
.grid--rows .pcard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
.grid--rows .pcard__media { aspect-ratio: 16 / 11; }
.grid--rows .pcard__title { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.grid--rows .pcard__price { font-size: 18px; margin-top: 14px; }
@media (max-width: 760px) { .grid--rows .pcard { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: 80px 20px; max-width: 560px; margin: 0 auto; }
.more { display: flex; justify-content: center; margin-top: 64px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s linear .7s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(13, 17, 41, .35); opacity: 0; transition: opacity .6s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px;
  width: min(480px, calc(100% - 24px));
  display: flex; flex-direction: column;
  background: rgba(247, 243, 234, .9);
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 40px 80px -30px rgba(13, 17, 41, .45);
  transform: translateX(calc(100% + 24px));
  transition: transform .8s var(--ease);
  overflow: hidden;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 12px 28px; }
.drawer__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(20, 26, 58, .06); transition: background-color .3s, transform .6s var(--ease); }
.drawer__x:hover { transform: rotate(90deg); background: rgba(20, 26, 58, .1); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 28px 28px; display: flex; flex-direction: column; gap: 26px; }
.drawer__foot { display: flex; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--hair); }
.drawer__foot .btn--block { flex: 1; }
.drawer-open body { overflow: hidden; }
@media (max-width: 640px) {
  .drawer__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 90svh; border-radius: 28px 28px 0 0; transform: translateY(100%); }
  .drawer__head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(20, 26, 58, .15); }
}
.fgroup { border: 0; padding: 0; margin: 0; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { padding: 10px 15px; border-radius: 999px; font-size: 13.5px; background: rgba(20, 26, 58, .05); transition: background-color .4s var(--ease), color .4s var(--ease); }
.pills button:hover { background: rgba(20, 26, 58, .09); }
.pills button[aria-pressed="true"] { background: var(--midnight); color: var(--ivory); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 380px) { .checks { grid-template-columns: 1fr; } }

/* =========================================================================
   Property detail
   ========================================================================= */
.pdetail { padding-top: calc(var(--nav-h) + 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.ptitle { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.ptitle__loc { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ink-2); }
.ptitle__loc .i { width: 18px; height: 18px; color: var(--gold-2); }
.ptitle__actions { display: flex; gap: 8px; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(20, 26, 58, .05); transition: background-color .4s var(--ease), transform .5s var(--ease), color .3s; }
.round:hover { background: rgba(20, 26, 58, .1); transform: scale(1.05); }
.round.is-on { color: var(--gold-2); }
.round.is-on .i { fill: var(--gold-2); }

.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: min(74vh, 720px); }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--stone); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery__item:hover img { transform: scale(1.04) !important; }
.gallery__item--0 { grid-row: 1 / 3; }
.gallery:has(.gallery__item--1):not(:has(.gallery__item--2)) .gallery__item--1 { grid-row: 1 / 3; }
.gallery:not(:has(.gallery__item--1)) { grid-template-columns: 1fr; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.gallery__all .i { width: 16px; height: 16px; }
.mgallery { display: none; position: relative; margin: 0 calc(var(--gutter) * -1); }
.mgallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mgallery__track::-webkit-scrollbar { display: none; }
.mgallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3.4; overflow: hidden; }
.mgallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.mgallery__count { position: absolute; right: calc(var(--gutter) + 4px); bottom: 14px; padding: 7px 13px; border-radius: 999px; font-size: 12px; }
@media (max-width: 760px) {
  .gallery { display: none; }
  .mgallery { display: block; }
  .ptitle { flex-direction: column; align-items: flex-start; }
}

.playout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); }
.pmain { min-width: 0; }
.pfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; padding-bottom: 44px; position: relative; }
.pfacts::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
.pfact { display: flex; flex-direction: column; gap: 4px; }
.pfact .i { width: 22px; height: 22px; color: var(--gold-2); margin-bottom: 10px; }
.pfact span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pfact b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.pblock { padding: clamp(40px, 5vw, 64px) 0; position: relative; }
.pblock + .pblock::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }
.pblock .h3 { margin-bottom: 24px; }
.pdesc p { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 40em; }
.pdesc p + p { margin-top: 1.1em; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.amen li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.amen .i { width: 18px; height: 18px; color: var(--gold-2); }
.plan__bar { height: 10px; border-radius: 10px; background: rgba(20, 26, 58, .08); overflow: hidden; }
.plan__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 10px; }
.plan__legend { display: flex; justify-content: space-between; margin-top: 18px; gap: 20px; }
.plan__legend b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.plan__legend span { font-size: 14px; color: var(--muted); }
.plan__legend div:last-child { text-align: right; }
.mort { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mort__inputs { display: flex; flex-direction: column; gap: 24px; }
.mort__inputs .field > span { display: flex; justify-content: space-between; }
.mort__inputs output { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; }
.mort__out { padding: 28px; border-radius: var(--r-md); background: var(--sand); }
.mort__out > span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mort__out b { display: block; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.05; margin: 10px 0 6px; }
.mort__out small { color: var(--muted); font-size: 13px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--midnight) var(--p), rgba(20, 26, 58, .12) var(--p)); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(20, 26, 58, .12); }
input[type=range]::-moz-range-progress { height: 3px; background: var(--midnight); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(20, 26, 58, .25), inset 0 0 0 5px var(--midnight); transition: transform .3s var(--ease); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(20, 26, 58, .25), inset 0 0 0 5px var(--midnight); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.pmanaged { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.pmanaged > div { max-width: 34em; }
@media (max-width: 1060px) { .playout { grid-template-columns: 1fr; } .pfacts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .amen { grid-template-columns: 1fr; } .mort { grid-template-columns: 1fr; } }

.enquire { position: sticky; top: calc(var(--nav-h) + 32px); padding: 30px; border-radius: var(--r-lg); scroll-margin-top: 100px; }
.enquire__price { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.enquire__price .per { font-family: var(--sans); font-size: 15px; }
.enquire__ref { font-size: 12.5px; color: var(--muted); margin: 8px 0 24px; }
.enquire__form { display: flex; flex-direction: column; gap: 10px; }
.enquire__form .input, .enquire__form .textarea { background: rgba(255, 255, 255, .55); }
.enquire__form .btn { margin-top: 6px; }
.enquire__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.enquire__alt .btn { padding: 0 14px; }

.pbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  display: none; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px;
  transition: transform .6s var(--ease), opacity .4s;
}
.pbar > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pbar b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar b .per { font-weight: 400; font-size: 12px; }
.pbar span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar__wa { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(20, 26, 58, .06); }
.pbar.is-hidden { transform: translateY(140%); opacity: 0; }
@media (max-width: 1060px) { .pbar { display: flex; } .page-property .footer { padding-bottom: 80px; } }

.lightbox { position: fixed; inset: 0; z-index: 85; background: rgba(8, 10, 26, .94); color: var(--ivory); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lightbox__stage { position: absolute; inset: 70px 80px; }
.lightbox__fig { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.lightbox__fig.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lightbox__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__bar { position: absolute; left: 28px; top: 24px; display: flex; gap: 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; transition: transform .4s var(--ease); }
.lightbox__btn:hover { transform: scale(1.06); }
.lightbox__close { top: 14px; right: 18px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -26px; }
@media (max-width: 700px) {
  .lightbox__stage { inset: 70px 0 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin: 0; }
  .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); }
  .lightbox__title { display: none; }
}

/* =========================================================================
   About · Management · Contact
   ========================================================================= */
.prose { display: flex; flex-direction: column; gap: 22px; }
.prose p:not(.lead) { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; max-width: 38em; }
.mosaic { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(12px, 2vw, 24px); align-items: end; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr; } }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 48px); }
.principle { padding-top: 28px; position: relative; }
.principle::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hair); }
.principle::after { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 1px; background: var(--gold-2); }
.principle__n { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold-3); }
.principle .h3 { margin: 22px 0 14px; }
.principle p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks .i { width: 18px; height: 18px; color: var(--gold-2); margin-top: 3px; }
.on-dark .ticks .i { color: var(--gold); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.tier { padding: 8px clamp(24px, 3vw, 48px) 8px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.tier:first-child { padding-left: 0; }
.tier:last-child { padding-right: 0; }
.tier + .tier::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.tier__n { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.tier .h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.tier .ticks { margin-top: 14px; }
.tier--feature .h3 em, .tier--feature .h3 { color: var(--ink); }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; gap: 48px; }
  .tier { padding: 32px 0 0 !important; }
  .tier + .tier::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: s; }
.steps li { position: relative; padding-top: 40px; }
.steps li::before { content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 1px; background: rgba(20, 26, 58, .14); }
.steps li::after { content: ''; position: absolute; top: 8px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-2); }
.steps__n { font-family: var(--mono); font-size: 2.4rem; font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--gold-2); }
.steps h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; font-size: 1.35rem; margin: 14px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.included { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.included > div:first-child { position: sticky; top: 110px; }
.inc-list { display: flex; flex-direction: column; }
.inc { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; position: relative; }
.inc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
.inc > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(176, 141, 87, .12); color: var(--gold-3); }
.inc > span .i { width: 22px; height: 22px; }
.inc h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; font-size: 1.3rem; line-height: 1.1; margin-bottom: 6px; }
.inc p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .included { grid-template-columns: 1fr; } .included > div:first-child { position: static; } }

.faq details { position: relative; }
.faq details::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(20, 26, 58, .12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 26, 58, .05); flex: none; transition: transform .6s var(--ease), background-color .3s; }
.faq details[open] summary > span { transform: rotate(45deg); background: var(--midnight); color: var(--ivory); }
.faq details p { padding: 0 60px 28px 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; animation: faq .7s var(--ease-out); }
@keyframes faq { from { opacity: 0; transform: translateY(-8px); } }

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 48px; }
.cinfo { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cinfo .eyebrow { margin-bottom: 10px; }
.cinfo__big { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.cinfo__big:hover { background-size: 100% 1px; }
[data-offices] { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office p { font-size: 15px; } .office .eyebrow { margin-bottom: 10px; }
.contact__form { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); position: sticky; top: calc(var(--nav-h) + 32px); }
.contact__form .input, .contact__form .select, .contact__form .textarea { background-color: rgba(255, 255, 255, .55); }
.seg--radio label { flex: 1; text-align: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__form { position: static; } }

/* =========================================================================
   Agent console
   ========================================================================= */
.gate { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 20px; background: radial-gradient(120% 80% at 70% 0%, #2A3170 0%, var(--midnight) 45%, var(--midnight-2) 100%); }
.gate__card { width: min(420px, 100%); padding: 40px 34px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; text-align: center; }
.gate__mark .mark { width: 52px; height: 52px; margin: 0 auto 8px; }
.gate .input { background: rgba(255, 255, 255, .6); text-align: center; }
.gate__err { color: #9A3412; font-size: 14px; }
.page-admin .nav { display: none; }
.page-admin:has(.admin:not([hidden])) .nav { display: block; }
.admin { padding-bottom: 120px; }
.crm-status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(20, 26, 58, .05); font-size: 13.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #A3A7B7; }
.dot--on { background: #2F9E6B; box-shadow: 0 0 0 4px rgba(47, 158, 107, .15); }
.dot--warn { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(176, 141, 87, .18); }
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(20, 26, 58, .05); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 40px; }
.tabs button { padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: .7; transition: background-color .4s var(--ease), color .4s var(--ease), opacity .3s; }
.tabs button[aria-selected="true"] { background: var(--midnight); color: var(--ivory); opacity: 1; }
.adm-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-row { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 20px; align-items: center; padding: 14px 0; position: relative; }
.adm-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
.adm-row__img { width: 84px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--stone); }
.adm-row__img img { width: 100%; height: 100%; object-fit: cover; }
.adm-row__main { display: flex; flex-direction: column; min-width: 0; }
.adm-row__main b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row__main span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row__price { font-size: 14px; white-space: nowrap; }
.adm-row__act { display: flex; gap: 4px; }
.badge { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(20, 26, 58, .06); }
.badge--crm { background: rgba(47, 158, 107, .12); color: #1F6E4A; }
.badge--draft { background: rgba(176, 141, 87, .16); color: var(--gold-3); }
.iconbtn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background-color .3s; }
.iconbtn:hover { background: rgba(20, 26, 58, .07); }
.iconbtn .i { width: 18px; height: 18px; }
.adm-undo { padding: 12px 16px; border-radius: var(--r-sm); background: rgba(176, 141, 87, .12); font-size: 14px; margin-bottom: 8px; }
.adm-undo button { text-decoration: underline; font-weight: 500; }
@media (max-width: 760px) {
  .adm-row { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .adm-row__img { width: 64px; height: 52px; }
  .adm-row__price, .badge { display: none; }
}
.adm-edit { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.adm-preview { position: sticky; top: calc(var(--nav-h) + 40px); }
@media (max-width: 1000px) { .adm-edit { grid-template-columns: 1fr; } .adm-preview { position: static; max-width: 380px; } }
.adm-form { display: flex; flex-direction: column; gap: 36px; }
.adm-sec { border: 0; padding: 0; margin: 0; min-width: 0; }
.adm-sec legend { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: -.03em; margin-bottom: 18px; padding: 0; }
.field > span small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .form-grid--4 { grid-template-columns: 1fr 1fr; } }
.drop { border-radius: var(--r-md); background: rgba(20, 26, 58, .04); transition: background-color .3s, box-shadow .3s; box-shadow: inset 0 0 0 1.5px transparent; }
.drop.is-over { background: rgba(176, 141, 87, .12); box-shadow: inset 0 0 0 1.5px var(--gold-2); }
.drop__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; cursor: pointer; text-align: center; }
.drop__inner .i { width: 28px; height: 28px; color: var(--gold-2); }
.drop__inner small { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb > span { position: absolute; left: 8px; top: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: var(--midnight); }
.thumb [data-thumb-rm] { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 17, 41, .6); color: #fff; }
.thumb [data-thumb-rm] .i { width: 14px; height: 14px; }
.thumb__cover { position: absolute; left: 6px; bottom: 6px; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(13, 17, 41, .6); color: #fff; opacity: 0; transition: opacity .3s; }
.thumb:hover .thumb__cover { opacity: 1; }
.adm-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-actions .form-note a { text-decoration: underline; }
.crm-result { margin-top: 20px; padding: 18px 20px; border-radius: var(--r-sm); background: rgba(20, 26, 58, .05); font-size: 14.5px; }
.crm-result ul { margin: 10px 0 0; padding-left: 18px; }
.crm-result--ok { background: rgba(47, 158, 107, .1); }
.crm-result--err { background: rgba(154, 52, 18, .08); }
.adm-docs ol { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); margin: 20px 0; }
.code { background: var(--midnight); color: #E9E4D8; padding: 20px; border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.6; overflow-x: auto; margin: 12px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: rgba(20, 26, 58, .06); padding: 1px 6px; border-radius: 6px; }
.io { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.io__item { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 28px; position: relative; }
.io__item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hair); }
.io__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(176, 141, 87, .12); color: var(--gold-3); }
.io__ico .i { width: 22px; height: 22px; }
@media (max-width: 900px) { .io { grid-template-columns: 1fr; } }

.adm-docs .eyebrow { display: flex; }

/* Legibility on photography: soft shadow on all text set over images */
.hero__content, .phead--image .wrap, .cta__inner { text-shadow: 0 1px 24px rgba(13, 17, 41, .45); }
.hero__content .btn, .hero__content .search, .cta__inner .btn { text-shadow: none; }
.emirates__stage::after, .gallery__item::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(13, 17, 41, .45), transparent 35%); z-index: 1; }
.emirates__label { z-index: 3; }
.mgallery__slide { position: relative; }
.mgallery__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 17, 41, .4), transparent 30%); }

/* Emirate landing pages + SEO links */
.crumbs--light { color: rgba(247, 243, 234, .7); }
.crumbs--light a:hover { color: var(--ivory); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip { padding: 10px 16px; border-radius: 999px; background: rgba(20, 26, 58, .06); font-size: 14px; transition: background-color .4s var(--ease), color .4s var(--ease); }
.area-chip:hover { background: var(--midnight); color: var(--ivory); }
.area-chips--dark .area-chip { background: rgba(255, 255, 255, .08); }
.area-chips--dark .area-chip:hover { background: var(--gold); color: var(--midnight); }
.footer__seo { padding: 40px 0; box-shadow: inset 0 1px 0 var(--hair-light); }
.footer__seo div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__seo a { font-size: 13.5px; color: rgba(247, 243, 234, .55); transition: color .3s; }
.footer__seo a:hover { color: var(--gold); }
