/* =========================================================
   SOFTEN — tokens
   ========================================================= */
:root {
  /* surfaces */
  --ivory: #F6F1E8;
  --linen: #EFE7DA;
  --sand: #E4D8C5;
  --stone: #B8AA94;
  /* accents (used sparingly — the sea comes from photography) */
  --bronze: #8E6C43;
  --bronze-soft: #B4936A;
  /* ink */
  --espresso: #2A201A;
  --ink: #1F1915;
  --ink-soft: #5B4E43;
  --ink-mute: #85776A;
  --on-image: #FBF8F2;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale */
  --t-hero: clamp(5.25rem, 10.4vw, 11rem);
  --t-display: clamp(2.6rem, 5.4vw, 5.6rem);
  --t-title: clamp(2.2rem, 4.1vw, 4.1rem);
  --t-lead: clamp(1.35rem, 1.7vw, 1.7rem);
  --t-body: 1rem;
  --t-label: 0.6875rem;

  --gutter: clamp(1rem, 6vw, 6rem);
  --ease-soft: cubic-bezier(.25, .1, .25, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
picture, figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.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: 100; padding: 10px 16px; background: var(--espresso); color: var(--ivory); border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--bronze-soft); outline-offset: 3px; }

/* =========================================================
   Shared atoms
   ========================================================= */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow--light { color: rgba(251, 248, 242, .86); }

.btn {
  display: inline-flex; align-items: center; gap: .9em;
  height: 52px; padding: 0 26px;
  border-radius: 10px;
  font: 500 var(--t-label)/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  transition: background .5s var(--ease-soft), color .5s var(--ease-soft), transform .5s var(--ease-soft);
}
.btn span { transition: transform .5s var(--ease-soft); }
.btn:hover span { transform: translateX(4px); }
.btn--dark { background: var(--espresso); color: var(--ivory); }
.btn--dark:hover { background: #3a2d24; }

.link {
  display: inline-flex; align-items: center; gap: .8em;
  font: 500 var(--t-label)/1 var(--sans);
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: border-color .5s var(--ease-soft);
}
.link:hover { border-bottom-color: currentColor; }
.link--light { color: var(--on-image); }

/* =========================================================
   Floating nav
   ========================================================= */
.nav {
  position: fixed; z-index: 60;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: min(91vw, 1440px); height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 10px 0 26px;
  border-radius: 16px;
  color: var(--espresso);
  background: rgba(246, 241, 232, .70);
  border: 1px solid rgba(120, 98, 76, .16);
  box-shadow: 0 12px 34px -16px rgba(42, 32, 26, .28);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: background .7s var(--ease-soft), color .7s var(--ease-soft), border-color .7s var(--ease-soft), box-shadow .7s var(--ease-soft);
}
.nav[data-theme="dark"] {
  color: var(--ivory);
  background: rgba(31, 25, 21, .42);
  border-color: rgba(246, 241, 232, .12);
  box-shadow: 0 12px 34px -16px rgba(0, 0, 0, .5);
}
.nav__brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.25rem; letter-spacing: .32em;
  text-decoration: none; justify-self: start;
}
/* links sit in a soft pill group; the hovered one lifts into its own pill */
.nav__links {
  display: flex; gap: 2px; padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(120, 98, 76, .14);
  background: rgba(255, 255, 255, .28);
  transition: background .7s var(--ease-soft), border-color .7s var(--ease-soft);
}
.nav__links a {
  padding: 10px 16px; border-radius: 999px;
  font-size: var(--t-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; opacity: .82;
  transition: opacity .4s, background .45s var(--ease-soft), color .45s var(--ease-soft);
}
.nav__links a:hover, .nav__links a:focus-visible { opacity: 1; background: var(--espresso); color: var(--ivory); }
.nav[data-theme="dark"] .nav__links { background: rgba(246, 241, 232, .08); border-color: rgba(246, 241, 232, .14); }
.nav[data-theme="dark"] .nav__links a:hover { background: var(--ivory); color: var(--espresso); }

/* over the hero photograph: the bar dissolves, only the pills float */
.nav[data-theme="hero"] {
  color: var(--on-image);
  background: rgba(246, 241, 232, 0);
  border-color: rgba(246, 241, 232, 0);
  box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.nav[data-theme="hero"] .nav__links {
  background: rgba(246, 241, 232, .14); border-color: rgba(246, 241, 232, .3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav[data-theme="hero"] .nav__links a:hover { background: var(--ivory); color: var(--espresso); }
.nav[data-theme="hero"] .nav__brand { text-shadow: 0 1px 16px rgba(6, 24, 40, .35); }

/* pill CTA with an icon circle — shared by nav and hero */
.nav__cta, .pill-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 5px 0 20px; border-radius: 999px;
  background: var(--espresso); color: var(--ivory);
  font-size: var(--t-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: background .6s var(--ease-soft), color .6s var(--ease-soft), box-shadow .6s var(--ease-soft);
}
.pill-cta__ico {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ivory); color: var(--espresso); font-size: .95rem; letter-spacing: 0;
  transition: transform .6s var(--ease-soft), background .6s var(--ease-soft), color .6s var(--ease-soft);
}
.nav__cta:hover .pill-cta__ico, .pill-cta:hover .pill-cta__ico { transform: rotate(-45deg); }
.nav[data-theme="dark"] .nav__cta, .nav[data-theme="hero"] .nav__cta { background: var(--ivory); color: var(--espresso); }
.nav[data-theme="dark"] .nav__cta .pill-cta__ico, .nav[data-theme="hero"] .nav__cta .pill-cta__ico { background: var(--espresso); color: var(--ivory); }
.nav__menu { display: none; }

/* mobile menu — a quiet, dark doorway with the hero landscape behind it */
.menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 6vh;
  padding: calc(var(--nav-h) + 12px + 7svh) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--umber-deep); color: var(--on-image);
}
.menu[hidden] { display: none; }
.menu__bg, .menu__bg picture, .menu__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.menu__bg img { object-fit: cover; opacity: .32; filter: saturate(.75); }
.menu__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 24, 20, .7) 0%, rgba(44, 33, 26, .55) 45%, rgba(30, 24, 20, .92) 100%); }
.menu__nav, .menu__foot { position: relative; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid rgba(251, 248, 242, .14);
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 9vw, 2.8rem); line-height: 1.05; text-decoration: none;
}
.menu__nav a:first-child { border-top: 1px solid rgba(251, 248, 242, .14); }
.menu__nav span { font-family: var(--sans); font-size: var(--t-label); font-weight: 500; letter-spacing: .22em; color: var(--clay); }
.menu__foot { display: grid; gap: 22px; }
.menu__meta { font-size: var(--t-label); font-weight: 500; letter-spacing: .24em; line-height: 2; text-transform: uppercase; color: rgba(251, 248, 242, .72); }
.menu__foot .pill-cta { width: 100%; justify-content: space-between; height: 56px; padding-left: 26px; }

.sticky-cta { display: none; }

/* =========================================================
   Palette additions — the descent into ancient Crete is umber, never black
   ========================================================= */
:root {
  --umber: #3A2A20;
  --umber-deep: #2C211A;
  --terracotta: #B06C4F;
  --clay: #D2AE87;
}
.eyebrow--warm { color: var(--clay); }

/* =========================================================
   SCENE 1 — default (flow) layout: mobile, reduced motion, no-JS
   ========================================================= */
.opening__stage {
  position: relative;
  display: grid;
  grid-template-areas: "hero" "invite" "arrive";
}
.frame { grid-area: hero; position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--sand); }
.frame__pic, .frame__pic picture, .frame__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame__pic img { object-fit: cover; }
.hero__pic img { object-position: 50% 45%; }
.frame__threshold { display: none; opacity: 0; }
.frame__threshold img { object-position: 60% 30%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    /* a little depth in the sky behind the title, and in the sea behind the actions — the photo stays vivid */
    radial-gradient(ellipse 60% 50% at 16% 30%, rgba(8, 34, 58, .34) 0%, rgba(8, 34, 58, 0) 100%),
    linear-gradient(0deg, rgba(6, 24, 40, .5) 0%, rgba(6, 24, 40, .18) 26%, rgba(6, 24, 40, 0) 44%),
    linear-gradient(180deg, rgba(6, 24, 40, .16) 0%, rgba(6, 24, 40, 0) 18%);
}
.veil { display: none; }

/* ---- wordmark: in the sky, behind the cave wall ---- */
.hero__mark { position: absolute; inset: 0; pointer-events: none; }
.hero__mark > span {
  position: absolute; left: 3.6vw; top: calc(var(--nav-h) + 18px + 5vh);
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-mark, 13.2vw); line-height: .78; letter-spacing: .015em; text-transform: uppercase;
  color: rgba(251, 248, 242, .8);
  text-shadow: 0 6px 60px rgba(6, 30, 52, .18);
  white-space: nowrap; will-change: transform;
}
.hero__mark b { display: inline-block; font-weight: inherit; will-change: transform; }
/* a soft warm light that follows the hand across the sky */
.hero__glint {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: radial-gradient(circle 30vmax at var(--gx, 30%) var(--gy, 30%), rgba(255, 236, 200, .55) 0%, rgba(255, 236, 200, 0) 70%);
  transition: opacity 1s var(--ease-soft);
}
.hero__glint.is-on { opacity: 1; }
.hero__fg { display: block; position: absolute; inset: 0; pointer-events: none; }
.hero__fg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: url("../assets/img/hero-matala-portrait-fg-mask.png"); mask-image: url("../assets/img/hero-matala-portrait-fg-mask.png");
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%; mask-position: 50% 50%;
}
@media (min-width: 700px) {
  .hero__fg img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    -webkit-mask-image: url("../assets/img/hero-matala-fg-mask.png"); mask-image: url("../assets/img/hero-matala-fg-mask.png");
    -webkit-mask-size: cover; mask-size: cover;
    -webkit-mask-position: 50% 45%; mask-position: 50% 45%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}

/* ---- copy: bottom-left over the calm bay ---- */
.hero__copy {
  grid-area: hero; position: relative; z-index: 2;
  height: 100svh; min-height: 560px;
  padding: 0 var(--gutter) max(7vh, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  color: var(--on-image);
  pointer-events: none;
}
.hero__copy > * { pointer-events: auto; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  border: 1px solid rgba(246, 241, 232, .4);
  background: rgba(246, 241, 232, .12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: var(--t-label); font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
}
.hero__pill i { width: 16px; height: 1px; background: currentColor; opacity: .8; }
.hero__heading { margin-top: 22px; font-weight: inherit; }
.hero__tagline {
  display: block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.7rem, 4.7vw, 4.75rem); line-height: 1; letter-spacing: -.005em;
  text-shadow: 0 2px 30px rgba(6, 24, 40, .35);
}
.hero__meta {
  margin-top: 20px;
  font-size: var(--t-label); font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(251, 248, 242, .92);
  text-shadow: 0 1px 14px rgba(6, 24, 40, .55);
}
.hero__actions { margin-top: 30px; display: flex; align-items: center; gap: 28px; }
.pill-cta { height: 54px; padding-left: 26px; box-shadow: 0 18px 40px -18px rgba(6, 20, 34, .7); will-change: transform; }
.pill-cta .pill-cta__ico { width: 44px; height: 44px; }
.pill-cta:hover { background: #3a2d24; }

/* ---- preview card: a real doorway into the next scene ---- */
.hero__card { display: none; }
@media (min-width: 900px) {
  .hero__card {
    grid-area: hero; align-self: end; justify-self: end; z-index: 3;
    position: relative; margin: 0 var(--gutter) max(7vh, 40px) 0;
    display: grid; grid-template-columns: 104px auto; align-items: center; gap: 16px;
    padding: 8px 22px 8px 8px; border-radius: 18px; text-decoration: none; color: var(--espresso);
    background: rgba(246, 241, 232, .9);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px -24px rgba(6, 20, 34, .65);
    will-change: transform; transition: background .6s var(--ease-soft);
  }
  .hero__card:hover { background: rgba(255, 255, 255, .96); }
  .hero__card-media { position: relative; display: block; width: 104px; height: 84px; border-radius: 12px; overflow: hidden; }
  .hero__card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; transition: transform 1.2s var(--ease-soft); }
  .hero__card:hover .hero__card-media img { transform: scale(1.1); }
  .hero__card-btn {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%;
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--ivory); color: var(--espresso); font-size: .9rem;
    animation: halo 2.8s var(--ease-soft) infinite; transition: scale .6s var(--ease-soft);
  }
  .hero__card:hover .hero__card-btn { scale: 1.12; }
  .hero__card-text { display: grid; gap: 6px; white-space: nowrap; }
  .hero__card-k { font-size: .625rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
  .hero__card-text b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1; }
}
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(246, 241, 232, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(246, 241, 232, 0); } }

/* invitation (flow): copy on ivory, the image bleeds up into it */
.invite { grid-area: invite; position: relative; background: var(--ivory); }
.invite__copy { position: relative; z-index: 2; padding: 15vh var(--gutter) 0; max-width: 760px; }
.invite__title {
  margin-top: 28px;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--t-title); line-height: 1.04; letter-spacing: -.005em;
  color: var(--espresso);
}
.invite__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.invite__title .line > span { display: block; }
.invite__accent { display: block; margin-top: .22em; font-weight: 300; color: var(--bronze); letter-spacing: .015em; }
.invite__support { margin-top: 34px; display: grid; gap: 12px; max-width: 30em; color: var(--ink-soft); }
.invite__cta { margin-top: 34px; color: var(--espresso); }
.invite__media { position: relative; margin-top: -4vh; }
.invite__media picture { display: block; height: 72svh; }
.invite__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
}

/* arrival */
.arrive { grid-area: arrive; position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--on-image); }
.arrive__media, .arrive__media picture, .arrive__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.arrive__media img { object-fit: cover; object-position: 40% 50%; }
.arrive__shade, .moment__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    /* a soft pool of shade anchored where the words sit (bottom-left), so they read over white rooftops at any height */
    radial-gradient(ellipse 72% 78% at 14% 72%, rgba(14, 18, 16, .7) 0%, rgba(14, 18, 16, .42) 46%, rgba(14, 18, 16, 0) 78%),
    linear-gradient(0deg, rgba(14, 16, 12, .55) 0%, rgba(14, 16, 12, .2) 34%, rgba(14, 16, 12, 0) 58%),
    linear-gradient(180deg, rgba(16, 28, 36, .2) 0%, rgba(16, 28, 36, 0) 22%);
}
.arrive__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; }
.arrive__title {
  margin-top: 24px;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--t-display); line-height: .98; text-transform: uppercase;
  text-shadow: 0 2px 34px rgba(10, 16, 14, .45), 0 1px 3px rgba(10, 16, 14, .25);
}
.arrive .eyebrow, .arrive__support { text-shadow: 0 1px 16px rgba(10, 16, 14, .6); }
.soft-line { display: block; }
.arrive__support { margin-top: 26px; max-width: 34em; color: rgba(251, 248, 242, .86); font-size: 1rem; }

/* =========================================================
   SCENE 1 — cinematic (desktop, motion allowed). JS adds .is-cinematic
   ========================================================= */
.is-cinematic .opening__stage { display: block; height: 100vh; overflow: hidden; background: var(--ivory); }
.is-cinematic .frame { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 1; }
.is-cinematic .frame__threshold { display: block; }
.is-cinematic .veil {
  display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) 40%, rgba(246, 241, 232, .86) 47%, rgba(246, 241, 232, .4) 56%, rgba(246, 241, 232, 0) 66%);
}
.is-cinematic .hero__copy { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 3; }
.is-cinematic .invite { position: absolute; inset: 0; z-index: 4; background: transparent; pointer-events: none; }
.is-cinematic .invite__copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%);
  width: min(40vw, 660px); padding: 0; pointer-events: auto;
}
.is-cinematic .invite__media { display: none; }
.is-cinematic .arrive { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 5; pointer-events: none; }
.is-cinematic .arrive__media { visibility: hidden; }
.is-cinematic .arrive__copy { pointer-events: auto; }

/* =========================================================
   SCENE 2 — the stay → stone → an ancient world (flow layout)
   ========================================================= */
.stay { position: relative; background: var(--ivory); }
.stay__stage { position: relative; }
.stay__strip { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 6px 0; }
.moment { position: relative; overflow: hidden; color: var(--on-image); margin: 0; }
.moment picture, .moment img { display: block; width: 100%; height: 100%; }
.moment img { object-fit: cover; }
.moment--room, .moment--rest { aspect-ratio: 4 / 5; }
.moment--sea { display: none; }
.moment--sea img { object-position: 40% 50%; }
.moment--rest img { object-position: 70% 50%; }
.moment::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(18, 14, 10, .45) 0%, rgba(18, 14, 10, 0) 34%);
}
.moment figcaption {
  position: absolute; z-index: 1; left: 20px; bottom: 18px;
  font-size: var(--t-label); font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
}
.stay__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 26px var(--gutter) 30px; color: var(--espresso);
}
.stay__foot p { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.stay__line { font-family: var(--serif); font-size: clamp(1.25rem, 1.6vw, 1.6rem); color: var(--espresso); }

.ancient { position: relative; min-height: 100svh; overflow: hidden; color: var(--on-image); background: var(--umber); }
.ancient__stone, .ancient__stone picture, .ancient__stone img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ancient__stone img { object-fit: cover; object-position: 50% 40%; }
/* the colour deepens gradually — ivory → warm umber over real stone */
.ancient__tone {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ivory) 0%, rgba(58, 42, 32, .62) 26%, rgba(44, 33, 26, .84) 100%);
}
.ancient__copy { position: relative; z-index: 1; padding: 34vh var(--gutter) 14vh; max-width: 980px; }
.ancient__title {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--t-display); line-height: .98; text-transform: uppercase;
}
.carve { display: block; }
.ancient__support { margin-top: 30px; max-width: 32em; color: rgba(251, 248, 242, .8); }
.ancient__places { display: flex; flex-wrap: wrap; margin-top: 44px; }
.ancient__places li {
  font-size: var(--t-label); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--clay);
  padding: 4px 22px; border-left: 1px solid rgba(210, 174, 135, .35);
}
.ancient__places li:first-child { padding-left: 0; border-left: 0; }

/* =========================================================
   SCENE 2 — cinematic
   ========================================================= */
.is-cinematic .opening { position: relative; z-index: 3; }
.is-cinematic .stay { margin-top: -100vh; z-index: 2; }  /* begins on the exact frame Scene 1 ends on */
.is-cinematic .stay__stage { height: 100vh; overflow: hidden; }
.is-cinematic .stay__strip { display: block; padding: 0; }
.is-cinematic .moment { position: absolute; aspect-ratio: auto; will-change: left, top, width, height; }
.is-cinematic .moment--sea { display: block; }
.is-cinematic .stay__foot { position: absolute; left: 0; right: 0; bottom: 0; height: 13vh; padding: 0 var(--gutter); }
.is-cinematic .ancient { position: absolute; inset: 0; min-height: 0; visibility: hidden; background: var(--umber-deep); }
.is-cinematic .ancient__tone {
  background: linear-gradient(95deg, rgba(40, 29, 22, .9) 0%, rgba(44, 32, 24, .72) 48%, rgba(58, 40, 28, .45) 100%);
}
.is-cinematic .ancient__copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); padding: 0; max-width: 62vw; }

/* =========================================================
   Prototype boundary + footer (same umber — no cut)
   ========================================================= */
.foot {
  background: var(--umber-deep); color: rgba(251, 248, 242, .6);
  padding: 40px var(--gutter) 60px; font-size: .8rem; display: grid; gap: 6px;
  border-top: 1px solid rgba(251, 248, 242, .07);
}
.foot strong { color: var(--on-image); font-weight: 500; letter-spacing: .2em; }

/* =========================================================
   MOBILE — its own composition, not a shrunken desktop
   ========================================================= */
@media (max-width: 899px) {
  :root { --nav-h: 56px; --gutter: 16px; }
  .nav { top: 12px; width: calc(100vw - 24px); grid-template-columns: 1fr auto; padding: 0 8px 0 18px; border-radius: 14px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer;
  }
  .nav__menu i { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .4s var(--ease-soft); }
  .nav__menu[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

  .sticky-cta {
    display: inline-flex; align-items: center; gap: .8em;
    position: fixed; z-index: 50; right: 12px; bottom: max(14px, env(safe-area-inset-bottom));
    height: 46px; padding: 0 20px; border-radius: 12px;
    background: var(--espresso); color: var(--ivory); text-decoration: none;
    font-size: var(--t-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
    box-shadow: 0 14px 30px -12px rgba(20, 14, 10, .5);
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft);
  }
  .sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }

  /* hero: wordmark in the sky, the bay in the middle, the words and reserve at the thumb */
  .hero__pic img { object-position: 50% 50%; }
  .hero__fg img { -webkit-mask-position: 50% 50%; mask-position: 50% 50%; }
  .hero__mark > span { left: 4.5vw; top: calc(var(--nav-h) + 12px + 3svh); --t-mark: 17.6vw; }
  .hero__mark > span { color: rgba(251, 248, 242, .96); text-shadow: 0 2px 26px rgba(6, 24, 40, .6), 0 1px 3px rgba(6, 24, 40, .35); }
  .hero__copy { padding-bottom: max(4svh, 22px); }
  .hero__tagline { font-size: clamp(2.5rem, 11vw, 3.3rem); }
  .hero__actions { width: 100%; }
  .pill-cta { width: 100%; justify-content: space-between; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(6, 26, 44, .62) 0%, rgba(6, 26, 44, .42) 24%, rgba(6, 26, 44, 0) 46%),
                linear-gradient(0deg, rgba(20, 16, 12, .72) 0%, rgba(20, 16, 12, .4) 30%, rgba(20, 16, 12, 0) 55%);
  }

  .invite__copy { padding-top: 12vh; }
  .invite__title { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  .invite__media picture { height: 62svh; }
  .arrive__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .arrive__copy { bottom: 7vh; }
  .arrive__support { font-size: .95rem; }

  .stay__foot { padding: 22px var(--gutter) 34px; }
  .ancient__copy { padding-top: 30svh; }
  .ancient__places li { padding: 4px 14px; }
}

/* desktop without the cinematic layer (reduced motion / no JS) */
@media (min-width: 900px) {
  html:not(.is-cinematic) .invite { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  html:not(.is-cinematic) .invite__copy { padding-bottom: 12vh; }
  html:not(.is-cinematic) .invite__media { margin: 0; }
  html:not(.is-cinematic) .invite__media picture { height: 100vh; }
  html:not(.is-cinematic) .invite__media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  }
  html:not(.is-cinematic) .moment--room, html:not(.is-cinematic) .moment--rest { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Reduced motion — same story, no movement
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* hero card in the cinematic stage */
.is-cinematic .hero__card { position: absolute; right: var(--gutter); bottom: max(7vh, 40px); margin: 0; }

/* tablet widths use the wide photograph: the cave wall starts near the middle, so the word is sized to tuck only its last letter */
@media (min-width: 700px) and (max-width: 899px) {
  .hero__mark > span { --t-mark: 12.2vw; top: calc(var(--nav-h) + 12px + 4svh); }
}
