/* ============================================
   Emba Travel Agency — Design Tokens & Base
   Palette: Bone & Sienna (Black Tomato register)
   Typography: Editorial New + Neue Montreal + JetBrains Mono
   ============================================ */

:root {
  /* Color tokens — HSL for Tailwind <alpha-value> support */
  --bg: 36 25% 94%;          /* #F4F1EC parchment */
  --surface: 36 26% 89%;     /* #EAE5DC inset */
  --ink: 0 0% 7%;            /* #111111 near-ink */
  --muted: 28 8% 32%;        /* #5A5249 warm muted */
  --accent: 13 67% 48%;      /* #C8472E burnt sienna */
  --brass: 35 32% 51%;       /* #A88B5A brass metallic */
  --rule: 30 18% 76%;        /* hairline divider */

  /* Dark variant tokens (for /bespoke page) — opt-in via [data-palette="dark"] */
  --bg-dark: 30 12% 5%;      /* #0E0D0B espresso */
  --ink-dark: 36 30% 87%;    /* #E8E1D4 bone */
  --muted-dark: 36 8% 63%;
  --accent-dark: 35 30% 51%; /* #A98B5C antique gold */

  /* Motion */
  --ease-editorial: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-soft: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-snap: cubic-bezier(0.32, 0.72, 0, 1);

  /* Layout */
  --shell-max: 88rem;
  --measure: 38rem;
  --section-y: clamp(5rem, 10vw, 10rem);
}

[data-palette="dark"] {
  --bg: var(--bg-dark);
  --surface: 30 10% 9%;
  --ink: var(--ink-dark);
  --muted: var(--muted-dark);
  --accent: var(--accent-dark);
  --rule: 30 8% 18%;
}

/* ============================================
   Base resets
   ============================================ */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  /* No native smooth scroll — Lenis handles it */
  scroll-behavior: auto;
  text-rendering: optimizeLegibility;
}

body {
  background: hsl(var(--bg));
  color: hsl(var(--ink));
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent pull-to-refresh & elastic bounce visual bugs on iOS/Android */
  overscroll-behavior-y: none;
}
html { overscroll-behavior-y: none; }

/* Number tabular figures everywhere — non-negotiable for editorial */
:where(time, .num, [data-num]) {
  font-variant-numeric: tabular-nums;
}

/* Headlines: balanced wrapping, tight tracking */
:where(h1, h2, h3, h4) {
  font-family: 'EditorialNew', Georgia, serif;
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Body prose: pretty wrap */
:where(p) {
  text-wrap: pretty;
}

/* Selection */
::selection {
  background: hsl(var(--accent));
  color: hsl(var(--bg));
}

/* Focus ring — visible, accessible, on-brand */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 3px;
  border-radius: 1px;
}

/* ============================================
   Component primitives
   ============================================ */

/* Eyebrow caps — mono small caps with tracking */
.eyebrow {
  font-family: 'JetBrainsMono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}

/* Editorial underlined link — draws on hover */
.editorial-link {
  position: relative;
  display: inline-block;
  color: hsl(var(--ink));
  font-weight: 500;
  padding-bottom: 0.15em;
  text-decoration: none;
}
.editorial-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 500ms var(--ease-editorial);
}
.editorial-link:hover::after {
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-redraw 700ms var(--ease-editorial) 250ms forwards;
}
@keyframes underline-redraw {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

/* Editorial button — sienna pill, magnetic-ready */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: hsl(var(--accent));
  color: hsl(var(--bg));
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease-soft), background 200ms ease;
  will-change: transform;
}
.btn-editorial:hover {
  background: hsl(var(--ink));
}
.btn-editorial:active {
  transform: scale(0.97);
}
.btn-editorial--ghost {
  background: transparent;
  color: hsl(var(--ink));
  border-color: hsl(var(--ink) / 0.2);
}
.btn-editorial--ghost:hover {
  background: hsl(var(--ink));
  color: hsl(var(--bg));
}

/* Hairline rule — brass-tinted on parchment, forest on dark */
.hr-editorial {
  height: 1px;
  background: hsl(var(--rule));
  border: 0;
  margin: 0;
}

/* ============================================
   Site nav — fixed pill, scroll-state morph
   ============================================ */

#site-nav {
  transition: padding 380ms var(--ease-soft),
              opacity 380ms ease;
  /* No background, no blur, no border — logo only. */
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  /* Allow the logo to slide above the bar without being clipped */
  overflow: visible;
}
/* Logo slides up + fades on scroll-down */
#site-nav .nav-logo {
  transition: height 380ms var(--ease-soft),
              transform 480ms var(--ease-soft),
              opacity 380ms ease;
  will-change: transform;
}
/* Auto-hide on scroll down — bar background fades AND logo slides out
   together. Pointer-events off so the empty bar doesn't catch clicks. */
#site-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}
#site-nav.is-hidden .nav-logo {
  transform: translateY(-180%);
}
/* Scrolled-state glass removed — bar stays transparent at any scroll
   position. Only the logo and shell-padding still respond. */
#site-nav.is-scrolled {
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
#site-nav .nav-shell {
  transition: padding 380ms var(--ease-soft);
}
#site-nav.is-scrolled .nav-shell {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
#site-nav .nav-logo {
  transition: height 380ms var(--ease-soft);
}
#site-nav.is-scrolled .nav-logo {
  height: 3.25rem;
}

/* Mobile drawer — opens via [data-nav-open] on body
   IMPORTANT: hidden on desktop entirely. Only rendered ≥ mobile.
   We can't rely solely on Tailwind's md:hidden because index.css loads
   after tailwind.css and would override it. */
.nav-drawer {
  display: none;
}
@media (max-width: 767px) {
  .nav-drawer {
    position: fixed;
    inset: 0;
    background: hsl(var(--bg));
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 3rem;
    z-index: 49;
    transform: translateY(-100%);
    transition: transform 700ms var(--ease-editorial);
    pointer-events: none;
  }
  body[data-nav-open="true"] .nav-drawer {
    transform: translateY(0);
    pointer-events: auto;
  }
}
/* Hamburger toggle: same protection — desktop never shows it */
.nav-toggle {
  display: none;
}
@media (max-width: 767px) {
  .nav-toggle {
    display: grid;
  }
}
.nav-drawer a {
  display: block;
  font-family: 'EditorialNew', Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: hsl(var(--ink));
  padding: 0.6rem 0;
  border-bottom: 1px solid hsl(var(--rule));
  text-decoration: none;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  /* display is controlled above via the breakpoint guard
     (grid on mobile, none on desktop) — do not redeclare here */
  place-items: center;
  border-radius: 999px;
  border: 1px solid hsl(var(--ink) / 0.15);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: hsl(var(--ink));
  position: relative;
  transition: transform 320ms var(--ease-soft);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: hsl(var(--ink));
  transition: transform 320ms var(--ease-soft), top 320ms var(--ease-soft);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
body[data-nav-open="true"] .nav-toggle span { background: transparent; }
body[data-nav-open="true"] .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body[data-nav-open="true"] .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   Hero — anti-CTA, multi-layer parallax
   ============================================ */

.hero {
  position: relative;
  min-height: 70dvh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  /* Thick parchment frame with rounded corners (editorial passe-partout) */
  border: clamp(4px, 2vw, 15px) solid hsl(var(--bg));
  box-sizing: border-box;
  border-radius: clamp(38px, 5vw, 66px);
}
.hero-media {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, hsl(var(--bg) / 0.55) 0%, hsl(var(--bg) / 0) 30%, hsl(var(--bg) / 0) 60%, hsl(var(--bg) / 0.85) 100%);
  pointer-events: none;
}
/* Dedicated bottom veil — ink-tinted, not parchment, so white text in
   the foot row stays legible against bright photography. */
.hero-bottom-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(8rem, 22vh, 14rem);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    hsl(var(--ink) / 0) 0%,
    hsl(var(--ink) / 0.18) 60%,
    hsl(var(--ink) / 0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  height: 100dvh;
  padding: clamp(6rem, 11vh, 9rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vh, 4rem);
  max-width: var(--shell-max);
  margin-inline: auto;
  width: 100%;
}

/* Hero jump pills — two ghost buttons just above the foot row.
   Hairline border, monospace, sienna roman numeral, arrow nudge. */
.hero-jump {
  display: inline-flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2rem);
  justify-self: center;
  align-self: end;
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--ink));
  text-decoration: none;
  background: hsl(var(--bg) / 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid hsl(var(--ink) / 0.55);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 1px 0 hsl(var(--bg) / 0.4) inset;
  transition:
    color 200ms var(--ease-soft),
    border-color 200ms var(--ease-soft),
    background 200ms var(--ease-soft),
    transform 160ms var(--ease-soft);
}
.hero-pill-num {
  color: hsl(var(--accent));
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}
.hero-pill-arrow {
  width: 12px;
  height: 12px;
  transition: transform 240ms var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .hero-pill:hover {
    color: hsl(var(--bg));
    border-color: hsl(var(--ink));
    background: hsl(var(--ink) / 0.92);
  }
  .hero-pill:hover .hero-pill-num { color: hsl(var(--accent)); }
  .hero-pill:hover .hero-pill-arrow { transform: translateX(3px); }
}
.hero-pill:active { transform: scale(0.97); }
.hero-pill:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 4px;
}

/* ============================================
   Hero top row — left rail + center red CTA + right wordmark
   ============================================ */
.hero-top {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Left service rail */
.hero-rail {
  display: grid;
  grid-template-columns: auto;
  row-gap: 0.75rem;
  align-items: center;
  justify-items: start;
  padding-top: 0.25rem;
}
.hero-rail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--ink) / 0.85);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 200ms var(--ease-soft);
}
.hero-rail-num {
  color: hsl(var(--accent));
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 0.85rem;
  min-width: 0.9em;
  text-align: center;
}
.hero-rail-label { display: inline-block; }
.hero-rail-item.is-active { color: hsl(var(--ink)); }
.hero-rail-item.is-active .hero-rail-num { color: hsl(var(--accent)); }
@media (hover: hover) and (pointer: fine) {
  .hero-rail-item:hover { color: hsl(var(--ink)); }
}
.hero-rail-item:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 4px;
  border-radius: 2px;
}

/* Vertical progress track between the two rail items */
.hero-rail-track {
  position: relative;
  width: 1px;
  height: clamp(2.5rem, 8vh, 5rem);
  background: hsl(var(--ink) / 0.2);
  margin-left: 0.55rem;
  overflow: hidden;
}
.hero-rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: hsl(var(--accent));
  transform-origin: top;
  animation: rail-progress 3.6s var(--ease-soft) infinite;
}
@keyframes rail-progress {
  0%   { transform: translateY(0)    scaleY(0.4); opacity: 0.4; }
  50%  { transform: translateY(60%)  scaleY(1);   opacity: 1;   }
  100% { transform: translateY(150%) scaleY(0.4); opacity: 0;   }
}

/* Red CTA — squared, solid, sits center of top row.
   Local-only red; site accent stays sienna. */
.hero-cta {
  --cta-red: 0 72% 38%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: hsl(var(--cta-red));
  color: hsl(0 0% 100%);
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid hsl(var(--cta-red));
  border-radius: 3px;
  box-shadow:
    0 1px 0 hsl(0 0% 100% / 0.18) inset,
    0 6px 18px -8px hsl(var(--cta-red) / 0.55);
  justify-self: start;
  align-self: start;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-soft),
    background 200ms var(--ease-soft),
    box-shadow 200ms var(--ease-soft);
}
.hero-cta svg { transition: transform 240ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    background: hsl(0 72% 32%);
    box-shadow:
      0 1px 0 hsl(0 0% 100% / 0.22) inset,
      0 12px 28px -10px hsl(var(--cta-red) / 0.7);
  }
  .hero-cta:hover svg { transform: translateX(3px); }
}
.hero-cta:active { transform: scale(0.97); }
.hero-cta:focus-visible {
  outline: 2px solid hsl(var(--cta-red));
  outline-offset: 4px;
}

/* ============================================
   Hero headline — wordmark version
   ============================================ */
.hero-headline-line {
  display: block;
}
.hero-headline-gap { letter-spacing: 0; }

/* ============================================
   Hero decorative marquee (flight info)
   ============================================ */
.hero-marquee {
  position: absolute;
  bottom: clamp(7rem, 12vh, 10rem);
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%);
}
.hero-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  font-family: 'JetBrainsMono', monospace;
  font-size: clamp(0.65rem, 0.9vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--bg) / 0.7);
  animation: hero-marquee 60s linear infinite;
  will-change: transform;
}
.hero-marquee-track .dot { color: hsl(var(--accent) / 0.85); }
@keyframes hero-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-headline {
  justify-self: end;
  align-self: start;
  text-align: right;
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 8.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: hsl(var(--bg));
  text-transform: uppercase;
  margin: 0;
  text-wrap: nowrap;
  text-shadow:
    0 2px 1px hsl(var(--ink) / 0.25),
    0 6px 28px hsl(var(--ink) / 0.45);
}
.hero-headline-line {
  display: block;
  white-space: nowrap;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.hero-foot {
  margin-top: clamp(2rem, 5vh, 4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  border-top: 1px solid hsl(var(--bg) / 0.3);
  padding-top: 1.25rem;
}
.hero-issue {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--bg) / 0.85);
}
.hero-scrollcue {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--bg) / 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-scrollcue::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scrollcue 2.4s var(--ease-soft) infinite;
}
@keyframes scrollcue {
  0%, 100% { transform: scaleX(0.2); opacity: 0.3; }
  50%      { transform: scaleX(1);   opacity: 1; }
}

/* Hero plane WRAPPER — owns positioning + the one-shot entry animation.
   The inner <img.hero-plane> owns the parallax. Two transform layers,
   no conflict. */
.hero-plane-wrap {
  position: absolute;
  z-index: 2;
  top: 35%;
  left: 50%;
  width: 35%;
  margin-left: -17.5%;       /* centering, no transform used */
  pointer-events: none;
}
.hero-plane {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 30px 40px rgba(20, 14, 10, 0.18));
  /* parallax.js writes translate3d() on this element on scroll. */
}

/* Emba text plate */
.hero-emba-text {
  position: absolute;
  z-index: 3;
  top: -40px;
  left: 50%;
  width: 70%;
  margin-left: -35%;          /* centering without transform */
  height: auto;
  pointer-events: none;
}

/* Mountain plate */
.hero-mountain {
  position: absolute;
  top: 59px;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
  object-position: bottom;
}

/* ============================================
   One-shot entry animations — fire on page load only.
   Wrapped in a media-query guard so reduced-motion users see nothing animate.
   ============================================ */

/* Smoother glide curves — start with a bit of speed, settle slowly.
   Cubic-bezier(0.16, 1, 0.3, 1) is the classic "expo-out" — the same
   curve Apple uses for window animations. Reads as effortless. */

@keyframes intro-drop {
  0%   { opacity: 0; transform: translate3d(0, -180px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes intro-fly {
  /* Two stops only. No intermediate waypoint — that's what was causing
     the "land then bounce". Pure A → B with the curve doing the smoothing. */
  0%   { opacity: 0; transform: translate3d(-180px, 80px, 0) rotate(-4deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .intro-drop {
    /* Linear deceleration via cubic-bezier(0.25, 0.46, 0.45, 0.94) —
       "ease-out-quad". No overshoot, no oscillation. */
    animation: intro-drop 1100ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    will-change: transform, opacity;
  }
  .intro-fly {
    animation: intro-fly 1300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 150ms both;
    will-change: transform, opacity;
  }
  /* Drop will-change once the entry settles — keeps the final paint clean. */
  .intro-done {
    will-change: auto;
  }
}

/* ============================================
   Three-doors sticky stack
   ============================================ */

.doors {
  position: relative;
  background: hsl(var(--bg));
}
.door {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  overflow: hidden;
}
@media (min-width: 900px) {
  .door {
    grid-template-columns: 1fr 1fr;
  }
  .door:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }
  .door:nth-child(even) .door-media { order: 2; }
  .door:nth-child(even) .door-text  { order: 1; }
}
.door-media {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}
.door-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.door-marker {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.4rem;
  color: hsl(var(--bg));
  mix-blend-mode: difference;
  letter-spacing: 0.04em;
  z-index: 2;
}
.door-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  background: hsl(var(--bg));
}
.door-eyebrow {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.door-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: hsl(var(--accent));
  display: inline-block;
}
.door-headline {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: hsl(var(--ink));
  margin-bottom: 1.75rem;
  max-width: 14ch;
  text-wrap: balance;
}
.door-body {
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: hsl(var(--muted));
  max-width: 36ch;
  margin-bottom: 2rem;
}
.door-meta {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--rule));
}
.door-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.door-meta-key {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.door-meta-val {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.5rem;
  color: hsl(var(--ink));
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Section heading — large editorial label + mono eyebrow
   ============================================ */

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

/* Tighter top padding on What We Do — sits right under the hero,
   doesn't need the full py-section breathing room above it. */
#what-we-do.py-section {
  padding-top: clamp(2rem, 4vw, 4rem);
}
#what-we-do .section-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 3fr 9fr;
    align-items: end;
    gap: 2.5rem;
  }
}
.section-head .eyebrow {
  align-self: start;
}
.section-head h2 {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: hsl(var(--ink));
  max-width: 18ch;
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}

/* ============================================
   Services grid — auto-fit cards with circular icon wrappers
   Cathedral-inspired layout, rebuilt in Emba's editorial palette:
   - parchment background (no rainbow borders, no purple glows)
   - PP Editorial New for titles, accent burnt-sienna for the icon ring
   - Mid-intensity hover: lift + subtle tilt + single-colour accent border
   ============================================ */

.services {
  display: grid;
  /* Mobile: 2 columns from the smallest phone up. Desktop: 4 across. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  perspective: 1000px;
}
@media (min-width: 640px) {
  .services {
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
}
@media (min-width: 1100px) {
  .services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
}

.service {
  position: relative;
  background: hsl(var(--bg));
  border: 1px solid hsl(var(--rule));
  border-radius: 20px;
  padding: 2.25rem 1.75rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transform-style: preserve-3d;
  box-shadow: 0 8px 24px hsl(var(--ink) / 0.06);
  transition:
    transform 600ms var(--ease-editorial),
    box-shadow 600ms var(--ease-soft),
    border-color 400ms var(--ease-soft);
  isolation: isolate;
}

/* Single-colour accent border that fades in on hover (no rainbow) */
.service::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    hsl(var(--accent) / 0.6) 0%,
    hsl(var(--accent) / 0.15) 50%,
    hsl(var(--accent) / 0.6) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 500ms var(--ease-soft);
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    transform: translateY(-12px) rotateX(3deg);
    border-color: transparent;
    box-shadow: 0 28px 56px hsl(var(--ink) / 0.14);
  }
  .service:hover::before {
    opacity: 1;
  }
  .service:hover .service-icon-wrap::before {
    transform: scale(1.15);
    opacity: 0.9;
  }
  .service:hover .service-icon {
    transform: scale(1.08);
  }
  .service:hover .service-link {
    color: hsl(var(--accent));
    gap: 0.8rem;
  }
}

/* Circular icon wrapper with pulsing halo */
.service-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}
.service-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    hsl(var(--accent) / 0.18),
    hsl(var(--accent) / 0.08) 60%,
    hsl(var(--accent) / 0.18)
  );
  animation: serviceIconPulse 2.6s ease-in-out infinite;
  transition: transform 500ms var(--ease-soft), opacity 500ms var(--ease-soft);
}
@keyframes serviceIconPulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%      { transform: scale(1.08); opacity: 1;   }
}
.service-icon {
  width: 32px;
  height: 32px;
  color: hsl(var(--accent));
  position: relative;
  z-index: 1;
  transition: transform 500ms var(--ease-editorial);
}

.service-num {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  display: inline-block;
  position: relative;
  z-index: 1;
}
.service-title {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  margin: 0;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.service-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: hsl(var(--muted));
  max-width: 32ch;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.service-link {
  margin-top: auto;
  padding-top: 0.4rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--ink));
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  transition: color 400ms var(--ease-soft), gap 300ms var(--ease-soft);
  /* Visible label only — interaction disabled. */
  pointer-events: none;
  cursor: default;
}

@media (max-width: 599px) {
  .services { gap: 1.25rem; margin-top: 2rem; }
  .service  { padding: 1.75rem 1.25rem 1.5rem; }
  .service-title { font-size: 1.2rem; }
}

/* ============================================
   Curated Destinations — sticky horizontal scroll
   Implementation: pin the section, scroll-snap a horizontal track
   inside it. Vertical scroll progresses through cards horizontally.
   ============================================ */

.destinations {
  position: relative;
  background: hsl(var(--bg));
}
.destinations-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 clamp(1.5rem, 4vw, 4rem) 2.5rem;
  scroll-padding-left: clamp(1.5rem, 4vw, 4rem);
  /* Hide scrollbars but keep functionality */
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--rule)) transparent;
}
.destinations-track::-webkit-scrollbar {
  height: 6px;
}
.destinations-track::-webkit-scrollbar-thumb {
  background: hsl(var(--rule));
  border-radius: 999px;
}
.destinations-track::-webkit-scrollbar-track {
  background: transparent;
}
.destination {
  flex: 0 0 clamp(280px, 38vw, 480px);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.destination-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: hsl(var(--surface));
}
.destination-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1400ms var(--ease-editorial), filter 800ms var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .destination:hover .destination-media img {
    transform: scale(1.08);
  }
}
.destination-numeral {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: 'EditorialNew', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: hsl(var(--bg));
  mix-blend-mode: difference;
  z-index: 2;
  letter-spacing: 0.04em;
}
.destination-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--rule));
}
.destination-name {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
}
.destination-region {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  text-align: right;
}
.destination-meta {
  display: flex;
  gap: 1.5rem;
}
.destination-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.destination-meta-key {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.destination-meta-val {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.0625rem;
  color: hsl(var(--ink));
  font-variant-numeric: tabular-nums;
}

/* Drag-to-scroll cursor cue (desktop) */
@media (hover: hover) and (pointer: fine) {
  .destinations-track {
    cursor: grab;
  }
  .destinations-track:active {
    cursor: grabbing;
  }
}

/* Destination scroll progress bar */
.destinations-progress {
  margin-inline: clamp(1.5rem, 4vw, 4rem);
  height: 1px;
  background: hsl(var(--rule));
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}
.destinations-progress::before {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: hsl(var(--accent));
  transition: width 120ms linear;
}

/* ============================================
   The Bring List — humanity moment
   Single pull-quote, breaks corporate cadence.
   ============================================ */

.bring-list {
  position: relative;
  background: hsl(var(--surface));
  overflow: hidden;
  isolation: isolate;
}
.bring-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 900px) {
  .bring-list-grid {
    grid-template-columns: 5fr 7fr;
  }
}
.bring-list-media {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}
.bring-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bring-list-text {
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}
.bring-list-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}
.bring-list-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: hsl(var(--accent));
}
.bring-list-quote {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  text-wrap: balance;
}
.bring-list-quote::before {
  content: '\201C';
  font-family: 'EditorialNew', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.18em;
  margin-right: 0.1em;
}
.bring-list-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--rule));
}
.bring-list-name {
  font-family: 'EditorialNew', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.125rem;
  color: hsl(var(--ink));
}
.bring-list-role {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}

/* Hand-drawn motif — luggage tag SVG with stroke-draw */
.motif {
  width: 90px;
  height: 90px;
  color: hsl(var(--accent));
}
.motif path,
.motif circle,
.motif line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1800ms var(--ease-editorial);
}
.motif.is-visible path,
.motif.is-visible circle,
.motif.is-visible line {
  stroke-dashoffset: 0;
}

/* ============================================
   Request Form — tabbed (Flight / Concierge / Visa)
   Editorial form: thin baseline inputs, no boxed fields,
   sienna underline focus, mono labels.
   ============================================ */

/* ============================================
   REQUEST FORM — Cathedral pill-card surface in Emba's sienna palette.
   Section is now warm parchment (not near-ink). Form panel is a soft
   rounded card with a 5px white inner border and a tinted-sienna glow.
   Inputs are rounded pills with an inset sienna shadow + sienna focus
   border. Submit button takes the cathedral-style sienna gradient.
   ============================================ */

.request {
  position: relative;
  background:
    linear-gradient(180deg,
      hsl(36 30% 96%) 0%,
      hsl(var(--bg)) 50%,
      hsl(36 30% 96%) 100%);
  background-size: 100% 300%;
  animation: requestGradient 14s ease infinite;
  color: hsl(var(--ink));
  overflow: hidden;
  isolation: isolate;
}
@keyframes requestGradient {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}
.request::before {
  /* Soft sienna radials — cathedral's "particle" feel, recoloured */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, hsl(var(--accent) / 0.10) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, hsl(var(--accent) / 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, hsl(var(--accent) / 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.request-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1000px) {
  .request-inner {
    grid-template-columns: 4fr 8fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.request-aside h2 {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: hsl(var(--ink));
  text-wrap: balance;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.request-aside h2 em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.request-aside p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: hsl(var(--muted));
  max-width: 36ch;
  margin-bottom: 2rem;
}
.request-aside .eyebrow {
  color: hsl(var(--accent));
  margin-bottom: 1.25rem;
}

/* WhatsApp / phone fallback CTA in aside */
.request-channels {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--rule));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.request-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--ink));
  text-decoration: none;
  width: max-content;
  transition: color 200ms ease, gap 250ms var(--ease-soft);
}
.request-channel:hover {
  color: hsl(var(--accent));
  gap: 1rem;
}
.request-channel svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* The form panel — cathedral's pill card, sienna-tinted */
.request-main {
  position: relative;
  background:
    linear-gradient(0deg,
      #ffffff 0%,
      hsl(36 38% 97%) 100%);
  border: 5px solid #ffffff;
  border-radius: 40px;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem);
  box-shadow:
    0 30px 30px -20px hsl(var(--accent) / 0.28),
    0 8px 24px -8px hsl(var(--ink) / 0.08);
}

/* Tab bar — sits inside the pill, sienna underline indicator */
.request-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid hsl(var(--rule));
  margin-bottom: 2.25rem;
  position: relative;
}
.request-tab {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  color: hsl(var(--muted) / 0.7);
  text-align: left;
  transition: color 300ms ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.request-tab:hover {
  color: hsl(var(--ink) / 0.9);
}
.request-tab[aria-selected="true"] {
  color: hsl(var(--ink));
}
.request-tab-num {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  font-weight: 700;
}
.request-tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: hsl(var(--accent));
  transition: transform 600ms var(--ease-editorial), width 600ms var(--ease-editorial);
  pointer-events: none;
}

/* Tab panels — fade/slide between */
.request-panel {
  display: none;
}
.request-panel[data-active="true"] {
  display: block;
  animation: panel-in 700ms var(--ease-editorial);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Form fields — cathedral pill inputs in sienna */
.request-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .request-form {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
  .field--full {
    grid-column: span 2;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.field-label {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  font-weight: 700;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.field-label .req {
  color: hsl(var(--accent));
  font-size: 1em;
  opacity: 0.7;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 1rem;
  color: hsl(var(--ink));
  box-shadow: 0 8px 16px -8px hsl(var(--accent) / 0.18);
  transition: border-color 250ms var(--ease-soft), box-shadow 250ms var(--ease-soft);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: hsl(var(--muted) / 0.6);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  box-shadow: 0 10px 18px -8px hsl(var(--accent) / 0.25);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: hsl(var(--accent));
  box-shadow:
    0 10px 22px -8px hsl(var(--accent) / 0.32),
    0 0 0 3px hsl(var(--accent) / 0.12);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 7rem;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23C8472E' stroke-width='1.6'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.field select option {
  background: #ffffff;
  color: hsl(var(--ink));
}

/* Date input native chrome — keep default (light bg now) */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(28%) sepia(82%) saturate(1700%) hue-rotate(354deg) brightness(0.85);
  cursor: pointer;
  opacity: 0.7;
}

/* Required asterisk + hint text */
.field-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted) / 0.7);
  font-family: 'NeueMontreal', system-ui, sans-serif;
  margin-left: 10px;
}

/* Submit row */
.request-submit-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--rule));
}
.request-submit-row .btn-editorial {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(18 75% 58%) 100%);
  color: #ffffff;
  border: 0;
  border-radius: 18px;
  padding: 0.95rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 24px -14px hsl(var(--accent) / 0.55);
  transition: transform 200ms var(--ease-soft), box-shadow 250ms var(--ease-soft), filter 200ms ease;
}
.request-submit-row .btn-editorial:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 30px -14px hsl(var(--accent) / 0.65);
  filter: brightness(1.05);
  color: #ffffff;
}
.request-submit-row .btn-editorial:active {
  transform: translateY(0);
}
.request-fineprint {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--muted) / 0.75);
  max-width: 32ch;
}

/* Form status message (after submit) */
.request-status {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--accent));
  border-radius: 16px;
  background: hsl(var(--accent) / 0.08);
  color: hsl(var(--ink));
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 0.95rem;
  display: none;
}
.request-status[data-state="success"],
.request-status[data-state="error"] {
  display: block;
  animation: panel-in 500ms var(--ease-editorial);
}
.request-status[data-state="error"] {
  border-color: hsl(0 60% 55%);
  background: hsl(0 60% 55% / 0.08);
}

/* ============================================
   CONTACT SECTION — Reach the studio.
   Same surface language as the request form pill: warm parchment
   background with sienna radials, four cathedral-style cards with the
   5px white inner border, sienna glow, and mid-intensity hover lift.
   ============================================ */

.contact-section {
  position: relative;
  background:
    linear-gradient(180deg,
      hsl(36 30% 96%) 0%,
      hsl(var(--bg)) 50%,
      hsl(36 30% 96%) 100%);
  background-size: 100% 300%;
  animation: requestGradient 14s ease infinite;
  color: hsl(var(--ink));
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid hsl(var(--rule));
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 22%, hsl(var(--accent) / 0.10) 0%, transparent 45%),
    radial-gradient(circle at 18% 78%, hsl(var(--accent) / 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.contact-section .contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  /* Single-column flow: heading on top, cards span full width below.
     Override the legacy 2-col contact.html rule that leaks via .contact-inner. */
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.contact-section .section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.contact-section .section-head h2 {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: hsl(var(--ink));
  text-wrap: balance;
}
.contact-section .section-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.contact-section .eyebrow {
  color: hsl(var(--accent));
  margin-bottom: 1rem;
  display: block;
}

.contact-cards {
  display: grid;
  /* Mobile: 2 columns from the smallest phone up (matches What We Do).
     Tablet: 3-up. Desktop: 4-up. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  perspective: 1000px;
}
@media (min-width: 900px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}
@media (min-width: 1200px) {
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  position: relative;
  background:
    linear-gradient(0deg, #ffffff 0%, hsl(36 38% 97%) 100%);
  border: 4px solid #ffffff;
  border-radius: 22px;
  padding: 1.4rem 1.1rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: hsl(var(--ink));
  transform-style: preserve-3d;
  box-shadow:
    0 16px 24px -18px hsl(var(--accent) / 0.30),
    0 4px 14px -8px hsl(var(--ink) / 0.06);
  transition:
    transform 600ms var(--ease-editorial),
    box-shadow 500ms var(--ease-soft),
    border-color 400ms var(--ease-soft);
  isolation: isolate;
}
.contact-card::before {
  /* Sienna gradient ring that fades in on hover — same trick as .service */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    hsl(var(--accent) / 0.6) 0%,
    hsl(var(--accent) / 0.15) 50%,
    hsl(var(--accent) / 0.6) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 500ms var(--ease-soft);
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  .contact-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow:
      0 24px 38px -20px hsl(var(--accent) / 0.45),
      0 8px 22px -10px hsl(var(--ink) / 0.10);
  }
  .contact-card:hover::before {
    opacity: 1;
  }
  .contact-card:hover .contact-card-icon::before {
    transform: scale(1.15);
    opacity: 0.95;
  }
  .contact-card:hover .contact-card-icon svg {
    transform: scale(1.08);
  }
  .contact-card:hover .contact-card-action {
    color: hsl(var(--accent));
    gap: 0.8rem;
  }
}

/* Circular icon halo — matches .service-icon-wrap, sized down */
.contact-card-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}
.contact-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    hsl(var(--accent) / 0.18),
    hsl(var(--accent) / 0.08) 60%,
    hsl(var(--accent) / 0.18)
  );
  animation: serviceIconPulse 2.6s ease-in-out infinite;
  transition: transform 500ms var(--ease-soft), opacity 500ms var(--ease-soft);
}
.contact-card-icon svg {
  width: 22px;
  height: 22px;
  color: hsl(var(--accent));
  position: relative;
  z-index: 1;
  transition: transform 500ms var(--ease-editorial);
}

.contact-card-num {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.contact-card-title {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  margin: 0;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.contact-card-detail {
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.35;
  color: hsl(var(--muted));
  margin: 0;
  word-break: break-word;
  position: relative;
  z-index: 1;
}
.contact-card-action {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--ink));
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  transition: color 400ms var(--ease-soft), gap 300ms var(--ease-soft);
}
.contact-card-action--muted {
  color: hsl(var(--muted) / 0.75);
}

/* Static (non-clickable) variant — keeps the surface, drops the affordance */
.contact-card--static {
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .contact-card--static:hover {
    transform: none;
    box-shadow:
      0 16px 24px -18px hsl(var(--accent) / 0.30),
      0 4px 14px -8px hsl(var(--ink) / 0.06);
  }
  .contact-card--static:hover::before { opacity: 0; }
  .contact-card--static:hover .contact-card-icon::before {
    transform: none;
    opacity: 0.7;
  }
  .contact-card--static:hover .contact-card-icon svg { transform: none; }
  .contact-card--static:hover .contact-card-action {
    color: hsl(var(--muted) / 0.75);
    gap: 0.4rem;
  }
}

@media (max-width: 600px) {
  .contact-cards { gap: 0.85rem; }
  .contact-card  {
    padding: 1.15rem 0.9rem 1rem;
    border-width: 3px;
    border-radius: 18px;
  }
  .contact-card-title { font-size: 1rem; }
}

/* ============================================
   Press — type-only mentions, no logo bar
   ============================================ */

.press {
  background: hsl(var(--bg));
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  border-block: 1px solid hsl(var(--rule));
}
.press-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 900px) {
  .press-inner {
    grid-template-columns: 3fr 9fr;
    gap: 4rem;
  }
}
.press-eyebrow {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.press-line {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  text-wrap: balance;
}
.press-name {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}

/* ============================================
   Footer — three-column, mono masthead, brass divider
   ============================================ */

.foot {
  background: hsl(var(--bg));
  color: hsl(var(--ink));
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: 2rem;
  position: relative;
}
.foot-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
}
.foot-display {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 200;
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: hsl(var(--ink));
  margin-bottom: 4rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.foot-display em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.foot-display-tag {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  align-self: flex-start;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--rule));
  width: clamp(120px, 14vw, 200px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--brass) / 0.5);
}
@media (min-width: 700px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.foot-col-eyebrow {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  margin-bottom: 1.25rem;
}
.foot-contact-line {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: hsl(var(--ink));
  display: block;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.foot-contact-line:hover {
  color: hsl(var(--accent));
}
.foot-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.foot-link-list a {
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 0.95rem;
  color: hsl(var(--ink));
  text-decoration: none;
  transition: color 200ms ease, padding-left 250ms var(--ease-soft);
  display: inline-block;
}
.foot-link-list a:hover {
  color: hsl(var(--accent));
  padding-left: 0.4rem;
}
.foot-base {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--rule));
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.foot-base a {
  color: hsl(var(--muted));
  text-decoration: none;
}
.foot-base a:hover {
  color: hsl(var(--ink));
}

/* ============================================
   Service-page hero — narrower than home, asymmetric, image right
   ============================================ */

.svc-hero {
  position: relative;
  padding: clamp(8rem, 14vh, 12rem) clamp(1.5rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.svc-hero-grid {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}
@media (min-width: 1000px) {
  .svc-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.svc-hero-eyebrow {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.svc-hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: hsl(var(--accent));
}
.svc-hero h1 {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: hsl(var(--ink));
  margin-bottom: 1.75rem;
  max-width: 14ch;
  text-wrap: balance;
}
.svc-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.svc-hero-dek {
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: hsl(var(--muted));
  max-width: 50ch;
}
.svc-hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: hsl(var(--surface));
}
.svc-hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.svc-hero-cap {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  margin-top: 0.85rem;
  display: block;
}

/* ============================================
   Editorial two-col scroll block — eyebrow / paragraph
   ============================================ */

.edl {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
}
.edl-grid {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .edl-grid {
    grid-template-columns: 3fr 9fr;
    gap: 4rem;
    align-items: start;
  }
}
.edl-eyebrow {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.edl-body h2 {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: hsl(var(--ink));
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.edl-body h2 em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.edl-body p {
  color: hsl(var(--muted));
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 1.25rem;
}
.edl-body p strong {
  color: hsl(var(--ink));
  font-weight: 500;
}

/* Editorial drop-cap (Atlas Obscura move) */
.dropcap::first-letter {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 200;
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding: 0.1em 0.15em 0 0;
  color: hsl(var(--accent));
  font-style: italic;
}

/* ============================================
   Route table — Flights page
   ============================================ */

.route-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'NeueMontreal', system-ui, sans-serif;
  margin-top: 2rem;
}
.route-table th,
.route-table td {
  padding: 1.25rem 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--rule));
  font-size: 0.95rem;
  vertical-align: baseline;
}
.route-table th {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  font-weight: 500;
  border-bottom: 1px solid hsl(var(--ink) / 0.3);
}
.route-table td.col-route {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: hsl(var(--ink));
  white-space: nowrap;
}
.route-table td.col-num {
  font-variant-numeric: tabular-nums;
  font-family: 'JetBrainsMono', monospace;
  color: hsl(var(--ink));
  text-align: right;
}
.route-table td.col-saving {
  color: hsl(var(--accent));
  font-family: 'JetBrainsMono', monospace;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.route-table tbody tr {
  transition: background 220ms ease;
}
.route-table tbody tr:hover {
  background: hsl(var(--surface));
}
.route-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================
   Process steps — Bespoke page (large numbered editorial steps)
   ============================================ */

.process {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}
.process-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
}
.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid hsl(var(--rule));
}
.process-step:last-child {
  border-bottom: 1px solid hsl(var(--rule));
}
@media (min-width: 900px) {
  .process-step {
    grid-template-columns: 2fr 4fr 6fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}
.process-step-num {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 200;
  font-style: italic;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.85;
  color: hsl(var(--accent));
  letter-spacing: -0.04em;
}
.process-step-title {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  text-wrap: balance;
}
.process-step-meta {
  margin-top: 1.25rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.process-step-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: hsl(var(--muted));
  max-width: 56ch;
}
.process-step-body p { margin-bottom: 1rem; }
.process-step-body p:last-child { margin-bottom: 0; }

/* ============================================
   Country grid — Work Abroad page
   ============================================ */

.countries {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  background: hsl(var(--surface));
}
.countries-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
}
.country-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: hsl(var(--rule));
  border: 1px solid hsl(var(--rule));
  margin-top: 3rem;
}
@media (min-width: 600px) { .country-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .country-grid { grid-template-columns: repeat(3, 1fr); } }

.country {
  position: relative;
  background: hsl(var(--bg));
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
  transition: background 380ms var(--ease-soft);
}
.country:hover {
  background: hsl(var(--ink));
  color: hsl(var(--bg));
}
.country:hover .country-name { color: hsl(var(--bg)); }
.country:hover .country-key,
.country:hover .country-meta-key { color: hsl(var(--bg) / 0.6); }
.country:hover .country-meta-val { color: hsl(var(--bg)); }
.country:hover .country-flag { color: hsl(var(--accent)); }

.country-name {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  line-height: 1;
  margin-bottom: 0.4rem;
  transition: color 280ms ease;
}
.country-key {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  display: block;
  margin-bottom: 1.25rem;
  transition: color 280ms ease;
}
.country-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.country-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.85rem;
}
.country-meta-key {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.country-meta-val {
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 0.95rem;
  color: hsl(var(--ink));
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.country-flag {
  font-family: 'EditorialNew', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: hsl(var(--muted));
  align-self: start;
  transition: color 280ms ease;
}

/* ============================================
   Fee / spec table — Work Abroad transparent fees
   ============================================ */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-family: 'NeueMontreal', system-ui, sans-serif;
}
.spec-table th,
.spec-table td {
  padding: 1.4rem 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--rule));
  vertical-align: baseline;
}
.spec-table th {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  font-weight: 500;
  border-bottom: 1px solid hsl(var(--ink) / 0.3);
}
.spec-table td.spec-name {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: hsl(var(--ink));
}
.spec-table td.spec-fee {
  font-family: 'JetBrainsMono', monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: hsl(var(--ink));
  font-weight: 500;
  white-space: nowrap;
}
.spec-table td.spec-time {
  font-family: 'JetBrainsMono', monospace;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--muted));
  font-size: 0.9rem;
}
.spec-table caption {
  text-align: left;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  padding-bottom: 1rem;
}
.spec-wrap {
  overflow-x: auto;
}

/* ============================================
   Inline checklist (Work Abroad — what we handle)
   ============================================ */

.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 0;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .checklist { grid-template-columns: 1fr 1fr; gap: 0.85rem 2.5rem; }
}
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(var(--ink));
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed hsl(var(--rule));
}
.checklist li::before {
  content: '\2713';
  color: hsl(var(--accent));
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(0.05em);
}

/* ============================================
   Inline CTA strip — between sections
   ============================================ */

.cta-strip {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  background: hsl(var(--bg));
  border-top: 1px solid hsl(var(--rule));
}
.cta-strip-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .cta-strip-inner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}
.cta-strip h3 {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: hsl(var(--ink));
  text-wrap: balance;
  max-width: 28ch;
}
.cta-strip h3 em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}

/* ============================================
   Destinations gallery — asymmetric editorial grid
   Each tile spans 1 or 2 columns and 1 or 2 rows for masonry-feel.
   ============================================ */

.gallery {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}
.gallery-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 2rem 1.5rem;
}
@media (min-width: 800px)  { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  scroll-margin-top: 6rem; /* anchor offset for fixed nav */
}
.tile-media {
  position: relative;
  overflow: hidden;
  background: hsl(var(--surface));
}
.tile-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1400ms var(--ease-editorial), filter 700ms var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-media img { transform: scale(1.05); }
}
.tile-numeral {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: 'EditorialNew', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  color: hsl(var(--bg));
  mix-blend-mode: difference;
  z-index: 2;
}
.tile-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--rule));
}
.tile-name {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: hsl(var(--ink));
  line-height: 1.1;
}
.tile-region {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  text-align: right;
}
.tile-meta {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: hsl(var(--muted));
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

/* Asymmetric tile spans (desktop only) */
@media (min-width: 1200px) {
  .tile { grid-column: span 2; }
  .tile .tile-media { aspect-ratio: 4 / 5; }

  /* Featured / hero tiles */
  .tile.is-feature      { grid-column: span 3; }
  .tile.is-feature .tile-media { aspect-ratio: 4 / 5; }
  .tile.is-wide         { grid-column: span 3; }
  .tile.is-wide .tile-media    { aspect-ratio: 16 / 11; }
  .tile.is-tall         { grid-column: span 2; }
  .tile.is-tall .tile-media    { aspect-ratio: 3 / 4; }
}
@media (min-width: 800px) and (max-width: 1199px) {
  .tile { grid-column: span 2; }
  .tile .tile-media { aspect-ratio: 4 / 5; }
  .tile.is-wide { grid-column: span 4; }
  .tile.is-wide .tile-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 799px) {
  .tile .tile-media { aspect-ratio: 4 / 5; }
}

/* Region filter pills */
.region-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block: 2rem 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--rule));
}
.region-pill {
  appearance: none;
  border: 1px solid hsl(var(--ink) / 0.18);
  background: transparent;
  color: hsl(var(--ink));
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.region-pill:hover {
  border-color: hsl(var(--ink));
}
.region-pill[aria-pressed="true"] {
  background: hsl(var(--ink));
  color: hsl(var(--bg));
  border-color: hsl(var(--ink));
}

/* Tile filter dim-out */
.tile[data-region]:not(.is-active) {
  display: none;
}

/* ============================================
   About page — story dek, oversized counters, team cards
   ============================================ */

.story {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}
.story-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
}
.story-dek {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  max-width: 28ch;
  text-wrap: balance;
}
.story-dek em { color: hsl(var(--accent)); font-weight: 400; }

/* Stat strip (used sparingly — once on About) */
.stats {
  background: hsl(var(--surface));
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem);
}
.stats-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 700px)  { .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; } }
@media (min-width: 1100px) { .stats-inner { grid-template-columns: repeat(4, 1fr); gap: 4rem; } }

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid hsl(var(--ink) / 0.2);
  padding-top: 1.5rem;
}
.stat-key {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.stat-val {
  font-family: 'EditorialNew', Georgia, serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: hsl(var(--ink));
  font-variant-numeric: tabular-nums;
}
.stat-val small {
  font-size: 0.45em;
  font-style: italic;
  color: hsl(var(--accent));
  margin-left: 0.1em;
  letter-spacing: 0;
}
.stat-foot {
  font-size: 0.875rem;
  color: hsl(var(--muted));
  line-height: 1.45;
  max-width: 28ch;
}

/* Team grid */
.team {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}
.team-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
  margin-top: 3rem;
}
@media (min-width: 700px)  { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 4rem 3rem; } }

.member {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.member-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: hsl(var(--surface));
  filter: grayscale(100%) contrast(1.05);
  transition: filter 800ms var(--ease-editorial);
}
@media (hover: hover) and (pointer: fine) {
  .member:hover .member-portrait { filter: grayscale(0%) contrast(1); }
}
.member-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.member-name {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: hsl(var(--ink));
  line-height: 1;
}
.member-name em {
  font-style: italic;
  font-weight: 300;
  color: hsl(var(--accent));
}
.member-role {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.member-bio {
  font-size: 0.95rem;
  line-height: 1.55;
  color: hsl(var(--muted));
  margin-top: 0.5rem;
}
.member-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid hsl(var(--rule));
}
.member-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.member-meta-key {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.member-meta-val {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1rem;
  color: hsl(var(--ink));
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Contact page — info block + map + small form
   ============================================ */

.contact {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
}
.contact-inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1000px) {
  .contact-inner {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: start;
  }
}

.contact-info {
  /* Mobile: 2-column grid (matches What We Do).
     Desktop (≥1000px): single-column stack alongside the form, since
     the page splits 5fr/7fr at that breakpoint. */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 1000px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--rule));
}
.contact-block h3 {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.contact-block p,
.contact-block address,
.contact-block a {
  font-family: 'EditorialNew', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: hsl(var(--ink));
  font-style: normal;
  text-decoration: none;
  display: block;
}
.contact-block a:hover {
  color: hsl(var(--accent));
}
.contact-block .small {
  font-family: 'NeueMontreal', system-ui, sans-serif;
  font-size: 0.95rem;
  color: hsl(var(--muted));
  line-height: 1.55;
}

/* Map plate */
.map-plate {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: hsl(var(--surface));
  overflow: hidden;
  border: 1px solid hsl(var(--rule));
}
.map-plate iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Match the editorial palette by slightly desaturating + warming the OSM tiles */
  filter: grayscale(45%) sepia(8%) saturate(115%) brightness(1.02);
}
.map-cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}

/* Office hours table on contact */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-family: 'NeueMontreal', system-ui, sans-serif;
}
.hours td {
  padding: 0.75rem 0;
  border-bottom: 1px dashed hsl(var(--rule));
  font-size: 0.95rem;
}
.hours td:first-child {
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted));
}
.hours td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--ink));
}

/* ============================================
   Reveal animations (IntersectionObserver-driven)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-soft),
              transform 900ms var(--ease-soft),
              filter 900ms var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-mask {
  --mask: 100%;
  -webkit-clip-path: inset(0 var(--mask) 0 0);
  clip-path: inset(0 var(--mask) 0 0);
  transition: clip-path 1100ms var(--ease-editorial),
              -webkit-clip-path 1100ms var(--ease-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-mask.is-visible {
  --mask: 0%;
}

.reveal-image {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1200ms var(--ease-editorial),
              -webkit-clip-path 1200ms var(--ease-editorial);
}
.reveal-image.is-visible {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

/* Custom cursor — removed at user request. Native system cursor in use. */
.cursor-dot, .cursor-label { display: none !important; }

/* Edge-flush utilities — collapse the gap between adjacent sections,
   but leave the form itself a small breathing margin so the submit row
   doesn't feel cramped against the footer. */
.flush-bottom .request-inner { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.foot.flush-top              { padding-top: 0; }
/* On flush-top footer, also hide the giant "Travel, considered." masthead
   so the form flows directly into the contact/services columns. */
.foot.flush-top .foot-display { display: none; }
.foot.flush-top .foot-grid    { padding-top: 3rem; border-top: 0; }

/* ============================================
   Parallax media — declarative
   ============================================ */

[data-parallax] {
  will-change: transform;
}

/* ============================================
   Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-mask, .reveal-image {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
  }
  .cursor-dot { display: none !important; }
}

/* ============================================
   Touch / coarse-pointer overrides
   ============================================ */

@media (hover: none) or (pointer: coarse) {
  .cursor-dot { display: none !important; }
}

/* ============================================
   Skip-to-content link
   ============================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: hsl(var(--ink));
  color: hsl(var(--bg));
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  z-index: 10000;
  transition: top 200ms var(--ease-soft);
}
.skip-link:focus {
  top: 1rem;
}

/* ============================================
   PHASE 6 — Polish pass
   Mobile fixes, a11y, print, no-JS, error states
   ============================================ */

/* --- 6a. Mobile fixes --- */

/* Tabbed form: stack tabs vertically on small screens, hide indicator */
@media (max-width: 700px) {
  .request-main {
    border-radius: 28px;
    border-width: 4px;
    padding: 1.5rem 1.25rem;
  }
  .request-tabs {
    flex-direction: column;
    border-bottom: 0;
    margin-bottom: 1.5rem;
  }
  .request-tab {
    width: 100%;
    border-bottom: 1px solid hsl(var(--rule));
    padding: 0.85rem 0;
  }
  .request-tab[aria-selected="true"] {
    background: hsl(var(--accent) / 0.08);
    padding-left: 1rem;
    border-left: 2px solid hsl(var(--accent));
    border-radius: 0 12px 12px 0;
  }
  .request-tab-indicator { display: none; }
  .request-form { grid-template-columns: 1fr; }
  .field--full { grid-column: span 1; }
  .request-submit-row { flex-direction: column; align-items: stretch; }
  .request-submit-row .btn-editorial { justify-content: center; }
}

/* Hero: tablet stack — wordmark is too wide to live on the same row
   as the rail + CTA below ~1000px, so collapse to vertical stack. */
@media (max-width: 999px) {
  .hero-top {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: clamp(0.75rem, 2vw, 1.5rem);
  }
  /* Headline drops to its own row spanning the full width */
  .hero-headline {
    grid-column: 1 / -1;
    justify-self: end;
    text-align: right;
    font-size: clamp(2.5rem, 9vw, 6rem);
    margin-top: 0.5rem;
  }
}

/* Hero: phone — full vertical stack, type clipping prevention */
@media (max-width: 600px) {
  .hero-headline {
    font-size: clamp(2.5rem, 13vw, 4.5rem);
    max-width: 100%;
    text-align: left;
    justify-self: start;
  }
  /* Plane on phones: centered horizontally, pushed down past the wordmark.
     Position is owned by the wrapper, not the inner img. */
  .hero-plane-wrap {
    width: clamp(180px, 55vw, 320px);
    top: 50%;
    left: 50%;
    margin-left: calc(clamp(180px, 55vw, 320px) / -2);
  }
  .hero-plane {
    opacity: 0.7;
  }
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .hero-scrollcue { justify-self: start; }

  /* Top row: stack everything vertically on phones */
  .hero-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-cta { justify-self: start; padding: 0.55rem 0.9rem; }

  .hero-marquee { bottom: clamp(5rem, 9vh, 7rem); }

  /* Emba Text overlay sits above the hero edge on desktop (top: -40px).
     Pull it back down on phones so the wordmark is visible. */
  .hero-emba-text {
    top: clamp(70px, 11vh, 120px);
    width: 92%;
    margin-left: -40%;
  }

  /* Pills row on phones: tighter, allow wrap, smaller pills */
  .hero-jump {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }
  .hero-pill {
    padding: 0.45rem 0.75rem 0.45rem 0.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }
}

/* Service cards on small phones: tighter inner padding so the 2-col
   grid (640px+) doesn't crush titles into orphaned words. */
@media (max-width: 479px) {
  .service { padding: 1.25rem 1rem 1.25rem; }
  .service-title { font-size: 1.05rem; }
  .service-desc { font-size: 0.85rem; }
}

/* Service-page hero: stack on mobile, smaller plate */
@media (max-width: 800px) {
  .svc-hero {
    padding-top: clamp(7rem, 13vh, 9rem);
  }
  .svc-hero-media {
    aspect-ratio: 4 / 3;
  }
}

/* Doors stack: ensure media doesn't overshrink */
@media (max-width: 899px) {
  .door-media {
    min-height: 50vh;
  }
}

/* Country grid: tighter padding on mobile */
@media (max-width: 599px) {
  .country {
    padding: 1.5rem;
    grid-template-columns: 1fr;
  }
  .country-flag {
    justify-self: end;
    margin-top: -2.5rem;
  }
}

/* Process steps: keep numeral large but body legible */
@media (max-width: 899px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .process-step-num {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }
}

/* Footer display masthead: don't blow out */
@media (max-width: 700px) {
  .foot-display {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }
  .foot-display-tag {
    width: 100%;
    border-top: 1px solid hsl(var(--rule));
  }
}

/* Section heads: stack on mobile */
@media (max-width: 899px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Gallery hero on small viewports */
@media (max-width: 600px) {
  .gallery-grid { gap: 1.5rem 1rem; }
  .region-bar { gap: 0.4rem; }
  .region-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }
}

/* Contact: map shrinks gracefully */
@media (max-width: 600px) {
  .map-plate { aspect-ratio: 1 / 1; }
}

/* Stats: prevent number overflow */
@media (max-width: 480px) {
  .stat-val { font-size: clamp(2.5rem, 12vw, 4rem); }
}

/* iOS input zoom prevention — never below 16px */
@media (max-width: 768px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

/* --- 6b. Accessibility --- */

/* Forced-colors mode (Windows High Contrast) — keep brand readable */
@media (forced-colors: active) {
  .btn-editorial { border: 1px solid CanvasText; }
  .editorial-link::after { background: CanvasText; }
  .service-icon, .destination-numeral, .door-marker {
    forced-color-adjust: auto;
  }
}

/* Focus visibility — sienna ring at sensible offset for the light pill surface */
.request :where(a, button):focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 3px;
}
.request :where(input, textarea, select):focus-visible {
  /* Inputs already render their own focus glow via box-shadow; suppress
     the duplicate native outline so it doesn't double up. */
  outline: none;
}

/* Touch target minimum sizes (44×44 per WCAG 2.5.8) */
.foot-link-list a,
.contact-block a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.region-pill {
  min-height: 36px;
}

/* Visually hidden helper (for sr-only) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- 6c. No-JS fallback --- */

/* Tabs: when JS off, all panels stay visible (let the form still work) */
.no-js .request-panel { display: block !important; }
.no-js .request-panel + .request-panel {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--rule));
}
.no-js .request-tabs { display: none; }

/* Reveal classes: just show everything */
.no-js .reveal,
.no-js .reveal-mask,
.no-js .reveal-image,
.no-js .motif {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  stroke-dashoffset: 0 !important;
}

.no-js .cursor-dot { display: none !important; }

.no-js [data-parallax] { transform: none !important; }

/* No-JS notice on form */
.no-js .request-form::before {
  content: 'Forms work without JavaScript — your submission will open your email client.';
  display: block;
  grid-column: 1 / -1;
  font-family: 'JetBrainsMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  padding: 0.85rem 1.25rem;
  border: 1px solid hsl(var(--accent) / 0.4);
  margin-bottom: 1.5rem;
}

/* --- 6d. Print stylesheet --- */

@media print {
  *, *::before, *::after {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  body {
    font-family: Georgia, serif;
    font-size: 11pt;
    line-height: 1.5;
  }
  #site-nav, .skip-link, .cursor-dot, .nav-drawer,
  .cta-strip, .request, .destinations-track, .destinations-progress,
  .hero-plane, .hero-veil, .hero-scrollcue,
  .region-bar, .request-tabs {
    display: none !important;
  }
  .hero, .svc-hero {
    min-height: auto !important;
    padding: 1cm 0 !important;
  }
  .hero-media img,
  .svc-hero-media img,
  .door-media img,
  .destination-media img,
  .tile-media img,
  .member-portrait img,
  .bring-list-media img {
    max-width: 12cm;
    max-height: 8cm;
    object-fit: contain;
  }
  h1, h2, h3 {
    page-break-after: avoid;
    color: black !important;
  }
  h1 em, h2 em, h3 em { color: #444 !important; font-style: italic; }
  .door, .process-step, .country, .tile, .service, .member, .stat {
    page-break-inside: avoid;
  }
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.85em;
    color: #555 !important;
  }
  a[href^='#']::after,
  a[href^='/']::after { content: ''; }
  .foot-display { font-size: 24pt !important; }
  .foot-grid { display: block !important; }
  .foot-grid > div { margin-bottom: 1cm; }
}

/* --- 6e. Form error / loading states --- */

.field input:invalid:not(:placeholder-shown),
.field select:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: hsl(0 60% 60%);
  box-shadow: 0 8px 16px -8px hsl(0 60% 60% / 0.25);
}
.field input:invalid:not(:placeholder-shown):focus {
  border-color: hsl(0 70% 58%);
  box-shadow:
    0 10px 22px -8px hsl(0 70% 58% / 0.32),
    0 0 0 3px hsl(0 70% 58% / 0.12);
}

button[type="submit"][disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* --- 6f. Image loading skeleton (prevents layout flash) --- */

img:not([src]),
img[src=""] {
  background: hsl(var(--surface));
  min-height: 200px;
}

/* --- 6g. Selection on dark surfaces --- */

[data-palette="dark"] ::selection {
  background: hsl(var(--accent));
  color: hsl(var(--ink));
}
.request ::selection {
  background: hsl(var(--accent) / 0.85);
  color: #ffffff;
}

/* ============================================
   7. LANGUAGE SWITCHER
   Floating Google-Translate-driven selector.
   Ported 1:1 from Cathedral Travel Agency Proj/style.css so the
   design, sizing, and behaviour are identical.
   ============================================ */

/* Suppress Google's banner & body offset */
.goog-te-banner-frame, iframe.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }

#lang-switch{
  position: fixed; right: 12px; bottom: 12px; z-index: 99999; width: 260px;
  font-family:"Noto Sans","Noto Sans Ethiopic",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  transition: all 0.3s ease;
}
.gt-panel{
  background:#fff; border:1px solid #e5e7eb; border-radius:12px; box-shadow:0 10px 28px rgba(0,0,0,.14);
  height:25vh; overflow-y:auto; padding:8px; display:flex; flex-direction:column; gap:6px;
  transition: all 0.3s ease;
}
.gt-item{ display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:8px; cursor:pointer; white-space:nowrap }
.gt-item:hover{ background:#f3f4f6 }
.gt-flag{ width:20px; height:14px; background-size:cover; background-position:center; border-radius:2px; flex:none }

/* Language selector states */
.lang-selector-expanded .gt-panel {
  height: 25vh;
  opacity: 1;
  visibility: visible;
}

.lang-selector-collapsed {
  width: 60px;
  height: 60px;
}

.lang-selector-collapsed .gt-panel {
  height: 60px;
  width: 60px;
  padding: 8px;
  overflow: hidden;
}

.lang-selector-collapsed .gt-item {
  display: none;
}

.lang-selector-collapsed .gt-item.selected {
  display: flex;
  justify-content: center;
  padding: 8px;
}

.lang-selector-collapsed .gt-item.selected .gt-flag {
  width: 24px;
  height: 18px;
}

.lang-selector-collapsed .gt-item.selected span:not(.gt-flag) {
  display: none;
}

/* Bottom language dropdown button */
.bottom-lang-dropdown {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 99999;
}

.bottom-lang-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 25px;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Noto Sans", "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.bottom-lang-button:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

.bottom-lang-button .gt-flag {
  width: 20px;
  height: 14px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  flex: none;
}

.bottom-lang-button .lang-name {
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.bottom-lang-button i {
  color: #64748b;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.bottom-lang-button:hover i {
  transform: rotate(180deg);
}

/* Dropdown for collapsed state */
.lang-dropdown {
  position: fixed;
  bottom: 82px;
  right: 12px;
  z-index: 99998;
  width: 260px;
  max-height: 300px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  overflow-y: auto;
  transition: all 0.3s ease;
}

.lang-dropdown.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.lang-dropdown-content {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-dropdown-item:hover {
  background: #f3f4f6;
}

.lang-dropdown-item .gt-flag {
  width: 20px;
  height: 14px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  flex: none;
}

/* Scroll-based visibility */
.lang-selector-hidden {
  display: none !important;
}

@media (max-width: 640px) {
  #lang-switch{
    width: 25%;
  }
}
