﻿/* Arancia yards by Beyond — project detail hero */

@font-face {
  font-family: "Citadel Script Std";
  src: url("../fonts/CitadelScriptStd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  /* Avoid mid-animation fallback→script swap (FOUT) on slower connections */
  font-display: block;
}

.beyond-page {
  --beyond-gold: #c4a46a;
  --beyond-gold-deep: #8f7344;
  --beyond-ink: #1a1a1a;
  --beyond-glass: rgba(12, 12, 12, 0.55);
  --beyond-optima: "Optima", "Segoe UI", sans-serif;
  --beyond-script: "Citadel Script Std", cursive;
  --beyond-section-heading: clamp(2rem, 4.2vw, 3.2rem);
  --beyond-body: 1rem;
  margin: 0;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  scrollbar-gutter: stable;
}

.beyond-page .tc-footer-st1 {
  position: relative;
  z-index: 20;
}

.beyond-page .floating-contact {
  z-index: 40;
}

.beyond-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}

.beyond-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #1a1612;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 12, 0.55) 0%, rgba(8, 10, 12, 0.2) 45%, rgba(8, 10, 12, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.35) 0%, rgba(8, 10, 12, 0.1) 40%, rgba(8, 10, 12, 0.55) 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.beyond-hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 56px) 0;
}

.beyond-hero__top-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  flex-shrink: 0;
}

.beyond-hero__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.beyond-hero__back i {
  font-size: 1.1rem;
}

.beyond-hero__back:hover {
  opacity: 1;
  color: #fff;
}

.beyond-hero__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.beyond-hero__logo img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 45px;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .beyond-hero__logo img {
    max-width: 130px;
  }
}

@media screen and (max-width: 576px) {
  .beyond-hero__logo img {
    max-width: 110px;
  }
}

.beyond-hero__speak {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-decoration: none;
  font-size: var(--beyond-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.beyond-hero__speak:hover {
  background: #fff;
  color: var(--beyond-ink);
}

button.beyond-hero__speak {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Invest in Dubai — centered hero matching general landing mock */
.beyond-hero--invest .beyond-hero__bg--video {
  background-image: none;
  background-color: #0a0c10;
  overflow: hidden;
}

.beyond-hero--invest .beyond-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.beyond-hero--invest .beyond-hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 12, 0.42) 0%,
    rgba(8, 10, 12, 0.22) 42%,
    rgba(8, 10, 12, 0.5) 100%
  );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .beyond-hero--invest .beyond-hero__video {
    display: none;
  }

  .beyond-hero--invest .beyond-hero__bg--video {
    background-image: var(--invest-hero-poster);
    background-size: cover;
    background-position: center;
  }
}

.beyond-hero--invest .beyond-hero__body {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: clamp(48px, 10vh, 120px) clamp(20px, 4vw, 56px);
}

.beyond-hero--invest .beyond-hero__title-block {
  max-width: min(920px, 92vw);
  margin: 0 auto;
}

.beyond-hero--invest .beyond-hero__project-name {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.beyond-hero--invest .beyond-hero__project-name,
.invest-intro__title,
.invest-addresses__title,
.invest-why__title,
.invest-why__subtitle,
.invest-locations__title,
.invest-solutions__title,
.invest-choose__title,
.invest-choose__subtitle {
  text-transform: uppercase;
}

/* ===== Invest in Dubai — Intro ===== */
.invest-intro {
  --invest-ink: #505050;
  position: relative;
  z-index: 1;
  background: #f4f1eb;
  color: var(--invest-ink);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 56px);
}

.invest-intro__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.invest-intro__title {
  margin: 0 auto clamp(18px, 2.5vw, 28px);
  max-width: min(36em, 100%);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.invest-intro__copy {
  margin: 0 auto;
  max-width: 46rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.invest-intro.is-inview .invest-intro__title,
.invest-intro.is-inview .invest-intro__copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-intro.is-resetting .invest-intro__title,
.invest-intro.is-resetting .invest-intro__copy {
  transition: none !important;
}

body.dark-theme .invest-intro,
body.dark-theme .invest-intro__title,
body.dark-theme .invest-intro__copy {
  color: #505050;
}

.beyond-hero--invest .beyond-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(28px, 5vh, 44px);
  min-height: 52px;
  padding: 14px 32px;
  border: 0;
  background: #fff;
  color: var(--beyond-ink);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-hero--invest.is-inview .beyond-hero__cta {
  animation: beyondFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.beyond-hero--invest .beyond-hero__cta:hover,
.beyond-hero--invest .beyond-hero__cta:focus-visible {
  background: #f3f3f3;
  transform: translateY(-1px);
  color: var(--beyond-ink);
}

.beyond-hero--invest .beyond-hero__speak {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

/* Serenia Living — centered hero */
.beyond-hero--serenia .beyond-hero__bg--video {
  background-image: none;
  background-color: #0a0c10;
  overflow: hidden;
}

.beyond-hero--serenia .beyond-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.beyond-hero--serenia .beyond-hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 30, 18, 0.7) 0%,
    rgba(44, 30, 18, 0.48) 45%,
    rgba(44, 30, 18, 0.72) 100%
  );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .beyond-hero--serenia .beyond-hero__video {
    display: none;
  }

  .beyond-hero--serenia .beyond-hero__bg--video {
    background-image: var(--serenia-hero-poster);
    background-size: cover;
    background-position: center;
  }
}

.beyond-hero--serenia .beyond-hero__body {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 0;
  padding: clamp(48px, 10vh, 120px) clamp(20px, 4vw, 56px);
}

.beyond-hero--serenia .beyond-hero__title-block {
  max-width: min(980px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beyond-hero--serenia .beyond-hero__project-name {
  margin: 0;
  font-family: var(--beyond-optima);
  font-size: clamp(1.85rem, 4.2vw, 3.05rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.22em;
  text-indent: 0;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.beyond-hero--serenia.is-inview .beyond-hero__project-name {
  opacity: 1;
  transform: translateY(0);
}

.beyond-hero--serenia .beyond-hero__tagline {
  margin: clamp(14px, 2vh, 22px) 0 0;
  max-width: min(920px, 94vw);
  font-family: var(--beyond-optima);
  font-size: clamp(0.92rem, 1.55vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.42em;
  text-indent: 0;
  text-align: center;
  text-transform: none;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.beyond-hero--serenia.is-inview .beyond-hero__tagline {
  opacity: 1;
  transform: translateY(0);
}

.beyond-hero--serenia .beyond-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(36px, 6.5vh, 72px);
  min-height: 50px;
  min-width: clamp(168px, 16vw, 210px);
  padding: 0 clamp(28px, 3.5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
  background: rgba(20, 16, 12, 0.32);
  color: #fff;
  font-family: var(--beyond-optima);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(18px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.16s,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.16s;
}

.beyond-hero--serenia.is-inview .beyond-hero__cta {
  opacity: 1;
  transform: translateY(0);
}

.beyond-hero--serenia .beyond-hero__cta:hover,
.beyond-hero--serenia .beyond-hero__cta:focus-visible {
  background: #fff;
  color: #1a1612;
  transform: none;
}

body.dark-theme .beyond-hero--serenia .beyond-hero__project-name,
body.dark-theme .beyond-hero--serenia .beyond-hero__tagline,
body.dark-theme .beyond-hero--serenia .beyond-hero__cta {
  color: #fff;
}

body.dark-theme .beyond-hero--serenia .beyond-hero__cta:hover,
body.dark-theme .beyond-hero--serenia .beyond-hero__cta:focus-visible {
  background: #fff;
  color: #1a1612;
}

@media (max-width: 560px) {
  .beyond-hero--serenia .beyond-hero__body {
    padding: 40px 20px;
  }

  .beyond-hero--serenia .beyond-hero__project-name {
    font-size: clamp(1.45rem, 6.8vw, 1.9rem);
    letter-spacing: 0.16em;
    text-indent: 0;
    text-align: center;
  }

  .beyond-hero--serenia .beyond-hero__tagline {
    margin-top: 12px;
    font-size: clamp(0.78rem, 3.1vw, 0.95rem);
    letter-spacing: 0.18em;
    text-indent: 0;
    text-align: center;
  }

  .beyond-hero--serenia .beyond-hero__cta {
    width: 100%;
    max-width: 240px;
    min-height: 46px;
    margin-top: 24px;
  }
}

/* Serenia Living — Designed Without Compromise */
.serenia-designed {
  --zoom-progress: 0;
  --title-progress: 0;
  --lead-progress: 0;
  --cta-progress: 0;
  position: relative;
  z-index: 1;
  background: #fff;
  color: #fff;
  text-align: center;
}

.serenia-designed__track {
  position: relative;
  height: 165vh;
}

.serenia-designed__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  height: 100vh;
  /* Equal top/bottom padding so the framed image stays vertically centered */
  padding: clamp(48px, 8vh, 96px) clamp(20px, 3.5vw, 48px);
  background: #fff;
}

#serenia-designed .serenia-designed__sticky {
  padding-bottom: clamp(48px, 8vh, 96px);
}

.serenia-designed__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1480px;
  aspect-ratio: 16 / 9;
  min-height: clamp(320px, 58vh, 720px);
  overflow: hidden;
}

.serenia-designed__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  transform: scale(calc(1 + (var(--zoom-progress) * 0.24)));
  transform-origin: center center;
  will-change: transform;
}

.serenia-designed__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 30, 18, 0.62);
  pointer-events: none;
  opacity: calc(0.72 + (var(--zoom-progress) * 0.28));
}

.serenia-designed__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(820px, calc(100% - 2 * clamp(20px, 4vw, 48px)));
  padding: clamp(32px, 5vh, 56px) 0;
}

.serenia-designed__title {
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  opacity: var(--title-progress);
  transform: none;
  will-change: opacity;
}

.serenia-designed__lead {
  margin: clamp(16px, 2.4vh, 24px) 0 0;
  max-width: min(52rem, 100%);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  letter-spacing: 0.42em;
  text-indent: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  opacity: var(--lead-progress);
  transform: none;
  will-change: opacity;
}

.serenia-designed__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(28px, 4.5vh, 40px);
  min-height: 48px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  opacity: var(--cta-progress);
  transform: none;
  will-change: opacity;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.serenia-designed__cta:hover,
.serenia-designed__cta:focus-visible,
.serenia-designed__cta:active {
  background: #fff;
  color: #2c1e12;
  outline: none;
  border-color: #fff;
  transform: none !important;
  translate: none !important;
  top: auto !important;
  box-shadow: none;
}

#serenia-designed .serenia-designed__cta,
#serenia-closer .serenia-designed__cta {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#serenia-designed.is-explore-locked .serenia-designed__cta {
  transform: none !important;
}

#serenia-designed.is-explore-locked .serenia-designed__bg {
  transition: none;
}

#serenia-closer .serenia-designed__cta {
  margin-top: clamp(48px, 8vh, 88px);
}

/*
 * Spacer sits AFTER the scrub track (animation unchanged).
 * Pushes Register down so it cannot overlap the sticky Closer frame.
 */
#serenia-closer {
  position: relative;
  z-index: 2;
  background: #fff;
}

#serenia-closer .serenia-designed__track,
#serenia-closer .serenia-designed__sticky {
  background: #fff;
}

.serenia-closer__spacer {
  display: block;
  width: 100%;
  height: clamp(160px, 24vh, 280px);
  background: #fff;
  pointer-events: none;
}

#serenia-closer + .beyond-register {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* Serenia Living — A Closer Look gallery lightbox */
.serenia-gallery {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  overscroll-behavior: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.serenia-gallery[hidden] {
  display: none !important;
}

.serenia-gallery__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.serenia-gallery__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 12px 10px;
  width: min(1120px, 100%);
  max-height: min(88vh, 88dvh, 900px);
}

.serenia-gallery__figure {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-height: min(78vh, 78dvh, 820px);
  background: #111;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.serenia-gallery__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 78dvh, 820px);
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
}

.serenia-gallery__nav {
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.serenia-gallery__nav:hover,
.serenia-gallery__nav:focus-visible {
  background: #fff;
  color: #1a1612;
  outline: none;
}

.serenia-gallery__nav--prev {
  grid-column: 1;
}

.serenia-gallery__nav--next {
  grid-column: 3;
}

.serenia-gallery__close {
  position: absolute;
  top: max(-8px, calc(env(safe-area-inset-top) - 12px));
  right: max(-4px, calc(env(safe-area-inset-right) - 8px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.serenia-gallery__close:hover,
.serenia-gallery__close:focus-visible {
  color: rgba(255, 255, 255, 0.75);
  outline: none;
}

.serenia-gallery__counter {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  text-align: center;
  font-family: var(--beyond-optima);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 700px) {
  .serenia-gallery {
    padding:
      max(12px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
  }

  .serenia-gallery__dialog {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-height: min(92vh, 92dvh);
    gap: 14px;
  }

  .serenia-gallery__figure {
    order: 1;
    max-height: min(70vh, 70dvh);
  }

  .serenia-gallery__image {
    max-width: 100%;
    max-height: min(70vh, 70dvh);
  }

  .serenia-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.45);
  }

  .serenia-gallery__nav--prev {
    left: 4px;
  }

  .serenia-gallery__nav--next {
    right: 4px;
  }

  .serenia-gallery__counter {
    order: 2;
  }

  .serenia-gallery__close {
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
  }
}

body.serenia-gallery-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 900px) {
  /* Mobile/tablet only: fill the sticky viewport so white bands shrink */
  #serenia-designed .serenia-designed__track,
  #serenia-closer .serenia-designed__track {
    height: 165vh;
    min-height: 165vh;
  }

  #serenia-designed .serenia-designed__sticky,
  #serenia-closer .serenia-designed__sticky {
    position: sticky;
    top: 0;
    align-items: center;
    justify-content: center;
    height: 100svh;
    min-height: 100svh;
    padding: 8px clamp(12px, 2.5vw, 20px);
    background: #fff;
  }

  #serenia-designed,
  #serenia-closer {
    z-index: 1;
    background: #fff;
  }

  #serenia-closer .serenia-closer__spacer {
    height: 24px;
  }

  #serenia-designed .serenia-designed__frame,
  #serenia-closer .serenia-designed__frame {
    aspect-ratio: auto;
    width: 100%;
    max-width: none;
    height: calc(100svh - 16px);
    min-height: calc(100svh - 16px);
    max-height: calc(100svh - 16px);
  }

  #serenia-designed .serenia-designed__content,
  #serenia-closer .serenia-designed__content {
    padding: 12px 0;
  }

  .serenia-designed__title {
    font-size: clamp(1.2rem, 3.4vw, 1.85rem);
    letter-spacing: 0.14em;
  }

  #serenia-closer .serenia-designed__cta {
    margin-top: clamp(24px, 4vh, 40px);
  }
}

@media (max-width: 560px) {
  #serenia-designed .serenia-designed__track,
  #serenia-closer .serenia-designed__track {
    height: 165vh;
    min-height: 165vh;
  }

  #serenia-designed .serenia-designed__sticky,
  #serenia-closer .serenia-designed__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    padding: 4px 8px;
    background: #fff;
  }

  #serenia-designed,
  #serenia-closer {
    z-index: 1;
    background: #fff;
  }

  #serenia-closer .serenia-closer__spacer {
    height: 12px;
  }

  #serenia-closer + .beyond-register {
    position: relative;
    z-index: 0;
    transform: none;
  }

  #serenia-designed .serenia-designed__frame,
  #serenia-closer .serenia-designed__frame {
    aspect-ratio: auto;
    width: 100%;
    max-width: none;
    height: calc(100svh - 8px);
    min-height: calc(100svh - 8px);
    max-height: calc(100svh - 8px);
  }

  #serenia-designed .serenia-designed__content,
  #serenia-closer .serenia-designed__content {
    padding: 8px 0;
  }

  .serenia-designed__title {
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
    letter-spacing: 0.12em;
    white-space: normal;
    text-align: center;
  }

  .serenia-designed__lead {
    font-size: clamp(0.78rem, 3.1vw, 0.95rem);
    letter-spacing: 0.18em;
    text-indent: 0;
    text-align: center;
    margin-top: 12px;
  }

  .serenia-designed__cta {
    width: 100%;
    max-width: 220px;
    min-height: 46px;
    margin-top: 20px;
  }

  #serenia-closer .serenia-designed__cta {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .serenia-designed__track {
    height: auto;
  }

  .serenia-designed__sticky {
    position: relative;
    height: auto;
    min-height: 0;
  }

  .serenia-designed__bg {
    transform: scale(1.12);
  }

  .serenia-designed__title,
  .serenia-designed__lead,
  .serenia-designed__cta {
    opacity: 1;
    transform: none;
  }
}

/* Serenia Living — Quietly Exceptional */
.serenia-masterpieces,
.serenia-residence {
  --serenia-section-pad-y: clamp(96px, 14vh, 180px);
}

.serenia-masterpieces {
  position: relative;
  z-index: 0;
  background: #fffbf5;
  color: #2c1e12;
}

.serenia-masterpieces__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  /* Match Residence equal top/bottom spacing */
  padding: var(--serenia-section-pad-y) clamp(20px, 4vw, 56px);
}

.serenia-masterpieces__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  margin: 0;
  width: min(520px, 100%);
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 3.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 3.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.serenia-masterpieces__rule {
  flex: 1 1 auto;
  height: 1px;
  background: #cbb79a;
  min-width: 36px;
  transform: scaleX(0.4);
  transform-origin: center center;
  transition: transform 3.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.serenia-masterpieces__eyebrow-text {
  flex: 0 0 auto;
  font-family: var(--beyond-optima);
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #cbb79a;
}

.serenia-masterpieces__title {
  margin: clamp(22px, 3.2vh, 34px) 0 0;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: #696969;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 3.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
    transform 3.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.serenia-masterpieces__lead {
  margin: clamp(18px, 2.6vh, 26px) 0 0;
  max-width: min(52rem, 100%);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  letter-spacing: 0.42em;
  text-indent: 0;
  text-align: center;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 3.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
    transform 3.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.serenia-masterpieces__divider {
  display: block;
  width: clamp(48px, 8vw, 72px);
  height: 1px;
  margin: clamp(22px, 3.2vh, 32px) auto 0;
  background: #cbb79a;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center center;
  transition:
    opacity 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
    transform 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.serenia-masterpieces__body {
  margin: clamp(20px, 3vh, 28px) 0 0;
  max-width: min(42rem, 92vw);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 3.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s,
    transform 3.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s;
}

.serenia-masterpieces.is-inview .serenia-masterpieces__eyebrow,
.serenia-masterpieces.is-inview .serenia-masterpieces__title,
.serenia-masterpieces.is-inview .serenia-masterpieces__lead,
.serenia-masterpieces.is-inview .serenia-masterpieces__body {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.serenia-masterpieces.is-inview .serenia-masterpieces__rule,
.serenia-masterpieces.is-inview .serenia-masterpieces__divider {
  opacity: 1;
  transform: scaleX(1);
}

body.dark-theme .serenia-masterpieces__title,
body.dark-theme .serenia-masterpieces__lead,
body.dark-theme .serenia-masterpieces__body {
  color: #696969;
}

@media (prefers-reduced-motion: reduce) {
  .serenia-masterpieces__eyebrow,
  .serenia-masterpieces__title,
  .serenia-masterpieces__lead,
  .serenia-masterpieces__rule,
  .serenia-masterpieces__divider,
  .serenia-masterpieces__body {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .serenia-masterpieces,
  .serenia-residence {
    --serenia-section-pad-y: clamp(52px, 8vh, 80px);
  }

  .serenia-masterpieces__title {
    font-size: clamp(1.2rem, 3.4vw, 1.85rem);
    letter-spacing: 0.14em;
    white-space: normal;
  }

  .serenia-masterpieces__lead {
    letter-spacing: 0.28em;
    text-indent: 0;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .serenia-masterpieces,
  .serenia-residence {
    --serenia-section-pad-y: 16px;
  }

  .serenia-masterpieces {
    position: relative;
    z-index: 0;
    margin: 0;
    transform: none;
    background: #fffbf5;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .serenia-masterpieces__inner {
    padding: var(--serenia-section-pad-y) 20px;
  }

  .serenia-masterpieces__eyebrow {
    gap: 12px;
    width: 100%;
  }

  .serenia-masterpieces__eyebrow-text {
    letter-spacing: 0.2em;
    font-size: 0.7rem;
  }

  .serenia-masterpieces__title {
    margin-top: 14px;
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
    letter-spacing: 0.12em;
  }

  .serenia-masterpieces__lead {
    margin-top: 12px;
    font-size: clamp(0.78rem, 3.1vw, 0.95rem);
    letter-spacing: 0.18em;
    text-indent: 0;
    text-align: center;
  }

  .serenia-masterpieces__divider {
    margin-top: 18px;
    width: 48px;
  }

  .serenia-masterpieces__body {
    margin-top: 18px;
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    line-height: 1.65;
    max-width: 92vw;
  }
}

/* Serenia Living — Dressing suite image */
.serenia-suite {
  position: relative;
  z-index: 1;
  background: #fffbf5;
  padding: 0;
  overflow: hidden;
}

.serenia-suite__media {
  position: relative;
  margin: 0;
  width: 100%;
  height: clamp(420px, 72vh, 820px);
  overflow: hidden;
}

.serenia-suite__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.06) translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.serenia-suite.is-inview .serenia-suite__media img {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

@media (max-width: 900px) {
  .serenia-suite__media {
    height: clamp(360px, 62vh, 620px);
  }
}

@media (max-width: 560px) {
  .serenia-suite {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .serenia-suite__media {
    height: clamp(220px, 38vh, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .serenia-suite__media img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Serenia Living — The Residence */
.serenia-residence {
  position: relative;
  z-index: 1;
  background: #fffbf5;
  color: #696969;
}

.serenia-residence__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: min(920px, 100%);
  box-sizing: border-box;
  padding: var(--serenia-section-pad-y) clamp(20px, 4vw, 56px);
}

.serenia-residence__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin: 0;
  width: min(720px, 100%);
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.serenia-residence__rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 40px;
  background: #c4b8a8;
}

.serenia-residence__title-text {
  flex: 0 0 auto;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #696969;
  white-space: nowrap;
}

.serenia-residence__location {
  margin: clamp(18px, 2.5vh, 26px) 0 0;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: #7a7268;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.serenia-residence__divider {
  display: block;
  width: clamp(48px, 8vw, 72px);
  height: 1px;
  margin: clamp(18px, 2.6vh, 26px) auto 0;
  background: #c4b8a8;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center center;
  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.16s,
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.16s;
}

.serenia-residence__specs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  margin: clamp(18px, 2.6vh, 26px) 0 0;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.serenia-residence__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #696969;
  flex: 0 0 auto;
}

.serenia-residence__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(28px, 4vh, 40px);
  min-height: 52px;
  padding: 0 clamp(28px, 4vw, 48px);
  border: 1px solid #9a9084;
  background: transparent;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.34s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.34s;
}

.serenia-residence__body {
  margin: clamp(28px, 4vh, 40px) 0 0;
  max-width: min(42rem, 92vw);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.42s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

.serenia-residence.is-inview .serenia-residence__title,
.serenia-residence.is-inview .serenia-residence__location,
.serenia-residence.is-inview .serenia-residence__specs,
.serenia-residence.is-inview .serenia-residence__price,
.serenia-residence.is-inview .serenia-residence__body {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.serenia-residence.is-inview .serenia-residence__divider {
  opacity: 1;
  transform: scaleX(1);
}

body.dark-theme .serenia-residence__title-text,
body.dark-theme .serenia-residence__location,
body.dark-theme .serenia-residence__specs,
body.dark-theme .serenia-residence__price,
body.dark-theme .serenia-residence__body {
  color: #696969;
}

@media (max-width: 560px) {
  .serenia-residence {
    background: #fffbf5;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .serenia-residence__inner {
    padding: var(--serenia-section-pad-y) 20px;
  }

  .serenia-residence__title {
    gap: 12px;
    width: 100%;
  }

  .serenia-residence__title-text {
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
    letter-spacing: 0.12em;
  }

  .serenia-residence__location {
    margin-top: 12px;
    letter-spacing: 0.06em;
    text-indent: 0;
  }

  .serenia-residence__divider {
    margin-top: 16px;
    width: 48px;
  }

  .serenia-residence__specs {
    margin-top: 16px;
    gap: 0.4rem 0.65rem;
  }

  .serenia-residence__price {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    margin-top: 20px;
    letter-spacing: 0.08em;
  }

  .serenia-residence__body {
    margin-top: 24px;
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    line-height: 1.65;
    max-width: 92vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .serenia-residence__title,
  .serenia-residence__location,
  .serenia-residence__divider,
  .serenia-residence__specs,
  .serenia-residence__price,
  .serenia-residence__body {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Serenia Living — World sticky + Amenities glide overlay */
.serenia-overlay-stack {
  position: relative;
  isolation: isolate;
}

.serenia-overlay-stack .serenia-world {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.serenia-overlay-stack .serenia-amenities {
  position: relative;
  z-index: 2;
  background: #fffbf5;
  box-shadow: 0 -24px 48px rgba(44, 30, 18, 0.08);
}

/* Serenia Living — A Private World Within (slit panels) */
.serenia-world {
  --serenia-world-gap: clamp(22px, 2.8vw, 40px);
  position: relative;
  z-index: 1;
  background: #fff;
  color: #fff;
}

.serenia-world__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  min-height: clamp(280px, 42vw, 620px);
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(1.015);
  transition:
    opacity 2.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.serenia-world.is-inview .serenia-world__frame {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.serenia-world__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.serenia-world__slits {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.serenia-world__slit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--serenia-world-gap);
  background: #fff;
}

.serenia-world__slit:nth-child(1) {
  left: calc((100% - 4 * var(--serenia-world-gap)) / 5 + 0 * var(--serenia-world-gap));
}

.serenia-world__slit:nth-child(2) {
  left: calc(2 * ((100% - 4 * var(--serenia-world-gap)) / 5) + 1 * var(--serenia-world-gap));
}

.serenia-world__slit:nth-child(3) {
  left: calc(3 * ((100% - 4 * var(--serenia-world-gap)) / 5) + 2 * var(--serenia-world-gap));
}

.serenia-world__slit:nth-child(4) {
  left: calc(4 * ((100% - 4 * var(--serenia-world-gap)) / 5) + 3 * var(--serenia-world-gap));
}

.serenia-world__banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(52px, 7.5vw, 88px);
  padding: 0 clamp(16px, 3vw, 40px);
  transform: translateY(-50%);
  background: rgba(55, 48, 42, 0.32);
  backdrop-filter: blur(2px);
}

.serenia-world__banner-text {
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.serenia-world.is-inview .serenia-world__banner-text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.serenia-world__trigger {
  position: absolute;
  left: 50%;
  top: calc(50% - clamp(12px, 2vw, 28px));
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(148px, 18vw, 220px);
  height: clamp(148px, 18vw, 220px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1612;
  cursor: pointer;
  transform: translateX(-50%);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.serenia-world__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}

.serenia-world__click-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(28px, 22%, 42px);
  padding: 0 8px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.serenia-world__click-text {
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: #2c1e12;
  white-space: nowrap;
}

.serenia-world__trigger:hover,
.serenia-world__trigger:focus-visible {
  transform: translateX(-50%) scale(1.04);
  outline: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.serenia-world__player {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.5vw, 28px);
  margin: 0;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: auto;
}

.serenia-world__player[hidden] {
  display: none !important;
}

.serenia-world__player-stage {
  position: relative;
  width: min(420px, calc(100vw - 24px), calc((100vh - 24px) * 9 / 16));
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 24px);
  max-width: calc(100vw - 24px);
  pointer-events: auto;
  background: #000;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.serenia-world__player-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

.serenia-world__player-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.serenia-world__player-close-icon {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.serenia-world__player-close:hover,
.serenia-world__player-close:focus-visible {
  background: rgba(0, 0, 0, 0.5);
  outline: none;
}

.serenia-world.is-playing .serenia-world__trigger {
  visibility: hidden;
  pointer-events: none;
}

body.serenia-world-playing {
  overflow: hidden;
}

body.dark-theme .serenia-world__banner-text {
  color: #fff;
}

body.dark-theme .serenia-world__trigger {
  background: #1a1612;
}

@media (max-width: 760px) {
  /* Stack normally on mobile — sticky 100vh left large empty gaps */
  .serenia-overlay-stack .serenia-world {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 0;
    justify-content: flex-start;
  }

  .serenia-overlay-stack .serenia-amenities {
    box-shadow: none;
  }

  .serenia-world {
    --serenia-world-gap: clamp(14px, 3.6vw, 24px);
  }

  .serenia-world__frame {
    aspect-ratio: 1.35 / 1;
    min-height: 260px;
  }

  .serenia-world__banner {
    min-height: 44px;
  }

  .serenia-world__banner-text {
    letter-spacing: 0.12em;
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
    white-space: normal;
  }

  .serenia-world__trigger {
    top: calc(50% - 8px);
    width: 112px;
    height: 112px;
  }

  .serenia-world__click-banner {
    min-height: 26px;
  }

  .serenia-world__click-text {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  /* Same 9:16 overlay as desktop — sits above the full page */
  .serenia-world__player {
    position: fixed;
    inset: 0;
    z-index: 12000;
    padding: 16px;
  }

  .serenia-world__player-stage {
    width: min(360px, calc(100vw - 32px), calc((100vh - 32px) * 9 / 16));
    aspect-ratio: 9 / 16;
    max-height: calc(100vh - 32px);
    max-width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .serenia-world__frame {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .serenia-world__banner-text {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .serenia-world__trigger {
    transition: none;
  }
}

/* Serenia Living — Amenities */
.serenia-amenities {
  position: relative;
  z-index: 1;
  background: #fffbf5;
  color: #696969;
  padding-bottom: clamp(64px, 10vh, 120px);
}

.serenia-amenities__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(72px, 12vh, 140px) clamp(20px, 4vw, 56px) clamp(48px, 7vh, 80px);
}

.serenia-amenities__title {
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-indent: 0;
  text-align: center;
  text-transform: uppercase;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.serenia-amenities__lead {
  margin: clamp(16px, 2.4vh, 24px) 0 0;
  max-width: min(58rem, 94vw);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  letter-spacing: 0.18em;
  text-indent: 0;
  text-align: center;
  color: #696969;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.serenia-amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(48px, 9vw, 140px);
  row-gap: clamp(28px, 4vh, 40px);
  width: min(1240px, 94vw);
  margin-top: clamp(72px, 11vh, 120px);
  text-align: left;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.24s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.24s;
}

.serenia-amenities__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95em;
}

.serenia-amenities__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #696969;
}

.serenia-amenities__list i {
  flex: 0 0 1.15em;
  width: 1.15em;
  font-size: 0.95em;
  text-align: center;
  color: #696969;
}

.serenia-amenities__list span {
  flex: 1 1 auto;
}

.serenia-amenities__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 14px);
  width: 100%;
  padding: 0;
  margin: clamp(28px, 4vh, 48px) 0 0;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.34s,
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.34s;
}

.serenia-amenities__shot {
  margin: 0;
  overflow: hidden;
  background: #ece6dc;
}

.serenia-amenities__shot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.serenia-amenities.is-inview .serenia-amenities__title,
.serenia-amenities.is-inview .serenia-amenities__lead,
.serenia-amenities.is-inview .serenia-amenities__grid,
.serenia-amenities.is-inview .serenia-amenities__gallery {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.dark-theme .serenia-amenities__title,
body.dark-theme .serenia-amenities__lead,
body.dark-theme .serenia-amenities__list li,
body.dark-theme .serenia-amenities__list i {
  color: #696969;
}

@media (max-width: 900px) {
  .serenia-amenities {
    padding-bottom: clamp(36px, 6vh, 64px);
  }

  .serenia-amenities__grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    width: min(360px, 92vw);
  }

  .serenia-amenities__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .serenia-amenities {
    background: #fffbf5;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .serenia-amenities__inner {
    padding: 28px 20px;
  }

  .serenia-amenities__title {
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
    letter-spacing: 0.12em;
    text-indent: 0;
    text-align: center;
  }

  .serenia-amenities__lead {
    letter-spacing: 0.08em;
    text-indent: 0;
    text-align: center;
    font-size: clamp(0.82rem, 3.2vw, 0.98rem);
    margin-top: 10px;
  }

  .serenia-amenities__grid {
    margin-top: 24px;
    row-gap: 0.85rem;
  }

  .serenia-amenities__gallery {
    margin-top: 20px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .serenia-amenities__title,
  .serenia-amenities__lead,
  .serenia-amenities__grid,
  .serenia-amenities__gallery {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Invest in Dubai — Exceptional Addresses ===== */
.invest-addresses {
  --invest-ink: #505050;
  --invest-cream: #f4f1eb;
  --invest-accent: #DDDCCB;
  --pan-progress: 0;
  position: relative;
  z-index: 1;
  background-color: var(--invest-cream);
  color: #505050;
  padding: 0;
  overflow: visible;
}

.invest-addresses__track {
  position: relative;
  height: 220vh;
}

.invest-addresses__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  height: 100vh;
  padding: clamp(48px, 7vh, 88px) 0 clamp(40px, 6vh, 72px);
  overflow: hidden;
  background-color: var(--invest-cream);
}

.invest-addresses__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.invest-addresses__title {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin: 0 auto clamp(20px, 3vh, 36px);
  max-width: min(1180px, calc(100% - 2 * clamp(20px, 4vw, 56px)));
  text-align: center;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.invest-addresses.is-inview .invest-addresses__title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.dark-theme .invest-addresses,
body.dark-theme .invest-addresses__title,
body.dark-theme .invest-addresses__copy,
body.dark-theme .invest-addresses__cta {
  color: #505050;
}

body.dark-theme .invest-addresses__cta:hover,
body.dark-theme .invest-addresses__cta:focus-visible {
  color: #fff;
}

.invest-addresses__stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0;
}

.invest-addresses__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(120px, 16vw, 180px);
  background: var(--invest-accent);
  z-index: 0;
}

.invest-addresses__media {
  --pan-progress: 0;
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  height: min(58vh, 560px);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  background: #d8d2c6;
}

.invest-addresses__skyline {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  will-change: transform;
  transform: translate3d(calc(var(--pan-progress) * -50%), 0, 0);
}

.invest-addresses__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.invest-addresses__card {
  position: absolute;
  z-index: 2;
  top: 48%;
  right: 0;
  bottom: auto;
  left: auto;
  display: flex;
  justify-content: flex-end;
  width: min(720px, 68vw);
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: right;
  transform: translateY(-50%);
  pointer-events: none;
  container-type: inline-size;
  container-name: invest-card;
}

/* Single roll on the right — expands toward the left */
.invest-addresses__card-mask {
  position: relative;
  display: flex;
  justify-content: flex-end; /* keep sheet’s right edge fixed */
  align-items: stretch;
  width: 70px;
  max-width: 100%;
  overflow: hidden;
  transform-origin: right center;
  pointer-events: auto;
  border-radius: 35px 0 0 35px;
  background: linear-gradient(
    90deg,
    #5c574f 0%,
    #cfc8bc 30%,
    #f7f5f1 55%,
    #bdb6aa 100%
  );
  box-shadow: -6px 10px 24px rgba(0, 0, 0, 0.2);
  transition:
    width 2.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 2.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.7s ease 0.5s,
    box-shadow 0.7s ease 0.5s;
  will-change: width;
}

.invest-addresses.is-inview .invest-addresses__card-mask {
  width: 100%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.invest-addresses.is-resetting .invest-addresses__card-mask,
.invest-addresses.is-resetting .invest-addresses__card-sheet,
.invest-addresses.is-resetting .invest-addresses__title,
.invest-addresses.is-resetting .invest-addresses__copy,
.invest-addresses.is-resetting .invest-addresses__cta {
  transition: none !important;
}

.invest-addresses__card-sheet {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  width: 100%;
  min-width: 100%;
  width: 100cqw;
  min-width: 100cqw;
  margin: 0;
  padding: clamp(18px, 2.2vw, 28px) clamp(32px, 4.5vw, 56px);
  background: #f7f5f1;
  box-shadow:
    0 12px 28px rgba(40, 40, 40, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  opacity: 0;
  transition: opacity 1.4s ease 0.55s;
}

.invest-addresses.is-inview .invest-addresses__card-sheet {
  opacity: 1;
}

.invest-addresses__copy {
  margin: 0 0 0.85rem;
  max-width: none;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #505050;
  text-align: right;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 1.15s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 1.15s;
}

.invest-addresses.is-inview .invest-addresses__copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-addresses__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  min-height: 38px;
  padding: 0 22px;
  border: 1px solid #505050;
  border-radius: 999px;
  background: transparent;
  color: #505050;
  font-family: var(--beyond-optima);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 1.55s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 1.55s;
}

.invest-addresses.is-inview .invest-addresses__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-addresses__cta:hover,
.invest-addresses__cta:focus-visible {
  background: #505050;
  color: #fff;
}

@media (max-width: 900px) {
  .invest-addresses__track {
    height: 180vh;
  }

  .invest-addresses__sticky {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding: clamp(36px, 6vh, 56px) 0 clamp(28px, 5vh, 48px);
  }

  .invest-addresses__media {
    height: min(42vh, 380px);
  }

  .invest-addresses__accent {
    left: 0;
    width: clamp(40px, 10vw, 64px);
    top: 0;
    bottom: 0;
    height: auto;
  }

  .invest-addresses__card {
    position: relative;
    top: auto;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: -28px 0 0;
    transform: none;
    justify-content: stretch;
  }

  /* Skip narrow paper-roll start on small screens — show full card */
  .invest-addresses__card-mask {
    width: 100%;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .invest-addresses.is-inview .invest-addresses__card-mask {
    width: 100%;
  }

  .invest-addresses__card-sheet {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    padding: clamp(18px, 4vw, 24px) clamp(18px, 4vw, 28px);
    opacity: 1;
  }

  .invest-addresses__copy,
  .invest-addresses__cta {
    text-align: left;
    align-self: flex-start;
  }
}

@media (max-width: 560px) {
  .invest-addresses__track {
    height: 160vh;
  }

  .invest-addresses__title {
    max-width: calc(100% - 32px);
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .invest-addresses__media {
    height: min(36vh, 280px);
  }

  .invest-addresses__card {
    margin-top: -18px;
  }

  .invest-addresses__cta {
    align-self: stretch;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .invest-addresses__track {
    height: auto;
  }

  .invest-addresses__sticky {
    position: relative;
    height: auto;
    min-height: 0;
  }

  .invest-addresses__skyline {
    transform: translate3d(-25%, 0, 0);
  }
}

/* ===== Invest in Dubai — Exceptional Residences ===== */
.invest-residences {
  --invest-ink: #505050;
  position: relative;
  z-index: 1;
  background: #f7f7f5;
  color: var(--invest-ink);
}

.invest-residences__intro {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.invest-residences__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.invest-residences__intro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.invest-residences__copy {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #505050;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.invest-residences.is-inview .invest-residences__copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-residences__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border: 1px solid #505050;
  border-radius: 999px;
  background: transparent;
  color: #505050;
  font-family: var(--beyond-optima);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.invest-residences.is-inview .invest-residences__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-residences__cta:hover,
.invest-residences__cta:focus-visible {
  background: #505050;
  color: #fff;
}

body.dark-theme .invest-residences__copy,
body.dark-theme .invest-residences__cta {
  color: #505050;
}

body.dark-theme .invest-residences__cta:hover,
body.dark-theme .invest-residences__cta:focus-visible {
  color: #fff;
}

.invest-residences.is-resetting .invest-residences__copy,
.invest-residences.is-resetting .invest-residences__cta,
.invest-residences.is-resetting .invest-residences__media img {
  transition: none !important;
}

.invest-residences__media {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.invest-residences__media img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  object-position: center center;
  opacity: 0.75;
  transform: scale(1.22) translate3d(4%, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition:
    opacity 2.8s ease 0.2s,
    transform 6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.invest-residences.is-inview .invest-residences__media img {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

@media (max-width: 700px) {
  .invest-residences__intro {
    padding: clamp(28px, 7vw, 48px) 18px;
  }

  .invest-residences__copy {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  }

  .invest-residences__copy br {
    display: none;
  }

  .invest-residences__cta {
    width: 100%;
    max-width: 280px;
  }

  .invest-residences__media img {
    aspect-ratio: 16 / 10;
    transform: scale(1.12) translate3d(2%, 0, 0);
  }

  .invest-residences.is-inview .invest-residences__media img {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

/* ===== Invest in Dubai — Why Invest ===== */
.invest-why {
  --invest-ink: #505050;
  --invest-cream: #f9f7f0;
  --invest-accent: #c9c6b4;
  --invest-line: #cfc9bc;
  --invest-why-space: clamp(40px, 5.5vw, 72px);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--invest-cream);
  color: var(--invest-ink);
  padding: var(--invest-why-space) 0;
}

.invest-why__accent {
  position: absolute;
  left: 0;
  top: var(--invest-why-space);
  bottom: var(--invest-why-space);
  z-index: 0;
  width: clamp(52px, 5.5vw, 80px);
  background: var(--invest-accent);
}

.invest-why__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.05fr);
  align-items: stretch;
  min-height: clamp(560px, 68vh, 720px);
  gap: 0;
}

.invest-why__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(24px, 4vw, 48px)
    clamp(32px, 4.5vw, 56px)
    clamp(24px, 4vw, 48px)
    clamp(88px, 11vw, 148px);
}

.invest-why__title {
  position: relative;
  margin: 0 0 clamp(22px, 3vw, 32px);
  padding-bottom: 0.65rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.invest-why__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 11.5em);
  height: 1px;
  background: var(--invest-line);
}

.invest-why.is-inview .invest-why__title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-why__subtitle {
  margin: 0 0 1rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.invest-why.is-inview .invest-why__subtitle {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-why__copy {
  max-width: 32rem;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.28s,
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

.invest-why.is-inview .invest-why__copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-why__copy p {
  margin: 0 0 1.1rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #505050;
}

.invest-why__copy p:last-child {
  margin-bottom: 0;
}

.invest-why__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 32rem;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.38s,
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}

.invest-why.is-inview .invest-why__list {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  margin: 0 0 0.7rem;
  padding: 0;
  font-family: var(--beyond-optima);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.5;
  color: #505050;
}

.invest-why__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.08rem;
  color: #7a756e;
  font-size: 0.95rem;
  line-height: 1;
}

.invest-why__list li:last-child {
  margin-bottom: 0;
}

.invest-why__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: clamp(26px, 3.5vw, 36px);
  min-height: 42px;
  padding: 0 26px;
  border: 1px solid #8f8a84;
  border-radius: 999px;
  background: transparent;
  color: #505050;
  font-family: var(--beyond-optima);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.invest-why.is-inview .invest-why__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-why__cta:hover,
.invest-why__cta:focus-visible {
  background: #505050;
  border-color: #505050;
  color: #fff;
}

.invest-why__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(24px, 0, 0);
  transition:
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.invest-why.is-inview .invest-why__photo {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-why__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

.invest-why.is-resetting .invest-why__title,
.invest-why.is-resetting .invest-why__subtitle,
.invest-why.is-resetting .invest-why__copy,
.invest-why.is-resetting .invest-why__list,
.invest-why.is-resetting .invest-why__cta,
.invest-why.is-resetting .invest-why__photo {
  transition: none !important;
}

body.dark-theme .invest-why,
body.dark-theme .invest-why__title,
body.dark-theme .invest-why__subtitle,
body.dark-theme .invest-why__copy p,
body.dark-theme .invest-why__list li,
body.dark-theme .invest-why__cta {
  color: #505050;
}

body.dark-theme .invest-why__cta:hover,
body.dark-theme .invest-why__cta:focus-visible {
  color: #fff;
}

@media (max-width: 980px) {
  .invest-why__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .invest-why__accent {
    width: 36px;
  }

  .invest-why__content {
    order: 1;
    padding: clamp(40px, 8vw, 64px) clamp(20px, 5vw, 40px) clamp(36px, 6vw, 48px) clamp(56px, 12vw, 88px);
  }

  .invest-why__photo {
    order: 2;
    min-height: clamp(360px, 78vw, 520px);
  }

  .invest-why__photo img {
    min-height: clamp(360px, 78vw, 520px);
  }
}

@media (max-width: 560px) {
  .invest-why__accent {
    width: 22px;
  }

  .invest-why__content {
    padding: 36px 18px 32px 40px;
  }

  .invest-why__title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .invest-why__copy p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .invest-why__cta {
    width: 100%;
  }

  .invest-why__photo {
    min-height: clamp(300px, 95vw, 420px);
  }

  .invest-why__photo img {
    min-height: clamp(300px, 95vw, 420px);
  }
}

/* ===== Invest in Dubai — Solutions ===== */
.invest-solutions {
  --invest-ink: #505050;
  position: relative;
  z-index: 1;
  background: #f9f7f0;
  color: var(--invest-ink);
  padding: clamp(100px, 14vw, 180px) clamp(20px, 4vw, 56px);
}

.invest-solutions__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.invest-solutions__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--beyond-optima);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a756e;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.invest-solutions__title {
  margin: 0 0 0.9rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.invest-solutions__lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-family: var(--beyond-optima);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.invest-solutions__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

.invest-solutions__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1.1rem 0.85rem;
  border: 1px solid #cfc9bc;
  background: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    border-color 0.2s ease;
}

.invest-solutions.is-inview .invest-solutions__eyebrow,
.invest-solutions.is-inview .invest-solutions__title,
.invest-solutions.is-inview .invest-solutions__lead,
.invest-solutions.is-inview .invest-solutions__item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-solutions.is-inview .invest-solutions__item:nth-child(1) { transition-delay: 0.28s; }
.invest-solutions.is-inview .invest-solutions__item:nth-child(2) { transition-delay: 0.36s; }
.invest-solutions.is-inview .invest-solutions__item:nth-child(3) { transition-delay: 0.44s; }
.invest-solutions.is-inview .invest-solutions__item:nth-child(4) { transition-delay: 0.52s; }
.invest-solutions.is-inview .invest-solutions__item:nth-child(5) { transition-delay: 0.6s; }

.invest-solutions__item:hover {
  background: #fff;
  border-color: #9a9590;
}

.invest-solutions__name {
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.35;
  color: #505050;
}

.invest-solutions.is-resetting .invest-solutions__eyebrow,
.invest-solutions.is-resetting .invest-solutions__title,
.invest-solutions.is-resetting .invest-solutions__lead,
.invest-solutions.is-resetting .invest-solutions__item {
  transition: none !important;
}

body.dark-theme .invest-solutions,
body.dark-theme .invest-solutions__title,
body.dark-theme .invest-solutions__lead,
body.dark-theme .invest-solutions__name {
  color: #505050;
}

@media (max-width: 980px) {
  .invest-solutions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .invest-solutions__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Invest in Dubai — Why Choose ===== */
.invest-choose {
  --invest-ink: #505050;
  --invest-cream: #f4f1eb;
  --invest-accent: #c9c6b4;
  --invest-line: #cfc9bc;
  --invest-choose-space: clamp(40px, 5.5vw, 72px);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--invest-cream);
  color: var(--invest-ink);
  padding: var(--invest-choose-space) 0;
}

.invest-choose__accent {
  position: absolute;
  right: 0;
  top: var(--invest-choose-space);
  bottom: var(--invest-choose-space);
  z-index: 0;
  width: clamp(52px, 5.5vw, 80px);
  background: var(--invest-accent);
}

.invest-choose__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(540px, 66vh, 700px);
  gap: 0;
}

.invest-choose__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(-24px, 0, 0) scale(1.04);
  transition:
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.invest-choose.is-inview .invest-choose__photo {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.invest-choose__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.invest-choose__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(28px, 4vw, 56px)
    clamp(88px, 11vw, 140px)
    clamp(28px, 4vw, 56px)
    clamp(32px, 4.5vw, 64px);
}

.invest-choose__title {
  position: relative;
  margin: 0 0 clamp(18px, 2.5vw, 26px);
  padding-bottom: 0.65rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.2;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.invest-choose__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 12em);
  height: 1px;
  background: var(--invest-line);
}

.invest-choose__subtitle {
  margin: 0 0 0.85rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.35;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.invest-choose__lead {
  margin: 0 0 1.35rem;
  max-width: 32rem;
  font-family: var(--beyond-optima);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.invest-choose__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  max-width: 30rem;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.invest-choose__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(80, 80, 80, 0.12);
  font-family: var(--beyond-optima);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.45;
  color: #505050;
}

.invest-choose__list li:last-child {
  border-bottom: 0;
}

.invest-choose__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  color: #7a756e;
  font-size: 0.95rem;
  line-height: 1;
}

.invest-choose__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid #8f8a84;
  border-radius: 999px;
  background: transparent;
  color: #505050;
  font-family: var(--beyond-optima);
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.invest-choose__cta:hover,
.invest-choose__cta:focus-visible {
  background: #505050;
  border-color: #505050;
  color: #fff;
}

.invest-choose.is-inview .invest-choose__title,
.invest-choose.is-inview .invest-choose__subtitle,
.invest-choose.is-inview .invest-choose__lead,
.invest-choose.is-inview .invest-choose__list,
.invest-choose.is-inview .invest-choose__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-choose.is-resetting .invest-choose__photo,
.invest-choose.is-resetting .invest-choose__title,
.invest-choose.is-resetting .invest-choose__subtitle,
.invest-choose.is-resetting .invest-choose__lead,
.invest-choose.is-resetting .invest-choose__list,
.invest-choose.is-resetting .invest-choose__cta {
  transition: none !important;
}

body.dark-theme .invest-choose,
body.dark-theme .invest-choose__title,
body.dark-theme .invest-choose__subtitle,
body.dark-theme .invest-choose__lead,
body.dark-theme .invest-choose__list li,
body.dark-theme .invest-choose__cta {
  color: #505050;
}

body.dark-theme .invest-choose__cta:hover,
body.dark-theme .invest-choose__cta:focus-visible {
  color: #fff;
}

@media (max-width: 980px) {
  .invest-choose__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .invest-choose__accent {
    width: 36px;
  }

  .invest-choose__photo {
    order: 2;
    min-height: clamp(320px, 72vw, 480px);
  }

  .invest-choose__photo img {
    min-height: clamp(320px, 72vw, 480px);
  }

  .invest-choose__content {
    order: 1;
    padding: clamp(40px, 8vw, 64px) clamp(20px, 5vw, 40px) clamp(36px, 6vw, 48px) clamp(28px, 6vw, 48px);
  }
}

@media (max-width: 560px) {
  .invest-choose__accent {
    width: 22px;
  }

  .invest-choose__content {
    padding: 36px 18px 32px 22px;
  }

  .invest-choose__title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .invest-choose__cta {
    width: 100%;
  }

  .invest-choose__photo {
    min-height: clamp(280px, 90vw, 400px);
  }

  .invest-choose__photo img {
    min-height: clamp(280px, 90vw, 400px);
  }
}

/* ===== Invest in Dubai — Gallery ===== */
.invest-gallery {
  position: relative;
  z-index: 1;
  background: #0a0a0a;
}

.invest-gallery__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.invest-gallery__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(280px, 48vw, 720px);
}

.invest-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}

.invest-gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.invest-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.invest-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
}

.invest-gallery__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.invest-gallery__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.invest-gallery__dot:hover,
.invest-gallery__dot:focus-visible {
  background: #fff;
  outline: none;
}

@media (max-width: 900px) {
  .invest-gallery__track {
    aspect-ratio: 4 / 3;
    min-height: clamp(240px, 70vw, 480px);
  }
}

@media (max-width: 560px) {
  .invest-gallery__track {
    aspect-ratio: 1 / 1;
    min-height: 240px;
  }

  .invest-gallery__dots {
    bottom: 12px;
    gap: 8px;
  }

  .invest-gallery__dot {
    width: 8px;
    height: 8px;
  }
}

/* ===== Invest in Dubai — Desired Locations ===== */
.invest-locations {
  --invest-ink: #505050;
  --invest-accent: #9a9478;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #f4f2ec;
  color: var(--invest-ink);
  padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 9vw, 110px);
}

.invest-locations__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.invest-locations__accent {
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 10%;
  z-index: 0;
  width: clamp(56px, 7vw, 96px);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      transparent 2px 6px
    ),
    linear-gradient(180deg, #b7b08f 0%, #8f896c 100%);
}

.invest-locations__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2 * clamp(20px, 4vw, 56px)));
  margin: 0 auto;
  padding-right: clamp(24px, 5vw, 64px);
}

.invest-locations__title {
  margin: 0 auto clamp(36px, 5vw, 56px);
  max-width: min(22em, 100%);
  text-align: center;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #505050;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.invest-locations.is-inview .invest-locations__title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-locations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.invest-locations__card {
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 1.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.invest-locations.is-inview .invest-locations__card:nth-child(1) { transition-delay: 0.25s; }
.invest-locations.is-inview .invest-locations__card:nth-child(2) { transition-delay: 0.45s; }
.invest-locations.is-inview .invest-locations__card:nth-child(3) { transition-delay: 0.65s; }

.invest-locations.is-inview .invest-locations__card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.invest-locations__frame {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(8px, 1vw, 12px);
  box-shadow: 0 14px 36px rgba(40, 40, 40, 0.1);
}

.invest-locations__frame img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center center;
}

.invest-locations__caption {
  position: absolute;
  left: clamp(8px, 1vw, 12px);
  right: clamp(8px, 1vw, 12px);
  bottom: clamp(8px, 1vw, 12px);
  z-index: 1;
  padding: clamp(48px, 8vw, 72px) clamp(12px, 1.6vw, 18px) clamp(12px, 1.6vw, 16px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  color: #fff;
}

.invest-locations__name {
  margin: 0 0 0.2rem;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
}

.invest-locations__tagline {
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 400;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.invest-locations.is-resetting .invest-locations__title,
.invest-locations.is-resetting .invest-locations__card {
  transition: none !important;
}

body.dark-theme .invest-locations,
body.dark-theme .invest-locations__title {
  color: #505050;
}

@media (max-width: 1100px) {
  .invest-locations__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .invest-locations__inner {
    width: min(calc(100% - 32px), 1180px);
    padding-right: clamp(36px, 6vw, 56px);
  }
}

@media (max-width: 900px) {
  .invest-locations {
    padding: clamp(48px, 8vw, 72px) 0;
  }

  .invest-locations__accent {
    width: 36px;
    top: 8%;
    bottom: 6%;
  }

  .invest-locations__inner {
    width: calc(100% - 32px);
    padding-right: 28px;
  }

  .invest-locations__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 20px;
  }

  .invest-locations__title {
    max-width: min(18em, 100%);
    margin-bottom: 28px;
    font-size: clamp(1.55rem, 6vw, 2.2rem);
  }
}

@media (max-width: 560px) {
  .invest-locations__accent {
    width: 24px;
  }

  .invest-locations__inner {
    width: calc(100% - 24px);
    padding-right: 20px;
  }

  .invest-locations__frame {
    padding: 8px;
  }

  .invest-locations__frame img {
    aspect-ratio: 16 / 11;
  }

  .invest-locations__caption {
    padding: 40px 12px 12px;
  }

  .invest-locations__name {
    font-size: 1.1rem;
  }
}

/* Invest page — shared mobile/tablet polish */
@media (max-width: 900px) {
  .beyond-hero--invest .beyond-hero__top {
    padding: 18px 16px 0;
    gap: 10px;
  }

  .beyond-hero--invest .beyond-hero__speak {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .beyond-hero--invest .beyond-hero__body {
    padding: clamp(36px, 8vh, 72px) 16px clamp(48px, 10vh, 80px);
  }

  .beyond-hero--invest .beyond-hero__project-name {
    font-size: clamp(1.55rem, 7vw, 2.4rem);
  }

  .beyond-hero--invest .beyond-hero__cta {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }

  .invest-addresses,
  .invest-residences,
  .invest-why,
  .invest-locations,
  .invest-intro,
  .invest-solutions,
  .invest-choose {
    overflow-x: clip;
  }
}

@media (max-width: 400px) {
  .beyond-hero--invest .beyond-hero__speak {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .beyond-hero--invest .beyond-hero__back {
    width: 38px;
    height: 38px;
  }

  .invest-why__list li span,
  .invest-residences__copy,
  .invest-addresses__copy {
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

.beyond-hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 340px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 8vh, 90px) clamp(20px, 4vw, 56px) 140px;
}

.beyond-hero__title-block {
  max-width: 640px;
  opacity: 0;
  transform: translateY(18px);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.beyond-hero.is-inview .beyond-hero__title-block {
  animation: beyondFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.beyond-hero__project-name {
  margin: 0;
  font-family: var(--beyond-optima);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #fff;
}

.beyond-hero__byline {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.beyond-hero__by {
  font-family: var(--beyond-optima);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  opacity: 0.92;
}

.beyond-hero__brand {
  font-family: var(--beyond-script);
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  font-weight: 400;
  color: #fff;
  /* Reserve space so layout doesn't jump when the script font paints */
  display: inline-block;
  min-height: 0.95em;
  white-space: nowrap;
}

.beyond-hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
  font-size: var(--beyond-body);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.beyond-hero__location i {
  color: #fff;
  font-size: 1em;
}

.beyond-hero__form-wrap {
  opacity: 0;
  transform: translateY(18px);
  backface-visibility: hidden;
}

.beyond-hero.is-inview .beyond-hero__form-wrap {
  animation: beyondFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.beyond-lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.beyond-lead-form__field {
  width: 100%;
}

.beyond-lead-form input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(10, 10, 10, 0.35);
  color: #fff;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.beyond-lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.beyond-lead-form input:focus {
  border-color: #fff;
  background: rgba(10, 10, 10, 0.5);
}

.beyond-lead-form__submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: #fff;
  color: var(--beyond-ink);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.beyond-lead-form__submit:hover:not(:disabled) {
  background: #f3f3f3;
  transform: translateY(-1px);
}

.beyond-lead-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.beyond-lead-form__message {
  min-height: 1.2em;
  font-size: var(--beyond-body);
  line-height: 1.4;
}

.beyond-lead-form__message.is-success {
  color: #b8f0c4;
}

.beyond-lead-form__message.is-error {
  color: #ffb4b4;
}

.beyond-hero__form-cta {
  display: none;
  width: 100%;
  min-height: 52px;
  border: 0;
  background: #fff;
  color: var(--beyond-ink);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.beyond-hero__form-cta:hover,
.beyond-hero__form-cta:focus-visible {
  background: #f3f3f3;
  transform: translateY(-1px);
}

.beyond-hero__stats {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(18px, 3vh, 36px);
  display: grid;
  grid-template-columns: minmax(140px, 200px) repeat(5, minmax(0, 1fr));
  background: var(--beyond-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(18px);
  backface-visibility: hidden;
}

.beyond-hero.is-inview .beyond-hero__stats {
  animation: beyondFadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.beyond-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 0;
}

.beyond-stat--price {
  border-left: 0;
  background: linear-gradient(135deg, #a8874d 0%, #7a5f33 100%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
}

.beyond-stat__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.beyond-stat--price .beyond-stat__label {
  color: rgba(255, 255, 255, 0.88);
}

.beyond-stat__value {
  display: block;
  font-family: var(--beyond-optima);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
}

.beyond-stat--price .beyond-stat__value {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: #f3e2bf;
}

.beyond-stat__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--beyond-gold);
  font-size: 1.05rem;
}

.beyond-stat__text {
  min-width: 0;
}

@keyframes beyondFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-hero__title-block,
  .beyond-hero__form-wrap,
  .beyond-hero__stats {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 1100px) {
  .beyond-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .beyond-stat--price {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .beyond-hero__body {
    grid-template-columns: 1fr;
    padding-bottom: 220px;
  }

  .beyond-hero__form-wrap {
    max-width: 360px;
  }

  .beyond-hero__form-cta {
    display: block;
  }

  .beyond-lead-form {
    display: none;
  }

  .beyond-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .beyond-hero__top {
    padding-top: 20px;
  }

  .beyond-hero__body {
    padding-bottom: 280px;
  }

  .beyond-hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .beyond-stat {
    padding: 14px 12px;
  }

  .beyond-stat__value {
    white-space: normal;
  }
}

/* ===== About / story split section ===== */
.beyond-stack {
  position: relative;
  /* Keep sticky stacking available on all breakpoints */
  isolation: isolate;
}

.beyond-about {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  background: #000;
  color: #fff;
}

.beyond-about__left {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.beyond-about__left-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.beyond-about__left-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 38%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.beyond-about__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: clamp(48px, 8vh, 88px) clamp(28px, 4.5vw, 64px) clamp(40px, 6vh, 72px);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-about.is-inview .beyond-about__copy {
  animation: beyondFadeUp 0.95s ease both;
}

.beyond-about__copy p {
  margin: 0 0 1.35em;
  font-size: var(--beyond-body);
  line-height: 1.55;
}

.beyond-about__copy p:last-child {
  margin-bottom: 0;
}

.beyond-about__copy strong {
  font-weight: 700;
}

.beyond-about__script {
  font-family: var(--beyond-script);
  font-size: 1.35em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  display: inline-block;
  padding: 0 0.08em;
  vertical-align: baseline;
}

/* Pelagia: soft vignette shade over left image (not a text box) */
.beyond-about--pelagia .beyond-about__left-bg::after {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.42) 42%,
      rgba(0, 0, 0, 0.14) 100%
    ),
    radial-gradient(
      120% 90% at 0% 0%,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.24) 38%,
      rgba(0, 0, 0, 0) 70%
    );
}

.beyond-about__right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: clamp(36px, 6vw, 72px);
  min-height: 100svh;
}

.beyond-about__right-frame {
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-about.is-inview .beyond-about__right-frame {
  animation: beyondFadeUp 1.05s ease 0.12s both;
}

.beyond-about__right-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .beyond-about {
    position: sticky;
    top: 0;
    z-index: 1;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
  }

  .beyond-about__left,
  .beyond-about__right {
    min-height: auto;
  }

  .beyond-about__left {
    min-height: 70svh;
  }

  .beyond-about__right {
    padding: 40px 24px 56px;
    min-height: auto;
  }

  .beyond-about__right-frame {
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

/* ===== Overview section (scrolls over sticky about) ===== */
.beyond-overview {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #0a0a0a;
}

.beyond-overview__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.beyond-overview__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 38%,
    rgba(0, 0, 0, 0.02) 65%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Pelagia: deeper left overlay so overview copy stays readable on bright amenity art */
.beyond-overview--pelagia .beyond-overview__bg::after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(0, 0, 0, 0.12) 68%,
    rgba(0, 0, 0, 0) 100%
  );
}

.beyond-overview__content {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: clamp(56px, 10vh, 100px) clamp(24px, 5vw, 72px);
}

.beyond-overview__title {
  margin: 0 0 clamp(36px, 5vh, 56px);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-section-heading);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-overview__item {
  margin-bottom: clamp(28px, 4vh, 42px);
  opacity: 0;
  transform: translateY(18px);
}

.beyond-overview__item:last-child {
  margin-bottom: 0;
}

.beyond-overview__heading {
  margin: 0 0 10px;
  font-family: var(--beyond-optima);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.beyond-overview__text {
  margin: 0;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

.beyond-overview.is-inview .beyond-overview__title {
  animation: beyondFadeUp 0.9s ease both;
}

.beyond-overview.is-inview .beyond-overview__item:nth-child(2) {
  animation: beyondFadeUp 0.95s ease 0.1s both;
}

.beyond-overview.is-inview .beyond-overview__item:nth-child(3) {
  animation: beyondFadeUp 0.95s ease 0.18s both;
}

.beyond-overview.is-inview .beyond-overview__item:nth-child(4) {
  animation: beyondFadeUp 0.95s ease 0.26s both;
}

@media (max-width: 900px) {
  .beyond-overview {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    align-items: center;
  }

  .beyond-overview__bg {
    min-height: 100%;
  }

  .beyond-overview__content {
    width: 100%;
    padding: clamp(40px, 8vh, 64px) clamp(20px, 5vw, 28px);
  }
}

/* ===== Master Plan & Amenities (light layout) ===== */
.beyond-amenities {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #2f2f2f;
  overflow: hidden;
  background: #f7f5f1;
}

.beyond-amenities__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 72px) clamp(20px, 4vw, 48px) clamp(40px, 6vh, 64px);
}

.beyond-amenities__intro {
  max-width: 48rem;
  margin-bottom: clamp(24px, 4vh, 36px);
  opacity: 0;
  transform: translateY(16px);
}

.beyond-amenities__title {
  margin: 0 0 12px;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-section-heading);
  font-weight: 400;
  line-height: 1.05;
  color: #4a4a4a;
}

body.dark-theme .beyond-amenities__title,
body.dark-theme .beyond-amenities h2.beyond-amenities__title,
body.dark-theme .beyond-amenities__panel-title,
body.dark-theme .beyond-amenities h3.beyond-amenities__panel-title {
  color: #4a4a4a !important;
}

.beyond-amenities__lead {
  margin: 0;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #5a5a5a;
}

.beyond-amenities__panel {
  background: #ece7df;
  padding: clamp(24px, 3.5vw, 40px) clamp(22px, 3.2vw, 44px);
  margin-bottom: clamp(22px, 3.5vh, 32px);
  opacity: 0;
  transform: translateY(16px);
}

.beyond-amenities__panel-title {
  margin: 0 0 clamp(20px, 3vh, 28px);
  font-family: var(--beyond-optima);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  color: #4a4a4a;
}

.beyond-amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 36px);
}

.beyond-amenities__col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.beyond-amenities__col li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 400;
  line-height: 1.3;
  color: #3f3f3f;
}

.beyond-amenities__col i {
  width: 1.15em;
  flex: 0 0 1.15em;
  font-size: 0.95em;
  color: #4a4a4a;
  text-align: center;
}

.beyond-amenities__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  opacity: 0;
  transform: translateY(16px);
}

.beyond-amenities__shot {
  margin: 0;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 3;
}

.beyond-amenities__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.beyond-amenities.is-inview .beyond-amenities__intro {
  animation: beyondFadeUp 0.85s ease both;
}

.beyond-amenities.is-inview .beyond-amenities__panel {
  animation: beyondFadeUp 0.9s ease 0.1s both;
}

.beyond-amenities.is-inview .beyond-amenities__gallery {
  animation: beyondFadeUp 0.9s ease 0.18s both;
}

@media (max-width: 1000px) {
  .beyond-amenities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

  .beyond-amenities__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .beyond-amenities {
    min-height: auto;
    align-items: flex-start;
  }

  .beyond-amenities__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .beyond-amenities__col {
    gap: 14px;
  }

  .beyond-amenities__gallery {
    grid-template-columns: 1fr;
  }
}

/* Pelagia amenities: 3-column list + underlined panel title (matches design) */
.beyond-amenities--pelagia .beyond-amenities__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.beyond-amenities--pelagia .beyond-amenities__panel-title {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 74, 74, 0.45);
}

@media (max-width: 1000px) {
  .beyond-amenities--pelagia .beyond-amenities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .beyond-amenities--pelagia .beyond-amenities__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Payment Plan (normal scroll, fade-in like about) ===== */
.beyond-payment {
  position: relative;
  z-index: 1;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #0a0a0a;
}

.beyond-payment__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.beyond-payment__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.beyond-payment__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vh, 88px) clamp(20px, 4vw, 56px);
}

.beyond-payment__title {
  margin: 0 0 clamp(32px, 5vh, 48px);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-section-heading);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-payment__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.beyond-payment__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: clamp(130px, 18vh, 170px);
  padding: clamp(18px, 2.2vw, 26px) clamp(16px, 2vw, 24px);
  background: rgba(245, 245, 245, 0.72);
  border: 1px solid rgba(196, 164, 106, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(18px);
}

.beyond-payment__label {
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 500;
  color: #2f2f2f;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(47, 47, 47, 0.35);
}

.beyond-payment__value {
  margin-top: auto;
  font-family: var(--beyond-optima);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1;
  color: #2f2f2f;
}

.beyond-payment.is-inview .beyond-payment__title {
  animation: beyondFadeUp 0.95s ease both;
}

.beyond-payment.is-inview .beyond-payment__card:nth-child(1) {
  animation: beyondFadeUp 0.95s ease 0.08s both;
}

.beyond-payment.is-inview .beyond-payment__card:nth-child(2) {
  animation: beyondFadeUp 0.95s ease 0.14s both;
}

.beyond-payment.is-inview .beyond-payment__card:nth-child(3) {
  animation: beyondFadeUp 0.95s ease 0.2s both;
}

.beyond-payment.is-inview .beyond-payment__card:nth-child(4) {
  animation: beyondFadeUp 0.95s ease 0.26s both;
}

@media (max-width: 900px) {
  .beyond-payment__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .beyond-payment {
    min-height: auto;
    align-items: flex-start;
  }

  .beyond-payment__inner {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .beyond-payment__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Gallery ===== */
.beyond-gallery {
  position: relative;
  z-index: 1;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.beyond-gallery__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(88px, 12vh, 140px) clamp(20px, 4vw, 48px) clamp(72px, 12vh, 120px);
}

.beyond-gallery__title {
  margin: 0 0 clamp(14px, 2vh, 20px);
  font-family: var(--beyond-optima);
  font-size: var(--beyond-section-heading);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
  filter: blur(6px);
}

.beyond-gallery__grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 18px);
  width: 100%;
  max-width: 1180px;
  aspect-ratio: 2.15 / 1;
  min-height: 0;
  height: auto;
}

.beyond-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: clamp(22px, 2.4vw, 32px);
  background: #141414;
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.94);
  filter: blur(8px);
  text-decoration: none;
  color: inherit;
  min-height: 0;
}

.beyond-gallery__item--main {
  grid-row: 1 / -1;
}

.beyond-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: brightness(0.96);
}

.beyond-gallery__item:hover img,
.beyond-gallery__item:focus-visible img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.beyond-gallery__item--more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.48);
  transition: background 0.35s ease;
}

.beyond-gallery__item--more:hover::before,
.beyond-gallery__item--more:focus-visible::before {
  background: rgba(0, 0, 0, 0.36);
}

.beyond-gallery__more {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  pointer-events: none;
}

.beyond-gallery__more-count {
  font-family: var(--beyond-optima);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.beyond-gallery__more-label {
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.beyond-gallery.is-inview .beyond-gallery__title {
  animation: beyondGalleryIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.beyond-gallery.is-inview .beyond-gallery__item--main {
  animation: beyondGalleryIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.beyond-gallery.is-inview .beyond-gallery__item--top {
  animation: beyondGalleryIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.beyond-gallery.is-inview .beyond-gallery__item--more {
  animation: beyondGalleryIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.beyond-gallery.is-inview .beyond-gallery__item--more .beyond-gallery__more-count {
  animation: beyondGalleryPulse 2.4s ease-in-out 1s infinite;
}

@keyframes beyondGalleryIn {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.94);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes beyondGalleryPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.88;
  }
}

@media (max-width: 800px) {
  .beyond-gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    aspect-ratio: auto;
    max-width: 100%;
  }

  .beyond-gallery__item--main {
    grid-row: auto;
    aspect-ratio: 5 / 6;
  }

  .beyond-gallery__item--top,
  .beyond-gallery__item--more {
    aspect-ratio: 16 / 9;
  }
}

/* ===== Early Access CTA ===== */
.beyond-cta {
  position: relative;
  z-index: 1;
  min-height: clamp(280px, 42vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #05080d;
  color: #fff;
  text-align: center;
}

.beyond-cta__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.beyond-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Pelagia: deeper overlay so CTA copy stays crisp on bright water highlights */
.beyond-cta--pelagia .beyond-cta__bg::after {
  background: rgba(0, 0, 0, 0.58);
}

.beyond-cta__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3.5vh, 32px);
}

.beyond-cta__title {
  margin: 0;
  font-family: var(--beyond-optima);
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(200px, 28vw, 280px);
  min-height: 48px;
  padding: 12px 28px;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
  opacity: 0;
  transform: translateY(18px);
}

.beyond-cta__btn:hover,
.beyond-cta__btn:focus-visible {
  background: #f0f0f0;
  color: #111;
  transform: translateY(-2px);
}

.beyond-cta.is-inview .beyond-cta__title {
  animation: beyondFadeUp 0.9s ease both;
}

.beyond-cta.is-inview .beyond-cta__btn {
  animation: beyondFadeUp 0.9s ease 0.12s both;
}

@media (max-width: 560px) {
  .beyond-cta {
    min-height: clamp(240px, 38vh, 320px);
  }

  .beyond-cta__title {
    letter-spacing: 0.05em;
  }
}

/* ===== Register Your Interest (aligned with Contact page) ===== */
.beyond-register {
  position: relative;
  z-index: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.beyond-register__inner {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 80px 4vw 100px;
}

.beyond-register__title {
  margin: 40px 0 18px;
  font-family: var(--beyond-optima);
  font-size: var(--nz-heading-hero, clamp(28px, 5vw, 48px));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.beyond-register__lead {
  margin: 0 auto 36px;
  max-width: 40rem;
  text-align: center;
  font-family: var(--beyond-optima);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease 0.08s,
    transform 0.9s ease 0.08s;
}

.beyond-register-form {
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease 0.12s,
    transform 0.9s ease 0.12s;
}

.beyond-register-form__row {
  display: flex;
  gap: 80px;
  margin-bottom: 40px;
}

.beyond-register-form__field {
  flex: 1;
  position: relative;
  min-width: 0;
}

.beyond-register-form__field--full {
  flex: 1 1 100%;
}

.beyond-register-form__field input,
.beyond-register-form__field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  padding: 12px 0;
  color: #fff;
  font-family: var(--beyond-optima);
  font-size: 18px;
  line-height: 1.4;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.beyond-register-form__field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--beyond-optima);
  opacity: 1;
}

.beyond-register-form__field input:-webkit-autofill,
.beyond-register-form__field input:-webkit-autofill:hover,
.beyond-register-form__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.beyond-register-form__field select {
  padding-right: 30px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px;
}

.beyond-register-form__field select:invalid {
  color: rgba(255, 255, 255, 0.5);
}

.beyond-register-form__field select option {
  background-color: #000;
  color: #fff;
  padding: 10px;
}

.beyond-register-form__field input:focus,
.beyond-register-form__field select:focus {
  border-bottom-color: #fff;
  color: #fff;
}

.beyond-register-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0 0;
  font-family: var(--beyond-optima);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  cursor: pointer;
}

.beyond-register-form__consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: #fff;
  cursor: pointer;
}

.beyond-register-form__submit-wrap {
  text-align: center;
  margin-top: 60px;
}

.beyond-register-form__submit {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 13px 120px;
  font-family: var(--beyond-optima);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.beyond-register-form__submit:hover:not(:disabled),
.beyond-register-form__submit:focus-visible:not(:disabled) {
  background-color: #f0f0f0;
  color: #000;
}

.beyond-register-form__submit:active:not(:disabled) {
  transform: scale(0.98);
}

.beyond-register-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.beyond-register-form__message {
  min-height: 1.2em;
  margin-top: 16px;
  text-align: center;
  font-family: var(--beyond-optima);
  font-size: 16px;
  line-height: 1.4;
}

.beyond-register-form__message.is-success {
  color: #b8f0c4;
}

.beyond-register-form__message.is-error {
  color: #ffb4b4;
}

.beyond-register.is-inview .beyond-register__title,
.beyond-register.is-inview .beyond-register__lead,
.beyond-register.is-inview .beyond-register-form {
  opacity: 1;
  transform: translateY(0);
}

/* ===== QR (project landing) ===== */
.beyond-qr {
  position: relative;
  z-index: 3;
  background: #000;
  color: #fff;
  padding: 0 4vw 80px;
}

.beyond-qr__inner {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}

.beyond-qr__img {
  display: block;
  width: min(220px, 70vw);
  height: auto;
  margin: 0 auto;
  background: #fff;
  padding: 12px;
}

.beyond-qr__caption {
  margin: 16px 0 0;
  font-family: var(--beyond-optima);
  font-size: var(--beyond-body, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

@media screen and (max-width: 576px) {
  .beyond-qr {
    padding: 8px 4vw 56px;
  }

  .beyond-qr__img {
    width: min(180px, 58vw);
    padding: 10px;
  }
}

@media screen and (max-width: 991px) {
  .beyond-register__title {
    margin-bottom: 36px;
  }

  .beyond-register-form__row {
    flex-direction: column;
    gap: 18px;
  }

  .beyond-register-form__field input,
  .beyond-register-form__field select {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

@media screen and (max-width: 576px) {
  .beyond-register__inner {
    padding: 48px 4vw 56px;
  }

  .beyond-register__title {
    margin: 16px 0 20px;
  }

  .beyond-register__lead {
    margin-bottom: 24px;
  }

  .beyond-register-form__consent {
    font-size: 14px;
  }

  .beyond-register-form__submit {
    padding: 12px 40px;
    font-size: 14px;
    min-width: 150px;
    width: 100%;
  }
}

/* ===== Lead capture popup ===== */
.beyond-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s;
}

.beyond-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Designed Explore: appear instantly like Closer gallery */
.beyond-popup.is-instant,
.beyond-popup.is-instant .beyond-popup__backdrop,
.beyond-popup.is-instant .beyond-popup__dialog {
  transition: none !important;
}

.beyond-popup.is-instant .beyond-popup__dialog {
  transform: none;
  opacity: 1;
}

.beyond-popup[hidden] {
  display: none !important;
}

.beyond-popup.is-open[hidden] {
  display: flex !important;
}

.beyond-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.beyond-popup.is-open .beyond-popup__backdrop {
  opacity: 1;
}

.beyond-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  background: #000;
  color: #fff;
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 44px) clamp(32px, 4vw, 44px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.beyond-popup.is-open .beyond-popup__dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.beyond-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.beyond-popup__close i {
  font-size: inherit;
  line-height: 1;
}

.beyond-popup__close:hover,
.beyond-popup__close:focus-visible {
  color: #fff;
  outline: none;
}

.beyond-popup-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.beyond-popup-form__field {
  position: relative;
  min-width: 0;
}

.beyond-popup-form__field--full {
  grid-column: 1 / -1;
}

.beyond-popup-form__field input,
.beyond-popup-form__field select,
.beyond-popup-form__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  padding: 10px 0 12px;
  color: #fff;
  font-family: var(--beyond-optima);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.4;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.beyond-popup-form__field textarea {
  min-height: 88px;
  resize: vertical;
  border: 1px solid #fff;
  padding: 12px 14px;
  line-height: 1.5;
}

.beyond-popup-form__field input::placeholder,
.beyond-popup-form__field textarea::placeholder {
  color: #fff;
  opacity: 1;
  font-family: var(--beyond-optima);
}

.beyond-popup-form__field input:-webkit-autofill,
.beyond-popup-form__field input:-webkit-autofill:hover,
.beyond-popup-form__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
  box-shadow: 0 0 0 1000px #000 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.beyond-popup-form__field select {
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px;
  color: #fff;
}

.beyond-popup-form__field select:invalid {
  color: #fff;
}

.beyond-popup-form__field select option {
  background-color: #000;
  color: #fff;
}

.beyond-popup-form__field input:focus,
.beyond-popup-form__field select:focus,
.beyond-popup-form__field textarea:focus {
  border-color: #fff;
}

.beyond-popup-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 0;
  font-family: var(--beyond-optima);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #fff;
  cursor: pointer;
}

.beyond-popup-form__consent input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.beyond-popup-form__consent input:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #fff;
}

.beyond-popup-form__actions {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: left;
}

.beyond-popup-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  background: #fff;
  color: #000;
  font-family: var(--beyond-optima);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.beyond-popup-form__submit:hover:not(:disabled),
.beyond-popup-form__submit:focus-visible:not(:disabled) {
  background: #f0f0f0;
  outline: none;
}

.beyond-popup-form__submit:active:not(:disabled) {
  transform: scale(0.98);
}

.beyond-popup-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.beyond-popup-form__message {
  min-height: 1.2em;
  margin-top: 14px;
  font-family: var(--beyond-optima);
  font-size: 0.95rem;
  line-height: 1.4;
}

.beyond-popup-form__message.is-success {
  color: #b8f0c4;
}

.beyond-popup-form__message.is-error {
  color: #ffb4b4;
}

/* Normal popups lock page scroll via overflow */
.beyond-page.is-popup-open:not(.is-designed-popup) {
  overflow: hidden;
}

/* Designed Explore: keep sticky intact — no overflow:hidden jump */
.beyond-page.is-designed-popup {
  overflow: visible;
}

@media (max-width: 640px) {
  .beyond-popup-form__row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }

  .beyond-popup__dialog {
    padding: 40px 22px 28px;
  }

  .beyond-popup-form__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-popup,
  .beyond-popup__backdrop,
  .beyond-popup__dialog {
    transition-duration: 0.01ms !important;
  }

  .beyond-popup__dialog {
    transform: none !important;
  }
}

/* ===== Placeholder blocks for projects awaiting assets/copy ===== */
.beyond-placeholder-text {
  opacity: 0.72;
  font-style: italic;
}

.beyond-placeholder-media {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
    #14181c !important;
  background-image: none !important;
}

.beyond-placeholder-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 12px,
      rgba(255, 255, 255, 0.01) 12px,
      rgba(255, 255, 255, 0.01) 24px
    ),
    #171c21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--beyond-optima);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.beyond-placeholder-panel--shot {
  min-height: 180px;
  aspect-ratio: 4 / 3;
}

.beyond-gallery__grid--placeholder {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 420px;
}

.beyond-placeholder-panel--gallery-main {
  grid-row: 1 / -1;
  min-height: 100%;
}

.beyond-placeholder-panel--gallery-side {
  min-height: 0;
}

.beyond-about__right-frame.beyond-placeholder-frame {
  border: 0;
  background: transparent;
}

.beyond-about__right-frame.beyond-placeholder-frame .beyond-placeholder-panel {
  min-height: 420px;
}

@media (max-width: 900px) {
  .beyond-gallery__grid--placeholder {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .beyond-placeholder-panel--gallery-main {
    grid-row: auto;
    min-height: 260px;
  }

  .beyond-placeholder-panel--gallery-side {
    min-height: 180px;
  }
}
