/* ==========================================================================
   RAAZ TOURS — Sri Lanka travel · monochrome palette: white paper, grey-black ink
   Plain CSS. Content is always visible by default; animation start-states
   are applied from JS (gsap.set) so the page reads fine without GSAP.
   ========================================================================== */

/* --------------------------------------------------------------------------
   00 · Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #FFFFFF;
  --paper-2: #FAFAFA;
  --ink: #1C1C1C;
  --muted: #767676;
  --muted-strong: #595959;   /* AA-safe muted for small text on paper */
  --accent: #8A8A8A;
  --olive: #161616;
  --sand: #F6F6F6;
  --rule: rgba(28, 28, 28, 0.12);
  --rule-light: rgba(255, 255, 255, 0.28);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(3.5rem, 13.5vw, 12.5rem);
  --fs-h2: clamp(2.75rem, 6.4vw, 6.5rem);
  --fs-h3: clamp(1.75rem, 3vw, 2.75rem);
  --fs-lead: clamp(1.9rem, 4.3vw, 4.4rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-small: 0.8125rem;
  --fs-label: 0.72rem;

  --gutter: clamp(1rem, 3.2vw, 2.75rem);
  --section-y: clamp(6rem, 13vw, 12rem);
  --radius: clamp(12px, 1.6vw, 22px);
  --nav-h: 4.75rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   01 · Base / reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
em { font-style: italic; }
[hidden] { display: none !important; }

::selection { background: var(--accent); color: var(--paper); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-small);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* --------------------------------------------------------------------------
   02 · Shared type & utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
  line-height: 1.4;
}
.label__num {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h2 em, .zoom__title em, .booking__title em, .journal__title em, .footer__heading em,
.retreat__title em, .jcard__end-title em {
  color: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-head__text {
  max-width: 32rem;
  color: var(--muted-strong);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1fr minmax(0, 26rem);
    align-items: end;
  }
  .section-head .label { grid-column: 1 / -1; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0 0 0.35em;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.45s var(--ease-out);
}
.link-arrow:hover::after { transform: translateX(0.35em); }

/* SplitText masks (JS-only elements): give descenders & italic overhang room */
.heroline-mask, .revealline-mask {
  padding: 0.02em 0.08em 0.16em;
  margin: -0.02em -0.08em -0.16em;
}
[tabindex="-1"]:focus { outline: none; }
html.has-cursor [data-cursor] { cursor: none; }
.journeys__viewport.is-grabbing { cursor: grabbing; }

/* --------------------------------------------------------------------------
   03 · Grain + cursor
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@media (max-width: 767px) { .grain { opacity: 0.06; } }
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, -2%); }
  100% { transform: translate(0, 0); }
}

.cursor { display: none; }
html.has-cursor .cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), background-color 0.3s;
  will-change: transform;
}
html.has-cursor .cursor.is-link { width: 38px; height: 38px; }
html.has-cursor .cursor.is-label {
  width: 88px;
  height: 88px;
  background: var(--accent);
  mix-blend-mode: normal;
}
.cursor__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor.is-label .cursor__label { opacity: 1; }
html.has-cursor.is-hidden-cursor .cursor { opacity: 0; }

/* --------------------------------------------------------------------------
   04 · Preloader (only shown when GSAP is available & motion allowed)
   -------------------------------------------------------------------------- */
.preloader { display: none; }
.is-anim .preloader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  /* Independent escape if the animation or its script stalls. */
  animation: pl-failsafe 0.15s ease 1.35s forwards;
}
@keyframes pl-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.is-return .preloader { display: none; }

.preloader__stack {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(150px, 17vw, 250px);
  height: clamp(188px, 21.25vw, 312px);
  z-index: 2;
}
.preloader__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--sand);
}
.preloader__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preloader__word,
.preloader__count {
  position: absolute;
  bottom: var(--gutter);
  z-index: 1;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  padding-top: 0.05em;
}
.preloader__word { left: var(--gutter); }
.preloader__word span { display: inline-block; }
.preloader__count {
  right: var(--gutter);
  display: flex;
  align-items: flex-start;
  font-variant-numeric: tabular-nums;
}
.preloader__pct {
  font-size: 0.35em;
  margin-left: 0.1em;
  margin-top: 0.3em;
  color: var(--accent);
}
.preloader__tag {
  position: absolute;
  top: calc(var(--gutter) + 0.5rem);
  left: 0; right: 0;
  text-align: center;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

/* --------------------------------------------------------------------------
   05 · Nav + mobile menu
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  color: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav__left { display: flex; gap: 2rem; }
.nav__left a, .nav__cta {
  position: relative;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-block: 0.4rem;
}
.nav__left a::after, .nav__cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav__left a:hover::after, .nav__cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: .32em;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
}
.nav__toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-size: var(--fs-small);
  font-weight: 500;
}
.nav__toggle-lines {
  position: relative;
  display: block;
  width: 22px;
  height: 8px;
}
.nav__toggle-lines i {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.nav__toggle-lines i:first-child { top: 0; }
.nav__toggle-lines i:last-child { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:first-child { top: 3.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:last-child { top: 3.5px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav__left, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__brand { grid-column: 1; justify-self: start; }
  .nav__right { grid-column: 3; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) var(--gutter);
}
.menu__inner { width: 100%; }
.menu__list li {
  overflow: hidden;
  border-top: 1px solid var(--rule-light);
}
.menu__list a {
  display: block;
  padding: 0.35rem 0 0.2rem;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 12vw, 5rem);
  line-height: 1.05;
}
.menu__list a span { display: inline-block; }
.menu__list a em { color: rgba(255, 255, 255, 0.72); }
.menu__foot {
  margin-top: 2rem;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   06 · Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--paper);
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--sand);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 60% 40%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.35) 0%, rgba(20, 20, 20, 0) 24%),
    linear-gradient(0deg, rgba(20, 20, 20, 0.62) 0%, rgba(20, 20, 20, 0.1) 52%, rgba(20, 20, 20, 0) 70%);
}
.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--nav-h) var(--gutter) clamp(1.25rem, 2.5vw, 2.25rem);
}
.hero__label { color: rgba(255, 255, 255, 0.85); margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.hero__label .label__num { color: rgba(255, 255, 255, 0.72); }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: min(var(--fs-display), 16.5svh);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.hero__row { display: block; will-change: transform; }
.hero__row--b { padding-left: 18vw; }
.hero__row em { color: rgba(255, 255, 255, 0.72); }
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-light);
}
.hero__lede {
  max-width: 27rem;
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.9);
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero__scroll:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
.hero__scroll:hover { color: var(--paper); }
.hero__scroll-line {
  position: relative;
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: var(--rule-light);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: scroll-line 2.4s var(--ease-out) infinite;
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* hero v2: live destination ticker */
.hero__ticker {
  display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap;
  font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: rgba(255, 255, 255, .75);
}
.ticker__slot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; }
.ticker__slot > span { display: inline-block; }
.ticker__place { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; text-transform: none; font-style: italic; color: rgba(255, 255, 255, 0.72); font-weight: 400; }
.ticker__meta { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .hero__ticker { display: none; } }

@media (max-width: 640px) {
  .hero__row--b { padding-left: 10vw; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__lede { font-size: 0.9375rem; }
}

/* --------------------------------------------------------------------------
   07 · Manifesto
   -------------------------------------------------------------------------- */
/* manifesto: split editorial layout + principles */
.mf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.mf__copy .label { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.mf__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: .95; letter-spacing: -.02em; margin: 0; }
.mf__line { display: block; }
.mf__title em { color: var(--accent); }
.mf__lead { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 34rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.65; color: var(--muted-strong); }
.mf__sign { margin-top: 1.75rem; display: flex; align-items: baseline; gap: .75rem; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mf__sign span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.mf__media { position: relative; padding: 0 0 12% 14%; }
.mf__pic { margin: 0; overflow: hidden; border-radius: var(--radius); }
.mf__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf__pic--main { aspect-ratio: 4 / 5; }
.mf__pic--small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border: 6px solid var(--paper); box-shadow: 0 24px 50px -24px rgba(20, 20, 20, .45); }
.mf__tag { position: absolute; right: 1rem; top: 1rem; padding: .45rem .8rem; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 860px) {
  .mf { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   08 · Journeys (horizontal)
   Default: native horizontal scroll row. JS adds .is-pinned for the
   pinned, scroll-driven version.
   -------------------------------------------------------------------------- */
.journeys { position: relative; overflow: clip; }
.journeys__pin {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding-block: var(--section-y);
}
.journeys.is-pinned .journeys__pin {
  height: 100vh;
  height: 100svh;
  justify-content: center;
  gap: clamp(.75rem, 2vh, 1.5rem);
  padding-block: calc(var(--nav-h) * 0.9) clamp(1rem, 3vh, 2rem);
}
.journeys__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.journeys__head .label { margin-bottom: 1rem; }
.journeys__intro {
  max-width: 50rem;
  margin-top: .7rem;
  color: var(--muted-strong);
  font-size: var(--fs-small);
}
.journeys__intro a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.journeys__intro a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.journeys__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  flex: none;
}
.journeys__count {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-variant-numeric: tabular-nums;
  color: var(--muted-strong);
}
.journeys__current { color: var(--ink); }
.journeys__progress {
  position: relative;
  width: clamp(6rem, 14vw, 13rem);
  height: 1px;
  background: var(--rule);
}
.journeys__bar {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0.125);
  transform-origin: left;
}

.journeys__viewport {
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.journeys.is-pinned .journeys__viewport { overflow: visible; }
@media (hover: none) {
  .journeys.is-pinned .journeys__viewport { touch-action: pan-y; }
}
.journeys.is-pinned .journeys__track { padding-top: 24px; } /* room for the wave's crest below the heading */

.journeys__track {
  position: relative;
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}

.jcard {
  --card-w: min(76vw, 52vh * 0.8, 440px);
  flex: none;
  width: var(--card-w);
  user-select: none;
}
@supports (height: 1svh) {
  .jcard { --card-w: min(76vw, 52svh * 0.8, 440px); }
}
.jcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--sand);
}
.jcard__media img {
  width: 124%;
  max-width: none;
  height: 100%;
  margin-left: -12%;
  object-fit: cover;
  transition: scale 1.1s var(--ease-out);
}
.jcard:hover .jcard__media img { scale: 1.05; }
.jcard__body { padding-top: .7rem; }
.jcard__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.jcard__num { color: var(--accent); }
.jcard__title {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  line-height: 1.05;
}
.jcard__facts {
  display: flex;
  gap: 1.75rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
}
.jcard__facts div { display: flex; gap: 0.45rem; }
.jcard__facts dt { color: var(--muted-strong); }
.jcard__facts dd { font-weight: 500; }
.jcard__facts { flex-wrap: wrap; gap: .35rem 1rem; }
.jcard__title a { color: inherit; }
.jcard__title a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.jcard__highlight { margin-top: .3rem; font-size: var(--fs-small); color: var(--muted-strong); }
.jcard__price { margin-top: .25rem; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .journeys.is-pinned .journeys__head { position: relative; top: 1rem; }
  .journeys.is-pinned .journeys__track { top: -1rem; }
}

.jcard--end {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  align-self: flex-start;
}
.jcard__end-kicker {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.jcard__end-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
}

@media (max-width: 640px) {
  .journeys__head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .journeys__meta { flex-direction: row; align-items: center; gap: 1rem; }
}

/* --------------------------------------------------------------------------
   09 · Zoom-through
   -------------------------------------------------------------------------- */
.zoom { position: relative; }
.zoom__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.zoom__window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--sand);
  will-change: clip-path;
}
.zoom__window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zoom__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20, 20, 20, 0.5) 0%, rgba(20, 20, 20, 0.2) 70%);
}
.zoom__side {
  position: absolute;
  top: 50%;
  z-index: 1;
  margin-top: -0.5em;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 4rem);
  line-height: 1;
  opacity: 0; /* decorative, aria-hidden; revealed from JS only */
  white-space: nowrap;
}
.zoom__side--l { left: var(--gutter); }
.zoom__side--r { right: var(--gutter); color: var(--accent); }
.zoom__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--nav-h) var(--gutter);
  text-align: center;
  color: var(--paper);
}
.zoom__content .label { color: rgba(255, 255, 255, 0.85); }
.zoom__content .label__num { color: rgba(255, 255, 255, 0.72); }
.zoom__title {
  max-width: 11em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.zoom__title em { color: rgba(255, 255, 255, 0.72); }
.zoom__text { max-width: 30rem; color: rgba(255, 255, 255, 0.92); }
@media (max-width: 640px) {
  .zoom__side { font-size: 1.5rem; top: 16%; margin-top: 0; }
  .zoom__side--r { top: auto; bottom: 16%; }
}

/* --------------------------------------------------------------------------
   10 · Retreats (sticky stacked cards — native sticky, GSAP adds depth)
   -------------------------------------------------------------------------- */
.retreats { padding-top: var(--section-y); }
.retreats__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.retreat {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: calc(var(--nav-h) + 0.25rem) var(--gutter) var(--gutter);
}
.retreat__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--ink);
  transform-origin: 50% 0%;
  will-change: transform;
  box-shadow: 0 -18px 40px -24px rgba(20, 20, 20, 0.35);
}
.retreat[data-tone="olive"] .retreat__inner { background: var(--olive); color: var(--paper); }
.retreat[data-tone="paper"] .retreat__inner { background: var(--paper-2); }
.retreat[data-tone="ink"] .retreat__inner { background: var(--ink); color: var(--paper); }

.retreat__media { position: relative; overflow: hidden; }
.retreat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.4s var(--ease-out);
}
.retreat__inner:hover .retreat__media img { scale: 1.04; }

.retreat__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.9rem, 2vh, 1.5rem);
  padding: clamp(1.25rem, 4vw, 4.5rem);
}
.retreat__index {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}
.retreat__index span { color: var(--accent); }
.retreat__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.2vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.retreat[data-tone="olive"] .retreat__title em,
.retreat[data-tone="ink"] .retreat__title em { color: rgba(255, 255, 255, 0.72); }
.retreat__desc { max-width: 28rem; opacity: 0.88; }
.retreat__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.retreat__list li {
  padding: 0.35rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  opacity: 0.85;
}
.retreat__price { font-size: var(--fs-small); font-weight: 500; }
.retreat__shade {
  position: absolute;
  inset: 0;
  background: #0f0e0c;
  opacity: 0;
  pointer-events: none;
}
.retreat[data-tone="olive"] :focus-visible,
.retreat[data-tone="ink"] :focus-visible { outline-color: var(--paper); }

@media (max-width: 899px) {
  .retreat__inner { grid-template-columns: 1fr; grid-template-rows: 38% 1fr; }
  .retreat__body { justify-content: flex-start; }
  .retreat__desc { font-size: 0.9375rem; line-height: 1.5; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .retreat__list { display: none; }
}
@media (max-height: 620px) {
  .retreat__desc { display: none; }
}

/* --------------------------------------------------------------------------
   11 · Experiences masonry + lightbox
   -------------------------------------------------------------------------- */
.experiences { padding-top: calc(var(--section-y) * 1.1); }
.exp__grid {
  columns: 3;
  column-gap: clamp(0.75rem, 2vw, 1.75rem);
}
.exp__item {
  break-inside: avoid;
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}
.exp__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.exp__frame {
  display: block;
  aspect-ratio: var(--ar, 4 / 5);
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand);
}
.exp__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease-out);
}
.exp__btn:hover .exp__frame img { scale: 1.06; }
.exp__cap {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.7rem;
  font-size: var(--fs-small);
  color: var(--muted-strong);
}
.exp__num { color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .exp__grid { columns: 2; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 17, 0.94);
}
.lightbox__frame { position: fixed; }
.lightbox__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.lightbox__caption {
  position: absolute;
  left: var(--gutter);
  right: 9rem;
  bottom: var(--gutter);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.15;
  color: var(--paper);
}
.lightbox__close {
  position: absolute;
  top: var(--gutter);
  right: var(--gutter);
  z-index: 2;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  background: rgba(20, 19, 17, 0.4);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.lightbox__close:hover { background: var(--paper); color: var(--ink); }
.lightbox :focus-visible { outline-color: var(--paper); }

/* --------------------------------------------------------------------------
   12 · Places marquee
   -------------------------------------------------------------------------- */
.places {
  padding-block: calc(var(--section-y) * 0.6);
  overflow: clip;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.places .label { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.places__row {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.6rem, 6.4vw, 6.25rem);
  line-height: 1.1;
  padding-inline: var(--gutter);
}
.places__row--alt { color: var(--accent); }
.places__track { display: flex; justify-content: center; }
.places__group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: .1em;
  margin: 0;
}
.places__group i:last-child { display: none; }
.places__group span { padding-inline: 0.28em; }
.places__group i {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.places__row--alt .places__group i { background: var(--ink); }
@media (max-width: 480px) {
  .places__row:not(.places__row--alt) .places__group { max-width: 59vw; }
  .places__row--alt .places__group { max-width: 80vw; }
}

/* --------------------------------------------------------------------------
   13 · Field notes / travel ideas
   -------------------------------------------------------------------------- */
.journal__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.journal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.1;
}
.letters {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.letters__photo { position: relative; perspective: 1000px; }
.letters__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--sand); transform: rotate(-3deg);
  box-shadow: 0 40px 80px -40px rgba(20, 20, 20, .55);
  outline: clamp(8px, 1vw, 12px) solid #fff;
}
.letters__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.letters__img.is-active { opacity: 1; }
.letters__stamp {
  position: absolute; right: -1.2rem; bottom: 2.2rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 7.2rem; height: 7.2rem; border-radius: 50%;
  background: var(--accent); color: var(--paper); text-align: center;
  transform: rotate(12deg);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--accent);
}
.letters__stamp-place { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1; padding: 0 .4rem; }
.letters__stamp-year { font-size: .62rem; letter-spacing: .2em; margin-top: .35rem; }
.letters__body { position: relative; }
.letters__mark { position: absolute; left: -.1em; top: -.5em; font-family: var(--serif); font-size: clamp(8rem, 14vw, 13rem); line-height: 1; color: var(--accent); opacity: .16; pointer-events: none; }
.letters__quote {
  position: relative; font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.9rem);
  line-height: 1.08; letter-spacing: -.012em; min-height: 3.3em;
}
.letters__quote .lw { display: inline-block; }
.letters__who { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: var(--fs-small); }
.letters__name { font-weight: 500; }
.letters__name::before { content: ""; display: inline-block; width: 1.75rem; height: 1px; margin-right: .8rem; vertical-align: middle; background: var(--accent); }
.letters__trip { color: var(--muted-strong); }
.letters__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.ltab {
  display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; align-items: baseline;
  padding: 0; border: 0; background: none; text-align: left; color: var(--muted); cursor: pointer;
  transition: color .4s;
}
.ltab:hover, .ltab.is-active { color: var(--ink); }
.ltab__num { font-family: var(--serif); font-size: 1.15rem; }
.ltab__name { font-size: var(--fs-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltab__bar { grid-column: 1 / -1; height: 1px; margin-top: .7rem; background: var(--rule); overflow: hidden; }
.ltab__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.ltab.is-active .ltab__bar i { transform: scaleX(1); }
.is-anim .ltab.is-active .ltab__bar i { transform: scaleX(0); }
.ltab:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
@media (max-width: 860px) {
  .letters { grid-template-columns: 1fr; }
  .letters__photo { max-width: 22rem; margin-inline: auto; width: 82%; }
  .letters__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; }
}

/* --------------------------------------------------------------------------
   14 · Booking CTA
   -------------------------------------------------------------------------- */
.booking {
  padding-block: var(--section-y);
  background: var(--olive);
  color: var(--paper);
}
.booking .label { color: rgba(255, 255, 255, 0.8); }
.booking .label__num { color: rgba(255, 255, 255, 0.72); }
.booking__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.booking__title {
  margin-top: 1.25rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 8rem); line-height: 0.9; letter-spacing: -0.025em;
}
.booking__title em { color: rgba(255, 255, 255, 0.72); }
.booking__text { max-width: 26rem; color: rgba(255, 255, 255, 0.86); }
.booking__small { margin-top: 1.5rem; font-size: var(--fs-small); color: rgba(255, 255, 255, 0.7); text-align: center; }

/* the card: live preview + form */
.booking__card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border-radius: calc(var(--radius) * 1.4); overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .55);
}

.bv { position: relative; min-height: 560px; overflow: hidden; color: var(--paper); perspective: 1000px; }
.bv__media { position: absolute; inset: 0; }
.bv__img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; opacity: 0; }
.bv__img.is-front { opacity: 1; }
.bv__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20,.35) 0%, rgba(20, 20, 20,0) 30%, rgba(20, 20, 20,.1) 50%, rgba(20, 20, 20,.72) 100%); }
.bv__top { position: absolute; left: clamp(1.25rem, 2.5vw, 2rem); right: clamp(1.25rem, 2.5vw, 2rem); top: clamp(1.25rem, 2.5vw, 2rem); display: flex; justify-content: space-between; gap: 1rem; }
.bv__chip {
  display: inline-block; padding: .45rem .85rem; border-radius: 999px;
  background: rgba(20, 20, 20, .42); border: 1px solid rgba(255, 255, 255, .35);
  font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.bv__meta { position: absolute; left: clamp(1.25rem, 2.5vw, 2rem); right: clamp(1.25rem, 2.5vw, 2rem); bottom: clamp(1.25rem, 2.5vw, 2rem); }
.bv__region { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.bv__name { margin-top: .5rem; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .92; letter-spacing: -.02em; }
.bv__name em { color: rgba(255, 255, 255, 0.72); }
.bv__name .bv-ch { display: inline-block; }
.bv__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .3); font-size: var(--fs-small); color: rgba(255, 255, 255, .85); }
.bv__facts b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--paper); font-variant-numeric: tabular-nums; margin-right: .15rem; }
.bv__est { margin-left: auto; }
.bv__stamp {
  position: absolute; right: 12%; top: 22%;
  width: 9rem; height: 9rem; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1.05;
  border: 2px solid rgba(255, 255, 255, 0.72); color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .0), inset 0 0 0 8px rgba(255, 255, 255, 0.72);
  transform: rotate(-14deg); opacity: 0;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
}
.bv__stamp b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.4rem; letter-spacing: 0; text-transform: none; }

.booking__panel { position: relative; padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.booking :focus-visible { outline-color: var(--paper); }
.booking__panel :focus-visible { outline-color: var(--accent); }
.booking__form { display: grid; gap: 1.6rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-strong); }
.field select,
.field input[type="email"] {
  width: 100%; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  background: transparent; color: var(--ink); font-size: 1.0625rem; transition: border-color 0.3s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 1.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231C1A17' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.25rem center;
}
.field select option, .field select optgroup { color: var(--ink); background: var(--paper); }
.field input::placeholder { color: var(--muted); }
.field select:hover, .field input:hover,
.field select:focus-visible, .field input:focus-visible { border-bottom-color: var(--ink); }
.field .is-invalid { border-bottom-color: var(--accent) !important; }

.stepper { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); }
.stepper__btn {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none;
  border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink);
  font-size: 1rem; line-height: 1; transition: background-color 0.3s, color 0.3s, border-color .3s;
}
.stepper__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stepper input {
  width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink);
  text-align: center; font-family: var(--serif); font-size: 1.5rem; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.party { display: flex; align-items: center; gap: .4rem; margin-top: -.4rem; }
.party i {
  width: .72rem; height: 1.1rem; border-radius: .36rem .36rem .15rem .15rem; background: var(--rule);
  position: relative; transition: background-color .35s;
}
.party i::before { content: ""; position: absolute; left: 50%; top: -.55rem; width: .5rem; height: .5rem; margin-left: -.25rem; border-radius: 50%; background: inherit; }
.party i.is-on { background: var(--accent); }
.party span { margin-left: .75rem; font-size: var(--fs-small); color: var(--muted-strong); }

.form-error { min-height: 1.4em; margin-top: -0.6rem; font-size: var(--fs-small); color: var(--accent); }
.booking__submit { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.booking__note { font-size: var(--fs-small); color: var(--muted-strong); }

.btn-send {
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  padding: .55rem .55rem .55rem 1.6rem; border: 0; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
}
.btn-send::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out);
}
.btn-send:hover::before { transform: scaleX(1); }
.btn-send__icon {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 1.1rem; transition: transform .5s var(--ease-out);
}
.btn-send:hover .btn-send__icon { transform: rotate(-45deg); }

.booking__success { display: grid; gap: 1.25rem; justify-items: start; }
.booking__success .label { color: var(--muted-strong); }
.booking__success-title { font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 0.95; }
.booking__success-title em { color: var(--accent); }
.booking__success-text { max-width: 28rem; color: var(--muted-strong); }
.booking__success-dest { font-weight: 500; color: var(--ink); }

@media (max-width: 899px) {
  .booking__card { grid-template-columns: 1fr; }
  .bv { min-height: 0; aspect-ratio: 4 / 3.4; }
  .bv__stamp { width: 7rem; height: 7rem; right: 8%; top: 18%; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .bv { aspect-ratio: 4 / 4.6; }
  .bv__est { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   15 · Footer
   -------------------------------------------------------------------------- */
.footer {
  padding-top: var(--section-y);
  background: var(--sand);
  color: var(--ink);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
}
.footer__heading {
  margin-top: 1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1;
}
.news {
  display: flex;
  max-width: 30rem;
  margin-top: 2rem;
  border-bottom: 1px solid var(--ink);
}
.news input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0;
  border: 0;
  background: transparent;
}
.news input::placeholder { color: var(--muted-strong); }
.news button {
  padding: 0.85rem 0 0.85rem 1rem;
  border: 0;
  background: none;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.news button:hover { color: var(--accent); }
.news__msg { min-height: 1.5em; margin-top: 0.75rem; font-size: var(--fs-small); color: var(--muted-strong); }
.news { align-items: center; justify-content: space-between; gap: 1rem; }
.news span { padding: .85rem 0; color: var(--muted-strong); }
.news a { padding: .85rem 0 .85rem 1rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.news a:hover { color: var(--accent); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.footer__col-title {
  margin-bottom: 1rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.footer__cols li { font-size: 0.9375rem; line-height: 2; }
.footer__cols a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out); }
.footer__cols a:hover { background-size: 100% 1px; }

.footer__mark {
  margin-top: clamp(3rem, 8vw, 7rem);
  overflow: hidden;
  padding-top: 0.04em;
  font-family: var(--serif);
  font-size: clamp(7rem, 31vw, 36rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.footer__mark-text { display: inline-block; padding-bottom: 0.06em; }
.footer__mark .mark-char {
  background: linear-gradient(180deg, var(--ink) 20%, rgba(28,28,28,.5) 60%, rgba(28,28,28,.1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  color: var(--muted-strong);
}
.footer__bottom a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.footer__bottom .footer__top-link { text-decoration: none; }

@media (max-width: 899px) {
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   16 · Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; }
  .places__row { white-space: normal; }
  .places__track { width: auto; flex-wrap: wrap; }
  .places__group[aria-hidden="true"] { display: none; }
  .places__group { flex-wrap: wrap; }
}

/* ---------- brand mark (sun over the horizon) ---------- */
.brand-mark { width: .82em; height: .82em; flex: none; transform: translateY(-.04em); }

/* ---------- Travel ideas: one slow postcard marquee ---------- */
.reviews { margin-top: clamp(4.5rem, 9vw, 8rem); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1.25rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.reviews__score { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.reviews__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: .9; letter-spacing: -.02em; }
.reviews__stars, .rcard__stars { display: inline-flex; gap: 2px; color: var(--accent); }
.reviews__stars svg { width: 15px; height: 15px; fill: currentColor; }
.reviews__meta { font-size: var(--fs-label, .75rem); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.reviews__note { max-width: 32ch; font-size: .95rem; opacity: .75; }
.reviews__row { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.reviews__track { display: flex; gap: 1.25rem; width: max-content; padding: .5rem 0 1rem; }
.rcard { flex: none; width: clamp(270px, 26vw, 330px); margin: 0; padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem;
  background: #FFFFFF; border: 1px solid var(--rule); border-radius: var(--radius, 14px);
  box-shadow: 0 1px 0 rgba(20, 20, 20,.04), 0 18px 40px -28px rgba(20, 20, 20,.35);
  transition: transform .5s var(--ease-out, cubic-bezier(.22,1,.36,1)); }
.rcard:nth-child(odd) { transform: rotate(-1.2deg); }
.rcard:nth-child(even) { transform: rotate(1deg); }
.rcard:hover { transform: rotate(0) translateY(-6px); }
.rcard__top { display: flex; align-items: center; gap: .75rem; }
.rcard__top img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.rcard__place { font-family: var(--serif); font-size: 1.25rem; line-height: 1; flex: 1; }
.rcard__stars svg { width: 12px; height: 12px; fill: currentColor; }
.rcard blockquote { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; letter-spacing: -.005em; }
.rcard__text { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; letter-spacing: -.005em; }
.rcard figcaption { margin-top: auto; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .reviews.is-ready .reviews__track { animation: reviews-scroll 75s linear infinite; }
  .reviews__row:hover .reviews__track, .reviews.is-off .reviews__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .reviews__row { overflow-x: auto; } }
@keyframes reviews-scroll { to { transform: translateX(-50%); } }

/* nav sits on the hero photo: no difference-blend there (it garbled colours),
   plain white text; below the hero the blend returns and reads black on white */
.nav.is-on-hero { mix-blend-mode: normal; color: #fff; }
.nav.is-on-hero a { text-shadow: 0 1px 12px rgba(0,0,0,.25); }

/* journeys: wave thread the cards ride (path drawn from JS) */
.journeys__wave { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; }
.journeys__wave path { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .22; stroke-linecap: round; stroke-linejoin: round; }
.journeys__wave path.is-faint { opacity: .1; stroke-dasharray: 2 6; }
.jcard { position: relative; z-index: 1; will-change: transform; }

/* Fraunces: rounded, friendly letterforms (SOFT axis); DM Sans ignores it */
body { font-variation-settings: "SOFT" 70; }
