/* ============================================================
   ROYA LIFESTYLE DEVELOPMENTS — THEME PATCH
   Apply after main stylesheet to update palette & fonts
   ============================================================ */

:root {
  /* ── ROYA Official Brand Palette ── */
  --obsidian: #0B0B0C;
  /* Primary 60% — deep black */
  --ivory: #F5F1EA;
  /* Primary 30% — warm white */
  --roya-red: #C8102E;
  /* Signature 5% — ROYA Red */
  --ash: #6E6A63;
  /* Neutral Ash */
  --dune: #B89B6A;
  /* Accent: Warm Dune */
  --sand: #D9C9A7;
  /* Accent: Warm Sand */
  --lagoon: #C8102E;
  /* Accent: Cool Lagoon */
  --arabian: #C8102E;
  /* Accent: Cool Arabian */

  /* Semantic remaps */
  --ivory-soft: #EDE8DE;
  --cream: #FAF6EF;
  --paper: #FFFDF9;
  --sand-soft: #EDE3CE;

  --ink-900: #0B0B0C;
  --ink-700: #2E2D2A;
  --ink-500: #6E6A63;
  --ink-300: #B0AA9F;
  --ink-200: #D3CEC3;
  --ink-100: #E7E2D8;
  --ink-50: #F1ECE1;

  --gold: #B89B6A;
  --gold-soft: #D9C9A7;
  --gold-deep: #B89B6A;
  --red: #C8102E;

  /* Fonts */
  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-normal: 'Bodoni Moda', serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ── Typography base ── */
body {
  font-family: var(--font-body);
}

.display,
h1,
h2,
h3,
.hero__title,
.reveal-arch__title,
.gal-text__title,
.day__chapter h3,
.plans__detail h3,
.am-card h3,
.mood h3,
.pull-quote .display {
  font-family: 'Bodoni Moda', 'Times New Roman', serif;
}

em {
  color: var(--ink-900) !important;
  font-weight: 700 !important;
}

/* ── Section color rhythm — full-bleed alternating palette ── */

/* 1. Hero — stays dark cinematic (no change needed) */

/* 2. Marquee — Obsidian strip */
.marquee {
  background: var(--obsidian);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.marquee__track .dot {
  color: var(--lagoon);
}

.marquee__track {
  color: var(--sand);
}

/* 3. Residence — Ivory */
.residence {
  background: var(--ivory);
}

.residence .eyebrow {
  color: var(--dune);
}

.residence .display em {
  color: var(--ink-900);
  font-weight: 700;
}

.residence__stats {
  border-top: 1px solid var(--sand);
}

.residence__stats strong {
  color: var(--obsidian);
}

.residence__stats span {
  color: var(--ash);
}

/* 4. Pull Quote — Warm Sand gradient */
/* .pull-quote {
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-soft) 55%, var(--ivory-soft) 100%);
} */
.pull-quote {
  background: #0B0B0C;
}

.pull-quote .display,
.pull-quote .display em {
  color: #fff !important;
}

/* .pull-quote .display em {
  color: var(--arabian);
} */

.pull-quote__rule {
  background: var(--arabian);
}

.pull-quote__cite {
  color: #fff;
}

.pull-quote__inner {
  filter: none;
}

/* 5. Architecture (reveal-arch) — dark cinematic, lagoon accents */
.reveal-arch__progress span {
  background: var(--roya-red, #C8102E);
}

.arch-callout__label {
  background: rgba(11, 11, 12, 0.7);
  border: 1px solid rgba(79, 181, 180, 0.35);
}

.arch-callout__num {
  border-color: var(--lagoon);
  color: var(--lagoon);
}

.reveal-arch .eyebrow--light {
  color: #fff;
}

/* 6. Gallery — Warm Sand-Soft */
.gallery {
  background: var(--ivory);
  padding-bottom: 0px !important;
}

.gallery .section-head .eyebrow {
  color: var(--roya-red);
}

.gallery .section-head .display em {
  color: var(--arabian);
}

.gal__num {
  color: var(--roya-red, #C8102E);
}

.gal-text__num {
  color: var(--dune);
}

.gal-text__title {
  color: var(--obsidian);
}

.gal-text__body {
  color: var(--ash);
}

.gal-text__meta {
  color: var(--arabian);
  border-top-color: var(--sand);
}

/* figcaption on duo images */
#horiz-gallery-section figcaption {
  color: var(--obsidian);
}

/* 7. Day in the Life — Warm Dune-tinted bg */
.day {
  background: var(--ivory);
}

.day__head .eyebrow {
  color: var(--roya-red);
}

.day__head .display em {
  color: var(--arabian);
}

.day__num {
  color: var(--arabian);
}

.day__chapter {
  border-left-color: var(--sand);
}

.day__chapter::before {
  background: var(--arabian);
}

.day__chapter h3 {
  color: var(--obsidian);
}

.day__chapter p {
  color: var(--ash);
}

.day__time {
  border-left: 3px solid var(--arabian);
  background: rgba(11, 11, 12, 0.72);
}

/* 8. Amenities — Ivory with Lagoon/Arabian accents */
.amenities-section {
  background: var(--ivory);
}

.amenities-section .section-head .eyebrow {
  color: var(--roya-red);
}

.amenities-section .section-head .display em {
  color: var(--arabian);
}

.mood::after {
  background: var(--lagoon);
}

.mood__body p {
  color: rgba(245, 237, 224, 0.65);
}

/* 9. Floor Plans — Obsidian dark */
/* .plans {
  background: var(--obsidian);
} */


/* 10. Location — Ivory with Cool Arabian accents */
.location {
  background: var(--ivory);
  padding: var(--section-y) var(--gutter);
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.location>.location__copy,
.location>.location__map {
  max-width: var(--max);
}

/* Wrap location inner properly */
section#location {
  max-width: 100%;
  padding: var(--section-y) var(--gutter);
}

section#location>.location {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.location .eyebrow {
  color: var(--roya-red);
}

.location .display em {
  color: var(--arabian);
}

.location__list li strong {
  color: var(--obsidian);
}

.location__list li {
  border-top-color: var(--sand);
}

.location__list li:last-child {
  border-bottom-color: var(--sand);
}

.location__photo figcaption span {
  color: #fff;
}

.location__photo figcaption strong {
  color: var(--ivory);
}

/* 11. Enquire — stays dark with updated accents */
.enquire .eyebrow--light {
  color: #fff;
}

.enquire .display--light em {
  color: var(--ivory) !important;
}

.enquire__contacts span {
  color: #fff;
}

.enquire__contacts a:hover {
  color: var(--lagoon);
}

.field label {
  color: #fff;
}

.enquire p.lead.lead--light {
  margin-top: 30px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--lagoon);
}

.field__success {
  background: rgba(79, 181, 180, 0.12);
  border-color: var(--lagoon);
  color: var(--lagoon);
}

.enquire .btn--primary {
  background: var(--roya-red);
  border-color: var(--roya-red);
  color: var(--ivory);
}

.enquire .btn--primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--obsidian);
}

/* 12. Footer — Obsidian */
.footer {
  background: var(--obsidian);
}

.footer__cols h4 {
  color: #fff;
}

.footer__brand p {
  color: var(--sand);
}

.footer__cols a:hover {
  color: var(--roya-red);
}

.footer__bottom {
  color: #fff;
}

/* ── Floating Contact Bar ── */
.floating-contact {
  background: rgba(11, 11, 12, 0.92);
  border-left: 2px solid var(--arabian);
}

.contact-btn:hover {
  background: rgba(79, 181, 180, 0.15);
}

/* ── Buttons ── */
.btn--primary {
  background: var(--roya-red);
  border-color: var(--roya-red);
  color: var(--ivory);
}

.btn--primary:hover {
  background: #fff;
  border-color: #fff !important;
  color: #000;
}

/* ── Nav ── */
.nav__progress {
  background: var(--roya-red);
}

.nav__cta:hover {
  background: var(--roya-red) !important;
  color: var(--ivory) !important;
  border-color: var(--roya-red) !important;
}

.nav.is-scrolled .nav__cta:hover {
  background: var(--roya-red) !important;
  color: var(--ivory) !important;
  border-color: var(--roya-red) !important;
}

/* ── Hero vertical rule ── */
.hero__content-inner::after {
  background: linear-gradient(180deg, transparent, var(--lagoon), transparent);
}

.hero__scroll-line::after {
  background: linear-gradient(180deg, transparent, var(--sand), transparent);
}

/* ── Scroll Selection highlight ── */
::selection {
  background: var(--arabian);
  color: var(--ivory);
}

/* ── Am cards (older grid amenities) ── */
.am-card__num {
  color: var(--arabian);
}

.am-card {
  background: var(--cream);
}

/* ── Gallery figcaption tag ── */
.gal figcaption span {
  color: var(--dune);
  font-family: var(--font-display);
}

/* ── Location section layout fix (strip away max-width from section tag) ── */
.location {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── Plans section head font color fix ── */
/* .plans .section-head .split-words .word > span { color: var(--ivory); } */
/* .plans .section-head .split-words em { color: var(--sand); } */

/* ── Am list accents ── */
.am-list li span {
  color: var(--arabian);
}

/* ── Mood num in bento ── */
.mood__num {
  color: rgba(217, 201, 167, 0.7);
}

/* ── Responsive overrides ── */

/* ── Full-bleed Residence ─────────────────────────────── */

.residence--fullbleed {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  /* remove old section padding */
}

/* Background image layer */
.residence__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.residence__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
  will-change: transform;
}

.residence--fullbleed.is-entered .residence__bg img {
  transform: scale(1);
}

/* Composite veil: left-heavy dark, right lighter */
.residence__bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(11, 11, 12, 0.88) 0%,
      rgba(11, 11, 12, 0.72) 38%,
      rgba(11, 11, 12, 0.42) 60%,
      rgba(11, 11, 12, 0.20) 100%),
    linear-gradient(180deg,
      rgba(11, 11, 12, 0.55) 0%,
      rgba(11, 11, 12, 0.0) 18%,
      rgba(11, 11, 12, 0.0) 65%,
      rgba(11, 11, 12, 0.70) 100%);
}

/* ── Two-zone content stage ─────────────────────────── */
.residence__stage {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  min-height: 100vh;
  max-width: 100%;
  padding: clamp(100px, 12vh, 160px) clamp(28px, 5vw, 80px) clamp(60px, 8vh, 100px);
  gap: clamp(40px, 5vw, 80px);
}

/* ── LEFT copy zone ─────────────────────────────────── */
.residence__copy-zone {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.residence__copy-zone .eyebrow--light {
  color: #fff;
  margin-bottom: 28px;
}

.residence__copy-zone .display--light {
  font-size: clamp(36px, 4.2vw, 68px);
  line-height: 1.04;
  margin-bottom: 36px;
  text-shadow: 0 3px 40px rgba(0, 0, 0, 0.5);
}

.residence__copy-zone .display--light em {
  color: rgba(245, 241, 234, 0.75) !important;
  font-style: normal;
}

.residence__lede {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.72;
  color: rgba(245, 241, 234, 0.72);
  font-weight: 300;
  max-width: 54ch;
  margin-bottom: 20px;
  font-family: var(--font-body, 'Inter', sans-serif);
}

.residence__lede+.residence__lede {
  margin-top: 0;
}

.residence__cta {
  margin-top: 36px;
  align-self: flex-start;
  /* inherits .btn .btn--ghost */
}

/* ── RIGHT stats zone ───────────────────────────────── */
.residence__stats-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-self: end;
  padding-bottom: 4px;
}

/* individual stat card */
.res-stat {
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 2.4vw, 36px);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 12, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* entry animation */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
    transform 0.7s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

/* stagger by index */
.res-stat[data-index="0"] {
  transition-delay: 0ms;
}

.res-stat[data-index="1"] {
  transition-delay: 100ms;
}

.res-stat[data-index="2"] {
  transition-delay: 200ms;
}

.res-stat[data-index="3"] {
  transition-delay: 300ms;
}

/* revealed */
.residence--fullbleed.is-entered .res-stat {
  opacity: 1;
  transform: translateY(0);
}

/* ── Number ── */
.res-stat__number-wrap {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
  line-height: 1;
}

.res-stat__number {
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(52px, 5.5vw, 88px);
  color: var(--ivory, #F5F1EA);
  line-height: 0.88;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: block;
  /* ticker animation */
  transition: color 0.3s ease;
}

.res-stat__number.is-counting {
  color: var(--roya-red, #C8102E);
}

.res-stat__number.count-done {
  color: var(--ivory, #F5F1EA);
}

.res-stat__sup {
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-style: normal;
  font-size: clamp(24px, 2.2vw, 38px);
  color: var(--roya-red, #C8102E);
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.5s 0.4s ease, transform 0.5s 0.4s ease;
}

.residence--fullbleed.is-entered .res-stat__sup {
  opacity: 1;
  transform: translateX(0);
}

/* ── Divider rule ── */
.res-stat__rule {
  width: 28px;
  height: 1px;
  background: var(--roya-red, #C8102E);
  margin-bottom: 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.residence--fullbleed.is-entered .res-stat__rule {
  transform: scaleX(1);
}

.res-stat[data-index="0"] .res-stat__rule {
  transition-delay: 350ms;
}

.res-stat[data-index="1"] .res-stat__rule {
  transition-delay: 450ms;
}

.res-stat[data-index="2"] .res-stat__rule {
  transition-delay: 550ms;
}

.res-stat[data-index="3"] .res-stat__rule {
  transition-delay: 650ms;
}

/* ── Label ── */
.res-stat__label {
  display: block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory, #F5F1EA);
  font-weight: 500;
  margin-bottom: 6px;
}

/* ── Sub-label ── */
.res-stat__sub {
  font-size: 12px;
  color: #fff;
  font-weight: 300;
  line-height: 1.5;
  font-family: var(--font-body, 'Inter', sans-serif);
  margin: 0;
}

/* Hover lift on each stat */


/* ── Responsive ────────────────────────────────────── */



/* Video fills container exactly like the original img */
.reveal-arch__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Carry the blur/unblur transition onto the video */
.reveal-arch__media video#archImg {
  filter: blur(10px);
  transition: filter 0.8s ease-out;
}

.reveal-arch.is-drawing video#archImg {
  filter: blur(0px);
}

.residence__bg {
  background: url(images/Building\ 3.jpg) center center / cover no-repeat;
  background-attachment: fixed;
}

/* ── Enquire Modal ─────────────────────────────────── */
.enquire-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.23, 1, 0.32, 1);
}

.enquire-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.enquire-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.enquire-modal__panel {
  position: relative;
  z-index: 1;
  background: #0B0B0C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  gap: 0;
  transform: translateY(24px) scale(0.98);
  transition: transform 380ms cubic-bezier(0.23, 1, 0.32, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.enquire-modal.is-open .enquire-modal__panel {
  transform: translateY(0) scale(1);
  transform: translateY(0) scale(1);
  -webkit-backdrop-filter: var(--tw-backdrop-blur, )var(--tw-backdrop-brightness, )var(--tw-backdrop-contrast, )var(--tw-backdrop-grayscale, )var(--tw-backdrop-hue-rotate, )var(--tw-backdrop-invert, )var(--tw-backdrop-opacity, )var(--tw-backdrop-saturate, )var(--tw-backdrop-sepia, );
  backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) --tw-backdrop-contrast is not defined var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  background-color:
    color-mix(in oklab, #000000a6 60%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 4px 30px rgb(255 255 255 / 10%);
}

.enquire-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
  transition: color 200ms ease, border-color 200ms ease;
}

.enquire-modal__close:hover {
  color: var(--ivory, #F5F1EA);
  border-color: rgba(255, 255, 255, 0.35);
}

.enquire-modal__copy {
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url('images/Building\ 3.jpg') center/cover no-repeat;
  position: relative;
}

.enquire-modal__copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.75) 100%);
}

.enquire-modal__copy>* {
  position: relative;
  z-index: 1;
}

.enquire-modal__copy .display {
  font-size: clamp(22px, 2.4vw, 34px);
  margin-bottom: 32px;
}

.enquire-modal__form {
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px);
  padding-top: clamp(52px, 6vw, 72px);
  background: rgba(255, 253, 249, 0.03);
}

/* ── Responsive ── */

/* Prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}

.reveal-arch__content em {
  color: var(--ivory) !important;
  font-weight: 500 !important;
}

.gal--wide.scale-expand {
  width: 60%;
  margin: 0 auto;
  transition: none;
  /* JS handles this */
  will-change: width;
}

/* ── Reset & base ───────────────────────────────────────── */
.amen-scene *,
.amen-scene *::before,
.amen-scene *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Section shell ──────────────────────────────────────── */
.amen-scene {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background: #0B0B0C;
}

/* ── Background images ──────────────────────────────────── */
.amen-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.amen-bg__img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.amen-bg__img.is-active {
  opacity: 1;
}

.amen-bg__img.is-leaving {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.amen-bg__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

.amen-strip__item.is-active {
  background: var(--roya-red);
}

/* ── Veil ────────────────────────────────────────────────── */
.amen-veil {
    display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(11 11 12 / 0%) 0%, rgba(11, 11, 12, 0.10) 25%, rgb(11 11 12 / 0%) 55%, rgb(11 11 12 / 0%) 80%, rgb(11 11 12 / 0%) 100%), linear-gradient(90deg, rgb(11 11 12 / 54%) 0%, rgb(11 11 12 / 0%) 40%, rgb(11 11 12 / 0%) 65%);
}

/* ── Custom cursor ───────────────────────────────────────── */
/* .amen-cursor {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .amen-scene:hover .amen-cursor {
    opacity: 1;
  }
  .amen-cursor__ring {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245,241,234,0.5);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
  }
  .amen-cursor__dot {
    width: 5px;
    height: 5px;
    background: #B89B6A;
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .amen-scene.cursor-hover .amen-cursor__ring {
    width: 56px;
    height: 56px;
    border-color: #4FB5B4;
  } */

/* ── Top bar ─────────────────────────────────────────────── */
.amen-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px clamp(28px, 4vw, 60px) 0;
}

.amen-topbar__eyebrow {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
}

.amen-topbar__right {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.amen-topbar__count {
  font-family: var(--font-display, 'Bodoni Moda', 'Times New Roman', serif);
  font-style: normal;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.4);
  letter-spacing: 0.06em;
}

.amen-topbar__track {
  width: 100px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.amen-topbar__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 10%;
  background: #B89B6A;
  transition: width 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Ghost number ────────────────────────────────────────── */
.amen-ghost {
    display: none !important;
  position: absolute;
  bottom: 80px;
  right: clamp(24px, 4vw, 60px);
  z-index: 2;
  font-family: var(--font-display, 'Bodoni Moda', 'Times New Roman', serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(120px, 18vw, 220px);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: opacity 0.5s ease;
  user-select: none;
}

/* ── Main content ────────────────────────────────────────── */
.amen-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0 clamp(28px, 4vw, 60px) 120px;
}

.amen-content__inner {
  max-width: 680px;
}

.amen-tag {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s 0.05s ease, transform 0.5s 0.05s ease;
}

.amen-tag.is-in {
  opacity: 1;
  transform: translateY(0);
}

.amen-title {
  font-family: var(--font-display, 'Bodoni Moda', 'Times New Roman', serif);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 80px);
  line-height: 1.0;
  color: #F5F1EA;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.amen-title__line {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
}

.amen-title__line.is-in {
  transform: translateY(0);
  opacity: 1;
}

.amen-desc {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(245, 241, 234, 0.55);
  line-height: 1.7;
  max-width: 50ch;
  font-weight: 300;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s 0.18s ease, transform 0.6s 0.18s ease;
}

.amen-desc.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Side index ──────────────────────────────────────────── */
.amen-index {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.amen-index__pip {
  width: 3px;
  height: 18px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.3s ease, height 0.3s ease, transform 0.2s ease;
  position: relative;
}

.amen-index__pip:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(1.5);
}

.amen-index__pip.is-active {
  background: #B89B6A;
  height: 32px;
}

.amen-index__pip:hover .amen-index__tip {
  opacity: 1;
  transform: translateX(0);
}

.amen-index__tip {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(11, 11, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D9C9A7;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* ── Bottom strip ────────────────────────────────────────── */
.amen-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: auto;
  scrollbar-width: none;
}

.amen-strip::-webkit-scrollbar {
  display: none;
}

.amen-strip__item {
  flex: 1;
  min-width: 80px;
  padding: 14px 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-right: 1px solid rgb(255 255 255 / 13%);
  transition: background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.amen-strip__item:last-child {
  border-right: none;
}

.amen-strip__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--roya-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.amen-strip__item.is-active::after {
  transform: scaleX(1);
}

.amen-strip__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.amen-strip__num {
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-style: normal;
  font-size: 20px;
  color: var(--ivory-soft);
  transition: color 0.3s ease;
}

.amen-strip__item.is-active .amen-strip__num {
  color: white;
}

.amen-strip__label {
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--roya-red);
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s ease;
  font-weight: 400;
}

.amen-strip__item.is-active .amen-strip__label {
  color: white;
}

.amen-strip__item:hover .amen-strip__num,
.amen-strip__item:hover .amen-strip__label {
  color: #F5F1EA;
}

/* ── Auto-play button ────────────────────────────────────── */
.amen-autoplay {
  display: none !important;
  /* hidden by default, shown via JS if autoplay is available */
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(11, 11, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.amen-autoplay:hover {
  color: #F5F1EA;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ──────────────────────────────────────────── */


/* ── Reduced motion ──────────────────────────────────────── */

/* ── Intro block ─────────────────────────────────────────── */
.gal-dg-intro {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 24px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(11, 11, 12, 0.10);
  max-width: 820px;
}

.gal-dg-intro__num {
  grid-column: 1;
  grid-row: 1 / 4;
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-300, #B0AA9F);
  padding-top: 4px;
  letter-spacing: 0.06em;
}

.gal-dg-intro__title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--ink-900, #0B0B0C);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.gal-dg-intro__body {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--ink-500, #6E6A63);
  line-height: 1.75;
  font-weight: 300;
  max-width: 52ch;
  margin-bottom: 14px;
}

.gal-dg-intro__meta {
  grid-column: 2;
  grid-row: 3;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--roya-red, #C8102E);
}

/* ── Grid shell ──────────────────────────────────────────── */
.gal-dg-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  /* padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 96px); */
  gap: 0;
}

/* Centre vertical rule */
.gal-dg-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(11, 11, 12, 0.10);
  transform: translateX(-50%);
  pointer-events: none;
}

/* ── Cards ───────────────────────────────────────────────── */
.gal-dg-card {
  position: relative;
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}

.gal-dg-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card positions */
.gal-dg-card--tl {
  grid-column: 1;
  grid-row: 1;
  padding: 0 clamp(20px, 3vw, 48px) 0 0;
}

.gal-dg-card--tr {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: clamp(40px, 6vw, 80px) 0 0 clamp(20px, 3vw, 48px);
  display: flex;
  flex-direction: column;
}

.gal-dg-card--bl {
  grid-column: 1;
  grid-row: 2;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px) 0 0;
}

/* ── Image wrap — tilt & shadow ──────────────────────────── */
.gal-dg-img-wrap {
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gal-dg-card--tl .gal-dg-img-wrap {
  /* transform: rotate(-1.6deg); */
  box-shadow: 22px 22px 60px rgba(11, 11, 12, 0.18);
}

.gal-dg-card--tr .gal-dg-img-wrap {
  /* transform: rotate(1.3deg); */
  box-shadow: -18px 18px 56px rgba(11, 11, 12, 0.15);
  flex: 1;
}

.gal-dg-card--bl .gal-dg-img-wrap {
  /* transform: rotate(-0.7deg); */
  box-shadow: 14px 14px 44px rgba(11, 11, 12, 0.14);
}

.gal-dg-card:hover .gal-dg-img-wrap {
  transform: rotate(0deg) scale(1.012) !important;
}

.gal-dg-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* .gal-dg-card--tl .gal-dg-img-wrap img,
.gal-dg-card--bl .gal-dg-img-wrap img { height: clamp(240px, 28vw, 380px); }
.gal-dg-card--tr .gal-dg-img-wrap img { height: clamp(320px, 42vw, 560px); }

.gal-dg-card:hover .gal-dg-img-wrap img {
  transform: scale(1.04);
} */

/* ── Corner brackets ─────────────────────────────────────── */
.gal-dg-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
}

.gal-dg-corner--tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--dune, #B89B6A);
  border-left: 1px solid var(--dune, #B89B6A);
}

.gal-dg-corner--br {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--dune, #B89B6A);
  border-right: 1px solid var(--dune, #B89B6A);
}

/* ── Ghost numbers ───────────────────────────────────────── */
.gal-dg-ghost {
  position: absolute;
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-style: normal;
  font-weight: 400;
  color: rgba(11, 11, 12, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-size: clamp(80px, 12vw, 160px);
  bottom: -16px;
  right: 12px;
}

.gal-dg-ghost--top {
  top: -45px;
  left: -12px;
  bottom: auto;
  right: auto;
}

.gal-dg-ghost--bl {
  bottom: -12px;
  right: 8px;
  font-size: clamp(60px, 9vw, 110px);
}

/* ── Metadata ────────────────────────────────────────────── */
.gal-dg-meta {
  margin-top: 20px;
  padding-left: 2px;
  position: relative;
  z-index: 1;
}

.gal-dg-tag {
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--roya-red, #C8102E);
  margin-bottom: 8px;
}

.gal-dg-title {
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--ink-900, #0B0B0C);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.gal-dg-desc {
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: clamp(12px, 0.95vw, 13.5px);
  color: var(--ink-700, #2E2D2A);
  line-height: 1.7;
  font-weight: 300;
  max-width: 32ch;
}

/* ── Responsive ──────────────────────────────────────────── */

/* ── Reduced motion ──────────────────────────────────────── */

.gallery__disclaimer {
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-style: normal;
  font-size: clamp(11px, 1vw, 13px);
  color: var(--ink-900);
  text-align: center;
  letter-spacing: 0.04em;
  padding: clamp(24px, 3vw, 40px) 0px;
  margin: 0;
}

div#amenBg:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(11 11 12 / 88%) 0%, rgb(0 0 0 / 0%) 100%);
  z-index: 999999;
}

.amen-bg__img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.amen-bg__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom left;
  display: block;
  will-change: transform;
  animation: subtlePan 12s ease-in-out infinite alternate;
  animation-play-state: paused;
  /* starts paused; resume when visible */
}

.amen-bg__img.is-active img {
  animation-play-state: running;
}

@keyframes subtlePan {
  0% {
    transform: translate(0%, 0%) scale(1);
  }

  25% {
    transform: translate(-2%, -1.5%) scale(1.02);
  }

  50% {
    transform: translate(-3.5%, 1%) scale(1.03);
  }

  75% {
    transform: translate(1.5%, 2%) scale(1.02);
  }

  100% {
    transform: translate(3%, -0.5%) scale(1);
  }
}



.hero__actions a {
  transform: translate(0, 0) !important;
}

/* .hero__actions a.btn--ghost:hover {
  background: var(--obsidian);
  border-color: var(--dune);
} */
.section-head.social {
    text-align: center;
    margin-bottom: 0rem;
    margin-top: 3rem;
}
/* ============================================================
   13. Premium Gallery Carousel Styles
   ============================================================ */

.gal-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 520px;
  overflow: hidden;
  background: var(--obsidian);
}

.gal-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gal-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.gal-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.gal-carousel__img,
.gal-carousel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gal-carousel__slide.is-active .gal-carousel__img,
.gal-carousel__slide.is-active .gal-carousel__video {
  transform: scale(1);
}

/* Ensure overlay stays readable and transitions beautifully */
.gal-carousel__slide .gal__overlay {
  transform: translateY(15px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 12, 0.85) 60%, rgba(11, 11, 12, 0.95) 100%);
  padding-bottom: clamp(90px, 10vw, 130px);
  /* Leave room for thumbnails */
}

.gal-carousel__slide.is-active .gal__overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Arrows */
.gal-carousel__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(11, 11, 12, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  pointer-events: none;
}

/* Show arrows on carousel hover */
.gal-carousel:hover .gal-carousel__arrow {
  opacity: 1;
  pointer-events: auto;
}

.gal-carousel__arrow--prev {
  left: 32px;
}

.gal-carousel__arrow--next {
  right: 32px;
}

.gal-carousel__arrow:hover {
  background: rgba(11, 11, 12, 0.75);
  border-color: var(--dune);
  color: var(--dune);
}

.gal-carousel__arrow--prev:hover {
  transform: translateY(-50%) translateX(-4px);
}

.gal-carousel__arrow--next:hover {
  transform: translateY(-50%) translateX(4px);
}

/* Thumbnail Navigation */
.gal-carousel__thumbs {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  max-width: 95%;
  padding: 4px 12px;
  background: rgba(11, 11, 12, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gal-carousel__thumb {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 0px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

.gal-carousel__thumb-img {
  width: 140px;
  height: 60px;
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.5;
}

.gal-carousel__thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gal-carousel__thumb-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
}

.gal-text__body.social {
        margin: 40px auto 0;
    text-align: center;
}
/* Hover States */
.gal-carousel__thumb:hover .gal-carousel__thumb-img {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.gal-carousel__thumb:hover .gal-carousel__thumb-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Active State */
.gal-carousel__thumb.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.gal-carousel__thumb.is-active .gal-carousel__thumb-img {
  opacity: 1;
  border-color: var(--dune);
  box-shadow: 0 0 10px rgba(184, 155, 106, 0.3);
}

.gal-carousel__thumb.is-active .gal-carousel__thumb-label {
  color: var(--ivory);
  font-weight: 600;
}

.gal-carousel__thumb-label {
  max-width: 110px;
  white-space: normal;
  line-height: 15px;
  line-height: 13px;
  text-align: left;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .gal-carousel {
    aspect-ratio: 16 / 9;
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .gal-carousel {
    aspect-ratio: 4 / 3;
    min-height: 400px;
  }

  .gal-carousel__arrow {
    display: none;
    /* Hide arrows on touch screens */
  }

  .gal-carousel__thumbs {
    bottom: 16px;
    gap: 8px;
    max-width: 95%;
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 0px;
    padding: 6px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
  }

  .gal-carousel__thumbs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }

  .gal-carousel__thumb {
    padding: 2px 6px;
  }

  .gal-carousel__thumb-label {
    display: none;
    /* Only show thumbnail images on small devices */
  }

  .gal-carousel__thumb-img {
    width: 50px;
    height: 32px;
  }

  .gal-carousel__slide .gal__overlay {
    padding-bottom: 70px;
  }

  #amenities div#amenBg:before {
    background: linear-gradient(135deg, rgb(11 11 12 / 88%) 0%, rgb(0 0 0 / 0%) 100%) !important;
  }
}



/* ------------------------------------------------ */
/* -------------------- SLIDER -------------------- */
/* ------------------------------------------------ */

.slider {
  width: calc(3 * var(--slide-width));
  height: calc(2 * var(--slide-height));
  display: flex;
  align-items: center;
}

.slider--btn {
  --size: 40px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity 250ms cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 999;

  & svg {
    width: var(--size);
    height: var(--size);
    stroke: white;
  }

  &:hover {
    opacity: 1;
  }
}

.slides__wrapper {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  &>* {
    grid-area: 1 / -1;
  }
}

.slides,
.slides--infos {
  width: 100%;
  height: 100%;

  pointer-events: none;

  display: grid;
  place-items: center;

  &>* {
    grid-area: 1 / -1;
  }
}

/* ------------------------------------------------ */
/* -------------------- SLIDE --------------------- */
/* ------------------------------------------------ */

.slide {
  --slide-tx: 0px;
  --slide-ty: 0vh;
  --padding: 0px;
  --offset: 0;

  width: var(--slide-width);
  height: auto;
  aspect-ratio: var(--slide-aspect);
  user-select: none;
  perspective: 800px;

  transform: perspective(1000px) translate3d(var(--slide-tx), var(--slide-ty), var(--slide-tz, 0)) rotateY(var(--slide-rotY)) scale(var(--slide-scale));
  transition: transform var(--slide-transition-duration) var(--slide-transition-easing);
}

.slide[data-current] {
  --slide-scale: 1.2;
  --slide-tz: 0px;
  --slide-tx: 0px;
  --slide-rotY: 0;

  pointer-events: auto;
}

.slide[data-next] {
  --slide-tx: calc(1 * var(--slide-width) * 1.07);
  --slide-rotY: -45deg;
}

.slide[data-previous] {
  --slide-tx: calc(-1 * var(--slide-width) * 1.07);
  --slide-rotY: 45deg;
}

.slide:not([data-current]) {
  --slide-scale: 1;
  --slide-tz: 0;
  /* --slide-tx: calc(var(--offset) * var(--slide-width) * 1.05); */
  /* --slide-rotY: calc(var(--dir) * -45deg); */

  pointer-events: none;
}

.slide[data-current] {
  & .slide--image {
    filter: brightness(0.8);
  }
}

.slide:not([data-current]) {
  & .slide--image {
    filter: brightness(0.5);
  }
}

.slide__inner {
  --rotX: 0;
  --rotY: 0;
  --bgPosX: 0%;
  --bgPosY: 0%;

  position: relative;
  left: calc(var(--padding) / 2);
  top: calc(var(--padding) / 2);
  width: calc(100% - var(--padding));
  height: calc(100% - var(--padding));
  transform-style: preserve-3d;
  transform: rotateX(var(--rotX)) rotateY(var(--rotY));
}

.slide--image__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide--image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.25) translate3d(var(--bgPosX), var(--bgPosY), 0);
  transition: filter var(--slide-transition-duration) var(--slide-transition-easing);
}

.slide__bg {
  position: fixed;
  inset: -20%;
  background-image: var(--bg);
  background-size: cover;
  background-position: center center;

  z-index: -1;
  pointer-events: none;

  transition: opacity var(--slide-transition-duration) ease,
    transform var(--slide-transition-duration) ease;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
  }

  &::before {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
  }

  &:not([data-current]) {
    opacity: 0;
  }

  &[data-previous] {
    transform: translateX(-10%);
  }

  &[data-next] {
    transform: translateX(10%);
  }
}

/* ------------ SLIDE INFO ---------------- */

.slide-info {
  --padding: 0px;

  position: relative;
  width: var(--slide-width);
  height: 100%;
  aspect-ratio: var(--slide-aspect);
  user-select: none;
  perspective: 800px;
  z-index: 100;
}

.slide-info[data-current] {
  & .slide-info--text span {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 250ms;
  }
}

.slide-info:not([data-current]) {
  & .slide-info--text span {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition-delay: 0ms;
  }
}

.slide-info__inner {
  position: relative;
  left: calc(var(--padding) / 2);
  top: calc(var(--padding) / 2);
  width: calc(100% - var(--padding));
  height: calc(100% - var(--padding));
  transform-style: preserve-3d;
  transform: rotateX(var(--rotX)) rotateY(var(--rotY));
}

.slide-info--text__wrapper {
  --z-offset: 45px;

  position: absolute;
  height: fit-content;
  left: -15%;
  bottom: 15%;
  transform: translateZ(var(--z-offset));
  z-index: 2;
  pointer-events: none;
}

.slide-info--text {
  font-family: var(--font-clash-display);
  color: #fff;
  overflow: hidden;

  & span {
    display: block;
    white-space: nowrap;
    transition: var(--slide-transition-duration) var(--slide-transition-easing);
    transition-property: opacity, transform;
  }

  &[data-title],
  &[data-subtitle] {
    font-size: min(3cqw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.2cqw;
    white-space: nowrap;
    text-transform: uppercase;
  }

  &[data-subtitle] {
    margin-left: 2cqw;
    font-size: min(2.2cqw, 1.8rem);
    font-weight: 600;
  }

  &[data-description] {
    margin-left: 1cqw;
    font-size: min(1.5cqw, 0.95rem);
    font-family: var(--font-archivo);
    font-weight: 300;
  }
}

/* ------------------------------------------------ */
/* -------------------- LOADER --------------------- */
/* ------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;

  display: grid;
  place-items: center;

  background: #000;
  z-index: 1000;

  opacity: 1;
  transition: opacity 0.5s ease-out;

  .loader__text {
    font-family: var(--font-clash-display);
    font-size: clamp(2rem, 2vw, 5rem);
    font-weight: 800;
    color: #fff;
  }
}

/* ------------------------------------------- */

.support {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  display: flex;

  a {
    margin: 0 10px;
    color: #fff;
    font-size: 1.8rem;
    backface-visibility: hidden;
    transition: all 150ms ease;

    &:hover {
      transform: scale(1.1);
    }
  }
}

/* ============================================================
   3D ARCH CAROUSEL STYLES
   ============================================================ */

.day {
  background: var(--ivory) !important;
  /* Premium dark background */
  color: #ffffff !important;
  padding: 100px var(--gutter) 80px !important;
  position: relative !important;
  overflow: hidden !important;
}

.day__glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 75%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.day__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.day .day__head h2 {
  color: var(--ink-900) !important;
}

.day .day__head h2 em {
  color: var(--dune) !important;
}

.day .day__head .eyebrow {
  color: var(--roya-red) !important;
}

/* Arch Slider Component Container */
.arch-slider {
  position: relative;
  width: 100%;
  height: 520px;
  margin: 35px 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.arch-slider__track-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  touch-action: pan-y;
}

.arch-slider__track-container:active {
  cursor: grabbing;
}

.arch-slider__track {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  /*transform-style: preserve-3d;*/
  /*will-change: transform;*/
}

/* 3D Card style */
.arch-slider__card {
  position: absolute;
  width: 240px;
  height: 350px;
  border-radius: 0px;
  overflow: hidden;
  background: #111112;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65),
    0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform-origin: center center;
  will-change: transform, opacity, z-index;
  transition: filter 0.4s ease;
  cursor: pointer;
  /*border: 1px solid rgba(255, 255, 255, 0.05);*/
}

.arch-slider__card.is-active:hover {
  width: 500px !important;
  height: 400px !important;
  transform: scale(1.05);
  z-index: 99999 !important;
  opacity: 1 !important;
}

.arch-slider__card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.arch-slider__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arch-slider__card:hover .arch-slider__card-media img {
  transform: scale(1.06);
}

.arch-slider__card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.arch-slider__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 2;
  color: #ffffff;
  box-sizing: border-box;
}

.arch-slider__card-time {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dune);
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.arch-slider__card-label {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
  margin: 0;
  font-weight: 400;
  word-wrap: break-word;
}

/* Arrow Navigation */
.arch-slider__arrow {
  display: none !important;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arch-slider__arrow:hover {
  background: var(--roya-red);
  border-color: var(--roya-red);
  transform: translateY(-50%) scale(1.08);
}

.arch-slider__arrow--prev {
  left: 20px;
}

.arch-slider__arrow--next {
  right: 20px;
}

/* Details Panel below arch */
.arch-details {
  width: 100%;
  max-width: 650px;
  margin: 0px auto 0;
  text-align: center;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.arch-details__inner {
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateY(0);
}

.arch-details__inner.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.arch-details__meta {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.arch-details__num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--roya-red);
}

.arch-details__time {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--roya-red);
  font-weight: 500;
}

.arch-details__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink-900);
  margin: 0 0 12px;
}

.arch-details__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-900);
  margin: 0;
  font-weight: 300;
}

/* ============================================================
   AMENITIES SECTION — VIOLET 3D ABSTRACT OVERRIDES
   ============================================================ */

.amen-scene {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  height: 80vh !important;
  min-height: 600px !important;
  max-height: 800px;
  overflow: hidden !important;
  isolation: isolate;
  border-radius: 0px;
  border: 0px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

div#amenBg:before {
  background: none !important;
  /* Remove dark background block gradient */
}

.amen-veil {
  background: linear-gradient(180deg, rgba(89, 54, 204, 0) 0%, rgba(89, 54, 204, 0.15) 100%) !important;
}

/* Title Typography Overrides */
.amen-title {
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  font-size: clamp(24px, 3.5vw, 36px) !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  color: #FFFFFF !important;
  margin-bottom: 16px !important;
  text-align: left !important;
}

/* Opacity-only Fade Transition for Slide Info */
.amen-tag,
.amen-title__line,
.amen-desc {
  transform: none !important;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.amen-tag.is-in,
.amen-title__line.is-in,
.amen-desc.is-in {
  transform: none !important;
  opacity: 1 !important;
}

.amen-tag {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border-radius: 20px !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  padding: 5px 14px !important;
  margin-bottom: 20px !important;
  display: inline-block !important;
}

.amen-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  text-align: left !important;
  max-width: 320px !important;
}

/* Glassmorphism Backdrop Circle */
.amen-glass-circle {
  position: absolute;
  width: min(55vw, 480px) !important;
  /* height: min(55vw, 480px) !important;
  /* border-radius: 50% !important; */
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  z-index: 5 !important;
  left: 0px !important;
  bottom: 90px !important;
  /* transform: translateY(-50%) !important; */
  pointer-events: auto !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 40px 50px !important;
  box-sizing: border-box !important;
  border-radius: 0px;
}

/* Top Right Hint */
.amen-hint {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Bottom Center Pagination */
.amen-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  pointer-events: none;
}

.amen-pagination__current {
  color: #FFFFFF;
}

.amen-pagination__line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.amen-pagination__next {
  color: rgba(255, 255, 255, 0.4);
}

/* Hide Old Controls */
.amen-index,
.amen-strip {
  display: none !important;
}

/* Outer Amenities Section Styling */
.amenities-section {
  background: var(--ivory) !important;
  padding: 0 var(--gutter) var(--section-y) !important;
  width: 100% !important;
}

/* Adjust Content Padding for Removed Strip and Span Full Height */
.amen-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* Position Top Bar Inside Card */
.amen-topbar {
  top: 30px !important;
  left: 0px !important;
  right: 40px !important;
  position: absolute !important;
  z-index: 6 !important;
}

/* Navigation Arrows */
.amen-arrow {
  display: none;
  position: absolute;
  bottom: 15px;
  /* transform: translateY(-50%); */
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.amen-scene:hover .amen-arrow {
  opacity: 0.6;
}

.amen-arrow:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(0%) scale(1.05);
}

.amen-arrow--prev {
  right: 100px;
}

.amen-arrow--next {
  right: 30px;
}