/* ===========================================================================
   TraveLJ — stylesheet
   Cinematic editorial: warm ink ground, oversized serif display, quiet motion.
   =========================================================================== */

/* ----------------------------------------------------------------- fonts --
   Self-hosted so the site has no third-party dependency, loads fast anywhere,
   and renders identically when index.html is opened straight off disk.
   Files come from the @fontsource-variable packages (SIL Open Font License).  */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-full-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-full-italic.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* Ground */
  --ink:        #0a0908;
  --ink-2:      #100e0c;
  --surface:    #16130f;
  --surface-2:  #1d1915;

  /* Ink on ground */
  --cream:      #f2ebe0;
  --muted:      #a2988a;
  --faint:      #6d6459;

  /* Accents */
  --gold:       #d9a441;
  --gold-soft:  #e8c583;
  --rust:       #c2552e;

  --line:       rgba(242, 235, 224, 0.11);
  --line-strong:rgba(242, 235, 224, 0.22);

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Space */
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --maxw: 1560px;
  --section-y: clamp(6rem, 14vh, 11rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-weight: 380;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

/* Film grain — one fixed layer over the whole page, very low opacity. */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

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

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

/* Keeps in-page anchor jumps clear of the fixed nav. */
section[id] { scroll-margin-top: 5.5rem; }

.label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.label::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--gold-soft);
}

.h-display { font-size: clamp(2.85rem, 8.2vw, 8.5rem); }
.h-section { font-size: clamp(2.25rem, 5.4vw, 4.75rem); }

.lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* -------------------------------------------------------------- buttons --- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.0625rem 1.9rem;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border: 1px solid var(--line-strong);
}
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); }

.btn--lg { padding: 1.3rem 2.4rem; font-size: 1.0625rem; }

/* ------------------------------------------------------------- preloader -- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.is-done { opacity: 0; visibility: hidden; }

.loader-mark {
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: -0.03em;
  display: flex;
  overflow: hidden;
}
.loader-mark span {
  display: inline-block;
  transform: translateY(110%);
  animation: markIn 0.85s var(--ease) forwards;
}
@keyframes markIn { to { transform: translateY(0); } }

.loader-bar {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(240px, 45vw);
  height: 1px;
  background: var(--line);
}
.loader-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold);
  transition: width 0.25s linear;
}
.loader-pct {
  position: absolute;
  bottom: calc(12vh + 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------- the nav --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  transition: transform 0.55s var(--ease), background-color 0.45s var(--ease),
              backdrop-filter 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-102%); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1rem, 1.8vh, 1.4rem);
}

.wordmark {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark b { font-weight: 400; color: var(--gold); }

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-links a { position: relative; padding-block: 0.35rem; transition: color 0.3s; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.15rem;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 0.9rem; }

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 3px;
  font-size: 0.75rem;
  font-weight: 500;
}
.lang button {
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  color: var(--faint);
  transition: color 0.3s, background-color 0.3s;
  letter-spacing: 0.04em;
}
.lang button[aria-pressed='true'] { background: var(--cream); color: var(--ink); }

.nav .btn { padding: 0.75rem 1.35rem; font-size: 0.875rem; }

.nav-burger { display: none; width: 2.25rem; height: 2.25rem; place-items: center; }
.nav-burger i {
  display: block; width: 20px; height: 1.5px; background: var(--cream);
  position: relative; transition: background-color 0.2s;
}
.nav-burger i::before, .nav-burger i::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--cream);
  transition: transform 0.4s var(--ease);
}
.nav-burger i::before { top: -6px; }
.nav-burger i::after  { top: 6px; }
body.menu-open .nav-burger i { background: transparent; }
body.menu-open .nav-burger i::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger i::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: var(--ink-2);
  padding: 8rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
body.menu-open .nav-drawer { clip-path: inset(0 0 0 0); visibility: visible; }
.nav-drawer a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.25rem);
  letter-spacing: -0.03em;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.nav-drawer .btn { margin-top: 2rem; align-self: flex-start; }

/* ---------------------------------------------------------------- hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
  background-size: cover;
  background-position: center;
}
.hero-bg figure.is-active { opacity: 1; animation: kenburns 14s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.14); }
}

/* Layered wash so text stays readable over any photo — and so the hero still
   looks composed before any photos exist. */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 78% 12%, rgba(217, 164, 65, 0.16), transparent 62%),
    radial-gradient(95% 70% at 8% 92%, rgba(194, 85, 46, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0.42) 38%, rgba(10, 9, 8, 0.92) 100%);
}
.hero-bg.no-photos {
  background:
    radial-gradient(140% 100% at 70% 0%, #241d16 0%, transparent 55%),
    radial-gradient(120% 90% at 10% 100%, #1c1512 0%, transparent 55%),
    var(--ink);
}
/* Faint topographic contour lines behind the hero when there are no photos. */
.hero-bg.no-photos::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 1;
  background-image:
    repeating-radial-gradient(ellipse 60% 42% at 72% 30%,
      transparent 0 34px, rgba(242, 235, 224, 0.075) 34px 35px),
    repeating-radial-gradient(ellipse 55% 48% at 18% 78%,
      transparent 0 42px, rgba(217, 164, 65, 0.085) 42px 43px);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}

.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(2rem, 6vh, 4.5rem); }

.hero h1 { margin-block: 1.5rem 1.75rem; max-width: 16ch; }

/* Word-by-word mask reveal */
.reveal-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.is-revealed .reveal-word > span { transform: translateY(0); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.5rem; }

.hero-foot {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: clamp(2.5rem, 7vh, 5rem);
}
.hero-foot .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.4rem;
  flex-wrap: wrap;
}
.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero-stats div { line-height: 1.25; }
.hero-stats b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 350;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.scroll-cue {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint);
}
.scroll-cue i {
  display: block; width: 1px; height: 2.25rem; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* Marquee of destination names */
.marquee {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 0.95rem;
  background: rgba(10, 9, 8, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track span::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ manifesto --- */
.manifesto { border-bottom: 1px solid var(--line); }
.manifesto .wrap { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; }
.manifesto-text {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
/* Scroll-linked word brightening */
.manifesto-text .w { color: var(--faint); transition: color 0.5s var(--ease); }
.manifesto-text .w.on { color: var(--cream); }

.manifesto-sign {
  border-left: 1px solid var(--gold);
  padding-left: 1.4rem;
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  color: var(--gold-soft);
  max-width: 34ch;
  align-self: end;
}

/* -------------------------------------------------------------- offering -- */
.section-head { max-width: var(--maxw); margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-head h2 { margin-block: 1.25rem 1.5rem; max-width: 15ch; }

/* Six cards, so the grid steps 1 -> 2 -> 3 columns: it always fills exactly,
   never leaving a bordered empty cell at the end of the last row. */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 44rem) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card:nth-child(2n) { border-right: 0; }
}
@media (min-width: 72rem) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-card:nth-child(2n) { border-right: 1px solid var(--line); }
  .offer-card:nth-child(3n) { border-right: 0; }
}
.offer-card {
  position: relative;
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 2.25rem) clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
}
.offer-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.65s var(--ease);
}
.offer-card:hover { background: var(--surface); }
.offer-card:hover::before { transform: scaleX(1); }

.offer-card .n {
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.offer-card h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  margin-block: 1.5rem 0.9rem;
  text-wrap: balance;
}
.offer-card p { color: var(--muted); margin: 0; font-size: 0.9375rem; line-height: 1.65; }

/* --------------------------------------------------------------- gallery -- */
.gallery { overflow: hidden; }
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.gallery-head h2 { margin-block: 1.25rem 0; max-width: 14ch; }

.rail {
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 1.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }

.shot {
  position: relative;
  flex: 0 0 auto;
  width: clamp(14rem, 21vw, 20rem);
  aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
  transition: transform 0.65s var(--ease);
}
.shot:nth-child(even) { aspect-ratio: 3 / 4; align-self: flex-end; }
.shot:hover { transform: translateY(-8px); }

.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.92) contrast(1.03);
}
.shot:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.05); }

/* Placeholder card used until real photos are dropped into assets/photos/ */
.shot--placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(217, 164, 65, calc(var(--tint) * 0.42)), transparent 62%),
    radial-gradient(110% 95% at 82% 92%, rgba(194, 85, 46, calc(var(--tint) * 0.46)), transparent 64%),
    var(--surface-2);
}
/* Faint contour rings so the empty cards read as designed, not unfinished. */
.shot--placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-radial-gradient(circle at 50% 50%,
    transparent 0 22px, rgba(242, 235, 224, 0.05) 22px 23px);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
}
.shot--placeholder .ph {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}
.shot--placeholder .ph b {
  display: block;
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.shot--placeholder .ph span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3.5rem 1.15rem 1.05rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: 0.8125rem;
  background: linear-gradient(transparent, rgba(10, 9, 8, 0.88));
  transform: translateY(0.4rem);
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.shot:hover figcaption, .shot:focus-within figcaption { opacity: 1; transform: translateY(0); }
.shot figcaption b { font-weight: 500; }
.shot figcaption i { font-style: normal; color: var(--gold); font-variant-numeric: tabular-nums; }

.rail-hint {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
  margin-top: 1.5rem;
}
.rail-hint svg { width: 2.5rem; height: 0.75rem; }

/* ------------------------------------------------------------------ map --- */
.map-section { background: var(--ink-2); border-block: 1px solid var(--line); }
.map-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.map-head h2 { max-width: 12ch; }

.map-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}
.icon-off { display: none; }
.map-stage canvas { width: 100%; height: auto; display: block; }

/* At ~80 destinations the pins cluster tightly over Europe and central Mexico,
   so the hit area is kept small (otherwise neighbours steal each other's
   hover) and only the home pin pulses — eighty pulsing rings would be noise. */
.pin {
  position: absolute;
  width: 1.05rem; height: 1.05rem;
  margin: -0.525rem 0 0 -0.525rem;
  display: grid; place-items: center;
  border-radius: 50%;
}
.pin i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.pin--home::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--cream);
  animation: ping 3.4s var(--ease-io) infinite;
  opacity: 0;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.75; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}
.pin:hover, .pin:focus-visible, .pin.is-active { z-index: 4; }
.pin:hover i, .pin:focus-visible i, .pin.is-active i {
  transform: scale(2.1);
  background: var(--cream);
}
.pin--home i { background: var(--cream); }
.pin.is-active .pin-label { opacity: 1; transform: translate(-50%, 0); }
.pin--flip-left.is-active .pin-label,
.pin--flip-left:hover .pin-label { transform: translate(-100%, 0); }
.pin--flip-right.is-active .pin-label,
.pin--flip-right:hover .pin-label { transform: translate(0, 0); }
.pin-label {
  position: absolute;
  bottom: calc(100% + 0.3rem);
  left: 50%;
  transform: translate(-50%, 0.25rem);
  z-index: 5;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.pin:hover .pin-label, .pin:focus-visible .pin-label { opacity: 1; transform: translate(-50%, 0); }
.pin--flip-left .pin-label  { left: auto; right: 50%; transform: translate(-0%, 0.25rem); }
.pin--flip-right .pin-label { left: 50%; right: auto; transform: translate(0, 0.25rem); }
.pin--flip-left:hover .pin-label, .pin--flip-left:focus-visible .pin-label,
.pin--flip-left.is-active .pin-label { opacity: 1; transform: translate(0, 0); }
.pin--flip-right:hover .pin-label, .pin--flip-right:focus-visible .pin-label,
.pin--flip-right.is-active .pin-label { opacity: 1; transform: translate(0, 0); }

.map-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.map-stats div b {
  display: block;
  font-family: var(--display); font-weight: 350;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.map-stats div span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.map-legend {
  margin-left: auto; align-self: flex-end;
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; color: var(--faint);
}
.map-legend em { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }

/* City index — the readable companion to the map. At ~80 destinations the
   pins overlap badly at world scale, so this grouped list is what actually
   makes them legible. Hovering a name lights its pin, and vice versa. */
.city-index { margin-top: clamp(2rem, 4vw, 3rem); }
.city-index-title {
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 1.5rem;
}
.city-index-grid {
  columns: 5 13rem;
  column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.ci-group {
  break-inside: avoid;
  margin-bottom: 1.75rem;
}
.ci-group h4 {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.ci-group h4 i {
  margin-left: auto;
  font-style: normal;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.ci-group ul { list-style: none; margin: 0; padding: 0; }
.ci-group li {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.28rem 0.4rem;
  margin-left: -0.4rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: default;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.ci-group li::before {
  content: '';
  flex: none;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.ci-group li.is-home::before { background: var(--cream); opacity: 1; }
.ci-group li.is-active { background: var(--surface-2); color: var(--cream); }
.ci-group li.is-active::before { opacity: 1; transform: scale(1.6); }

/* On phones a stacked list of ~80 destinations is an endless scroll, so each
   country's cities flow inline as a wrapped run instead — same information,
   a fraction of the height. */
@media (max-width: 40rem) {
  .city-index-grid { columns: 1; }
  .ci-group { margin-bottom: 1.4rem; }
  .ci-group ul { display: flex; flex-wrap: wrap; gap: 0 0.1rem; }
  .ci-group li {
    padding: 0.2rem 0.35rem;
    margin-left: 0;
    font-size: 0.8125rem;
    gap: 0.4rem;
  }
}

/* -------------------------------------------------------------- contact --- */
.contact { position: relative; overflow: hidden; text-align: center; }
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 50% 100%, rgba(217, 164, 65, 0.13), transparent 70%);
  pointer-events: none;
}
.contact .wrap { position: relative; display: grid; justify-items: center; gap: 1.75rem; }
.contact h2 { font-size: clamp(2.5rem, 7.5vw, 6.5rem); max-width: 14ch; }
.contact .lede { max-width: 52ch; text-align: center; }
.contact-note {
  font-size: 0.8125rem;
  color: var(--gold-soft);
  border: 1px dashed rgba(217, 164, 65, 0.35);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
}
.contact-alt { font-size: 0.875rem; color: var(--muted); }
.contact-alt a { border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.contact-alt a:hover { color: var(--gold); border-color: var(--gold); }

.perks {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 1rem;
  font-size: 0.8125rem; color: var(--muted);
}
.perks li { display: flex; align-items: center; gap: 0.55rem; list-style: none; }
.perks li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.perks { padding: 0; margin-inline: 0; }

/* --------------------------------------------------------------- footer --- */
.footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; }
.footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.8125rem; color: var(--faint);
}
.footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 1.5rem; }

/* ------------------------------------------------------------- lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(6, 5, 5, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 4px; }
.lightbox figcaption {
  margin-top: 1rem; text-align: center; font-size: 0.875rem; color: var(--muted);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.lightbox-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox-nav.prev { left: clamp(0.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: clamp(0.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------ floating whatsapp - */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 700;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.875rem; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(150%);
  transition: transform 0.6s var(--ease), background-color 0.3s;
}
.wa-float.is-in { transform: translateY(0); }
.wa-float:hover { background: var(--gold); }
.wa-float svg { width: 1.15rem; height: 1.15rem; }

/* -------------------------------------------------------- scroll reveals -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------- scroll progress- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 850;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}

/* ------------------------------------------------------------ responsive -- */
@media (min-width: 62rem) {
  .manifesto .wrap { grid-template-columns: 1.35fr 0.9fr; align-items: end; }
  .map-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .map-head .lede { justify-self: end; }
}

@media (max-width: 61.99rem) {
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .nav-burger { display: grid; }
  .hero { padding-top: 6.5rem; }
  .hero-foot .wrap { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .offer-card { border-right: 0; }
}

@media (max-width: 36rem) {
  .hero-stats { gap: 1.5rem; }
  .hero-stats b { font-size: 1.55rem; }
  .shot { width: 74vw; }
  .btn { padding: 0.95rem 1.5rem; }
}

/* --------------------------------------------------------- reduced motion - */
@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;
  }
  body::after { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-word > span { transform: none; }
  .marquee-track { animation: none; }
  .hero-bg figure.is-active { animation: none; }
}

/* ---------------------------------------------------------------- print --- */
@media print {
  body { background: #fff; color: #000; }
  .nav, .wa-float, .progress, .marquee, #loader, body::after { display: none !important; }
}
