/* =========================================================================
   Everest Guides International - one-page mockup
   Plain CSS, no build step. Maps 1:1 to a WordPress block theme:
   tokens below -> theme.json settings; sections -> template parts / patterns.

   Shape system: buttons, chips, inputs-as-pills = full pill.
                 cards, media, panels = 16px. text inputs = 10px.
   Accents come from the logo, each with one job:
     gold = summits and primary actions (the logo's summit dot),
     teal = routes, progress and active states (the logo's trail line).
   z-index scale: base 0-6 (hero layers), header 50, altimeter 40, menu 60, skip 100.
   ========================================================================= */

/* Self-hosted variable fonts (OFL), one file each */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #EEF2F5;          /* glacier snow, cool not cream */
  --bg-2: #E3E9EE;
  --paper: #F7F9FA;
  --field: #FFFFFF;
  --ink: #12314A;         /* logo navy */
  --ink-2: #32455A;
  --muted: #556577;
  --line: rgba(18, 49, 74, .12);
  --line-strong: rgba(18, 49, 74, .24);

  --night: #0B1D2E;
  --night-2: #112A40;
  --night-3: #18324A;
  --ice: #A9BFD1;
  --snow: #EEF2F5;

  --gold: #C9954A;        /* primary buttons (navy text), summit markers */
  --gold-hi: #D9A85F;     /* gold on dark */
  --gold-text: #8A6328;   /* gold as text on light */
  --teal: #399892;        /* route lines, progress */
  --teal-hi: #4FB3AC;     /* teal on dark */
  --teal-text: #1F6F6A;   /* teal as text on light */
  --error: #B42318;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(18, 49, 74, .35);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1624;
    --bg-2: #0F2034;
    --paper: #0F2034;
    --field: #0B1A2B;
    --ink: #E8EEF3;
    --ink-2: #C5D2DE;
    --muted: #9AABBD;
    --line: rgba(232, 238, 243, .12);
    --line-strong: rgba(232, 238, 243, .26);
    --night: #07131F;
    --night-2: #0E2234;
    --night-3: #152B41;
    --teal-text: #4FB3AC;
    --gold-text: #D9A85F;
    --error: #FF8A7A;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1624; --bg-2: #0F2034; --paper: #0F2034; --field: #0B1A2B;
  --ink: #E8EEF3; --ink-2: #C5D2DE; --muted: #9AABBD;
  --line: rgba(232, 238, 243, .12); --line-strong: rgba(232, 238, 243, .26);
  --night: #07131F; --night-2: #0E2234; --night-3: #152B41;
  --teal-text: #4FB3AC; --gold-text: #D9A85F; --error: #FF8A7A; color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  font-stretch: 115%;
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -.028em;
  max-width: 18ch;
  text-wrap: balance;
}
.section-title--light { color: var(--snow); }
.section-lead { margin-top: 20px; max-width: 52ch; color: var(--muted); font-size: 1.075rem; }
.section-lead--light { color: var(--ice); }

/* split-word reveal: words get wrapped by JS */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w__i { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15.5px; font-stretch: 106%;
  letter-spacing: .005em; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
  will-change: transform;
}
.btn i { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: #12314A; }
.btn--gold:hover { background: #D9A85F; }
.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.icon-btn {
  width: 48px; height: 48px; border-radius: 999px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink);
  font-size: 19px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s, transform .2s;
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--light { border-color: rgba(255, 255, 255, .28); color: var(--snow); }
.icon-btn--light:hover { background: var(--snow); color: var(--night); border-color: var(--snow); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 23, 38, .55);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transition: opacity .4s var(--ease), background-color .4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-day { color: var(--ink); }
.site-header.is-day::before { background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  position: relative; height: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__badge { width: 46px; height: 46px; border-radius: 50%; }
.brand__name { display: grid; font-size: 13.5px; line-height: 1.05; font-weight: 760; font-stretch: 118%; letter-spacing: .05em; text-transform: uppercase; }
.brand__name span { font-size: 10px; font-weight: 600; letter-spacing: .26em; opacity: .78; margin-top: 3px; }
.nav { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding-block: 6px; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.site-header__end { display: flex; align-items: center; gap: 14px; }
.alt-mini { display: none; font-family: var(--mono); font-size: 12.5px; opacity: .85; font-variant-numeric: tabular-nums; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.menu-toggle__bar { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle__bar:nth-of-type(1) { top: 18px; }
.menu-toggle__bar:nth-of-type(2) { top: 24px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(1) { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night); color: var(--snow);
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  display: flex; align-items: flex-end;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu nav { display: grid; gap: 6px; width: 100%; }
.mobile-menu a {
  font-size: clamp(2rem, 9vw, 3rem); font-stretch: 118%; font-weight: 700; letter-spacing: -.02em;
  padding-block: 6px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .2s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .25s; color: var(--gold-hi); }

/* ---------- altimeter ----------
   Checkpoints are evenly spaced, one per section, so the marker always sits on
   the checkpoint of the section in view. The teal trail and gold dot echo the
   route line in the logo. */
.altimeter {
  --h: min(58vh, 520px);
  position: fixed; z-index: 40;
  right: 30px; top: 50%;
  height: var(--h); width: 14px;
  transform: translateY(-50%);
  color: #fff;
  transition: color .5s var(--ease);
}
.altimeter.is-day { color: var(--ink); }
.altimeter__track { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: currentColor; opacity: .16; }
.altimeter__trail {
  position: absolute; left: 50%; bottom: 0; width: 2px; height: 100%; margin-left: -1px; border-radius: 2px;
  background: var(--teal); transform-origin: bottom; transform: scaleY(0);
}
.altimeter__camps { position: absolute; inset: 0; }
.altimeter__camps li { position: absolute; left: 50%; width: 0; height: 0; }
.altimeter__camps button {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
}
.altimeter__camps button::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid currentColor; background: var(--dot-bg, transparent);
  opacity: .55; transition: background-color .4s, border-color .4s, opacity .4s, transform .4s var(--ease);
}
.altimeter__camps li.is-passed button::before { background: var(--teal); border-color: var(--teal); opacity: 1; }
.altimeter__camps button:hover::before { opacity: 1; transform: scale(1.25); }
.altimeter__tip {
  position: absolute; right: 26px; top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font-family: var(--mono); font-size: 11.5px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--night); color: var(--snow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.altimeter__camps button:hover .altimeter__tip, .altimeter__camps button:focus-visible .altimeter__tip { opacity: 1; transform: translate(0, -50%); }
.altimeter__marker {
  position: absolute; left: 50%; top: 0; width: 0; height: 0;
  will-change: transform; pointer-events: none;
}
.altimeter__marker::before {
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 28%, transparent);
}
.altimeter__readout {
  position: absolute; right: 22px; top: 0; transform: translateY(-50%);
  display: grid; justify-items: end; gap: 1px;
  font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.altimeter__value { font-size: 12.5px; font-weight: 500; }
.altimeter__camp { font-size: 11px; opacity: 0; transform: translateY(-3px); transition: opacity .4s, transform .5s var(--ease); }
.altimeter.show-camp .altimeter__camp { opacity: .75; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: #241d3c;
  isolation: isolate;
}
.hero__stage { position: absolute; inset: 0; }
.hero__frame {
  position: absolute; left: 50%; top: 58%;
  width: max(100%, 150svh, 960px);
  aspect-ratio: 3 / 2;
  translate: -50% -58%;
  container-type: inline-size;
  transform-origin: 44% 42%;
  animation: pushin 28s ease-in-out infinite alternate;
}
@keyframes pushin { from { scale: 1; } to { scale: 1.05; } }
.hero__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__sky { z-index: 0; object-fit: cover; transform: scale(1.06); }
.hero__stars { z-index: 1; height: 50%; opacity: .9; }
.hero__number {
  z-index: 2;
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 19%;
  pointer-events: none;
}
.hero__number > span {
  font-size: 15cqw;
  font-weight: 760; font-stretch: 125%;
  letter-spacing: -.035em; line-height: .8;
  /* overlay lets the dusk sky show through the digits instead of a flat grey fill */
  color: rgba(255, 255, 255, .5);
  mix-blend-mode: overlay;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}
.hero__ridge { z-index: 3; object-fit: cover; transform: scale(1.06); }
.hero__glow {
  z-index: 4;
  background: radial-gradient(closest-side, rgba(255, 128, 72, .55), rgba(255, 96, 48, .18) 45%, transparent 75%);
  width: 12%; height: 18%; inset: auto; left: 37.8%; top: 35.5%;
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
.hero__mist { z-index: 5; pointer-events: none; overflow: hidden; }
.hero__mist i {
  position: absolute; left: -20%; width: 140%; height: 16%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(214, 222, 255, .16), transparent 70%);
  filter: blur(10px);
}
.hero__mist i:nth-child(1) { top: 53%; animation: drift 46s ease-in-out infinite alternate; }
.hero__mist i:nth-child(2) { top: 61%; height: 12%; animation: drift 64s ease-in-out -20s infinite alternate-reverse; opacity: .8; }
.hero__shade {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 12, 28, .5), transparent 22%),
    linear-gradient(to top, rgba(8, 11, 22, .9) 0%, rgba(8, 11, 22, .55) 28%, transparent 55%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  padding-bottom: clamp(28px, 6vh, 64px);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-hi);
}
.hero__eyebrow::before { content: ""; width: 28px; height: 1.5px; border-radius: 2px; background: var(--gold-hi); }
.hero.is-ready .hero__eyebrow[data-hero-fade] { transition-delay: .15s; }
.hero__title {
  font-size: clamp(2.5rem, 4.7vw, 4.75rem);
  font-stretch: 112%;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 12.6em;
  text-wrap: balance;
}
.hero__sub { margin-top: 22px; max-width: 44ch; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* hero intro (CSS-driven so it survives without GSAP) */
.js .hero__title .w__i { transform: translateY(105%); }
.js [data-hero-fade] { opacity: 0; transform: translateY(18px); }
.js .hero__number > span { opacity: 0; letter-spacing: .05em; translate: 0 18%; }
.hero.is-ready .hero__title .w__i { transform: none; transition: transform 1.2s var(--ease); transition-delay: calc(.25s + var(--i, 0) * .06s); }
.hero.is-ready [data-hero-fade] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: .9s; }
.hero.is-ready .hero__ctas[data-hero-fade] { transition-delay: 1.05s; }
.hero.is-ready .hero__number > span { opacity: 1; letter-spacing: -.035em; translate: 0 0; transition: opacity 2.4s var(--ease), letter-spacing 2.6s var(--ease), translate 2.4s var(--ease); }

@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

/* ---------- about ---------- */
.about { padding-block: clamp(96px, 13vw, 180px) clamp(96px, 11vw, 160px); }
.about__statement {
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  font-stretch: 104%;
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -.018em;
  max-width: 24em;
  text-wrap: pretty;
}
.about__statement .sw { color: color-mix(in srgb, var(--ink) 56%, var(--bg)); }
.no-js .about__statement .sw, .reduced .about__statement .sw { color: inherit; }
.about__grid {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  align-items: start;
}
.about__photo { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--tall { grid-column: 1 / 7; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.about__photo--small { grid-column: 8 / 12; grid-row: 1; aspect-ratio: 4 / 3; margin-top: 64px; }
.stats { grid-column: 7 / 13; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-left: clamp(0px, 4vw, 56px); align-self: end; }
.stats__item { border-top: 1px solid var(--line-strong); padding-top: 16px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { color: var(--muted); font-size: 15px; max-width: 18ch; }
.stats dd { font-size: clamp(3.2rem, 6vw, 5.4rem); font-stretch: 122%; font-weight: 700; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* ---------- peaks / ridge ---------- */
.peaks {
  position: relative;
  background:
    radial-gradient(80% 60% at 70% 0%, rgba(240, 108, 64, .1), transparent 60%),
    radial-gradient(60% 60% at 10% 30%, rgba(120, 150, 210, .1), transparent 70%),
    var(--night);
  color: var(--snow);
  padding-block: clamp(96px, 11vw, 150px);
  overflow: hidden;
}
.range { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.range__scroller {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.range__scroller::-webkit-scrollbar { display: none; }
.range__scroller.is-dragging { cursor: grabbing; }
.range__scroller:focus-visible { outline-offset: -4px; }
.range__svg { display: block; height: clamp(320px, 54vh, 500px); overflow: visible; user-select: none; }
.range__guide { stroke: rgba(169, 191, 209, .22); stroke-dasharray: 2 7; }
.range__guide-label { fill: rgba(169, 191, 209, .6); font-family: var(--mono); font-size: 10px; }
.range__rim { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.range__region { fill: rgba(169, 191, 209, .65); font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.range__map { position: relative; margin-top: 18px; height: 40px; cursor: pointer; }
.range__mini { display: block; width: 100%; height: 100%; overflow: visible; }
.range__mini path { fill: rgba(169, 191, 209, .16); stroke: rgba(169, 191, 209, .5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.range__mini circle { fill: var(--ice); }
.range__mini circle.is-active { fill: var(--gold-hi); }
.range__lens {
  position: absolute; top: -5px; bottom: -5px; left: 0; width: 10%;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 8px;
  background: rgba(255, 255, 255, .05); pointer-events: none;
}

.peak { cursor: pointer; outline: none; }
.peak__hit { fill: transparent; }
.peak__stem { stroke: rgba(238, 242, 245, .32); stroke-width: 1; transition: stroke .3s; }
.peak__dot { fill: var(--night); stroke: var(--snow); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.peak__ring { fill: none; stroke: var(--gold-hi); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.peak__name { fill: var(--snow); font-family: var(--font); font-size: 13px; font-weight: 650; font-stretch: 108%; text-anchor: middle; opacity: .82; transition: fill .3s, opacity .3s; }
.peak__alt { fill: rgba(169, 191, 209, .8); font-family: var(--mono); font-size: 10.5px; text-anchor: middle; transition: fill .3s; }
.peak:hover .peak__name, .peak:focus-visible .peak__name { opacity: 1; }
.peak:hover .peak__dot, .peak:focus-visible .peak__dot { stroke: var(--gold-hi); }
.peak:focus-visible .peak__dot { stroke-width: 3; }
.peak.is-active .peak__name { opacity: 1; fill: #fff; }
.peak.is-active .peak__alt { fill: var(--gold-hi); }
.peak.is-active .peak__stem { stroke: var(--gold-hi); }
.peak.is-active .peak__dot { fill: var(--gold-hi); stroke: var(--gold-hi); }
.peak.is-active .peak__ring { animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }

.peak-card {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 1.15fr 1fr;
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.peak-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-3); }
.peak-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peak-card__body { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; }
.peak-card__region { font-family: var(--mono); font-size: 12.5px; color: var(--teal-hi); }
.peak-card__name { margin-top: 10px; font-size: clamp(2.1rem, 3.8vw, 3.4rem); font-stretch: 116%; font-weight: 720; letter-spacing: -.03em; line-height: 1; }
.peak-card__facts { margin-top: 26px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; }
.peak-card__facts dt { font-size: 13px; color: var(--ice); }
.peak-card__facts dd { font-family: var(--mono); font-size: 17px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.peak-card__note { margin-top: 22px; color: rgba(238, 242, 245, .78); max-width: 44ch; }
.peak-card__actions { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.peak-card__step { display: flex; gap: 8px; }
.peak-card [data-swap] { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.peak-card.is-swapping [data-swap] { opacity: 0; transform: translateY(8px); }
.peaks__aside { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: var(--ice); font-size: 15px; }
.peaks__aside i { font-size: 20px; color: var(--gold-hi); }

/* ---------- departures board ----------
   Airport-board look (dark panels, centre split, flip on change) but each field
   is one panel of normally spaced text, so it reads like a list. */
.departures { padding-block: clamp(96px, 11vw, 150px); }
.departures__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.segmented {
  position: relative; display: inline-flex; padding: 4px; gap: 2px;
  border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line);
}
.segmented button { position: relative; z-index: 1; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.segmented button[aria-selected="true"] { color: var(--bg); }
.segmented__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }

.board {
  margin-top: 40px;
  padding: clamp(14px, 2vw, 24px);
  border-radius: var(--radius);
  background: #0C1A28;
  color: #F1F4F7;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.board__head, .board__row {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr) 80px 152px 124px;
  column-gap: 8px;
  align-items: stretch;
}
.board__head { padding: 2px 0 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8FA3B6; }
.board__head span { padding-left: 16px; }
.board__rows { display: grid; gap: 6px; }
.board__row { font-family: var(--mono); font-size: 16px; position: relative; border-radius: 10px; transition: background-color .3s; }
.board__row:hover { background: rgba(255, 255, 255, .03); }
.cell {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 52px; padding: 0 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #172738 0 50%, #132232 50% 100%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .03);
  letter-spacing: .03em; font-weight: 500;
  white-space: nowrap;
  transform-origin: center;
}
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .26); }
.cell--name { font-family: var(--font); font-size: 17px; font-weight: 600; font-stretch: 106%; letter-spacing: .01em; }
.cell--days { justify-content: center; }
.cell--status.is-open { color: var(--teal-hi); }
.cell--status.is-few { color: var(--gold-hi); }
.cell--status.is-wait { color: #8FA3B6; }
.cell.is-flipping { animation: flipcell .42s var(--ease); }
@keyframes flipcell { 0% { transform: rotateX(0); } 40% { transform: rotateX(-82deg); filter: brightness(.55); } 100% { transform: rotateX(0); } }
.board__go {
  align-self: center; justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 18px; margin-left: 6px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--font); font-size: 14px; font-weight: 600; color: #F1F4F7;
  transition: background-color .3s, color .3s, border-color .3s;
}
.board__go i { font-size: 16px; transition: transform .4s var(--ease); }
.board__go:hover { background: var(--gold); border-color: var(--gold); color: #12314A; }
.board__go:hover i { transform: translateY(3px); }
.board__foot { margin-top: 16px; font-size: 12.5px; color: #8FA3B6; }
.board__more { display: block; margin: 18px auto 4px; min-height: 44px; padding: 8px 20px; border: 1px solid rgba(169, 191, 209, .4); border-radius: 999px; color: var(--snow); font: 12px var(--mono); }
.board__more:hover { border-color: var(--teal-hi); color: var(--teal-hi); }
.board__detail { grid-column: 1 / -1; padding: 8px 16px 10px; font: 12px/1.6 var(--font); color: #AFC0CF; }
.board__empty { padding: 20px 16px; font: 15px/1.7 var(--font); color: #C5D2DE; }
.board__empty .board__go { margin: 12px 0 0; }
.board__row .cell--name { white-space: normal; }
@media (max-width: 760px) { .board__row .board__detail { grid-column: 1 / -1; grid-row: 3; padding-top: 4px; } }

/* ---------- treks ---------- */
.treks { padding-block: 0 clamp(96px, 11vw, 150px); }
.treks__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.treks__nav { display: flex; gap: 10px; }
.trek-track {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  margin-top: 40px;
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 4px var(--pad) 8px;
  scrollbar-width: none;
  cursor: grab;
}
.trek-track::-webkit-scrollbar { display: none; }
.trek-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.trek-track.is-dragging .trek { pointer-events: none; }
.trek {
  position: relative; flex: 0 0 clamp(272px, 27vw, 390px);
  aspect-ratio: 4 / 5.3;
  border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start;
  color: #fff; background: var(--bg-2);
  isolation: isolate;
  user-select: none;
}
.trek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.trek::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 14, 24, .88), rgba(8, 14, 24, .2) 48%, transparent 70%); }
.trek:hover img { transform: scale(1.06); }
.trek__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.trek h3 { font-size: 1.6rem; font-stretch: 112%; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.trek__desc {
  margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .82);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .7s var(--ease), opacity .5s var(--ease), margin .7s var(--ease);
}
.trek:hover .trek__desc, .trek:focus-within .trek__desc { max-height: 6em; opacity: 1; }
.trek__meta { margin-top: 14px; display: flex; gap: 18px; font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, .9); }
.trek-progress { margin-top: 28px; height: 1px; background: var(--line-strong); position: relative; }
.trek-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(.2); border-radius: 2px; }

/* ---------- destinations / strips ---------- */
.destinations { padding-block: 0 clamp(96px, 11vw, 150px); }
.strips { margin-top: 40px; display: flex; gap: 10px; height: clamp(440px, 64vh, 620px); }
.strip {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: var(--radius); overflow: hidden;
  color: #fff; cursor: pointer; isolation: isolate;
  transition: flex-grow .9s var(--ease);
}
.strip.is-open { flex-grow: 4.6; cursor: default; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.12); transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.7) brightness(.85); }
.strip.is-open img { transform: scale(1); filter: none; }
.strip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 14, 24, .82), rgba(8, 14, 24, .1) 55%); }
.strip__body { position: absolute; left: 0; bottom: 0; padding: clamp(18px, 2.4vw, 32px); width: max(100%, 380px); }
.strip h3 { font-size: 1.15rem; font-stretch: 112%; font-weight: 700; letter-spacing: -.01em; transition: font-size .7s var(--ease); white-space: nowrap; }
.strip.is-open h3 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.03em; }
.strip p { margin-top: 10px; max-width: 34ch; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease); }
.strip.is-open p { opacity: 1; transform: none; transition-delay: .35s; }

/* ---------- why / bento ---------- */
.why { padding-block: 0 clamp(96px, 11vw, 150px); }
.bento {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(300px, auto) minmax(300px, auto);
  gap: 16px;
}
.bento__cell { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.bento__cell h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); font-stretch: 112%; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.bento__cell p { margin-top: 10px; max-width: 40ch; font-size: 15.5px; }
.bento__cell:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
.bento__cell:nth-child(2) { grid-column: 7 / 13; grid-row: 1; }
.bento__cell:nth-child(3) { grid-column: 7 / 10; grid-row: 2; }
.bento__cell:nth-child(4) { grid-column: 10 / 13; grid-row: 2; }
.bento__cell--photo { color: #fff; }
.bento__cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.bento__cell--photo:hover img { transform: scale(1.04); }
.bento__cell--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 14, 24, .9), rgba(8, 14, 24, .35) 55%, transparent 85%); }
.bento__cell--photo p { color: rgba(255, 255, 255, .85); }
.bento__cell--night { background: var(--night-2); color: var(--snow); display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto auto; column-gap: 28px; align-items: end; }
.bento__cell--night h3 { grid-column: 2; }
.bento__cell--night p { grid-column: 2; color: var(--ice); }
.bento__cell--night .seal { grid-row: 1 / 4; align-self: center; }
.bento__cell--tint { background: var(--bg-2); }
.bento__cell--tint p { color: var(--muted); }
.bento__icon { font-size: 34px; color: var(--gold-text); margin-bottom: auto; }

.seal { position: relative; width: clamp(120px, 12vw, 168px); aspect-ratio: 1; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal text { font-family: var(--mono); font-size: 13.2px; letter-spacing: .18em; fill: var(--ice); }
.seal img { width: 56%; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- stories ---------- */
.stories { position: relative; color: #fff; padding-block: clamp(120px, 15vw, 200px); overflow: hidden; isolation: isolate; background: var(--night); }
.stories__bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 50% 18%; z-index: -2; }
.stories::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 16, 30, .9) 20%, rgba(8, 16, 30, .55)); }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.quote p { font-size: clamp(1.75rem, 3.5vw, 3.25rem); font-stretch: 106%; font-weight: 500; line-height: 1.16; letter-spacing: -.02em; max-width: 22em; text-wrap: balance; }
.quote-names { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 980px; }
.quote-names button { position: relative; text-align: left; padding-top: 18px; display: grid; gap: 2px; opacity: .55; transition: opacity .4s; }
.quote-names button[aria-selected="true"], .quote-names button:hover { opacity: 1; }
.quote-names strong { font-weight: 650; font-stretch: 108%; font-size: 16px; }
.quote-names span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.quote-names i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .25); }
.quote-names i::after { content: ""; position: absolute; inset: -1px 0; background: var(--teal-hi); transform: scaleX(0); transform-origin: left; }
.quote-names button[aria-selected="true"] i::after { animation: fill var(--quote-ms, 7000ms) linear forwards; }
.quote-names.is-paused button[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- plan / form ---------- */
.plan { padding-block: clamp(96px, 11vw, 150px); }
.plan__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: stretch; }
.plan__aside { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 640px; color: #fff; isolation: isolate; }
.plan__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.plan__aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 14, 24, .92) 10%, rgba(8, 14, 24, .2) 60%, rgba(8, 14, 24, .35)); }
.plan__aside-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); }
.plan__title { font-size: clamp(2rem, 3.3vw, 3.1rem); font-stretch: 115%; font-weight: 720; letter-spacing: -.03em; line-height: 1.02; max-width: 12ch; }
.contact-person { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.contact-person strong { font-size: 19px; font-weight: 760; font-stretch: 118%; letter-spacing: .03em; text-transform: uppercase; }
.contact-person span { padding: 3px 11px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 600; font-stretch: 106%; }
.contact { margin-top: 16px; display: grid; gap: 12px; font-size: 15.5px; }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact i { font-size: 19px; color: var(--gold-hi); }
.contact a { border-bottom: 1px solid rgba(255, 255, 255, .25); transition: border-color .3s; }
.contact a:hover { border-color: #fff; }

.form { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); }
.form__state { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 24%, transparent); }
.field.has-error input { border-color: var(--error); }
.field__help { font-size: 13.5px; color: var(--muted); }
.field__error { font-size: 13.5px; color: var(--error); font-weight: 500; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select i { position: absolute; right: 16px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.field--inline { grid-template-columns: 1fr auto; align-items: center; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 46px; padding: 3px; background: var(--field); }
.stepper button { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; transition: background-color .2s; }
.stepper button:hover { background: var(--bg-2); }
.stepper input { width: 44px; text-align: center; border: 0; background: transparent; font-family: var(--mono); font-size: 16px; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper input:focus { outline: none; }
[data-submit].is-loading { pointer-events: none; opacity: .85; }
[data-submit].is-loading i { animation: send .9s var(--ease) infinite; }
@keyframes send { 50% { transform: translate(6px, -6px); opacity: .3; } }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 14px; font-weight: 500; color: var(--error); }
.form__error a { text-decoration: underline; text-underline-offset: 2px; }
.form__done { min-height: 100%; display: grid; place-content: center; justify-items: start; gap: 12px; padding-block: 40px; }
.form__done > i { font-size: 48px; color: var(--teal-text); }
.form__done h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 112%; font-weight: 720; letter-spacing: -.02em; }
.form__done p { color: var(--muted); max-width: 40ch; }
.form__done .btn { margin-top: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--snow); padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.footer__head {
  display: grid; grid-template-columns: auto minmax(0, 720px);
  justify-content: space-between; align-items: end; gap: 32px;
}
.footer__badge { width: clamp(96px, 9vw, 132px); height: auto; border-radius: 50%; }
.footer__summit { position: relative; min-width: 0; }
.footer__ridge {
  width: 100%; height: auto; display: block; overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.footer__ridge .ridge-rim { fill: none; stroke: rgba(238, 242, 245, .5); stroke-width: 1; stroke-linejoin: round; }
.footer__ridge .ridge-front { fill: #0B1D2E; }
.footer__ridge .trail { fill: none; stroke: var(--teal-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.footer__ridge .summit-dot { fill: var(--gold-hi); }
.footer__ridge .summit-halo { fill: none; stroke: var(--gold-hi); stroke-width: 1.2; opacity: .45; }
.footer__reached { text-align: right; margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--gold-hi); }
.footer__word { margin-top: clamp(32px, 5vw, 64px); font-weight: 800; font-stretch: 125%; letter-spacing: -.04em; line-height: .86; white-space: nowrap; font-size: min(5vw, 64px); color: var(--snow); }
.footer__cols { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__cols h2 { font-size: 13px; font-weight: 600; color: var(--ice); margin-bottom: 14px; }
.footer__cols a, .footer__cols p { display: block; font-size: 15px; padding-block: 4px; color: rgba(238, 242, 245, .86); }
.footer__cols a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 18px; padding: 0; transition: background-color .3s, color .3s; }
.socials a:hover { background: var(--snow); color: var(--night); }
.footer__base { margin-top: 64px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--ice); }
.footer__base a:hover { color: #fff; }

/* ---------- generic reveal (JS sets from-state) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- responsive ---------- */
/* keep a rail free for the altimeter where the wrap would otherwise touch it */
@media (min-width: 1181px) and (max-width: 1640px) {
  .wrap, .hero__content { padding-right: calc(var(--gutter) + 64px); }
}
@media (max-width: 1180px) {
  .altimeter { display: none; }
  .alt-mini { display: inline; }
  .nav { gap: 24px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .about__photo--tall { grid-column: 1 / 8; }
  .about__photo--small { grid-column: 8 / 13; }
  .stats { grid-column: 1 / 13; grid-row: 3; padding-left: 0; grid-template-columns: repeat(4, 1fr); }
  .peak-card { grid-template-columns: 1fr; }
  .bento__cell:nth-child(1) { grid-column: 1 / 13; grid-row: auto; min-height: 420px; }
  .bento__cell:nth-child(2) { grid-column: 1 / 13; grid-row: auto; }
  .bento__cell:nth-child(3) { grid-column: 1 / 7; grid-row: auto; }
  .bento__cell:nth-child(4) { grid-column: 7 / 13; grid-row: auto; }
  .bento { grid-template-rows: none; }
  .plan__grid { grid-template-columns: 1fr; }
  .plan__aside { min-height: 520px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header .btn--sm { display: none; }
  .brand__name { font-size: 11px; }
  .hero { min-height: 600px; }
  /* phones: lift the range into the top half so copy sits on the dark moraine */
  .hero__frame { width: max(100%, 190svh); top: 0; translate: -50% -14%; }
  /* phones: the full "8,848" sized to the screen, tucked behind Everest and Nuptse */
  .hero__number { padding-top: 26.5%; }
  /* full 8,848.86, sized to the screen width; decimals smaller so it fits */
  .hero__number > span { font-size: 20.5vw; font-stretch: 116%; letter-spacing: -.03em; }
  /* decimals ride high, like a superscript, so Nuptse never covers them as the camera pushes in */
  .hero__dec { font-size: .5em; letter-spacing: -.02em; vertical-align: top; position: relative; top: -.04em; }
  .hero__eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
  .hero__shade { background: linear-gradient(to bottom, rgba(10, 12, 28, .5), transparent 16%), linear-gradient(to top, rgba(8, 11, 22, .96) 0%, rgba(8, 11, 22, .8) 46%, rgba(8, 11, 22, .35) 60%, transparent 72%); }
  .hero__content { gap: 20px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(2.45rem, 11.4vw, 3.1rem); line-height: .98; }
  .hero__sub { font-size: 1rem; margin-top: 16px; color: rgba(255, 255, 255, .78); }
  .hero__ctas { margin-top: 24px; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 10px; }
  .hero__ctas .btn { --h: 50px; padding: 0 20px; font-size: 15px; }
  .hide-sm { display: none; }
  .footer__head { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
  .footer__summit { width: 100%; }
  .about__grid { grid-template-columns: 1fr; gap: 16px; }
  .about__photo--tall, .about__photo--small, .stats { grid-column: 1; grid-row: auto; }
  .about__photo--small { margin-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 24px; }
  .peak-card__facts { grid-template-columns: repeat(3, auto); gap: 8px 20px; }
  .departures__bar { align-items: flex-start; flex-direction: column; }
  .board { padding: 12px; }
  .board__head { display: none; }
  .board__rows { gap: 16px; }
  .cell::after { opacity: .6; }
  .board__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date status" "name name"; gap: 4px; font-size: 14px; }
  .board__row .cell--date { grid-area: date; }
  .board__row .cell--status { grid-area: status; }
  .board__row .cell--name { grid-area: name; font-size: 16px; }
  .board__row .cell--days { display: none; }
  .cell { min-height: 44px; padding: 0 12px; }
  /* whole row is the tap target on phones */
  .board__row .board__go { position: absolute; inset: 0; margin: 0; height: auto; border: 0; border-radius: 6px; opacity: 0; }
  .range__svg { height: clamp(250px, 36vh, 320px); }
  .treks__head { align-items: flex-start; flex-direction: column; }
  .treks__nav { display: none; }
  .trek__desc { opacity: 1; max-height: 6em; }
  .strips { flex-direction: column; height: auto; }
  .strip { flex: 0 0 76px; transition: flex-basis .8s var(--ease); }
  .strip.is-open { flex: 0 0 360px; }
  .strip__body { width: 100%; }
  .bento__cell:nth-child(n) { grid-column: 1 / 13; }
  .bento__cell--night { grid-template-columns: 1fr; }
  .bento__cell--night h3, .bento__cell--night p { grid-column: 1; }
  .bento__cell--night .seal { grid-row: auto; margin-bottom: 24px; width: 120px; }
  .quote-names { grid-template-columns: 1fr; gap: 12px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__cols > div:nth-child(n+3) { grid-column: 1 / -1; }
  .footer__cols > div:nth-child(3) a { display: inline-block; margin-right: 20px; }
  .footer__base { flex-direction: column; }
}

/* short phones: the peaks sit higher relative to the number, so lift it clear of Nuptse */
@media (max-width: 767px) and (max-height: 720px) {
  .hero__number { padding-top: 22.5%; }
}

/* ---------- copy deterrents (preview link only: build-site.sh sets data-preview) ---------- */
[data-preview] body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
[data-preview] input, [data-preview] textarea, [data-preview] select { -webkit-user-select: text; user-select: text; }
[data-preview] img, [data-preview] svg, [data-preview] canvas { -webkit-user-drag: none; user-drag: none; }
@media print {
  [data-preview] body > * { display: none !important; }
  [data-preview] body::before { content: "This is a private preview. Printing is disabled."; display: block; padding: 40px; font: 16px system-ui, sans-serif; color: #000; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .hero__title .w__i, .js [data-hero-fade], .js .hero__number > span { transform: none; translate: none; opacity: 1; letter-spacing: -.035em; }
  .hero__glow { opacity: .8; }
  .seal svg { animation: none; }
  .hero__frame { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .btn--glass, .site-header::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn--glass { background: rgba(16, 20, 40, .7); }
}
.stories__note { margin-top: 32px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
