/* ==========================================================================
   Toubkal Trekking Experts — stylesheet
   --------------------------------------------------------------------------
   1. Design tokens (EDIT COLOURS AND FONTS HERE)
   2. Base and utilities
   3. Header and altimeter
   4. Hero and trust bar
   5. Sections: tours, route, why, guides, gallery, reviews, plan, FAQ, booking
   6. Footer
   7. Motion and reduced motion
   ========================================================================== */

/* 0. FONTS (self-hosted in fonts/; download with python3 tools/fetch_fonts.py) */
@font-face {
  font-family: 'Literata'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/literata-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Literata'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(../fonts/literata-latin-wght-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/big-shoulders-display-latin-800-normal.woff2) format('woff2');
}

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Palette */
  --shale:   #1E2A2F;   /* pre-dawn ridges: text, dark sections          */
  --snow:    #EEF1F0;   /* snow in shade: page background                */
  --snow-2:  #E3E8E6;   /* slightly deeper snow for alternating sections */
  --earth:   #9C3B22;   /* pisé red: village walls, primary buttons      */
  --earth-d: #7F2E19;   /* pisé red, hover                               */
  --sun:     #E9A03B;   /* dawn saffron: altimeter, highlights on dark   */
  --sun-l:   #F2B85F;   /* saffron, hover                                */
  --walnut:  #3F5A3C;   /* Imlil walnut trees: plan section, ticks       */
  --stone:   #5E635C;   /* granite: secondary text on light              */
  --rule:    rgba(30, 42, 47, .16);

  /* Season chart colours (validated for colour-blind separation) */
  --s-win:  #5E9BD0;
  --s-best: #2F6A36;
  --s-sum:  #C98A2B;

  /* Type */
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body:    'Literata', Georgia, 'Times New Roman', serif;

  /* Type scale (fluid) */
  --t-sm:   .9rem;
  --t-base: clamp(1.02rem, .98rem + .2vw, 1.125rem);
  --t-lede: clamp(1.12rem, 1.05rem + .35vw, 1.3rem);
  --t-h3:   clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --t-h2:   clamp(2.6rem, 1.9rem + 3.6vw, 5rem);
  --t-h1:   clamp(3.2rem, min(1.6rem + 9vw, 15vh), 9rem);

  /* Layout */
  --wrap:   76rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --space:  clamp(4.5rem, 3rem + 6vw, 8.5rem); /* vertical section padding */
  --header-h: 4.5rem;
  --topbar-h: 0rem;   /* contact strip above the header (wide screens only) */
  --radius: 3px;      /* inputs */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --paper: #F8FAF9;   /* card surface on snow */
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Film grain for dark surfaces (an SVG noise tile, no image request) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --focus: var(--earth);
  --p: 0; /* climb progress 0–1, set by main.js */
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--shale);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--t-h2); text-transform: uppercase; margin-bottom: .35em; }
h3 { font-size: var(--t-h3); }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

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

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

.lede { font-size: var(--t-lede); max-width: 38em; color: var(--stone); }

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

.nw { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--sun); color: var(--shale);
  padding: .75rem 1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* PLACEHOLDER MARKER — every value you still need to replace has class="ph".
   Delete this rule once everything is filled in. */
/* Placeholder markers show only on a local preview (js/main.js adds .is-local), never on the live site */
.ph { outline: 0 none; }
.is-local .ph { outline: 1.5px dashed var(--s-sum); outline-offset: 2px; }

/* Altitude marker above each section heading: the page follows the route */
.altmark {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .6em;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--stone);
}
.altmark span {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.35rem;
  color: var(--earth);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem;
  padding: .7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--earth); color: var(--snow); }
.btn--primary:hover { background: var(--earth-d); }
.btn--sun { background: var(--sun); color: var(--shale); }
.btn--sun:hover { background: var(--sun-l); }
.btn--ghost { border-color: rgba(238, 241, 240, .7); color: var(--snow); }
.btn--ghost:hover { border-color: var(--snow); background: rgba(238, 241, 240, .1); }
.btn--arrow::after { content: "→"; transition: translate .2s var(--ease); }
.btn--arrow:hover::after { translate: 4px 0; }


/* Dark surfaces switch the focus ring to saffron */
.hero, .gallery, .book, .site-footer, .site-header, .plan__safety, .pg-head, .about-stats { --focus: var(--sun); }

/* 3. HEADER AND ALTIMETER ================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--snow);
}
/* Frosted background on its own layer. (A backdrop-filter on the header
   itself would trap the fixed mobile menu inside the header's box.) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(30, 42, 47, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(238, 241, 240, .08);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::before, .site-header.is-solid::before, .nav-open .site-header::before { opacity: 1; }
.nav-open .site-header::before { background: var(--shale); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  height: var(--header-h);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Top strip: trust points and quick contact. Folds away on scroll. */
.topbar { display: none; }
@media (min-width: 1100px) {
  :root { --header-h: 5rem; --topbar-h: 2.4rem; }
  .topbar {
    display: block;
    height: var(--topbar-h);
    background: rgba(20, 28, 32, .55);
    border-bottom: 1px solid rgba(238, 241, 240, .1);
    font-size: .82rem;
    transition: margin-top .3s ease;
  }
  .site-header.is-scrolled .topbar { margin-top: calc(var(--topbar-h) * -1); }
  .topbar__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    height: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto; padding-inline: var(--gutter);
  }
  .topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
  .topbar__facts li { display: flex; align-items: center; gap: .55rem; color: rgba(238, 241, 240, .85); }
  .topbar__facts li::before { content: ""; width: 6px; height: 6px; background: var(--sun); transform: rotate(45deg); }
  .topbar__contact a { display: inline-flex; align-items: center; gap: .45em; min-height: 2.4rem; text-decoration: none; color: var(--snow); }
  .topbar__contact a:hover { color: var(--sun); }
  .topbar .ph { outline-color: var(--sun); }
}

/* Logo: emblem colours are set here (see the #logo-mark symbol in the HTML) */
.logo {
  --logo-a: var(--sun);   /* frame, sun and trail */
  --logo-m: var(--snow);  /* the mountain         */
  --logo-s: var(--snow);  /* snow cap             */
  display: flex; align-items: center; gap: .7rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--snow);
}
.logo__mark { flex: none; width: 2.6rem; height: 2.6rem; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b {
  font-family: var(--display); font-weight: 800;
  font-size: 1.55rem; letter-spacing: .07em; text-transform: uppercase;
}
.logo__text i { font-size: .78rem; margin-top: .2rem; color: rgba(238, 241, 240, .82); }
/* Logo option B: spaced capitals under the name */
.logo__text--caps b { letter-spacing: .12em; }
.logo__text--caps i { font-style: normal; font-weight: 600; font-size: .58rem; letter-spacing: .27em; text-transform: uppercase; margin-top: .35rem; }
/* Logo option C: altitude tag after the name */
.logo__text--alt b { display: flex; align-items: flex-start; }
.logo__text--alt sup {
  margin-left: .45em; padding: .2em .5em; border: 1px solid var(--logo-a); border-radius: 999px;
  font: 600 .5rem/1 var(--body); letter-spacing: .02em; color: var(--logo-a); text-transform: none;
}

.header-cta { margin-left: auto; min-height: 44px; padding: .5rem 1rem; }

/* Mobile menu button */
.menu-toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px; min-width: 44px;
  padding: .5rem .75rem;
  background: none; border: 1.5px solid rgba(238, 241, 240, .5); border-radius: var(--radius);
  color: var(--snow);
  font: 600 .95rem var(--body);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor;
  transition: transform .25s, background-color .25s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after  { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 419px) { /* icon-only menu button on small phones */
  .menu-toggle { padding: .5rem; justify-content: center; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo__mark { width: 2.2rem; height: 2.2rem; }
  .logo__text b { font-size: 1.3rem; }
}

/* Mobile nav panel: slides in below the header bar */
.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 1.75rem;
  padding: 1.25rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--shale);
  overflow-y: auto; overscroll-behavior: contain; color-scheme: dark;
  visibility: hidden; opacity: 0; translate: 0 -.75rem;
  transition: opacity .25s, translate .3s var(--ease), visibility 0s .3s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .25s, translate .3s var(--ease); }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav__links > li { border-bottom: 1px solid rgba(238, 241, 240, .1); }
.site-nav__links > li > a {
  display: flex; align-items: center; min-height: 3.6rem;
  font-family: var(--display); font-weight: 800; font-size: 2rem;
  text-transform: uppercase; text-decoration: none;
}
.site-nav__links > li > a:hover, .site-nav__links > li > a[aria-current] { color: var(--sun); }
.site-nav__cta { align-self: stretch; }
.site-nav__contact { display: grid; gap: .25rem; margin: 0; }
.site-nav__contact a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; }

@media (min-width: 1100px) {
  .menu-toggle, .header-cta { display: none; }
  .site-nav {
    position: static; flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; translate: none;
  }
  .site-nav__links { display: flex; gap: 1.5rem; }
  .site-nav__links > li { border: 0; }
  .site-nav__links > li > a {
    position: relative; min-height: 44px;
    font-size: 1.15rem; letter-spacing: .06em;
  }
  .site-nav__links > li > a::after { /* marker under the current section */
    content: ""; position: absolute; left: 0; right: 0; bottom: .45rem;
    height: 2px; background: var(--sun);
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .site-nav__links > li > a[aria-current]::after { transform: scaleX(1); }
  .site-nav__links > li > a[aria-current] { color: inherit; }
  .site-nav__links > li > a:hover { color: var(--sun); }
  .site-nav__cta { align-self: auto; }
  .site-nav__contact { display: none; }
  .logo__mark { width: 3rem; height: 3rem; }
  .logo__text b { font-size: 1.8rem; }
}

/* Altimeter: thin bar under the header (small screens)… */
.altimeter-bar { height: 3px; background: rgba(238, 241, 240, .12); }
.altimeter-bar__fill {
  height: 100%; background: var(--sun);
  transform-origin: left; transform: scaleX(var(--p));
}

/* …and a vertical rail in the right margin (wide screens) */
.altimeter { display: none; }
@media (min-width: 1440px) {
  .altimeter-bar { display: none; }
  .altimeter {
    display: block;
    position: fixed; right: 1.75rem; top: 22vh; bottom: 14vh; z-index: 40;
    width: 2px;
    pointer-events: none;
    mix-blend-mode: normal;
  }
  .altimeter__track { position: absolute; inset: 0; background: rgba(94, 99, 92, .35); }
  .altimeter__fill {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: calc(var(--p) * 100%);
    background: var(--sun);
  }
  .altimeter__readout {
    position: absolute; right: 12px; bottom: calc(var(--p) * 100%);
    transform: translateY(50%);
    display: flex; flex-direction: column; align-items: flex-end;
    width: 4.75rem;
    text-align: right;
    padding: .35rem .5rem;
    background: rgba(30, 42, 47, .92);
    border-radius: var(--radius);
    color: var(--snow);
  }
  .altimeter__readout::after {
    content: ""; position: absolute; right: -16px; top: 50%;
    width: 8px; height: 8px; margin-top: -4px;
    background: var(--sun); transform: rotate(45deg);
  }
  .altimeter__alt { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; color: var(--sun); }
  .altimeter__place { display: none; font-size: .78rem; line-height: 1.25; font-style: italic; }
  .altimeter { right: .75rem; }
}
@media (min-width: 1600px) {
  .altimeter__readout { width: 8rem; }
  .altimeter__place { display: block; }
}

/* 4. HERO AND TRUST BAR =================================================== */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  background: var(--shale);
  color: var(--snow);
  isolation: isolate;
  overflow: hidden;
}
.hero__photo, .hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__photo { z-index: -2; }
.hero__photo img { object-fit: cover; object-position: center 35%; }
.hero__photo { will-change: transform; }
.hero__photo img { animation: hero-zoom 2.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero::before { /* readability wash over the photo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(30, 42, 47, .55) 0%, rgba(30, 42, 47, 0) 60%),
    linear-gradient(180deg, rgba(30, 42, 47, .7) 0%, rgba(30, 42, 47, .1) 30%, rgba(30, 42, 47, .2) 65%, rgba(30, 42, 47, .85) 100%);
}

.hero__sky {
  position: relative;
  flex: 1 0 auto;
  display: flex; align-items: flex-end;
  min-height: 54svh;
  padding-top: calc(var(--header-h) + var(--topbar-h) + 3rem);
}
.hero__ridges { position: absolute; inset: auto 0 0; height: 45%; pointer-events: none; }
.ridge { position: absolute; left: 0; bottom: 0; width: 100%; will-change: transform; }
.ridge--2 { height: 100%; fill: var(--shale); opacity: .35; }
.ridge--3 { height: 70%;  fill: var(--shale); opacity: .6; }

.hero__content { position: relative; z-index: 1; display: grid; align-items: end; gap: 2rem; padding-bottom: clamp(.75rem, 2vw, 2rem); }
@media (min-width: 1100px) { .hero__content { grid-template-columns: minmax(0, 1fr) 17rem; } }
.hero__title { margin: 0; color: var(--snow); }
/* SEO line: carries the search phrase, quiet next to the big line */
.hero__kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-bottom: 1.4rem; padding: .4rem 1rem .4rem .75rem;
  background: rgba(30, 42, 47, .42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(238, 241, 240, .22); border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: clamp(.88rem, .82rem + .3vw, 1.05rem);
  line-height: 1.3; letter-spacing: 0; text-transform: none;
  animation: fade-in .9s .15s both;
}
.hero__pulse { position: relative; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sun); }
.hero__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sun);
  animation: ping 2.4s var(--ease) infinite;
}
/* Three lines: serif italic lead-in, condensed caps, giant caps lit like snow at dawn */
.hero__big {
  display: block;
  font-size: var(--t-h1);
  line-height: .86;
  text-transform: uppercase;
}
.hero__big > span { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero__big > span > span { display: block; animation: line-up 1s var(--ease) both; }
.hero__l1 > span {
  font-family: var(--body); font-weight: 400; font-style: italic; text-transform: none;
  font-size: .4em; line-height: 1.15; letter-spacing: -.01em; color: var(--sun-l);
  animation-delay: .2s !important;
}
.hero__l2 > span { font-size: .74em; line-height: .95; text-shadow: 0 2px 30px rgba(30, 42, 47, .35); animation-delay: .32s !important; }
.hero__l3 { filter: drop-shadow(0 4px 24px rgba(30, 42, 47, .45)); }
.hero__l3 > span {
  font-size: 1.04em; line-height: .9;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--snow) 45%, #F4CF93 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation-delay: .44s !important;
}
/* Altitude stamp beside the headline (tablets) */
.hero__alt { display: none; }
@media (min-width: 700px) and (max-width: 1099px) {
  .hero__content { position: relative; }
  .hero__alt {
    position: absolute; right: var(--gutter); top: 0;
    display: flex; align-items: center; gap: .6rem; margin: 0;
    padding: .6rem .9rem; border: 1px solid rgba(238, 241, 240, .25); border-radius: var(--r-md);
    background: rgba(30, 42, 47, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: .78rem; line-height: 1.2; color: rgba(238, 241, 240, .85);
    animation: fade-in 1s .7s both;
  }
  .hero__alt b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--sun); }
}

/* "The climb at a glance" card (wide screens) */
.hero__card { display: none; }
@media (min-width: 1100px) {
  .hero__card {
    display: block;
    margin-bottom: calc(clamp(2rem, 6vw, 6rem) + 1.25rem);
    padding: 1.1rem 1.2rem 1rem;
    background: rgba(30, 42, 47, .55);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(238, 241, 240, .16);
    border-radius: var(--r-lg);
    animation: fade-in 1s .6s both;
  }
}
.hero__card-profile { width: 100%; height: auto; margin-bottom: .75rem; overflow: visible; }
.hero__card-profile .a { fill: rgba(233, 160, 59, .18); }
.hero__card-profile .l { fill: none; stroke: var(--sun); stroke-width: 2; stroke-linejoin: round; }
.hero__card-profile circle { fill: var(--snow); }
.hero__card-profile .s { fill: var(--sun); stroke: var(--snow); stroke-width: 2; }
.hero__card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 .9rem; }
.hero__card-stats dt { font-size: .75rem; font-style: italic; color: rgba(238, 241, 240, .75); }
.hero__card-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.hero__card-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .92rem; color: var(--sun); }

/* The ground: front ridge + dark band that carries the sub-copy and trust bar.
   Its negative top margin pulls the ridge over the bottom of the headline. */
.hero__ground {
  position: relative; z-index: 2;
  margin-top: calc(var(--t-h1) * -.02);
  background: var(--shale);
}
.ridge--front {
  position: absolute; left: 0; bottom: calc(100% - 1px);
  height: clamp(2rem, 6vw, 6rem);
  fill: var(--shale);
}
.hero__body { padding-top: 1.75rem; display: grid; gap: 2rem; }
@media (min-width: 1100px) {
  .hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); column-gap: 4rem; align-items: start; }
  .hero__facts { grid-column: 1 / -1; }
}
.hero__sub { max-width: 34em; font-size: var(--t-lede); color: rgba(238, 241, 240, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Quick trek finder */
.finder {
  padding: clamp(1.1rem, .9rem + 1vw, 1.5rem);
  background: linear-gradient(160deg, rgba(238, 241, 240, .09), rgba(238, 241, 240, .03));
  border: 1px solid rgba(238, 241, 240, .16);
  border-radius: var(--r-lg);
}
.finder__title { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .9rem; }
.finder__fields { display: grid; gap: .9rem; grid-template-columns: minmax(0, 1fr) 6.5rem; }
.finder__field--trek, .finder__go { grid-column: 1 / -1; }
@media (min-width: 600px) { .finder__fields { grid-template-columns: 1fr 8rem; } }
@media (min-width: 1100px) {
  .finder__fields { grid-template-columns: 1fr 7rem auto; align-items: end; }
  .finder__field--trek { grid-column: 1 / -1; }
  .finder__go { grid-column: auto; }
}
.finder__field { display: grid; gap: .3rem; min-width: 0; }
.finder label { font-size: .85rem; font-weight: 600; color: rgba(238, 241, 240, .85); }
.finder select, .finder input {
  width: 100%; min-width: 0; min-height: 3rem; padding: .6rem .8rem;
  border: 0; border-radius: var(--r-sm);
  background: var(--snow); color: var(--shale);
  font: inherit; font-size: 1rem;
}
.finder__go { min-height: 3rem; }

.hero__facts {
  list-style: none; margin: .5rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .75rem 2.25rem;
  font-size: var(--t-sm);
  color: rgba(238, 241, 240, .8);
}
.hero__facts li { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 599px) { .hero__facts { display: none; } } /* the trust bar below says the same */
.hero__facts strong {
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  color: var(--sun);
}

.trust { padding-block: 2.5rem 3rem; }
.trust__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem;
  margin: 0; padding-top: 2.25rem;
  border-top: 1px solid rgba(238, 241, 240, .15);
}
.trust__list > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.trust__list dd {
  margin: 0;
  align-self: flex-start;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
  line-height: 1;
  color: var(--snow);
}
.trust__list dt { margin-top: .35rem; font-size: var(--t-sm); color: rgba(238, 241, 240, .75); max-width: 14em; }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 5. SECTIONS ============================================================== */
.tours, .route, .why, .guides, .gallery, .reviews, .plan, .faq { padding-block: var(--space); }

/* --- Tours --- */
.tours { padding-top: 0; padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.tours__head {
  background: var(--grain), var(--earth);
  color: var(--snow);
  padding-block: var(--space) clamp(3rem, 2rem + 4vw, 5rem);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.tours__head .lede { color: rgba(238, 241, 240, .92); }
.tours__head .altmark { color: rgba(238, 241, 240, .85); }
.tours__head .altmark span { color: var(--snow); }
.tours__head { --focus: var(--sun); }

.tour-group {
  font-size: var(--t-h3);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--earth);
  margin: 2.5rem 0 .5rem;
}
.tour-group:first-child { margin-top: 0; }
.tour-group a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.tour-group a::after { content: "→"; font-size: .8em; transition: translate .2s var(--ease); }
.tour-group a:hover::after { translate: 4px 0; }

.tour-list { border-bottom: 1px solid var(--rule); }
.tour {
  display: grid; gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.tour__img { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--snow-2); }
.tour__chip {
  position: absolute; left: .6rem; top: .6rem;
  padding: .2rem .65rem; border-radius: 999px;
  background: rgba(30, 42, 47, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--snow); font-size: .78rem; font-weight: 600;
}
@media (min-width: 768px) { .tour__chip { display: none; } }
.tour__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tour:hover .tour__img img { transform: scale(1.04); }
.tour__name a { text-decoration: none; }
.tour__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.tour__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .95rem; color: var(--earth); }
.tour__name {
  font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.2rem);
  margin-bottom: .6rem;
  max-width: 26ch;
}
.tour__main p { max-width: 36em; margin-bottom: .75rem; }
.tour__highlights {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .3rem 1.25rem;
  font-size: var(--t-sm); color: var(--stone);
}
.tour__highlights li { display: flex; align-items: center; gap: .45rem; }
.tour__highlights li::before {
  content: ""; width: 6px; height: 6px; flex: none;
  background: var(--earth); transform: rotate(45deg);
}

.tour__meta { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: .9rem 2rem; align-content: start; }
.tour__meta div { display: grid; gap: .15rem; align-content: start; }
.tour__meta dt { font-size: .8rem; color: var(--stone); font-style: italic; }
.tour__meta dd { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; font-weight: 600; }

/* Duration bar: one segment per day, out of seven */
.days {
  --seg: 1.05rem;
  position: relative; flex: none;
  width: calc(var(--seg) * var(--n, 7)); height: .55rem;
  background: repeating-linear-gradient(90deg, var(--rule) 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg));
}
.days::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: calc(var(--seg) * var(--d));
  background: repeating-linear-gradient(90deg, var(--earth) 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg));
}

/* Difficulty: three peaks, filled up to the level */
.level { width: 3.4rem; height: .85rem; flex: none; }
.level use { fill: var(--earth); stroke: var(--earth); stroke-width: 1.5; }
.level--1 use:nth-of-type(n+2),
.level--2 use:nth-of-type(3) { fill: transparent; }

.tour__buy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.tour__price {
  margin: 0;
  font-family: var(--display); font-weight: 800;
  font-size: 2.6rem; line-height: 1;
}
.tour__price span { font-family: var(--body); font-weight: 400; font-style: italic; font-size: 1rem; color: var(--stone); margin-right: .2rem; }
.tour__price--ask { font-size: 1.5rem; }

@media (min-width: 768px) {
  .tour { grid-template-columns: 12rem minmax(0, 1fr); column-gap: 2rem; }
  .tour__img img { aspect-ratio: 4 / 3; }
  .tour__img { grid-row: span 2; align-self: start; }
  .tour__meta { grid-template-columns: auto auto; justify-content: start; gap: 2rem; }
  .tour__buy { grid-column: 2; justify-content: flex-start; gap: .5rem 1.5rem; }
}
@media (min-width: 1100px) {
  .tour { grid-template-columns: 13rem minmax(0, 1fr) 14rem 11rem; align-items: start; }
  .tour__img { grid-row: auto; }
  .tour__meta { grid-template-columns: 1fr; gap: .9rem; }
  .tour__buy { grid-column: auto; flex-direction: column; align-items: flex-start; }
}


.included {
  display: grid; gap: 1rem 2rem; align-items: center;
  margin-top: 2.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--snow-2); border-radius: var(--r-lg);
}
@media (min-width: 900px) { .included { grid-template-columns: auto minmax(0, 1fr); } }
.included h3 { margin: 0; }
.included__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.included__list li { display: inline-flex; gap: .45rem; align-items: baseline; padding: .4rem .95rem; border-radius: 999px; background: var(--paper); font-size: .93rem; }
.included__list li::before { content: "✓"; color: var(--walnut); font-weight: 600; }

/* --- Route / elevation profile --- */
.route { background: var(--snow-2); }
.profile { margin: 2.5rem auto 3rem; }
.profile__scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .5rem; }
.profile__svg { width: 100%; min-width: 640px; height: auto; overflow: visible; }
.profile__day { fill: rgba(30, 42, 47, .045); }
.profile__daylabel { font-family: var(--display); font-weight: 800; font-size: 20px; fill: var(--stone); text-transform: uppercase; }
.profile__grid line { stroke: var(--rule); stroke-dasharray: 3 5; }
.profile__grid text { font-size: 12px; fill: var(--stone); text-anchor: end; paint-order: stroke; stroke: var(--snow-2); stroke-width: 4px; }
.profile__area { fill: rgba(156, 59, 34, .14); }
.profile__line { fill: none; stroke: var(--earth); stroke-width: 2.5; stroke-linejoin: round; }
.profile__pts circle { fill: var(--snow); stroke: var(--earth); stroke-width: 2.5; transition: r .2s; }
.profile__pts circle.is-summit { fill: var(--sun); stroke: var(--shale); }
.profile__pts g { cursor: help; outline: none; }
.profile__pts g:hover circle, .profile__pts g:focus-visible circle { stroke-width: 4; r: 10; }
.profile__labels text { font-size: 14px; font-weight: 600; fill: var(--shale); paint-order: stroke; stroke: var(--snow-2); stroke-width: 4px; }
.profile__labels .is-summit { font-size: 16px; fill: var(--earth); }
.profile figcaption { font-size: var(--t-sm); font-style: italic; color: var(--stone); margin-top: .5rem; }
@media (min-width: 700px) { .profile__swipe { display: none; } }

.days-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .days-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.day__title { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); text-transform: uppercase; }
.day__title span { display: block; font-family: var(--body); font-weight: 400; font-style: italic; text-transform: none; font-size: 1.1rem; color: var(--stone); margin-top: .4rem; letter-spacing: 0; }
.day__stats { margin: .75rem 0 1.5rem; font-size: var(--t-sm); font-weight: 600; color: var(--earth); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem;
  padding-bottom: 1.4rem;
}
.timeline li::before { /* the trail line */
  content: ""; position: absolute; left: 4.15rem; top: .55rem; bottom: -.3rem;
  width: 2px; background: var(--rule);
}
.timeline li:last-child::before { display: none; }
.timeline li::after { /* waypoint */
  content: ""; position: absolute; left: 3.93rem; top: .45rem;
  width: 10px; height: 10px; background: var(--earth); transform: rotate(45deg);
}
.timeline__when { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.4; color: var(--shale); }
.timeline p { margin: 0; padding-left: 1.2rem; }

/* --- Why trek with us --- */
.why__list {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 2.5rem 3rem;
}
@media (min-width: 640px)  { .why__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__list { grid-template-columns: repeat(3, 1fr); } }
.why__list li { padding-top: 1.5rem; border-top: 2px solid var(--shale); }
.why__icon {
  width: 3rem; height: 3rem; margin-bottom: 1rem;
  fill: none; stroke: var(--earth); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.why__list h3 { margin-bottom: .6rem; }
.why__list p { margin: 0; color: var(--stone); }

/* --- Gallery (editorial grid) --- */
.gallery { background: var(--shale); color: var(--snow); }
.gallery .altmark { color: rgba(238, 241, 240, .75); }
.gallery .altmark span { color: var(--sun); }
.gallery__grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.g { margin: 0; position: relative; overflow: hidden; background: #26343a; }
.g img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g figcaption { pointer-events: none; }
.g:hover img { transform: scale(1.03); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1rem .8rem;
  font-size: var(--t-sm); font-style: italic;
  background: linear-gradient(transparent, rgba(30, 42, 47, .85));
}
@media (min-width: 600px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 15rem; grid-auto-flow: dense; }
  .g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .g--tall { grid-row: span 2; }
  .g__open { position: absolute; inset: 0; height: 100%; }
}
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(14rem, 18vw, 19rem); }
  .g--wide { grid-column: span 2; }
}

/* --- Reviews --- */

/* --- Plan your trek --- */
.plan { background: var(--snow-2); }
.plan__block h3 { margin-bottom: 1rem; }
.plan__seasons { margin: 2rem 0 3.5rem; }
.plan__seasons > p { max-width: 40em; margin-top: 1.25rem; }

.months {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px;
}
@media (min-width: 640px) { .months { grid-template-columns: repeat(12, 1fr); } }
.months li {
  display: flex; align-items: flex-end;
  min-height: 3.6rem; padding: .45rem .5rem;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.months li:first-child { border-radius: 4px 0 0 4px; }
.months li:last-child  { border-radius: 0 4px 4px 0; }
.months abbr { text-decoration: none; }
.s-win  { --c: var(--s-win); }
.s-best { --c: var(--s-best); }
.s-sum  { --c: var(--s-sum); }
.months .s-win  { background: var(--s-win);  color: var(--shale); }
.months .s-best { background: var(--s-best); color: var(--snow); }
.months .s-sum  { background: var(--s-sum);  color: var(--shale); }

.legend {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
  font-size: var(--t-sm);
}
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend li::before { content: ""; width: .9rem; height: .9rem; border-radius: 2px; background: var(--c); }

.plan__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .plan__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; }
  .plan__pack { grid-column: 2; grid-row: 1 / span 2; }
}
.plan__safety {
  background: var(--walnut); color: var(--snow);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.plan__safety ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.plan__safety li { padding-left: 1.4rem; position: relative; }
.plan__safety li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; background: var(--sun); transform: rotate(45deg);
}
.plan__hint { font-size: var(--t-sm); font-style: italic; color: var(--stone); }

.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.checklist li { border-bottom: 1px solid var(--rule); }
.checklist label {
  display: flex; align-items: center; gap: .85rem;
  min-height: 3rem; padding: .35rem 0;
  cursor: pointer;
}
.checklist input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 1.4rem; height: 1.4rem; margin: 0;
  border: 2px solid var(--walnut); border-radius: 3px; background: var(--snow);
  display: grid; place-content: center;
  cursor: pointer;
}
.checklist input::before {
  content: ""; width: .7rem; height: .4rem;
  border: solid var(--snow); border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .15s;
}
.checklist input:checked { background: var(--walnut); }
.checklist input:checked::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.checklist label:has(input:checked) { color: var(--stone); }
.checklist label:has(input:checked) { text-decoration: line-through; text-decoration-color: rgba(63, 90, 60, .5); }

/* --- FAQ --- */
.faq__layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .faq__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .faq__layout > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq__list { border-top: 2px solid var(--shale); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 3.5rem; padding: 1rem 0;
  font-weight: 600; font-size: 1.1rem; line-height: 1.4;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* plus that turns into a minus */
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background:
    linear-gradient(var(--earth), var(--earth)) center / 100% 2px no-repeat,
    linear-gradient(var(--earth), var(--earth)) center / 2px 100% no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--earth); }
.faq__a { padding: 0 2.5rem 1.25rem 0; color: var(--stone); }
.faq__a p { margin: 0; max-width: 38em; }
/* Smooth open/close where supported (progressive enhancement) */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0; overflow: clip;
    transition: height .3s ease, content-visibility .3s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
}

/* --- Booking --- */
.book {
  position: relative;
  background: var(--earth);
  color: var(--snow);
  padding-block: calc(var(--space) * .8) var(--space);
  margin-top: 5rem;
}
.book__peak {
  position: absolute; left: 0; bottom: calc(100% - 1px);
  width: 100%; height: clamp(3rem, 6vw, 5.5rem);
  fill: var(--earth);
}
.book .altmark { color: rgba(238, 241, 240, .85); }
.book .altmark span { color: var(--snow); }
.book__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1000px) { .book__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }
.book__intro > p { font-size: var(--t-lede); max-width: 30em; }
.book__price { font-family: var(--display); font-weight: 800; font-size: 2.6rem !important; line-height: 1; margin-top: 1.5rem; }
.book__price span { font-family: var(--body); font-weight: 400; font-style: italic; font-size: 1rem; }
.book .book__intro h2 { margin-bottom: .5em; }

.contact-lines { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.contact-lines li { display: flex; align-items: center; gap: .8rem; min-height: 44px; }
.contact-lines svg { flex: none; color: var(--sun); }
.contact-lines a { min-width: 0; padding-block: .5rem; }
.book .ph { outline-color: var(--sun); }

.book__form {
  display: grid; gap: 1.1rem 1.25rem;
  align-content: start;
}
@media (min-width: 600px) { .book__form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field__opt { font-weight: 400; font-style: italic; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .85rem;
  border: 2px solid transparent; border-radius: var(--radius);
  background: var(--snow); color: var(--shale);
  font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun); }
.field__err { margin: 0; min-height: 0; font-size: .88rem; font-weight: 600; color: #FFE3B0; }
.field__err:not(:empty)::before { content: "⚠ "; }
.book__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.book__status { margin: 0; font-weight: 600; flex-basis: 100%; }
.book__status:empty { display: none; }
.book__note { margin: 0; font-size: .92rem; font-style: italic; color: rgba(238, 241, 240, .9); }
.book__status a { color: var(--snow); }

/* 6. FOOTER ================================================================ */

.site-footer {
  position: relative; overflow: hidden;
  background: var(--grain), var(--shale); color: rgba(238, 241, 240, .8);
  font-size: .95rem; padding-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.site-footer__top { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(238, 241, 240, .12); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } .site-footer__cta { justify-self: end; } }
.site-footer__brand .logo { margin-bottom: 1rem; }
.site-footer__brand p { max-width: 30em; }
.site-footer__rating {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  padding: .4rem 1rem; border: 1px solid rgba(238, 241, 240, .18); border-radius: 999px;
  text-decoration: none; font-size: .88rem;
}
.site-footer__rating b { color: var(--snow); }
.site-footer__ask { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.5vw, 3.4rem); text-transform: uppercase; line-height: .95; color: var(--snow); margin-bottom: 1rem; }
.site-footer__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.site-footer__grid { display: grid; gap: 2rem 1.5rem; padding-block: 2.5rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer__h { font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding-block: .45rem; text-decoration: none; }
.site-footer li a:hover { color: var(--snow); text-decoration: underline; }
.site-footer .ph { outline-color: var(--sun); }
.site-footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 2rem;
  padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(238, 241, 240, .12); font-size: .85rem;
}
/* Phone numbers never split over two lines; the contact column gets the full width on phones */
.site-footer .ph { white-space: nowrap; }
.contact-lines li > * { min-width: 0; }
.ct { white-space: nowrap; }
.mail { overflow-wrap: anywhere; }
.site-footer li a { overflow-wrap: anywhere; }
@media (max-width: 899px) { .site-footer__grid > div:last-child { grid-column: 1 / -1; } }
.site-footer__bottom p { margin: 0; }

/* 6b. TOUR PAGES (tours/*.html) =========================================== */
.tp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(88svh, 52rem);
  padding-top: calc(var(--header-h) + var(--topbar-h) + 3rem);
  background: var(--shale); color: var(--snow);
}
.tp-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 42, 47, .7) 0%, rgba(30, 42, 47, .4) 30%, rgba(30, 42, 47, .65) 60%, rgba(30, 42, 47, .9) 100%);
}
.tp-hero__content { padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); position: relative; }
.tp-hero h1 {
  font-size: clamp(2.8rem, 1.6rem + 5vw, 6.5rem);
  line-height: .9; text-transform: uppercase; max-width: 18ch;
  text-shadow: 0 2px 30px rgba(30, 42, 47, .4);
}
.tp-hero__sub { text-shadow: 0 1px 12px rgba(30, 42, 47, .6); max-width: 34em; margin: 1.25rem 0 0; font-size: var(--t-lede); color: rgba(238, 241, 240, .92); }
.crumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: var(--t-sm); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; opacity: .6; }
.crumbs a { display: inline-block; padding-block: .6rem; color: var(--snow); }
.crumbs [aria-current] { padding-block: .6rem; color: rgba(238, 241, 240, .92); }
.crumbs { text-shadow: 0 1px 3px rgba(30, 42, 47, .6); }

.tp-hero__ground { position: relative; background: var(--shale); padding-block: 1.5rem 2.5rem; }
.tp-facts {
  display: grid; gap: 1.25rem 2rem; margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .tp-facts { grid-template-columns: repeat(5, auto); justify-content: space-between; } }
.tp-facts dt { font-size: .8rem; font-style: italic; color: rgba(238, 241, 240, .7); }
.tp-facts dd { margin: .2rem 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-weight: 600; }
/* Long tours (10 days) shrink the segments to fit the half-width column on phones */
.tp-facts .days { --seg: min(1.05rem, calc(38vw / var(--n, 7))); }
.tp-facts .days { background: repeating-linear-gradient(90deg, rgba(238, 241, 240, .2) 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg)); }
.tp-facts .days::before { background: repeating-linear-gradient(90deg, var(--sun) 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg)); }
.tp-facts .level use { fill: var(--sun); stroke: var(--sun); }
.tp-facts .level--1 use:nth-of-type(n+2), .tp-facts .level--2 use:nth-of-type(3) { fill: transparent; }
.tp-facts__price dd { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--sun); }
.tp-facts__price dd span { font-family: var(--body); font-weight: 400; font-style: italic; font-size: .95rem; color: rgba(238, 241, 240, .8); }
.tp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.tp-overview { padding-block: var(--space); }
.tp-overview__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .tp-overview__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; } }
.tp-overview p { max-width: 36em; }
.tp-sub { margin-bottom: 1rem; }
.tp-highlights { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--shale); }
.tp-highlights li { display: flex; gap: .8rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.tp-highlights li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--earth); transform: rotate(45deg) translateY(-2px); }

.itin { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.itin__day { position: relative; padding: 0 0 2.25rem 2.5rem; }
.itin__day::before { content: ""; position: absolute; left: 6px; top: 1rem; bottom: 0; width: 2px; background: var(--rule); }
.itin__day:last-child::before { display: none; }
.itin__day::after { content: ""; position: absolute; left: 0; top: .55rem; width: 14px; height: 14px; background: var(--earth); transform: rotate(45deg); }
.itin__day h3 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); margin-bottom: .5rem; }
.itin__n { display: block; font-family: var(--body); font-weight: 600; font-size: .9rem; letter-spacing: 0; color: var(--earth); margin-bottom: .25rem; }
.itin__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: var(--t-sm); font-style: italic; color: var(--stone); margin-bottom: .6rem; }
.itin__day > p:last-child { max-width: 38em; margin: 0; }

.tp-incl { padding-block: var(--space); }
.tp-incl__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .tp-incl__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.tp-h2s { font-size: var(--t-h3); text-transform: none; margin-bottom: 1rem; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.incl li { display: flex; gap: .7rem; align-items: baseline; }
.incl--yes li::before { content: "✓"; color: var(--walnut); font-weight: 600; }
.incl--no li::before { content: "–"; color: var(--stone); font-weight: 600; }
.tp-know { align-self: start; padding: 1.5rem; background: var(--snow-2); border-left: 4px solid var(--earth); }
.tp-know p { margin: 0; }

.tp-cta { position: relative; background: var(--earth); color: var(--snow); padding-block: calc(var(--space) * .7); margin-top: clamp(2rem, 1rem + 3vw, 4rem); --focus: var(--sun); }
.tp-cta__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .tp-cta__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; } }
.tp-cta h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem); }
.tp-cta p { max-width: 34em; margin: 0; font-size: var(--t-lede); }
.tp-cta .tp-actions { margin-top: 0; }

.tp-others { padding-block: var(--space); }
.others { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.other { display: grid; gap: .35rem; text-decoration: none; }
.other img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: .5rem; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.other:hover img { transform: translateY(-3px); }
.other__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; }
.other:hover .other__name { text-decoration: underline; }
.other__meta { font-size: var(--t-sm); color: var(--stone); font-style: italic; }

/* Credits page */
.credits-page { padding-block: calc(var(--header-h) + var(--topbar-h) + 3rem) var(--space); }
.credits-page h1 { font-size: var(--t-h2); text-transform: uppercase; margin-bottom: .4em; }
.credits { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.credit img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: .75rem; }
.credit p { margin: 0 0 .25rem; font-size: var(--t-sm); overflow-wrap: anywhere; }
.credit__title { font-weight: 600; }

/* 6c. LONG-FORM AND INTERACTIVE SECTIONS ================================= */
.prose { max-width: 42rem; }
.prose--narrow { max-width: 46rem; }
.prose h3 { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.8rem); margin: 2rem 0 .75rem; }
.prose p { max-width: 40em; }

.tp-aside { align-self: start; }
@media (min-width: 900px) { .tp-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.tp-aside .tp-sub + .toc { margin-top: 0; }
.tp-aside .tp-sub:not(:first-child) { margin-top: 2rem; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; color: var(--earth); font-weight: 600; font-size: .95rem; }

.tp-season, .tp-stay, .tp-safety, .tp-faq, .tp-find, .find, .guide { padding-block: var(--space); }
.tp-season { background: var(--snow-2); padding-top: 0; }
.tp-safety { background: var(--snow-2); }
.tp-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .tp-two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
.tp-season .months { margin-top: 2rem; }
.tp-pack h3 { font-size: var(--t-h3); margin-bottom: .5rem; }
.tp-faq { padding-top: 0; }
.tp-faq h2, .tp-season h2, .tp-stay h2, .tp-safety h2, .tp-find h2, .tp-route h2, .tp-overview h2 { font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.8rem); }

/* Live weather */
.wx {
  container-type: inline-size;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--grain), var(--shale); color: var(--snow);
  border-radius: var(--r-lg);
  --focus: var(--sun);
}
.wx__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.wx__title { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.wx__live {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0;
  padding: .25rem .75rem; border: 1px solid rgba(238, 241, 240, .2); border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: rgba(238, 241, 240, .85);
}
.wx__live span { width: .45rem; height: .45rem; border-radius: 50%; background: #7BC67E; box-shadow: 0 0 0 3px rgba(123, 198, 126, .25); }
.wx__body { display: grid; gap: 1rem; }
@container (min-width: 44rem) {
  .wx__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .wx__days li { padding-block: 1rem; }
}
.wx__now { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem; min-height: 7rem; }
.wx__place { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: 1rem; background: rgba(238, 241, 240, .07); border-radius: var(--r-md); }
.wx__place .wx__icon { grid-row: span 3; width: 2.6rem; height: 2.6rem; color: rgba(238, 241, 240, .85); }
.wx__name { margin: 0; font-weight: 600; font-size: .92rem; }
.wx__name span { white-space: nowrap; font-weight: 400; font-style: italic; color: rgba(238, 241, 240, .7); }
.wx__temp { margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--sun); }
.wx__desc { margin: 0; font-size: .82rem; color: rgba(238, 241, 240, .8); }
.wx__msg { margin: 0; color: rgba(238, 241, 240, .85); }
.wx__msg a { color: var(--sun); }
.wx__days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.wx__days:empty { display: none; }
.wx__days li { display: grid; justify-items: center; align-content: center; gap: .25rem; padding: .7rem .2rem; background: rgba(238, 241, 240, .05); border-radius: var(--r-sm); font-size: .85rem; }
.wx__days .wx__icon { width: 1.8rem; height: 1.8rem; color: rgba(238, 241, 240, .85); }
.wx__day { font-weight: 600; }
.wx__range { color: rgba(238, 241, 240, .75); white-space: nowrap; }
.wx__range b { color: var(--snow); }
.wx__credit { margin: 1rem 0 0; font-size: .78rem; color: rgba(238, 241, 240, .7); }
.wx__credit a { color: var(--snow); }
.plan__wx { margin: 0 0 3.5rem; }

/* Quiz */
.quiz { margin-top: 3.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--snow-2); border-left: 4px solid var(--earth); }
.quiz__title { font-size: var(--t-h3); margin-bottom: .5rem; }
.quiz__form { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .quiz__form { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } .quiz__actions { grid-column: 1 / -1; } }
.quiz__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__q legend { font-weight: 600; margin-bottom: .6rem; padding: 0; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.quiz__opt { position: relative; }
.quiz__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz__opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem;
  border: 1.5px solid var(--rule); border-radius: 999px; background: var(--snow);
  font-size: .95rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.quiz__opt:hover span { border-color: var(--earth); }
.quiz__opt input:checked + span { background: var(--earth); border-color: var(--earth); color: var(--snow); }
.quiz__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.quiz__hint { margin: 0; font-weight: 600; color: var(--earth); }
.quiz__result { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.quiz__result p { max-width: 40em; }
.quiz__pick { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; }
.quiz__pick a { color: var(--earth); }

/* Comparison table */
.compare__title { font-size: var(--t-h3); margin-bottom: 1rem; }
.compare__filters { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 1.5rem 0 1rem; }
.compare__filters label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.compare__filters select { min-height: 44px; padding: .4rem .6rem; border: 1.5px solid var(--rule); border-radius: var(--radius); background: var(--snow); font: inherit; font-size: .95rem; }
.compare__check { min-height: 44px; }
.compare__check input { width: 1.2rem; height: 1.2rem; accent-color: var(--earth); }
.compare__count { margin: 0 0 0 auto; font-size: .9rem; font-style: italic; color: var(--stone); }
.compare__scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.compare__table th, .compare__table td { padding: .75rem .8rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare__table thead th { border-bottom: 2px solid var(--shale); padding: 0; }
.compare__table thead button {
  display: flex; align-items: center; gap: .35rem; width: 100%; min-height: 44px; padding: .5rem .8rem;
  background: none; border: 0; font: 600 .9rem var(--body); color: inherit; cursor: pointer; text-align: left;
}
.compare__table thead button::after { content: "↕"; font-size: .8rem; opacity: .4; }
.compare__table th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; }
.compare__table th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; }
.compare__table tbody th { font-weight: 600; }
.compare__table tbody th a { text-decoration: none; }
.compare__table tbody th a:hover { text-decoration: underline; }
.compare__table tr.is-current { background: rgba(156, 59, 34, .07); }
.compare__table tr.is-current th a { color: var(--earth); }
.compare__table tbody tr:hover { background: rgba(30, 42, 47, .04); }
.compare__empty { margin: 1rem 0 0; font-style: italic; }

/* Price estimator (inside the earth-coloured booking band) */
.estimator { margin-top: 1.5rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(238, 241, 240, .3); border-radius: 6px; max-width: 24rem; }
.estimator__label { margin: 0 0 .6rem; font-weight: 600; font-size: .9rem; }
.estimator__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.estimator__row label { font-size: .95rem; }
.stepper { display: inline-flex; align-items: center; }
.stepper button {
  width: 44px; height: 44px; border: 0; border-radius: var(--radius);
  background: rgba(238, 241, 240, .15); color: var(--snow); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.stepper button:hover { background: rgba(238, 241, 240, .28); }
.stepper input { width: 3.5rem; height: 44px; margin: 0 .35rem; border: 0; border-radius: var(--radius); text-align: center; font: 600 1.05rem var(--body); background: var(--snow); color: var(--shale); }
.estimator__private { display: flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .5rem; font-size: .95rem; }
.estimator__total { margin: .9rem 0 .2rem; font-size: 1.05rem !important; }
.estimator__total strong { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.estimator__note { margin: 0; font-size: .82rem !important; font-style: italic; opacity: .85; }

/* Find your trek (home) */
.find { background: var(--snow); }
.find .quiz { margin-top: 3rem; }

/* Essentials guide (home) */
.guide { background: var(--snow-2); }
.guide__layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
  .guide__layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
  .guide__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.guide__body h3:first-child { margin-top: 0; }

/* 6d. HONEYPOT, LIGHTBOX, STICKY BAR, 404 ================================ */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: clamp(3.5rem, 6vw, 4.5rem) clamp(1rem, 6vw, 5rem);
  border: 0; background: rgba(20, 28, 32, .97); color: var(--snow);
  --focus: var(--sun);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in .25s both; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: .9rem; max-width: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: 3px; }
.lightbox__cap { font-style: italic; color: rgba(238, 241, 240, .85); }
.lightbox__btn {
  position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(238, 241, 240, .12); color: var(--snow);
  font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(238, 241, 240, .25); }
.lightbox__close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

.mbar { display: none; }
@media (max-width: 899px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(30, 42, 47, .97); color: var(--snow);
    box-shadow: 0 -1px 0 rgba(238, 241, 240, .1);
    transform: translateY(110%); transition: transform .3s ease;
    --focus: var(--sun);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn { flex: none; white-space: nowrap; padding-inline: 1.15rem; }
  body:has(.mbar) .site-footer { padding-bottom: 4.5rem; }
  .mbar__price { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--sun); }
  .mbar__price span { font-family: var(--body); font-weight: 400; font-style: italic; font-size: .9rem; color: rgba(238, 241, 240, .8); }
}

.notfound h1 { max-width: 16ch; }
.notfound__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .25rem; }
.notfound__list a { display: inline-flex; align-items: center; padding-block: .6rem; font-weight: 600; color: var(--earth); }

/* 6e. TOURS MENU: category cards ======================================== */
.mega__list { display: grid; gap: .5rem; }
.mega__card {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .9rem; align-items: center;
  padding: .55rem; border-radius: var(--r-md); text-decoration: none;
  background: rgba(238, 241, 240, .05); transition: background-color .2s;
}
.mega__card:hover { background: rgba(238, 241, 240, .1); }
.mega__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.mega__text { display: grid; gap: .1rem; line-height: 1.3; }
.mega__text b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.mega__meta { font-size: .82rem; color: var(--sun-l); }
.mega__desc { display: none; font-size: .85rem; color: rgba(238, 241, 240, .72); }
.mega__foot { display: grid; gap: .1rem; margin-top: .5rem; }
.mega__all, .mega__quiz { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.mega__all { color: var(--sun); }
.mega__quiz { font-size: .9rem; color: rgba(238, 241, 240, .8); text-decoration: underline; text-underline-offset: .2em; }
.mega__all:hover, .mega__quiz:hover { color: var(--snow); }
/* Phones: plain menu, no category cards */
@media (max-width: 1099px) { .mega { display: none; } }
.sub-toggle { display: none; }

@media (min-width: 1100px) {
  .has-sub { position: relative; display: flex; align-items: center; padding: 0; }
  .sub-toggle {
    display: grid; place-items: center; width: 28px; height: 44px; margin-left: .1rem;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .sub-toggle::before {
    content: ""; width: 7px; height: 7px; margin-top: -4px;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s, margin .2s;
  }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(225deg); margin-top: 3px; }
  .mega {
    position: absolute; left: 50%; top: calc(100% + .9rem); z-index: 5;
    width: min(54rem, calc(100vw - 2 * var(--gutter)));
    transform: translateX(-38%);
    padding: 1rem;
    background: var(--shale);
    border: 1px solid rgba(238, 241, 240, .12); border-radius: var(--r-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; translate: 0 8px;
    transition: opacity .2s, translate .25s var(--ease), visibility 0s .25s;
  }
  .has-sub:hover .mega, .has-sub:focus-within .mega, .sub-toggle[aria-expanded="true"] + .mega {
    opacity: 1; visibility: visible; translate: 0 0; transition: opacity .2s, translate .25s var(--ease);
  }
  .has-sub::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 1.2rem; } /* hover bridge */
  .mega__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .mega__card { grid-template-columns: 1fr; align-items: start; gap: .7rem; padding: .6rem .6rem .9rem; background: none; }
  .mega__card img { aspect-ratio: 16 / 10; }
  .mega__card:hover img { opacity: .9; }
  .mega__text { padding-inline: .2rem; }
  .mega__desc { display: block; margin-top: .25rem; }
  .mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding: .5rem .8rem 0; border-top: 1px solid rgba(238, 241, 240, .1); }
}

 ON PHONES: one card per trek ======================== */
.compare__sorthint { display: none; }
@media (max-width: 699px) {
  .compare__scroll { overflow: visible; }
  .compare__table, .compare__table thead, .compare__table tbody { display: block; min-width: 0; }
  .compare__sorthint { display: block; margin: 0 0 .4rem; font-size: .85rem; font-weight: 600; }
  .compare__table thead { margin-bottom: .9rem; }
  .compare__table thead tr { display: flex; flex-wrap: wrap; gap: .4rem; }
  .compare__table thead th { padding: 0; border: 0; }
  .compare__table thead button {
    width: auto; min-height: 40px; padding: .35rem .85rem;
    border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper); font-size: .85rem;
  }
  .compare__table th[aria-sort="ascending"] button, .compare__table th[aria-sort="descending"] button { background: var(--shale); border-color: var(--shale); color: var(--snow); }
  .compare__table tbody { display: grid; gap: .75rem; }
  .compare__table tbody tr {
    display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: .6rem .75rem;
    padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  }
  .compare__table tbody tr:hover { background: var(--paper); }
  .compare__table tbody tr.is-current { border-color: var(--earth); background: rgba(156, 59, 34, .06); }
  .compare__table tbody th { grid-column: 1 / -1; padding: 0 0 .5rem; border: 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; line-height: 1.3; }
  .compare__table tbody th a { text-decoration: underline; text-decoration-thickness: 1px; }
  .compare__table tbody td { display: flex; flex-direction: column; padding: 0; border: 0; font-weight: 600; font-size: .92rem; line-height: 1.3; }
  .compare__table tbody td::before { content: attr(data-label); font-size: .74rem; font-weight: 400; font-style: italic; color: var(--stone); margin-bottom: .1rem; }
  .compare__table .compare__price { font-family: var(--display); font-size: 1.3rem; color: var(--earth); white-space: nowrap; }
  .compare__table .compare__price--ask { font-family: var(--body); font-size: .92rem; }
  .compare__filters { gap: .6rem 1rem; }
  .compare__count { flex-basis: 100%; margin: 0; }
}

/* 6g. QUIZ: one question at a time (enabled by js/main.js) ================ */
.quiz { border-radius: var(--r-lg); border-left: 0; }
.quiz__progress { display: none; height: 5px; margin-top: 1.25rem; border-radius: 999px; background: var(--rule); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: var(--q, 0%); background: var(--earth); border-radius: inherit; transition: width .35s var(--ease); }
.quiz.is-steps .quiz__progress { display: block; }
.quiz.is-steps .quiz__form { grid-template-columns: 1fr; }
.quiz.is-steps .quiz__q { display: none; }
.quiz.is-steps .quiz__q.is-active { display: block; animation: fade-up .35s var(--ease) both; }
.quiz.is-steps .quiz__q legend { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); line-height: 1.1; margin-bottom: 1rem; }
.quiz__step { display: block; margin: 0 0 .35rem; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--earth); }
.quiz.is-steps .quiz__actions { display: none; }
.quiz.is-steps.is-last .quiz__actions, .quiz.is-steps.is-done .quiz__actions { display: flex; }
.quiz__back { display: none; margin-top: 1rem; padding: .5rem 0; min-height: 44px; background: none; border: 0; font: 600 .95rem var(--body); color: var(--stone); cursor: pointer; }
.quiz.is-steps .quiz__back:not([hidden]) { display: inline-flex; align-items: center; gap: .4rem; }
.quiz__back:hover { color: var(--earth); }
.quiz.is-steps .quiz__opt span { min-height: 48px; padding-inline: 1.1rem; }
@media (max-width: 599px) {
  .quiz.is-steps .quiz__opts { display: grid; }
  .quiz.is-steps .quiz__opt span { display: flex; width: 100%; border-radius: var(--r-md); }
}
@keyframes fade-up { from { opacity: 0; translate: 0 .75rem; } }

/* 6h. CAROUSEL (scroll-snap strip with buttons) ============================ */
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 24rem); gap: 1rem;
  position: relative; /* keeps hidden screen-reader labels inside the strip (else the page scrolls sideways) */
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: .25rem .1rem 1rem; scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
}
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; } }
.carousel__nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .5rem; }
.carousel__btn {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid var(--rule); border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s;
}
.carousel__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover:not(:disabled) { border-color: var(--earth); color: var(--earth); }
.carousel__btn:disabled { opacity: .3; cursor: default; }

/* 6i. REVIEWS ============================================================== */
.stars { display: inline-flex; gap: 1px; color: var(--sun); vertical-align: middle; }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.stars svg.off { opacity: .25; }
.src-icon { width: 1.4rem; height: 1.4rem; flex: none; fill: currentColor; }

.rating-badges {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 15.5rem)); grid-auto-rows: 1fr; gap: .75rem;
}
@media (max-width: 539px) { .rating-badges { grid-template-columns: minmax(0, 1fr); } }
.rating-badges li { display: flex; }
.rating-badge {
  flex: 1; display: flex; align-items: center; gap: .8rem; min-height: 44px;
  padding: .7rem 1.2rem .7rem .9rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  text-decoration: none; transition: border-color .2s, translate .2s var(--ease);
}
.rating-badge:hover { border-color: var(--earth); translate: 0 -2px; }
.rating-badge .src-icon { width: 2rem; height: 2rem; color: var(--shale); }
.rating-badge__body { display: grid; line-height: 1.25; font-size: .82rem; color: var(--stone); }
.rating-badge__src { font-weight: 600; color: var(--shale); }
.rating-badge__line { display: flex; align-items: center; gap: .45rem; }
.rating-badge__line b { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--shale); }
.rating-badge__small { white-space: nowrap; }

.reviews__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 1.5rem 0 2rem; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.reviews__head h2 { margin: 0; }
.reviews__all { margin: 1.25rem 0 0; }
.tp-reviews { background: var(--snow-2); padding-block: var(--space); }
.tp-reviews .review-card, .tp-reviews .rating-badge { background: var(--snow); }
.tp-reviews + .tp-faq { padding-top: var(--space); }

.review-card {
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg);
}
.review-card__head { display: flex; align-items: center; gap: .75rem; }
.review-card__avatar {
  display: grid; place-items: center; flex: none; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--earth); color: var(--snow); font: 800 1.05rem var(--display); letter-spacing: .04em;
}
.review-card:nth-child(3n+2) .review-card__avatar { background: var(--walnut); }
.review-card:nth-child(3n) .review-card__avatar { background: var(--shale); }
.review-card__who { display: grid; min-width: 0; line-height: 1.3; }
.review-card__who b { font-weight: 600; }
.review-card__who span { font-size: .8rem; color: var(--stone); }
.review-card__src { margin-left: auto; color: var(--shale); }
.review-card__rate { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .82rem; color: var(--stone); }
.review-card__text { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.review-card__text p { margin: 0; }
.review-card__more { color: var(--earth); font-weight: 600; font-size: .92rem; }
.review-card__note { margin: auto 0 0; font-size: .75rem; font-style: italic; color: var(--stone); }
.review-card__orig summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--earth); }
.review-card__orig p { margin: 0; font-size: .92rem; font-style: italic; color: var(--stone); }

/* 6j. PAGE HEADERS, CHIPS, CATEGORY PAGES ================================= */
.pg-head {
  position: relative; overflow: hidden;
  padding-block: calc(var(--header-h) + var(--topbar-h) + clamp(1.5rem, 1rem + 3vw, 3.5rem)) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: radial-gradient(60rem 28rem at 88% -10%, rgba(233, 160, 59, .2), transparent 60%), var(--grain), var(--shale);
  color: var(--snow);
}
.pg-head h1 { font-size: var(--t-h2); text-transform: uppercase; max-width: 16ch; margin-bottom: .35em; }
.pg-head .lede { color: rgba(238, 241, 240, .85); }
.pg-head .crumbs ol { margin-bottom: 1rem; }
.pg-head__kicker {
  display: inline-flex; margin: 0 0 1.1rem; padding: .3rem .9rem;
  border: 1px solid rgba(233, 160, 59, .45); border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--sun-l);
}
.pg-head .rating-badges { margin-top: 1.75rem; }
.pg-head .rating-badge { background: rgba(238, 241, 240, .06); border-color: rgba(238, 241, 240, .18); }
.pg-head .rating-badge:hover { border-color: var(--sun); }
.pg-head .rating-badge__body { color: rgba(238, 241, 240, .7); }
.pg-head .rating-badge__src, .pg-head .rating-badge__line b, .pg-head .rating-badge .src-icon { color: var(--snow); }
.pg-head .ph { outline-color: var(--sun); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1rem;
  border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--shale);
  font: 600 .92rem var(--body); text-decoration: none; cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--earth); color: var(--earth); }
.chip[aria-pressed="true"] { background: var(--shale); border-color: var(--shale); color: var(--snow); }
.chip span { padding: .05rem .5rem; border-radius: 999px; background: rgba(30, 42, 47, .08); font-size: .78rem; }
.chips--lg .chip { min-height: 52px; padding: .6rem 1.3rem; font-size: 1rem; }

.cat-intro { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) .5rem; }
.cat-intro__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .cat-intro__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }
.cat-intro__label { margin: 0 0 .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.cat-list { padding-top: 1.5rem; }
.cat-list .tour-group { margin-top: 3rem; }
.tp-hero--cat { min-height: min(72svh, 44rem); }

/* Reviews page */
.rv { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space); }
.rv__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.rv__count { margin: 0; font-style: italic; color: var(--stone); }
.rv__grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 700px) { .rv__grid { columns: 2; } }
@media (min-width: 1100px) { .rv__grid { columns: 3; } }
.rv__grid .review-card { break-inside: avoid; margin-bottom: 1.25rem; }
.rv__empty { font-style: italic; }
.rv__note { max-width: 46em; margin-top: 2rem; font-size: .85rem; font-style: italic; color: var(--stone); }
.ta-box {
  display: grid; gap: 1rem 1.5rem; align-items: center;
  margin-top: 2.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--snow-2); border-radius: var(--r-lg);
}
@media (min-width: 800px) { .ta-box { grid-template-columns: auto minmax(0, 1fr) auto; } }
.ta-box .src-icon { width: 3rem; height: 3rem; color: var(--shale); }
.ta-box h2 { font-size: var(--t-h3); text-transform: none; margin-bottom: .3rem; }
.ta-box p { margin: 0; }

/* About */
.about-story { padding-block: var(--space); }
.about-story__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-story__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
.about-story h2 { font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.8rem); }
.about-story__img { margin: 0; }
.about-story__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.about-story__img figcaption { margin-top: .6rem; font-size: .85rem; font-style: italic; color: var(--stone); }
.about-stats { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); background: var(--grain), var(--shale); color: var(--snow); }
.about-stats .trust__list { border-top: 0; padding-top: 0; }
.about-stats .ph { outline-color: var(--sun); }

/* Contact */
.contact { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; } }
.contact__ways { display: grid; gap: .75rem; }
.way {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.25rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  text-decoration: none; transition: border-color .2s, translate .2s var(--ease);
}
.way:hover { border-color: var(--earth); translate: 0 -2px; }
.way svg { flex: none; width: 1.6rem; height: 1.6rem; margin-top: .15rem; color: var(--earth); }
.way > span { display: grid; gap: .1rem; min-width: 0; }
/* Narrow phones: a little more room so the email address fits after its @ break */
@media (max-width: 379px) { .way { padding-inline: 1rem; gap: .75rem; } .way .mail { font-size: .92rem; } }
.way b { font-weight: 600; }
.way small { font-size: .82rem; color: var(--stone); }
.contact__form.book { margin: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); }
.contact__form h2 { font-size: var(--t-h3); text-transform: none; margin-bottom: .4rem; }
.contact__form > p { margin-bottom: 1.5rem; }

/* Legal pages */
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space); }
.legal__grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
  .legal__grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
}
.legal__toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .1rem; font-size: .95rem; }
.legal__toc a { display: inline-block; padding-block: .35rem; color: var(--earth); font-weight: 600; text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__body h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); text-transform: none; margin: 2.5rem 0 .75rem; }
.legal__body section:first-of-type h2 { margin-top: 1rem; }
.legal__updated { font-size: .85rem; font-style: italic; color: var(--stone); }
.legal__list { padding-left: 1.2rem; }
.legal__list li { margin-bottom: .5rem; }

/* Logo options page */
.lo { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space); }
.lo__grid { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .lo__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lo-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.lo-card header { padding: 1.25rem 1.25rem .9rem; }
.lo-card h2 { font-size: var(--t-h3); text-transform: none; margin: 0; }
.lo-card__key { margin: 0 0 .2rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--earth); }
.lo-stage { display: flex; align-items: center; padding: 1.75rem 1.25rem; }
.lo-stage .logo { pointer-events: none; }
.lo-stage--dark { background: var(--shale); }
.lo-stage--light { background: var(--snow); }
.lo-stage--light .logo { --logo-a: var(--earth); --logo-m: var(--shale); color: var(--shale); }
.lo-stage--light .logo__text i { color: var(--stone); }
.lo-stage--earth { background: var(--earth); }
.lo-stage--earth .logo__text i { color: rgba(238, 241, 240, .85); }
.lo-stage .logo__mark { width: 3.2rem; height: 3.2rem; }
.lo-stage .logo__text b { font-size: 1.9rem; }
.lo-sizes { display: flex; align-items: flex-end; gap: 1rem; padding: 1.25rem; border-top: 1px solid var(--rule); }
.lo-card__how { margin: 0; padding: 0 1.25rem 1.25rem; font-size: .85rem; color: var(--stone); }
.lo-card__how code { padding: .1em .35em; border-radius: 4px; background: var(--snow-2); font-size: .9em; }

/* 6k. PHONE LAYOUTS ======================================================== */
@media (max-width: 699px) {
  /* Elevation profile fits the screen: bigger type inside the SVG instead of sideways scrolling */
  .profile__scroll { overflow: visible; padding-top: .75rem; }
  .profile__svg { min-width: 0; }
  .profile__labels text { font-size: 48px; stroke-width: 12px; }
  .profile__labels .is-summit { font-size: 50px; }
  .profile__daylabel { display: none; }
  .profile__grid text { font-size: 34px; stroke-width: 10px; }
  /* Phone labels move off the line: axis labels to the left, refuge label left of its point */
  .profile__grid text { text-anchor: start; transform: translateX(-990px); }
  .profile__labels .is-refuge { text-anchor: end; transform: translate(-22px, 4px); }
  .profile__labels .is-end { transform: translateY(26px); }
  .profile__line { stroke-width: 5; }
  .profile__pts circle { stroke-width: 4; r: 11; }
  .profile__pts circle.is-summit { r: 15; }
  .profile__swipe { display: none; }
}
/* Phone-only copy of the "Read all reviews" button (home page) */
.reviews__all--phone { display: none; }
@media (max-width: 639px) {
  /* No sideways swiping on phones: everything stacks or tiles */
  /* "Why trek with us": compact list, icon beside the text */
  .why__list { gap: 0; margin-top: 1.75rem; }
  .why__list li {
    display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem;
    padding: 1.25rem 0; border-top: 1px solid var(--rule);
  }
  .why__list li:last-child { border-bottom: 1px solid var(--rule); }
  .why__icon { grid-row: span 2; width: 2.6rem; height: 2.6rem; margin: .1rem 0 0; }
  .why__list h3 { margin-bottom: .35rem; font-size: 1.3rem; }
  .why__list p { font-size: .97rem; line-height: 1.6; }

  /* Gallery: two-column photo mosaic */
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 9.5rem; grid-auto-flow: dense; gap: .6rem; }
  .g { border-radius: var(--r-md); }
  .g--tall { grid-row: span 2; }
  .g--wide { grid-column: span 2; }
  .g img, .g__open { position: absolute; inset: 0; width: 100%; height: 100%; }
  .g img { object-fit: cover; }
  .g figcaption { padding: 1.5rem .7rem .55rem; font-size: .78rem; line-height: 1.3; }

  /* Reviews: three cards stacked, then a link to the rest */
  .carousel__track { display: grid; grid-auto-flow: row; grid-auto-columns: auto; gap: .9rem; overflow: visible; padding: 0; }
  .carousel__track > :nth-child(n+4) { display: none; }
  .carousel__nav { display: none; }
  .reviews__top .btn { display: none; }
  .reviews__all--phone { display: block; }
  .reviews__all .btn { width: 100%; justify-content: center; }
}
.g { border-radius: var(--r-md); }
.gallery { background: var(--grain), var(--shale); }
.other img { border-radius: var(--r-md); }
.quiz, .tp-know, .plan__safety { border-radius: var(--r-lg); }
.tp-know { border-left: 0; }
.find { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }

/* 7. MOTION ================================================================
   One orchestrated moment: the hero ridges rise into place on load.
   (Uses the `translate` property so it composes with the JS parallax,
   which uses `transform`.) */
@keyframes rise {
  from { translate: 0 18%; opacity: 0; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } }
@keyframes fade-in { from { opacity: 0; } }
.ridge--2 { animation: rise 1.6s .12s cubic-bezier(.2, .7, .2, 1) both; }
.ridge--3 { animation: rise 1.6s .24s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes line-up { from { translate: 0 105%; } }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* Sections reveal as they scroll into view (CSS scroll-driven animations,
   ignored by browsers without support and by reduced-motion users) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tour, .why__list li, .rv__grid .review-card, .day, .plan__block, .way,
    .faq details, .lo-card, .included, .quiz, .compare, .prose > h3 {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
  /* Smooth cross-fade between pages */
  @view-transition { navigation: auto; }
}
@keyframes reveal { from { opacity: 0; translate: 0 1.75rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}
