/* Alpenboxx Adventure Tours, rebuilt. From the scaffold's starter: its rules kept, its values changed.
   Their Squarespace theme: heading Cormorant, text Playfair Display, menu Poppins; accent hsl(23.76 97% 39.8%) = #c85103
   (orange), "black" #5d3955 (plum), dark accent #295875 (blue), light accent #b18cf0 (lavender). Radius 8px.
   Rules kept: one radius token; only .btn--main has an arrow; one hover (lift + fading ::after shadow) on cards that ARE
   the link; .more arrows ease in; header buttons share one treatment; grids keep rows balanced and never scroll
   sideways; minmax(0, 1fr) tracks; reveals use translate; [hidden] wins; media rules last. */
@view-transition { navigation: auto; }

:root {
  --head: 'Cormorant', Georgia, serif;
  --text: 'Playfair Display', Georgia, serif;
  --ui: 'Poppins', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  --paper: #fbf7f2;
  --paper-2: #f3ebe3;
  --surface: #ffffff;
  --ink: #2b2129;
  --ink-2: #5a4c57;
  --head-ink: #3f2639;
  --accent: #c85103;
  --accent-ink: #a34202;
  --on-accent: #fff;
  --plum: #5d3955;
  --plum-2: #4a2c44;
  --blue: #295875;
  --lav: #b18cf0;
  --sign: #fff8ec;
  --line: color-mix(in srgb, #2b2129 14%, transparent);
  --nav-bg: color-mix(in srgb, #4a2c44 90%, transparent);
  --shadow: 0 1px 2px rgb(40 20 30 / 0.06), 0 20px 44px -24px rgb(40 20 30 / 0.4);

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1200px;
  --section: clamp(56px, 7vw, 88px);
  --r: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1418; --paper-2: #221a20; --surface: #2a2027;
    --ink: #efe7ec; --ink-2: #c4b6bf; --head-ink: #fbf3f8;
    --accent-ink: #f39a5c;
    --plum: #3e2539; --plum-2: #33202f; --blue: #1f455d; --sign: #2f242c;
    --line: rgb(255 255 255 / 0.13); --nav-bg: rgb(40 26 37 / 0.9);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 20px 44px -24px rgb(0 0 0 / 0.85);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.0625rem)/1.65 var(--text); overflow-x: clip; }
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); color: var(--head-ink); font-weight: 600; line-height: 1.08; text-wrap: balance; letter-spacing: -0.01em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.title { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
.lede { font-size: clamp(1.04rem, 1rem + 0.3vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }

/* header */
.nav { position: sticky; top: 0; z-index: 50; color: #fff; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.nav.is-scrolled { border-bottom-color: rgb(255 255 255 / 0.14); }
.nav__in { display: flex; align-items: center; gap: 24px; height: var(--nav-h); padding-inline: var(--gutter); }
.nav__logo { flex: none; display: flex; align-items: center; min-width: 0; }
.nav__logo img, .foot__logo img { width: 112px; height: 64px; object-fit: cover; }
.nav__links { display: none; flex: 1; justify-content: center; gap: clamp(16px, 2.4vw, 34px); min-width: 0; font-family: var(--ui); }
.nav__links a { text-decoration: none; font-size: 0.95rem; transition: color 160ms var(--ease); }
.nav__links a:hover { color: #ffc79e; }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__menu { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 0; border-radius: var(--r); background: none; color: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); font: 500 0.92rem/1 var(--ui); cursor: pointer; transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease); }
.nav__menu:hover { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1px var(--accent); }

.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; padding: 0; border: 0; border-radius: var(--r) var(--r) 0 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); translate: 0 100%; transition: translate 420ms var(--ease), overlay 420ms allow-discrete, display 420ms allow-discrete; }
.sheet[open] { translate: 0 0; }
@starting-style { .sheet[open] { translate: 0 100%; } }
.sheet::backdrop { background: rgb(0 0 0 / 0); transition: background 420ms var(--ease), overlay 420ms allow-discrete, display 420ms allow-discrete; }
.sheet[open]::backdrop { background: rgb(0 0 0 / 0.35); }
@starting-style { .sheet[open]::backdrop { background: rgb(0 0 0 / 0); } }
.sheet__in { position: relative; padding: 64px var(--gutter) 32px; overflow-y: auto; max-height: 88dvh; scrollbar-width: none; }
.sheet__close { position: absolute; top: 14px; right: var(--gutter); height: 40px; padding: 0 18px; border: 0; border-radius: var(--r); background: var(--surface); color: inherit; box-shadow: inset 0 0 0 1px var(--line); font: 500 0.92rem/1 var(--ui); cursor: pointer; transition: background 180ms var(--ease), color 180ms var(--ease); }
.sheet__close:hover { background: var(--accent); color: var(--on-accent); }
.sheet__nav { display: grid; gap: 4px; font-family: var(--ui); }
.sheet__nav a:not(.btn) { padding: 12px 0; text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.sheet__nav .btn { margin-top: 18px; }

/* buttons: Poppins (their stencil button face doesn't read at a glance). Only .btn--main carries the arrow. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--on-accent); font: 500 0.98rem/1 var(--ui); text-decoration: none; cursor: pointer; transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease); }
.btn:hover { transform: translateY(-1px); background: #a34202; color: #fff; }
.btn--sm { min-height: 40px; height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--light { background: var(--accent); color: #fff; }
.btn--ghost { background: none; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55); }
.btn--ghost:hover { background: #fff; color: #3f2639; box-shadow: inset 0 0 0 1px #fff; }
.btn--main::after { content: ''; width: 16px; height: 16px; background: currentColor; transition: translate 180ms var(--ease);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn--main:hover::after { translate: 3px 0; }
.more { position: relative; display: inline-flex; align-items: center; width: fit-content; padding-right: 0; color: var(--accent-ink); font: 500 0.95rem/1.4 var(--ui); text-decoration: none; transition: padding 220ms var(--ease), color 160ms var(--ease); }
.more::after { content: ''; position: absolute; right: 0; top: 50%; width: 1em; height: 1em; margin-top: -0.5em; background: currentColor; opacity: 0; translate: -0.4em 0; transition: opacity 220ms var(--ease), translate 220ms var(--ease);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.more:hover, .more:focus-visible, a.card:hover .more { padding-right: 1.4em; }
.more:hover::after, .more:focus-visible::after, a.card:hover .more::after { opacity: 1; translate: 0 0; }
@media (hover: none) {
  .more { padding-right: 1.4em; }
  .more::after { opacity: 1; translate: 0 0; scale: 0.85; }
}
.center { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 36px); }

/* hero: their sunset scarf photo beside their promise, on their plum */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--plum); color: #fff; }
.hero__copy { display: grid; align-content: center; gap: 16px; padding: 28px var(--gutter) 40px; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); font-weight: 600; line-height: 1.02; }
.hero__title span { display: block; }
.hero__title span:nth-child(2) { color: #ffc79e; font-style: italic; font-weight: 500; }
.hero__lede { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem); max-width: 34ch; }
.hero__kinds { font: 400 0.86rem/1.5 var(--ui); letter-spacing: 0.02em; color: rgb(255 255 255 / 0.82); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__note { position: relative; display: grid; gap: 2px; max-width: 440px; margin-top: 8px; padding: 14px 16px; border-radius: var(--r); background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); text-decoration: none; transition: transform 200ms var(--ease), background 200ms var(--ease); }
.hero__note::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 18px 36px -20px rgb(0 0 0 / 0.6); opacity: 0; transition: opacity 200ms var(--ease); pointer-events: none; }
.hero__note:hover { transform: translateY(-2px); background: rgb(255 255 255 / 0.12); }
.hero__note:hover::after { opacity: 1; }
.hero__note strong { font: 600 1.2rem/1.2 var(--head); }
.hero__note span { font: 400 0.84rem/1.45 var(--ui); color: rgb(255 255 255 / 0.85); }
.hero__photo { position: relative; order: -1; height: 38svh; min-height: 240px; overflow: clip; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo { -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent); mask-image: linear-gradient(to bottom, #000 58%, transparent); }

/* signature: the trail signpost */
.trails { background: var(--paper-2); }
.trails__in { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.post { position: relative; display: grid; justify-items: center; padding-block: 4px 0; }
.post::before { content: ''; position: absolute; top: 0; bottom: 30px; left: 50%; width: 12px; translate: -50% 0; border-radius: 3px; background: linear-gradient(90deg, #6b5240, #8a6c55 45%, #5c4535); }
.post__cap { position: relative; z-index: 1; display: grid; justify-items: center; padding: 10px 18px; border-radius: var(--r); background: var(--plum); color: #fff; font: 600 1.15rem/1.15 var(--head); text-align: center; }
.post__cap span { font: 500 0.68rem/1.4 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: #ffc79e; }
.post__arms { position: relative; z-index: 1; display: grid; gap: 10px; width: min(100%, 520px); margin-top: 16px; }
.post__arms li { display: flex; }
.post__arms li:has(.arm--e) { justify-content: flex-end; }
.post__foot { position: relative; z-index: 1; margin-top: 14px; padding: 4px 10px; border-radius: var(--r); background: var(--paper-2); font: 400 0.78rem/1.4 var(--ui); color: var(--ink-2); }
/* one arm: a sign plate (clip-path on ::before) with a red-white-red waymark at its root; the soft shadow is the link's
   own drop-shadow, faded in on hover; the arm nudges the way it points */
.arm { --tip: 18px; position: relative; display: grid; gap: 1px; width: min(100%, 360px); padding: 10px calc(var(--tip) + 12px) 10px 26px; color: var(--ink); text-decoration: none; filter: drop-shadow(0 1px 1px rgb(40 20 30 / 0.14)); transition: transform 200ms var(--ease), filter 200ms var(--ease); }
.arm::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sign); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); }
.arm::after { content: ''; position: absolute; top: 8px; bottom: 8px; left: 9px; width: 7px; border-radius: 2px; background: linear-gradient(#d6322d 0 33%, #fff 33% 67%, #d6322d 67%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08); }
.arm--w { padding: 10px 26px 10px calc(var(--tip) + 12px); text-align: right; }
.arm--w::before { clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%); }
.arm--w::after { left: auto; right: 9px; }
.arm__name { font: 600 clamp(1.08rem, 1rem + 0.4vw, 1.25rem)/1.2 var(--head); color: var(--head-ink); }
.arm__meta { font: 400 0.8rem/1.4 var(--ui); color: var(--ink-2); }
.arm:hover, .arm:focus-visible, .arm.is-on { filter: drop-shadow(0 12px 14px rgb(40 20 30 / 0.22)); }
.arm--e:hover, .arm--e:focus-visible { transform: translate(4px, -2px); }
.arm--w:hover, .arm--w:focus-visible { transform: translate(-4px, -2px); }
.arm.is-on::before { background: color-mix(in srgb, var(--sign) 82%, var(--accent)); }
.trip { display: grid; overflow: clip; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.trip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity 260ms var(--ease); }
.trip.is-swapping img, .trip.is-swapping .trip__body { opacity: 0.35; }
.trip__body { display: grid; gap: 8px; padding: clamp(20px, 2.6vw, 28px); transition: opacity 260ms var(--ease); }
.trip h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.trip__when { font: 500 0.88rem/1.4 var(--ui); color: var(--accent-ink); }
.trip__price { font: 500 0.95rem/1.5 var(--ui); padding-top: 8px; border-top: 1px solid var(--line); }

/* grids */
.grid { --cols: 3; display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.grid:has(> :last-child:nth-child(1)) { --cols: 1; }
.grid:has(> :last-child:nth-child(2)) { --cols: 2; }
.grid:has(> :last-child:nth-child(4)), .grid:has(> :last-child:nth-child(7)), .grid:has(> :last-child:nth-child(8)) { --cols: 4; }
.grid:has(> :last-child:nth-child(7)) > :first-child { grid-column: span 2; }
.grid:has(> [hidden]:last-child) { --cols: 2; }

/* cards */
.card { position: relative; display: grid; align-content: start; gap: 10px; padding: clamp(14px, 1.6vw, 18px) clamp(14px, 1.6vw, 18px) clamp(18px, 2vw, 24px); border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform 200ms var(--ease); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow); opacity: 0; transition: opacity 200ms var(--ease); pointer-events: none; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); }
a.card:hover::after { opacity: 1; }
.card img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 4px; }
.card h3 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem); }
.card p { color: var(--ink-2); }
.card .more { margin-top: 2px; }
.event__when { font: 500 0.84rem/1.4 var(--ui); color: var(--accent-ink) !important; }

/* pathways + pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(28px, 4vw, 44px); overflow: clip; border-radius: var(--r); background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.pillars li { display: grid; gap: 4px; padding: 18px 20px; background: var(--paper-2); }
.pillars strong { font: 600 1.3rem/1.15 var(--head); color: var(--head-ink); }
.pillars span { font-size: 0.92rem; color: var(--ink-2); }

/* stories: a calm wall */
.stories .title { color: #fff; }
.wall { columns: 3; column-gap: clamp(16px, 2.2vw, 24px); }
.review { break-inside: avoid; display: grid; gap: 12px; margin-bottom: clamp(16px, 2.2vw, 24px); padding: 22px 22px 20px; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; }
.review blockquote { font: 400 1.08rem/1.6 var(--text); color: var(--ink); }
.review figcaption { font: 400 0.84rem/1.4 var(--ui); color: var(--ink-2); }

/* Karrie */
.karrie__in { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.karrie__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }
.karrie__text { display: grid; gap: 16px; }
.karrie__text em { display: block; font-weight: 500; color: var(--accent-ink); font-size: 0.62em; margin-top: 6px; }
.karrie__cred { font: 400 0.86rem/1.55 var(--ui); color: var(--ink-2); }
/* creative risk: Wild Wins as a race bib */
.bib { position: relative; display: grid; gap: 2px; width: min(100%, 360px); padding: 0 0 16px; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: center; overflow: clip; rotate: -1.5deg; }
.bib::before, .bib::after { content: ''; position: absolute; top: 44px; width: 9px; height: 9px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.bib::before { left: 12px; } .bib::after { right: 12px; }
.bib__band { padding: 8px 12px; background: var(--accent); color: #fff; font: 500 0.78rem/1.4 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }
.bib__num { font: 700 clamp(4rem, 3rem + 4vw, 5.6rem)/1 var(--head); color: var(--head-ink); margin-top: 10px; letter-spacing: -0.02em; }
.bib__num span { font-size: 0.5em; color: var(--accent-ink); }
.bib__what { font: 500 0.9rem/1.4 var(--ui); }
.bib__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 8px; padding-inline: 16px; font: 400 0.78rem/1.5 var(--ui); color: var(--ink-2); }

/* FAQ */
.faq { background: var(--paper-2); }
.faq__in { display: grid; gap: 8px; max-width: 860px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; padding: 18px 22px; font: 600 1.25rem/1.3 var(--head); color: var(--head-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; transition: color 160ms var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.4rem/1 var(--ui); color: var(--accent-ink); transition: rotate 200ms var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* close */
.close { padding-block: clamp(56px, 7vw, 88px); background: var(--plum); color: #fff; text-align: center; }
.close__in { display: grid; justify-items: center; gap: 16px; }
.close .title { color: #fff; }
.close p { max-width: 52ch; color: rgb(255 255 255 / 0.88); }

/* footer */
.foot { margin-top: auto; padding-block: clamp(44px, 6vw, 72px) 26px; background: var(--plum-2); color: rgb(255 255 255 / 0.86); font-size: 0.92rem; }
.foot__in { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.foot__brand { display: grid; gap: 10px; }
.foot__col { display: grid; gap: 6px; align-content: start; font-family: var(--ui); }
.foot__h { font: 600 1.15rem/1.3 var(--head); color: #fff; margin-bottom: 4px; }
.foot a { text-decoration: none; transition: color 160ms var(--ease); }
.foot a:hover { color: #ffc79e; }
.foot__social { display: flex; gap: 10px; }
.foot__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); transition: background 160ms var(--ease), color 160ms var(--ease); }
.foot__social a:hover { background: #fff; color: #3f2639; }
.brand svg { width: 18px; height: 18px; fill: currentColor; }
.foot__copy, .foot__credit { font: 400 0.8rem/1.5 var(--ui); color: rgb(255 255 255 / 0.72); }
.foot__copy { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.14); }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 18px; transition: opacity 700ms var(--ease), translate 800ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal.is-in { opacity: 1; translate: 0 0; transition: opacity 700ms var(--ease), translate 800ms var(--ease), transform 200ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s, 0s; }
  .hero__photo img { animation: settle 1600ms var(--ease) both; }
  /* the arms swing in once, from the post outward, then rest */
  .js .post:not(.is-in) .arm { opacity: 0; }
  .js .post.is-in .arm--e { animation: swing-e 900ms var(--ease) both; animation-delay: calc(var(--n, 0) * 80ms); }
  .js .post.is-in .arm--w { animation: swing-w 900ms var(--ease) both; animation-delay: calc(var(--n, 0) * 80ms); }
}
@keyframes settle { from { scale: 1.05; opacity: 0.6; } to { scale: 1; opacity: 1; } }
@keyframes swing-e { from { opacity: 0; rotate: -7deg; translate: -14px 0; } to { opacity: 1; rotate: 0deg; translate: 0 0; } }
@keyframes swing-w { from { opacity: 0; rotate: 7deg; translate: 14px 0; } to { opacity: 1; rotate: 0deg; translate: 0 0; } }
.arm--e { transform-origin: 0 50%; } .arm--w { transform-origin: 100% 50%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}

/* ═══════════ Media rules: ALL of them here, after the base rules they override. ═══════════ */
@media (min-width: 720px) {
  .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot__copy, .foot__credit { grid-column: 1 / -1; }
  .foot__credit { margin-top: -18px; }
}
@media (min-width: 960px) {
  /* exactly one screen: the photo is pinned to the hero's edges, so it can never run below it, and it melts into the plum */
  .hero { display: block; position: relative; height: calc(100svh - var(--nav-h) - 1px); min-height: 600px; overflow: clip; }
  .hero__copy { position: relative; z-index: 1; height: 100%; width: min(52%, 760px); gap: clamp(8px, 1.5vh, 14px); padding: 20px clamp(16px, 2vw, 32px) clamp(76px, 11vh, 110px) var(--gutter); }
  .hero__title { font-size: clamp(2.5rem, min(1.6rem + 3.4vw, 10.5vh), 4.8rem); }
  .hero__photo { position: absolute; inset: 0 0 0 auto; order: 0; width: 70%; height: 100%; min-height: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgb(0 0 0 / 0.12) 12%, rgb(0 0 0 / 0.42) 24%, rgb(0 0 0 / 0.8) 36%, #000 48%);
    mask-image: linear-gradient(to right, transparent 0, rgb(0 0 0 / 0.12) 12%, rgb(0 0 0 / 0.42) 24%, rgb(0 0 0 / 0.8) 36%, #000 48%); }
  .hero__photo img { object-position: 62% 60%; }
  .trails__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trip { position: sticky; top: calc(var(--nav-h) + 24px); }
  .karrie__in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__menu { display: none; }
}
@media (max-width: 1023px) {
  .grid:has(> :last-child:nth-child(4)), .grid:has(> :last-child:nth-child(7)), .grid:has(> :last-child:nth-child(8)) { --cols: 2; }
  .wall { columns: 2; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid:has(> :last-child:nth-child(7)) > :first-child { grid-column: auto; }
  .wall { columns: 1; }
  .wall .review:nth-child(n+7) { display: none; }
  .arm { width: min(100%, 330px); }
  .hero__photo { height: 32svh; min-height: 200px; }
  .hero__copy { gap: 12px; padding-top: 22px; }
  .hero__title { font-size: clamp(2.3rem, 1.6rem + 4vw, 3rem); }
}
@media (max-width: 520px) {
  .nav__end .btn { display: none; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

/* ── One mountain held still behind events, pathways and stories, with liquid glass passing over it ── */
/* overflow: clip keeps the held photo inside these sections: without it, it runs a full screen past their end, behind whatever comes next */
.range { position: relative; isolation: isolate; overflow: clip; background: var(--plum-2); color: #fff; }
.range__bg { inset: auto; position: sticky; top: 0; height: 100lvh; margin-bottom: -100lvh; z-index: -1; overflow: clip; pointer-events: none; }
.range__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.range__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(38 22 34 / 0.56), rgb(38 22 34 / 0.34) 40%, rgb(38 22 34 / 0.6)); }
.range .title { color: #fff; }
.range .lede { color: rgb(255 255 255 / 0.94); }
.events .head, .paths .head { margin-inline: auto; justify-items: center; text-align: center; }
.events .grid, .paths .grid, .paths .pillars { max-width: 1000px; margin-inline: auto; }

/* the glass: light along its top edge, blurred and saturated behind. Solid plum where blur isn't available or asked for. */
.range .card, .range .review, .range .pillars { --tint: rgb(38 22 34 / 0.4);
  border-radius: 20px; background: linear-gradient(135deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.04) 44%, rgb(255 255 255 / 0.1)), var(--tint);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.44), inset 0 0 0 1px rgb(255 255 255 / 0.16), 0 24px 48px -28px rgb(0 0 0 / 0.7); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .range .card, .range .review, .range .pillars { --tint: rgb(38 22 34 / 0.92); } }
@media (prefers-reduced-transparency: reduce) { .range .card, .range .review, .range .pillars { --tint: rgb(38 22 34 / 0.94); } }

/* the event and pathway cards, a little smaller */
.range .card { gap: 8px; padding: 10px 10px 18px; }
.range .card > :not(img) { margin-inline: 8px; }
.range .card img { aspect-ratio: 3 / 2; border-radius: 13px; }
.range .card h3 { color: #fff; font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); }
.range .card p { color: rgb(255 255 255 / 0.92); font-size: 1rem; line-height: 1.5; }
.range .event__when { color: #ffd9bd !important; }
.range .more { color: #ffd9bd; }
.range a.card:hover { background: linear-gradient(135deg, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0.08) 44%, rgb(255 255 255 / 0.14)), var(--tint); }
.range .pillars { gap: 0; overflow: clip; }
.range .pillars li { background: none; }
.range .pillars li + li { box-shadow: inset 1px 0 0 rgb(255 255 255 / 0.16); }
.range .pillars strong { color: #fff; }
.range .pillars span { color: rgb(255 255 255 / 0.9); }

/* the stories, on glass */
.range .stars { color: #ffd9bd; }
.range .review { padding: 22px 22px 20px; }
.range .review blockquote { color: #fff; }
.range .review figcaption { color: rgb(255 255 255 / 0.88); }
.stories__head { margin-bottom: clamp(24px, 3vw, 36px); }
.stories__toggle { width: fit-content; }

/* on a laptop they drift: the title stays, two columns pass each other, slowly, off the top and bottom of the section */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .stories.is-drifting { padding-block: 0; }
  .stories.is-drifting .stories__in { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
  .stories.is-drifting .stories__head { margin: 0; gap: 22px; justify-items: start; }
  .stories.is-drifting .title { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4rem); }
  .wall.is-drifting { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); height: min(100svh, 860px); overflow: clip; }
  /* the stories melt away at the top and bottom. A mask cuts its contents off from what's behind, which would kill the glass's blur,
     so the wall carries its own copy of the mountain and shade, fixed to the screen exactly like the original: the glass blurs the copy,
     and where the mask fades the copy, the identical photo behind takes over with no visible edge. */
  .wall.is-drifting { background: linear-gradient(180deg, rgb(38 22 34 / 0.56), rgb(38 22 34 / 0.34) 40%, rgb(38 22 34 / 0.6)) 0 0 / 100vw 100vh fixed no-repeat, url("https://images.squarespace-cdn.com/content/v1/67bb76164af8830e260eb9f4/a7f604af-7de5-4149-9bc0-8f495f8d3fde/Gro%C3%9F+%2834046ce6-7581-4f9e-aec0-98c4e9c43222%29.jpeg?format=1500w") 55% 30% / cover fixed no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); }
  .wall__col { display: grid; align-content: start; animation: drift 84s linear infinite; }
  .wall__col:nth-child(2) { animation-direction: reverse; }
  .wall__set { display: grid; align-content: start; gap: clamp(14px, 1.6vw, 20px); padding-bottom: clamp(14px, 1.6vw, 20px); }
  .wall__set .review { margin: 0; }
  .wall.is-drifting:hover .wall__col, .wall.is-drifting:focus-within .wall__col, .wall.is-paused .wall__col, .wall.is-away .wall__col { animation-play-state: paused; }
}
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .wall__set[aria-hidden] { display: none; }
  .stories__toggle { display: none; }
  .wall.is-drifting { columns: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wall__col, .wall__set { display: contents; }
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (max-width: 1023px) {
  .range .pillars li + li { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16); }
}
.range .head { text-shadow: 0 1px 2px rgb(30 15 25 / 0.5), 0 2px 26px rgb(30 15 25 / 0.75); }

/* About Karrie: white, in light and dark mode alike, so her story always reads */
.karrie { --ink: #2b2129; --ink-2: #5a4c57; --head-ink: #3f2639; --accent-ink: #a34202; --surface: #fff; --paper: #fff; --line: color-mix(in srgb, #2b2129 14%, transparent); background: #fff; color: var(--ink); color-scheme: light; }

/* her photo comes alive on hover: the clip fades in over it, in the same frame */
.karrie__photo { position: relative; overflow: clip; border-radius: var(--r); }
.karrie__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms var(--ease); pointer-events: none; }
.karrie__photo.is-playing .karrie__film { opacity: 1; }
.karrie__play { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: linear-gradient(135deg, rgb(255 255 255 / 0.34), rgb(255 255 255 / 0.1)), rgb(38 22 34 / 0.34); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), inset 0 0 0 1px rgb(255 255 255 / 0.22); transition: opacity 300ms var(--ease); pointer-events: none; }
.karrie__play svg { width: 18px; height: 18px; margin-left: 2px; fill: #fff; }
.karrie__photo.is-playing .karrie__play { opacity: 0; }
@media (hover: none), (prefers-reduced-motion: reduce) { .karrie__play { display: none; } }
@media (prefers-reduced-motion: reduce) { .karrie__film { display: none; } }

/* ═══════════ Phones first (Jacob, 2026-11-24): "make sure it's incredible" on a phone. ═══════════
   One arrow per CTA zone (hero and close), no stars on each quote (no overall rating to show), labels as words not
   tracked capitals, a 64px header, and fewer floating boxes: on a phone the trip card, the tour sheet, the FAQ and the
   reviews outside the glass sit on their own ground. */
.stars { display: none; }
main .btn--main:not(.hero .btn--main, .phero .btn--main, .close .btn--main)::after { content: none; }
.bib__band { text-transform: none; letter-spacing: 0.02em; font-weight: 600; }
@media (hover: none) {
  .more { padding-right: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .more::after { content: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav__logo img { width: 98px; height: 56px; }
  .nav__menu { height: 44px; }
  .trip { box-shadow: 0 0 0 1px var(--line); }
  .tour-band .tour-card { box-shadow: inset 0 0 0 7px var(--sheet), inset 0 0 0 8px rgb(58 40 28 / 0.42); }
  .faq__list { gap: 0; border-top: 1px solid var(--line); }
  .faq details { border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--line); }
  .faq summary { padding: 18px 0; }
  .faq details p { padding: 0 0 20px; }
  .review:not(.range .review) { margin: 0; padding: 22px 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line); }
  /* words over the held mountain: a calmer photo instead of shadows propping the heading up */
  .range .head { text-shadow: none; }
  .range__bg::after { background: linear-gradient(180deg, rgb(38 22 34 / 0.72), rgb(38 22 34 / 0.5) 40%, rgb(38 22 34 / 0.72)); }
}
