/* ==========================================================================
   Emmaway Travel
   ========================================================================== */

:root {
  /* Brand palette, sampled from the Emmaway logo */
  --cream: #faf2eb;
  --cream-2: #f5e8de;
  --blush: #f4d7d1;
  --blush-2: #ecbfb7;
  --rose: #bf8760;
  --rose-deep: #9a6243;
  --rose-light: #e6c09f;
  --champagne: #f6e3cf;
  --ink: #2a1d17;
  --ink-2: #5d4a40;
  --ink-3: #8b766b;
  --night: #1c130f;
  --night-2: #2a1d17;
  --line: rgba(42, 29, 23, 0.13);
  --line-light: rgba(255, 255, 255, 0.2);
  --danger: #a4443b;

  --gold: linear-gradient(115deg, #a46a47 0%, #cf986f 26%, #f1d4b8 50%, #c98f66 74%, #a46a47 100%);
  /* Deeper sheen for gradient type on cream, so letters keep their contrast */
  --gold-text: linear-gradient(115deg, #93593b 0%, #b97f58 34%, #d4a37c 50%, #b57a53 66%, #93593b 100%);
  --gold-light: linear-gradient(115deg, #dcab84 0%, #fbe8d5 34%, #e4b48d 62%, #f8e0c8 82%, #d9a57d 100%);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Great Vibes", "Snell Roundhand", cursive;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 84px;
  --sbw: 0px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.has-modal, html.menu-open { overflow: hidden; }
html.has-modal body, html.has-modal .site-header { padding-right: var(--sbw); }

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: inherit; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.icon {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon--flip { transform: scaleX(-1); }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 300;
  padding: .75rem 1.25rem;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding-block: clamp(6rem, 4rem + 8vw, 11rem); position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before {
  content: ""; width: 2.2rem; height: 1px;
  background: currentColor; opacity: .6;
}
.eyebrow--light { color: var(--rose-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin-top: 1.2rem;
  text-wrap: balance;
}
.section-title em, .modal__title em, .finale__title em, .scene__title em { font-style: italic; }

/* Gradient text (applied to the innermost element that holds the glyphs) */
.section-title em, .modal__title em, .step__num,
.section-title .sw__in.is-em {
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.destinations .section-title em, .destinations .section-title .sw__in.is-em,
.finale__title em, .finale__title .sw__in.is-em, .scene__title em {
  background: var(--gold-light);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Split headings carry the gradient on each word instead of the <em> wrapper */
.js [data-split] em { background: none; color: inherit; padding: 0; }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  height: 54px; padding: 0 2rem;
  border-radius: 999px; border: 1px solid transparent;
  font-size: .74rem; font-weight: 500; line-height: 1;
  letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .5s var(--ease-out), background-color .5s var(--ease-out), border-color .5s var(--ease-out), background-position .9s var(--ease-out), box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.btn .icon { transition: transform .5s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover .icon--flip { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: scale(.98); }

.btn--gold {
  color: var(--night);
  background: var(--gold);
  background-size: 220% 100%;
  background-position: 0% 50%;
  box-shadow: 0 14px 34px -16px rgba(154, 98, 67, .75);
}
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 1s var(--ease-out);
}
.btn--gold:hover { background-position: 100% 50%; box-shadow: 0 18px 40px -14px rgba(154, 98, 67, .85); }
.btn--gold:hover::before { transform: translateX(110%); }

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--ghost-dark { color: var(--ink); border-color: rgba(42, 29, 23, .28); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn--sm { height: 42px; padding: 0 1.4rem; font-size: .68rem; }
.btn--text { height: 44px; padding: 0 .25rem; color: var(--ink-2); }
.btn--text:hover { color: var(--ink); }

.btn__spinner {
  display: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .55; }

.round-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-light); color: var(--champagne);
  transition: background-color .4s, color .4s, border-color .4s, opacity .4s;
}
.round-btn:hover:not(:disabled) { background: var(--champagne); color: var(--night); border-color: var(--champagne); }
.round-btn:disabled { opacity: .3; cursor: default; }

.text-btn, .text-link { color: inherit; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* ---------- Intro curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--cream);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.curtain__heart {
  width: 26px; height: 26px; color: var(--rose);
  animation: heartbeat 1.4s var(--ease-in-out) infinite;
}
body:not(.is-loading) .curtain { clip-path: inset(0 0 100% 0); pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  color: #fff;
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out), transform .6s var(--ease-out), opacity 1s var(--ease-out), box-shadow .6s;
}
body:not(.intro-4) .site-header { opacity: 0; transform: translateY(-20px); }
.site-header.is-solid {
  color: var(--ink);
  background: rgba(250, 242, 235, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
html.menu-open .site-header { color: var(--champagne); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

.site-header__inner {
  height: 100%;
  width: min(1480px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__script {
  font-family: var(--font-script);
  font-size: 2.15rem; line-height: .9;
  padding: .1em .12em 0;
  background: var(--gold-light);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.site-header.is-solid .brand__script { background-image: var(--gold-text); }
.brand__word {
  font-family: var(--font-display); font-weight: 500;
  font-size: .62rem; letter-spacing: .62em; text-transform: uppercase;
  margin: .1rem -.62em 0 0;
  opacity: .9;
}

.primary-nav ul { display: flex; gap: clamp(1.4rem, 2.4vw, 2.6rem); list-style: none; padding: 0; }
.primary-nav a {
  position: relative; display: inline-block; padding: .5rem 0;
  font-size: .72rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: center;
  transition: transform .5s var(--ease-out);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 1.5rem; }
.link-external {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  opacity: .9; transition: opacity .3s;
}
.link-external:hover { opacity: 1; text-decoration: underline; text-underline-offset: .4em; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-toggle__lines, .menu-toggle__lines::before {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__lines { top: 18px; }
.menu-toggle__lines::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { top: 0; transform: rotate(-90deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(191, 135, 96, .28), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(236, 191, 183, .16), transparent 60%),
    var(--night);
  color: var(--champagne);
  clip-path: circle(0% at calc(100% - 2.5rem) 2.6rem);
  transition: clip-path .8s var(--ease-in-out);
  overflow-y: auto;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.6rem); }
.menu__inner {
  min-height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  padding: calc(var(--header-h) + 3vh) var(--gutter) 2.5rem;
}
.menu__list { list-style: none; padding: 0; }
.menu__list li {
  border-bottom: 1px solid rgba(246, 227, 207, .12);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: .31s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: .37s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: .43s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: .49s; }
.menu__list a {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: .9rem 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.3rem, 8vw, 4rem); line-height: 1.05;
}
.menu__list span { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--rose-light); }
.menu__footer { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.menu__footer .btn--ghost-dark { color: var(--champagne); border-color: rgba(246, 227, 207, .35); }
.menu__tag { width: 100%; margin-top: 1rem; font-family: var(--font-script); font-size: 2rem; color: var(--rose-light); }

/* ==========================================================================
   Journey: sticky full-screen scenes
   ========================================================================== */
.journey {
  position: relative;
  height: calc(var(--scenes) * 100vh);
  height: calc(var(--scenes) * 100svh);
  background: var(--night);
}
.journey__anchor { position: absolute; top: 100vh; top: 100svh; scroll-margin-top: 0; }
/* The stage fills the screen with the browser bars hidden (lvh), so no gap opens up when they
   slide away on phones; the copy and controls stay inside the screen with the bars showing (svh) */
.journey__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  color: #fff;
}
.journey__media, .journey__layer { position: absolute; inset: 0; }
.journey__layer { opacity: 0; background: var(--night); }
.journey__layer:first-child { opacity: 1; }
.journey__video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(var(--kb, 1.08));
  will-change: transform;
}

.journey__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, .55) 0%, rgba(20, 12, 8, 0) 24%, rgba(20, 12, 8, 0) 52%, rgba(20, 12, 8, .62) 100%),
    radial-gradient(ellipse at center, rgba(20, 12, 8, 0) 45%, rgba(20, 12, 8, .32) 100%);
}
.journey__shade::before, .journey__shade::after {
  content: ""; position: absolute; inset: 0;
  transition: opacity 1.2s var(--ease-out);
}
/* Soft pool of shade behind the hero lockup */
.journey__shade::before {
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(20, 12, 8, .58), rgba(20, 12, 8, .2) 72%, rgba(20, 12, 8, .14));
}
/* Bottom-left shade behind chapter copy */
.journey__shade::after {
  background: linear-gradient(20deg, rgba(20, 12, 8, .72) 0%, rgba(20, 12, 8, .25) 38%, rgba(20, 12, 8, 0) 62%);
  opacity: 0;
}
.journey[data-scene]:not([data-scene="0"]) .journey__shade::before { opacity: 0; }
.journey[data-scene]:not([data-scene="0"]) .journey__shade::after { opacity: 1; }

.journey__content { position: absolute; inset: 0 0 auto; height: 100%; height: 100svh; z-index: 2; }

.scene { position: absolute; pointer-events: none; }
.scene.is-active { pointer-events: auto; }

/* Hero scene */
.scene--hero {
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 7rem;
  opacity: 1;
  transition: opacity .9s var(--ease-out);
}
.scene--hero:not(.is-active) { opacity: 0; }

/* Touch screens: the hero moves with the finger and fades out over the first 60% of a screen,
   rather than drifting and fading on a timer, which lags behind touch scrolling. Scroll-driven
   animations keep it in step with the scroll itself; main.js does the same in older browsers. */
@media (hover: none), (pointer: coarse) {
  .scene--hero { transition: none; will-change: transform, opacity; }
}
@supports (animation-timeline: scroll()) {
  @media (hover: none), (pointer: coarse) {
    .scene--hero {
      animation: hero-scroll-out linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 60svh;
    }
  }
}
@keyframes hero-scroll-out {
  0% { transform: none; opacity: 1; }
  30% { opacity: 1; }
  100% { transform: translateY(-60svh); opacity: 0; }
}

.lockup {
  /* Shrinks on short screens so the CTAs always fit above the fold */
  width: min(94vw, 1000px, calc((100vh - 470px) * 2.5));
  width: min(94vw, 1000px, calc((100svh - 470px) * 2.5));
  min-width: min(94vw, 340px);
  display: flex; flex-direction: column; align-items: center; margin: 0; }
.lockup__svg { width: 100%; height: auto; overflow: visible; }
.lockup__script { font-family: var(--font-script); font-size: 236px; }
.lockup__trail { opacity: 0; }
.lockup__plane { opacity: 0; transition: opacity .5s; }
.lockup__pop {
  transform-box: fill-box; transform-origin: 50% 70%;
  transform: scale(0);
  transition: transform .9s var(--ease-back);
}
.lockup__svg.is-drawn .lockup__pop { transform: scale(1); }

.lockup__word {
  display: flex; justify-content: center;
  margin-top: -1.4%;
  margin-right: -.62em;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 2.6vw, 2.2rem);
  letter-spacing: .62em; line-height: 1;
}
.lockup__word span {
  background: var(--gold-light);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out);
  text-shadow: none;
}
.intro-2 .lockup__word span { opacity: 1; transform: none; filter: blur(0); }
.lockup__word span:nth-child(2) { transition-delay: .06s; }
.lockup__word span:nth-child(3) { transition-delay: .12s; }
.lockup__word span:nth-child(4) { transition-delay: .18s; }
.lockup__word span:nth-child(5) { transition-delay: .24s; }
.lockup__word span:nth-child(6) { transition-delay: .30s; }

.lockup__rule {
  display: flex; align-items: center; gap: .9rem;
  width: min(44%, 400px);
  margin: clamp(.7rem, 1.4vw, 1.1rem) auto clamp(.7rem, 1.2vw, 1rem);
  color: var(--champagne);
}
.lockup__line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(246, 227, 207, 0), rgba(246, 227, 207, .9));
  transform: scaleX(0); transform-origin: right;
  transition: transform 1.2s var(--ease-out);
}
.lockup__line:last-child { background: linear-gradient(270deg, rgba(246, 227, 207, 0), rgba(246, 227, 207, .9)); transform-origin: left; }
.lockup__mini-heart {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  transform: scale(0); transition: transform .8s var(--ease-back) .3s;
}
.intro-3 .lockup__line { transform: scaleX(1); }
.intro-3 .lockup__mini-heart { transform: scale(1); }

.lockup__tagline {
  position: relative; display: inline-block;
  padding: .7em 1.9em .66em;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(.66rem, 1.25vw, .92rem);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.lockup__tagline::before {
  content: ""; position: absolute; inset: 0 -4%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cfilter id='r' x='-5%25' y='-30%25' width='110%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .45' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10'/%3E%3C/filter%3E%3Cpath filter='url(%23r)' fill='%23F4D7D1' d='M14 17C80 8 200 11 300 9s88 2 90 12c4 12-2 24-14 28-80 7-218 5-338 3C14 50 6 40 8 30c1-6 2-10 6-13z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: .95;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.lockup__tagline span {
  position: relative;
  opacity: 0; transition: opacity .9s var(--ease-out) .5s;
}
.intro-3 .lockup__tagline::before { clip-path: inset(0 0 0 0); }
.intro-3 .lockup__tagline span { opacity: 1; }

.hero__lead {
  margin-top: clamp(1.6rem, 3vh, 2.4rem);
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 24px rgba(20, 12, 8, .5);
  text-wrap: balance;
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: clamp(1.5rem, 3vh, 2.2rem);
}
.hero__lead, .hero__actions {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.hero__actions { transition-delay: .12s; }
.intro-4 .hero__lead, .intro-4 .hero__actions { opacity: 1; transform: none; }

/* Chapter scenes */
.scene--chapter {
  left: var(--gutter); right: calc(var(--gutter) + 5rem);
  bottom: clamp(4.5rem, 12vh, 8.5rem);
  max-width: 44rem;
}
.scene--chapter > * {
  opacity: 0; transform: translateY(44px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.scene--chapter.is-past > * { transform: translateY(-36px); }
.scene--chapter.is-active > * {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out);
}
.scene--chapter.is-active > :nth-child(1) { transition-delay: .15s; }
.scene--chapter.is-active > :nth-child(2) { transition-delay: .22s; }
.scene--chapter.is-active > :nth-child(3) { transition-delay: .3s; }
.scene--chapter.is-active > :nth-child(4) { transition-delay: .42s; }
.scene--chapter.is-active > :nth-child(5) { transition-delay: .52s; }

.scene__count {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .2em;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 1.4rem;
}
.scene__count span {
  font-size: 1.5rem; font-style: italic;
  background: var(--gold-light); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.scene__title {
  margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 1.7rem + 3.8vw, 5.8rem);
  line-height: 1.02; letter-spacing: -.012em;
  text-shadow: 0 4px 40px rgba(20, 12, 8, .35);
  text-wrap: balance;
}
.scene__text {
  margin-top: 1.4rem; max-width: 33rem;
  font-weight: 300; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem);
  color: rgba(255, 255, 255, .88);
}
.scene__places {
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--champagne);
}
.scene__places i { width: 4px; height: 4px; border-radius: 50%; background: var(--rose-light); }
.scene__actions { margin-top: 2rem; }

/* Scene progress */
.journey__progress {
  position: absolute; z-index: 3;
  right: var(--gutter); top: 50%; top: 50svh; transform: translateY(-50%);
  transition: opacity 1s var(--ease-out);
}
body:not(.intro-4) .journey__progress { opacity: 0; }
.journey__progress ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.journey__progress button {
  width: 100%;
  display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: .9rem;
  min-height: 34px; padding-left: 1rem;
  color: #fff;
}
.journey__dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  transition: transform .5s var(--ease-out), background-color .5s, border-color .5s;
}
.journey__label {
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase;
  opacity: 0; transform: translateX(8px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.journey__progress button:hover .journey__label,
.journey__progress button:focus-visible .journey__label,
.journey__progress button[aria-current="step"] .journey__label { opacity: .95; transform: none; }
.journey__progress button[aria-current="step"] .journey__dot { background: var(--rose-light); border-color: var(--rose-light); transform: scale(1.35); }

.journey__cue {
  position: absolute; z-index: 3; left: 50%; bottom: 1.75rem; bottom: calc(100lvh - 100svh + 1.75rem);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  opacity: var(--cue, 1);
  pointer-events: none;
}
body:not(.intro-4) .journey__cue { opacity: 0; }
.journey__cue-line {
  position: relative; width: 1px; height: 52px; overflow: hidden;
  background: rgba(255, 255, 255, .25);
}
.journey__cue-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: cue 2.2s var(--ease-in-out) infinite;
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement {
  background:
    radial-gradient(40rem 26rem at 92% 8%, rgba(244, 215, 209, .55), transparent 70%),
    radial-gradient(34rem 24rem at 4% 96%, rgba(230, 192, 159, .3), transparent 70%),
    var(--cream);
  overflow: hidden;
}
.statement__text {
  margin-top: 2rem;
  max-width: 21em;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 1.2rem + 3vw, 4.1rem);
  line-height: 1.16; letter-spacing: -.01em;
}
.statement__text em { font-style: italic; color: var(--rose-deep); }
.statement__text .w { opacity: .14; transition: opacity .6s var(--ease-out); }
.statement__text .w.is-lit { opacity: 1; }

.pillars {
  margin-top: clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem);
}
.pillar { padding-top: 2.2rem; border-top: 1px solid var(--line); }
.pillar__icon {
  width: 34px; height: 34px; color: var(--rose);
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.pillar h3 { margin-top: 1.4rem; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.pillar p { margin-top: .7rem; color: var(--ink-2); max-width: 22rem; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.sw {
  display: inline-block; vertical-align: top; overflow: hidden;
  padding: 0 .08em .12em 0; margin: 0 -.08em -.12em 0;
}
.sw__in {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 55ms);
}
[data-split].is-in .sw__in { transform: none; }

/* ---------- Section heads ---------- */
.section-head {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem 4rem; align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.section-head--center { display: block; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .6; }
.section-intro { color: var(--ink-2); font-size: 1.1rem; max-width: 30rem; justify-self: end; }

/* ==========================================================================
   Experiences
   ========================================================================== */
.experiences { background: var(--cream); }
.exp-list { border-top: 1px solid var(--line); }
.exp { border-bottom: 1px solid var(--line); }
.exp__row {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.15fr) minmax(0, 1fr) 3.4rem;
  align-items: center; gap: 0 2rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem) 0;
  text-align: left;
}
.exp__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.exp__num { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--rose); }
.exp__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 3rem); line-height: 1.05;
  transition: transform .7s var(--ease-out), color .5s;
}
.exp__desc { color: var(--ink-2); font-size: 1rem; max-width: 27rem; }

/* Photo opens inside the row (grid row 0fr → 1fr animates the height) */
.exp__media {
  grid-column: 2 / -1; grid-row: 2;
  display: grid; grid-template-rows: 0fr;
  margin-top: 0;
  transition: grid-template-rows .8s var(--ease-out), margin-top .8s var(--ease-out);
}
.exp__media-inner { min-height: 0; overflow: hidden; border-radius: 6px; }
.exp__media img {
  width: 100%; height: clamp(200px, 22vw, 320px); object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .6s var(--ease-out), transform 1.4s var(--ease-out);
}
.exp__arrow {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: background-position .8s var(--ease-out), border-color .5s, color .5s, transform .6s var(--ease-out);
  background: var(--gold); background-size: 0 0; background-repeat: no-repeat;
}
.exp__row:hover::after, .exp__row:focus-visible::after { transform: scaleX(1); }
.exp__row:hover .exp__title, .exp__row:focus-visible .exp__title { transform: translateX(14px); color: var(--rose-deep); }
.exp__row:hover .exp__arrow, .exp__row:focus-visible .exp__arrow {
  background-size: 100% 100%; border-color: transparent; color: var(--night); transform: rotate(-45deg);
}
.exp__row:focus-visible { outline-offset: 6px; }
.exp__row:hover .exp__media, .exp__row:focus-visible .exp__media { grid-template-rows: 1fr; margin-top: 1.6rem; }
.exp__row:hover .exp__media img, .exp__row:focus-visible .exp__media img { opacity: 1; transform: none; }

/* Touch screens can't hover, so their photos are always open */
@media (hover: none) {
  .exp__media { grid-template-rows: 1fr; margin-top: 1.4rem; }
  .exp__media img { opacity: 1; transform: none; }
}

/* ==========================================================================
   Destinations
   ========================================================================== */
.destinations {
  background:
    radial-gradient(50rem 30rem at 85% 0%, rgba(191, 135, 96, .16), transparent 70%),
    var(--night);
  color: var(--champagne);
  overflow: hidden;
}
.destinations .eyebrow { color: var(--rose-light); }
.destinations .section-title { color: #fff; }
.dest-intro { margin-top: 1.4rem; max-width: 38rem; font-size: 1.08rem; color: rgba(246, 227, 207, .78); }
.carousel-controls { display: flex; gap: .75rem; }

.dest-track {
  --pad: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(268px, 27vw, 420px);
  gap: clamp(1rem, 1.8vw, 1.75rem);
  padding-inline: var(--pad);
  scroll-padding-inline: var(--pad);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.dest-track::-webkit-scrollbar { display: none; }
.dest-track:focus-visible { outline-offset: -2px; }
.dest-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.dest-track__end { width: 1px; }

.dest {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4.3;
  border-radius: 4px;
  scroll-snap-align: start;
  background: var(--night-2);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 2vw, 2rem);
  color: #fff;
}
.dest__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.8s var(--ease-out);
  -webkit-user-drag: none; user-select: none;
}
.dest::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 12, 8, .88) 0%, rgba(20, 12, 8, .35) 38%, rgba(20, 12, 8, 0) 62%);
}
.dest__body { z-index: 2; }
.dest__region { font-size: .66rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--rose-light); }
.dest__name { margin-top: .5rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1vw, 2.7rem); line-height: 1; }
.dest__line { margin-top: .55rem; font-size: .95rem; font-weight: 300; color: rgba(255, 255, 255, .8); }
.dest__cta {
  margin-top: 1.2rem;
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--champagne);
  padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.dest__cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dest__cta .icon { transition: transform .5s var(--ease-out); }
.dest:hover .dest__img { transform: scale(1.12); }
.dest:hover .dest__cta, .dest__cta:focus-visible { background-size: 100% 1px; }
.dest:hover .dest__cta .icon { transform: translateX(5px); }
.dest:has(.dest__cta:focus-visible) { outline: 2px solid var(--rose-light); outline-offset: 3px; }
.dest__cta:focus-visible { outline: none; }

/* Closing card: an open invitation rather than a photo */
.dest--any {
  justify-content: center;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(160deg, #f4d7d1 0%, #ecc9b6 55%, #e3b896 100%);
  color: var(--ink);
}
.dest--any::after { display: none; }
.dest__globe {
  width: 46px; height: 46px; margin-bottom: 1.6rem;
  fill: none; stroke: var(--rose-deep); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.dest--any .dest__region { color: var(--rose-deep); }
.dest--any .dest__line { color: var(--ink-2); max-width: 17rem; }
.dest--any .dest__cta { color: var(--ink); }

.carousel-progress { margin-top: clamp(2rem, 4vw, 3rem); height: 1px; background: rgba(246, 227, 207, .16); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 30%; background: var(--gold-light); transition: transform .2s linear; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.process .steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4.5rem);
  margin-top: clamp(1rem, 3vw, 2rem);
  padding-top: 3rem;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.8s var(--ease-in-out) .2s;
}
.steps.is-in::before { transform: scaleX(1); }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: calc(-3rem - 5px);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--rose);
}
.step__num {
  display: inline-block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(4.5rem, 3rem + 4vw, 7.5rem); line-height: .9;
}
.step h3 { margin-top: 1.2rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.4rem + .8vw, 2.2rem); line-height: 1.1; }
.step p { margin-top: .8rem; color: var(--ink-2); max-width: 24rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--cream); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.about__visual {
  position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center;
  display: grid; place-items: center;
}
.about__glow {
  position: absolute; inset: -6%; z-index: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(244, 215, 209, .95), transparent 58%),
    radial-gradient(circle at 70% 72%, rgba(230, 192, 159, .55), transparent 55%);
  filter: blur(30px);
}
.about__logo {
  position: relative; z-index: 1;
  width: 80%;
  -webkit-mask-image: radial-gradient(closest-side, #000 88%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 88%, transparent 100%);
  animation: float 9s var(--ease-in-out) infinite;
}
.about__ring {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  animation: spin 60s linear infinite;
}
.about__ring text {
  font-family: var(--font-body); font-size: 7.6px; font-weight: 500;
  letter-spacing: 2.4px; text-transform: uppercase;
  fill: var(--rose-deep);
}
.about__copy .lead { margin-top: 2rem; }
.about__copy > p:not(.eyebrow):not(.lead) { margin-top: 1.2rem; color: var(--ink-2); max-width: 36rem; }
.promises { margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
.promises li { display: flex; align-items: center; gap: .75rem; font-size: .98rem; }
.promises .icon { width: 13px; height: 13px; color: var(--blush-2); }
.about__actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   Finale
   ========================================================================== */
.finale {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding-block: 8rem;
  text-align: center; color: #fff;
  background: var(--night);
}
.finale__media { position: absolute; inset: 0; }
.finale__video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--fs, 1.12)); will-change: transform; }
.finale__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 66% 56% at 50% 50%, rgba(20, 12, 8, .66), rgba(20, 12, 8, .26) 76%),
    linear-gradient(180deg, rgba(20, 12, 8, .4), rgba(20, 12, 8, .2) 40%, rgba(20, 12, 8, .55));
}
.finale__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.finale__title {
  margin-top: 1.5rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 1.8rem + 5.4vw, 7.4rem);
  line-height: 1; letter-spacing: -.02em;
  max-width: 12em; text-wrap: balance;
  text-shadow: 0 6px 50px rgba(20, 12, 8, .35);
}
.finale__text { margin-top: 1.6rem; max-width: 34rem; font-weight: 300; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255, 255, 255, .9); }
.finale__actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--night);
  color: rgba(246, 227, 207, .78);
  padding-top: clamp(5rem, 9vw, 8rem);
  font-size: .98rem;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.4fr; gap: 3rem; }
.brand--footer { align-items: flex-start; }
.brand--footer .brand__script { font-size: 3.4rem; padding-left: 0; }
.brand--footer .brand__word { font-size: .78rem; margin-left: .3rem; color: var(--champagne); }
.footer__tag { margin-top: 1.4rem; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--champagne); }
.footer__small { margin-top: .5rem; font-size: .85rem; color: rgba(246, 227, 207, .55); }
.footer__heading { font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-light); margin-bottom: 1.4rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .75rem; }
.footer__col a, .footer__col .text-btn { display: inline-flex; align-items: center; gap: .6rem; transition: color .3s; text-decoration: none; }
.footer__col a:hover, .footer__col .text-btn:hover { color: #fff; }
.footer__col .icon { color: var(--rose-light); }
.socials { display: flex !important; gap: .6rem !important; margin-top: 1.6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; justify-content: center;
  border: 1px solid rgba(246, 227, 207, .2);
  transition: background-color .3s, border-color .3s, color .3s !important;
}
.socials a:hover { background: var(--champagne); border-color: var(--champagne); }
.socials a:hover .icon { color: var(--night); }

.footer__news p { max-width: 22rem; }
.news-form { position: relative; margin-top: 1.4rem; }
.news-form input[type="email"] {
  width: 100%; height: 54px; padding: 0 3.4rem 0 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(246, 227, 207, .3);
  color: #fff; border-radius: 0;
  transition: border-color .3s;
}
.news-form input::placeholder { color: rgba(246, 227, 207, .5); }
.news-form input:focus { outline: none; border-color: var(--rose-light); }
.news-form input[aria-invalid="true"] { border-color: #e08a80; }
.news-form button[type="submit"] {
  position: absolute; right: 0; top: 7px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-light); color: var(--night);
  transition: transform .4s var(--ease-out);
}
.news-form button[type="submit"]:hover { transform: translateX(3px); }
.news-form__msg { min-height: 1.5em; margin-top: .7rem; font-size: .88rem; color: var(--rose-light); }

.footer__bottom {
  margin-top: clamp(4rem, 7vw, 6rem);
  padding-block: 1.6rem;
  border-top: 1px solid rgba(246, 227, 207, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  font-size: .8rem; color: rgba(246, 227, 207, .5);
}
.footer__signature {
  font-family: var(--font-script);
  font-size: clamp(7rem, 24vw, 24rem); line-height: .78;
  text-align: center; white-space: nowrap;
  margin: -.05em 0 -.2em;
  background: var(--gold-light); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .09; user-select: none; pointer-events: none;
}

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; z-index: 45;
  left: 50%; bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translate(-50%, 160%);
  display: none;
  box-shadow: 0 18px 40px -12px rgba(28, 19, 15, .55);
}
.float-cta.is-visible { transform: translate(-50%, 0); }
html.has-modal .float-cta, html.menu-open .float-cta { transform: translate(-50%, 160%); }
.float-cta .icon { width: 13px; height: 13px; }
.float-cta:hover .icon { transform: none; }

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  overflow: hidden;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: transparent; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 12, 8, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.modal__panel {
  position: relative;
  width: min(1120px, 100% - 2rem);
  height: min(780px, 100% - 2rem);
  display: grid; grid-template-columns: .85fr 1.15fr;
  background: var(--cream);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(36px) scale(.98);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal--compact .modal__panel { width: min(660px, 100% - 2rem); height: auto; max-height: calc(100% - 2rem); grid-template-columns: 1fr; }
/* Newsletter pop-up. Its height is capped to the visible screen (--news-vh, less --news-gap), and
   the form scrolls inside the card when that's short, so it fits phones, tablets and dual screens */
.modal--news {
  --news-vh: 100vh;
  --news-gap: calc(2rem + env(safe-area-inset-top) + env(safe-area-inset-bottom));
  --news-banner: 0px;
  padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
}
@supports (height: 100dvh) { .modal--news { --news-vh: 100dvh; } }
.modal--news .modal__panel {
  width: min(920px, 100% - 2rem); height: auto; max-height: calc(var(--news-vh) - var(--news-gap));
  grid-template-columns: .9fr 1.1fr;
}
.modal--news .modal__aside { min-height: min(540px, var(--news-vh) - var(--news-gap)); }
.modal--news .modal__main {
  max-height: calc(var(--news-vh) - var(--news-gap) - var(--news-banner));
  container-type: inline-size;
}
/* Auto margins centre the form when there's room, and leave it scrollable from the top when there isn't */
.news-modal { display: flex; flex-direction: column; margin-block: auto; }
.news-modal .modal__title { padding-right: 3rem; }
.news-modal__foot { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
@container (max-width: 400px) { .news-modal .fields { grid-template-columns: 1fr; } }
/* Smaller photo caption when the photo column is narrow */
.modal--news .modal__aside { container-type: inline-size; }
@container (max-width: 300px) {
  .modal--news .modal__aside .modal__aside-copy { left: 1.4rem; right: 1.4rem; bottom: 1.4rem; }
  .modal--news .modal__aside .modal__aside-script { font-size: 2.6rem; }
  .modal--news .modal__aside .modal__aside-copy p { font-size: 1.05rem; }
}

.modal__aside { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.modal__aside img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); transition: transform 2.4s var(--ease-out);
}
.modal.is-open .modal__aside img { transform: scale(1); }
.modal__aside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 8, .85), rgba(20, 12, 8, .1) 55%, rgba(20, 12, 8, .15));
}
.modal__aside-copy { position: absolute; z-index: 1; left: 2.5rem; right: 2.5rem; bottom: 2.5rem; }
.modal__aside-script {
  font-family: var(--font-script); font-size: 3.4rem; line-height: 1;
  background: var(--gold-light); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal__aside-copy p { margin-top: 1rem; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; }
.modal__aside-cite { display: block; margin-top: 1rem; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--rose-light); }

.modal__main {
  --mpb: clamp(1.5rem, 2.6vw, 2.25rem);
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.5rem) var(--mpb);
  display: flex; flex-direction: column;
}
.modal__close {
  position: absolute; z-index: 3; top: 1.1rem; right: 1.1rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(250, 242, 235, .8);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--cream); }
.modal__title {
  margin-top: 1rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.3rem, 1.7rem + 2vw, 3.3rem); line-height: 1.04;
}
.modal__intro { margin-top: 1rem; color: var(--ink-2); max-width: 30rem; }

/* Wizard */
.wizard, .contact-form { display: flex; flex-direction: column; flex: 1; }
.wizard__head { padding-right: 3.5rem; }
.wizard__progress { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.wizard__step-label { font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.wizard__bar { position: relative; flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.wizard__bar span { position: absolute; inset: 0 auto 0 0; width: 33.33%; background: var(--gold); transition: width .7s var(--ease-out); }
.wizard__body { flex: 1; margin-top: 1.9rem; }
.wizard__step { border: 0; padding: 0; min-width: 0; }
.wizard__step.from-right { animation: step-in-right .7s var(--ease-out) both; }
.wizard__step.from-left { animation: step-in-left .7s var(--ease-out) both; }
.wizard__legend { padding: 0; font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem); line-height: 1.2; }
.wizard__hint { margin-top: .3rem; font-size: .92rem; color: var(--ink-3); }
.wizard__consent { margin-top: 1.4rem; font-size: .82rem; color: var(--ink-3); }
/* Stays pinned to the bottom of the panel while longer steps scroll */
.wizard__nav {
  position: sticky; z-index: 2; bottom: calc(-1 * var(--mpb));
  display: flex; align-items: center; gap: 1rem;
  margin: 1.75rem 0 calc(-1 * var(--mpb));
  padding: 1.25rem 0 var(--mpb);
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.wizard__nav [data-wizard-next], .wizard__nav [data-wizard-submit] { margin-left: auto; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.25rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .93rem; line-height: 1.2;
  transition: background-color .35s var(--ease-out), color .35s, border-color .35s, transform .35s var(--ease-out);
}
.chip span::before {
  content: ""; width: 0; height: 7px; border-radius: 50%;
  background: var(--rose-light);
  transition: width .35s var(--ease-out);
}
.chip:hover span { border-color: var(--rose); }
.chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip input:checked + span::before { width: 7px; }
.chip input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }
.chips--sm { margin-top: 0; }
.chips--sm .chip span { padding: .65rem 1.1rem; font-size: .88rem; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.2rem; margin-top: 1.5rem; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label {
  display: block; margin-bottom: .55rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%; height: 54px; padding: 0 1rem;
  border: 1px solid rgba(42, 29, 23, .18); border-radius: 6px;
  background: rgba(255, 255, 255, .7);
  font-size: 1rem; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 104px; padding: .9rem 1rem; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6243' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); background-color: #fff;
  box-shadow: 0 0 0 4px rgba(191, 135, 96, .16);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin-top: .4rem; font-size: .84rem; color: var(--danger); }
.field__error:empty { display: none; }
.field__error--form { margin-top: 1rem; }

.stepper {
  display: grid; grid-template-columns: 54px 1fr 54px;
  height: 54px; border: 1px solid rgba(42, 29, 23, .18); border-radius: 6px;
  background: rgba(255, 255, 255, .7); overflow: hidden;
}
.stepper button { display: grid; place-items: center; color: var(--ink-2); transition: background-color .3s, color .3s; }
.stepper button:hover { background: var(--cream-2); color: var(--ink); }
.field .stepper input {
  height: 100%; border: 0; border-radius: 0; background: transparent; padding: 0;
  text-align: center; font-size: 1.1rem; -moz-appearance: textfield;
}
.field .stepper input:focus { box-shadow: none; }
.stepper:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(191, 135, 96, .16); }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.contact-form .fields { margin-top: 2rem; }
.contact-form__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.contact-form__foot .text-link { color: var(--ink-2); font-size: .95rem; }
.modal--compact .contact-form { padding-right: 0; }
.modal--compact .eyebrow { margin-right: 3.5rem; }

/* Success state */
.success {
  margin: auto; max-width: 30rem; padding: 2rem 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.success__art { width: 220px; margin-bottom: 1.5rem; overflow: visible; }
.success__trail { stroke-dasharray: 600; stroke-dashoffset: 600; }
.success.is-shown .success__trail { animation: draw 2.2s var(--ease-in-out) .2s forwards; }
.success.is-shown > :not(svg) { animation: rise .9s var(--ease-out) both; }
.success.is-shown > :nth-child(2) { animation-delay: .5s; }
.success.is-shown > :nth-child(3) { animation-delay: .6s; }
.success.is-shown > :nth-child(4) { animation-delay: .7s; }
.success.is-shown > :nth-child(5) { animation-delay: .8s; }
.success__text { margin-top: 1rem; color: var(--ink-2); }
.success .btn { margin-top: 2.2rem; }
.success .eyebrow::before { display: none; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes cue { 0% { transform: translateY(0); } 100% { transform: translateY(300%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes step-in-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes step-in-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }

  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { display: grid; grid-template-columns: 44px 1fr; column-gap: 1.2rem; padding-block: 1.8rem; }
  .pillar__icon { grid-row: span 2; width: 30px; height: 30px; }
  .pillar h3 { margin-top: 0; font-size: 1.5rem; }

  .exp__row { grid-template-columns: 1fr; gap: .35rem 0; }
  .exp__num { font-size: 1rem; }
  .exp__desc { font-size: .95rem; }
  .exp__media { grid-column: 1; grid-row: auto; grid-template-rows: 1fr; margin-top: 1rem; }
  .exp__media img { height: auto; aspect-ratio: 16 / 9; opacity: 1; transform: none; }
  .exp__arrow { display: none; }
  .exp__row:hover .exp__media { margin-top: 1rem; }
  .exp__row:hover .exp__title { transform: none; }

  .process .steps { grid-template-columns: 1fr; gap: 3rem; padding-top: 0; padding-left: 2.5rem; }
  .steps::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .steps.is-in::before { transform: scaleY(1); }
  .step::before { left: -2.5rem; top: .9rem; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 440px; }

  .float-cta { display: inline-flex; }

  .modal__panel { width: 100%; height: 100%; border-radius: 0; grid-template-columns: 1fr; transform: translateY(60px); }
  .modal--compact .modal__panel { width: 100%; height: 100%; max-height: none; }
  /* Newsletter: a single-column card on tablets and narrow screens */
  .modal--news .modal__panel { width: min(560px, 100% - 2rem); height: auto; grid-template-columns: 1fr; border-radius: 12px; }
  .modal__aside { display: none; }
  .modal__main { padding-top: 1.75rem; }
  .modal__close { top: .9rem; right: .9rem; }

  .journey__progress { right: .6rem; }
  .journey__label { display: none; }
  .scene--chapter { right: calc(var(--gutter) + 2rem); }
}

@media (max-width: 640px) {
  .link-external, .site-header__actions .btn { display: none; }
  .brand__script { font-size: 1.9rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .fields { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .scene--hero { padding-bottom: 6rem; }
  .scene--chapter { bottom: clamp(5.5rem, 14vh, 8rem); }
  .wizard__nav .btn { padding-inline: 1.5rem; }
  .carousel-controls { display: none; }
  .journey__progress { display: none; }
  .scene--chapter { right: var(--gutter); }
  .round-btn { width: 48px; height: 48px; }
}

@media (max-height: 640px) and (min-width: 641px) {
  .hero__lead { margin-top: 1rem; }
  .hero__actions { margin-top: 1rem; }
}

/* Newsletter pop-up on landscape tablets and phones: photo beside the form */
@media (max-width: 900px) and (min-width: 641px) and (orientation: landscape) {
  .modal--news .modal__panel { width: calc(100% - 2rem); grid-template-columns: .65fr 1.35fr; }
  .modal--news .modal__aside { display: block; }
}
/* ...on tall portrait tablets: a photo banner across the top */
@media (max-width: 900px) and (min-width: 641px) and (min-height: 820px) {
  .modal--news { --news-banner: 200px; }
  .modal--news .modal__aside { display: block; height: var(--news-banner); min-height: 0; }
  .modal--news .modal__aside-copy { left: 2rem; right: 2rem; bottom: 1.4rem; }
  .modal--news .modal__aside-copy p { display: none; }
}
/* ...on phones: a bottom sheet */
@media (max-width: 640px) {
  .modal--news { --news-gap: calc(.75rem + env(safe-area-inset-top)); padding: 0; }
  .modal--news[open] { place-items: end center; }
  .modal--news .modal__panel { width: 100%; border-radius: 18px 18px 0 0; }
  .modal--news .modal__main { padding-bottom: calc(var(--mpb) + env(safe-area-inset-bottom)); }
}
/* ...and tighter spacing wherever the screen is short */
@media (max-height: 700px) {
  .modal--news .modal__main { padding-top: 1.4rem; }
  .news-modal .modal__title { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.4rem); }
  .news-modal .modal__intro { margin-top: .6rem; font-size: .95rem; }
  .news-modal .fields { margin-top: 1rem; gap: .9rem 1rem; }
  .news-modal__foot { margin-top: 1.1rem; }
  .news-modal .wizard__consent { margin-top: .8rem; }
  .modal--news .modal__aside-copy { left: 1.75rem; right: 1.75rem; bottom: 1.5rem; }
  .modal--news .modal__aside-copy p { font-size: 1.2rem; }
  .modal--news .success { padding: .5rem 0; }
  .modal--news .success__art { width: 150px; margin-bottom: .75rem; }
  .modal--news .success .modal__title { margin-top: .6rem; }
  .modal--news .success .btn { margin-top: 1.2rem; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .modal--news .modal__panel { grid-template-columns: .75fr 1.25fr; }
}
/* ...and phones on their side: no photo, so the whole form fits without scrolling */
@media (max-height: 430px) and (min-width: 641px) and (orientation: landscape) {
  .modal--news { --news-gap: calc(1rem + env(safe-area-inset-top) + env(safe-area-inset-bottom)); }
  .modal--news .modal__panel { width: min(680px, 100% - 2rem); grid-template-columns: 1fr; }
  .modal--news .modal__aside { display: none; }
  .modal--news .modal__main { padding: 1.1rem 1.75rem 1.2rem; }
  .news-modal .modal__title { margin-top: .5rem; }
}

/* Dual-screen devices (Surface Duo, foldables) spanning both screens: keep the newsletter pop-up
   on one screen, clear of the hinge */
@media (horizontal-viewport-segments: 2) {
  .modal--news[open] { justify-items: end; }
  .modal--news { --news-banner: 0px; }
  .modal--news .modal__panel { width: calc(env(viewport-segment-width 1 0) - 2rem); margin-right: 1rem; grid-template-columns: 1fr; border-radius: 12px; }
  .modal--news .modal__aside { display: none; }
}
@media (vertical-viewport-segments: 2) {
  .modal--news[open] { align-items: end; }
  .modal--news { --news-vh: env(viewport-segment-height 0 1); --news-banner: 0px; }
  .modal--news .modal__panel { margin-bottom: 1rem; border-radius: 12px; }
  .modal--news .modal__aside { display: none; }
}
/* The same for older Edge on Surface Duo */
@media (spanning: single-fold-vertical) {
  .modal--news[open] { justify-items: end; }
  .modal--news { --news-banner: 0px; }
  .modal--news .modal__panel { width: calc(100vw - env(fold-left) - env(fold-width) - 2rem); margin-right: 1rem; grid-template-columns: 1fr; border-radius: 12px; }
  .modal--news .modal__aside { display: none; }
}
@media (spanning: single-fold-horizontal) {
  .modal--news[open] { align-items: end; }
  .modal--news { --news-vh: calc(100vh - env(fold-top) - env(fold-height)); --news-banner: 0px; }
  .modal--news .modal__panel { margin-bottom: 1rem; border-radius: 12px; }
  .modal--news .modal__aside { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .about__logo, .about__ring { animation: none; }
}
