/* ============================================================
   HIMALAYA HOLIDAY HOMES — SINGLE AREA PAGE
   Base: base.css + components.css from head.ejs
   Desktop / tablet / mobile: 1024px / 768px breakpoints
   Everything scoped to .area-detail to protect Home / Areas.
   ============================================================ */

.area-detail-body {
  --area-ink: #1b333e;
  --area-deep: #24566f;
  --area-muted: #647178;
  --area-sand: #eadfce;
  --area-cream: #f4ede1;
  --area-ease: cubic-bezier(.22,.7,.24,1);
  background: #f4f9fa;
}

.area-detail { overflow: clip; }
.area-detail [id] { scroll-margin-top: calc(var(--header-height) + 18px); }
.area-detail :is(a, button):focus-visible { outline: 3px solid #6bb2c8; outline-offset: 4px; }

/* ============================================================
   01 — CINEMATIC HERO
   ============================================================ */
.area-detail-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(450px, 41vw, 570px);
  overflow: hidden;
  padding: calc(var(--header-height) + 16px) 0 clamp(55px, 6vw, 84px);
  color: #fff;
  background: #174458;
}

/* HERO — RESPONSIVE PICTURE */

.area-detail-hero-picture {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.area-detail-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.area-detail-hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,27,39,.78) 0%, rgba(8,39,54,.48) 59%, rgba(7,32,45,.25) 100%),
    linear-gradient(0deg, rgba(7,31,44,.65), transparent 55%, rgba(8,31,44,.35));
}

.area-detail-hero-orbit {
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -210px;
  top: -250px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  pointer-events: none;
}

.area-detail-hero-inner {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(55px, 7vw, 92px);
}

.area-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(255,255,255,.83);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.area-detail-breadcrumb a { transition: color 250ms ease; }
.area-detail-breadcrumb a:hover { color: #fff; }
.area-detail-breadcrumb span[aria-hidden] { opacity: .45; }
.area-detail-breadcrumb [aria-current] { color: #fff; }

.area-detail-hero-copy {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  transform: translateY(-80px);
}
.area-detail .area-detail-hero-eyebrow {
  justify-content: center;
  margin: 0 0 14px;
  color: rgba(255,255,255,.90);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .21em;
}
.area-detail .area-detail-hero h1 {
  margin: 0 0 10px;
  padding-bottom: .08em;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.area-detail-hero-tagline {
  margin: 0 0 17px;
  color: #d9f3ed;
  font-family: "Fraunces", serif;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
}
.area-detail-hero-description {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,.91);
  font-size: .98rem;
  line-height: 1.82;
  text-wrap: pretty;
}

/* ============================================================
   AREA HERO — PREMIUM GLASS DISCOVER BUTTON
   ============================================================ */

.area-detail-hero-link {
  position: relative;
  isolation: isolate;

  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;

  align-items: center;
  justify-content: center;
  gap: 16px;

  margin: 24px auto 0;
  padding: 9px 10px 9px 22px;

  overflow: hidden;

  border: 1px solid rgba(218, 243, 237, .55);
  border-radius: 17px;

  color: #fff;

  background: linear-gradient(
    120deg,
    rgba(17, 75, 99, .94) 0%,
    rgba(34, 103, 128, .90) 52%,
    rgba(66, 149, 168, .82) 100%
  );

  font-family: "Manrope", sans-serif;
  font-size: .81rem;
  font-weight: 700;
  letter-spacing: .012em;
  text-decoration: none;

  box-shadow:
    0 14px 36px rgba(2, 28, 43, .28),
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(0, 29, 44, .18);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    transform 300ms cubic-bezier(.2,.7,.2,1),
    box-shadow 300ms ease,
    border-color 300ms ease;
}

/* Light moving across the glass */

.area-detail-hero-link::before {
  position: absolute;
  z-index: 0;

  top: -60%;
  bottom: -60%;
  left: -55%;

  width: 45%;
  content: "";

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, .08),
    rgba(255, 255, 255, .34),
    rgba(255, 255, 255, .08),
    transparent
  );

  transform: skewX(-22deg);
  transition: transform 850ms cubic-bezier(.2,.7,.2,1);

  pointer-events: none;
}

/* Button label */

.area-detail-hero-link > span {
  position: relative;
  z-index: 1;
}

/* Circular arrow */

.area-detail-hero-link svg {
  position: relative;
  z-index: 1;

  flex: 0 0 auto;
  box-sizing: border-box;

  width: 38px;
  height: 38px;
  padding: 10px;

  border: 1px solid rgba(255, 255, 255, .50);
  border-radius: 50%;

  background: rgba(255, 255, 255, .15);

  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);

  transition:
    transform 300ms ease,
    background 300ms ease,
    border-color 300ms ease;
}

/* Desktop hover interactions */

@media (hover: hover) and (pointer: fine) {

  .area-detail-hero-link:hover {
    transform: translateY(-3px);

    border-color: rgba(218, 243, 237, .85);

    box-shadow:
      0 20px 44px rgba(2, 28, 43, .36),
      0 0 24px rgba(113, 205, 217, .13),
      inset 0 1px 0 rgba(255, 255, 255, .34);
  }

  .area-detail-hero-link:hover::before {
    transform: translateX(450%) skewX(-22deg);
  }

  .area-detail-hero-link:hover svg {
    transform: translateY(3px);

    background: rgba(255, 255, 255, .27);
    border-color: rgba(255, 255, 255, .85);
  }
}

/* Compact layout for small phones */

@media (max-width: 390px) {

  .area-detail-hero-link {
    min-height: 54px;
    gap: 10px;
    padding: 8px 9px 8px 15px;
    font-size: .76rem;
  }

  .area-detail-hero-link svg {
    width: 35px;
    height: 35px;
    padding: 9px;
  }
}

/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

  .area-detail-hero-link,
  .area-detail-hero-link::before,
  .area-detail-hero-link svg {
    transition: none !important;
  }

  .area-detail-hero-link:hover,
  .area-detail-hero-link:hover svg {
    transform: none;
  }

  .area-detail-hero-link:hover::before {
    transform: skewX(-22deg);
  }
}

.area-detail-hero-transition {
  height: clamp(30px, 4vw, 55px);
  margin-top: -1px;
  background: linear-gradient(
    180deg,
    #25566b 0%,
    #6f9eae 40%,
    #a6cedc 75%,
    #b9dbe7 100%
  );
}

.area-detail-story-transition {
  height: clamp(34px, 4vw, 55px);
  margin-top: -1px;
  background: linear-gradient(
    180deg,
    #b3d4e1 0%,
    #cce2e9 55%,
    #f4f9fa 100%
  );
}

/* ============================================================
   SHARED SECTION TYPOGRAPHY
   ============================================================ */
.area-detail-section { padding: clamp(50px, 6vw, 84px) 0; }
.area-detail .area-detail-section-heading {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}
.area-detail .area-detail-section-heading > .eyebrow,
.area-detail .area-detail-story-copy > .eyebrow {
  margin-bottom: 14px;
  font-size: .75rem;
  letter-spacing: .16em;
}
.area-detail .area-detail-section h2 {
  margin: 0 0 16px;
  color: var(--area-ink);
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.area-detail .area-detail-section h2 em {
  color: #397f96;
  font-style: italic;
  font-weight: 500;
}
.area-detail .area-detail-section-heading > p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--area-muted);
  font-size: .98rem;
  line-height: 1.82;
  text-wrap: pretty;
}

/* ============================================================
   02 — EDITORIAL STORY
   ============================================================ */
.area-detail-story-grid {
  display: block;
}

.area-detail-story-copy {
  width: 100%;
  max-width: 950px;
  margin-inline: auto;
  text-align: left;
}

/* ============================================================
   AREA DETAIL — CMS READY RICH TEXT
   ============================================================ */

.area-detail-richtext {
  color: var(--area-muted);
  font-family: "Manrope", sans-serif;
  font-size: .95rem;
  line-height: 1.85;
  text-align: left;
  overflow-wrap: break-word;
}

/* Paragraphs */

.area-detail-richtext p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

/* Headings */

.area-detail-richtext h3,
.area-detail-richtext h4 {
  margin: 28px 0 12px;
  color: var(--area-ink);
  font-family: "Fraunces", serif;
  font-weight: 500;
  line-height: 1.25;
}

.area-detail-richtext h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.area-detail-richtext h4 {
  font-size: 1.2rem;
}

/* Bold and italic */

.area-detail-richtext strong {
  color: var(--area-ink);
  font-weight: 700;
}

.area-detail-richtext em {
  font-style: italic;
}

/* Bullet and numbered lists */

.area-detail-richtext ul,
.area-detail-richtext ol {
  margin: 0 0 18px;
  padding-left: 1.5em;
}

.area-detail-richtext ul {
  list-style-type: disc;
}

.area-detail-richtext ol {
  list-style-type: decimal;
}

.area-detail-richtext li {
  margin-bottom: 7px;
  padding-left: 4px;
}

/* Links */

.area-detail-richtext a {
  color: var(--area-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quotes */

.area-detail-richtext blockquote {
  margin: 24px 0;
  padding: 8px 0 8px 20px;
  border-left: 3px solid #397f96;
  color: var(--area-ink);
  font-style: italic;
}

/* Controlled CMS text sizes */

.area-detail-richtext .text-small {
  font-size: .85em;
}

.area-detail-richtext .text-large {
  font-size: 1.15em;
}

/* Remove trailing space */

.area-detail-richtext > :last-child {
  margin-bottom: 0;
}
.area-detail-text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(36,86,111,.40);
  color: var(--area-deep);
  font-size: .82rem;
  font-weight: 700;
  transition: gap 250ms ease, border-color 250ms ease;
}
.area-detail-text-link:hover { gap: 19px; border-color: var(--area-deep); }
.area-detail-text-link svg { width: 17px; height: 17px; }


/* ============================================================
   03 — BASIC GOOGLE MAPS IFRAME
   ============================================================ */
.area-detail .area-detail-map-section {
  background: #f4f9fa;
  padding-top: 20px;
  padding-bottom: 20px;
}

.area-detail .area-detail-map-section .area-detail-section-heading {
  margin-bottom: 20px;
}

.area-detail .area-detail-map-section h2 {
  margin-bottom: 0;
}
.area-detail-map-frame {
  overflow: hidden;
  height: clamp(320px, 36vw, 460px);
  border: 1px solid rgba(26,70,89,.14);
  border-radius: 26px;
  background: #d6e4e6;
  box-shadow: 0 22px 53px rgba(33,75,95,.09);
}
.area-detail-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ============================================================
   04 — NEIGHBOURHOOD EXPERIENCE
   Original Himalaya underwater atmosphere and swimming fish
   ============================================================ */

/* ---------- Transition: Map to underwater ---------- */

.area-detail-water-in {
  position: relative;
  height: clamp(55px, 6vw, 88px);
  margin: -1px 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #f4f9fa 0%,
    #d6e8ec 25%,
    #9cc0cc 50%,
    #5c90a5 73%,
    #204e66 100%
  );
}

/* ---------- Main underwater section ---------- */

.area-detail .area-detail-highlights {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: 55px 0;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(189, 233, 226, .22),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #204e66 0%,
      #2d6f8f 100%
    );
}

/* Keep content above swimming fish */

.area-detail .area-detail-highlights > .shell {
  position: relative;
  z-index: 2;
}

/* ---------- Swimming fish layer ---------- */

.area-detail .area-detail-highlights .fish-layer {
  position: absolute;
  z-index: 1;
  inset: 0;

  overflow: hidden;
  pointer-events: none;
}

.area-detail .area-detail-highlights .swimming-fish {
  position: absolute;
  top: 0;
  left: 0;

  width: var(--fish-size);
  height: var(--fish-size);

  pointer-events: none;
  will-change: transform;
}

.area-detail .area-detail-highlights .swimming-fish img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
  opacity: .38;

  filter:
    brightness(0)
    invert(1);

  transform: scaleX(var(--fish-flip));
  transform-origin: center;
}

/* ---------- Heading ---------- */

.area-detail .area-detail-highlights .section-heading {
  width: 100%;
  max-width: 740px;

  margin: 0 auto 38px;
  text-align: center;
}

.area-detail .area-detail-highlights .section-heading .eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, .78);
}

.area-detail .area-detail-highlights .section-heading h2 {
  margin: 0;

  color: #ffffff;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}

/* ---------- Glass cards grid ---------- */

.area-detail .area-detail-highlights .why-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ---------- Original glass card appearance ---------- */

.area-detail .area-detail-highlights .why-card {
  position: relative;

  display: flex;
  min-width: 0;
  min-height: 220px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 26px;

  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-md, 24px);

  background: rgba(255, 255, 255, .06);

  text-align: center;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  transition:
    transform 280ms ease,
    background 280ms ease,
    border-color 280ms ease;
}

/* Card titles */

.area-detail .area-detail-highlights .why-card h3 {
  max-width: 24ch;

  margin: 0 0 10px;

  color: #ffffff;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}

/* Card descriptions */

.area-detail .area-detail-highlights .why-card p {
  max-width: 280px;

  margin: 0 auto;

  color: rgba(255, 255, 255, .72);
  font-family: "Manrope", sans-serif;
  font-size: .9rem;
  line-height: 1.7;
}

/* ---------- Desktop hover ---------- */

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {

  .area-detail .area-detail-highlights .why-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .28);
  }

}

/* ---------- Tablet: 2 cards per row ---------- */

@media (min-width: 768px) and (max-width: 1023px) {

  .area-detail .area-detail-highlights .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .area-detail .area-detail-highlights .why-card {
    min-height: 220px;
    padding: 25px 22px;
  }

  /* Center the last card if the number is odd */

  .area-detail .area-detail-highlights .why-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
  }

}

/* ---------- Mobile: one card per row ---------- */

@media (max-width: 767px) {

  .area-detail .area-detail-highlights {
    padding: 45px 0;
  }

  .area-detail .area-detail-highlights .section-heading {
    margin-bottom: 27px;
  }

  .area-detail .area-detail-highlights .section-heading h2 {
    font-size: 1.45rem;
  }

 .area-detail .area-detail-highlights .why-grid {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;

  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

  .area-detail .area-detail-highlights .why-card {
    min-height: 175px;
    padding: 26px 22px;

    background: rgba(255, 255, 255, .035);

    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }

  .area-detail .area-detail-highlights .why-card h3 {
    font-size: 1.4rem;
  }

}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

  .area-detail .area-detail-highlights .why-card {
    transition: none;
  }

}

/* ---------- Transition: Underwater to CTA ---------- */

.area-detail-water-out {
  position: relative;
  height: clamp(55px, 5.5vw, 82px);
  margin: -1px 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #204e66 0%,
    #548ba0 25%,
    #8bb4c1 47%,
    #c7dee4 72%,
    #f4f9fa 100%
  );
}


/* ============================================================
   05 — HONEST COLLECTION CTA
   ============================================================ */
.area-detail .area-detail-homes {
  background: #f4f9fa;
  padding: clamp(25px, 3vw, 42px) 0;
}

/* AREA DETAIL — FINAL CTA */

.area-detail-homes-panel {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 425px;
  overflow: hidden;

  border-radius: 48px 118px 48px 118px;

  background: #24566f;
  box-shadow: 0 28px 65px rgba(33,75,95,.16);
}

/* Ready for desktop and mobile pictures */

.area-detail-homes-panel > picture {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: block;
  width: 100%;
  height: 100%;
}

/* Current image and future picture images */

.area-detail-homes-panel > img,
.area-detail-homes-panel > picture img {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 58%;
}

/* Dark overlay */

.area-detail-homes-shade {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  pointer-events: none;

  background: linear-gradient(
    110deg,
    rgba(8,31,43,.93),
    rgba(14,44,59,.82) 60%,
    rgba(16,51,68,.65)
  );
}

/* Centered content */

.area-detail-homes-content {
  position: relative;
  z-index: 2;

  max-width: 770px;
  padding: 56px 28px;

  color: #fff;
  text-align: center;
}

.area-detail .area-detail-homes-content > .eyebrow {
  margin-bottom: 17px;
  color: rgba(255,255,255,.80);
  font-size: .68rem;
  letter-spacing: .21em;
}
.area-detail .area-detail-homes h2 { margin-bottom: 15px; color: #fff; }
.area-detail .area-detail-homes h2 em { color: #d9f3ed; }
.area-detail-homes-content > p:not(.eyebrow) {
  max-width: 555px;
  margin: 0 auto 25px;
  color: rgba(255,255,255,.89);
  font-size: .95rem;
  line-height: 1.82;
}
.area-detail-homes-button { gap: 13px; color: #fff; background: linear-gradient(135deg,#347d98,#24566f); }
.area-detail-homes-button span,
.area-detail-homes-button svg { position: relative; z-index: 3; }
.area-detail-homes-button svg { width: 17px; height: 17px; flex: 0 0 auto; }


/* ============================================================
   MOTION — content remains readable without JS
   ============================================================ */
.area-detail.area-detail-motion-ready .area-detail-reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.area-detail.area-detail-motion-ready .area-detail-reveal {
  transition: opacity 650ms var(--area-ease), transform 650ms var(--area-ease);
}

/* ============================================================
   MOBILE — <=767px
   ============================================================ */
@media (max-width:767px) {
  .area-detail-hero {
    min-height: 420px;
    padding: calc(var(--header-height) + 13px) 0 46px;
  }
  .area-detail-hero-inner { gap: 66px; }
  .area-detail-breadcrumb { gap: 7px; font-size: .7rem; }
  .area-detail-hero-copy {
  max-width: 540px;
  transform: translateY(-50px);
}
  .area-detail-hero-tagline { margin-bottom: 10px; }
  .area-detail-hero-description {
  font-size: .9rem;
  line-height: 1.75;
  padding-inline: 20px;
  box-sizing: border-box;
}
  .area-detail-hero-link {
  margin-top: 17px;
  zoom: 80%;
}
  .area-detail-hero-orbit { width: 350px; height: 350px; right: -165px; top: -130px; }
  .area-detail-hero-transition { height: 33px; }

  .area-detail-section { padding: 45px 0; }
  .area-detail .area-detail-section-heading { margin-bottom: 27px; }
  .area-detail .area-detail-section-heading > p:last-child { font-size: .91rem; line-height: 1.78; }
  .area-detail-richtext {
  font-size: .89rem;
  line-height: 1.8;
}

  .area-detail-map-frame { height: 325px; border-radius: 21px; }
  .area-detail-map-footer { font-size: .75rem; gap: 9px; }

  
.area-detail-homes-panel {
  min-height: 560px;
  border-radius: 23px 75px 23px 75px;
}

  
.area-detail-homes-content {
  padding: 60px 21px;
}

  .area-detail-homes-content > p:not(.eyebrow) { font-size: .88rem; }
  .area-detail-homes-button { max-width: 100%; font-size: .82rem; }
}

@media (max-width:390px) {
  .area-detail-hero { min-height: 435px; }
  .area-detail-homes-button { padding-inline: 14px; }
}

@media (prefers-reduced-motion:reduce) {
  .area-detail .area-detail-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .area-detail-hero-link,
  .area-detail-text-link { transition: none !important; }
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.stay-story-section {
  position: relative;

  isolation: isolate;
  overflow: hidden;

  padding-top: 40px;

  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(189, 233, 226, .52),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 18%,
      rgba(202, 225, 230, .50),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      #b9dbe7 0%,
      #cce5ed 46%,
      #b3d4e1 100%
    );

  transition:
    padding-bottom 520ms
    cubic-bezier(.2,.7,.2,1);
}


.stay-story-layout {
  position: relative;

  z-index: 2;

  display: block;
}


/* =========================================================
   INSIDE THE STAY — SKY ATMOSPHERE
   ========================================================= */

.stay-story-atmosphere {
  position: absolute;

  z-index: 0;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}


/* ---------- Dubai skyline ---------- */

.stay-story-skyline.stay-story-skyline--detailed {
  position: absolute;

  z-index: 0;

  right: 0;
  bottom: -1px;
  left: 0;

  width: 100%;
  height: auto;

  aspect-ratio: 40 / 7;

  overflow: hidden;

  color: #587b8e;

  opacity: 0;

  pointer-events: none;
  user-select: none;

  transform:
    translateY(18px);

  transition:
    opacity 480ms ease,
    transform 650ms
      cubic-bezier(.2,.7,.2,1);
}


.stay-story-section.is-skyline-visible {
  padding-bottom:
    calc(17.5vw + 28px);
}


.stay-story-section.is-skyline-visible
.stay-story-skyline--detailed {
  opacity: .40;

  transform:
    translateY(0);
}


.stay-story-skyline--detailed > svg {
  display: block;

  width: 100%;
  height: auto;

  overflow: visible;
}


.stay-story-skyline--detailed .sky-fill {
  fill: currentColor;
}


.stay-story-skyline--detailed .sky-distant {
  fill: currentColor;

  opacity: .25;
}


.stay-story-skyline--detailed .sky-mid {
  fill: currentColor;

  opacity: .60;
}


.stay-story-skyline--detailed .sky-ground {
  fill: currentColor;

  opacity: .62;
}


.stay-story-skyline--detailed .sky-glass {
  fill: #d6e7ed;

  opacity: .55;
}


.stay-story-skyline--detailed .sky-floors {
  fill:
    url(#hh-sky-floors);
}


.stay-story-skyline--detailed .sky-window-grid {
  fill:
    url(#hh-sky-windows);
}


.stay-story-skyline--detailed .sky-window {
  fill: #e6f1f5;

  opacity: .5;
}


.stay-story-skyline--detailed .sky-floor-line,
.stay-story-skyline--detailed .sky-detail-line {
  fill: none;

  stroke: #e6f1f5;
  stroke-width: 1.25;

  opacity: .56;
}


.stay-story-skyline--detailed .sky-facade-line,
.stay-story-skyline--detailed .sky-structural-line,
.stay-story-skyline--detailed .sky-spokes,
.stay-story-skyline--detailed .sky-wheel-rim,
.stay-story-skyline--detailed .sky-wheel-inner {
  fill: none;

  stroke: currentColor;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.stay-story-skyline--detailed .sky-facade-line {
  stroke-width: 1.6;

  opacity: .8;
}


.stay-story-skyline--detailed .sky-structural-line {
  stroke-width: 3;
}


.stay-story-skyline--detailed .sky-spokes {
  stroke-width: .85;

  opacity: .65;
}


.stay-story-skyline--detailed .sky-wheel-rim {
  stroke-width: 2.5;
}


.stay-story-skyline--detailed .sky-wheel-inner {
  stroke-width: 1;

  opacity: .65;
}


/* =========================================================
   SUN
   ========================================================= */

.stay-story-sun {
  position: absolute;

  top: 34px;
  left: -34px;

  width: 132px;
  height: 132px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 42% 38%,
      #fff9df 0%,
      #ffe9a8 28%,
      #ffd978 56%,
      #f7c85f 78%,
      #efbd4d 100%
    );

  box-shadow:
    0 0 24px rgba(255,211,110,.34),
    0 0 54px rgba(255,220,145,.20),
    0 0 90px rgba(255,228,175,.12);

  opacity: .96;

  transform-origin: center;

  animation:
    stayStorySunPulse
    6s
    ease-in-out
    infinite;
}


.stay-story-sun::before {
  position: absolute;

  inset: -20px;

  content: "";

  border:
    1px solid
    rgba(255,213,120,.18);

  border-radius: 50%;

  box-shadow:
    0 0 28px rgba(255,217,130,.16),
    inset 0 0 18px rgba(255,241,205,.10);
}


.stay-story-sun::after {
  position: absolute;

  inset: -72px;

  content: "";

  border-radius: 50%;

  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,205,90,.40) 0deg 4.2deg,
      rgba(255,226,150,.22) 4.2deg 5.4deg,
      transparent 5.4deg 10deg
    );

  -webkit-mask:
    radial-gradient(
      circle,
      transparent 0 46%,
      #000 56% 100%
    );

  mask:
    radial-gradient(
      circle,
      transparent 0 46%,
      #000 56% 100%
    );

  opacity: .95;

  filter:
    blur(.25px)
    drop-shadow(
      0 0 5px
      rgba(255,210,105,.28)
    );

  animation:
    stayStorySunRays
    16s
    linear
    infinite;
}


@keyframes stayStorySunPulse {

  0%,
  100% {
    transform:
      scale(.98);

    filter:
      brightness(1);
  }

  50% {
    transform:
      scale(1.035);

    filter:
      brightness(1.06);
  }

}


@keyframes stayStorySunRays {

  from {
    transform:
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg);
  }

}


/* =========================================================
   CLOUDS
   ========================================================= */

.stay-story-cloud {
  position: absolute;

  z-index: 1;

  width: 122px;
  height: 34px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.92) 0%,
      rgba(244,249,250,.72) 100%
    );

  box-shadow:
    0 10px 24px
      rgba(63,127,163,.10),
    inset 0 1px 0
      rgba(255,255,255,.95);

  opacity: .62;

  will-change: transform;
}


.stay-story-cloud::before,
.stay-story-cloud::after {
  position: absolute;

  content: "";

  border-radius: 50%;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.98) 0%,
      rgba(245,249,250,.82) 100%
    );
}


.stay-story-cloud::before {
  bottom: 8px;
  left: 19px;

  width: 42px;
  height: 42px;
}


.stay-story-cloud::after {
  right: 18px;
  bottom: 7px;

  width: 54px;
  height: 54px;
}


.stay-story-cloud-1 {
  top: 34px;
  left: -150px;

  animation:
    stayStoryCloudDriftA
    34s
    linear
    infinite;
}


.stay-story-cloud-2 {
  top: 82px;
  left: -220px;

  width: 154px;
  height: 39px;

  opacity: .48;

  animation:
    stayStoryCloudDriftB
    46s
    linear
    infinite;

  animation-delay: -17s;
}


.stay-story-cloud-3 {
  top: 20px;
  left: -180px;

  width: 104px;
  height: 30px;

  opacity: .42;

  animation:
    stayStoryCloudDriftC
    39s
    linear
    infinite;

  animation-delay: -9s;
}


.stay-story-cloud-4 {
  top: 108px;
  left: -200px;

  width: 136px;
  height: 36px;

  opacity: .38;

  animation:
    stayStoryCloudDriftA
    51s
    linear
    infinite;

  animation-delay: -31s;
}


.stay-story-cloud-5 {
  top: 56px;
  left: -170px;

  width: 92px;
  height: 28px;

  opacity: .34;

  animation:
    stayStoryCloudDriftB
    43s
    linear
    infinite;

  animation-delay: -27s;
}


@keyframes stayStoryCloudDriftA {

  from {
    transform:
      translate3d(-10vw,0,0);
  }

  to {
    transform:
      translate3d(125vw,4px,0);
  }

}


@keyframes stayStoryCloudDriftB {

  from {
    transform:
      translate3d(-15vw,3px,0);
  }

  to {
    transform:
      translate3d(130vw,-3px,0);
  }

}


@keyframes stayStoryCloudDriftC {

  from {
    transform:
      translate3d(-12vw,-2px,0);
  }

  to {
    transform:
      translate3d(128vw,2px,0);
  }

}

/* =========================================================
   INSIDE THE STAY ATMOSPHERE — RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

  .stay-story-section.is-skyline-visible {
    padding-bottom:
      calc(17.5vw + 6px);
  }


  .stay-story-section.is-skyline-visible
  .stay-story-skyline--detailed {
    opacity: .46;
  }


  .stay-story-cloud {
    scale: .72;
  }


  .stay-story-cloud-1 {
    top: 28px;
    left: -100px;

    animation-delay: -14s;
  }


  .stay-story-cloud-2 {
    top: 72px;
    left: -100px;

    animation-delay: -28s;
  }


  .stay-story-cloud-3 {
    top: 12px;
    left: -100px;

    animation-delay: -32s;
  }


  .stay-story-cloud-4,
  .stay-story-cloud-5 {
    display: none;
  }

}


@media (min-width: 768px) {

  .stay-story-sun {
    top: 36px;
    left: -34px;

    width: 150px;
    height: 150px;
  }


  .stay-story-cloud {
    scale: .88;
  }


  .stay-story-cloud-1 {
    top: 36px;
  }


  .stay-story-cloud-2 {
    top: 88px;
  }


  .stay-story-cloud-3 {
    top: 20px;
  }


  .stay-story-cloud-4 {
    top: 114px;
  }


  .stay-story-cloud-5 {
    top: 62px;
  }

}


@media (min-width: 1024px) {

  .stay-story-section.is-skyline-visible {
    padding-bottom:
      calc(17.5vw - 36px);
  }


  .stay-story-sun {
    top: 34px;
    left: -22px;

    width: 172px;
    height: 172px;

    opacity: .96;
  }


  .stay-story-cloud {
    scale: 1;
  }


  .stay-story-cloud-1 {
    top: 36px;
  }


  .stay-story-cloud-2 {
    top: 96px;
  }


  .stay-story-cloud-3 {
    top: 18px;
  }


  .stay-story-cloud-4 {
    top: 122px;
  }


  .stay-story-cloud-5 {
    top: 66px;
  }

}


@media (min-width: 1280px) {

  .stay-story-sun {
    top: 38px;
    left: -18px;

    width: 188px;
    height: 188px;
  }


  .stay-story-cloud {
    scale: 1.08;
  }

}


@media (prefers-reduced-motion: reduce) {

  .stay-story-sun,
  .stay-story-sun::after,
  .stay-story-cloud {
    animation: none;
  }


  .stay-story-skyline {
    transition: none;
  }

}

.stay-story-main h2 {
  font-size:
    clamp(
      1.12rem,
      4.48vw,
      1.76rem
    );
}

.stay-richtext {
  width: 100%;
  max-width: none;
}

.stay-richtext p {
  margin-bottom: 18px;

  color: #596971;

  line-height: 1.85;
}

.stay-richtext h3 {
  margin: 28px 0 11px;

  color: var(--text);

  font-size: 1.45rem;
}

.stay-richtext ul {
  display: grid;
  gap: 8px;

  margin: 0;
  padding-left: 20px;

  color: #596971;
}

.stay-richtext li::marker {
  color: var(--blue);
}

.stay-description-more {
  display: none;
}

.stay-richtext.is-expanded .stay-description-more {
  display: block;
}

.stay-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 5px;
  padding: 8px 0;

  color: var(--deep-blue);

  background: transparent;

  font-size: .80rem;
  font-weight: 800;

  cursor: pointer;
}

.stay-inline-action i {
  display: block;

  width: 8px;
  height: 8px;

  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;

  transform:
    translateY(-2px)
    rotate(45deg);

  transition: transform 220ms ease;
}

.stay-inline-action[aria-expanded="true"] i {
  transform:
    translateY(2px)
    rotate(225deg);
}


/* ============================================================
   AREA — STORY TYPOGRAPHY PARITY WITH STAY
   ============================================================ */

/* Same content width as Stay on large desktops */

@media (min-width: 1280px) {
  .area-detail-story .shell {
    width: min(calc(100% - 72px), 1280px);
  }
}

/* Same heading size as Inside the Stay */

.area-detail .area-detail-story .stay-story-main > h2 {
  margin-bottom: 18px;
  font-size: clamp(1.12rem, 4.48vw, 1.76rem);
  line-height: 1.25;
}

/* Same body typography */

.area-detail .area-detail-story .area-detail-richtext {
  max-width: none;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #596971;
}

/* Same paragraph styling */

.area-detail .area-detail-story .area-detail-richtext p {
  margin-bottom: 18px;
  color: #596971;
  line-height: 1.85;
}

/* Keep rich text formatting working */

.area-detail .area-detail-story .area-detail-richtext strong {
  font-weight: 700;
}

.area-detail .area-detail-story .area-detail-richtext li::marker {
  color: #3f7fa3;
}

/* Mobile typography */

@media (max-width: 767px) {
  .area-detail .area-detail-story .stay-story-main > h2 {
    font-size: 1.45rem;
  }

  .area-detail .area-detail-story .area-detail-richtext {
    font-size: 1rem;
    line-height: 1.85;
  }
}

/* ---------- Explore area sand particles ---------- */

.section.area-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding-bottom: 180px;

  background: #eadfce;
}

.area-section > .shell > .section-heading .eyebrow {
  color: var(--text);
}

.area-section > .shell {
  position: relative;
  z-index: 2;
}

.area-dust-layer {
  position: absolute;
  inset: 0;
  z-index: 6;

  overflow: hidden;
  pointer-events: none;
}

.area-dust-particle {
  position: absolute;
  top: 0;
  left: 0;

  width: var(--dust-width);
  height: var(--dust-height);

  border-radius: 999px;

  background:
    radial-gradient(
      ellipse at center,
      rgba(245, 205, 122, .96) 0%,
      rgba(205, 153, 72, .86) 32%,
      rgba(155, 105, 45, .55) 62%,
      rgba(118, 77, 31, 0) 100%
    );

  box-shadow:
    0 0 4px rgba(205, 153, 72, .22);

  opacity: var(--dust-opacity);

  pointer-events: none;
  will-change: transform;
}

/* ---------- Explore Area realistic dunes ---------- */

.area-dunes {
  position: absolute;

  z-index: 1;

  left: 50%;
  bottom: -1px;

  width: 170%;
  height: clamp(125px, 14vw, 220px);

  transform: translateX(-50%);

  pointer-events: none;
}

.area-dunes svg {
  display: block;

  width: 100%;
  height: 100%;

  overflow: visible;
}

/* ---------- Area carousel ---------- */

.areas-carousel {
  position: relative;
}

.areas-viewport {
  position: relative;

  width: 100%;

  overflow: hidden;

  padding-top: 8px;
  padding-bottom: 44px;
}

.areas-grid {
  display: flex;
  align-items: stretch;

  gap: 22px;

  will-change: transform;

  transition:
    transform 460ms cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   EXPLORE AREAS — DESERT CTA
   ========================================================= */

.areas-cta {
  position: relative;

  z-index: 8;

  display: flex;

  width: 100%;

  justify-content: center;

  margin-top: 4px;

  padding:
    0 20px
    34px;

  pointer-events: none;
}


/* =========================================================
   MAIN DESERT BUTTON
   ========================================================= */

.areas-explore-button {
  position: relative;

  z-index: 3;

  display: inline-flex;

  min-width: 192px;
  min-height: 52px;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding:
    0 30px;

 border: 0;

  border-radius:
    15px;

  color:
    #fffaf1;

  background:
    linear-gradient(
      125deg,
      #805126 0%,
      #a96f34 26%,
      #c58f50 54%,
      #d8b176 76%,
      #ead2ab 100%
    );

box-shadow:
  inset 0 0 0 1px
    rgba(255,235,202,.42),

  0 13px 28px
    rgba(105,65,28,.18),

  0 3px 8px
    rgba(105,65,28,.10),

  inset 0 1px 0
    rgba(255,245,225,.48),

  inset 0 -1px 0
    rgba(105,65,28,.15);

  isolation: isolate;

  pointer-events: auto;

  transition:
    transform 320ms
      cubic-bezier(.2,.7,.2,1),
    box-shadow 300ms ease,
    border-color 300ms ease,
    background 300ms ease;
}


/* =========================================================
   LABEL
   ========================================================= */

.areas-explore-button-label {
  position: relative;

  z-index: 4;

  font-size:
    .84rem;

  font-weight:
    700;

  letter-spacing:
    .012em;

  text-shadow:
    0 1px 5px
      rgba(80,45,18,.20);
}


/* =========================================================
   SUNLIGHT / SAND SHEEN
   ========================================================= */

.areas-explore-button::before {
  position: absolute;

  z-index: 1;

  top: -55%;
  bottom: -55%;
  left: -34%;

  width: 27%;

  content: "";

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255,244,217,.08) 20%,
      rgba(255,247,226,.76) 50%,
      rgba(255,244,217,.08) 80%,
      transparent 100%
    );

  opacity: 0;

  transform:
    skewX(-18deg);
}


/* =========================================================
   GRAINS INSIDE BUTTON
   ========================================================= */

.areas-explore-button::after {
  position: absolute;

  z-index: 2;

  inset: 0;

  content: "";

  pointer-events: none;

  background:
    radial-gradient(
      circle at 9% 28%,
      rgba(255,232,188,.52) 0 .8px,
      transparent 1.6px
    ),
    radial-gradient(
      circle at 17% 71%,
      rgba(96,54,21,.22) 0 .7px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 31% 38%,
      rgba(255,238,204,.42) 0 .9px,
      transparent 1.7px
    ),
    radial-gradient(
      circle at 44% 76%,
      rgba(104,61,25,.18) 0 .8px,
      transparent 1.6px
    ),
    radial-gradient(
      circle at 58% 23%,
      rgba(255,241,211,.48) 0 .7px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 71% 62%,
      rgba(91,51,20,.20) 0 .9px,
      transparent 1.7px
    ),
    radial-gradient(
      circle at 84% 31%,
      rgba(255,240,207,.44) 0 .8px,
      transparent 1.6px
    ),
    radial-gradient(
      circle at 93% 73%,
      rgba(92,52,22,.16) 0 .7px,
      transparent 1.5px
    );

  opacity:
    .72;
}


/* =========================================================
   FALLING SAND
   ========================================================= */

.areas-cta-sand {
  position: absolute;

  z-index: 2;

  top:
    49px;

  left:
    50%;

  width:
    2px;

  height:
    2px;

  border-radius:
    50%;

  background:
    rgba(177,119,53,.76);

  pointer-events:
    none;

  opacity:
    0;

  filter:
    drop-shadow(
      0 1px 1px
      rgba(105,65,28,.12)
    );

  will-change:
    transform,
    opacity;
}


/* ---------- first grain group ---------- */

.areas-cta-sand-a {
  box-shadow:
    -86px 3px 0 rgba(174,116,51,.64),
    -74px 10px 0 rgba(222,177,108,.76),
    -62px 1px 0 rgba(149,93,37,.58),
    -51px 13px 0 rgba(205,153,82,.76),
    -39px 5px 0 rgba(226,184,116,.82),
    -28px 15px 0 rgba(143,91,38,.58),
    -16px 3px 0 rgba(224,181,113,.82),
    -5px 11px 0 rgba(158,99,40,.60),

    8px 4px 0 rgba(224,180,111,.76),
    19px 14px 0 rgba(166,106,45,.64),
    31px 2px 0 rgba(230,191,128,.82),
    43px 10px 0 rgba(214,164,92,.74),
    55px 16px 0 rgba(151,93,37,.54),
    67px 4px 0 rgba(224,184,119,.76),
    78px 12px 0 rgba(166,105,43,.58),
    88px 2px 0 rgba(231,193,132,.74);

  animation:
    areasButtonSandFallA
    2.2s ease-in-out
    infinite;
}


/* ---------- second grain group ---------- */

.areas-cta-sand-b {
  width:
    1.5px;

  height:
    1.5px;

  box-shadow:
    -91px 8px 0 rgba(214,164,93,.62),
    -79px 1px 0 rgba(147,92,37,.52),
    -67px 14px 0 rgba(226,186,122,.72),
    -54px 5px 0 rgba(168,107,44,.58),
    -42px 17px 0 rgba(219,172,103,.72),
    -30px 2px 0 rgba(145,89,35,.48),
    -18px 11px 0 rgba(230,193,132,.70),
    -7px 18px 0 rgba(157,97,39,.52),

    6px 6px 0 rgba(221,176,108,.70),
    18px 16px 0 rgba(150,92,37,.48),
    31px 3px 0 rgba(233,197,139,.72),
    44px 13px 0 rgba(166,104,42,.54),
    57px 5px 0 rgba(223,178,109,.68),
    69px 18px 0 rgba(147,89,35,.46),
    81px 9px 0 rgba(229,191,128,.68),
    92px 2px 0 rgba(169,108,45,.48);

  animation:
    areasButtonSandFallB
    2.65s ease-in-out
    .42s infinite;
}


/* ---------- third / finest grain group ---------- */

.areas-cta-sand-c {
  width:
    1px;

  height:
    1px;

  box-shadow:
    -94px 12px 0 rgba(193,139,70,.52),
    -82px 3px 0 rgba(232,197,139,.66),
    -70px 17px 0 rgba(149,91,35,.42),
    -57px 7px 0 rgba(225,183,117,.62),
    -44px 20px 0 rgba(157,97,40,.46),
    -32px 1px 0 rgba(225,185,121,.60),
    -20px 13px 0 rgba(164,103,44,.44),
    -8px 22px 0 rgba(234,199,143,.66),

    5px 9px 0 rgba(155,94,37,.42),
    18px 18px 0 rgba(229,190,129,.62),
    30px 2px 0 rgba(171,108,44,.44),
    42px 14px 0 rgba(235,202,148,.66),
    55px 21px 0 rgba(149,91,35,.40),
    68px 6px 0 rgba(227,188,124,.60),
    81px 17px 0 rgba(166,104,43,.44),
    94px 10px 0 rgba(236,203,149,.62);

  animation:
    areasButtonSandFallC
    3.1s ease-in-out
    .85s infinite;
}


/* =========================================================
   BUTTON HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

  .areas-explore-button:hover {
    transform:
      translateY(-3px)
      scale(1.018);

    background:
      linear-gradient(
        125deg,
        #8b5828 0%,
        #b17838 27%,
        #ce9856 53%,
        #ddb982 76%,
        #f0dbb8 100%
      );

  box-shadow:
  inset 0 0 0 1px
    rgba(255,241,215,.64),

  0 18px 38px
    rgba(105,65,28,.24),

  0 0 26px
    rgba(226,193,137,.16),

  inset 0 1px 0
    rgba(255,248,231,.62),

  inset 0 -1px 0
    rgba(105,65,28,.14);
  }


  .areas-explore-button:hover::before {
    animation:
      areasButtonSandSheen
      900ms
      cubic-bezier(.2,.7,.2,1)
      forwards;
  }


  /*
    Po najechaniu piasek jest trochę bardziej widoczny.
  */

  .areas-cta:has(
    .areas-explore-button:hover
  )
  .areas-cta-sand {
    filter:
      drop-shadow(
        0 2px 2px
        rgba(105,65,28,.18)
      );
  }

}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes areasButtonSandSheen {

  0% {
    left:
      -34%;

    opacity:
      0;
  }

  20% {
    opacity:
      .72;
  }

  100% {
    left:
      125%;

    opacity:
      0;
  }

}


@keyframes areasButtonSandFallA {

  0% {
    opacity:
      0;

    transform:
      translate3d(
        -50%,
        -3px,
        0
      );
  }

  18% {
    opacity:
      .90;
  }

  76% {
    opacity:
      .42;
  }

  100% {
    opacity:
      0;

    transform:
      translate3d(
        calc(-50% + 7px),
        25px,
        0
      );
  }

}


@keyframes areasButtonSandFallB {

  0% {
    opacity:
      0;

    transform:
      translate3d(
        -50%,
        -1px,
        0
      );
  }

  24% {
    opacity:
      .82;
  }

  100% {
    opacity:
      0;

    transform:
      translate3d(
        calc(-50% - 9px),
        31px,
        0
      );
  }

}


@keyframes areasButtonSandFallC {

  0% {
    opacity:
      0;

    transform:
      translate3d(
        -50%,
        1px,
        0
      );
  }

  20% {
    opacity:
      .72;
  }

  100% {
    opacity:
      0;

    transform:
      translate3d(
        calc(-50% + 4px),
        36px,
        0
      );
  }

}

/* ============================================================
   HOME — AREA CARDS VISUAL PARITY WITH AREAS PAGE
   Preserve existing Home carousel and swipe behaviour.
   ============================================================ */

.area-section .areas-grid .area-card.areas-card {
  --areas-ease: cubic-bezier(.22, .7, .24, 1);

  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: .82;

  overflow: hidden;

  border: 1px solid rgba(26, 70, 89, .20);
  border-radius: 26px;

  background: #335563;
  box-shadow: 0 20px 46px rgba(41, 62, 65, .095);

  isolation: isolate;
}

/* Entire card is clickable */

.area-section .areas-card-link {
  position: absolute;
  inset: 0;

  display: block;
  overflow: hidden;

  color: #fff;
  border-radius: inherit;

  -webkit-tap-highlight-color: transparent;
}

/* Photography */

.area-section .areas-card-link > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.001);

  transition:
    transform 700ms var(--areas-ease),
    filter 650ms ease;
}

/* Original Areas gradient */

.area-section .areas-card-shade {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(6, 23, 32, .38) 0%,
      transparent 27%,
      rgba(4, 20, 30, .22) 43%,
      rgba(4, 22, 32, .84) 100%
    );
}

/* Top metadata */

.area-section .areas-card-top {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 16px;

  color: #fff;

  font-family: "Manrope", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .13em;

  pointer-events: none;
}

.area-section .areas-card-vibe {
  text-align: right;
  opacity: .88;
}

/* Bottom content */

.area-section .areas-card-content {
  position: absolute;
  inset: auto 0 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 30px 27px 26px;
}

/* Area name */

.area-section .areas-card-name {
  display: block;

  margin-bottom: 8px;

  color: #fff;

  font-family: "Fraunces", serif;
  font-size: clamp(1.48rem, 2.05vw, 1.95rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.025em;

  text-wrap: balance;
}

/* Tagline */

.area-section .areas-card-tagline {
  display: block;

  margin-bottom: 9px;

  color: #e6f5f3;

  font-family: "Manrope", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
}

/* Description */

.area-section .areas-card-description {
  display: block;

  min-height: 3.7em;

  color: rgba(255, 255, 255, .87);

  font-family: "Manrope", sans-serif;
  font-size: .82rem;
  line-height: 1.85;

  text-wrap: pretty;
}

/* Bottom link row */

.area-section .areas-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;
  width: 100%;

  margin-top: 17px;
  padding-top: 15px;

  border-top: 1px solid rgba(255, 255, 255, .27);

  color: #fff;

  font-family: "Manrope", sans-serif;
  font-size: .79rem;
  font-weight: 700;
}

/* Circular arrow */

.area-section .areas-card-arrow {
  display: grid;
  flex: 0 0 auto;

  width: 38px;
  height: 38px;

  place-items: center;

  border: 1px solid rgba(255, 255, 255, .50);
  border-radius: 50%;

  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(8px);

  transition:
    transform 250ms ease,
    color 250ms ease,
    background 250ms ease;
}

.area-section .areas-card-arrow svg {
  width: 17px;
  height: 17px;
}

/* Hover — same as Areas */

@media (hover: hover) and (pointer: fine) {

  .area-section .areas-grid .area-card.areas-card:hover {
    transform: none;
    border-color: rgba(26, 70, 89, .20);
    box-shadow: 0 26px 58px rgba(41, 62, 65, .15);
  }

  .area-section .areas-card-link:hover > img {
    transform: scale(1.065);
    filter: saturate(1.08);
  }

  .area-section .areas-card-link:hover .areas-card-arrow {
    transform: translate(2px, -2px);
    color: #24566f;
    background: #fff;
  }

}

/* ============================================================
   RESPONSIVE — MATCH AREAS CARD TYPOGRAPHY AND PROPORTIONS
   ============================================================ */

/* Large desktop */

@media (min-width: 1280px) {

  .area-section .areas-grid .area-card.areas-card {
    aspect-ratio: .87;
  }

}

/* Tablet */

@media (min-width: 768px) and (max-width: 1023px) {

  .area-section .areas-grid .area-card.areas-card {
    aspect-ratio: .88;
  }

  .area-section .areas-card-content {
    padding: 27px 24px 23px;
  }

}

/* Mobile */

@media (max-width: 767px) {

  .area-section .areas-grid .area-card.areas-card {
    aspect-ratio: .97;
    border-radius: 23px;
  }

  .area-section .areas-card-top {
    top: 22px;
    left: 21px;
    right: 21px;
  }

  .area-section .areas-card-content {
    padding: 27px 23px 22px;
  }

  .area-section .areas-card-name {
    font-size: clamp(1.48rem, 6vw, 1.86rem);
  }

  .area-section .areas-card-description {
    min-height: 0;
    font-size: .80rem;
  }

  .area-section .areas-card-bottom {
    margin-top: 13px;
    padding-top: 12px;
  }

}

/* Home retains two carousel cards on wide mobile.
   Give their text enough vertical space. */

@media (min-width: 600px) and (max-width: 767px) {

  .area-section .areas-grid .area-card.areas-card {
    aspect-ratio: auto;
    min-height: 390px;
  }

  .area-section .areas-card-top {
    left: 17px;
    right: 17px;
    gap: 8px;
  }

  .area-section .areas-card-content {
    padding: 21px 18px 19px;
  }

  .area-section .areas-card-name {
    font-size: 1.45rem;
  }

}

/* Very small phones */

@media (max-width: 390px) {

  .area-section .areas-grid .area-card.areas-card {
    aspect-ratio: .82;
  }

  .area-section .areas-card-top {
    font-size: .59rem;
  }

  .area-section .areas-card-description {
    font-size: .76rem;
    line-height: 1.7;
  }

  .area-section .areas-card-tagline {
    margin-bottom: 5px;
  }

}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  .area-section .areas-card-link > img,
  .area-section .areas-card-arrow {
    transition: none !important;
  }

  .area-section .areas-card-link:hover > img {
    transform: none;
  }

}


/* =========================================================
   HOME AREAS CAROUSEL — DESKTOP CARD WIDTH FIX
   Three cards per row, preserving carousel behaviour
   ========================================================= */

@media (min-width: 1024px) {
  .area-section .areas-grid > .area-card.areas-card {
    flex: 0 0 calc((100% - 44px) / 3);
  }
}

.area-controls {
  position: absolute;

  top: 8px;
  right: 0;
  bottom: 44px;
  left: 0;

  z-index: 10;

  pointer-events: none;
}

.review-arrow {
  position: absolute;
  top: 50%;

  display: grid;
  width: 46px;
  height: 46px;

  place-items: center;
  padding: 0;

  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;

  color: #ffffff;

  background: rgba(20, 58, 76, .72);

  box-shadow:
    0 6px 18px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.32);

  cursor: pointer;
  pointer-events: auto;

  opacity: .96;

  transform: translateY(-50%);

  transition:
    opacity 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms cubic-bezier(.2,.7,.2,1);
}

.review-arrow span {
  display: block;

  width: 11px;
  height: 11px;

  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

#reviewPrev span,
#areaPrev span {
  transform:
    translateX(2px)
    rotate(-135deg);
}

#reviewNext span,
#areaNext span {
  transform:
    translateX(-2px)
    rotate(45deg);
}

#reviewPrev {
  left: 0px;
}

#reviewNext {
  right: 0px;
}

/* ---------- Area carousel arrows ---------- */

#areaPrev {
  left: -10px;
}

#areaNext {
  right: -10px;
}

@media (min-width: 768px) {

  #areaPrev {
    left: -23px;
  }

  #areaNext {
    right: -23px;
  }
}

.review-arrow:hover {
  opacity: 1;

  border-color: #ffffff;
  background: rgba(36, 86, 111, .88);

  transform:
    translateY(-50%)
    scale(1.08);
}


/* ============================================================
   AREA DETAIL — HOME AREAS RESPONSIVE LAYOUT
   Desktop 3 cards / Tablet 2 / Mobile 1
   Home design, with original dunes and sand.
   ============================================================ */

/* Main section */

.area-detail .section.area-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding-top: 55px;
  padding-bottom: 180px;

  background: #eadfce;
}

/* Keep section content above dunes */

.area-detail .area-section > .shell {
  position: relative;
  z-index: 2;
}

/* Center the original Home heading */

.area-detail .area-section > .shell > .section-heading {
  margin-inline: auto;
  text-align: center;
}

/* One full-width card by default */

.area-detail .area-section .areas-grid > .area-card.areas-card {
  flex: 0 0 100%;
}

/* Carousel sizing */

.area-detail .area-section .areas-carousel {
  position: relative;
  width: 100%;
}

.area-detail .area-section .areas-grid {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

/* Desktop: 3 cards */

@media (min-width: 1024px) {

  .area-detail .area-section .areas-grid > .area-card.areas-card {
    flex: 0 0 calc((100% - 44px) / 3);
  }

}

/* Large desktop — same dunes and spacing as Home */

@media (min-width: 1280px) {

  .area-detail .section.area-section {
    padding-top: 55px;
    padding-bottom: 100px;
  }

  .area-detail .area-dunes {
    width: 100%;
    height: 220px;
  }

}

/* Desktop 1024–1279px */

@media (min-width: 1024px) and (max-width: 1279px) {

  .area-detail .section.area-section {
    padding-top: 55px;
    padding-bottom: 250px;
  }

  .area-detail .area-dunes {
    width: 110%;
    height: 195px;
  }

}

/* Tablet: 2 cards */

@media (min-width: 768px) and (max-width: 1023px) {

  .area-detail .section.area-section {
    padding-top: 48px;
    padding-bottom: 90px;
  }

  .area-detail .area-section .areas-grid > .area-card.areas-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }

  .area-detail .area-dunes {
    width: 135%;
    height: 170px;
  }

}

/* Wide mobile: same 2-card behaviour as Home */

@media (min-width: 600px) and (max-width: 767px) {

  .area-detail .area-section .areas-carousel {
    max-width: 680px;
    margin-inline: auto;
  }

  .area-detail .area-section .areas-grid > .area-card.areas-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }

}

/* Narrow mobile: one card */

@media (max-width: 599px) {

  .area-detail .area-section .areas-carousel {
    max-width: 560px;
    margin-inline: auto;
  }

  .area-detail .area-section .areas-grid > .area-card.areas-card {
    flex: 0 0 100%;
  }

}

/* Mobile section spacing */

@media (max-width: 767px) {

  .area-detail .section.area-section {
    padding-top: 0;
    padding-bottom: 60px;
  }

}

/* ============================================================
   AREA DETAIL — LIGHT TO DESERT TRANSITION
   ============================================================ */

.area-detail-to-desert {
  height: clamp(36px, 4vw, 60px);
  margin-top: -1px;

  background: linear-gradient(
    180deg,
    #f4f9fa 0%,
    #f0eee5 35%,
    #eadfce 100%
  );
}

/* ============================================================
   AREA HERO — TABLET SPACING
   ============================================================ */

@media (min-width: 768px) and (max-width: 1199px) {

  .area-detail-hero-copy {
    transform: translateY(-45px);
  }

}


/* ==========================================
   AREA DETAIL - RELATED CAROUSEL
   CENTER CARD TEXT - ALL BREAKPOINTS
   ========================================== */

.area-detail-related .areas-card-content {
  align-items: center;
  text-align: center;
}

.area-detail-related .areas-card-name,
.area-detail-related .areas-card-tagline,
.area-detail-related .areas-card-description {
  width: 100%;
  text-align: center;
}


/* Contextual SEO link — Explore Areas */
.area-detail-homes-content .area-context-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.area-detail-homes-content .area-context-link:hover {
  text-decoration-thickness: 2px;
}