/* ==========================================================================
   Tourify — Where your worldwide journey begins
   Palette is drawn from the suitcase mark: teal (travel), green (study),
   purple (the world), set on plum-black ink and a cool mist ground.
   ========================================================================== */

:root {
  --ink: #1c1226;
  --ink-2: #2a1d36;
  --plum: #662d8a;
  --plum-soft: #b08ad0;
  --teal: #45bfc2;
  --green: #56b04e;
  --paper: #efeef3;
  --paper-2: #e3e1ea;
  --white: #ffffff;

  --text: var(--ink);
  --muted: #625a6e;
  --line: rgba(28, 18, 38, 0.14);
  --on-dark: #f5f3f8;
  --on-dark-muted: rgba(245, 243, 248, 0.68);
  --line-dark: rgba(245, 243, 248, 0.2);

  --font: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(2.6rem, 5.4vw, 5.6rem);
  --fs-h2: clamp(2.1rem, 3.9vw, 3.9rem);
  --fs-h3: clamp(1.35rem, 1.8vw, 1.85rem);
  --fs-lead: clamp(1.075rem, 1.3vw, 1.3rem);

  --pad: clamp(16px, 2.4vw, 36px);
  --max: 1560px;
  --r: clamp(18px, 2.2vw, 32px);
  --r-sm: clamp(12px, 1.2vw, 18px);
  --header-h: 72px;
  --section-y: clamp(80px, 10vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Sheets change size while stuck (accordions, stories); anchoring would nudge the scroll. */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

.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: 12px; left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--on-dark);
  --bd: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: min(264px, 100%);
  min-height: 64px;
  padding: 11px 13px 11px 16px;
  border: 1px solid var(--bd);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.94rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg {
  align-self: flex-end;
  width: 14px; height: 14px;
  transition: transform 0.35s var(--ease);
}
.btn:hover { --bg: var(--plum); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { --bg: var(--teal); --fg: var(--ink); }

.btn--outline-light {
  --bg: rgba(255, 255, 255, 0.04);
  --fg: var(--on-dark);
  --bd: var(--line-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--outline-light:hover { --bg: rgba(255, 255, 255, 0.14); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.94rem;
  text-decoration: none;
}
.link-arrow svg { width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--pad);
  color: var(--on-dark);
  transition: color 0.35s, background-color 0.35s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(28, 18, 38, 0.38);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.35s, background-color 0.35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-light { color: var(--ink); }
.site-header.is-light::before { background: rgba(239, 238, 243, 0.78); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 34px; height: auto; }
.brand span {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 36px);
  margin-inline: auto;
}
.nav a {
  position: relative;
  font-size: 0.94rem;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 6px;
  font-size: 0.875rem;
  text-decoration: none;
  flex: none;
  transition: background-color 0.3s;
}
.header-cta svg { width: 12px; height: 12px; }
.header-cta:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
body.menu-open .site-header { color: var(--on-dark); }
body.menu-open .site-header::before { opacity: 0; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 20px) var(--pad) 28px;
  background: var(--ink);
  color: var(--on-dark);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding-block: 6px;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-decoration: none;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
body.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.05s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.1s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--on-dark-muted); font-size: 0.94rem; }
.mobile-menu__foot a { text-decoration: none; color: var(--on-dark); }

/* ==========================================================================
   Layers — every major section is a sheet that slides over the one before.
   JS sets `top` so tall sheets stick by their bottom edge, and writes
   --cover (0 → 1) while the next sheet is covering this one.
   ========================================================================== */

main { position: relative; z-index: 1; }

.layer {
  position: sticky;
  top: 0;
  isolation: isolate;
  overflow: clip;
}
.layer + .layer {
  border-radius: var(--r) var(--r) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(10, 5, 16, 0.45);
}
.layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 60;
  background: #0d0714;
  opacity: calc(var(--cover, 0) * 0.62);
  pointer-events: none;
}

.layer--paper { background: var(--paper); color: var(--text); }
.layer--white { background: var(--white); color: var(--text); }
.layer--ink { background: var(--ink); color: var(--on-dark); }
.layer--ink .muted { color: var(--on-dark-muted); }

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(40px, 5.5vw, 88px);
}
.section-head h2 { font-size: var(--fs-h2); max-width: 16ch; }
.section-head p { max-width: 36rem; font-size: 1.06rem; }
.section-head__aside { display: grid; gap: 24px; justify-items: start; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--ink);
  color: var(--on-dark);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 60% 50%);
  animation: hero-settle 2.6s var(--ease) both;
}
@keyframes hero-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 12, 28, 0.55) 0%, rgba(20, 12, 28, 0) 26%, rgba(20, 12, 28, 0) 46%, rgba(20, 12, 28, 0.82) 100%),
    linear-gradient(90deg, rgba(20, 12, 28, 0.6) 0%, rgba(20, 12, 28, 0.12) 55%, rgba(20, 12, 28, 0) 100%);
}
.hero__grid {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + 28px) var(--pad) clamp(28px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 40px 64px;
}
.hero__copy {
  grid-column: 1;
  align-self: end;
  display: grid;
  justify-items: start;
  gap: clamp(20px, 2.4vw, 32px);
  max-width: 62rem;
}
.hero__title { font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.04em; }
.hero__lede { max-width: 38rem; font-size: var(--fs-lead); color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; width: 100%; }
.nowrap { white-space: nowrap; }

.hero__aside {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
}
.hero__aside > div,
.hero__aside > a {
  display: grid;
  gap: 6px;
  padding: 10px 0 20px;
  border-top: 1px solid var(--line-dark);
  text-decoration: none;
}
.hero__aside dt,
.hero__aside .k { font-size: 0.8rem; color: var(--on-dark-muted); }
.hero__aside dd {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero__aside .v { font-size: 1.05rem; line-height: 1.35; }
/* Link and contact lists sit on a frosted panel so they stay legible over busy photos. */
.hero__aside--list {
  padding: 6px 18px 4px;
  border-radius: var(--r-sm);
  background: rgba(22, 13, 31, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}
.hero__aside--list > :first-child { border-top: 0; }
.hero__aside a.index-link { grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 10px 0 12px; }
.hero__aside a.index-link .v { transition: transform 0.35s var(--ease); }
.hero__aside a.index-link:hover .v { transform: translateX(4px); }

/* Split-flap destination board — the page's signature. */
.board {
  display: flex;
  gap: 0.06em;
  margin-top: 0.14em;
  font-family: var(--mono);
  font-weight: 500;
}
.board__cell {
  position: relative;
  display: grid;
  place-items: center;
  width: 0.74em;
  height: 1.06em;
  border-radius: 0.07em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.05)),
    rgba(22, 13, 31, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-size: 1em;
  line-height: 1;
  perspective: 300px;
  overflow: hidden;
}
.board__cell::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 0.018em;
  min-height: 1px;
  background: rgba(0, 0, 0, 0.6);
}
.board__cell span {
  display: block;
  font-size: 0.78em;
  transform-origin: 50% 50%;
}
.board__cell.is-flip span { animation: flap 0.07s linear; }
@keyframes flap {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(80deg); opacity: 0.6; }
  100% { transform: rotateX(0deg); }
}

/* ---------- Intro statement ---------- */

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 6vw, 120px);
}
.intro__statement { font-size: var(--fs-h2); letter-spacing: -0.035em; }
.intro__statement em { font-style: normal; color: var(--plum); }
.intro__side {
  align-self: end;
  display: grid;
  justify-items: start;
  gap: 32px;
  padding-left: clamp(0px, 3vw, 48px);
  border-left: 1px solid var(--line);
}
.intro__side p { font-size: 1.1rem; color: var(--muted); }

.legend { display: grid; gap: 14px; width: 100%; }
.legend li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  list-style: none;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.legend .tag { grid-row: span 2; align-self: start; margin-top: 4px; }
.legend strong { font-weight: 500; }
.legend span.muted { font-size: 0.94rem; }

/* ---------- Tags (colour = the suitcase panel the service belongs to) ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--tag-c, currentColor);
}
.tag--study { --tag-c: var(--green); }
.tag--travel { --tag-c: var(--teal); }
.tag--settle { --tag-c: var(--plum); }
.layer--ink .tag--settle { --tag-c: var(--plum-soft); }

/* ---------- Stacking cards ---------- */

.stack {
  display: grid;
  gap: clamp(20px, 4vw, 56px);
}
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: min(600px, calc(100svh - var(--header-h) - 60px));
  border-radius: var(--r);
  background: var(--paper);
  overflow: clip;
  transform-origin: 50% 0;
  box-shadow: 0 -18px 40px -24px rgba(28, 18, 38, 0.35);
}
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0d0714;
  opacity: calc(var(--cover, 0) * 0.45);
  pointer-events: none;
}
.layer--white .stack-card { background: var(--paper); }
.layer--paper .stack-card { background: var(--white); }

.stack-card__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(24px, 3.4vw, 56px);
}
.stack-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack-card__num { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.stack-card__title { font-size: clamp(1.9rem, 3.3vw, 3.4rem); max-width: 18ch; }
.stack-card__text { max-width: 34rem; font-size: 1.08rem; color: var(--muted); }
.stack-card__foot { margin-top: auto; }
.stack-card__copy { display: grid; gap: 16px; margin-top: auto; }
.stack-card__media { margin: 0; min-height: 280px; }
.stack-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Detailed service cards (services page) */
.stack-card--detail { min-height: min(720px, calc(100svh - var(--header-h) - 48px)); }
.stack-card--detail .stack-card__body { gap: 22px; }
.stack-card__lead { font-size: var(--fs-lead); max-width: 34rem; }
.checklist { display: grid; gap: 0; list-style: none; }
.checklist li {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}
.checklist strong { font-weight: 500; }
.checklist span { color: var(--muted); }
.stack-card__close { font-size: 0.97rem; color: var(--muted); max-width: 34rem; }

/* ---------- Pinned narrative ---------- */

.narrative {
  height: calc(var(--steps, 4) * 75vh + 100vh);
  background: var(--ink);
  color: var(--on-dark);
}
.narrative__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.narrative__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.14 - var(--np, 0) * 0.14));
  will-change: transform;
}
.narrative__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(20, 12, 28, 0.42), rgba(20, 12, 28, 0.78));
}
.narrative__lines {
  display: grid;
  place-items: center;
  width: 100%;
  padding-inline: var(--pad);
}
.narrative__line {
  grid-area: 1 / 1;
  max-width: 24ch;
  text-align: center;
  font-size: clamp(1.8rem, 3.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease), filter 0.8s var(--ease);
}
.narrative__line.is-past { transform: translateY(-28px); }
.narrative__line.is-active { opacity: 1; filter: none; transform: none; }

.narrative__value { display: grid; gap: 22px; justify-items: center; max-width: 40rem; }
.narrative__value .label { color: var(--on-dark-muted); }
.narrative__value strong {
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.narrative__value span.desc { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 30rem; letter-spacing: -0.01em; }

.narrative__progress {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 64px);
  width: min(340px, 60vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}
.narrative__progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal) 0 33.33%, var(--green) 33.33% 66.66%, var(--plum-soft) 66.66% 100%);
  clip-path: inset(0 calc(100% - var(--np, 0) * 100%) 0 0);
}

/* ---------- Split with sticky side ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 7vw, 140px);
}
.split__side {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  align-self: start;
  display: grid;
  justify-items: start;
  gap: 24px;
}
.split__side h2 { font-size: var(--fs-h2); }
.split__side p { font-size: 1.06rem; max-width: 30rem; }

.feature-list { list-style: none; }
.feature-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 12px 40px;
  padding-block: clamp(24px, 2.6vw, 40px);
  border-top: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list h3 { font-size: var(--fs-h3); }
.feature-list p { color: var(--muted); font-size: 1.02rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  list-style: none;
}
.feature-grid li {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
}
.feature-grid h3 { font-size: var(--fs-h3); }
.feature-grid p { color: var(--muted); }

/* ---------- Mission & vision ---------- */

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 88px);
}
.purpose {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 22px;
  border-top: 3px solid var(--accent, var(--line));
}
.purpose .label { color: var(--muted); }
.purpose h3 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); max-width: 18ch; }
.purpose p { color: var(--muted); font-size: 1.06rem; }
.purpose--mission { --accent: var(--teal); }
.purpose--vision { --accent: var(--plum); }

/* ---------- Destinations ---------- */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dest {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 3 / 4;
  padding: clamp(16px, 1.6vw, 24px);
  border-radius: var(--r-sm);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
}
.dest img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.dest::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 12, 28, 0.45) 0%, rgba(20, 12, 28, 0) 28%, rgba(20, 12, 28, 0.08) 50%, rgba(20, 12, 28, 0.86) 100%);
}
.dest:hover img { transform: scale(1.06); }
.dest__route {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.dest__body { display: grid; gap: 10px; }
.dest h3 { font-size: clamp(1.6rem, 2.3vw, 2.3rem); }
.dest p {
  font-size: 0.94rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s var(--ease), opacity 0.5s;
}
.dest p > span { overflow: hidden; }
.dest:hover p,
.dest:focus-visible p { grid-template-rows: 1fr; opacity: 1; }
@media (hover: none) {
  .dest p { grid-template-rows: 1fr; opacity: 1; }
}

/* ---------- Testimonials ---------- */

.stories__nav { display: flex; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s, opacity 0.25s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--white); }
.icon-btn:disabled { opacity: 0.35; cursor: default; background: transparent; }

.story-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(290px, 31vw, 470px);
  align-items: start;
  gap: 16px;
  margin-inline: calc(var(--pad) * -1);
  padding: 0 var(--pad) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.story-track::-webkit-scrollbar { display: none; }

.story {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 440px;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: var(--r-sm);
  background: var(--white);
  scroll-snap-align: start;
}
.layer--white .story { background: var(--paper); }
.story__country { display: flex; justify-content: space-between; color: var(--muted); }
.story__quote {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.story__quote p + p { margin-top: 0.8em; }
.js .story__quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}
.js .story.is-open .story__quote { display: block; }
.story__more {
  align-self: start;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 0.9rem;
  cursor: pointer;
}
.story__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.story__who strong { display: block; font-weight: 500; }
.story__who span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.35; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--av, var(--ink));
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---------- Full-bleed CTA ---------- */

.cta {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.cta__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 12, 28, 0.5) 0%, rgba(20, 12, 28, 0.1) 35%, rgba(20, 12, 28, 0.35) 60%, rgba(20, 12, 28, 0.86) 100%);
}
.cta__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(24px, 5vh, 56px));
  padding-bottom: clamp(40px, 8vh, 96px);
}
.cta__kicker { max-width: 30rem; font-size: var(--fs-lead); color: var(--on-dark); text-shadow: 0 1px 18px rgba(20, 12, 28, 0.6); }
.cta__bottom { display: grid; justify-items: center; gap: clamp(22px, 3vw, 36px); width: 100%; }
.cta h2 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 7.4vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; margin-top: 8px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px clamp(40px, 7vw, 140px);
}
.channels { display: grid; align-content: start; gap: 0; width: 100%; margin-top: 12px; }
.channel {
  display: grid;
  gap: 8px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
}
.channel:last-child { border-bottom: 1px solid var(--line); }
.channel .label { color: var(--muted); }
.channel__value { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.channel__value a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.channel__value a:hover { background-size: 100% 1px; }
.channel__note { font-size: 0.94rem; color: var(--muted); }

.form-card {
  padding: clamp(22px, 3vw, 44px);
  border-radius: var(--r);
  background: var(--white);
}
.form-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%231c1226' stroke-width='1.5' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--plum);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(102, 45, 138, 0.16);
}
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 8px;
}
.form__note { max-width: 22rem; font-size: 0.86rem; color: var(--muted); }
.form__status { grid-column: 1 / -1; font-size: 0.94rem; color: var(--plum); min-height: 1.5em; }

.map-layer { padding: 0; }
.map {
  position: relative;
  height: min(84svh, 780px);
  min-height: 460px;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.05);
}
.map__card {
  position: absolute;
  left: var(--pad);
  bottom: var(--pad);
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: min(380px, calc(100% - var(--pad) * 2));
  padding: 22px 24px 24px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--on-dark);
}
.map__card h2 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
.map__card address { color: var(--on-dark-muted); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.25s;
}
.faq .plus::before,
.faq .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--paper); }
.faq summary:hover .plus { background: var(--paper); }
.faq .answer { max-width: 62ch; padding-bottom: 26px; color: var(--muted); font-size: 1.02rem; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 0;
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.site-footer.is-reveal { position: sticky; bottom: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand { display: grid; align-content: start; gap: 18px; max-width: 22rem; }
.footer-brand img { width: 44px; }
.footer-brand p { color: var(--on-dark-muted); }
/* Third-party ICEF badge. The navy shield would sink into the dark footer,
   so it sits on a light plate; the rules cap whatever the script injects. */
.footer-badge {
  width: fit-content;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.94);
}
/* No plate until the badge actually renders (or if the script is blocked). */
.footer-badge:not(:has(img, svg, iframe)) { display: none; }
.footer-badge a { display: block; }
.footer-badge img,
.footer-badge svg,
.footer-badge iframe { display: block; width: 104px !important; max-width: 100%; height: auto; }
.footer-col h2 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer-col ul { display: grid; gap: 8px; list-style: none; }
.footer-col a { text-decoration: none; opacity: 0.9; }
.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-col address { display: grid; gap: 12px; }

.footer-word {
  margin-top: clamp(48px, 7vw, 110px);
  padding-inline: var(--pad);
  line-height: 0.76;
  white-space: nowrap;
  user-select: none;
}
.footer-word span {
  display: inline-block;
  padding-right: 0.09em; /* room for the last glyph past its tightened advance */
  font-size: 22vw;
  font-weight: 600;
  letter-spacing: -0.065em;
  transform: translateY(0.1em);
}
/* The three letter groups take the suitcase's three panel colours. */
.footer-word b { font-weight: inherit; }
.footer-word b:nth-child(1) { color: var(--teal); }
.footer-word b:nth-child(2) { color: var(--green); }
.footer-word b:nth-child(3) { color: var(--plum-soft); }
.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  font-size: 0.84rem;
  color: var(--on-dark-muted);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero .reveal { transition-delay: calc(0.15s + var(--d, 0s)); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Desktop: the brand lockup runs at double size, so the bar grows to hold it. */
@media (min-width: 901px) {
  :root { --header-h: 108px; }
  .brand { gap: 16px; }
  .brand img { width: 68px; }
  .brand span { font-size: 2.6rem; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .nav,
  .header-cta { display: none; }
  .menu-toggle { display: block; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); align-content: end; }
  .hero__copy { grid-row: 1; }
  .hero__aside {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 16px;
  }
  .hero__aside > div { padding-bottom: 4px; }
  .hero__aside dd { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .hero__aside--list { display: none; }

  .section-head,
  .intro__grid,
  .split,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .intro__side { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .split__side { position: static; }

  .stack-card,
  .stack-card--detail { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stack-card__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .stack-card__title { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .feature-list li { grid-template-columns: minmax(0, 1fr); }
  .purpose-grid { grid-template-columns: minmax(0, 1fr); }

  .dest-grid,
  .dest-grid.dest-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(74%, 340px);
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .dest-grid::-webkit-scrollbar { display: none; }
  .dest { scroll-snap-align: start; }

  .story-track { grid-auto-columns: min(84%, 380px); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hero__actions .btn,
  .cta__actions .btn { width: 100%; }
  .cta__actions { width: 100%; }
  .hero__aside dt { font-size: 0.72rem; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .map__card { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px var(--pad) 0; }
  .map { min-height: 380px; height: 60svh; }
  .map-layer { padding-bottom: var(--pad); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .narrative__line { transition: opacity 0.2s linear; filter: none; transform: none; }
  .narrative__line.is-past { transform: none; }
  .narrative__bg { transform: none; }
  .board__cell.is-flip span { animation: none; }
  .dest img, .btn svg, .link-arrow svg { transition: none; }
  .mobile-menu nav a { transition: none; transform: none; opacity: 1; }
}
