/* ============================================================
   Radisson Residences Al Reem Island — Abu Dhabi
   Ultra-luxury redesign. Content preserved for SEO.
   ============================================================ */

:root {
  /* Ground — light, warm */
  --void: #f7f4ef;        /* page + primary section band */
  --abyss: #efeae1;       /* alternating section band */
  --obsidian: #ffffff;    /* raised card surface */
  --elevated: #fbf9f5;
  --ink: #12161d;
  --ink-on-gold: #1a1408; /* text sitting on a gold fill */
  --footer-bg: #e9e3d8;

  /* Light */
  --ivory: #f6f2ea;
  --ivory-hero: #f7f4ef;   /* hero accent — gold has no contrast on amber */
  --ivory-2: #efe9de;
  --sand: #e4dbcb;
  --stone: #b9b1a4;

  /* Metal */
  --gold: #c3a568;                        /* fills, rules, on-photo accents */
  --gold-ink: #7f611a;                    /* gold text on light surfaces */
  --gold-lite: #ddc79a;
  --gold-mid: #a0803a;                    /* large decorative numerals on light */
  --gold-soft: rgba(143, 111, 34, 0.10);
  --gold-line: rgba(143, 111, 34, 0.30);

  /* Radisson accent (brand swoosh) */
  --azure: #8fa0d6;

  /* Type */
  --text-d: #14181f;
  --body-d: #545a64;
  --mute-d: #5c6169;
  --text-l: #14181f;
  --body-l: #545a64;
  --mute-l: #8b9099;

  --line-d: rgba(20, 24, 31, 0.12);
  --line-l: rgba(20, 24, 31, 0.1);

  --header: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans-hero: "Outfit", system-ui, sans-serif;
  --radius: 2px;
  --shadow: 0 30px 80px rgba(6, 8, 11, 0.35);
  --shadow-soft: 0 18px 50px rgba(6, 8, 11, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.955rem + 0.17vw, 1.075rem);
  line-height: 1.75;
  color: var(--text-l);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--ink-on-gold); }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }
.wrap-wide { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 1.5rem; }
.wrap-narrow { width: 100%; max-width: 880px; margin-inline: auto; padding-inline: 1.5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.section { padding: clamp(5rem, 9vw, 9.5rem) 0; background: var(--ivory); position: relative; }
.section.dark { background: var(--void); color: var(--text-d); }
.section.deep { background: var(--abyss); color: var(--text-d); }
.section.sand { background: var(--ivory-2); }
.section.tight { padding-block: clamp(3.5rem, 6vw, 6rem); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; line-height: 1.06; letter-spacing: -0.012em; }

h1 { font-size: clamp(2.5rem, 5.1vw, 4.5rem); }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: var(--gold-line); flex: none;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 30px; height: 1px; background: var(--gold-line); flex: none;
}

.lede {
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  color: var(--body-l);
  max-width: 62ch;
}
.dark .lede, .deep .lede { color: var(--body-d); }
.section p + p { margin-top: 1.15rem; }

.section-head { max-width: 780px; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after {
  content: ""; width: 30px; height: 1px; background: var(--gold-line); flex: none;
}
.section-head h2 { margin-bottom: 1.4rem; }

.accent { color: var(--gold-ink); font-style: normal; }
.dark h2, .deep h2, .dark h3, .deep h3 { color: var(--text-d); }

/* ---------- Ornament ---------- */
.rule {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-line) 22%, var(--gold-line) 78%, transparent);
}
.diamond {
  width: 5px; height: 5px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}

/* ---------- Progress + grain ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  z-index: 10002;
  background: linear-gradient(90deg, var(--gold), var(--azure));
}
.grain {
  pointer-events: none; position: fixed; inset: 0;
  z-index: 9998; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.05rem 2.1rem;
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.5s var(--ease);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: var(--ink-on-gold);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: transparent; color: var(--gold-ink); }
.btn-ghost {
  border: 1px solid rgba(246, 242, 234, 0.28);
  color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.btn-outline {
  border: 1px solid var(--gold-line); color: var(--gold-ink);
}
.btn-outline:hover { background: var(--gold); color: var(--ink-on-gold); }
.btn-nav { padding: 0.82rem 1.55rem; font-size: 0.64rem; }
.btn-lg { padding: 1.22rem 2.75rem; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--header);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), height 0.4s var(--ease), border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}
.header.is-on {
  background: rgba(6, 8, 11, 0.93);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(246, 242, 234, 0.12);
  height: 66px;
}
.header-inner {
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; }
.brand img {
  height: 42px; width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.4s var(--ease);
}
.header.is-on .brand img { height: 36px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  color: rgba(246, 242, 234, 0.7);
  font-size: 0.665rem; font-weight: 400;
  letter-spacing: 0.19em; text-transform: uppercase;
  position: relative; padding-block: 0.35rem;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.45s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.menu-btn {
  display: none; width: 34px; height: 26px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.menu-btn span {
  display: block; height: 1px; width: 100%;
  background: var(--ivory);
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
}
/* Open state sits on the light sheet — ivory bars would be invisible there.
   The header must also drop its scrolled dark glass, otherwise the dark icon
   and dark logo sit on a dark bar and disappear. */
.menu-btn[aria-expanded="true"] span { background: var(--text-d); }
.header:has(.menu-btn[aria-expanded="true"]),
.header.is-on:has(.menu-btn[aria-expanded="true"]) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.header:has(.menu-btn[aria-expanded="true"]) .brand img { filter: brightness(0); opacity: 0.9; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 890;
  background: var(--void);
  /* Reserve the header strip so links can never slide under the logo,
     and scroll rather than clip when the list is taller than the screen. */
  padding-top: var(--header);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; justify-content: flex-start;
  opacity: 0; visibility: hidden;
  color: var(--text-d);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav nav {
  /* auto margins centre it when there is room, but never clip when there isn't */
  margin-block: auto;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(0.85rem, 2.4vh, 1.35rem);
  text-align: left;
  width: 100%;
  padding: clamp(1.25rem, 4vh, 2.25rem) clamp(1.15rem, 6vw, 3rem) clamp(1.75rem, 5vh, 2.5rem);
}
.mobile-nav .btn { margin-top: 1.25rem; align-self: stretch; }
.mobile-nav a:not(.btn) {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.4vh, 1.9rem);
  color: var(--text-d);
  transition: color 0.35s var(--ease);
}
.mobile-nav a:not(.btn):hover { color: var(--gold-ink); }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: calc(var(--header) + 1.5rem);
  font-family: var(--sans-hero);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 46%;
  transform: scale(1.06);
  animation: heroDrift 26s var(--ease-io) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(0, -1.5%, 0); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  /* Warm scrim — keeps the golden hour alive while holding text contrast */
  background:
    linear-gradient(to bottom, rgba(8, 6, 4, 0.78) 0%, rgba(8, 6, 4, 0.42) 8%, rgba(8, 6, 4, 0.12) 15%, transparent 22%),
    radial-gradient(ellipse 62% 48% at 4% 74%, rgba(8, 6, 4, 0.74) 0%, rgba(8, 6, 4, 0.34) 52%, transparent 78%),
    linear-gradient(to top, rgba(9, 7, 5, 0.92) 0%, rgba(11, 8, 6, 0.52) 24%, rgba(13, 10, 7, 0.06) 56%, rgba(11, 8, 6, 0.22) 100%),
    linear-gradient(100deg, rgba(10, 8, 5, 0.82) 0%, rgba(10, 8, 5, 0.52) 30%, rgba(10, 8, 5, 0.08) 64%, rgba(10, 8, 5, 0) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-kicker {
  font-size: 0.68rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(247, 244, 239, 0.82); margin-bottom: 1.15rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.hero-kicker::before { content: ""; width: 42px; height: 1px; background: var(--gold-line); }
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.375rem);   /* 86px at 1440 */
  line-height: 1.058;                        /* 91px at 86px */
  letter-spacing: normal;
  color: rgb(247, 244, 239);
  max-width: 17ch; margin-bottom: 1.35rem;
  text-shadow: 0 2px 40px rgba(6, 8, 11, 0.5);
}
.hero h1 em { font-style: normal; color: var(--ivory-hero); }
.hero-copy {
  font-family: var(--sans-hero);
  font-weight: 400;
  font-size: 1rem;          /* 16px */
  line-height: 1.6875;      /* 27px */
  color: rgba(247, 244, 239, 0.78);
  max-width: 58ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem); }

.scroll-cue {
  position: absolute; right: clamp(1.5rem, 4vw, 3.5rem); bottom: clamp(3rem, 7vw, 6rem);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  writing-mode: vertical-rl;
  font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(246, 242, 234, 0.5);
}
.scroll-cue .line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.4s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
}
.split-media.wide img { aspect-ratio: 5 / 4; }
.split-media::after {
  content: ""; position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  z-index: -1;
}
.split-body h2 { margin-bottom: 1.6rem; }

/* Media caption plate */
.media-plate {
  position: absolute; left: -1px; bottom: 1.75rem;
  background: rgba(6, 8, 11, 0.9);
  backdrop-filter: blur(10px);
  border-left: 2px solid var(--gold);
  padding: 1rem 1.6rem;
  color: var(--ivory);
}
.media-plate .k {
  font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.3rem;
}
.media-plate .v { font-family: var(--display); font-size: 1.28rem; line-height: 1.2; }

/* ---------- Stage (full-bleed parallax) ---------- */
.stage {
  position: relative; min-height: clamp(500px, 78vh, 820px);
  display: flex; align-items: center;
  overflow: hidden; color: var(--ivory);
}
.stage-media { position: absolute; inset: 0; z-index: 0; }
/* Oversized and centred so it has room to travel against the scroll */
.stage-media img,
.stage-media video {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 150%;
  object-fit: cover;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
}
/* The Vimeo layer sits over the stage poster */
.stage-media .vimeo-bg { z-index: 1; }
.stage-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(6, 8, 11, 0.9) 0%, rgba(6, 8, 11, 0.66) 42%, rgba(6, 8, 11, 0.24) 100%);
}
.stage-full .stage-veil {
  background:
    linear-gradient(to bottom, rgba(6, 8, 11, 0.34) 0%, transparent 15%),
    linear-gradient(to top, rgba(6, 8, 11, 0.30) 0%, transparent 15%);
}
.stage-copy { position: relative; z-index: 2; max-width: 620px; }

/* Full-viewport cinematic stage — video only, no copy */
.stage-full { min-height: 100svh; }
/* Full height is a lot of empty screen on a phone — shorten to a band */
@media (max-width: 900px) { .stage-full { min-height: 58svh; } }
@media (max-width: 560px) { .stage-full { min-height: 48svh; } }
.stage-copy h2 { margin-bottom: 1.5rem; color: var(--ivory); }
.stage-copy p { color: rgba(246, 242, 234, 0.76); }

/* ---------- Residence cards ---------- */
/* ---------- Residences — cards ---------- */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.35rem, 2.1vw, 2.15rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.res-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--obsidian);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease);
}
/* Gold hairline draws across the top on hover */
.res-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); z-index: 3;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.75s var(--ease);
}
.res-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-line);
  box-shadow: 0 34px 80px rgba(20, 24, 31, 0.14);
}
.res-card:hover::before { transform: scaleX(1); }

.res-card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.res-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.res-card:hover .res-card-media img { transform: scale(1.055); }

.res-tag {
  position: absolute; top: 1.35rem; left: 1.35rem; z-index: 2;
  background: var(--gold); color: var(--ink-on-gold);
  font-family: var(--sans-hero);
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.5rem 0.9rem;
}

.res-card-body {
  padding: clamp(1.7rem, 2.3vw, 2.3rem);
  display: flex; flex-direction: column; flex: 1;
}
.res-index {
  font-family: var(--sans-hero);
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.9rem;
}
.res-card-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.65rem, 1.3rem + 1vw, 2.25rem);
  line-height: 1.07;
  color: var(--text-d);
  margin-bottom: 0.5rem;
}
.res-size {
  font-family: var(--display);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  color: var(--gold-ink);
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--line-d);
}
.res-copy {
  font-family: var(--sans-hero);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body-d);
  margin-bottom: 1.8rem;
  flex: 1;
}
.res-link {
  font-family: var(--sans-hero);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: 0.7rem;
  align-self: flex-start;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold-line);
  transition: gap 0.5s var(--ease), border-color 0.5s var(--ease);
}
.res-link span { transition: transform 0.5s var(--ease); }
.res-card:hover .res-link { gap: 1.1rem; border-bottom-color: var(--gold); }
.res-card:hover .res-link span { transform: translateX(3px); }

@media (max-width: 1024px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .res-grid { grid-template-columns: 1fr; } }

/* ---------- Rewards ---------- */
.rewards {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Media column */
.rw-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header) + 2rem);
}
.rw-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.rw-plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 5rem 1.85rem 1.7rem;
  background: linear-gradient(to top,
    rgba(6, 8, 11, 0.94) 0%,
    rgba(6, 8, 11, 0.78) 42%,
    rgba(6, 8, 11, 0.34) 72%,
    transparent 100%);
  color: var(--ivory);
}
.rw-plate .k {
  display: block;
  font-family: var(--sans-hero);
  font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.rw-plate .v {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1.15;
}

/* Benefit list — hairlines, no cells */
.rw-list {
  border-top: 1px solid var(--line-d);
}
.rw-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  align-items: baseline;
  gap: 0 0.5rem;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--line-d);
  transition: padding-left 0.45s var(--ease), background 0.45s var(--ease);
}
.rw-item:hover {
  padding-left: 0.9rem;
  background: rgba(143, 111, 34, 0.045);
}
.rw-n {
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
}
.rw-t {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.12rem, 1rem + 0.42vw, 1.38rem);
  line-height: 1.3;
  color: var(--text-d);
}
.rw-d {
  grid-column: 2;
  font-family: var(--sans-hero);
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--mute-d);
  margin-top: 0.2rem;
}
.rw-note {
  margin-top: 1.5rem;
  font-family: var(--sans-hero);
  font-size: 0.76rem;
  color: var(--mute-d);
}

@media (max-width: 900px) {
  .rewards { grid-template-columns: 1fr; }
  /* relative, not static — the plate is absolutely positioned inside this */
  .rw-media { position: relative; top: auto; }
  .rw-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .rw-item { grid-template-columns: 2.6rem 1fr; }
}

/* ---------- Amenities ---------- */
.amen-hero {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.amen-hero-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.amen-hero-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.amen-hero-body .num {
  font-family: var(--display); font-size: 3.2rem; color: var(--gold-mid);
  line-height: 1; margin-bottom: 1rem; display: block;
}
.amen-hero-body h3 {
  font-size: clamp(1.65rem, 2.7vw, 2.5rem); color: var(--text-d);
  margin-bottom: 1.25rem; line-height: 1.12;
}

/* Mosaic — varied spans instead of equal tiles */
.amen-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.amen-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  min-height: clamp(280px, 30vw, 400px);
  display: flex; align-items: flex-end;
}
.amen-tile.w7  { grid-column: span 7; }
.amen-tile.w5  { grid-column: span 5; }
.amen-tile.w12 { grid-column: span 12; min-height: clamp(240px, 24vw, 320px); }

.amen-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.amen-tile:hover img { transform: scale(1.055); }
.amen-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(6, 8, 11, 0.92) 0%, rgba(6, 8, 11, 0.45) 42%, transparent 74%);
}
.amen-tile-body { position: relative; z-index: 2; padding: 2rem 1.85rem 1.75rem; }
.amen-tile-body .k {
  font-family: var(--sans-hero);
  font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.6rem;
}
.amen-tile-body h4 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
  color: var(--ivory); line-height: 1.18;
}

/* Closing statement + remaining amenities as a flowing line */
.amen-more {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line-d);
  text-align: center;
}
.amen-more-lede {
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--body-d);
  max-width: 66ch; margin: 0 auto 2rem;
}
.amen-more-list {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.85rem 1.5rem;
}
.amen-more-list span {
  font-family: var(--display);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.24rem);
  color: var(--text-d);
}
.amen-more-list .diamond { opacity: 0.9; }

@media (max-width: 900px) {
  .amen-hero { grid-template-columns: 1fr; }
  .amen-tile.w7, .amen-tile.w5, .amen-tile.w12 { grid-column: span 12; }
  .amen-more-list .diamond { display: none; }
  .amen-more-list { flex-direction: column; gap: 0.8rem; }
}

/* ---------- Gallery ---------- */
/* Head sits full width above the filters, so the intro copy has room */
.gallery-head { margin-bottom: 2.5rem; }
.gallery-head .section-head { max-width: 760px; }
.gallery-head .gallery-tabs { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gallery-tabs button {
  padding: 0.7rem 1.35rem;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--line-d); color: var(--mute-d);
  border-radius: var(--radius);
  transition: all 0.45s var(--ease);
}
.gallery-tabs button:hover { color: var(--text-d); border-color: var(--gold-line); }
.gallery-tabs button[aria-selected="true"] {
  background: var(--gold); border-color: var(--gold); color: var(--ink-on-gold);
}
.gallery-stage {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--obsidian); cursor: zoom-in;
  border: 1px solid var(--line-d);
}
/* A 16:9 frame collapses to ~190px on a phone. Go edge-to-edge and taller
   so the renders actually read, without cropping them to a portrait crop. */
@media (max-width: 900px) {
  .gallery-stage {
    aspect-ratio: 4 / 3;
    /* margin-based full-bleed — .reveal.is-in sets transform:none, which
       would otherwise cancel a translateX centring trick */
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
    border-inline: 0;
  }
}
@media (max-width: 560px) {
  .gallery-stage { aspect-ratio: 5 / 4; }
}
.gallery-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.75s var(--ease);
}
.gallery-stage img.is-on { opacity: 1; }
.gallery-caption {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  background: rgba(6, 8, 11, 0.88); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold-line);
  padding: 0.9rem 1.5rem;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory);
}
.gallery-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; margin-top: 1.5rem;
}
.gallery-counter {
  font-family: var(--display); font-size: 1.15rem; color: var(--gold-ink);
  letter-spacing: 0.12em;
}
.gallery-nav { display: flex; gap: 0.6rem; }
.gallery-nav button {
  width: 48px; height: 48px;
  border: 1px solid var(--line-d); color: var(--text-d);
  display: grid; place-items: center;
  border-radius: 50%;
  transition: all 0.45s var(--ease);
}
.gallery-nav button:hover { border-color: var(--gold); color: var(--gold-ink); background: var(--gold-soft); }

/* ---------- Floor plans ---------- */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.35rem, 2.2vw, 2.25rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.fp-card { display: flex; flex-direction: column; }

/* The plan as a drawing on paper */
.fp-sheet {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  padding: clamp(0.7rem, 1.1vw, 1rem);
  box-shadow: 0 18px 44px rgba(20, 24, 31, 0.08);
  cursor: zoom-in;
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s var(--ease);
}
.fp-sheet:hover {
  box-shadow: 0 30px 66px rgba(20, 24, 31, 0.16);
  transform: translateY(-5px);
  border-color: var(--gold-line);
}
.fp-sheet img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.fp-zoom {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(6, 8, 11, 0.86);
  color: var(--ivory);
  font-family: var(--sans-hero);
  font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.fp-sheet:hover .fp-zoom { opacity: 1; }

.fp-card-body { padding: 1.4rem 0.25rem 0; }
.fp-level {
  font-family: var(--sans-hero);
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 0.6rem;
}
.fp-card-body h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem);
  line-height: 1.1;
  color: var(--text-d);
  margin-bottom: 0.7rem;
}
.fp-desc {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.9rem; line-height: 1.65;
  color: var(--body-d);
}
.fp-legend {
  margin-top: 0.85rem; padding-top: 0.85rem;
  border-top: 1px solid var(--line-d);
  font-family: var(--sans-hero);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute-d);
}

.fp-cta {
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-d);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.25rem 2rem;
}
.fp-cta p {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.98rem; color: var(--body-d);
  max-width: 56ch;
}

@media (max-width: 1024px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .fp-grid { grid-template-columns: 1fr; }
  .fp-zoom { opacity: 1; }
  .fp-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Payment plan ---------- */
/* The 40/60 split drawn to scale */
.pp-split {
  display: grid;
  grid-template-columns: 40fr 60fr;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  overflow: hidden;
}
.pp-seg {
  padding: clamp(2rem, 3.6vw, 3.25rem) clamp(1.5rem, 2.6vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.6rem;
  min-height: clamp(160px, 18vw, 220px);
  justify-content: center;
}
.pp-seg-a { background: rgba(195, 165, 104, 0.20); }
.pp-seg-b { background: var(--gold); }
.pp-seg .pct {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.6rem);
  line-height: 0.95;
}
.pp-seg .lbl {
  font-family: var(--sans-hero);
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.pp-seg-a .pct { color: var(--gold-ink); }
.pp-seg-a .lbl { color: var(--body-d); }
.pp-seg-b .pct,
.pp-seg-b .lbl { color: var(--ink-on-gold); }

/* Three steps on a connecting rule */
.pp-timeline {
  list-style: none;   /* the global reset only covers ul */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  position: relative;
}
.pp-step {
  position: relative;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-d);
}
/* Dot sitting on the rule */
.pp-step::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; background: var(--gold);
  transform: rotate(45deg);
}
.pp-step .n {
  display: block;
  font-family: var(--display);
  font-size: 0.92rem; letter-spacing: 0.14em;
  color: var(--gold-ink);
  margin-bottom: 0.9rem;
}
.pp-step h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem);
  line-height: 1.1;
  color: var(--text-d);
  margin-bottom: 0.75rem;
}
.pp-step p {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.94rem; line-height: 1.68;
  color: var(--body-d);
}

@media (max-width: 820px) {
  .pp-split { grid-template-columns: 1fr; }
  .pp-seg { min-height: 0; }
  .pp-timeline { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }

.loc-times {
  list-style: none;
  margin-top: 2.25rem;
  border-top: 1px solid var(--line-d);
}
.loc-time {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line-d);
  transition: padding-left 0.45s var(--ease), background 0.45s var(--ease);
}
.loc-time:hover { padding-left: 0.8rem; background: rgba(143, 111, 34, 0.045); }

.loc-time .ic {
  width: 34px; height: 34px;
  color: var(--gold-ink);
  opacity: 0.85;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.loc-time:hover .ic { opacity: 1; transform: scale(1.06); }

.loc-time .p {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.96rem; color: var(--body-d);
  line-height: 1.4;
}
.loc-time:hover .p { color: var(--text-d); }
.loc-time .t {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.24rem);
  color: var(--gold-ink);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .loc-time { grid-template-columns: 28px 1fr auto; gap: 0.8rem; }
  .loc-time .ic { width: 28px; height: 28px; }
}

/* ---------- Developer ---------- */
.dev-split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}
.dev-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-d);
}
.dev-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.dev-media:hover img { transform: scale(1.04); }

.dev-body .k {
  font-family: var(--sans-hero);
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.dev-logo {
  height: 46px; width: auto;
  margin-bottom: 1.6rem;
  opacity: 0.92;
}
.dev-body h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.7rem);
  line-height: 1.06;
  color: var(--text-d);
  margin-bottom: 1.3rem;
}
.dev-body p {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.98rem; line-height: 1.72;
  color: var(--body-d);
}
.dev-body p + p { margin-top: 1.15rem; }
.dev-facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.9rem;
}
.dev-facts li {
  font-family: var(--sans-hero);
  font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--body-d);
  border: 1px solid var(--line-d);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .dev-split { grid-template-columns: 1fr; }
  .dev-media img { aspect-ratio: 16 / 10; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-l); }
.dark .faq, .deep .faq { border-color: var(--line-d); }
.faq-item { border-bottom: 1px solid var(--line-l); }
.dark .faq-item, .deep .faq-item { border-color: var(--line-d); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0.25rem;
  font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.38rem);
  color: var(--text-l);
  transition: color 0.4s var(--ease);
}
.dark .faq-q, .deep .faq-q { color: var(--text-d); }
.faq-q:hover { color: var(--gold-ink); }
.faq-icon {
  position: relative; width: 15px; height: 15px; flex: none;
  transition: transform 0.5s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--gold);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 15px; height: 1px; }
.faq-icon::after { width: 1px; height: 15px; transition: opacity 0.4s var(--ease); }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 3rem 1.85rem 0.25rem;
  color: var(--body-l); font-size: 0.95rem;
}
.dark .faq-a p, .deep .faq-a p { color: var(--body-d); }

/* ---------- Forms ---------- */
/* Copy on the left, the form card on the right */
.enquire-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}
.contact-aside h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4rem);
  line-height: 1.04;
  margin-bottom: 1.6rem;
}
.contact-aside .lede { max-width: 42ch; }

.form-card {
  background: var(--obsidian);
  border: 1px solid var(--line-d);
  border-radius: 18px;
  padding: clamp(1.9rem, 3.4vw, 3rem);
  box-shadow: 0 30px 70px rgba(20, 24, 31, 0.09);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
}
.field { min-width: 0; }

.field label {
  display: block;
  font-family: var(--sans-hero);
  font-size: 0.63rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute-d);
  margin-bottom: 0.55rem;
}
.field label span { color: var(--gold-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(20, 24, 31, 0.045);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-d);
  font-family: var(--sans-hero);
  font-size: 0.98rem; font-weight: 300;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--mute-d); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(20, 24, 31, 0.02);
}
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2314181f' fill='none' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}
.field select:invalid { color: var(--mute-d); }
.field select option { color: var(--text-d); }
.field textarea { resize: vertical; min-height: 92px; }

/* ---- Phone with country picker ---- */
.phone-group { position: relative; display: flex; gap: 0; }
.cc-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  flex: none;
  padding: 0.95rem 0.85rem;
  background: rgba(20, 24, 31, 0.045);
  border: 1px solid transparent;
  border-radius: 10px 0 0 10px;
  border-right: 1px solid var(--line-d);
  font-family: var(--sans-hero); font-weight: 300;
  color: var(--text-d);
  transition: border-color 0.35s var(--ease);
}
.cc-btn:hover { border-color: var(--gold-line); }
.phone-group.is-open .cc-btn { border-color: var(--gold); }
.cc-flag { font-size: 1.05rem; line-height: 1; }
.cc-dial { font-size: 0.95rem; letter-spacing: 0.02em; }
.cc-caret { width: 10px; height: 6px; transition: transform 0.35s var(--ease); }
.phone-group.is-open .cc-caret { transform: rotate(180deg); }
.phone-group input[type="tel"] {
  border-radius: 0 10px 10px 0;
  border-left: 0;
}

.cc-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  width: min(340px, 100%);
  z-index: 60;
  background: var(--obsidian);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(20, 24, 31, 0.18);
  overflow: hidden;
}
.cc-menu[hidden] { display: none; }
.cc-search {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border: 0; border-bottom: 1px solid var(--line-d);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans-hero); font-weight: 300; font-size: 0.94rem;
  color: var(--text-d);
}
.cc-search:focus { outline: none; }
.cc-search::placeholder { color: var(--mute-d); }

.cc-list { max-height: 260px; overflow-y: auto; list-style: none; }
.cc-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1.05rem;
  cursor: pointer;
  font-family: var(--sans-hero); font-weight: 300; font-size: 0.94rem;
  color: var(--body-d);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.cc-list li .n { flex: 1; min-width: 0; }
.cc-list li .d { color: var(--mute-d); font-size: 0.88rem; }
.cc-list li:hover,
.cc-list li.is-active { background: rgba(143, 111, 34, 0.07); color: var(--text-d); }
.cc-list li[aria-selected="true"] { color: var(--gold-ink); }
.cc-list li[aria-selected="true"] .d { color: var(--gold-ink); }
.cc-empty { padding: 1rem 1.05rem; color: var(--mute-d); font-size: 0.9rem; }

.form-actions { margin-top: 1.5rem; }
.form-actions .btn { width: 100%; border-radius: 10px; }
.form-status {
  margin-top: 0.9rem; font-size: 0.85rem; min-height: 1.2rem;
  font-family: var(--sans-hero);
  color: var(--mute-d);
}
.form-status.is-ok { color: #2f7d55; }
.form-status.is-err { color: #b4442a; }
.form-legal { margin-top: 1.15rem; font-size: 0.72rem; color: var(--mute-d); line-height: 1.6; }


/* The modal is narrow — one column there */
.modal .form-grid { grid-template-columns: 1fr; gap: 1.4rem; }
.modal .form-card { box-shadow: none; }
.modal .field input,
.modal .field select,
.modal .cc-btn { padding-block: 1.15rem; }

@media (max-width: 1024px) {
  .enquire-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-aside .lede { max-width: none; }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(6, 8, 11, 0.9);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  position: relative; width: 100%; max-width: 520px;
  max-height: 92vh; overflow-y: auto;
  background: var(--obsidian);
  border: 0;
  border-radius: 22px;
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 0 40px 100px rgba(6, 8, 11, 0.4);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.55s var(--ease);
}
.modal.is-open .modal-panel { transform: none; }
.modal-panel .eyebrow { margin-bottom: 0.9rem; }
.modal-panel .eyebrow::before { display: none; }
.modal-panel h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
  line-height: 1.05;
  color: var(--text-d);
  margin-bottom: 2rem;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--body-d);
  background: rgba(20, 24, 31, 0.05);
  border: 0; border-radius: 12px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  font-size: 0.95rem;
}
.modal-close:hover { background: rgba(20, 24, 31, 0.09); color: var(--text-d); }
.thanks-mark {
  width: 62px; height: 62px; margin: 0 auto 1.5rem;
  border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-ink); font-size: 1.5rem;
}
.modal-panel.center { text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(6, 8, 11, 0.97);
  display: grid; place-items: center; padding: 3rem 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--ivory); border: 1px solid var(--line-d); border-radius: 50%;
  transition: all 0.4s var(--ease);
}
.lightbox-close:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  text-align: center; color: var(--ivory);
}
.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(6, 8, 11, 0.9), rgba(6, 8, 11, 0.78));
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 1.35rem; color: var(--ivory); }
.cta-band p { color: rgba(246, 242, 234, 0.75); max-width: 60ch; margin: 0 auto 2.5rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--text-d);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  text-align: center;
}

.footer-head { padding-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.footer-logo { display: inline-block; }
.footer-logo img {
  height: clamp(56px, 7vw, 74px);
  width: auto;
  margin: 0 auto 1.5rem;
}
.footer-tagline {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  line-height: 1.7;
  color: var(--body-d);
  max-width: 60ch;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

.footer-nav {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 2rem;
}
.footer-nav a {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.92rem;
  color: var(--body-d);
  transition: color 0.4s var(--ease);
}
.footer-nav a:hover { color: var(--gold-ink); }



.footer-legal {
  border-top: 1px solid var(--line-d);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 78ch; margin-inline: auto;
}
.footer-legal p {
  font-family: var(--sans-hero); font-weight: 300;
  font-size: 0.78rem; line-height: 1.75;
  color: var(--mute-d);
}
.footer-legal p + p { margin-top: 0.9rem; }

.footer-bottom {
  border-top: 1px solid var(--line-d);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 0.85rem 1.5rem;
  font-family: var(--sans-hero);
  font-size: 0.76rem;
  color: var(--mute-d);
}
.back-to-top {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--gold-ink);
  transition: gap 0.4s var(--ease);
}
.back-to-top:hover { gap: 0.85rem; }

@media (max-width: 640px) {
  .footer-nav { gap: 0.75rem 1.35rem; }
  .footer-bottom { flex-direction: column; justify-content: center; }
}


/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.09s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.27s; }
.reveal-d4 { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .menu-btn { display: flex; }
}

@media (max-width: 900px) {
  :root { --header: 68px; }
  .split, .loc-grid, .enquire-grid, .dev-grid, .amen-hero { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media::after { display: none; }
  .split-media img, .split-media.wide img { aspect-ratio: 4 / 3; }
  .pp-step:not(:last-child)::after {
    top: auto; bottom: -1.05rem; right: 50%; transform: translateX(50%) rotate(90deg);
  }
  .scroll-cue { display: none; }
  .hero { min-height: 92svh; }
}

@media (max-width: 560px) {
  .wrap, .wrap-wide, .wrap-narrow { padding-inline: 1.15rem; }
  .hero-actions .btn { width: 100%; }
  .phone-row { grid-template-columns: 110px 1fr; }
  .gallery-controls { flex-direction: column; align-items: stretch; }
  .gallery-nav { justify-content: center; }
  .faq-a p { padding-right: 1rem; }
}

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

@media print {
  .header, .mobile-nav, .modal, .lightbox, .grain, .progress, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================================================
   Additions — release pill, arrival duo, developer logo, social
   ============================================================ */

/* Release announcement pill */
.release-pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 1.15rem;
  margin-bottom: 1.15rem;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(195, 165, 104, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.615rem; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--ivory);
}
.release-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex: none;
  box-shadow: 0 0 0 0 rgba(195, 165, 104, 0.7);
  animation: pulse 2.6s var(--ease-io) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(195, 165, 104, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(195, 165, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(195, 165, 104, 0); }
}

/* Arrival — paired figures */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.duo-item {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
}
.duo-item img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.duo-item:hover img { transform: scale(1.05); }
.duo-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.6rem 1.5rem;
  background: linear-gradient(to top, rgba(6, 8, 11, 0.92), transparent);
  font-family: var(--display); font-size: 1.42rem; color: var(--ivory);
  display: flex; align-items: baseline; gap: 0.85rem;
}
.duo-item figcaption .k {
  font-family: var(--sans); font-size: 0.6rem;
  letter-spacing: 0.24em; color: var(--gold);
}


.footer-legal p + p { margin-top: 0.9rem; }

@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
}


/* The hero sits on a warm amber render where gold measures only 1.41:1.
   Its accents run ivory instead; gold stays on the buttons and throughout
   the light sections below. */
.hero-kicker::before { background: rgba(247, 244, 239, 0.45); }
.hero .release-pill { border-color: rgba(247, 244, 239, 0.34); background: rgba(247, 244, 239, 0.10); }

/* ============================================================
   About — editorial opening spread
   ============================================================ */

/* Opening statement */
.about-open {
  max-width: 940px;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.about-open h2 { margin-bottom: 1.75rem; }
.about-lede {
  font-size: clamp(1.08rem, 1rem + 0.42vw, 1.35rem);
  line-height: 1.65;
  color: var(--body-d);
  max-width: 58ch;
}

/* Feature image + overlapping statement card */
.about-feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}
.about-feature-media {
  grid-column: 1 / 9;
  grid-row: 1;
  position: relative;
}
.about-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-feature-media figcaption {
  margin-top: 0.95rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-d);
}

.about-quote {
  grid-column: 7 / 13;
  grid-row: 1;
  z-index: 2;
  background: var(--obsidian);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(2rem, 3.4vw, 3.1rem);
  box-shadow: 0 30px 70px rgba(20, 24, 31, 0.13);
  align-self: center;
}
.about-quote-mark {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.about-quote-text {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.05rem + 1.05vw, 2rem);
  line-height: 1.28;
  color: var(--text-d);
}
.about-quote-by {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-d);
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* Three pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line-d);
}
.about-pillar { position: relative; }
.about-pillar + .about-pillar { padding-left: clamp(1.75rem, 3.5vw, 3.25rem); }
.about-pillar + .about-pillar::before {
  content: "";
  position: absolute; left: 0; top: 0.35rem; bottom: 0.35rem;
  width: 1px; background: var(--line-d);
}
.about-pillar .n {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--gold-ink);
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}
.about-pillar h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.62rem);
  color: var(--text-d);
  margin-bottom: 1rem;
}
.about-pillar p {
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--body-d);
}


/* Responsive */
@media (max-width: 1080px) {
  /* Stacked: no overlap, so the image caption stays readable */
  .about-feature { display: block; }
  .about-quote { margin-top: 1.75rem; }
}
@media (max-width: 900px) {
  .about-pillars { grid-template-columns: 1fr; gap: 2.25rem; }
  .about-pillar + .about-pillar { padding-left: 0; padding-top: 2.25rem; }
  .about-pillar + .about-pillar::before {
    left: 0; right: 0; top: 0; bottom: auto;
    width: auto; height: 1px;
  }
}

/* ============================================================
   Motion layer
   Headlines rise word by word, images unmask, groups stagger.
   Everything here is disabled under prefers-reduced-motion.
   ============================================================ */

/* ---- Word-by-word headline reveal ---- */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for descenders so the mask doesn't clip g / y / p */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.w-i {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--w, 0) * 55ms);
  will-change: transform;
}
.is-in .w-i,
.hero.is-lit .w-i { transform: translateY(0); opacity: 1; }

/* A split headline carries the motion itself, so its wrapper only fades */
.reveal.has-split { transform: none; }

/* ---- Eyebrow rule draws out ---- */
.eyebrow::before,
.eyebrow::after {
  width: 0;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.is-in .eyebrow::before,
.is-in .eyebrow::after,
.reveal.is-in.eyebrow::before,
.reveal.is-in.eyebrow::after { width: 30px; }
.hero-kicker::before { width: 0; transition: width 1s cubic-bezier(0.22,1,0.36,1) 0.35s; }
.hero.is-lit .hero-kicker::before { width: 42px; }

/* ---- Images unmask upward, then settle ---- */
[data-unmask] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-unmask] > img,
[data-unmask] img {
  transform: scale(1.08);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-in[data-unmask],
.is-in [data-unmask] { clip-path: inset(0 0 0 0); }
.is-in[data-unmask] > img,
.is-in[data-unmask] img,
.is-in [data-unmask] img { transform: scale(1); }

/* ---- Group stagger: JS sets --i on each child ---- */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.stagger.is-in > * { opacity: 1; transform: none; }

/* ---- Hero entrance on load ---- */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-content > *:nth-child(1) { transition-delay: 0.15s; }
.hero-content > *:nth-child(2) { transition-delay: 0.28s; }
.hero-content > *:nth-child(3) { transition-delay: 0.40s; }
.hero-content > *:nth-child(4) { transition-delay: 0.62s; }
.hero-content > *:nth-child(5) { transition-delay: 0.74s; }
.hero.is-lit .hero-content > * { opacity: 1; transform: none; }
/* the headline's own words handle its motion */
.hero.is-lit .hero-content > h1 { transform: none; }

/* Hero image settles as the page opens */
.hero-media img { transform: scale(1.1); transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1); }
.hero.is-lit .hero-media img { transform: scale(1.02); }

/* ---- Vimeo background ----
   An iframe cannot use object-fit, so it is oversized and centred instead.
   Sits above the poster but under the veil; the poster stays as fallback. */
.vimeo-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.vimeo-bg.is-on { opacity: 1; }
.vimeo-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 16:9 of the width */
  min-width: 177.78vh;    /* …or 16:9 of the height, whichever covers */
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Moving footage is busier than a still, so the scrim works a little harder */
.hero:has(.vimeo-bg.is-on) .hero-veil {
  background:
    linear-gradient(to bottom, rgba(8, 6, 4, 0.80) 0%, rgba(8, 6, 4, 0.44) 8%, rgba(8, 6, 4, 0.14) 16%, transparent 24%),
    radial-gradient(ellipse 64% 52% at 4% 74%, rgba(8, 6, 4, 0.80) 0%, rgba(8, 6, 4, 0.40) 52%, transparent 80%),
    linear-gradient(to top, rgba(9, 7, 5, 0.94) 0%, rgba(11, 8, 6, 0.60) 26%, rgba(13, 10, 7, 0.10) 58%, rgba(11, 8, 6, 0.30) 100%),
    linear-gradient(100deg, rgba(10, 8, 5, 0.86) 0%, rgba(10, 8, 5, 0.58) 32%, rgba(10, 8, 5, 0.10) 66%, rgba(10, 8, 5, 0) 100%);
}

/* ---- Quieter, more tactile hovers ---- */
.res-link, .back-to-top, .footer-nav a, .nav-links a { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .w, .w-i {
    display: inline; overflow: visible;
    transform: none; opacity: 1;
    padding-bottom: 0; margin-bottom: 0;
  }
  .eyebrow::before, .eyebrow::after { width: 30px; }
  .hero-kicker::before { width: 42px; }
  [data-unmask] { clip-path: none; }
  [data-unmask] img { transform: none; }
  .stagger > * { opacity: 1; transform: none; }
  .hero-content > * { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  .vimeo-bg { display: none; }
}

/* ============================================================
   Sticky CTA — mobile only, revealed once the reader is past About
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 880;
  padding: 0.85rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid var(--line-d);
  box-shadow: 0 -10px 30px rgba(20, 24, 31, 0.07);
  transform: translateY(110%);
  transition: transform 0.55s var(--ease);
}
.sticky-cta .btn { width: 100%; border-radius: 10px; }
.sticky-cta.is-on { transform: translateY(0); }

@media (max-width: 900px) {
  .sticky-cta { display: block; }
  /* keep the last of the footer clear of the bar */
  .footer-bottom { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
