/* ═══════════════════════════════════════════════════════════
   SOUL ADVENTURE · COSTA RICA — redesign concept
   Palette: deep jungle greens, warm cream & sand, clay accent
   Type: Cormorant Garamond (display) · Jost (sans)
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream:  #f4efe3;
  --cream-2:#efe7d6;
  --sand:   #e3d7bf;
  --ink:    #1b2417;
  --forest: #243420;
  --deep:   #141c11;
  --moss:   #5a6f4c;
  --sage:   #a9b899;
  --clay:   #c1714a;
  --clay-d: #a85e3b;
  --gold:   #c9a25e;
  --line:   rgba(27, 36, 23, .14);
  --line-l: rgba(244, 239, 227, .18);

  --font-d: "Cormorant Garamond", "Times New Roman", serif;
  --font-s: "Jost", "Century Gothic", "Segoe UI", sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 1280px;
  --r: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

/* clip (not hidden) so GSAP scale/clip reveals can't create
   scrollable overflow or expand the mobile layout viewport */
html { overflow-x: clip; scroll-behavior: smooth; }

body {
  font-family: var(--font-s);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
section { scroll-margin-top: 4.5rem; }

::selection { background: var(--moss); color: var(--cream); }

/* ── Typography ─────────────────────────────────────────── */
.h2 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: .01em;
}
.h2 em, .hero__title em, .reserve__title em, .intro__quote em, .exp__closing em, .break__quote em {
  font-style: italic;
  font-weight: 300;
  color: var(--clay);
}
.section--dark .h2 em { color: var(--gold); }

.eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--gold); }

.section { padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad); }
.section > * { max-width: var(--max); margin-inline: auto; }
.section--dark { background: var(--deep); color: var(--cream); }

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section__head .eyebrow { justify-content: flex-start; }
.section__lead { margin-top: 1.2rem; font-size: 1.06rem; max-width: 56ch; opacity: .82; }

/* ── Buttons & links ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-s);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .45s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--clay); color: var(--cream); box-shadow: 0 10px 30px -12px rgba(193, 113, 74, .8); }
.btn--solid:hover { background: var(--clay-d); transform: translateY(-3px); box-shadow: 0 18px 38px -12px rgba(193, 113, 74, .9); }
.btn--ghost { border: 1px solid rgba(244, 239, 227, .55); color: var(--cream); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(244, 239, 227, .14); border-color: var(--cream); transform: translateY(-3px); }
.btn--lg { padding: 1.15rem 2.4rem; font-size: .9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.8rem;
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  color: var(--cream);
  transition: background .4s, color .4s, box-shadow .4s, padding .4s;
}
.nav--scrolled {
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .8rem;
}
/* blur lives on a pseudo-element so .nav never becomes a containing
   block for the fixed mobile menu */
.nav--scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(244, 239, 227, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; }
.nav__mark { width: 1.7rem; height: 1.7rem; color: var(--gold); }
.nav--scrolled .nav__mark { color: var(--moss); }
.nav__wordmark {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .3s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  padding: .65rem 1.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s;
}
.nav__cta:hover { background: var(--clay); border-color: var(--clay); color: var(--cream); opacity: 1; }
.nav__burger { display: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  padding: 6rem var(--pad) 7rem;
}
.hero__media { position: absolute; inset: -22% 0; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 28, 17, .55) 0%, rgba(20, 28, 17, .18) 40%, rgba(20, 28, 17, .72) 100%);
}
.hero__eyebrow {
  font-size: .8rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--sand);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(3.2rem, 9.5vw, 7.6rem);
  line-height: 1.02;
  letter-spacing: .01em;
  text-shadow: 0 2px 40px rgba(20, 28, 17, .45);
}
.hero__title span { display: block; }
.hero__title em { color: var(--gold); font-weight: 300; }
.hero__sub {
  max-width: 44ch;
  margin: 1.8rem auto 0;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  font-weight: 300;
  color: rgba(244, 239, 227, .92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.6rem; }
.hero__meta {
  position: absolute;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, .8);
}
.hero__meta i { width: 34px; height: 1px; background: rgba(244, 239, 227, .45); }
.hero__scroll {
  position: absolute;
  bottom: 5.6rem;
  width: 26px; height: 44px;
  border: 1.5px solid rgba(244, 239, 227, .55);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 9px;
  border-radius: 3px;
  background: var(--cream);
  animation: drip 2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
  background: var(--forest);
  color: var(--sand);
  overflow: hidden;
  padding: 1.05rem 0;
  border-block: 1px solid var(--line-l);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.marquee__track b { color: var(--gold); font-size: .9rem; }

/* ── Intro ──────────────────────────────────────────────── */
.intro__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.intro__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(27, 36, 23, .45);
}
.intro__media figcaption {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(20, 28, 17, .8);
}
.intro__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(20, 28, 17, .55));
}
.intro__quote {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.4rem;
}
.intro__lead {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--moss);
  margin-bottom: 1rem;
}
.intro__text > p:not(.eyebrow):not(.intro__lead) { max-width: 56ch; opacity: .85; }
.intro__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.intro__stats li { display: grid; gap: .15rem; }
.intro__stats strong {
  font-family: var(--font-d);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}
.intro__stats span {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--moss);
}

/* ── Host ───────────────────────────────────────────────── */
.host__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.host__media {
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--r) var(--r);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.host__text p:not(.eyebrow) { max-width: 52ch; color: rgba(244, 239, 227, .82); margin-top: 1.2rem; }
.host__text .h2 { color: var(--cream); }

/* ── Experience bento ───────────────────────────────────── */
.exp { background: var(--cream-2); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.1rem;
}
.bento__card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(27, 36, 23, .5);
}
.bento__card--xl { grid-column: span 2; grid-row: span 2; }
.bento__card--wide { grid-column: span 2; }
.bento__card img { transition: transform 1.1s var(--ease); }
.bento__card:hover img { transform: scale(1.06); }
.bento__card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(185deg, transparent 45%, rgba(20, 28, 17, .78));
  transition: opacity .4s;
}
.bento__label { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.15rem; z-index: 2; color: var(--cream); }
.bento__label h3 {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 1px 14px rgba(20, 28, 17, .6);
}
.bento__label p { font-size: .82rem; color: rgba(244, 239, 227, .85); margin-top: .25rem; }
.bento__card--text { background: var(--forest); display: grid; place-items: center; text-align: center; }
.bento__card--text::after { display: none; }
.bento__label--static { position: static; padding: 1.4rem; }
.bento__label--static h3 { font-size: 1.5rem; }
.bento__icon { display: block; color: var(--gold); font-size: 1.4rem; margin-bottom: .7rem; }
.exp__closing {
  max-width: 62ch;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-align: center;
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--forest);
}

/* ── Image break ────────────────────────────────────────── */
.break {
  position: relative;
  height: clamp(340px, 55vh, 560px);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.break__media { position: absolute; inset: -18% 0; }
.break::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 28, 17, .38);
}
.break__quote {
  position: relative;
  z-index: 2;
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(20, 28, 17, .6);
}
.break__quote em { color: var(--gold); }

/* ── Stay / rooms ───────────────────────────────────────── */
.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.room {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.room:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -34px rgba(27, 36, 23, .5); }
.room__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room__media img { transition: transform 1.1s var(--ease); }
.room:hover .room__media img { transform: scale(1.07); }
.room__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(20, 28, 17, .82);
  color: var(--sand);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .45rem .95rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.room--soldout .room__media img { filter: saturate(.55) brightness(.92); }
.room__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.room__body h3 { font-family: var(--font-d); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.room__beds {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss);
}
.room__body > p:not(.room__beds):not(.room__price) { font-size: .92rem; opacity: .8; flex: 1; }
.room__price { padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--forest); }
.room__price strong { font-family: var(--font-d); font-size: 1.5rem; font-weight: 600; color: var(--clay); }
.room__note { font-size: .78rem; opacity: .65; }

.offer {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.3rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 162, 94, .12), rgba(193, 113, 74, .1));
  text-align: center;
  font-size: 1rem;
}
.offer__spark { color: var(--clay); font-size: 1.2rem; animation: spin 14s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Travel ─────────────────────────────────────────────── */
.travel__legs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.leg {
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 1.8rem 1.7rem;
  background: rgba(244, 239, 227, .04);
  transition: transform .55s var(--ease), background .4s;
}
.leg:hover { transform: translateY(-6px); background: rgba(244, 239, 227, .08); }
.leg__step {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.leg h3 {
  font-family: var(--font-d);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 1.2rem;
}
.leg__arrow { color: var(--gold); font-style: normal; padding-inline: .15em; }
.leg dl { display: grid; gap: .7rem; }
.leg dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line-l); padding-bottom: .7rem; }
.leg dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.leg dd { font-size: .9rem; text-align: right; color: rgba(244, 239, 227, .9); }
.travel__note {
  margin-top: 2.4rem;
  text-align: center;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sand);
}
.travel__note span { color: var(--gold); font-style: normal; margin-right: .4rem; }

/* ── Reserve ────────────────────────────────────────────── */
.reserve {
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(201, 162, 94, .16), transparent 60%),
    var(--cream);
  text-align: center;
}
.reserve__inner { max-width: 760px; }
.reserve .eyebrow { justify-content: center; }
.reserve .eyebrow::after { content: ""; width: 2.6rem; height: 1px; background: currentColor; opacity: .6; }
.reserve__title {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 1.6rem;
}
.reserve__inner > p:not(.eyebrow):not(.reserve__fine) { max-width: 52ch; margin: 0 auto 2.2rem; opacity: .85; }
.reserve__fine {
  margin-top: 1.8rem;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--moss);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--deep); color: var(--cream); padding: 3rem var(--pad); }
.footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.footer__links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer__links a {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  transition: opacity .3s;
}
.footer__links a:hover { opacity: 1; }
.footer__fine { font-size: .75rem; letter-spacing: .14em; color: var(--sage); width: 100%; text-align: center; padding-top: 1.2rem; border-top: 1px solid var(--line-l); }

/* ── Reveal animations (driven by GSAP in main.js) ──────────
   Hidden only when JS is active AND motion is allowed, so the
   page is fully visible with JS disabled or reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .travel__legs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 780px) {
  .intro__grid, .host__grid { grid-template-columns: 1fr; }
  .host__media { max-width: 420px; margin-inline: auto; }
  .rooms { grid-template-columns: 1fr; }
  .offer { border-radius: var(--r); }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    background: rgba(20, 28, 17, .96);
    backdrop-filter: blur(10px);
    color: var(--cream);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .4s var(--ease), visibility 0s linear .4s, transform .4s var(--ease);
  }
  .nav__links a { font-size: 1rem; }
  .nav__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .nav__burger {
    display: grid;
    gap: 6px;
    background: rgba(20, 28, 17, .38);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    padding: .7rem .6rem;
    z-index: 60;
    position: relative;
  }
  .nav--scrolled .nav__burger { background: rgba(27, 36, 23, .1); }
  .nav__burger[aria-expanded="true"] { background: rgba(244, 239, 227, .12); }
  .nav__burger span {
    width: 26px; height: 1.5px;
    background: currentColor;
    transition: transform .4s var(--ease);
  }
  .nav__burger[aria-expanded="true"] { color: var(--cream); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .bento__card--xl, .bento__card--wide { grid-column: span 1; grid-row: span 1; }
  .hero__meta {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: .5rem;
    column-gap: .9rem;
    font-size: .64rem;
    letter-spacing: .18em;
    max-width: 30ch;
  }
  .hero__meta i { display: none; }
  .hero__scroll { display: none; }
  .intro__stats { gap: 1.4rem; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader, .motes { display: none !important; }
  .hero__scroll span, .offer__spark { animation: none; }
  .bento__card img, .room__media img { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   V2 · ANIMATION LAYER
   ═══════════════════════════════════════════════════════════ */

/* ── Preloader ──────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--cream);
}
html:not(.js) .preloader { display: none; }
.preloader__inner { display: grid; place-items: center; gap: 1.15rem; }
.preloader__mark { width: 54px; height: 54px; stroke: var(--gold); }
.preloader__word {
  font-family: var(--font-d);
  font-size: 1.55rem;
  letter-spacing: .14em;
  color: var(--sand);
}
.preloader__bar {
  width: 150px;
  height: 1px;
  background: rgba(244, 239, 227, .18);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Hero title line masks ──────────────────────────────── */
.ht-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ht-inner { display: block; will-change: transform; }

/* SplitText line wrappers get overflow:hidden from the plugin;
   keep descenders from clipping in masked headings */
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* ── Motes canvas ───────────────────────────────────────── */
.motes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__content { position: relative; z-index: 2; }
.hero__meta, .hero__scroll { z-index: 2; } /* already absolutely positioned */

/* ── Nav underline draw ─────────────────────────────────── */
.nav__links a:not(.nav__cta) { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Rooms: horizontal gallery (desktop) ────────────────── */
.rooms-progress { display: none; }
@media (min-width: 1020px) {
  .rooms-pin { overflow: hidden; }
  .rooms { display: flex; gap: 1.4rem; align-items: stretch; will-change: transform; }
  .room { flex: 0 0 min(400px, 31vw); }
  .rooms-progress {
    display: block;
    height: 2px;
    margin-top: 1.6rem;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
  }
  .rooms-progress span {
    display: block;
    width: 100%; height: 100%;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
  }
}

/* ── Travel route ───────────────────────────────────────── */
.route {
  position: relative;
  height: 60px;
  margin-bottom: 3rem;
}
.route__svg { width: 100%; height: 100%; overflow: visible; }
.route__line {
  stroke: var(--gold);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: .9;
}
.route__dot { fill: var(--gold); }
.route__plane {
  position: absolute;
  top: 0; left: 0;
  width: 22px; height: 22px;
  color: var(--sand);
  filter: drop-shadow(0 0 6px rgba(201, 162, 94, .6));
}
@media (max-width: 779px) { .route { display: none; } }
