/* =============================================================
   Brave Line Travel — design system & layout
   Mobile-first. Dominant navy, warm cream neutral, coral + teal
   accents, yellow used sparingly for highlights.
   ============================================================= */

:root {
  /* Color */
  --navy-950: #061126;
  --navy-900: #0b1b34;
  --navy-800: #13284b;
  --navy-700: #1f3b66;
  --cream: #fbf6ee;
  --sand: #f3eadb;
  --white: #ffffff;
  --coral: #ff6a45;
  --coral-hover: #ff825f;
  --coral-ink: #b23a17; /* coral text on light bg (≥ 4.5:1) */
  --teal: #2ec4b6;
  --teal-ink: #0b6e69; /* teal text on light bg (≥ 4.5:1) */
  --yellow: #ffc845;
  --ink: #0b1b34;
  --muted: #475570;
  --line: rgba(11, 27, 52, 0.1);

  /* Focus ring — overridden to yellow on dark surfaces */
  --focus: #0b6e69;

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape & depth */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 52, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(11, 27, 52, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 52, 0.35);

  /* Layout */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --nav-h: 68px; /* condensed (scrolled) header */
  --nav-h-top: 76px; /* header over the hero */
  --topbar-h: 36px; /* utility bar above the header (collapses on scroll) */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  :root {
    --nav-h-top: 84px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
}
body.menu-open {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
main:focus {
  outline: none;
}

/* ---------- Accessibility helpers ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 0.85rem 1.25rem;
  background: var(--yellow);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: none;
  outline: 3px solid var(--navy-900);
}

/* Dark surfaces get a yellow focus ring */
.hero,
.trips,
.final-cta,
.footer,
.nav:not(.nav--light) {
  --focus: var(--yellow);
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 1rem;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
}
.section-head--center .kicker::before {
  display: none;
}
.kicker--light {
  color: var(--teal);
}
.section-title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
}
.section-lede {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 38rem;
}
.section-head--center .section-lede {
  margin-inline: auto;
}
.text-accent {
  color: var(--coral-ink);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--coral);
  --btn-fg: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn__icon {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.btn:hover .btn__icon {
  transform: translateX(3px);
}
.btn--primary:hover {
  --btn-bg: var(--coral-hover);
  box-shadow: 0 12px 28px -10px rgba(255, 106, 69, 0.75);
}
.btn--glass {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--navy-900);
  border-color: var(--white);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--outline:hover {
  --btn-bg: var(--navy-900);
  --btn-fg: var(--white);
}
.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--navy-900);
}
.btn--light:hover {
  --btn-bg: var(--yellow);
}
.btn--sm {
  min-height: 46px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
}
.btn--lg {
  min-height: 58px;
  padding: 1rem 1.9rem;
  font-size: 1.125rem;
}
.btn--block {
  width: 100%;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

/* ---------- Logo ---------- */
/* Registered so the mark's colors can fade (unregistered custom properties snap) */
@property --logo-tile {
  syntax: '<color>';
  inherits: true;
  initial-value: #0b1b34;
}
@property --logo-line {
  syntax: '<color>';
  inherits: true;
  initial-value: #ff6a45;
}
@property --logo-dot {
  syntax: '<color>';
  inherits: true;
  initial-value: #ffc845;
}

/* Lockup: mark + "Brave Line" wordmark with a tracked "TRAVEL" descriptor.
   Stacked so the full brand fits beside the phone + menu buttons at 320px. */
.logo {
  --logo-tile: var(--navy-900);
  --logo-tile-stroke: transparent;
  --logo-line: var(--coral);
  --logo-dot: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy-900);
  transition:
    color 0.25s ease,
    --logo-tile 0.25s ease,
    --logo-line 0.25s ease,
    --logo-dot 0.25s ease;
}
.logo__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition:
    width 0.25s var(--ease),
    height 0.25s var(--ease);
}
.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}
.logo__sub {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.8;
}
/* Over the hero photo: solid white tile, navy route line, coral destination */
.logo--inverted {
  --logo-tile: #ffffff;
  --logo-line: var(--navy-900);
  --logo-dot: var(--coral);
  color: var(--white);
}
/* Over light sections the bar turns white: switch to the primary navy mark */
.nav--light .logo--inverted {
  --logo-tile: var(--navy-900);
  --logo-line: var(--coral);
  --logo-dot: var(--yellow);
  color: var(--navy-900);
}

/* ---------- Icons (inline SVG sprite) ---------- */
.i {
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.btn .i,
.trip-card__link .i,
.trip-card__region .i,
.trips__note .i,
.faq__icon .i {
  stroke-width: 2.3;
}

/* ---------- Navigation ----------
   State classes (set by js/main.js):
   .nav--solid       background visible + condensed height (after scrolling / menu open)
   .nav--light       light theme (white bar, navy text) over light sections; otherwise navy/white
   .nav--open        mobile/tablet menu is open
   .nav--cta-hidden  header CTA collapsed while the hero's own buttons are visible
   Desktop ≥1024: 3-column grid so the links sit on the true page center. */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  --nav-fg: var(--white);
  --nav-fg-muted: rgba(255, 255, 255, 0.82);
  --nav-chip: rgba(255, 255, 255, 0.14);
  --nav-chip-hover: rgba(255, 255, 255, 0.24);
}
.nav--light {
  --nav-fg: var(--navy-900);
  --nav-fg-muted: var(--navy-700);
  --nav-chip: rgba(11, 27, 52, 0.06);
  --nav-chip-hover: rgba(11, 27, 52, 0.12);
}
/* Frosted solid background lives on a pseudo-element: a backdrop-filter on
   .nav itself would become the containing block for the fixed menu. */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(11, 27, 52, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px -24px rgba(0, 0, 0, 0.6);
  transition:
    opacity 0.25s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.nav--light::before {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(11, 27, 52, 0.08);
  box-shadow: 0 12px 32px -24px rgba(11, 27, 52, 0.45);
}
.nav--open::before {
  background: var(--navy-900);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
/* Legibility gradient behind white links while the header floats over photos */
.nav::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: calc(140px + var(--topbar-h));
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 17, 38, 0.55) 0%, rgba(6, 17, 38, 0.22) 55%, transparent 100%);
  transition: opacity 0.25s ease;
}
.nav--solid::before {
  opacity: 1;
}
.nav--solid::after {
  opacity: 0;
}
/* ----- Utility top bar ----- */
.topbar {
  height: var(--topbar-h);
  overflow: hidden;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    height 0.3s var(--ease),
    opacity 0.2s ease,
    visibility 0s linear 0s;
}
.nav--solid .topbar {
  height: 0;
  opacity: 0;
  visibility: hidden;
  border-bottom-width: 0;
  transition:
    height 0.3s var(--ease),
    opacity 0.2s ease,
    visibility 0s linear 0.3s;
}
.nav--open .topbar {
  transition: none;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: var(--topbar-h);
}
.topbar__item {
  display: none;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.topbar__center {
  display: inline-flex;
}
.topbar__center .i {
  color: var(--coral);
}
.topbar__long {
  display: none;
}
.topbar__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.topbar__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  animation: topbar-pulse 2.4s ease-out infinite;
}
@keyframes topbar-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
.topbar__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar__links a:hover {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topbar__links .i {
  color: var(--teal);
}
@media (min-width: 768px) {
  .topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .topbar__item {
    display: inline-flex;
  }
  .topbar__links {
    justify-self: end;
  }
}
@media (min-width: 1024px) {
  .topbar__long {
    display: inline;
  }
  .topbar__short {
    display: none;
  }
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--nav-h-top);
  transition: height 0.25s var(--ease);
}
.nav--solid .nav__inner {
  height: var(--nav-h);
}
.nav__brand {
  display: inline-flex;
  text-decoration: none;
  border-radius: 12px;
}

/* ----- Desktop links ----- */
.nav__desktop {
  display: none;
  position: relative;
}
.nav__list {
  display: flex;
  gap: clamp(0.25rem, 1.2vw, 1rem);
}
.nav__item {
  position: relative;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--nav-fg-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav__link:hover,
.nav__link[aria-current='true'],
.nav__trigger[aria-expanded='true'] {
  color: var(--nav-fg);
}
.nav__chevron {
  transition: transform 0.25s var(--ease);
}
.nav__trigger[aria-expanded='true'] .nav__chevron {
  transform: rotate(180deg);
}
/* The single gliding indicator (JS sets --x and --w) */
.nav__indicator {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  opacity: 0;
  transform-origin: left;
  transform: translateX(var(--x, 0)) scaleX(var(--w, 0));
  transition:
    transform 0.35s var(--ease),
    opacity 0.2s ease;
  pointer-events: none;
}
.nav__indicator.is-visible {
  opacity: 1;
}
/* No-JS fallback: per-link underline on hover */
.no-js .nav__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

/* ----- Trips dropdown ----- */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 400px;
  padding: 0.75rem;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(11, 27, 52, 0.4), 0 4px 12px rgba(11, 27, 52, 0.06);
  transform: translateX(-50%);
  opacity: 1;
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease);
  --focus: var(--teal-ink);
}
/* Hover bridge so the pointer can travel from the trigger into the panel */
.dropdown::before {
  content: '';
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.dropdown[hidden] {
  display: none;
}
.dropdown.is-entering,
.dropdown.is-leaving {
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
}
.dropdown__eyebrow {
  padding: 0.5rem 0.75rem 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.dropdown__link:hover,
.dropdown__link:focus-visible {
  background: var(--cream);
}
.dropdown__link img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
}
.dropdown__text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.dropdown__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.dropdown__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.35;
}
.dropdown__tag {
  margin-left: auto;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-900);
}
.dropdown__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 48px;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
  --focus: var(--yellow);
}
.dropdown__all:hover {
  background: var(--navy-700);
}
.dropdown__all .i {
  color: var(--coral);
  transition: transform 0.25s var(--ease);
}
.dropdown__all:hover .i {
  transform: translateX(3px);
}

/* ----- Actions: phone · CTA · menu ----- */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--nav-chip);
  color: var(--nav-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.nav__phone:hover {
  background: var(--nav-chip-hover);
}
/* Icon-only until there's room for the number */
.nav__phone-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nav__cta {
  display: none;
  min-height: 44px;
  max-width: 220px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9375rem;
  gap: 0.45rem;
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.35s var(--ease),
    padding 0.35s var(--ease),
    margin 0.35s var(--ease),
    opacity 0.25s ease,
    visibility 0s linear 0s,
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.2s ease;
}
/* With JS, start collapsed (no flash at load) until the hero observer has run */
.nav--cta-hidden .nav__cta,
.js .nav:not(.nav--cta-ready) .nav__cta {
  max-width: 0;
  padding-inline: 0;
  margin-left: -0.5rem;
  border-width: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    max-width 0.35s var(--ease),
    padding 0.35s var(--ease),
    margin 0.35s var(--ease),
    opacity 0.2s ease,
    visibility 0s linear 0.35s;
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 44px;
  height: 44px;
  padding: 0 0.95rem 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.nav--light .nav__toggle {
  background: var(--navy-900);
  color: var(--white);
}
.nav__toggle .i-close,
.nav__toggle[aria-expanded='true'] .i-open {
  display: none;
}
.nav__toggle[aria-expanded='true'] .i-close {
  display: inline-block;
}
/* Without JS the menu button can't work, so hide it (footer links still cover every section) */
.no-js .nav__toggle {
  display: none;
}

/* ----- Mobile / tablet menu ----- */
.menu[hidden] {
  display: none;
}
.menu {
  --focus: var(--yellow);
}
.menu__backdrop {
  display: none;
}
.menu__sheet {
  position: fixed;
  inset: var(--nav-h) 0 0;
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  color: var(--white);
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease);
}
.menu__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem var(--gutter) 1.5rem;
}
.menu__item + .menu__item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Staggered entrance */
.menu__item,
.menu__feature {
  transition:
    opacity 0.4s ease calc(var(--i, 0) * 40ms + 60ms),
    transform 0.45s var(--ease) calc(var(--i, 0) * 40ms + 60ms);
}
.menu:not(.is-open) .menu__sheet {
  opacity: 0;
}
.menu:not(.is-open) .menu__item,
.menu:not(.is-open) .menu__feature {
  opacity: 0;
  transform: translateY(10px);
  transition-delay: 0ms;
}
.menu__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
.menu__num {
  min-width: 1.75rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--coral);
}
.menu__text {
  display: grid;
  gap: 0.2rem;
}
.menu__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.menu__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}
/* Current section: text pill + color, never color alone */
.menu__current {
  display: none;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.menu__link[aria-current='true'] .menu__current {
  display: inline-block;
}
.menu__link[aria-current='true'] .menu__title {
  color: var(--yellow);
}
.menu__chevron {
  margin-left: auto;
  opacity: 0.45;
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease);
}
.menu__link:hover .menu__chevron {
  opacity: 1;
  transform: translateX(3px);
}
.menu__feature {
  position: relative;
  display: block;
  margin-top: 1.25rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  text-decoration: none;
  color: var(--white);
  isolation: isolate;
}
.menu__feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.menu__feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 17, 38, 0.05) 20%, rgba(6, 17, 38, 0.85) 100%);
}
.menu__feature:hover img {
  transform: scale(1.05);
}
.menu__feature-body {
  position: absolute;
  left: 1.25rem;
  right: 4.5rem;
  bottom: 1.1rem;
  display: grid;
  gap: 0.2rem;
}
.menu__feature-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.menu__feature-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}
.menu__feature-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--navy-900);
}
.menu__actions {
  flex-shrink: 0;
  display: grid;
  gap: 0.75rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--navy-950);
}
.menu__buttons {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}
.menu__buttons .btn {
  min-height: 52px;
}
.menu__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.menu__meta a {
  color: rgba(255, 255, 255, 0.88);
  text-underline-offset: 3px;
}

/* ----- Sticky quick-action bar (below 1024px) ----- */
.action-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -12px rgba(11, 27, 52, 0.45);
  transform: translateY(0);
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s ease,
    visibility 0s linear 0s;
}
.action-bar[hidden] {
  display: none;
}
.action-bar.is-hidden {
  transform: translateY(calc(100% + 1.5rem));
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s ease,
    visibility 0s linear 0.35s;
}
.action-bar .btn {
  min-height: 48px;
  padding-block: 0.6rem;
}
.action-bar__call {
  padding-inline: 1.1rem;
}

@media (max-width: 359.98px) {
  /* Very narrow phones: keep "Menu"/"Close" as the accessible name, show the icon only */
  .nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .nav__toggle {
    padding: 0;
    width: 44px;
  }
  .logo__text {
    font-size: 1.2rem;
  }
}
@media (min-width: 560px) {
  .nav__cta {
    display: inline-flex;
  }
  .action-bar {
    left: 50%;
    right: auto;
    width: 420px;
    margin-left: -210px;
  }
}

/* Tablet: right-hand drawer over a dimmed, blurred page */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .menu__backdrop {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(6, 17, 38, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
  }
  .menu:not(.is-open) .menu__backdrop {
    opacity: 0;
  }
  .menu__sheet {
    left: auto;
    width: min(420px, 100%);
    box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.6);
  }
  .menu:not(.is-open) .menu__sheet {
    opacity: 1;
    transform: translateX(100%);
  }
  .menu__scroll,
  .menu__actions {
    padding-inline: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .nav__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
  }
  .nav__brand {
    justify-self: start;
  }
  .nav__desktop {
    display: block;
  }
  .nav__actions {
    justify-self: end;
    gap: 0.75rem;
  }
  .nav--cta-hidden .nav__cta {
    margin-left: -0.75rem;
  }
  .nav__toggle,
  .menu,
  .action-bar {
    display: none !important;
  }
  /* Condense the mark along with the bar */
  .nav--solid .logo__mark {
    width: 38px;
    height: 38px;
  }
}
@media (min-width: 1200px) {
  .nav__phone,
  .nav__phone:hover {
    padding: 0 1rem 0 0.85rem;
    background: transparent;
  }
  .nav__phone:hover {
    background: var(--nav-chip);
  }
  .nav__phone-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .nav__phone .i {
    color: var(--coral);
  }
}

/* ---------- Hero ----------
   The photo is visible from the first frame (no opacity fade), so the LCP
   image and the H1 paint immediately; entrance motion is transform-only. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 0%;
  animation: hero-in 1.2s var(--ease) both;
}
@keyframes hero-in {
  from {
    transform: scale(1.04);
  }
}
/* Background video: layered over the photo, faded in once it is actually playing */
.hero__video {
  display: none;
}
.hero__video-toggle {
  display: none;
}
/* Option B (default): full-bleed background video from tablet up.
   The aerial clip keeps the hikers small and center-right, so the text column stays clear. */
@media (min-width: 768px) {
  .hero__video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    opacity: 0;
    transition: opacity 1.2s ease;
  }
  .hero--video .hero__video {
    opacity: 1;
  }
  .hero__video-toggle:not([hidden]) {
    position: absolute;
    right: var(--gutter);
    bottom: 1.5rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(6, 17, 38, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .hero__video-toggle:hover {
    background: rgba(6, 17, 38, 0.8);
  }
  .hero__video-toggle .i-play,
  .hero__video-toggle.is-paused .i-pause {
    display: none;
  }
  .hero__video-toggle.is-paused .i-play {
    display: block;
  }
  .hero__video-toggle .i {
    fill: currentColor;
    stroke-width: 0;
  }
}
/* Mobile: photo fills the top of the hero and fades into navy behind the text */
@media (max-width: 767.98px) {
  .hero__media {
    bottom: auto;
    height: 66svh;
  }
  .hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(6, 17, 38, 0.75) 0%,
      rgba(6, 17, 38, 0.1) 18%,
      rgba(6, 17, 38, 0.45) 40%,
      rgba(6, 17, 38, 0.88) 62%,
      var(--navy-900) 100%
    );
  }
}
.hero__scrim {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__content {
  position: relative;
  /* Mobile: leave the top of the photo visible, text sits on the dark lower half */
  padding-top: calc(var(--topbar-h) + var(--nav-h-top) + 26svh);
  padding-bottom: 2.5rem;
  animation: rise 0.9s 0.1s var(--ease) both;
}
@keyframes rise {
  from {
    transform: translateY(16px);
  }
}
.hero__title {
  font-size: clamp(2.9rem, 11vw, 7rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 11ch;
}
/* Eyebrow lives inside the H1 but is styled as a small pill */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: normal;
}
.hero__eyebrow-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.3);
}
.hero__underline {
  position: relative;
  display: inline-block;
  color: var(--yellow);
}
.hero__underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
  height: 0.16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11c40-7 90-9 140-6s100 5 154-3' fill='none' stroke='%23ff6a45' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  transform-origin: left;
  animation: draw 0.9s 0.6s var(--ease) both;
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}
.hero__lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Trust line + highlight chips */
.hero__meta {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.hero__host {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}
.hero__host a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.hero__host a:hover {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--coral);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 600;
}
.hero__chips .i {
  color: var(--teal);
  stroke-width: 2.3;
}

/* Floating sample-trip card (desktop only) */
.hero__card {
  display: none;
}

@media (min-width: 480px) {
  .hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (min-width: 768px) {
  .hero {
    align-items: center;
    min-height: min(100svh, 880px);
  }
  .hero__content {
    padding-top: calc(var(--topbar-h) + var(--nav-h-top) + 2.5rem);
    padding-bottom: 4rem;
  }
  .hero__scrim {
    display: block;
    background:
      linear-gradient(90deg, rgba(6, 17, 38, 0.92) 0%, rgba(6, 17, 38, 0.76) 45%, rgba(6, 17, 38, 0.15) 80%),
      linear-gradient(180deg, rgba(6, 17, 38, 0.5) 0%, transparent 25%, transparent 75%, rgba(6, 17, 38, 0.45) 100%);
  }
  .hero__media img {
    /* Must match .hero__video so the poster → video fade is seamless */
    object-position: 50% 50%;
  }
  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
  }
  .hero__host {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
}
@media (min-width: 1200px) {
  /* Top-right, over open sky/rock: clear of the faces and the bottom text row */
  .hero__card {
    position: absolute;
    right: var(--gutter);
    top: calc(var(--topbar-h) + var(--nav-h-top) + 2.5rem);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 300px;
    padding: 0.75rem 1.1rem 0.75rem 0.75rem;
    border-radius: var(--r-lg);
    /* Dark glass keeps white/yellow text readable over bright parts of any photo */
    background: rgba(6, 17, 38, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
    color: var(--white);
    text-decoration: none;
    animation: card-in 0.9s 0.5s var(--ease) both;
    transition:
      transform 0.3s var(--ease),
      background-color 0.3s ease;
  }
  .hero__card:hover {
    transform: translateY(-4px);
    background: rgba(6, 17, 38, 0.78);
  }
  .hero__card img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 16px;
    object-fit: cover;
  }
  .hero__card-body {
    display: grid;
    gap: 0.15rem;
  }
  .hero__card-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yellow);
  }
  .hero__card-title {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 800;
  }
  .hero__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
  }
  .hero__card:hover .hero__card-link .i {
    transform: translateX(3px);
  }
  .hero__card-link .i {
    transition: transform 0.25s var(--ease);
  }
}
@keyframes card-in {
  from {
    transform: translateY(16px);
  }
}
/* Shorter laptop screens (e.g. 1366×768): tighten so everything fits above the fold */
@media (min-width: 768px) and (max-height: 820px) {
  .hero__title {
    font-size: clamp(2.9rem, 11.5vh, 7rem);
  }
  .hero__eyebrow {
    margin-bottom: 1rem;
  }
  .hero__lede {
    margin-top: 1.1rem;
  }
  .hero__ctas {
    margin-top: 1.5rem;
  }
  .hero__meta {
    margin-top: 1.5rem;
  }
  .hero__content {
    padding-top: calc(var(--topbar-h) + var(--nav-h-top) + 1.75rem);
    padding-bottom: 2.5rem;
  }
  .hero__card {
    top: calc(var(--topbar-h) + var(--nav-h-top) + 1.75rem);
  }
}
@media (min-width: 1440px) and (min-height: 821px) {
  .hero__content {
    padding-block: calc(var(--topbar-h) + var(--nav-h-top) + 3.5rem) 5rem;
  }
  .hero__card {
    top: calc(var(--topbar-h) + var(--nav-h-top) + 3.5rem);
  }
}

/* ----- Hero layout v3: text + quick planner, fact band along the bottom ----- */
.hero {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Eyebrow: coral rule + tracked capitals (inside the H1) */
.hero__eyebrow {
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero__eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}
/* Service area repeats the top bar, so it only appears where there's room (≥1200) */
.hero__eyebrow-area {
  display: none;
  color: rgba(255, 255, 255, 0.72);
}
.hero__host-extra {
  display: none;
}
@media (min-width: 1200px) {
  .hero__eyebrow-area,
  .hero__host-extra {
    display: inline;
  }
}

/* Trust line + chips (now direct children of .hero__main) */
.hero__host {
  margin-top: 1.1rem;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero__host .hero__avatar {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.hero__chips {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Quick planner card (desktop) */
.planner {
  display: none;
}
@keyframes planner-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Fact band */
.hero__stats {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 17, 38, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__stats-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.hero__stats-list li {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 1rem 0.5rem;
  text-align: center;
}
.hero__stats-list li:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__stats-list li:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__stats-list strong {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.hero__stats-list span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Decorative vertical coordinates */
.hero__coords {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    min-height: min(100svh, 940px);
  }
  .hero__content {
    justify-content: center;
    padding-bottom: 2.5rem;
  }
  .hero__stats-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero__stats-list li:nth-child(n + 3) {
    border-top: 0;
  }
  .hero__stats-list li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero__stats-list li {
    padding-block: 1.15rem;
  }
  .hero__video-toggle:not([hidden]) {
    bottom: 6.5rem;
  }
  .hero__host {
    padding-right: 0;
    border-right: 0;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    column-gap: clamp(2.5rem, 5vw, 5rem);
  }
  .hero__title {
    font-size: clamp(3.25rem, 6.2vw, 6.75rem);
  }
  .planner {
    display: grid;
    gap: 0.9rem;
    padding: 1.6rem;
    border-radius: var(--r-xl);
    background: rgba(6, 17, 38, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
    color: var(--white);
    animation: card-in 0.9s 0.3s var(--ease) both;
    --focus: var(--yellow);
  }
  .planner__status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;
    padding: 0.3rem 0.75rem 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(46, 196, 182, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
  }
  .planner__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
  }
  .planner__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--teal);
    animation: planner-pulse 2.4s ease-out infinite;
  }
  .planner__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .planner__intro {
    margin-top: -0.4rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.72);
  }
  .planner__field {
    display: grid;
    gap: 0.4rem;
  }
  .planner__field label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
  }
  .planner__field select {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 2.5rem 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      no-repeat right 0.85rem center;
    appearance: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition:
      border-color 0.2s ease,
      background-color 0.2s ease;
  }
  .planner__field select:hover {
    border-color: rgba(255, 255, 255, 0.4);
  }
  .planner__field select:focus-visible {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.35);
  }
  .planner__field option {
    color: var(--navy-900);
    background: var(--white);
  }
  .planner .btn {
    margin-top: 0.3rem;
  }
  .planner__assure {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
  }
  .planner__assure li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .planner__assure .i {
    color: var(--teal);
    stroke-width: 3;
  }
}

@media (min-width: 1024px) {
  /* Outer right edge, clear of the planner card (mirrors the coordinates on the left) */
  .hero__video-toggle:not([hidden]) {
    right: 1rem;
  }
}
/* Small laptops (1024–1199): narrower planner, trim secondary text so nothing wraps */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr) 316px;
    column-gap: 2.5rem;
  }
  .planner {
    padding: 1.35rem;
    gap: 0.75rem;
  }
  .planner__title {
    font-size: 1.5rem;
  }
  /* Pause button sits in the band's right end instead of under the card */
  .hero__video-toggle:not([hidden]) {
    bottom: 1.25rem;
    z-index: 3;
  }
  .hero__stats-list {
    padding-right: 4rem;
  }
}
@media (min-width: 1360px) {
  .hero__coords {
    display: block;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    z-index: 1;
    margin: 0;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
  }
}

/* Shorter laptop screens (e.g. 1366×768): tighten spacing */
@media (min-width: 768px) and (max-height: 820px) {
  .hero__content {
    padding-bottom: 1.5rem;
  }
  .hero__chips {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
  }
  .hero__host {
    margin-top: 0.9rem;
  }
  .hero__stats-list li {
    padding-block: 0.8rem;
  }
  .planner {
    gap: 0.75rem;
    padding: 1.35rem;
  }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero__title {
    font-size: clamp(3.25rem, min(6.2vw, 10.5vh), 6.75rem);
  }
}

/* ----- Option A: split hero (add class "hero--split" to <section class="hero">) -----
   Text on solid navy (left 52%), media in a rounded frame (right 44%) that
   aligns with the container edge. Photo = first paint; video fades in over it. */
@media (min-width: 1024px) {
  .hero--split {
    --frame-r: calc(max(0px, (100% - 1280px) / 2) + var(--gutter));
    --frame-w: calc((min(100%, 1280px) - 2 * var(--gutter)) * 0.44);
    --frame-top: calc(var(--topbar-h) + var(--nav-h-top) + 1rem);
    --frame-bottom: 2.5rem;
    background:
      radial-gradient(60% 70% at 15% 40%, rgba(46, 196, 182, 0.08), transparent 70%),
      var(--navy-900);
  }
  .hero--split .hero__media {
    inset: var(--frame-top) var(--frame-r) var(--frame-bottom) auto;
    width: var(--frame-w);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--navy-800);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 40px 80px -30px rgba(0, 0, 0, 0.6);
  }
  /* Soft bottom shade so the card and pause button read over any frame */
  .hero--split .hero__media::after {
    content: '';
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(180deg, transparent, rgba(6, 17, 38, 0.55));
    pointer-events: none;
  }
  .hero--split .hero__media img {
    object-position: 58% 35%;
  }
  /* In the frame there's no text to avoid: natural orientation, framed on both hikers */
  .hero--split .hero__video {
    transform: none;
    object-position: 42% 40%;
  }
  .hero--split .hero__scrim {
    display: none;
  }
  .hero--split .hero__meta {
    display: grid;
    justify-items: start;
    gap: 1rem;
  }
  .hero--split .hero__host {
    padding-right: 0;
    border-right: 0;
  }
  /* The card is positioned against the hero (not the text column) */
  .hero--split .hero__content {
    position: static;
  }
  .hero--split .hero__content > :not(.hero__card) {
    max-width: 52%;
  }
  .hero--split .hero__title {
    font-size: clamp(3.25rem, 6.4vw, 6.5rem);
  }
  .hero--split .hero__card {
    top: auto;
    right: auto;
    left: calc(100% - var(--frame-r) - var(--frame-w) + 1.25rem);
    bottom: calc(var(--frame-bottom) + 1.25rem);
    width: min(300px, calc(var(--frame-w) - 6.5rem));
  }
  .hero--split .hero__video-toggle:not([hidden]) {
    right: calc(var(--frame-r) + 1.25rem);
    bottom: calc(var(--frame-bottom) + 1.25rem);
  }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  /* Show the card in the frame from 1024 (it is hidden below 1200 elsewhere) */
  .hero--split .hero__card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem 0.6rem 0.6rem;
    border-radius: var(--r-lg);
    background: rgba(6, 17, 38, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: var(--white);
    text-decoration: none;
  }
  .hero--split .hero__card img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
  }
  .hero--split .hero__card-body {
    display: grid;
    gap: 0.1rem;
  }
  .hero--split .hero__card-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yellow);
  }
  .hero--split .hero__card-title {
    font-family: var(--font-head);
    font-weight: 800;
  }
  .hero--split .hero__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 600;
  }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero--split .hero__title {
    font-size: clamp(3.25rem, min(6.4vw, 11.5vh), 6.5rem);
  }
  .hero--split {
    --frame-top: calc(var(--topbar-h) + var(--nav-h-top) + 0.5rem);
    --frame-bottom: 1.75rem;
  }
}

/* ---------- Why Brave Line ---------- */
.why {
  background: var(--cream);
}
.why__grid {
  display: grid;
  gap: 1rem;
}
.why__photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.why__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card {
  --tone: var(--coral);
  --tone-soft: rgba(255, 106, 69, 0.14);
  position: relative;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s ease;
}
.feature-card--teal {
  --tone: var(--teal);
  --tone-soft: rgba(46, 196, 182, 0.16);
}
.feature-card--yellow {
  --tone: #e8a800;
  --tone-soft: rgba(255, 200, 69, 0.25);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--tone-soft);
  color: var(--navy-900);
}
.feature-card__icon svg {
  color: var(--navy-900);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tone);
}
.feature-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: var(--muted);
}
.why__banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why__banner::before {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 36px solid rgba(255, 106, 69, 0.22);
}
.why__banner-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--navy-900);
}
.why__banner-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.why__banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  position: relative;
}

@media (min-width: 640px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .why__photo {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .why__banner {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 2.25rem 2.5rem;
  }
}
@media (min-width: 1024px) {
  .why__grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
  .why__photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }
  .feature-card {
    padding: 2rem;
  }
}

/* ---------- Featured trips ---------- */
.trips {
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.trips::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.22), transparent 70%);
  pointer-events: none;
}
.trips__head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.trips__intro {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  max-width: 34rem;
}
.trips__grid {
  display: grid;
  gap: 1.25rem;
}
.trips__grid > li {
  display: flex;
}
.trip-card {
  --accent: var(--coral);
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
}
.trip-card--teal {
  --accent: var(--teal);
}
.trip-card--yellow {
  --accent: var(--yellow);
}
.trip-card:hover {
  transform: translateY(-6px);
}
.trip-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-800);
}
.trip-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.trip-card:hover .trip-card__media img {
  transform: scale(1.06);
}
.trip-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: var(--accent);
}
.trip-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trip-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}
.trip-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.trip-card__category {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy-900);
}
.trip-card__region {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.trip-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.trip-card__text {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.trip-card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.trip-card__link svg {
  transition: transform 0.25s var(--ease);
}
.trip-card__link:hover {
  background: var(--coral);
  color: var(--navy-900);
}
.trip-card__link:hover svg {
  transform: translateX(3px);
}
.trips__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.trips__note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}
.trips__note svg {
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--yellow);
}

@media (min-width: 640px) {
  .trips__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 900px) {
  .trips__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 3rem;
  }
  .trips__intro {
    justify-self: end;
  }
  .trips__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .trips__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .trip-card__media {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- How it works ---------- */
.how {
  background: var(--white);
}
.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
/* The "brave line": a dashed route connecting each step */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 0;
  border-left: 3px dashed rgba(255, 106, 69, 0.55);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}
.step__marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 6px var(--white);
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--yellow);
}
.step:last-child .step__marker {
  background: var(--coral);
}
.step:last-child .step__num {
  color: var(--navy-900);
}
.step__card {
  padding: 1.5rem;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.step__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(46, 196, 182, 0.18);
  color: var(--navy-900);
}
.step__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.step__card p {
  color: var(--muted);
  font-size: 1rem;
}
.dashboard-hint {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 52rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  border: 2px dashed rgba(11, 110, 105, 0.45);
  background: rgba(46, 196, 182, 0.08);
}
.dashboard-hint__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--teal);
  color: var(--navy-900);
}
.dashboard-hint p {
  font-weight: 500;
  align-self: center;
}
.how__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 480px) {
  .how__ctas {
    flex-direction: row;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .steps::before {
    top: 27px;
    bottom: auto;
    left: 28px;
    right: calc((100% - 4.5rem) / 4 - 28px); /* stop at the last marker */
    width: auto;
    height: 0;
    border-left: 0;
    border-top: 3px dashed rgba(255, 106, 69, 0.55);
  }
  .step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .step__card {
    height: 100%;
  }
}

/* ---------- Trust + FAQ ---------- */
.trust {
  background: var(--cream);
}
.trust__layout {
  display: grid;
  gap: 3rem;
}
.trust .section-head {
  margin-bottom: 2.5rem;
}
.pillars {
  display: grid;
  gap: 1rem;
}
.pillar {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--yellow);
}
.pillar__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.pillar p {
  color: var(--muted);
  font-size: 1rem;
}

.faq {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.faq__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.faq__list {
  display: grid;
  gap: 0.75rem;
}
.faq__item {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.faq__item.is-open {
  border-color: rgba(11, 27, 52, 0.18);
  box-shadow: var(--shadow-md);
}
.faq__q {
  font-size: inherit;
  letter-spacing: normal;
}
.faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 64px;
  padding: 1.1rem 1.25rem;
  border: 0;
  background: none;
  border-radius: var(--r-md);
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
  cursor: pointer;
}
.faq__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
  transition:
    transform 0.35s var(--ease),
    background-color 0.25s ease;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--coral);
}
/* Panels only collapse when JS is available; without it every answer stays readable */
.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
}
.js .faq__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.35s var(--ease),
    visibility 0s linear 0.35s;
}
.no-js .faq__icon {
  display: none;
}
.js .faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 0.35s var(--ease),
    visibility 0s;
}
.faq__panel-inner {
  overflow: hidden;
}
.faq__panel p {
  padding: 0 1.25rem 1.35rem;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar {
    flex-direction: column;
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .trust__layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .faq {
    padding-top: 2.25rem;
  }
}

/* Final CTA */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--section-y);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 17, 38, 0.72), rgba(6, 17, 38, 0.86));
}
.final-cta__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  max-width: 18ch;
  margin-inline: auto;
}
.final-cta p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
}
.final-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 560px) {
  .final-cta__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- Contact + footer ---------- */
.footer {
  background: var(--navy-900);
  color: var(--white);
}
.contact {
  display: grid;
  gap: 3rem;
  padding-block: var(--section-y);
}
.contact__lede {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  max-width: 32rem;
}
.contact__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--teal);
}
.contact__list li > span:last-child {
  display: grid;
  font-weight: 600;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}
.contact__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.contact__list a {
  text-decoration: none;
  text-underline-offset: 4px;
}
.contact__list a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.contact-form {
  --focus: var(--teal-ink);
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.contact-form__title {
  font-size: 1.75rem;
  font-weight: 800;
}
.contact-form__hint {
  margin-top: -0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.field-row {
  display: grid;
  gap: 1.1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-weight: 600;
  font-size: 1rem;
}
.field__optional {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 2px solid #c9cfda;
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 1.0625rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1b34' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #98a2b3;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 4px rgba(11, 110, 105, 0.22);
}
.field [aria-invalid='true'] {
  border-color: #b42318;
}
.field__error[hidden] {
  display: none;
}
.field__error {
  display: flex;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #b42318;
}
.contact-form__status:empty {
  display: none;
}
.contact-form__status {
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(46, 196, 182, 0.14);
  font-weight: 500;
  font-size: 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }
}

/* What happens next (contact column) */
.next-steps {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.next-steps__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.next-steps__list {
  display: grid;
  gap: 0.9rem;
  position: relative;
}
/* Dashed "brave line" connecting the numbers */
.next-steps__list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  border-left: 2px dashed rgba(255, 106, 69, 0.5);
}
.next-steps__list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
.next-steps__list strong {
  color: var(--white);
}
.next-steps__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--coral);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--yellow);
}
.next-steps__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}
.next-steps__note .i {
  margin-top: 0.15em;
  color: var(--teal);
}

/* ---------- Footer bottom ---------- */
.footer__bottom {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(46, 196, 182, 0.08), transparent 70%),
    var(--navy-950);
}
/* Route-line divider */
.footer__route {
  position: relative;
  height: 40px;
  margin-top: 3rem;
}
.footer__route svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.footer__route path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  opacity: 0.7;
  vector-effect: non-scaling-stroke;
}
.footer__route-dot {
  position: absolute;
  right: var(--gutter);
  top: 4px;
  width: 14px;
  height: 14px;
  margin-right: -7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 200, 69, 0.18);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand {
  grid-column: 1 / -1;
}
/* Phones: the "Coming soon" column gets full width so its tags don't crowd */
@media (max-width: 767.98px) {
  .footer__col:last-child {
    grid-column: 1 / -1;
  }
}
.footer__logo {
  display: inline-flex;
  border-radius: 12px;
  text-decoration: none;
}
.footer__tagline {
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.footer__about {
  margin-top: 0.6rem;
  max-width: 26rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s var(--ease);
}
.footer__pill .i {
  color: var(--coral);
}
.footer__pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.footer__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.footer__tag {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}
.footer__list {
  display: grid;
  gap: 0.15rem;
}
.footer__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}
/* Underline that draws in on hover */
.footer__list a .i {
  color: var(--teal);
  transition:
    color 0.2s ease,
    transform 0.25s var(--ease);
}
.footer__list a:hover .i {
  color: var(--coral);
  transform: translateX(2px);
}
.footer__list a::after {
  content: '';
  position: absolute;
  left: calc(16px + 0.6rem); /* start under the text, after the icon */
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer__list a:hover {
  color: var(--white);
}
.footer__list a:hover::after {
  transform: scaleX(1);
}
.footer__list--plain li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer__list--plain .i {
  color: var(--teal);
}
.footer__list--soon li {
  justify-content: space-between;
  gap: 0.75rem;
  line-height: 1.35;
}
.footer__list--soon li::after {
  flex-shrink: 0;
  content: 'Soon';
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 200, 69, 0.14);
  color: var(--yellow);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Oversized decorative wordmark */
.footer__wordmark {
  margin-bottom: -0.18em;
  font-family: var(--font-head);
  font-size: clamp(4rem, 17vw, 15rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

.footer__legal {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 17, 38, 0.8);
}
.footer__legal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.footer__top-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    background-color 0.2s ease,
    transform 0.3s var(--ease);
}
.footer__top-icon .i {
  transform: rotate(-90deg);
}
.footer__top:hover .footer__top-icon {
  background: var(--coral);
  color: var(--navy-900);
  transform: translateY(-3px);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer__legal-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2.1fr repeat(4, 1fr);
    gap: 2rem;
    padding-top: 3rem;
  }
  .footer__brand {
    grid-column: auto;
    padding-right: 1.5rem;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Cards keep their own hover transitions after revealing */
.reveal-ready .feature-card.is-visible,
.reveal-ready .trip-card.is-visible,
.reveal-ready .step.is-visible {
  transition:
    opacity 0.8s var(--ease) var(--delay, 0ms),
    transform 0.4s var(--ease);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .btn:hover,
  .feature-card:hover,
  .trip-card:hover,
  .step__card:hover {
    transform: none;
  }
  .trip-card:hover .trip-card__media img {
    transform: none;
  }
}

/* Windows High Contrast / forced colors */
@media (forced-colors: active) {
  .btn,
  .trip-card__link,
  .faq__item,
  .feature-card,
  .step__card {
    border: 2px solid CanvasText;
  }
}
