/* Meridian — Bespoke Luxury Travel
   Palette: midnight #0a1020 · deep ocean #12304a · sunrise gold #f0b45a · sand #efe3cf · coral #e9735a */

:root {
  --midnight: #0a1020;
  --midnight-2: #0d1528;
  --ocean: #12304a;
  --gold: #f0b45a;
  --sand: #efe3cf;
  --coral: #e9735a;
  --text: var(--sand);
  --text-muted: #c4b9a8; /* 9.6:1 on midnight */
  --line: rgba(239, 227, 207, 0.16);
  --glass: rgba(10, 16, 32, 0.58);
  --glass-strong: rgba(10, 16, 32, 0.78);

  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--midnight);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--midnight); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--midnight);
  padding: 0.7rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 12px var(--coral);
}

.h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-variation-settings: "opsz" 120;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--gold); }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  --pad-x: 1.6rem;
  position: relative;
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 48px;
  padding: 0.85rem var(--pad-x);
  border-radius: 999px;
  font: 500 0.95rem/1 var(--f-text);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--gold {
  background: var(--gold); color: var(--midnight);
  box-shadow: 0 10px 40px -12px rgba(240, 180, 90, 0.6);
}
.btn--gold:hover { background: #f6c77c; box-shadow: 0 14px 50px -10px rgba(240, 180, 90, 0.75); }
.btn--ghost { border-color: rgba(240, 180, 90, 0.55); color: var(--sand); background: rgba(10, 16, 32, 0.3); }
.btn--ghost:hover { background: var(--gold); color: var(--midnight); border-color: var(--gold); }
.btn--text {
  padding-inline: 0.2rem; color: var(--sand);
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 10px) / 100% 1px no-repeat;
  border-radius: 0;
}
.btn--text:hover { color: var(--gold); }

/* ------------------------------------------------------------------ */
/* Canvas + backdrop                                                   */
/* ------------------------------------------------------------------ */
.globe {
  position: fixed; inset: 0;
  width: 100%; height: 100vh; height: 100lvh;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.scene-fallback {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60vmax 60vmax at 72% 46%, rgba(18, 48, 74, 0.9), transparent 60%),
    radial-gradient(40vmax 30vmax at 90% 100%, rgba(233, 115, 90, 0.25), transparent 70%),
    var(--midnight);
}
.scene-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 9, 18, 0.55) 100%);
}
.no-webgl .globe { display: none; }

main, .footer { position: relative; z-index: 2; }

/* ------------------------------------------------------------------ */
/* Preloader                                                           */
/* ------------------------------------------------------------------ */
.preloader { display: none; }
.has-motion .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--midnight);
  color: var(--sand);
}
.preloader__inner { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.preloader__mark { width: 56px; height: 56px; color: var(--gold); }
.pl-orbit, .pl-meridian { stroke-dasharray: 170; stroke-dashoffset: 170; animation: pl-draw 1.2s var(--ease) forwards; }
.pl-meridian { animation-delay: 0.2s; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
.preloader__word {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: -0.02em; line-height: 1;
}
.preloader__count { font: 500 0.8rem/1 var(--f-text); letter-spacing: 0.3em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.preloader__bar { width: min(240px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.preloader__coords { font-size: 0.72rem; letter-spacing: 0.22em; color: var(--text-muted); text-transform: uppercase; }
.is-loading { overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Cursor                                                              */
/* ------------------------------------------------------------------ */
.cursor { display: none; }
@media (pointer: fine) {
  .has-motion .cursor {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 150;
    pointer-events: none;
  }
  .has-motion.cursor-ready, .has-motion.cursor-ready a, .has-motion.cursor-ready button, .has-motion.cursor-ready label { cursor: none; }
  .has-motion.cursor-ready input, .has-motion.cursor-ready select, .has-motion.cursor-ready textarea { cursor: auto; }
}
.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--gold);
}
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; border: 1px solid rgba(239, 227, 207, 0.55);
  display: grid; place-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cursor.is-active .cursor__ring { background: var(--gold); border-color: var(--gold); }
.cursor__label {
  font: 600 0.6rem/1 var(--f-text); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--midnight); opacity: 0; transition: opacity 0.3s;
  white-space: nowrap;
}
.cursor.is-active .cursor__label { opacity: 1; }
.cursor.is-active .cursor__dot { opacity: 0; }

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--gutter);
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), backdrop-filter 0.6s;
}
.nav.is-scrolled {
  background: rgba(10, 16, 32, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(239, 227, 207, 0.08);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--sand);
  font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; letter-spacing: -0.01em;
}
.nav__logo svg { width: 30px; height: 30px; color: var(--gold); }
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a {
  position: relative; text-decoration: none; font-size: 0.9rem; color: var(--sand);
  padding-block: 0.4rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 42px; padding-block: 0.6rem; --pad-x: 1.2rem; font-size: 0.88rem; }
.nav__toggle {
  display: none; margin-left: auto;
  align-items: center; gap: 0.7rem;
  min-height: 44px; padding: 0 0.2rem;
  background: none; border: 0; color: var(--sand); cursor: pointer;
  font: 500 0.85rem/1 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase;
}
.nav__toggle-lines { display: grid; gap: 6px; width: 24px; }
.nav__toggle-lines i { display: block; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(10, 16, 32, 0.97);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
}
.menu[hidden] { display: none; }
.menu__links { display: grid; gap: 0.4rem; }
.menu__links a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.15; letter-spacing: -0.02em;
  text-decoration: none; padding-block: 0.25rem;
}
.menu__links small { font: 500 0.75rem var(--f-text); color: var(--gold); letter-spacing: 0.12em; }
.menu__foot { margin-top: 2.5rem; color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 2rem);
}
.hero__grid { flex: 1; display: flex; align-items: center; }
.hero__copy { max-width: 40rem; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 1.8rem;
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line { display: block; }
.hero__sub { max-width: 31rem; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--text-muted); margin-bottom: 2.4rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; }
.hero__meta {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  padding-block: 2rem 2.2rem;
  font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.04em;
}
.meta-label { display: block; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 0.3rem; }
.hero__scroll { display: inline-flex; align-items: center; gap: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.7rem; }
.scroll-line { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold);
  animation: scroll-hint 2.2s var(--ease) infinite;
}
@keyframes scroll-hint { to { top: 110%; } }

@media (max-width: 860px) {
  .hero { justify-content: flex-end; }
  .hero__grid { align-items: flex-end; padding-top: 34vh; }
  .hero::before {
    content: ""; position: absolute; inset: 35% 0 0; z-index: -1;
    background: linear-gradient(transparent, rgba(10, 16, 32, 0.85) 45%);
    pointer-events: none;
  }
  .hero__meta p:first-child, .hero__meta p:last-child { display: none; }
  .hero__meta { justify-content: center; }
}

/* ------------------------------------------------------------------ */
/* Philosophy                                                          */
/* ------------------------------------------------------------------ */
.philosophy { padding-block: clamp(7rem, 16vh, 12rem); }
.philosophy__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.philosophy__head { max-width: 44rem; }
.principles {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: min(62rem, 62vw);
}
.principle {
  padding: 1.8rem 1.6rem 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.6), rgba(10, 16, 32, 0.15));
  border-radius: 0 0 18px 18px;
}
.principle__no { font-family: var(--f-display); font-style: italic; color: var(--coral); font-size: 1.05rem; }
.principle h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; margin: 0.9rem 0 0.7rem; }
.principle p { color: var(--text-muted); font-size: 0.97rem; }

@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; max-width: none; }
  .philosophy__head { background: rgba(10, 16, 32, 0.55); border-radius: 18px; padding: 1.2rem 1rem; margin-inline: -1rem; }
}

/* ------------------------------------------------------------------ */
/* Destinations                                                        */
/* ------------------------------------------------------------------ */
.destinations { position: relative; }
.dest-stage { padding-block: 7rem; }
.dest-stage__inner { position: relative; }
.dest-head { margin-bottom: 2rem; }
.dest-head .eyebrow { margin-bottom: 0.6rem; }
.dest-panels { display: grid; gap: 1.5rem; max-width: 34rem; }
.dest-panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(239, 227, 207, 0.1);
  border-radius: 22px;
}
.dest-panel__coords { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; font-variant-numeric: tabular-nums; }
.dest-panel__title {
  font-family: var(--f-display); font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 0.95; letter-spacing: -0.035em;
}
.dest-panel__region { margin: 0.7rem 0 1.1rem; font-size: 0.92rem; color: var(--sand); opacity: 0.9; }
.dest-panel__copy { color: var(--text-muted); font-size: 0.98rem; }
.facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 2.2rem;
  margin: 1.5rem 0 1.2rem; padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.facts dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.facts dd { font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; color: var(--sand); white-space: nowrap; }
.facts small { font-family: var(--f-text); font-size: 0.7rem; color: var(--text-muted); }
.dest-panel__list { display: grid; gap: 0.45rem; font-size: 0.9rem; }
.dest-panel__list li { display: flex; gap: 0.7rem; align-items: baseline; }
.dest-panel__list li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--coral); transform: translateY(-4px); }

.dest-rail { display: none; }

.has-motion .dest-stage { height: 100vh; height: 100svh; padding: 0; display: flex; align-items: center; }
.has-motion .dest-stage__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); padding-bottom: 5.5rem; }
.has-motion .dest-panels { position: relative; display: block; height: min(70vh, 560px); }
.has-motion .dest-panel { position: absolute; left: 0; right: 0; top: 0; visibility: hidden; }
.has-motion .dest-rail {
  display: flex; align-items: center; gap: 1.4rem;
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem;
}
.dest-rail__count { font-family: var(--f-display); font-size: 1.1rem; font-variant-numeric: tabular-nums; color: var(--sand); white-space: nowrap; }
.dest-rail__count span { color: var(--gold); }
.dest-rail__track { position: relative; width: 120px; height: 1px; background: var(--line); }
.dest-rail__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.dest-rail__names { display: flex; gap: 1.4rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.dest-rail__names li { transition: color 0.5s var(--ease); }
.dest-rail__names li.is-active { color: var(--sand); }

@media (max-width: 860px) {
  .has-motion .dest-stage__inner { justify-content: flex-end; padding-bottom: 4.5rem; }
  .has-motion .dest-head { position: absolute; top: calc(var(--nav-h) + 0.5rem); left: var(--gutter); }
  .has-motion .dest-panels { height: auto; min-height: 56svh; }
  .has-motion .dest-panel { top: auto; bottom: 0; }
  .dest-panel { padding: 1.3rem; background: var(--glass-strong); }
  .dest-panel__copy { display: none; }
  .dest-panel__title { font-size: 2.6rem; }
  .facts { gap: 0 1.2rem; margin-block: 1rem 0.9rem; padding-block: 0.8rem; }
  .facts dd { font-size: 1.1rem; }
  .dest-rail__names { display: none; }
  .has-motion .dest-rail { bottom: 1.4rem; }
}

/* ------------------------------------------------------------------ */
/* Signature journeys                                                  */
/* ------------------------------------------------------------------ */
.journeys { position: relative; overflow-x: hidden; }
@supports (overflow: clip) { .journeys { overflow-x: clip; } }
.journeys__pin { padding-block: 7rem 4rem; }
.journeys__head { margin-bottom: 2.4rem; }
.journeys__head .h2 { max-width: 14ch; }
.journeys__lede { margin-top: 1rem; max-width: 30rem; color: var(--text-muted); }
.journeys__viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.journeys__track {
  display: flex; gap: clamp(1rem, 2vw, 1.8rem);
  padding-inline: var(--gutter);
  width: max-content;
}
.jcard {
  flex: none;
  width: clamp(260px, min(27vw, 46vh), 380px);
  scroll-snap-align: start;
  border-radius: 22px; overflow: hidden;
  background: rgba(10, 16, 32, 0.84);
  border: 1px solid rgba(239, 227, 207, 0.1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  transition: border-color 0.5s var(--ease);
}
.jcard:hover { border-color: rgba(240, 180, 90, 0.5); }
.jcard__media { aspect-ratio: 3 / 2; overflow: hidden; }
.jcard__media .art-svg { width: 100%; height: 100%; transition: transform 0.9s var(--ease); }
.jcard:hover .jcard__media .art-svg { transform: scale(1.05); }
.jcard__body { padding: 1.3rem 1.4rem 1.5rem; }
.jcard__route { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.jcard h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; letter-spacing: -0.015em; line-height: 1.1; margin-bottom: 0.55rem; }
.jcard__body > p:not(.jcard__route):not(.jcard__meta) { color: var(--text-muted); font-size: 0.92rem; }
.jcard__meta { display: flex; justify-content: space-between; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.85rem; }
.jcard__meta span:last-child { color: var(--gold); }
.jcard--feature { background: linear-gradient(160deg, rgba(240, 180, 90, 0.2), rgba(10, 16, 32, 0.82) 55%); }
.journeys__progress { display: none; }

.has-motion .journeys__pin {
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--nav-h) + 0.5rem) 2rem;
}
.has-motion .journeys__head { margin-bottom: clamp(1.2rem, 3vh, 2.4rem); }
/* Scrim behind the heading block: the dive puts the bright surface right behind it. */
.has-motion .journeys__pin { position: relative; }
.has-motion .journeys__pin::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 62%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.92) 0%, rgba(10, 16, 32, 0.8) 45%, rgba(10, 16, 32, 0) 100%);
}
.has-motion .journeys__head { text-shadow: 0 2px 24px rgba(10, 16, 32, 0.8); }
.has-motion .journeys__viewport { overflow: visible; scroll-snap-type: none; padding: 0; }
.has-motion .journeys__track { will-change: transform; }
.has-motion .journeys__progress { display: block; margin-top: clamp(1rem, 3vh, 2rem); }
.journeys__progress span { display: block; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.journeys__progress { position: relative; }
.journeys__progress::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }

@media (max-height: 760px) and (min-width: 861px) {
  .has-motion .journeys__lede { display: none; }
  .jcard { width: clamp(250px, 23vw, 320px); }
}
@media (max-width: 860px) {
  .has-motion .journeys__lede { display: none; }
  .jcard { width: min(78vw, 320px); }
  .jcard__body > p:not(.jcard__route):not(.jcard__meta) { display: none; }
}

/* ------------------------------------------------------------------ */
/* Experience                                                          */
/* ------------------------------------------------------------------ */
.experience {
  padding-block: clamp(7rem, 15vh, 11rem) clamp(4rem, 8vh, 6rem);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0) 0, rgba(10, 16, 32, 0.82) 16rem, rgba(10, 16, 32, 0.9));
}
.experience__head { max-width: 46rem; margin-bottom: clamp(3rem, 7vh, 5rem); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.pillar__media {
  aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; margin-bottom: 1.4rem;
}
.pillar__media .art-svg { width: 100%; height: 100%; }
.pillar h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.pillar p { color: var(--text-muted); font-size: 0.96rem; max-width: 30rem; }
.pillar:nth-child(2) { margin-top: 3rem; }
.pillar:nth-child(3) { margin-top: 6rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  margin-top: clamp(4rem, 10vh, 7rem); padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; gap: 0.4rem; }
.stat dt { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.stat dd {
  font-family: var(--f-display); font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; color: var(--sand);
  font-variant-numeric: tabular-nums;
}
.stat dd small { font-size: 0.45em; color: var(--gold); letter-spacing: 0; }

.marquee {
  margin-top: clamp(4rem, 10vh, 7rem);
  border-block: 1px solid var(--line);
  overflow: hidden; padding-block: 1.6rem;
}
.marquee__track {
  display: flex; align-items: center; width: max-content;
  font-family: var(--f-display); font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.8rem); letter-spacing: -0.02em; white-space: nowrap;
}
.marquee__track > * { margin-right: 2.4rem; }
.marquee__track i { font-style: normal; font-size: 0.4em; color: var(--coral); }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 3rem; }
  .pillar:nth-child(n) { margin-top: 0; }
  .pillar__media { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
}

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */
.voices {
  padding-block: clamp(5rem, 12vh, 9rem);
  background: rgba(10, 16, 32, 0.9);
}
.voices__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto;
  gap: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem);
}
.quote { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.quote--lead { grid-row: span 2; }
.quote blockquote p {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em;
}
.quote--lead blockquote p { font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.18; letter-spacing: -0.02em; }
.quote figcaption { display: grid; gap: 0.2rem; margin-top: 1.4rem; font-size: 0.88rem; }
.quote figcaption span { color: var(--text-muted); }
@media (max-width: 860px) {
  .voices__grid { grid-template-columns: 1fr; }
  .quote--lead { grid-row: auto; }
}

/* ------------------------------------------------------------------ */
/* Journal                                                             */
/* ------------------------------------------------------------------ */
.journal {
  padding-block: clamp(5rem, 12vh, 9rem) clamp(8rem, 18vh, 12rem);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.9), rgba(10, 16, 32, 0.9) 70%, rgba(10, 16, 32, 0));
}
.journal__head { display: flex; flex-direction: column; margin-bottom: 3rem; }
.journal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.post__link { display: block; text-decoration: none; }
.post__media { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; margin-bottom: 1.2rem; }
.post__media .art-svg { width: 100%; height: 100%; transition: transform 0.9s var(--ease); }
.post__link:hover .art-svg { transform: scale(1.05); }
.post__meta { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.post h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.post__link:hover h3 { color: var(--gold); }
.post p:last-child { color: var(--text-muted); font-size: 0.93rem; }
@media (max-width: 860px) { .journal__grid { grid-template-columns: 1fr; gap: 2.6rem; } }

/* Media fallbacks (shown if the SVG art never renders) */
.media--peaks { background: linear-gradient(180deg, #0d1a30, #5b3550 50%, #e9735a 75%, #12304a); }
.media--aurora { background: linear-gradient(180deg, #050a16, #12304a 70%, #1c3d58); }
.media--pagoda { background: linear-gradient(180deg, #1a2747, #a24d55 50%, #e9735a 80%, #120f22); }
.media--dunes { background: linear-gradient(180deg, #2a3f63, #f0b45a 55%, #c45a3f 80%, #efe3cf); }
.media--atoll { background: linear-gradient(180deg, #12304a, #d98a6a 60%, #1e6f86 70%, #0d3149); }
.media--jet { background: linear-gradient(180deg, #0d1a30, #1f4566 60%, #e9a26a); }
.media--lodge { background: linear-gradient(180deg, #060b18, #1b3550); }

/* ------------------------------------------------------------------ */
/* Plan / enquiry                                                      */
/* ------------------------------------------------------------------ */
.plan { padding-block: clamp(6rem, 14vh, 10rem); min-height: 100vh; display: flex; align-items: center; }
.plan__card {
  max-width: 40rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(239, 227, 207, 0.1);
  border-radius: 26px;
}
.plan__card .h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.plan__lede { color: var(--text-muted); margin: 1rem 0 2rem; max-width: 30rem; }

.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: 1.2fr 0.7fr 1.3fr; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label, .field legend { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.field label span { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: 0.75rem 0.95rem;
  font: 400 1rem/1.4 var(--f-text); color: var(--sand);
  background: rgba(239, 227, 207, 0.05);
  border: 1px solid rgba(239, 227, 207, 0.2);
  border-radius: 12px;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field select option { background: var(--midnight); color: var(--sand); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(239, 227, 207, 0.4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--gold); background: rgba(240, 180, 90, 0.06);
  box-shadow: 0 0 0 3px rgba(240, 180, 90, 0.25);
}
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field__error { min-height: 0; font-size: 0.8rem; color: #f3a08d; }
.field__error:empty { display: none; }
.field textarea::placeholder { color: rgba(239, 227, 207, 0.5); }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { margin-bottom: 0.6rem; padding: 0; width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.5rem 1rem;
  border-radius: 999px; border: 1px solid rgba(239, 227, 207, 0.22);
  font-size: 0.88rem;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--gold); color: var(--midnight); border-color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 0.4rem; }
.form__note { font-size: 0.8rem; color: var(--text-muted); }
.form__status { font-family: var(--f-display); font-size: 1.15rem; color: var(--gold); }
.form__status:empty { display: none; }

@media (max-width: 640px) {
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .plan { align-items: flex-end; padding-top: 48vh; }
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.footer { background: var(--midnight); border-top: 1px solid var(--line); padding-block: 4.5rem 2rem; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer__brand p { margin-top: 1.1rem; color: var(--text-muted); max-width: 22rem; }
.footer__h { font: 500 0.72rem var(--f-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.footer address { font-style: normal; color: var(--text-muted); }
.footer p { color: var(--text-muted); }
.footer a { text-decoration: none; transition: color 0.35s var(--ease); }
.footer a:hover { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 1rem; }
.socials a { display: inline-block; padding-block: 0.3rem; color: var(--sand); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.8rem; }
.footer__base a { color: var(--sand); text-decoration: underline; text-decoration-color: rgba(240, 180, 90, 0.6); text-underline-offset: 4px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Motion: initial hidden states only when JS has confirmed motion     */
/* ------------------------------------------------------------------ */
.has-motion [data-reveal],
.has-motion [data-reveal-item],
.has-motion [data-image-reveal],
.has-motion [data-split],
.has-motion [data-hero-eyebrow],
.has-motion [data-hero-sub],
.has-motion [data-hero-cta],
.has-motion [data-hero-meta],
.has-motion .hero__title .line { visibility: hidden; }

.split-line-mask { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .scroll-line::after { display: none; }
}

@media (max-height: 760px) and (min-width: 861px) {
  .has-motion .dest-panel__copy { display: none; }
  .has-motion .dest-panels { height: min(64vh, 480px); }
}

/* Stop full-width (100vw) pin spacers from adding a scrollbar-width sideways scroll. */
html { overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
