/* ==========================================================================
   Amatra Travel & Leisure — v2
   Editorial / luxury design system.
   Palette + typographic scale modelled on the domitur.pt reference:
   oversized light display type in warm taupe, tiny lowercase UI labels,
   full-bleed photography, generous whitespace.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0d0f19;
  --navy: #171a48;
  --taupe: #59504f;
  --taupe-soft: #8a817f;
  --taupe-line: rgba(89, 80, 79, 0.16);
  --cream: #ffe7c3;
  --paper: #f4f4f4;
  --paper-2: #f0f0f0;
  --sage: #d0d5d2;
  --white: #fff;

  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Fluid display scale — the reference runs 84px hero / 110px section heads */
  --fs-hero: clamp(2.75rem, 6.4vw, 5.25rem);
  --fs-display: clamp(2.25rem, 6vw, 6.875rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 3.75rem);
  --fs-h3: clamp(1.5rem, 2.6vw, 2.625rem);
  --fs-body: clamp(0.95rem, 1.05vw, 1.0625rem);

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --section-y: clamp(5rem, 11vw, 10.5rem);
  --maxw: 1560px;
  --measure: 62ch;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
  --header-h: 92px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--taupe);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--taupe);
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

/* Sensible default so an h2 outside a section-specific rule doesn't fall
   back to the UA size. Section rules below override where needed. */
h2 { font-size: var(--fs-h2); }

/* Step a heading down one level without a bespoke rule. */
.h-md { font-size: var(--fs-h3); margin-bottom: 1.5rem; }

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--cream); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.section { padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  margin: 0 0 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow.is-light { color: rgba(255, 255, 255, 0.72); }

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.375rem);
  line-height: 1.6;
  font-weight: 300;
  max-width: var(--measure);
  color: var(--taupe);
}

/* Small lowercase link — the reference's "scroll" / "learn more" / "explore map" */
.link-min {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--taupe);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--taupe-line);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), gap 0.4s var(--ease);
}
.link-min::after {
  content: "";
  width: 22px;
  height: 6px;
  flex: none;
  background: currentColor;
  clip-path: polygon(0 45%, calc(100% - 6px) 45%, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, calc(100% - 6px) 55%, 0 55%);
  transition: transform 0.4s var(--ease);
}
.link-min:hover { color: var(--ink); border-color: var(--ink); gap: 1.1rem; }
.link-min:hover::after { transform: translateX(3px); }
.link-min.is-light { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.link-min.is-light:hover { color: var(--white); border-color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.4rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.is-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.is-light:hover { background: transparent; color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background 0.5s var(--ease), height 0.5s var(--ease), color 0.5s var(--ease),
    box-shadow 0.5s var(--ease), transform 0.6s var(--ease);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Solid state once scrolled past the hero, and on interior pages.
   Pure white with a crisp hairline + soft depth shadow so the bar reads as
   floating ABOVE the page — otherwise it dissolves into the off-white
   page-head band (only ~4% tonal difference) and the two merge. */
.site-header.is-solid,
.site-header.is-static {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  color: var(--taupe);
  height: 74px;
  box-shadow:
    inset 0 -1px 0 rgba(23, 26, 72, 0.08),
    0 14px 34px -26px rgba(13, 15, 25, 0.45);
}

/* Real Amatra lockup. The two colourways have different aspect ratios
   (the white one carries the "PVT. LTD." line), so they're matched on
   WIDTH and cross-faded rather than swapped on height. */
.brand {
  position: relative;
  display: block;
  flex: none;
  width: 104px;
  height: 50px;
}
.brand img {
  position: absolute;
  left: 0;
  top: 50%;
  width: 104px;
  height: auto;
  transform: translateY(-50%);
  transition: opacity 0.45s var(--ease);
}
.brand__logo--dark { opacity: 0; }
.site-header.is-solid .brand__logo--light,
.site-header.is-static .brand__logo--light { opacity: 0; }
.site-header.is-solid .brand__logo--dark,
.site-header.is-static .brand__logo--dark { opacity: 1; }

.footer__brand .brand { width: 124px; height: 60px; margin-bottom: 1.75rem; }
.footer__brand .brand img { width: 124px; }
.footer__brand .brand__logo--dark { display: none; }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.6vw, 2.75rem); }
.nav__link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-block: 0.4rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__end { display: flex; align-items: center; gap: 1.75rem; flex: none; }

.lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.lang a { opacity: 0.55; transition: opacity 0.3s var(--ease); }
.lang a:hover, .lang a.is-active { opacity: 1; }
.lang span { opacity: 0.3; }

.header__cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 0.7rem 1.4rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.header__cta:hover { background: currentColor; }
.header__cta:hover span { color: var(--white); mix-blend-mode: normal; }
.site-header.is-solid .header__cta:hover span,
.site-header.is-static .header__cta:hover span { color: var(--white); }

/* Burger */
.burger {
  display: none;
  width: 30px;
  height: 16px;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; }
.burger span:nth-child(3) { top: 100%; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.65s var(--ease), visibility 0.65s;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 300;
  color: var(--taupe);
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--taupe-line);
}
.drawer__meta {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--taupe-soft);
  line-height: 2;
}
.drawer__meta a { font-family: var(--font-body); font-size: 0.875rem; border: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
/* Parallax translate lives on the wrapper, the intro scale on the img,
   so the two never fight over one transform. */
.hero__media { position: absolute; inset: -12% 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 15, 25, 0.5) 0%,
    rgba(13, 15, 25, 0.12) 38%,
    rgba(13, 15, 25, 0.55) 100%
  );
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); width: 100%; }

.hero__label {
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: var(--fs-hero);
  color: var(--white);
  max-width: 15ch;
  line-height: 1.03;
  margin-bottom: 2.5rem;
}
.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.75rem;
}
.hero__intro {
  max-width: 42ch;
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
}
.scroll-cue__line {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.32);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: var(--white);
  animation: cue 2.1s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(340%); }
}

/* ==========================================================================
   Journeys — oversized rotating headline + category list w/ image swap
   ========================================================================== */
.journeys { background: var(--white); }

.journeys__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.journeys__title {
  font-size: var(--fs-display);
  line-height: 0.98;
}
.journeys__title .rotator {
  display: inline-grid;
  vertical-align: bottom;
  color: var(--navy);
}
.rotator__item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  white-space: nowrap;
}
.rotator__item.is-active { opacity: 1; transform: none; }
.rotator__item.is-out { opacity: 0; transform: translateY(-0.35em); }

.journeys__grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.journeys__list { display: flex; flex-direction: column; }
.journey {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  width: 100%;
  text-align: left;
  padding: clamp(0.85rem, 1.5vw, 1.35rem) 0;
  border-bottom: 1px solid var(--taupe-line);
  color: var(--taupe-soft);
  transition: color 0.45s var(--ease), padding-left 0.45s var(--ease);
}
.journey:first-child { border-top: 1px solid var(--taupe-line); }
.journey__idx {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.6;
  flex: none;
  width: 2ch;
}
.journey__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1.1;
  transition: color 0.45s var(--ease);
}
.journey.is-active,
.journey:hover { color: var(--navy); padding-left: 0.75rem; }
.journey.is-active .journey__name { color: var(--navy); }

.journeys__viewer {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  overflow: hidden;
}
/* The viewer IS the <figure>; the slides stack on top of each other.
   These must be absolutely positioned — in normal flow they tile down the
   page, get clipped by overflow:hidden, and never lazy-load or show. */
.journeys__viewer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
}
.journeys__viewer img.is-active { opacity: 1; transform: scale(1); }
.journeys__viewer figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  background: linear-gradient(0deg, rgba(13, 15, 25, 0.72), transparent);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.journeys__viewer figcaption.is-active { opacity: 1; transform: none; }
.journeys__foot { margin-top: 2.75rem; }

/* ==========================================================================
   Statement / intro
   ========================================================================== */
.statement { background: var(--paper); }
.statement__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.statement__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement h2 { font-size: var(--fs-h2); margin-bottom: 2rem; }
.statement__body { max-width: 52ch; }
.statement .link-min { margin-top: 2.25rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--taupe-line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  margin-top: 0.75rem;
  display: block;
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.moments { background: var(--white); }
.moments__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.moments h2 { font-size: var(--fs-display); line-height: 0.98; }

.moments__viewport { position: relative; overflow: hidden; }
.moments__track {
  display: flex;
  transition: transform 0.85s var(--ease);
}
.quote {
  flex: 0 0 100%;
  min-width: 0;
  padding-right: clamp(0, 4vw, 4rem);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 2.125rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--taupe);
  max-width: 30ch;
}
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote__by {
  margin-top: 2.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-soft);
}

.moments__nav { display: flex; align-items: center; gap: 1rem; }
.moments__btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--taupe-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--taupe);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.moments__btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.moments__btn svg { width: 15px; height: 15px; }
.moments__count {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--taupe-soft);
  min-width: 5ch;
  text-align: center;
}

/* ==========================================================================
   Destinations
   ========================================================================== */
.destinations {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
/* Overscan so the parallax translate never exposes an edge */
.destinations__bg { position: absolute; inset: -10% 0; }
.destinations__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.destinations__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 25, 0.8), rgba(13, 15, 25, 0.94));
}
.destinations .wrap { position: relative; z-index: 2; }
.destinations h2 { font-size: var(--fs-display); color: var(--white); line-height: 0.98; }
.destinations h2 em { font-style: normal; color: var(--cream); }
.destinations__lede { color: rgba(255, 255, 255, 0.75); margin-top: 2rem; }

.dest-grid {
  display: grid;
  /* Fixed 4-up: auto-fit packed 7 across at 1440 and orphaned the 8th. */
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.dest {
  position: relative;
  background: var(--ink);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  isolation: isolate;
}
.dest img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.02);
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease);
}
.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(13, 15, 25, 0.75), rgba(13, 15, 25, 0.05));
}
.dest:hover img { opacity: 0.85; transform: scale(1.07); }
.dest__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--white);
}
.dest__meta {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem;
}
.destinations__foot { margin-top: 3rem; }

/* ==========================================================================
   Memberships
   ========================================================================== */
.memberships { background: var(--white); }
.memberships__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.memberships h2 { font-size: var(--fs-h2); }
.member-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--taupe-line);
  border: 1px solid var(--taupe-line);
}
.member {
  background: var(--white);
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
}
.member span {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--taupe-soft);
  transition: color 0.4s var(--ease);
}
.member small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
}
.member:hover span { color: var(--navy); }

/* ==========================================================================
   FAQ — native <details>, so it works with zero JS and stays crawlable
   ========================================================================== */
.faq { background: var(--white); }
.faq__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.faq h2 { font-size: var(--fs-h2); }
.faq__list { border-top: 1px solid var(--taupe-line); }

.faq__item { border-bottom: 1px solid var(--taupe-line); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 2.2vw, 1.85rem) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--taupe);
  transition: color 0.35s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--navy); }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 0.45em;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center/1px 100% no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq__item[open] summary { color: var(--navy); }
.faq__item[open] summary::after { transform: rotate(135deg); }

.faq__body {
  padding-bottom: clamp(1.25rem, 2.2vw, 1.85rem);
  max-width: 68ch;
  color: var(--taupe-soft);
}
.faq__body p { font-size: 0.9375rem; line-height: 1.85; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact h2 { font-size: var(--fs-display); line-height: 0.98; margin-bottom: 2rem; }

.contact__details { margin-top: 3rem; display: grid; gap: 2rem; }
.detail__label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  margin-bottom: 0.6rem;
}
.detail__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--taupe);
}
a.detail__value { transition: color 0.35s var(--ease); }
a.detail__value:hover { color: var(--navy); }

/* Form */
.form { display: grid; gap: 1.75rem; }
.field { position: relative; display: flex; flex-direction: column-reverse; }
.field label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  margin-bottom: 0.55rem;
  transition: color 0.35s var(--ease);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--taupe-line);
  padding: 0.65rem 0 0.85rem;
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; cursor: pointer; }
.field:has(select)::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 1.35rem;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--taupe-soft);
  border-bottom: 1px solid var(--taupe-soft);
  transform: rotate(45deg);
  pointer-events: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--navy); }
.field input:focus + label,
.field select:focus + label,
.field textarea:focus + label { color: var(--navy); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(89, 80, 79, 0.4); }

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form__note { font-size: 0.75rem; color: var(--taupe-soft); max-width: 34ch; line-height: 1.6; }
.form__status {
  font-size: 0.8125rem;
  color: var(--navy);
  min-height: 1.2em;
}
.field--error input,
.field--error select,
.field--error textarea { border-color: #b4443a; }
.field--error label { color: #b4443a; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
  font-size: 0.875rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer__brand .brand { color: var(--white); margin-bottom: 1.5rem; }
.footer__blurb { max-width: 34ch; font-size: 0.875rem; font-weight: 300; line-height: 1.8; }
.footer__title {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.footer__list a { transition: color 0.35s var(--ease); font-weight: 300; }
.footer__list a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__social { display: flex; gap: 1.5rem; }
.footer__social a { transition: color 0.35s var(--ease); }
.footer__social a:hover { color: var(--white); }

/* ==========================================================================
   Interior page header block
   ========================================================================== */
.page-head {
  position: relative;
  padding-top: calc(74px + clamp(4rem, 9vw, 8rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: var(--paper);
}
.page-head h1 { font-size: var(--fs-display); line-height: 0.98; max-width: 16ch; }
.page-head .lede { margin-top: 2rem; }

/* --- Premium image-hero variant: gives interior pages the same full-bleed
       editorial treatment as the home hero, instead of a flat colour band. --- */
.page-head--hero {
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  padding-top: calc(74px + clamp(4.5rem, 10vw, 8.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  min-height: min(76vh, 660px);
  display: flex;
  align-items: flex-end;
}
.page-head--hero .page-head__media { position: absolute; inset: -12% 0; z-index: 0; }
.page-head--hero .page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head--hero .page-head__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 15, 25, 0.52) 0%,
    rgba(13, 15, 25, 0.22) 42%,
    rgba(13, 15, 25, 0.78) 100%
  );
}
.page-head--hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-head--hero h1 { color: var(--white); }
.page-head--hero .lede { color: rgba(255, 255, 255, 0.86); }
.page-head--hero .crumbs { color: rgba(255, 255, 255, 0.7); }
.page-head--hero .crumbs a:hover { color: var(--white); }
.page-head--hero .eyebrow { color: rgba(255, 255, 255, 0.72); }
.page-head--hero .eyebrow::before { background: rgba(255, 255, 255, 0.7); }

.page-head--hero .page-head__media img {
  transform: scale(1.14);
  transition: transform 2.4s var(--ease);
}
.js .page-head--hero.is-intro .page-head__media img { transform: scale(1); }

.crumbs {
  display: flex;
  gap: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  margin-bottom: 2rem;
}
.crumbs a { transition: color 0.35s var(--ease); }
.crumbs a:hover { color: var(--navy); }

/* Editorial alternating rows (journeys page) */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--taupe-line);
}
.row:last-child { border-bottom: 0; }
.row__media { aspect-ratio: 4 / 3; overflow: hidden; }
.row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}
.row:hover .row__media img { transform: scale(1.05); }
.row:nth-child(even) .row__media { order: 2; }
.row__idx {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--taupe-soft);
  margin-bottom: 1.25rem;
}
.row h2 { font-size: var(--fs-h3); margin-bottom: 1.5rem; }
.row__body { max-width: 46ch; }
.row .link-min { margin-top: 2rem; }
.row__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-soft);
  border: 1px solid var(--taupe-line);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
}
a.tag { transition: color 0.35s var(--ease), border-color 0.35s var(--ease); }
a.tag:hover { color: var(--navy); border-color: var(--navy); }

/* Values (about page) */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--taupe-line);
  border: 1px solid var(--taupe-line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.value { background: var(--white); padding: clamp(1.75rem, 3vw, 2.75rem); }
.value__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.value h3 { font-size: 1.375rem; margin-bottom: 0.85rem; }
.value p { font-size: 0.9375rem; line-height: 1.75; color: var(--taupe-soft); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta-band h2 { color: var(--white); font-size: var(--fs-h2); margin-bottom: 1.5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 48ch; margin-inline: auto; margin-bottom: 2.5rem; }

/* Map */
.map-frame {
  border: 1px solid var(--taupe-line);
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease);
  width: 100%;
  height: clamp(280px, 42vw, 460px);
  display: block;
}
.map-frame:hover { filter: grayscale(0); }

/* ==========================================================================
   Scroll reveal
   Scoped to .js so the page stays fully visible without JavaScript
   (and for crawlers) rather than collapsing to opacity:0.
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ==========================================================================
   Preloader
   Mirrors the reference: full-screen navy curtain, the wordmark revealed
   left-to-right, subtitle + progress beneath, then the curtain lifts.
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy);
  display: grid;
  place-items: center;
  transform: translateY(0);
  transition: transform 1.15s var(--ease);
}
.loader.is-done { transform: translateY(-100%); }
.loader[hidden] { display: none; }
body.is-loading { overflow: hidden; }

.loader__inner { display: grid; justify-items: center; gap: 1.75rem; padding: 2rem; }

.loader__logo {
  position: relative;
  width: clamp(190px, 24vw, 290px);
}
.loader__logo img {
  width: 100%;
  height: auto;
  /* Wiped in left→right, echoing the reference's letter-by-letter reveal */
  clip-path: inset(0 100% 0 0);
  animation: logoWipe 1.5s var(--ease) 0.15s forwards;
}
@keyframes logoWipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.loader__bar {
  width: clamp(190px, 24vw, 290px);
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s linear;
}
.loader__tag {
  font-size: 0.625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.85s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Smooth scroll
   Native scrollbar drives a lerped transform on the content. The header and
   drawer live OUTSIDE the wrapper so position:fixed still resolves to the
   viewport. Desktop + pointer only; touch and reduced-motion use native.
   ========================================================================== */
html.has-smooth #smooth-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
html.has-smooth #smooth-content { will-change: transform; }
html.has-smooth { scroll-behavior: auto; }

/* ==========================================================================
   Split-text reveal — words rise out of a mask, staggered
   ========================================================================== */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* room for descenders so 'g'/'y' aren't clipped mid-rest */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.word__in {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js .is-in .word__in,
.js .hero.is-intro .word__in,
.js .page-head--hero.is-intro .word__in { transform: none; }
html:not(.js) .word__in { transform: none; }

/* ==========================================================================
   Hero intro — runs once the curtain lifts
   ========================================================================== */
.hero__media img {
  transform: scale(1.16);
  transition: transform 2.4s var(--ease);
}
.hero.is-intro .hero__media img { transform: scale(1); }

.hero__label,
.hero__foot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero__label { transition-delay: 0.15s; }
.hero__foot { transition-delay: 0.75s; }
.hero.is-intro .hero__label,
.hero.is-intro .hero__foot { opacity: 1; transform: none; }
html:not(.js) .hero__label,
html:not(.js) .hero__foot { opacity: 1; transform: none; }

/* ==========================================================================
   Marquee — the reference runs its section title as a looping band
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-block: 1px solid var(--taupe-line);
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.4vw, 4.25rem);
  font-weight: 300;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--taupe);
}
.marquee__item i {
  font-style: normal;
  color: var(--navy);
  font-size: 0.5em;
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Parallax + image reveal
   ========================================================================== */
[data-parallax] { will-change: transform; }

.img-reveal { overflow: hidden; }
.img-reveal img {
  transform: scale(1.18);
  transition: transform 1.6s var(--ease);
}
.js .img-reveal.is-in img { transform: scale(1); }

/* Header hides on scroll-down, returns on scroll-up */
.site-header { transform: translateY(0); }
.site-header.is-hidden { transform: translateY(-100%); }

/* ==========================================================================
   No-JS fallbacks
   The viewer/rotator rely on JS to add .is-active. Without it, show the
   first of each so nothing renders blank.
   ========================================================================== */
html:not(.js) .journeys__viewer img:first-of-type,
html:not(.js) .journeys__viewer figcaption:first-of-type,
html:not(.js) .rotator__item:first-child {
  opacity: 1;
  transform: none;
}
html:not(.js) .moments__nav { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .journeys__grid,
  .statement__grid,
  .contact__grid,
  .memberships__inner { grid-template-columns: 1fr; }
  .journeys__viewer { aspect-ratio: 16 / 10; order: -1; }
  .statement__media { aspect-ratio: 16 / 10; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .row:nth-child(even) .row__media { order: 0; }
}

@media (max-width: 860px) {
  .nav, .header__cta, .lang { display: none; }
  .burger { display: block; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .scroll-cue { flex-direction: row; align-items: center; }
  .scroll-cue__line { width: 44px; height: 1px; }
  .scroll-cue__line::after {
    inset: 0 auto 0 0;
    width: 40%;
    height: 100%;
    animation-name: cueX;
  }
  @keyframes cueX {
    0% { transform: translateX(-100%); }
    60%, 100% { transform: translateX(340%); }
  }
  .stats { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote blockquote { max-width: none; }
}

@media (max-width: 640px) {
  .journey__name { font-size: 1.5rem; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* Land every animated element in its rest state rather than mid-flight */
  .word__in { transform: none !important; }
  .hero__media img { transform: scale(1) !important; }
  .hero__label, .hero__foot { opacity: 1 !important; transform: none !important; }
  .img-reveal img { transform: scale(1) !important; }
  .marquee__track { animation: none !important; }
  .loader__logo img { clip-path: inset(0) !important; }
}

@media print {
  .site-header, .drawer, .scroll-cue, .hero__media { display: none; }
  body { color: #000; }
}
