/* ==========================================================================
   UNFOLD SRI LANKA — Styles
   VOICE   quiet luxury; editorial, unhurried, confident
   IDEA    a travel documentary bound like a fine magazine
   PICTURE the island's own photography, full-bleed and art-directed
   COLOUR  rainforest charcoal · warm ivory · champagne gold · forest green
   TYPE    Cormorant Garamond (display) + Manrope (text)
   ========================================================================== */

:root {
  --charcoal: #101A18;
  --charcoal-2: #16221F;
  --forest: #1C2B26;
  --forest-2: #24372F;
  --ivory: #F5F1E8;
  --ivory-2: #EDE7DA;
  --sand: #E7DFCF;
  --gold: #BCA17B;
  --gold-ink: #85693F;
  --ink: #18201D;
  --muted: #5F5B52;
  --muted-light: rgba(245, 241, 232, .68);
  --line-dark: rgba(24, 32, 29, .16);
  --line-light: rgba(245, 241, 232, .18);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --pad: clamp(20px, 5vw, 88px);
  --max: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--charcoal); color: var(--ink);
  font: 400 16px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
em { font-style: italic; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ivory); color: var(--ink); padding: 10px 16px; text-decoration: none; transition: top .3s; }
.skip:focus { top: 16px; }
.boot-error { color: var(--ivory); padding: 40vh 24px; text-align: center; font-family: var(--serif); font-size: 24px; }

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem); line-height: .96; letter-spacing: -.005em;
  text-wrap: balance;
}
.display em { text-transform: none; font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.kicker {
  font: 500 11.5px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-ink); display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.kicker::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.kicker--gold { color: var(--gold); }
.kicker--dark { color: var(--gold-ink); }
.lede { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.35; font-weight: 400; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  overflow: hidden; isolation: isolate; border-radius: 0;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease-out), background-color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--gold));
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-io);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); transform-origin: 50% 0; }
.btn span { position: relative; }
.btn--light { --bg: var(--ivory); --fg: var(--charcoal); --bd: var(--ivory); --fill: var(--gold); }
.btn--outline-light { --fg: var(--ivory); --bd: rgba(245,241,232,.55); --fill: var(--ivory); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { --fg: var(--charcoal); }
.btn--ghost { --fg: currentColor; --bd: currentColor; --fill: var(--gold); min-height: 44px; padding: 0 22px; font-size: 11px; }
.btn--ghost:hover { --fg: var(--charcoal); --bd: var(--gold); }
.btn--dark { --bg: var(--charcoal); --fg: var(--ivory); --bd: var(--charcoal); --fill: var(--forest-2); }
.btn--gold { --bg: var(--gold); --fg: var(--charcoal); --bd: var(--gold); --fill: var(--ivory); }
.btn--outline { --fg: var(--ink); --bd: var(--ink); --fill: var(--ink); }
.btn--outline:hover, .btn--outline:focus-visible { --fg: var(--ivory); }
.btn--text {
  border: 0; padding: 0 2px; min-height: 44px; --fill: transparent;
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 calc(100% - 12px); background-repeat: no-repeat;
  transition: background-size .5s var(--ease);
}
.btn--text:hover { background-size: 0 1px; background-position: 100% calc(100% - 12px); }
[data-magnetic] { will-change: transform; }
[data-magnetic]:not(.is-pulled) { transition-property: color, border-color, background-color, transform; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--ivory);
  font-size: 18px; transition: background .4s, color .4s, border-color .4s;
}
.round-btn:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.linkish { text-align: left; padding: 0; text-decoration: none; }

/* ---------- Photo ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(150deg, #2B3B33, #18241F 60%, #2E2A20); }
.photo__inner { position: absolute; inset: -9% 0; will-change: transform; }
.photo__inner > img, .photo__inner > picture, .photo__inner > picture > img { width: 100%; height: 100%; object-fit: cover; }
.photo img { opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 2.4s var(--ease-out); }
.photo.is-loaded img { opacity: 1; transform: scale(1); }
.photo.is-error img { display: none; }
.photo__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  color: rgba(245,241,232,.38); font: italic 300 clamp(18px, 2vw, 26px)/1.2 var(--serif); z-index: 1;
}
.hero__photo .photo__fallback, .dest .photo__fallback { display: none; }
.photo.is-error::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 10%, rgba(188,161,123,.18), transparent 60%),
              repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px);
}

/* ---------- Reveal system ---------- */
.js-motion [data-reveal]:not([data-reveal="lines"]):not([data-reveal="mask"]) {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease-out) var(--d, 0s);
}
.js-motion [data-reveal][data-in]:not([data-reveal="lines"]):not([data-reveal="mask"]) { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.js-motion [data-reveal="lines"] .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease-out) var(--d, 0s); }
.js-motion [data-reveal="lines"][data-in] .line > span { transform: none; }
/* Clip the children, not the observed element: IntersectionObserver treats a fully clipped target as invisible */
.js-motion [data-reveal="mask"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io) var(--d, 0s); }
.js-motion [data-reveal="mask"] .photo img { transform: scale(1.25); transition: opacity 1.2s var(--ease), transform 2.2s var(--ease-out) var(--d, 0s); }
.js-motion [data-reveal="mask"][data-in] > * { clip-path: inset(0 0 0 0); }
.js-motion [data-reveal="mask"][data-in] .photo.is-loaded img { transform: scale(1); }

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 400; background: var(--charcoal); color: var(--ivory);
  display: grid; place-items: center; pointer-events: none;
  animation: curtain 1s var(--ease-io) 1.15s forwards;
}
.intro__inner { display: grid; justify-items: center; gap: 16px; animation: introFade .6s var(--ease) 1s forwards; }
.intro__word { font: 300 clamp(44px, 7vw, 84px)/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em;
  opacity: 0; animation: introWord 1.1s var(--ease-out) .1s forwards; }
.intro__line { width: 120px; height: 1px; background: var(--gold); transform: scaleX(0); animation: introLine .9s var(--ease-io) .35s forwards; }
.intro__sub { font: 500 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: introSub .8s var(--ease) .55s forwards; }
@keyframes introWord { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; letter-spacing: .32em; } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes introSub { to { opacity: 1; } }
@keyframes introFade { to { opacity: 0; transform: translateY(-14px); } }
@keyframes curtain { to { transform: translateY(-100%); } }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.wordmark__main { font: 400 22px/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; }
.wordmark__rule { width: 1px; height: 18px; background: currentColor; opacity: .45; }
.wordmark__sub { font: 500 9.5px/1.1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.wordmark--large .wordmark__main { font-size: 34px; }
.wordmark--large .wordmark__rule { height: 26px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ivory); transition: transform .6s var(--ease-out); }
.nav__bar {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 32px;
  padding: 26px var(--pad); transition: padding .5s var(--ease), background-color .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav--solid .nav__bar { padding-top: 14px; padding-bottom: 14px; background: rgba(16, 26, 24, .9); border-bottom-color: var(--line-light);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.nav--hidden { transform: translateY(-100%); }
.nav__brand { text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav__link { position: relative; text-decoration: none; font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 10px 0; opacity: .82; transition: opacity .3s; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-io); }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease-io), top .5s var(--ease-io); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; left: 18px; }
.nav--open .nav__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav--open .nav__toggle span:last-child { top: 22px; left: 10px; transform: rotate(-45deg); }
.nav--open .nav__bar { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.menu {
  position: fixed; inset: 0; z-index: 1; background: var(--charcoal); visibility: hidden;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.nav--open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__inner { height: 100%; display: flex; flex-direction: column; padding: 110px var(--pad) 40px; overflow-y: auto; }
.menu__eyebrow { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.menu__list { margin: 18px 0 auto; }
.menu__list li, .menu__foot { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.nav--open .menu__list li, .nav--open .menu__foot { opacity: 1; transform: none; transition-delay: calc(.3s + var(--i) * .07s); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line-light);
  font: 300 clamp(34px, 9vw, 56px)/1.1 var(--serif); }
.menu__num { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.menu__foot { display: grid; gap: 20px; margin-top: 36px; }
.menu__foot p { font: 300 22px/1.3 var(--serif); margin: 0; color: var(--muted-light); }

/* ---------- 01 Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: var(--ivory); overflow: hidden; background: var(--charcoal); display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo .photo__inner { inset: -6% 0; }
.hero__photo img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 60% 45%; }
.hero__photo.is-loaded img { transform: none; }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.14; } }
.hero__shade { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,14,.55) 0%, rgba(10,16,14,.08) 26%, rgba(10,16,14,.1) 52%, rgba(10,16,14,.78) 100%),
    linear-gradient(90deg, rgba(10,16,14,.55) 0%, rgba(10,16,14,0) 62%); }
.hero__grain { position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__frame { position: absolute; inset: 0; pointer-events: none; }
.hero__coord { position: absolute; top: 50%; left: calc(var(--pad) * .35); transform: translateY(-50%) rotate(-90deg); transform-origin: 0 0;
  font: 500 10px/1 var(--sans); letter-spacing: .3em; color: rgba(245,241,232,.6); white-space: nowrap; opacity: 0; transition: opacity 1.2s var(--ease) 1.2s; }
.hero__coord--r { left: auto; right: calc(var(--pad) * .35); transform: translateY(-50%) rotate(90deg); transform-origin: 100% 0; }
.hero.is-ready .hero__coord { opacity: 1; }

.hero__content { position: relative; z-index: 2; margin-top: auto; padding: 0 var(--pad) clamp(28px, 5vh, 56px); max-width: var(--max); width: 100%; }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; font: 500 11.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: clamp(18px, 3vh, 30px);
  opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.hero__eyebrow-rule { width: 0; height: 1px; background: var(--gold); transition: width 1.2s var(--ease-io) .2s; }
.hero.is-ready .hero__eyebrow { opacity: 1; transform: none; }
.hero.is-ready .hero__eyebrow-rule { width: 48px; }
.hero__title { font: 300 clamp(3.1rem, 8.6vw, 9.6rem)/.88 var(--serif); text-transform: uppercase; letter-spacing: -.012em; margin: 0 0 clamp(22px, 4vh, 40px); text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.hero__title .line > span { transform: translateY(108%) rotate(2deg); transform-origin: 0 100%; transition: transform 1.5s var(--ease-out) calc(.25s + var(--d)); }
.hero.is-ready .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) { padding-left: clamp(0px, 8vw, 150px); }
.hero__title .line:nth-child(3) > span { font-style: italic; text-transform: none; font-weight: 300; letter-spacing: -.02em; }
.hero__lower { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap;
  opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease) .85s, transform 1.4s var(--ease-out) .85s; }
.hero.is-ready .hero__lower { opacity: 1; transform: none; }
.hero__copy { max-width: 430px; margin: 0; font-size: 16px; line-height: 1.7; color: rgba(245,241,232,.86); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--pad) 22px; border-top: 1px solid rgba(245,241,232,.14);
  opacity: 0; transition: opacity 1.2s var(--ease) 1.2s; }
.hero.is-ready .hero__foot { opacity: 1; }
.hero__caption { margin: 0; font: 400 12px/1.4 var(--sans); letter-spacing: .06em; color: rgba(245,241,232,.7); }
.hero__caption span { font: italic 400 15px/1 var(--serif); color: var(--gold); margin-right: 10px; letter-spacing: 0; }
.hero__scroll { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(245,241,232,.75); }
.hero__scroll-line { position: relative; width: 70px; height: 1px; background: rgba(245,241,232,.25); overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: scrollLine 2.6s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- Section shells ---------- */
.section--light { background: var(--ivory); color: var(--ink); }
.section--sand { background: var(--sand); color: var(--ink); }
.section--dark { background: var(--charcoal); color: var(--ivory); }
.section--forest { background: var(--forest); color: var(--ivory); }
section { position: relative; }

/* ---------- 02 Island ---------- */
.island { padding: clamp(96px, 14vw, 200px) var(--pad) clamp(96px, 12vw, 180px); }
.island__head, .island__grid { max-width: var(--max); margin: 0 auto; }
.island__head { margin-bottom: clamp(56px, 8vw, 110px); }
.island__title { max-width: none; }
.island__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: start; }
.island__lead { grid-column: 1 / span 4; grid-row: 1; padding-top: 12px; color: var(--muted); }
.island__lead .lede { margin-bottom: 1.2em; }
.island__stage { grid-column: 6 / span 7; grid-row: 1 / span 2; margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 92vh; width: 100%; }
.island__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.island__slide.is-active { opacity: 1; }
.island__slide .photo { position: absolute; inset: 0; }
.island__slide .photo__inner { inset: 0; }
.island__slide.is-active .photo.is-loaded img { animation: slowZoom 9s var(--ease-out) both; }
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.island__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; color: var(--ivory);
  font: 500 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(transparent, rgba(10,16,14,.55)); }
.island__small { grid-column: 3 / span 3; grid-row: 2; margin-top: 56px; aspect-ratio: 3 / 4; position: relative; z-index: 2; transform: translateX(-20%); }
.island__small .photo { position: absolute; inset: 0; }
.island__index { grid-column: 1 / -1; grid-row: 3; margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.world { text-align: left; padding: 26px 22px 30px 0; border-right: 1px solid var(--line-dark); display: grid; gap: 10px; align-content: start; position: relative; transition: color .4s; }
.world + .world { padding-left: 22px; }
.world:last-child { border-right: 0; }
.world::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--gold-ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io); }
.world.is-active::before { transform: scaleX(1); }
.world__num { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--gold-ink); }
.world__name { font: 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); }
.world.is-active .world__name { font-style: italic; }
.world__line { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- 03 Destinations ---------- */
.dests { padding: clamp(96px, 12vw, 170px) 0 clamp(80px, 10vw, 150px); }
.dests__head { max-width: var(--max); margin: 0 auto clamp(48px, 6vw, 80px); padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.dests__aside { max-width: 360px; color: var(--muted-light); }
.dests__arrows { display: none; gap: 10px; margin-top: 8px; }
.dests__track { display: flex; gap: 6px; height: min(80vh, 820px); min-height: 560px; padding: 0 var(--pad); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.dest { position: relative; flex: 1 1 0; overflow: hidden; color: var(--ivory); transition: flex-grow 1s var(--ease-io); cursor: pointer; }
.dest.is-active { flex-grow: 5.2; }
.dest__photo { position: absolute; inset: 0; }
.dest__photo .photo__inner { inset: 0; }
.dest__photo img { transition: opacity 1.2s var(--ease), transform 1.6s var(--ease-out), filter 1s var(--ease); filter: saturate(.75) brightness(.8); }
.dest.is-active .dest__photo img { filter: none; }
.dest:hover .dest__photo.is-loaded img { transform: scale(1.04); }
.dest__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,14,.35) 0%, rgba(10,16,14,0) 30%, rgba(10,16,14,.15) 55%, rgba(10,16,14,.85) 100%); }
.dest__index { position: absolute; top: 22px; left: 22px; font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.dest__vertical { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: 300 clamp(24px, 2vw, 32px)/1 var(--serif); letter-spacing: .06em; white-space: nowrap; transition: opacity .5s var(--ease); }
.dest.is-active .dest__vertical { opacity: 0; transition-delay: 0s; }
.dest:not(.is-active) .dest__vertical { transition-delay: .35s; }
.dest__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 48px); max-width: 640px; opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease), transform .7s var(--ease-out); pointer-events: none; }
.dest.is-active .dest__body { opacity: 1; transform: none; transition-delay: .45s; }
.dest__region { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.dest__name { font: 300 clamp(48px, 6vw, 104px)/.9 var(--serif); text-transform: uppercase; letter-spacing: -.01em; }
.dest__title { font: italic 300 clamp(22px, 2.2vw, 32px)/1.2 var(--serif); margin: 8px 0 18px; color: rgba(245,241,232,.92); }
.dest__short { max-width: 440px; font-size: 15px; color: rgba(245,241,232,.82); margin-bottom: 22px; }
.dest__cta { display: inline-flex; gap: 10px; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--gold); }
.dest__cta span { transition: transform .5s var(--ease-out); }
.dest:hover .dest__cta span { transform: translateX(6px); }
.dest__hit { position: absolute; inset: 0; z-index: 3; }
.dest__hit:focus-visible { outline-offset: -6px; }

/* ---------- Destination modal ---------- */
.dmodal { position: fixed; inset: 0; z-index: 200; display: flex; }
.dmodal__backdrop { position: absolute; inset: 0; background: rgba(8,12,11,.72); opacity: 0; transition: opacity .6s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dmodal.is-shown .dmodal__backdrop { opacity: 1; }
.dmodal__panel { position: relative; margin-left: auto; width: min(1280px, 100%); height: 100%; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ivory); color: var(--ink);
  transform: translateX(100%); transition: transform .9s var(--ease-io); box-shadow: -30px 0 80px rgba(0,0,0,.35); }
.dmodal.is-shown .dmodal__panel { transform: none; }
.dmodal__media { position: relative; overflow: hidden; background: var(--charcoal); }
.dmodal__media .photo { position: absolute; inset: 0; }
.dmodal__media .photo__inner { inset: 0; }
.dmodal__media .photo.is-loaded img { animation: slowZoom 8s var(--ease-out) both; }
.dmodal__media-meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 22px 28px; color: var(--ivory);
  font: 500 11px/1 var(--sans); letter-spacing: .2em; background: linear-gradient(transparent, rgba(10,16,14,.6)); }
.dmodal__content { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: clamp(80px, 9vh, 110px) clamp(24px, 4.5vw, 72px) 56px; color: var(--muted); }
.dmodal__content > * { animation: rise .9s var(--ease-out) both; }
.dmodal__content > :nth-child(2) { animation-delay: .25s; } .dmodal__content > :nth-child(3) { animation-delay: .32s; }
.dmodal__content > :nth-child(4) { animation-delay: .39s; } .dmodal__content > :nth-child(5) { animation-delay: .46s; }
.dmodal__content > :nth-child(n+6) { animation-delay: .53s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.dmodal__close { position: absolute; top: 24px; right: clamp(20px, 3vw, 40px); display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); animation: none !important; }
.dmodal__close .x { position: relative; width: 36px; height: 36px; border: 1px solid var(--line-dark); border-radius: 50%; transition: transform .6s var(--ease-io), background .3s; }
.dmodal__close .x::before, .dmodal__close .x::after { content: ''; position: absolute; left: 10px; right: 10px; top: 17px; height: 1px; background: currentColor; transform: rotate(45deg); }
.dmodal__close .x::after { transform: rotate(-45deg); }
.dmodal__close:hover .x { transform: rotate(90deg); background: var(--ivory-2); }
.dmodal__title { font: 300 clamp(52px, 6vw, 96px)/.92 var(--serif); text-transform: uppercase; color: var(--ink); letter-spacing: -.01em; }
.dmodal__sub { font: italic 300 clamp(24px, 2.4vw, 34px)/1.2 var(--serif); color: var(--gold-ink); margin: 6px 0 30px; }
.dmodal__second { margin: 34px 0 10px; }
.dmodal__second .photo { aspect-ratio: 16 / 10; }
.dmodal__second .photo__inner { inset: 0; }
.dmodal__second figcaption { margin-top: 10px; font: 500 10.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dmodal__facts { margin: 30px 0 36px; border-top: 1px solid var(--line-dark); }
.dmodal__facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.dmodal__facts dt { font: 500 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.dmodal__facts dd { margin: 0; color: var(--ink); font-size: 15px; }
.dmodal__facts li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.dmodal__facts li::before { content: ''; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold-ink); }
.dmodal__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.dmodal__pager { display: flex; gap: 8px; margin-top: 40px; }
.dmodal__pager button { width: 30px; height: 30px; position: relative; }
.dmodal__pager button::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: var(--line-dark); transition: background .3s, height .3s; }
.dmodal__pager button.is-active::after, .dmodal__pager button:hover::after { background: var(--ink); height: 2px; }

/* Credits */
.credits { align-items: center; justify-content: center; padding: 20px; }
.credits__panel { position: relative; background: var(--ivory); color: var(--muted); width: min(760px, 100%); max-height: 86vh; overflow-y: auto; padding: 72px clamp(22px, 4vw, 52px) 40px; animation: rise .7s var(--ease-out) both; }
.credits__panel .dmodal__title { font-size: clamp(40px, 5vw, 60px); margin-bottom: 18px; }
.credits__panel li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.credits__panel li span { color: var(--ink); }
.credits__panel a { color: var(--gold-ink); overflow-wrap: anywhere; }

/* ---------- 04 Experiences ---------- */
.exps { padding: clamp(96px, 12vw, 180px) var(--pad) clamp(80px, 10vw, 140px); }
.exps__head { max-width: var(--max); margin: 0 auto clamp(56px, 7vw, 100px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; }
.exps__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.exps__head .display, .journeys__head .display { font-size: clamp(2.6rem, 5.2vw, 5.6rem); }
.exps__intro { color: var(--muted); max-width: 400px; margin: 0; }
.exps__layout { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); }
.exps__stage { position: relative; }
.exps__frame { position: sticky; top: 12vh; height: 76vh; overflow: hidden; background: var(--charcoal); }
.exps__slide { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); z-index: 1; }
.exps__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.exps__slide .photo { position: absolute; inset: 0; }
.exps__slide .photo__inner { inset: 0; }
.exps__slide img { transition: opacity 1.2s var(--ease), transform 2.4s var(--ease-out); }
.exps__slide:not(.is-active) .photo.is-loaded img { transform: scale(1.12); }
.exps__clock { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 30px 32px; color: var(--ivory); display: flex; align-items: baseline; gap: 20px; background: linear-gradient(transparent, rgba(10,16,14,.7)); }
.exps__time { font: 300 clamp(54px, 6vw, 92px)/.9 var(--serif); letter-spacing: -.02em; animation: rise .9s var(--ease-out) both; }
.exps__clock-label { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.exps__progress { position: absolute; z-index: 3; right: 22px; top: 22px; bottom: 22px; width: 1px; background: rgba(245,241,232,.25); }
.exps__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transition: transform .9s var(--ease-io); }
.exps__list { counter-reset: exp; }
.exp { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line-dark); opacity: .3; transition: opacity .8s var(--ease); }
.exp:last-child { min-height: 70vh; }
.exp.is-active { opacity: 1; }
.exp__photo-m { display: none; }
.exp__time { display: flex; align-items: center; gap: 14px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 22px; }
.exp__rule { width: 40px; height: 1px; background: currentColor; }
.exp__name { font: 300 clamp(36px, 4vw, 60px)/1 var(--serif); margin-bottom: 22px; }
.exp__text { font-size: 16.5px; color: var(--muted); max-width: 470px; }
.exp__feel { font: italic 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); color: var(--ink); margin: 6px 0 0; }

/* ---------- 05 Story ---------- */
.story { height: 260vh; background: var(--charcoal); color: var(--ivory); }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.story__media { position: absolute; inset: 0; will-change: clip-path, transform; }
.story__media .photo { position: absolute; inset: 0; }
.story__media .photo__inner { inset: 0; }
.story__shade { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 55%, rgba(10,16,14,.25), rgba(10,16,14,.85)); }
.story__text { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); }
.story__kicker { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.story__title { font: 300 clamp(3rem, 9.4vw, 10rem)/.9 var(--serif); text-transform: uppercase; letter-spacing: -.015em; text-shadow: 0 4px 60px rgba(0,0,0,.35); }
.story__title span { display: inline-block; transition: opacity .3s linear, transform .3s linear; }
.story__title .it { font-style: italic; text-transform: none; }
.story__line { margin-top: 36px; font: 400 clamp(18px, 1.8vw, 24px)/1.4 var(--serif); color: rgba(245,241,232,.85); }
.story__line em { color: var(--gold); }

/* ---------- 06 Journeys ---------- */
.journeys { padding: clamp(96px, 12vw, 180px) var(--pad); }
.journeys__head { max-width: var(--max); margin: 0 auto clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; }
.journeys__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.journeys__note { margin: 0; font-size: 14px; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--gold-ink); max-width: 420px; }
.journeys__list { max-width: var(--max); margin: 0 auto; }
.journey { border-top: 1px solid var(--line-dark); padding: clamp(36px, 4vw, 56px) 0; }
.journey:last-child { border-bottom: 1px solid var(--line-dark); }
.journey__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.journey:nth-child(even) .journey__photo { order: 2; }
.journey__photo { position: relative; aspect-ratio: 5 / 4; }
.journey__photo .photo { position: absolute; inset: 0; }
.journey__days { position: absolute; left: 0; bottom: 0; background: var(--sand); padding: 16px 22px 0 0; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.journey:nth-child(even) .journey__days { left: auto; right: 0; padding: 16px 0 0 22px; }
.journey__days strong { font: 300 64px/.8 var(--serif); letter-spacing: -.02em; }
.journey__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.journey__name { font: 300 clamp(38px, 4.4vw, 68px)/1 var(--serif); margin-bottom: 20px; }
.journey__pitch { color: var(--muted); max-width: 540px; font-size: 16.5px; }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 26px 0 32px; font: 500 12.5px/1.2 var(--sans); letter-spacing: .04em; color: var(--ink); }
.route li { display: flex; align-items: center; }
.route li + li::before { content: ''; width: 26px; height: 1px; background: var(--gold-ink); margin: 0 10px; }
.journey__actions { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; }
.journey__drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease-io); }
.journey.is-open .journey__drawer { grid-template-rows: 1fr; }
.journey__drawer-inner { overflow: hidden; }
.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 90px); padding-top: clamp(36px, 4vw, 56px); }
.day { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.journey.is-open .day { opacity: 1; transform: none; transition-delay: calc(.25s + var(--k) * .04s); }
.day__n { font: 500 11px/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.day h4 { font: 400 22px/1.2 var(--serif); margin-bottom: 4px; }
.day p { margin: 0; font-size: 14.5px; color: var(--muted); }
.journey__drawer-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 26px 0 6px; border-top: 1px solid var(--line-dark); }
.journey__drawer-foot p { margin: 0; font: italic 400 19px/1.4 var(--serif); color: var(--ink); max-width: 520px; }

/* ---------- 07 Why ---------- */
.why { padding: clamp(96px, 12vw, 180px) var(--pad); overflow: hidden; }
.why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 10%, rgba(188,161,123,.12), transparent 70%); pointer-events: none; }
.why__head, .why__grid, .why__quote { max-width: var(--max); margin-left: auto; margin-right: auto; position: relative; }
.why__head { margin-bottom: clamp(56px, 7vw, 100px); }
.why__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.why__photo { margin: 0; aspect-ratio: 3 / 4; position: relative; }
.why__photo .photo { position: absolute; inset: 0; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.principle { padding: 30px 0 36px; border-top: 1px solid var(--line-light); }
.principle__mark { display: block; font: italic 400 22px/1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.principle h3 { font: 300 clamp(28px, 2.6vw, 38px)/1.05 var(--serif); margin-bottom: 14px; }
.principle p { color: var(--muted-light); font-size: 15px; margin: 0; }
.why__quote { margin-top: clamp(72px, 9vw, 130px); padding-top: 50px; border-top: 1px solid var(--line-light); text-align: center; }
.why__quote p { font: italic 300 clamp(28px, 3.6vw, 52px)/1.2 var(--serif); max-width: 22ch; margin: 0 auto 22px; text-wrap: balance; }
.why__quote footer { font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

/* ---------- 08 Planner ---------- */
.plan { padding: clamp(96px, 12vw, 180px) var(--pad); }
.plan__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.plan__intro { position: sticky; top: 110px; color: var(--muted); }
.plan__intro .display { color: var(--ink); margin-bottom: 26px; }
.plan__intro > p { max-width: 400px; }
.plan__photo { margin-top: 36px; aspect-ratio: 16 / 11; position: relative; max-width: 460px; }
.plan__photo .photo { position: absolute; inset: 0; }
.planner { background: #FBF8F2; border: 1px solid var(--line-dark); padding: clamp(24px, 4vw, 56px); box-shadow: 0 40px 80px -50px rgba(16,26,24,.35); }
.planner__progress { margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.steps button { display: flex; align-items: center; gap: 10px; min-height: 44px; text-align: left; color: var(--muted); }
.steps button:disabled { cursor: default; opacity: .55; }
.steps__n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font: 500 11.5px/1 var(--sans); transition: background .4s, color .4s, border-color .4s; }
.steps__l { font: 500 11px/1.25 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.steps .is-current button { color: var(--ink); }
.steps .is-current .steps__n { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.steps .is-done button { color: var(--gold-ink); }
.steps .is-done .steps__n { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.planner__bar { height: 1px; background: var(--line-dark); }
.planner__bar span { display: block; height: 2px; margin-top: -.5px; background: var(--ink); transform-origin: left; transition: transform .8s var(--ease-io); }
.planner__step { animation: stepIn .7s var(--ease-out) both; }
.planner__step.from-left { animation-name: stepInL; }
@keyframes stepIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes stepInL { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
.planner__h { font: 300 clamp(30px, 3vw, 44px)/1.1 var(--serif); margin-bottom: 32px; outline: none; }
.planner__body { display: grid; gap: 34px; }
.field { border: 0; margin: 0; padding: 0; }
.field legend, .field__label { display: flex; align-items: baseline; gap: 12px; font: 500 11.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; padding: 0; }
.field__hint { font-size: 10.5px; letter-spacing: .1em; color: var(--muted); text-transform: none; font-weight: 400; letter-spacing: .02em; }
.field__err { color: #9A3B2A; font-size: 13.5px; margin: 10px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 2px; }
.chips--months { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.chips--months .chip:last-child { grid-column: span 2; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input, .interest input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); font-size: 14px; color: var(--ink); transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.chip:hover span { border-color: var(--ink); }
.chip.is-on span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip input:focus-visible + span, .interest input:focus-visible ~ .interest__name { outline: 1.5px solid var(--gold-ink); outline-offset: 3px; }
[aria-invalid="true"].chips, [aria-invalid="true"].interests { outline: 1px dashed #9A3B2A; outline-offset: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-dark); }
.stepper button { width: 52px; height: 52px; font-size: 22px; transition: background .3s; }
.stepper button:hover:not(:disabled) { background: var(--ivory-2); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 150px; text-align: center; font: 300 30px/1 var(--serif); }
.stepper small { font: 400 13px/1 var(--sans); color: var(--muted); }
.interests { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.interest { position: relative; display: grid; gap: 6px; padding: 18px 18px 20px; border: 1px solid var(--line-dark); cursor: pointer; transition: border-color .3s, background .3s; }
.interest:hover { border-color: var(--ink); }
.interest__name { font: 400 22px/1.1 var(--serif); }
.interest__hint { font-size: 13px; color: var(--muted); line-height: 1.4; }
.interest__tick { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border: 1px solid var(--line-dark); border-radius: 50%; transition: background .3s, border-color .3s; }
.interest.is-on { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.interest.is-on .interest__hint { color: var(--muted-light); }
.interest.is-on .interest__tick { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--charcoal); }
.input, .select select {
  width: 100%; min-height: 54px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; background: transparent;
  font: 400 17px/1.4 var(--sans); color: var(--ink); transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
textarea.input { resize: vertical; min-height: 110px; }
.input::placeholder { color: #9A958A; }
.input:focus, .select select:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.input[aria-invalid="true"] { border-bottom-color: #9A3B2A; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.review { border-top: 1px solid var(--line-dark); margin: 0; }
.review__row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.review dt { font: 500 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.review__edit { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.planner__demo-note { font-size: 13.5px; color: var(--muted); margin: 0; padding-left: 14px; border-left: 2px solid var(--gold); }
.planner__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.planner__done { color: var(--muted); }
.done__mark { width: 64px; height: 64px; margin-bottom: -6px; }
.done__mark svg { width: 100%; height: 100%; fill: none; stroke: var(--gold-ink); stroke-width: 1.2; }
.done__mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 1.2s var(--ease-io) .1s forwards; }
.done__mark path { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease-io) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__badge { display: inline-block; justify-self: start; margin: 0; padding: 8px 14px; background: var(--sand); color: var(--ink); font: 500 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.planner__done .lede { margin: 0; }
.planner__done p { margin: 0; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.done__again { justify-self: start; }

/* ---------- 09 Footer ---------- */
.footer { background: var(--charcoal); color: var(--ivory); padding: clamp(96px, 12vw, 170px) var(--pad) 40px; }
.footer__cta { max-width: var(--max); margin: 0 auto clamp(80px, 10vw, 140px); }
.footer__big { font: 300 clamp(3.2rem, 10vw, 11rem)/.86 var(--serif); text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 44px; }
.footer__big em { text-transform: none; color: var(--gold); }
.footer__cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 0; border-top: 1px solid var(--line-light); }
.footer__brand p { color: var(--muted-light); max-width: 320px; margin-top: 22px; font-size: 15px; }
.footer h3 { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer li { margin-bottom: 10px; }
.footer li a, .footer li .linkish { text-decoration: none; color: rgba(245,241,232,.8); font-size: 15px; min-height: 28px; display: inline-flex; align-items: center; transition: color .3s; }
.footer li a:hover, .footer li .linkish:hover { color: var(--gold); }
.footer__social-h { margin-top: 32px; display: flex; gap: 10px; align-items: center; }
.demo-tag { font: 500 9px/1 var(--sans); letter-spacing: .14em; color: var(--muted-light); border: 1px solid var(--line-light); padding: 4px 6px; }
.footer__social a { opacity: .6; }
.footer__base { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 12.5px; color: rgba(245,241,232,.55); }
.footer__base p { margin: 0; }
.footer__base .linkish { color: rgba(245,241,232,.75); text-decoration: underline; text-underline-offset: 4px; font-size: 12.5px; min-height: 24px; }
.footer__by strong { color: var(--ivory); font-weight: 600; letter-spacing: .04em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 1023px) {
  /* Destinations become a swipeable filmstrip */
  .dests__arrows { display: flex; }
  .dests__track { height: auto; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 12px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-left: var(--pad); }
  .dests__track::-webkit-scrollbar { display: none; }
  .dest, .dest.is-active { flex: 0 0 min(80vw, 520px); height: min(72vh, 640px); min-height: 480px; scroll-snap-align: start; }
  .dest__photo img { filter: none; }
  .dest__vertical { display: none; }
  .dest__body, .dest.is-active .dest__body { opacity: 1; transform: none; transition-delay: 0s; }
  .dest__name { font-size: clamp(44px, 11vw, 72px); }

  .island__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .island__lead { grid-column: 1 / -1; grid-row: 1; margin-bottom: 48px; }
  .island__stage { grid-column: 1 / span 5; grid-row: 2; aspect-ratio: 4 / 5; }
  .island__small { grid-column: 4 / span 3; grid-row: 3; margin-top: -90px; transform: none; aspect-ratio: 4 / 5; }
  .island__index { grid-row: 4; grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .world, .world + .world { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .world__line { grid-column: 2; }

  .exps__head, .journeys__head { grid-template-columns: minmax(0, 1fr); }
  .exps__layout { grid-template-columns: minmax(0, 1fr); }
  .exps__stage { display: none; }
  .exp, .exp:last-child { min-height: 0; opacity: 1; padding: 0 0 56px; border-top: 0; }
  .exp__photo-m { display: block; aspect-ratio: 4 / 3; position: relative; margin-bottom: 26px; }
  .exp__photo-m .photo { position: absolute; inset: 0; }

  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__photo { aspect-ratio: 16 / 10; }
  .plan__grid { grid-template-columns: minmax(0, 1fr); }
  .plan__intro { position: static; }
  .plan__photo { display: none; }
  .dmodal__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: 42vh 1fr; }
  .dmodal__content { padding-top: 40px; }
  .dmodal__close { position: fixed; top: 16px; right: 16px; z-index: 5; color: var(--ivory); }
  .dmodal__close span:first-child { display: none; }
  .dmodal__close .x { background: rgba(16,26,24,.55); border-color: rgba(245,241,232,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .dmodal__panel { transform: translateY(100%); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__cta { display: none; }
  .nav__bar { padding-top: 18px; padding-bottom: 18px; }
  .wordmark__main { font-size: 19px; }
  .hero { min-height: 560px; }
  .hero__coord { display: none; }
  .hero__title { font-size: clamp(2.9rem, 14.5vw, 5rem); line-height: .9; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,16,14,.6) 0%, rgba(10,16,14,.05) 28%, rgba(10,16,14,.35) 55%, rgba(10,16,14,.9) 100%); }
  .hero__copy { font-size: 15px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__caption { display: none; }
  .hero__foot { justify-content: center; padding-top: 14px; padding-bottom: 16px; }
  .display { font-size: clamp(2.4rem, 11.5vw, 3.6rem); }
  .island__stage { grid-column: 1 / -1; }
  .island__small { grid-column: 3 / span 4; margin-top: -70px; }
  .journey__top { grid-template-columns: minmax(0, 1fr); }
  .journey:nth-child(even) .journey__photo { order: 0; }
  .journey__days strong { font-size: 52px; }
  .days { grid-template-columns: minmax(0, 1fr); }
  .day { grid-template-columns: 64px 1fr; }
  .why__list { grid-template-columns: minmax(0, 1fr); }
  .steps__l { display: none; }
  .steps .is-current .steps__l { display: inline; }
  .steps { grid-template-columns: auto auto auto auto; justify-content: start; gap: 4px 14px; }
  .chips--months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chips--months .chip:last-child { grid-column: span 4; }
  .chip span { padding: 0 10px; }
  .review__row { grid-template-columns: minmax(0, 1fr) auto; }
  .review dt { grid-column: 1; }
  .review dd { grid-column: 1 / -1; grid-row: 2; }
  .review__edit { grid-column: 2; grid-row: 1; }
  .planner { padding: 22px 18px 26px; margin: 0 calc(var(--pad) * -.4); }
  .planner__nav .btn--dark { flex: 1; }
  .dmodal__facts > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .story { height: 220vh; }
}

/* Reduced motion: everything visible, no theatrics */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__photo img { animation: none; }
  .js-motion [data-reveal], .js-motion [data-reveal="mask"] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js-motion [data-reveal="lines"] .line > span, .hero__title .line > span { transform: none !important; }
  .story { height: auto; }
  .story__sticky { position: relative; }
}
