/* ============================================================
   SLS Residences at Palm Jumeirah — Roya Lifestyle Developments
   Aesthetic: editorial luxury · soft & airy · ivory + ink + gold
   ============================================================ */

:root {
  /* Palette — soft, airy, sand-and-sea */
  --ivory:       #f6f1ea;   /* page bg */
  --ivory-soft:  #efe8de;   /* sections */
  --cream:       #faf6ef;   /* cards */
  --paper:       #fffdf9;
  --sand:        #d8c9b0;
  --sand-soft:   #e7dac4;

  --ink-900:     #161513;   /* deep charcoal */
  --ink-700:     #3a3733;
  --ink-500:     #6b665e;
  --ink-300:     #b1aba0;
  --ink-200:     #d3cec3;
  --ink-100:     #e7e2d8;
  --ink-50:      #f1ece1;

  --gold:        #b08e51;   /* champagne gold accent */
  --gold-soft:   #d8b27a;
  --gold-deep:   #836a3d;

  --red:         #c8252b;   /* Roya brand red O */

  --max:        1320px;
  --gutter:     clamp(20px, 4vw, 64px);
  --section-y:  clamp(80px, 11vw, 160px);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-italic:  'Italiana', 'Cormorant Garamond', serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--ivory);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--ink-900); color: var(--ivory); }

/* ====================== Typography ====================== */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-700);
}
.display--xl { font-size: clamp(40px, 6.6vw, 96px); }
.display--light { color: var(--ivory); }
.display--light em { color: var(--ink-200); }

.lead {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
  color: var(--ink-700);
  font-weight: 300;
  max-width: 56ch;
}
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead--light { color: var(--ink-200); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.eyebrow--light { color: var(--gold-soft); }

.kicker {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.kicker__line {
  width: 56px; height: 1px;
  background: var(--gold-soft);
  display: inline-block;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto var(--gutter);
  padding: 0 var(--gutter);
}
.section-head--center {
  text-align: center;
}
.section-head--center .lead { margin-top: 24px; }

/* ====================== Buttons ====================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: all 0.5s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--ink-900);
  color: var(--ivory);
  border-color: var(--ink-900);
}
.btn--primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  letter-spacing: 0.22em;
}
.btn--ghost {
  color: var(--ivory);
  border-color: rgba(255,255,255,0.4);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ivory);
  background: rgba(255,255,255,0.08);
  letter-spacing: 0.22em;
}
.btn--minor {
  padding: 0; border: 0;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-900);
  padding-bottom: 4px;
  transition: all 0.4s var(--ease);
}
.btn--minor:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
  padding-left: 6px;
}
.btn--block { width: 100%; padding: 22px; }

/* ====================== Brand Mark ====================== */

.brand-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.32em;
  color: var(--ink-900);
  display: block;
  line-height: 1;
}
.brand-mark--light { color: var(--ivory); }
.brand-mark__o {
  position: relative;
  display: inline-block;
  color: inherit;
}
.brand-mark__o::before {
  content: '';
  position: absolute;
  inset: -2px -1px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
}
.brand-mark__sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 6px;
  display: block;
}
.brand-mark__sub--light { color: var(--ink-300); }

/* ====================== Navigation ====================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  transition: all 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-100);
  padding: 14px var(--gutter);
}
.nav.is-scrolled .nav__brand .brand-mark { color: var(--ink-900); }
.nav.is-scrolled .nav__brand .brand-mark__sub { color: var(--ink-500); }
.nav.is-scrolled .nav__links a { color: var(--ink-900); }
.nav.is-scrolled .nav__cta { color: var(--ink-900); border-color: var(--ink-900); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav__brand { display: flex; flex-direction: column; }
.nav__brand .brand-mark { color: var(--ivory); font-size: 22px; transition: color 0.4s var(--ease); }
.nav__brand .brand-mark__sub { color: rgba(255,255,255,0.7); transition: color 0.4s var(--ease); }

.nav__links {
  display: flex; gap: 36px;
}
.nav__links a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: currentColor;
  transition: all 0.4s var(--ease);
  transform: translateX(-50%);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-block;
  padding: 10px 22px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--ivory);
  transition: all 0.4s var(--ease);
}
.nav__cta:hover {
  background: var(--ivory);
  color: var(--ink-900) !important;
  border-color: var(--ivory) !important;
}
.nav.is-scrolled .nav__cta:hover { background: var(--ink-900); color: var(--ivory) !important; border-color: var(--ink-900) !important; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span {
  width: 22px; height: 1px; background: var(--ivory);
  transition: all 0.3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--ink-900); }

/* Mobile menu open */
@media (max-width: 1024px) {
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    padding: 32px var(--gutter);
    gap: 0;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
  }
  .nav__links.is-open a {
    color: var(--ink-900);
    padding: 16px 0;
    border-bottom: 1px solid var(--ink-100);
  }
  .nav__links.is-open a:last-child { border-bottom: 0; }
}

/* ====================== Hero ====================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: kenburns 30s ease-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,15,12,0.4) 0%, rgba(15,15,12,0.0) 25%, rgba(15,15,12,0.0) 50%, rgba(15,15,12,0.5) 80%, rgba(15,15,12,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,8,0.55) 0%, rgba(10,10,8,0.3) 30%, rgba(10,10,8,0.0) 60%);
}

.hero__content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-bottom: 80px;
  color: var(--ivory);
  animation: fadeUp 1.4s 0.3s var(--ease) both;
  text-shadow: 0 2px 32px rgba(0,0,0,0.4);
  position: relative;
}
.hero__content-inner {
  position: relative;
  max-width: 880px;
  padding: 32px 40px 32px 0;
}
.hero__content-inner::before {
  content: '';
  position: absolute;
  inset: 0 -40px 0 calc(-1 * var(--gutter));
  background: linear-gradient(90deg,
    rgba(10,10,8,0.55) 0%,
    rgba(10,10,8,0.45) 60%,
    rgba(10,10,8,0.0) 100%);
  backdrop-filter: blur(2px) saturate(0.95);
  -webkit-backdrop-filter: blur(2px) saturate(0.95);
  z-index: -1;
  pointer-events: none;
}
.hero__content-inner::after {
  content: '';
  position: absolute;
  left: calc(-1 * var(--gutter) + 24px);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-soft), transparent);
  z-index: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 144px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 36px;
}
.hero__title-line { display: block; }
.hero__title-line--italic {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  padding-left: 0.4em;
}

.hero__lede {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.7;
  color: #ffffff;
  max-width: 56ch;
  font-weight: 300;
  margin-bottom: 48px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.5);
}

.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.hero__meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(15,15,12,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px var(--gutter);
  display: flex; justify-content: center; align-items: center;
  gap: clamp(16px, 4vw, 64px);
  color: var(--ivory);
}
.hero__meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero__meta-item span {
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero__meta-item strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 21px);
  letter-spacing: 0.02em;
  font-style: italic;
}
.hero__meta-divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.15);
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 110px;
  color: var(--ivory);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: 0.7;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute; left: 0; top: -60px;
  width: 100%; height: 60px;
  background: linear-gradient(180deg, transparent, var(--ivory), transparent);
  animation: scroll-down 2.4s ease-in-out infinite;
}
@keyframes scroll-down {
  0%   { top: -60px; }
  100% { top: 60px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================== Marquee ====================== */

.marquee {
  background: var(--ink-900);
  color: var(--ivory);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}
.marquee__track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.marquee__track .dot { color: var(--gold); font-size: 14px; align-self: center; font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====================== Residence (intro section) ====================== */

.residence {
  padding: var(--section-y) var(--gutter);
  background: var(--ivory);
}
.residence__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.residence__copy .display {
  margin-bottom: 32px;
}
.residence__copy .lead + .lead {
  margin-top: 20px;
}
.residence__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--ink-200);
}
.residence__stats > div {
  display: flex; flex-direction: column; gap: 6px;
}
.residence__stats strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ink-900);
  line-height: 1;
}
.residence__stats span {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-500);
}
.residence__media {
  position: relative;
}
.residence__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}
.residence__media figcaption {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,253,249,0.92);
  padding: 10px 16px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-700);
}

/* ====================== Pull Quote ====================== */

.pull-quote {
  padding: var(--section-y) var(--gutter);
  background: var(--ivory-soft);
  text-align: center;
}
.pull-quote__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pull-quote .display {
  text-wrap: balance;
}
.pull-quote__rule {
  display: block;
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 40px auto 24px;
}
.pull-quote__cite {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-500);
}

/* ====================== Architecture ====================== */

.architecture {
  padding: var(--section-y) var(--gutter);
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 100%;
}
.architecture__media {
  height: clamp(420px, 70vh, 800px);
  overflow: hidden;
}
.architecture__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.architecture__media:hover img { transform: scale(1.04); }
.architecture__copy {
  padding: 0 clamp(24px, 4vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 640px;
}
.architecture__copy .display { margin-bottom: 28px; }
.architecture__list {
  list-style: none;
  margin-top: 40px;
}
.architecture__list li {
  padding: 16px 0;
  border-top: 1px solid var(--ink-200);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-700);
  display: flex; gap: 18px;
  letter-spacing: 0.01em;
}
.architecture__list li:last-child { border-bottom: 1px solid var(--ink-200); }
.architecture__list li span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 18px;
  min-width: 30px;
}

/* ====================== Gallery — Editorial ====================== */

.gallery {
  padding: var(--section-y) 0;
  background: var(--ivory-soft);
}
.gallery__editorial {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 56px);
}
.gallery__row {
  display: grid;
  gap: clamp(16px, 2vw, 32px);
}
.gallery__row--text-image {
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(24px, 4vw, 48px) 0;
}
.gallery__row--duo {
  grid-template-columns: 1fr 1fr;
}

.gal {
  position: relative;
  overflow: hidden;
  background: var(--ink-100);
}
.gal img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s var(--ease);
}
.gal:hover img { transform: scale(1.05); }

/* Hero feature image — full-width tall */
.gal--hero {
  aspect-ratio: 21 / 9;
  min-height: 400px;
}
.gal--hero img { aspect-ratio: 21/9; height: 100%; }

/* Portrait — paired with text */
.gal--portrait {
  aspect-ratio: 4 / 5;
}

/* Standard duo — equal squares */
.gallery__row--duo .gal {
  aspect-ratio: 4 / 5;
}

/* Wide feature — penthouse */
.gal--wide-feature {
  aspect-ratio: 16 / 8;
  min-height: 380px;
}

/* Wide — single row */
.gal--wide {
  aspect-ratio: 21 / 9;
  min-height: 360px;
}

/* Editorial overlays for hero/wide-feature gals */
.gal__overlay {
  position: absolute;
  bottom: 0; left: 0;
  padding: clamp(28px, 4vw, 56px);
  max-width: 580px;
  color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(15,15,12,0.7));
  width: 100%;
  z-index: 2;
  transform: translateY(8px);
  opacity: 0.96;
  transition: all 0.7s var(--ease);
}
.gal__overlay--right {
  left: auto; right: 0;
  background: linear-gradient(180deg, transparent, rgba(15,15,12,0.7)),
              linear-gradient(270deg, rgba(15,15,12,0.55), transparent 80%);
  text-align: right;
  margin-left: auto;
}
.gal:hover .gal__overlay { transform: translateY(0); }

.gal__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 8px;
}
.gal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 38px);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.gal__caption {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,253,249,0.85);
  max-width: 50ch;
}
.gal__overlay--right .gal__caption { margin-left: auto; }

/* Standard small caption (duo grid) */
.gal figcaption {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,253,249,0.95);
  padding: 12px 18px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-700);
  display: flex; gap: 12px;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.6s var(--ease);
}
.gal:hover figcaption { transform: translateY(0); opacity: 1; }
.gal figcaption span {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
}

/* Editorial text block paired with portrait */
.gal-text {
  padding: 24px 0;
}
.gal-text__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 24px;
}
.gal-text__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.gal-text__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 28px;
  max-width: 50ch;
}
.gal-text__meta {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
}

/* ====================== Amenities ====================== */

.amenities {
  padding: var(--section-y) var(--gutter);
  background: var(--ivory);
}
.am-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.am-card {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  grid-column: span 2;
  transition: transform 0.6s var(--ease);
}
.am-card--feature { grid-column: span 2; grid-row: span 2; }
.am-card--wide { grid-column: span 4; }
.am-card:hover { transform: translateY(-4px); }
.am-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.am-card--feature img { aspect-ratio: 4/5; }
.am-card--wide img { aspect-ratio: 21/9; }
.am-card:hover img { transform: scale(1.05); }
.am-card__body {
  padding: 28px clamp(20px, 2.5vw, 36px) 36px;
}
.am-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}
.am-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 28px);
  margin-bottom: 12px;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.am-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
  font-weight: 300;
  max-width: 52ch;
}

.am-list {
  max-width: var(--max);
  margin: 64px auto 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.am-list li {
  padding: 28px 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-900);
  display: flex; gap: 16px; align-items: baseline;
  border-left: 1px solid var(--ink-200);
}
.am-list li:first-child { border-left: 0; }
.am-list li span {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--gold-deep);
}

/* ====================== Floor Plans ====================== */

.plans {
  padding: var(--section-y) var(--gutter);
  background: var(--ivory-soft);
}
.plans__tabs {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: flex; flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--ink-200);
}
.plans__tab {
  padding: 18px 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 400;
  position: relative;
  transition: color 0.3s var(--ease);
}
.plans__tab::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--ink-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.plans__tab.is-active {
  color: var(--ink-900);
}
.plans__tab.is-active::after { transform: scaleX(1); }
.plans__tab:hover { color: var(--ink-900); }

.plans__panels {
  max-width: var(--max);
  margin: 0 auto;
}
.plans__panel {
  display: none;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  animation: fadeUp 0.7s var(--ease);
}
.plans__panel.is-active { display: grid; }
.plans__art {
  background: var(--paper);
  padding: 40px;
  color: var(--ink-700);
  position: relative;
}
.plans__art::before {
  content: 'NORTH';
  position: absolute; top: 16px; right: 16px;
  font-size: 9px; letter-spacing: 0.32em; color: var(--ink-300);
}
.plans__art::after {
  content: '';
  position: absolute; top: 32px; right: 32px;
  width: 1px; height: 30px;
  background: var(--ink-300);
}
.plans__art svg {
  width: 100%;
  height: auto;
  max-height: 420px;
}
.plans__detail h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.plans__sub {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-200);
}
.plans__detail dl {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.plans__detail dl > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--ink-200);
}
.plans__detail dt {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-500);
}
.plans__detail dd {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-900);
}

/* ====================== Location ====================== */

.location {
  padding: var(--section-y) var(--gutter);
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.location__copy .display { margin-bottom: 24px; }
.location__list {
  list-style: none;
  margin-top: 40px;
  display: flex; flex-direction: column;
}
.location__list li {
  padding: 20px 0;
  border-top: 1px solid var(--ink-200);
  display: flex; align-items: baseline; gap: 24px;
}
.location__list li:last-child { border-bottom: 1px solid var(--ink-200); }
.location__list li strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  font-style: italic;
  color: var(--ink-900);
  min-width: 120px;
}
.location__list li span {
  font-size: 14px;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}
.location__map {
  position: relative;
  aspect-ratio: 1/1;
}
.location__photo {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--ivory-soft);
}
.location__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.location__photo:hover img { transform: scale(1.04); }
.location__photo figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(15,15,12,0.7));
  color: var(--ivory);
  padding: 40px 32px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.location__photo figcaption span {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.location__photo figcaption strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ivory);
}

/* ====================== Enquire ====================== */

.enquire {
  background: var(--ink-900);
  color: var(--ivory);
  padding: var(--section-y) var(--gutter);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(176,142,81,0.12), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(176,142,81,0.08), transparent 60%);
}
.enquire__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.enquire__copy .lead { max-width: 50ch; }
.enquire__contacts {
  margin-top: 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.enquire__contacts > div {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.enquire__contacts span {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-soft);
}
.enquire__contacts a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ivory);
  transition: color 0.3s var(--ease);
}
.enquire__contacts a:hover { color: var(--gold-soft); }

.enquire__form {
  background: rgba(255,253,249,0.04);
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field--full { grid-column: 1 / -1; }
.field--actions { margin-top: 8px; }
.field label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 12px 0;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.01em;
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 80px; }
.field select option { background: var(--ink-900); color: var(--ivory); }
.field__note {
  font-size: 11px;
  color: var(--ink-300);
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.04em;
}
.field__success {
  grid-column: 1 / -1;
  background: rgba(176,142,81,0.15);
  border: 1px solid var(--gold);
  padding: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-soft);
  text-align: center;
}

.enquire .btn--primary {
  background: var(--ivory);
  color: var(--ink-900);
  border-color: var(--ivory);
}
.enquire .btn--primary:hover {
  background: var(--gold);
  color: var(--ivory);
  border-color: var(--gold);
}

/* ====================== Footer ====================== */

.footer {
  background: var(--ink-900);
  color: var(--ivory);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p {
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-200);
  max-width: 28ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
  margin-bottom: 20px;
}
.footer__cols a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-200);
  transition: color 0.3s var(--ease);
}
.footer__cols a:hover { color: var(--ivory); }
.footer__bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  font-size: 11px;
  color: var(--ink-300);
  letter-spacing: 0.02em;
}
.footer__disclaimer {
  max-width: 60ch;
  font-size: 10px;
}

/* ====================== Reveal Animations ====================== */

/* Default fade up */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Clip-path image reveal — sweeps from left to right like a curtain */
[data-reveal="clip"] {
  opacity: 0;
  transform: scale(0.96) translateY(30px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
[data-reveal="clip"].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Up reveal with optional staggered delay */
[data-reveal="up"] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Split-words reveal — for display headlines */
.split-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-words .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--word-delay, 0ms);
}
.split-words.is-visible .word > span {
  transform: translateY(0);
}

/* ====================== Scroll Progress Bar ====================== */

.nav__progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  background: var(--gold);
  width: 0%;
  transition: width 0.1s linear;
  z-index: 5;
}

/* ====================== Hero Parallax ====================== */

.hero__media img {
  width: 100%; height: 110%;
  object-fit: cover; object-position: center;
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.04) translateY(var(--parallax-y, 0)); }
  to   { transform: scale(1.12) translateY(var(--parallax-y, 0)); }
}

/* ====================== Counter ====================== */

[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ====================== A Day in the Life ====================== */

.day {
  background: var(--ivory);
  padding: var(--section-y) var(--gutter);
}
.day__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.day__head {
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 120px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.day__timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.day__sticky {
  position: sticky;
  top: 100px;
  height: 80vh;
  max-height: 720px;
}
.day__media {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--ink-100);
}
.day__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease), transform 1.6s var(--ease);
}
.day__media img.is-fading {
  opacity: 0;
}
.day__overlay {
  position: absolute;
  top: 32px; left: 32px;
  z-index: 2;
  pointer-events: none;
}
.day__time {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ivory);
  letter-spacing: 0.05em;
  background: rgba(15,15,12,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-left: 1px solid var(--gold-soft);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.day__chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vh, 140px);
  padding: 30vh 0;
}
.day__chapter {
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  border-left: 1px solid var(--ink-200);
  padding-left: 32px;
  position: relative;
}
.day__chapter::before {
  content: '';
  position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 0;
  background: var(--gold);
  transition: height 0.7s var(--ease);
}
.day__chapter.is-active {
  opacity: 1;
  transform: translateY(0);
}
.day__chapter.is-active::before {
  height: 100%;
}
.day__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 16px;
}
.day__chapter h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.day__chapter p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  font-weight: 300;
  max-width: 50ch;
}

/* ====================== Cinematic Scroll-Pinned Amenities ====================== */

.cine {
  background: var(--ink-900);
  /* Total scrollable height = number of slides * 100vh */
  height: 500vh;
  position: relative;
}
.cine__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.cine__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cine__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.1s var(--ease), transform 2.4s var(--ease);
}
.cine__img.is-active {
  opacity: 1;
  transform: scale(1);
}
.cine__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,12,0.4) 0%, rgba(15,15,12,0.0) 30%, rgba(15,15,12,0.0) 50%, rgba(15,15,12,0.55) 80%, rgba(15,15,12,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,8,0.6) 0%, rgba(10,10,8,0.25) 40%, rgba(10,10,8,0.0) 70%);
}

.cine__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(80px, 10vh, 140px) var(--gutter) clamp(40px, 6vh, 80px);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.cine__head {
  max-width: 900px;
}
.cine__head .display {
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.cine__panels {
  position: relative;
  align-self: end;
  max-width: 600px;
  margin-bottom: 40px;
  min-height: 240px;
}
.cine__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
  color: var(--ivory);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.cine__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cine__num {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  width: fit-content;
  padding-right: 64px;
}
.cine__panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--ivory);
}
.cine__panel p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,253,249,0.85);
  font-weight: 300;
  max-width: 48ch;
}

.cine__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cine__dots {
  display: flex;
  gap: 12px;
}
.cine__dot {
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.5s var(--ease), height 0.3s var(--ease);
}
.cine__dot:hover { background: rgba(255,255,255,0.5); }
.cine__dot.is-active {
  background: var(--gold-soft);
  height: 2px;
}
.cine__more {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,253,249,0.7);
  max-width: 60ch;
}

/* ====================== Responsive ====================== */

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .residence__grid { grid-template-columns: 1fr; }
  .residence__stats { grid-template-columns: repeat(2, 1fr); }

  .architecture { grid-template-columns: 1fr; }
  .architecture__media { height: 60vh; }
  .architecture__copy { padding: 60px var(--gutter); }

  .gallery__row--text-image,
  .gallery__row--duo {
    grid-template-columns: 1fr;
  }
  .gal--hero, .gal--wide-feature, .gal--wide {
    aspect-ratio: 16/10;
    min-height: 320px;
  }

  .am-grid { grid-template-columns: repeat(2, 1fr); }
  .am-card, .am-card--feature, .am-card--wide { grid-column: span 2; grid-row: auto; }

  .am-list { grid-template-columns: repeat(2, 1fr); }
  .am-list li { border-left: 0 !important; border-top: 1px solid var(--ink-200); }
  .am-list li:nth-child(1), .am-list li:nth-child(2) { border-top: 0; }
  .am-list li:nth-child(2n) { border-left: 1px solid var(--ink-200) !important; }

  .plans__panel.is-active { grid-template-columns: 1fr; }
  .plans__tabs { overflow-x: auto; flex-wrap: nowrap; }
  .plans__tab { white-space: nowrap; }

  .location { grid-template-columns: 1fr; }
  .location__map { aspect-ratio: 4/3; }

  .enquire__inner { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__meta { gap: 12px; padding: 20px 16px; flex-wrap: wrap; justify-content: flex-start; }
  .hero__meta-divider { display: none; }
  .hero__meta-item { min-width: calc(50% - 8px); }
  .hero__scroll { display: none; }

  .residence__stats { grid-template-columns: repeat(2, 1fr); }

  .gallery__editorial { gap: 24px; }
  .gal--hero, .gal--wide-feature, .gal--wide {
    aspect-ratio: 4/5;
    min-height: 0;
  }
  .gal__overlay { padding: 24px; }
  .gal__title { font-size: 22px; }

  .day__timeline { grid-template-columns: 1fr; }
  .day__sticky { position: relative; height: 60vh; top: 0; }
  .day__chapters { padding: 40px 0; gap: 60px; }
  .day__chapter { opacity: 1; transform: none; }

  .cine { height: auto; }
  .cine__pin { position: relative; height: auto; padding: 80px 0; }
  .cine__bg { position: relative; height: 60vh; }
  .cine__content { padding: 32px var(--gutter); }
  .cine__panels { min-height: auto; margin-bottom: 24px; }
  .cine__panel {
    position: relative; opacity: 1; transform: none;
    pointer-events: auto; padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .cine__panel:last-child { border-bottom: 0; }

  .am-grid { grid-template-columns: 1fr; }
  .am-card, .am-card--feature, .am-card--wide { grid-column: span 1; }

  .am-list { grid-template-columns: 1fr; }
  .am-list li { border-left: 0 !important; }
  .am-list li:nth-child(1) { border-top: 0; }

  .enquire__form { grid-template-columns: 1fr; }
  .field--full { grid-column: span 1; }

  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(40px, 11vw, 60px); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .hero__meta-item span { font-size: 8px; }
  .hero__meta-item strong { font-size: 13px; }

  .marquee__track { font-size: 16px; gap: 32px; }

  .am-list li { padding: 20px 16px; font-size: 16px; }

  .plans__detail dl > div { flex-direction: column; gap: 4px; }
}

/* ====================== Reduced Motion ====================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
