/* ==========================================================================
   Kilisa Tours & Safaris — design system
   Brand: ember #F87A01 · flame #F9461D · ridge ink #1C231F · body #484848 · leaf #63AB45
   Neutrals: volcanic ash. Type: Josefin Sans 600 (display), Prompt 300/400/500 (text).
   Signature: the ascent profile (real camp altitudes from the itinerary) — .ridge / .profile
   ========================================================================== */

@font-face { font-family: "Josefin Sans"; src: url("/assets/fonts/josefin-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("/assets/fonts/prompt-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("/assets/fonts/prompt-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("/assets/fonts/prompt-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* fallbacks sized to the web fonts' metrics (measured with fontTools), so text keeps its size when the fonts arrive (no layout shift) */
@font-face { font-family: "Josefin Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 100 900; size-adjust: 96.9%; ascent-override: 77.4%; descent-override: 25.8%; line-gap-override: 0%; }
@font-face { font-family: "Prompt Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 900; size-adjust: 111%; ascent-override: 98.2%; descent-override: 38%; line-gap-override: 0%; }

:root {
  --ink: #1C231F;           /* ridge ink: headings, dark bands */
  --ink-2: #262E29;
  --body: #484848;          /* body text (brand) */
  --muted: #5D645E;         /* secondary text, 5.9:1 on white */
  --ember: #F87A01;         /* fills, lines, buttons (ink text on it: 6:1) */
  --ember-deep: #A34C00;    /* orange TEXT on light backgrounds, 5.8:1 */
  --flame: #F9461D;
  --leaf: #63AB45;
  --leaf-deep: #3E7A29;     /* tick icons on white, 4.9:1 */
  --ash: #EDEEEA;           /* calm volcanic-ash surface */
  --ash-2: #E1E4DD;
  --line: #D3D7CF;
  --white: #fff;
  --on-dark: #EEF1EC;
  --on-dark-muted: #AEB6AF;

  --f-display: "Josefin Sans", "Josefin Fallback", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-text: "Prompt", "Prompt Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.5rem, 1.35rem + 5.2vw, 5.6rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 3.4vw, 4.1rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.45rem, 1.2rem + 1vw, 1.95rem);
  --fs-h4: 1.2rem;
  --fs-lead: clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 78rem;
  --sec: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(28 35 31 / .06), 0 12px 32px -12px rgb(28 35 31 / .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 4.5rem;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8.5rem; }
body { margin: 0; font: 400 var(--fs-body)/1.7 var(--f-text); color: var(--body); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--ember-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--flip { transform: scaleX(-1); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--ash { background: var(--ash); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink :is(h2, h3, .h2, .h3) { color: #fff; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head .h2 { margin-bottom: 0; }
.section__head--split { max-width: none; display: grid; gap: 1.25rem 4rem; align-items: end; }
.section__aside { color: var(--muted); max-width: 38rem; }
.section__aside p:last-child { margin: 0; }
.section__head--split > .link-arrow { justify-self: start; }
@media (min-width: 64em) { .section__head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* eyebrow: wide-tracked Josefin capitals after a short ember rule */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem; font: 600 .78rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--ember-deep); }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--ember); }
.eyebrow--light { color: #fff; }
.lead, .lead-first > p:first-child { font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: var(--ink-2); }

/* ---------- buttons & links ---------- */
.btn { --b: var(--ink); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.4rem; border: 1.5px solid var(--b); border-radius: 999px; background: var(--b); color: var(--c); font: 500 .95rem/1.1 var(--f-text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); color: var(--c); }
.btn--ember { --b: var(--ember); --c: #fff; }
.btn--ember:hover { --b: #E06D00; }
.btn--ghost-light { background: transparent; border-color: rgb(255 255 255 / .55); --c: #fff; }
.btn--ghost-light:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.btn--lg { min-height: 3.5rem; padding-inline: 1.8rem; font-size: 1rem; }
.btn--sm { min-height: 2.5rem; padding: .45rem 1.05rem; font-size: .875rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ember); padding-bottom: .2rem; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--ember-deep); font-weight: 500; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.icon-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.section--ink .icon-btn { background: transparent; border-color: rgb(255 255 255 / .3); color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .82rem; }
.topbar__in { display: flex; align-items: center; gap: 1.5rem; min-height: 2.4rem; }
.topbar__link { display: inline-flex; align-items: center; gap: .45rem; color: var(--on-dark); text-decoration: none; }
.topbar__link:hover { color: var(--ember); }
.topbar__link:nth-child(2) span { display: none; }
.topbar__social { display: flex; gap: .2rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.topbar__social a { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--on-dark-muted); }
.topbar__social a:hover { color: var(--ember); }
.masthead { background: rgb(255 255 255 / .97); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.is-scrolled .masthead { box-shadow: 0 6px 24px -14px rgb(28 35 31 / .35); border-color: var(--line); }
.masthead__in { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
/* the logo keeps one size: shrinking it on scroll would resize the sticky header and jolt the page */
.brand img { width: auto; height: 3.4rem; }
@media (min-width: 64em) { .brand img { height: 4rem; } }
.masthead__book { margin-left: auto; }
.burger { display: grid; place-items: center; width: 3rem; height: 3rem; margin-right: -.5rem; border: 0; background: none; color: var(--ink); cursor: pointer; }
.burger .ico { width: 1.6rem; height: 1.6rem; }
.burger .ico--close, .burger[aria-expanded="true"] .ico--open { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }

/* mobile drawer */
.nav { position: fixed; inset: calc(var(--header-h) + 2.4rem) 0 0; z-index: 49; background: var(--white); padding: 1rem var(--gutter) 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.nav.is-open { transform: none; visibility: visible; }
/* the closed phone drawer (a third of the page's elements) is not laid out until it opens */
@media (max-width: 63.99em) { .nav:not(.is-open):not(.is-closing) { content-visibility: hidden; } }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
.nav__link { display: block; padding: 1rem 0; font: 600 1.35rem/1.2 var(--f-display); color: var(--ink); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--ember-deep); }
.nav__toggle { display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav__toggle .ico { transition: transform .25s; }
.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mega { grid-column: 1 / -1; display: none; padding: 0 0 1.25rem; }
.nav__toggle[aria-expanded="true"] + .mega { display: block; }
.mega__col + .mega__col { margin-top: 1rem; }
.mega__head { margin: 0 0 .4rem; font: 600 .72rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: .35rem 0; color: var(--ink); text-decoration: none; }
.mega li a:hover { color: var(--ember-deep); }
.mega__all { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 500; color: var(--ember-deep); text-decoration: none; }
.nav__drawer-foot { display: grid; gap: 1rem; margin-top: 2rem; }
.nav__call { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; }
.masthead__book { display: none; }

@media (min-width: 40em) {
  .topbar__link:nth-child(2) span { display: inline; }
}
@media (min-width: 64em) {
  :root { --header-h: 5.25rem; }
  .burger, .nav__drawer-foot { display: none; }
  .masthead__book { display: inline-flex; margin-left: 0; }
  .nav { position: static; inset: auto; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; margin-left: auto; }
  .nav__list { display: flex; gap: .25rem; }
  .nav__item { position: static; display: flex; border: 0; }
  .nav__link { padding: .5rem .7rem; font: 500 .95rem/1 var(--f-text); position: relative; }
  .nav__link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .1rem; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after, .has-mega:hover > .nav__link::after { transform: none; }
  .nav__link[aria-current="page"] { color: var(--ink); }
  .nav__toggle { width: 1.6rem; height: 2.5rem; margin-left: -.45rem; }
  .nav__toggle .ico { width: .95rem; height: .95rem; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; display: block; padding: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgb(28 35 31 / .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .25s; }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega, .nav__toggle[aria-expanded="true"] + .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 3rem; padding: 2.25rem 0 2.5rem; }
  .mega__col + .mega__col { margin-top: 0; }
  .mega ul { columns: 2; column-gap: 2rem; }
  .mega__all { align-self: end; margin: 0; }
}

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(92svh, 58rem); color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: hero-in 1.6s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(28 35 31 / .55) 0%, rgb(28 35 31 / .05) 32%, rgb(28 35 31 / .1) 55%, rgb(28 35 31 / .78) 100%); }
.hero__in { padding-block: 9rem clamp(8rem, 6rem + 8vw, 12rem); }
.hero__title { max-width: 13ch; margin: 0 0 1.25rem; font-size: var(--fs-hero); line-height: .98; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.hero__lead { max-width: 34rem; margin-bottom: 2rem; font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; color: rgb(255 255 255 / .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@keyframes hero-in { from { transform: scale(1.06); } to { transform: none; } }
/* slideshow: slides cross-fade; the one showing drifts slowly (site.js; none with reduced motion) */
/* photos change behind the headline, so a soft shade on the text side keeps it readable on any of them */
.hero--slides::before { background: linear-gradient(90deg, rgb(28 35 31 / .5) 0%, rgb(28 35 31 / .18) 45%, rgb(28 35 31 / 0) 70%), linear-gradient(180deg, rgb(28 35 31 / .55) 0%, rgb(28 35 31 / .05) 32%, rgb(28 35 31 / .1) 55%, rgb(28 35 31 / .78) 100%); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__slide--center img { object-position: 50% 50%; }
.hero__slide--left img { object-position: 22% 50%; }
.hero__slide--right img { object-position: 78% 50%; }
.hero__slide.is-drift img { animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: none; } }
.hero__ctrl { position: absolute; z-index: 2; right: max(var(--gutter), (100% - var(--wrap)) / 2); bottom: clamp(8rem, 6rem + 8vw, 12rem); display: flex; align-items: center; gap: .35rem; }
.hero__ctrl[hidden] { display: none; }
.hero__dot { width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero__dot::before { content: ""; width: .5rem; height: .5rem; border-radius: 1rem; background: rgb(255 255 255 / .55); transition: width .4s var(--ease), background-color .4s; }
.hero__dot:hover::before { background: #fff; }
.hero__dot.is-on::before { width: 1.6rem; background: var(--ember); }
.hero__pause { width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgb(255 255 255 / .45); border-radius: 50%; background: rgb(28 35 31 / .25); color: #fff; cursor: pointer; display: grid; place-items: center; margin-right: .35rem; }
.hero__pause:hover { border-color: #fff; }
.hero__pause .ico { width: 1rem; height: 1rem; }
.hero__pause .ico--play, .hero__pause[aria-pressed="true"] .ico--pause { display: none; }
.hero__pause[aria-pressed="true"] .ico--play { display: block; }
/* phones: the bottom holds the buttons, the ridge label and the WhatsApp bubble, so the controls go to the sky */
@media (max-width: 47.99em) {
  .hero__ctrl { top: 1rem; bottom: auto; right: var(--gutter); gap: 0; }
  .hero__dot { width: 1.75rem; height: 2.75rem; }
  .hero__dot.is-on::before { width: 1.2rem; }
  .hero__pause { width: 2.5rem; height: 2.5rem; }
}

/* the signature ridge line along the bottom of the hero */
.ridge { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(5rem, 3rem + 7vw, 9.5rem); display: block; color: inherit; }
.ridge svg { width: 100%; height: 100%; }
.ridge__line { fill: none; stroke: var(--ember); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .4s var(--ease) forwards; }
.ridge__peak { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.ridge__dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 5px rgb(248 122 1 / .25); opacity: 0; animation: fade 0.6s 2.4s forwards; }
.ridge__label { position: absolute; bottom: 1.2rem; white-space: nowrap; font: 600 .7rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: #fff; opacity: 0; animation: fade .6s 2.6s forwards; }
.ridge:hover .ridge__label { color: var(--ember); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- why ---------- */
/* intro beside the summit video; the three reasons run underneath as one row, each with a line icon */
.why__grid { display: grid; gap: 2.5rem; }
.why__intro { display: grid; justify-items: start; align-content: center; }
.why__intro .h2 { margin-bottom: 1.25rem; }
.why__intro .prose { margin-bottom: 2rem; max-width: 34rem; }
.why__video { position: relative; margin: 0; max-width: 40rem; width: 100%; justify-self: end; }
/* the frame keeps the photo's own shape (771 × 409): nothing of the summit sign or the banner is cropped */
.why__video > .video, .why__video > iframe { display: block; width: 100%; aspect-ratio: 771 / 409; border: 0; border-radius: var(--radius); }
.why__video > iframe { background: var(--ink); }
.why__peak { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: baseline; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; background: rgb(28 35 31 / .78); backdrop-filter: blur(6px); color: #fff; font: 500 .78rem/1 var(--f-text); letter-spacing: .02em; pointer-events: none; }
.why__peak span { font: 600 .72rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.why__video:has(> iframe) .why__peak { display: none; }
.why__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 2rem; }
.why__list li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.1rem; row-gap: .35rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.js .why__list li.reveal { transition-delay: var(--d, 0ms); }
.why__list li::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 2px; background: var(--ember); }
.why__icon { grid-row: span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ash); color: var(--ember-deep); }
.why__icon .ico { width: 1.4rem; height: 1.4rem; }
.why__list h3 { margin: .2rem 0 0; }
.why__list p { margin: 0; color: var(--muted); }
.video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 10; background: var(--ink); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .92; }
.video:hover img { transform: scale(1.03); opacity: 1; }
.video__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--ember); color: var(--ink); box-shadow: 0 0 0 10px rgb(248 122 1 / .25); transition: transform .3s var(--ease); }
.video__play .ico { width: 1.6rem; height: 1.6rem; margin-left: .2rem; }
.video:hover .video__play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* summit video: play control in the corner, so the Kilisa banner in the photo stays visible */
.video__pill { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .7rem; padding: .35rem 1.1rem .35rem .35rem; border-radius: 999px; background: rgb(28 35 31 / .82); backdrop-filter: blur(6px); color: #fff; font: 500 .9rem/1 var(--f-text); transition: background .3s var(--ease); }
.video__pill .video__play { position: static; margin: 0; width: 2.6rem; height: 2.6rem; box-shadow: 0 0 0 5px rgb(248 122 1 / .28); }
.video__pill .video__play .ico { width: 1rem; height: 1rem; margin-left: .12rem; }
.video--summit:hover .video__pill, .video--summit:focus-visible .video__pill { background: var(--ink); }
.video--summit:hover .video__play { transform: scale(1.06); }
@media (max-width: 39.99em) {
  .video__pill { left: .75rem; bottom: .75rem; padding: .3rem; }
  .video__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .why__peak { top: .75rem; left: .75rem; padding: .35rem .6rem; font-size: .7rem; }
  .why__peak span { font-size: .64rem; }
}
@media (min-width: 48em) {
  .why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .why__list li { grid-template-columns: minmax(0, 1fr); }
  .why__icon { grid-row: auto; margin-bottom: .6rem; }
}
@media (min-width: 64em) {
  .why__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); row-gap: 4rem; align-items: center; }
  .why__grid--text { grid-template-columns: minmax(0, 1fr); }
  .why__list { grid-column: 1 / -1; margin-top: 0; }
}

/* ---------- explore tiles ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; }
.tile a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(28 35 31 / .82)); }
.tile a:hover img { transform: scale(1.05); }
.tile__label { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; font: 600 1.5rem/1.1 var(--f-display); }
.tile__label .ico { color: var(--ember); width: 1.4rem; height: 1.4rem; transition: transform .3s var(--ease); }
.tile a:hover .tile__label .ico { transform: translateX(4px); }
@media (min-width: 40em) { .tiles { grid-auto-columns: 45%; } }
@media (min-width: 64em) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } .tile:nth-child(even) { margin-top: 3rem; } }

/* ---------- booking band ---------- */
.band { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 2rem + 4vw, 5rem); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 50rem; height: 30rem; background: radial-gradient(closest-side, rgb(248 122 1 / .22), transparent); }
.band__in { position: relative; display: grid; gap: 2rem; align-items: center; }
.band .h3 { color: #fff; margin-bottom: .4rem; }
.band__sub { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-lead); font-weight: 300; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.band__phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 500; }
.band__phone:hover { color: var(--ember); }
@media (min-width: 64em) { .band__in { grid-template-columns: 1fr auto; } }

/* ---------- scroller (packages, testimonials, suggested) ---------- */
.scroller__track { position: relative; --pad: max(var(--gutter), (100% - var(--wrap)) / 2); list-style: none; margin: 0; padding: .25rem var(--pad) 1.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 24rem); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__item { scroll-snap-align: start; display: grid; }
.scroller__nav { display: flex; justify-content: flex-end; gap: .5rem; }
@media (min-width: 64em) { .scroller__track { grid-auto-columns: 25rem; } }

/* ---------- tour cards ---------- */
.tcard { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(28 35 31 / .06), 0 22px 44px -16px rgb(28 35 31 / .3); }
.tcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ash-2); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.05); }
.tcard__kind { position: absolute; left: 1rem; top: 1rem; padding: .35rem .7rem; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font: 600 .68rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.tcard__body { display: flex; flex-direction: column; flex: 1; gap: .5rem; padding: 1.25rem 1.35rem 1.35rem; }
.tcard__rating { display: flex; gap: .1rem; margin: 0; color: var(--ember); }
.tcard__rating .ico { width: .95rem; height: .95rem; }
.tcard__title { margin: 0; font-size: 1.32rem; line-height: 1.2; }
.tcard__title a { color: var(--ink); text-decoration: none; }
.tcard__title a::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.tcard__title a:focus-visible { outline: none; }
.tcard:has(a:focus-visible) { outline: 3px solid var(--ember); outline-offset: 3px; }
.tcard__sub { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tcard__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .9rem; }
.tcard__meta { color: var(--muted); }
.tcard__foot:not(:has(*)) { display: none; }
.tcard__price { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.tcard__price small { font-weight: 400; color: var(--muted); font-size: .8rem; margin-right: .15rem; }
.tcard--compact .tcard__media { aspect-ratio: 16 / 10; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- blog cards ---------- */
.post-card { display: grid; gap: .75rem; }
.post-card__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--ash-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__date { font-size: .82rem; letter-spacing: .04em; color: var(--muted); }
.post-card__title { margin: 0; font-size: 1.3rem; line-height: 1.22; }
.post-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--ember), var(--ember)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.post-card__title a:hover { background-size: 100% 2px; }

/* ---------- tailor-made band ---------- */
.tailor { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.tailor__media { position: absolute; inset: 0; z-index: -2; }
.tailor__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tailor::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(28 35 31 / .85) 0%, rgb(28 35 31 / .6) 50%, rgb(28 35 31 / .15) 100%); }
.tailor__in { padding-block: clamp(5rem, 4rem + 7vw, 10rem); }
.tailor .h2 { color: #fff; max-width: 18ch; }
.tailor__text { max-width: 36rem; margin-bottom: 2rem; font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: rgb(255 255 255 / .92); }

/* ---------- testimonials ---------- */
.testimonials { overflow: hidden; }
.testimonials .scroller__track { grid-auto-columns: min(88%, 27rem); }
.quote { display: flex; flex-direction: column; margin: 0; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgb(255 255 255 / .08); }
.quote__stars { display: flex; gap: .15rem; margin: 0 0 1.25rem; color: var(--ember); }
.quote__stars .ico { width: 1rem; height: 1rem; }
.quote__title { font-size: 1.35rem; margin-bottom: .8rem; }
.quote__text { margin: 0 0 1.5rem; font-weight: 300; line-height: 1.7; color: var(--on-dark); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.quote__text p { margin: 0; }
.quote__by { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .9rem; }
.quote__by span { font-weight: 500; color: #fff; }
.quote__by a { color: var(--ember); }

/* ---------- get in touch ---------- */
.touch__in { display: grid; gap: 2rem; }
.touch__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.touch__list li { display: grid; gap: .25rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.touch__label { font: 600 .72rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.touch__value { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
a.touch__value:hover { color: var(--ember-deep); }
.touch__value .ico { color: var(--ember-deep); }
@media (min-width: 48em) { .touch__list { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
@media (min-width: 64em) { .touch__in { grid-template-columns: 1fr 1.6fr; align-items: start; gap: 4rem; } }

/* ---------- breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ember-deep); text-decoration: underline; }
.crumbs--light ol { color: rgb(255 255 255 / .82); }
.crumbs--light a:hover { color: #fff; }

/* ---------- trip page ---------- */
.trip-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(26rem, 55svh, 38rem); color: #fff; background: var(--ink); overflow: hidden; }
.trip-hero__media { position: absolute; inset: 0; z-index: -2; }
.trip-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-in 1.6s var(--ease) both; }
.trip-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(28 35 31 / .35), rgb(28 35 31 / .12) 40%, rgb(28 35 31 / .82)); }
.trip-hero__in { padding-block: 7rem 6rem; }
.trip-hero__title { max-width: 18ch; margin: 0; color: #fff; font-size: var(--fs-h1); line-height: 1; letter-spacing: -.02em; }

.facts { position: relative; z-index: 2; margin: -3.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts__item { padding: 1.1rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { margin-bottom: .3rem; font: 600 .7rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font: 500 1.05rem/1.3 var(--f-text); color: var(--ink); }
.facts dd a { color: var(--ink); text-decoration-color: var(--ember); }
.facts__item--price { background: var(--ink); border: 0; }
.facts__item--price dt { color: var(--on-dark-muted); }
.facts__item--price dd { color: #fff; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.facts__item--price small { font-size: .8rem; font-weight: 400; color: var(--on-dark-muted); }
@media (min-width: 48em) { .facts { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } .facts__item { border-bottom: 0; } }

.subnav { position: sticky; top: calc(var(--header-h) + 2.4rem); z-index: 40; margin-top: 2rem; background: rgb(255 255 255 / .96); border-block: 1px solid var(--line); backdrop-filter: blur(6px); }
.subnav__in { display: flex; align-items: center; gap: 1rem; }
.subnav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: block; padding: 1rem .8rem; white-space: nowrap; font-weight: 500; font-size: .92rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav ul a:hover, .subnav ul a.is-current { color: var(--ink); border-color: var(--ember); }
.subnav__book { display: none; margin-left: auto; }
@media (min-width: 64em) { .subnav__book { display: inline-flex; } }

.trip__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--sec); }
.trip__main, .trip__aside { min-width: 0; }
.tsec { padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); }
.tsec:last-child { border: 0; margin: 0; padding: 0; }
.tsec__title { margin-bottom: 1.25rem; }
.tsec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tmap { margin: 2rem 0 0; }
.tmap img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.tmap figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); }
/* parks visited: small linked cards to the destination pages */
.parks { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.park { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .5rem .9rem .5rem .5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.park:hover { border-color: var(--ember); box-shadow: var(--shadow); }
.park__img { display: block; aspect-ratio: 4 / 3; border-radius: calc(var(--radius-sm) - 2px); overflow: hidden; background: var(--ash); }
.park__img img { width: 100%; height: 100%; object-fit: cover; }
.park__name { font: 600 .98rem/1.3 var(--f-display); }
.park__go { width: 1rem; height: 1rem; color: var(--ember-deep); transition: transform .25s var(--ease); }
.park:hover .park__go { transform: translateX(3px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; line-height: 1.55; }
.ticks .ico { margin-top: .2rem; color: var(--leaf-deep); }
.ticks--x .ico { color: var(--flame); }
@media (min-width: 48em) { .ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.keyinfo { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.keyinfo div { display: grid; gap: .25rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.keyinfo dt { font-weight: 500; color: var(--ink); }
.keyinfo dd { margin: 0; }
@media (min-width: 48em) { .keyinfo div { grid-template-columns: 14rem 1fr; gap: 1.5rem; } }
.incl { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
.ticks span, .prose { overflow-wrap: anywhere; }

/* ascent profile (signature) */
.profile { margin: 0 0 2rem; padding: 1.5rem 1.25rem 1.1rem; background: var(--ink); border-radius: var(--radius); color: var(--on-dark); }
.profile__scroll { overflow-x: auto; scrollbar-width: thin; }
.profile__svg { min-width: 31rem; width: 100%; overflow: visible; }
.profile__grid { stroke: rgb(255 255 255 / .1); stroke-dasharray: 3 5; }
.profile__axis { fill: var(--on-dark-muted); font: 500 11px var(--f-text); }
.profile__line { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.profile.is-in .profile__line { animation: draw 1.8s var(--ease) forwards; }
.profile__pt circle { fill: var(--ink); stroke: var(--ember); stroke-width: 2.5; transition: r .2s; }
.profile__pt.is-peak circle { fill: var(--ember); }
.profile__pt:hover circle, .profile__pt:focus circle { r: 8; fill: var(--ember); }
.profile__pt:focus { outline: none; }
.profile__ft { fill: #fff; font: 500 11.5px var(--f-text); font-variant-numeric: tabular-nums; }
.profile__pt.is-peak .profile__ft { fill: var(--ember); font-size: 13px; }
.profile__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin-top: .9rem; font-size: .85rem; color: var(--on-dark-muted); }
.profile__hint { color: var(--on-dark-muted); }

/* itinerary days */
.days { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.day { border-bottom: 1px solid var(--line); }
.day summary { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.15rem 0; cursor: pointer; list-style: none; }
.day summary::-webkit-details-marker { display: none; }
.day__n { font: 600 .74rem/1.4 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-deep); }
.day__n--time { letter-spacing: .04em; }
.day__title { font: 600 1.15rem/1.3 var(--f-display); color: var(--ink); }
.day__chev { align-self: center; color: var(--muted); transition: transform .3s var(--ease); }
.day details[open] .day__chev { transform: rotate(180deg); }
.day summary:hover .day__title { color: var(--ember-deep); }
.day__body { padding: 0 0 1.75rem; }
@media (min-width: 48em) { .day__body { padding-left: 6.5rem; } }
.day__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1px; margin: 1.25rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.day__facts div { padding: .75rem .9rem; background: var(--ash); }
.day__facts dt { font: 600 .66rem/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.day__facts dd { margin: 0; font-size: .92rem; line-height: 1.4; color: var(--ink); }
.day.is-flash summary .day__title { color: var(--ember-deep); }

/* price table */
.ptable + .ptable { margin-top: 2rem; }
.ptable__title { font-weight: 500; color: var(--ink); }
.ptable__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ptable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 28rem; }
.ptable th, .ptable td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.ptable thead th { background: var(--ash); font: 600 .72rem/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody th { font-weight: 500; color: var(--ink); }
.ptable td { font-size: 1.05rem; color: var(--ink); }
.ptable td.is-low { background: rgb(248 122 1 / .1); box-shadow: inset 0 -2px 0 var(--ember); font-weight: 500; }
.ptable__note { margin: .75rem 0 0; font-size: .85rem; color: var(--muted); }

/* booking card */
.book { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.book__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.book__title { margin: 0; font-size: 1.45rem; }
.book__from { margin: 0; text-align: right; line-height: 1.1; }
.book__from small { display: block; font-size: .75rem; color: var(--muted); }
.book__from strong { font-weight: 500; font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.book__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0 0; font-size: .88rem; }
.book__alt a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); text-decoration: none; }
.book__alt a:hover { color: var(--ember-deep); }
.form { display: grid; gap: .85rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 2.9rem; padding: .65rem .85rem; border: 1px solid #B9BFB7; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--f-text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgb(248 122 1 / .22); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }

@media (min-width: 64em) {
  .trip__layout { grid-template-columns: minmax(0, 1fr) 23rem; gap: 4rem; align-items: start; }
  .trip__aside { position: sticky; top: calc(var(--header-h) + 2.4rem + 4.5rem); }
}

/* preparation cards */
.prep__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.prep__card a { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem 1rem; align-items: center; height: 100%; padding: 1.15rem 1.25rem; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color .25s, transform .3s var(--ease); }
.prep__card a:hover { border-color: var(--ember); transform: translateY(-2px); }
.prep__icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; object-fit: contain; }
.prep__title { font: 600 1.05rem/1.25 var(--f-display); }
.prep__teaser { grid-column: 2; font-size: .85rem; line-height: 1.45; color: var(--muted); }

/* mobile enquiry bar */
.enquire-bar { 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)); background: var(--ink); color: #fff; transform: translateY(100%); transition: transform .35s var(--ease); }
.enquire-bar.is-on { transform: none; }
.enquire-bar p { margin: 0; line-height: 1.2; }
.enquire-bar small { color: var(--on-dark-muted); }
.enquire-bar strong { font-weight: 500; font-size: 1.2rem; }
@media (min-width: 64em) { .enquire-bar { display: none; } }
.tpl-trip-page .wa-float { bottom: 5.25rem; }

/* ---------- prose (shared) ---------- */
.prose { max-width: 46rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--ember); }
.prose img { border-radius: var(--radius-sm); margin-block: 1.5rem; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { padding: .6rem .75rem; border: 1px solid var(--line); text-align: left; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1rem 1.25rem 1.25rem; }
.card-title { font-size: 1.2rem; margin: 0 0 .4rem; }
.card-title a { color: var(--ink); text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: #151B17; color: var(--on-dark-muted); padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); font-size: .95rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; max-width: 26rem; }
.footer__name { font: 600 1.6rem/1.1 var(--f-display); color: #fff; margin-bottom: .9rem; }
.footer__about { line-height: 1.65; }
.footer__head { margin: 0 0 1rem; font: 600 .72rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--ember); }
.footer__contact { grid-template-columns: minmax(0, 1fr); }
.footer__contact li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .6rem; align-items: start; }
.footer__contact a, .footer__contact span { overflow-wrap: anywhere; }
.footer__contact .ico { margin-top: .25rem; color: var(--ember); }
.footer__social { display: flex; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.footer__social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid rgb(255 255 255 / .18); border-radius: 50%; }
.footer__social a:hover { border-color: var(--ember); }
.footer__ta { display: inline-flex; align-items: center; gap: .4rem; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.footer__base p { margin: 0; }
.footer__base p a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgb(255 255 255 / .45); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 64em) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer__brand { grid-column: auto; } }
.wa-float { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 44; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .ico { width: 1.7rem; height: 1.7rem; }
.has-enquire-bar .wa-float { bottom: calc(5rem + env(safe-area-inset-bottom)); }
@media (min-width: 64em) { .has-enquire-bar .wa-float { bottom: 1.5rem; } }

/* ---------- rendering ---------- */
/* sections below the first screen are laid out when they come near the viewport (phones spend most of
   their load time on layout); auto remembers each one's real height once seen, so the scrollbar settles */
.section ~ .section, .trip .tsec + .tsec { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ridge__line, .profile__line { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Phase 4 — the remaining templates
   ========================================================================== */
.narrow { max-width: 46rem; }
.btn--line { --b: transparent; --c: var(--ink); border-color: var(--line); background: transparent; }
.btn--line:hover { border-color: var(--ink); }

/* page hero (photo or plain ash band) */
.phero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(20rem, 46svh, 30rem); color: #fff; background: var(--ink); overflow: hidden; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-in 1.6s var(--ease) both; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(28 35 31 / .35), rgb(28 35 31 / .1) 40%, rgb(28 35 31 / .8)); }
.phero__in { padding-block: 6rem 3.25rem; }
.phero__title { max-width: 20ch; margin: 0; color: #fff; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.02em; }
.phero__sub { max-width: 40rem; margin: 1rem 0 0; font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; color: rgb(255 255 255 / .9); }
.phero--plain { min-height: 0; background: var(--ash); color: var(--ink); }
.phero--plain::before { display: none; }
.phero--plain .phero__in { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.phero--plain .phero__title { color: var(--ink); }
.phero--plain .phero__sub { color: var(--muted); }
.facts--plain { margin-top: -2.25rem; }
.facts--plain .facts__item:last-child { border-right: 0; }

/* intro (hubs) */
.intro { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.intro__grid { display: grid; gap: 1.5rem 5rem; }
.intro__title { margin: 0; }
@media (min-width: 64em) { .intro__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .intro__grid > :only-child { grid-column: 1 / -1; max-width: 50rem; } }

/* content blocks */
.blocks { display: grid; gap: 1.25rem; }
.blocks > * { min-width: 0; }
.blocks > .b-heading { margin: 1.5rem 0 0; }
.blocks > :first-child { margin-top: 0; }
.blocks > .b-heading + .cardgrid, .blocks > .b-heading + .features { margin-top: .5rem; }
.blocks > .cardgrid + .b-heading, .blocks > .features + .b-heading { margin-top: 3rem; }
.b-eyebrow { margin: .5rem 0 -.5rem; }
.b-lead { margin: 0; }
.b-image { margin: 0; }
.b-image img { width: 100%; border-radius: var(--radius); }
.b-image figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.b-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.b-list a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.b-list .ico { color: var(--ember-deep); }
.b-button { margin: .5rem 0 0; }
.b-tab { margin-top: 1.5rem; }
.b-video .video { max-width: 46rem; aspect-ratio: 16 / 9; }

/* photo tiles (destinations, safari styles) */
.ptile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.ptile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(28 35 31 / .85)); }
.ptile:hover img { transform: scale(1.05); }
.ptile__body { position: absolute; z-index: 1; left: 1.25rem; right: 3.5rem; bottom: 1.1rem; display: grid; gap: .2rem; }
.ptile__title { font: 600 1.35rem/1.15 var(--f-display); }
.ptile__sub { font-size: .88rem; line-height: 1.4; color: rgb(255 255 255 / .85); }
.ptile > .ico { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.25rem; color: var(--ember); width: 1.4rem; height: 1.4rem; transition: transform .3s var(--ease); }
.ptile:hover > .ico { transform: translateX(4px); }
.ptile:hover { color: #fff; }

/* features (icon boxes, route comparison, founder box) */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.feature { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section--ash .feature { border-color: transparent; }
.feature__icon { width: 3rem; height: 3rem; object-fit: contain; margin-bottom: .25rem; }
.feature__photo { margin: -1.5rem -1.5rem .75rem; aspect-ratio: 6 / 5; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.feature__title { margin: 0; font-size: 1.25rem; }
.feature__text { color: var(--body); font-size: .97rem; line-height: 1.6; }
.feature__text p:last-child { margin: 0; }
.feature .link-arrow { margin-top: auto; align-self: flex-start; }
.features--single { grid-template-columns: minmax(0, 46rem); }

/* filters (hubs) */
.filters { display: grid; gap: .75rem; margin-bottom: 2.5rem; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.filters__label { min-width: 4.5rem; font: 600 .72rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.filters__count { margin: 0; font-size: .88rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.4rem; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 500 .88rem/1 var(--f-text); text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on:hover { color: #fff; }
.chip__n { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-on .chip__n { color: var(--on-dark-muted); }
.hub-list [hidden] { display: none !important; }

/* split layouts */
.split { display: grid; gap: 3rem; }
.split__main, .split__side { min-width: 0; }
@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
  .split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--form { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split > .split__main:only-child { grid-column: 1 / -1; max-width: 50rem; }
}

/* about */
.collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, clamp(3rem, 2rem + 3vw, 4.5rem)); }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { grid-column: 1 / 5; grid-row: 1 / 6; }
.collage__b { grid-column: 3 / 7; grid-row: 3 / 7; border: 6px solid var(--white); }
.statement { margin: 0; max-width: 34ch; font: 600 clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem)/1.25 var(--f-display); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.founder__grid { display: grid; gap: 2.5rem; align-items: center; }
.founder__photo { margin: 0; max-width: 26rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder__name { font: 600 .82rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--ember-deep); }
@media (min-width: 64em) { .founder__grid { grid-template-columns: 26rem 1fr; gap: 5rem; } }

/* guides: prose + side column */
.guide { display: grid; gap: 3rem; }
.guide__main, .guide__side { min-width: 0; }
.guide__side { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 64em) { .guide { grid-template-columns: minmax(0, 1fr) 20rem; gap: 5rem; } .guide__side { position: sticky; top: calc(var(--header-h) + 4rem); } }
.prose--guide { max-width: 44rem; font-size: 1.06rem; }
.prose--guide > p:first-child { font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: var(--ink-2); }
.prose--guide h2 { padding-top: .5rem; }
.prose h2 { scroll-margin-top: 9rem; }
.prose figure { margin: 1.5rem 0; }
.side-card { padding: 1.5rem; border-radius: var(--radius); background: var(--ash); }
.side-card__title { margin: 0 0 .5rem; font: 600 1.2rem/1.25 var(--f-display); color: var(--ink); }
.side-card p { font-size: .95rem; }
.side-card .btn { margin-top: .25rem; }
.side-card__wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.side-nav__title, .post-toc__title { margin: 0 0 .75rem; font: 600 .72rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.side-nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.side-nav a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.side-nav a:hover { color: var(--ember-deep); }
.side-nav a[aria-current="page"] { border-color: var(--ember); font-weight: 500; color: var(--ember-deep); }

/* FAQ + accordion */
.faq, .accordion details { border-bottom: 1px solid var(--line); }
.faq:first-of-type, .accordion details:first-child { border-top: 1px solid var(--line); }
.faq summary, .accordion summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font: 600 1.12rem/1.35 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--f-text); color: var(--ember-deep); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.accordion summary .ico { flex: none; color: var(--muted); transition: transform .3s var(--ease); }
.accordion details[open] summary .ico { transform: rotate(180deg); }
.faq__a, .accordion .prose { padding-bottom: 1.25rem; }
.faq__a > :last-child { margin-bottom: 0; }

/* contact */
.contact { display: grid; gap: 3rem; }
.contact__form { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__form .form { margin-top: 1.5rem; }
.contact__form .btn { justify-self: start; }
.contact__img { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.contact__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.touch__list--1 { grid-template-columns: 1fr !important; margin-top: 1.5rem; }
@media (min-width: 64em) { .contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 5rem; align-items: start; } }

/* multi-step form */
.steps { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--white); }
.steps__bar { display: flex; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: s; }
.steps__bar li { flex: 1; padding-top: .7rem; border-top: 3px solid var(--line); font-size: .8rem; font-weight: 500; color: var(--muted); counter-increment: s; }
.steps__bar li::before { content: counter(s) ". "; }
.steps__bar li.is-on { border-color: var(--ember); color: var(--ink); }
.steps__step { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
.steps__step[hidden] { display: none; }
.steps__step legend { padding: 0; margin-bottom: .75rem; }
.steps__label { margin: .5rem 0 0; font-size: .82rem; font-weight: 500; color: var(--ink); }
.steps__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; }
.steps__nav .btn:only-child { margin-left: auto; }
.options { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
.options--row { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: flex; align-items: center; min-height: 3rem; height: 100%; padding: .65rem .9rem; border: 1px solid #B9BFB7; border-radius: var(--radius-sm); font-size: .92rem; line-height: 1.3; color: var(--ink); transition: border-color .2s, background .2s; }
.option:hover span { border-color: var(--ink); }
.option input:checked + span { border-color: var(--ember); background: rgb(248 122 1 / .1); box-shadow: inset 0 0 0 1px var(--ember); }
.option input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--ember); }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231C231F' stroke-width='1.8' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .75rem center / 1rem no-repeat; padding-right: 2.25rem; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #B3261E; }
.field__error { margin: 0; font-size: .82rem; color: #B3261E; }
.check .field__error { grid-column: 2; }
.options.is-invalid .option span { border-color: #B3261E; }
.check.is-invalid input { outline: 2px solid #B3261E; outline-offset: 2px; }
.field:has(:required) > label::after, .steps__label:has(+ .options [required])::after, legend:has(+ .options [required])::after { content: " *"; color: var(--ember-deep); }
/* honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.4em; font-size: .88rem; color: var(--muted); }
.form__status.is-error { color: #B3261E; }
.form__status a { color: inherit; text-decoration: underline; }
.form__done { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 1.5rem 1.25rem; border: 1px solid rgb(62 122 41 / .25); border-radius: var(--radius-sm); background: rgb(99 171 69 / .08); }
.form__done-icon { grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--leaf-deep); color: #fff; }
.form__done-icon .ico { width: 1.3rem; height: 1.3rem; }
.form__done:focus { outline: none; }
.form__done-title { margin: 0 0 .4rem; font: 600 1.35rem/1.25 var(--f-display); color: var(--ink); }
.form__done p:last-child { margin: 0; }
.enquiry-result { display: grid; gap: 1rem; }
.enquiry-result ul { margin: 0; padding-left: 1.2rem; }

/* blog */
.chips-nav { margin-bottom: 2.5rem; }
.chips-nav ul { display: flex; gap: .5rem; margin: 0; padding: 0 0 .5rem; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.chips-nav li { flex: none; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post-card__body { display: grid; gap: .45rem; }
@media (min-width: 64em) {
  .posts--featured { grid-template-columns: repeat(3, 1fr); }
  .posts__lead { grid-column: 1 / -1; }
  .post-card--lead { grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: center; }
  .post-card--lead .post-card__media { aspect-ratio: 16 / 10; }
  .post-card--lead .post-card__title { font-size: var(--fs-h3); }
}
.post-card__teaser { margin: .25rem 0 0; color: var(--muted); }
.pagination { margin-top: 3.5rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.back-link { margin-top: 3rem; }

.post-head { padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: linear-gradient(var(--ash) 0 70%, var(--white) 70%); }
.post-head__in { max-width: 56rem; margin-inline: auto; }
.post-head .eyebrow a { color: inherit; text-decoration: none; }
.post-head__title { font-size: var(--fs-h1); line-height: 1.06; margin-bottom: 1rem; }
.post-head__meta { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.post-head__media img { width: 100%; max-height: 36rem; object-fit: cover; border-radius: var(--radius); }
.post-layout { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) var(--sec); }
.post-layout > * { min-width: 0; }
.prose--post { max-width: 42rem; font-size: 1.08rem; line-height: 1.8; }
.prose--post > p:first-child { font-size: var(--fs-lead); font-weight: 300; color: var(--ink-2); }
.prose--post h2 { margin-top: 2.25em; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.post-toc a:hover, .post-toc a.is-current { color: var(--ink); border-color: var(--ember); }
.post-side { display: grid; gap: 1.5rem; align-content: start; }
.post-cats ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 64em) {
  .post-layout { grid-template-columns: minmax(0, 42rem) 18rem; justify-content: space-between; align-items: start; }
  .post-layout > .prose--post { grid-column: 1; grid-row: 1 / span 2; }
  .post-toc { grid-column: 2; grid-row: 1; }
  .post-side { grid-column: 2; }
  .post-layout > .post-side:last-child { position: sticky; top: calc(var(--header-h) + 4rem); }
}
@media (min-width: 90em) {
  .post-layout:has(.post-toc) { grid-template-columns: 15rem minmax(0, 42rem) 17rem; }
  .post-layout:has(.post-toc) > .post-toc { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--header-h) + 4rem); }
  .post-layout:has(.post-toc) > .prose--post { grid-column: 2; grid-row: 1; }
  .post-layout:has(.post-toc) > .post-side { grid-column: 3; grid-row: 1; position: sticky; top: calc(var(--header-h) + 4rem); }
}

/* search, 404, sitemap */
.search { display: flex; gap: .5rem; margin-bottom: 2rem; }
.search input { flex: 1; min-width: 0; min-height: 3.25rem; padding: .7rem 1.1rem; border: 1px solid #B9BFB7; border-radius: 999px; font: 400 1rem var(--f-text); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgb(248 122 1 / .22); }
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.results a { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.results__type { font: 600 .68rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-deep); }
.results__title { font: 600 1.2rem/1.3 var(--f-display); color: var(--ink); }
.results a:hover .results__title { color: var(--ember-deep); }
.quick-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3.5rem; }
.sitemap { columns: 1; column-gap: 3rem; }
.sitemap__group { break-inside: avoid; margin-bottom: 2.5rem; }
.sitemap__group--wide { break-inside: auto; }
.sitemap__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.sitemap__group a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.sitemap__group a:hover { color: var(--ember-deep); text-decoration: underline; }
@media (min-width: 48em) { .sitemap { columns: 2; } }
@media (min-width: 80em) { .sitemap { columns: 3; } }

/* join groups */
.deps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.dep { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem 1.25rem; align-items: center; padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); }
.dep__date { grid-row: span 2; margin: 0; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font: 600 1.05rem/1 var(--f-display); text-align: center; }
.dep__date small { font: 400 .75rem var(--f-text); color: var(--on-dark-muted); }
.dep__title { margin: 0; font-size: 1.25rem; }
.dep__title a { color: var(--ink); text-decoration: none; }
.dep__meta, .dep__price, .dep__spaces { margin: 0; font-size: .92rem; color: var(--muted); }
.dep__price { font-weight: 500; color: var(--ink); }
.dep__spaces--few { color: var(--ember-deep); }
@media (min-width: 48em) { .dep { grid-template-columns: 4.5rem 1fr auto auto auto; } .dep__date { grid-row: auto; } }

/* empty states */
.empty-note { max-width: 46rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--ash); position: relative; }
.empty-note::before { content: ""; position: absolute; top: clamp(1.5rem, 1rem + 2vw, 2.5rem); left: clamp(1.5rem, 1rem + 2vw, 2.5rem); width: 2.5rem; height: 2px; background: var(--ember); }
.empty-note > :first-child { margin-top: 1.1rem; }
.empty-note--wide { max-width: none; }
.empty-note__title { margin: 0 0 .5rem; font: 600 1.4rem/1.25 var(--f-display); color: var(--ink); }
.empty-note__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }

/* review fixes */
.post-card__media--none { display: flex; align-items: flex-end; background: linear-gradient(180deg, var(--ash) 0%, var(--ash-2) 100%); }
.post-card__media--none svg { width: 100%; height: 45%; }
.tsec .ticks + .tsec__title, .tsec .keyinfo + .tsec__title { margin-top: 2.75rem; }

/* ---- Trip designer (/tailor-made-tour/, after Lappet's): one question per screen, a popup over the page ---------- */
.designer-section { content-visibility: visible; padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.designer-shell { position: relative; max-width: 64rem; margin-inline: auto; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.designer-intro { margin-bottom: 1.75rem; }
.designer-title { margin: 0 0 .5rem; font-size: var(--fs-h3); }
.designer-lede { margin: 0; max-width: 58ch; color: var(--muted); }
.designer-progress { margin-bottom: 1.75rem; }
.designer-bar { height: 5px; border-radius: 99px; background: var(--ash-2); overflow: hidden; }
.designer-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ember-deep), var(--ember)); transform: scaleX(.1667); transform-origin: left center; transition: transform .45s var(--ease); }
.designer-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; font: 600 .74rem/1.3 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.designer-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.designer-step[hidden] { display: none; }
.designer-step legend { padding: 0; margin-bottom: 1.4rem; }
.designer-step legend::after { content: none !important; }
.designer-step legend .eyebrow { margin-bottom: .55rem; }
.designer-q { display: block; font: 600 clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem)/1.2 var(--f-display); color: var(--ink); }
.designer-hint { margin: -.6rem 0 1.4rem; color: var(--muted); }
.designer-grid, .designer-grid.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: .85rem; }
.designer-grid--tight, .designer-grid--tight.options { grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); }
.designer-choice { position: relative; display: flex; align-items: flex-start; padding: 1.05rem 1.1rem 1.05rem 3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s, background-color .18s; }
.designer-choice[hidden] { display: none; }
.designer-choice:hover { border-color: var(--ember); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgb(28 35 31 / .3); }
.designer-choice input { appearance: none; position: absolute; left: 1rem; top: 1.15rem; width: 1.2rem; height: 1.2rem; margin: 0; border: 2px solid #B9BFB7; border-radius: 50%; background: var(--white); cursor: pointer; transition: border-color .18s, background-color .18s; }
.designer-choice input[type="checkbox"] { border-radius: 5px; }
.designer-choice input:checked { border-color: var(--ember); background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='8'%3E%3Cpath d='M1 4l3 3 6-6' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px 8px no-repeat; }
.designer-choice:has(input:checked) { border-color: var(--ember); background: rgb(248 122 1 / .07); box-shadow: inset 0 0 0 1px var(--ember); }
.designer-choice:has(input:focus-visible) { outline: 3px solid var(--ember); outline-offset: 2px; }
.designer-choice-body { display: flex; flex-direction: column; gap: .15rem; }
.designer-choice-body strong { font: 600 1rem/1.3 var(--f-display); color: var(--ink); }
.designer-choice-body span { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.options.is-invalid .designer-choice { border-color: #B3261E; }
.designer-inline { max-width: 34rem; margin-top: 1rem; }
.designer-wide { margin-top: 1.4rem; }
.designer-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.designer-row--2 { max-width: 44rem; }
.designer-label { margin: 0 0 .5rem; font-size: .85rem; font-weight: 500; color: var(--ink); }
.designer-soft { font-weight: 400; color: var(--muted); }
.designer-note { margin: .9rem 0 0; font-size: var(--fs-small); color: var(--muted); }
.designer-step-error { margin: .75rem 0 0; min-height: 1.2em; font-size: .88rem; font-weight: 500; color: #B3261E; }
.designer-stepper { display: flex; max-width: 12rem; }
.designer-stepper button { width: 3rem; min-height: 2.9rem; flex: none; border: 1px solid #B9BFB7; background: var(--white); color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.designer-stepper button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.designer-stepper button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.designer-stepper button:hover:not(:disabled) { border-color: var(--ember); color: var(--ember-deep); }
.designer-stepper button:disabled { opacity: .4; cursor: default; }
.field .designer-stepper input { border-radius: 0; border-inline: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.designer-stepper input::-webkit-outer-spin-button, .designer-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.designer-children[hidden], .designer-child[hidden] { display: none; }
.designer-children-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.designer-child { display: flex; align-items: center; gap: .4rem; padding: .35rem .7rem .35rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .8rem; color: var(--muted); }
.designer-child:focus-within { border-color: var(--ember); }
.designer-child input { width: 3.4rem; padding: .4rem; border: 1px solid #B9BFB7; border-radius: 6px; text-align: center; font: inherit; font-size: 1rem; color: var(--ink); }
.designer-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.btn.is-waiting { --b: var(--ash-2); --c: var(--muted); border-color: var(--line); }
.designer-summary { margin: -.4rem 0 1.6rem; }
.designer-summary[hidden] { display: none; }
.designer-summary-label { margin: 0 0 .5rem; font: 600 .7rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.designer-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.designer-chip { display: inline-flex; align-items: baseline; gap: .45rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; text-align: left; cursor: pointer; transition: border-color .18s, background-color .18s; }
.designer-chip[hidden] { display: none; }
.designer-chip:hover { border-color: var(--ember); background: rgb(248 122 1 / .07); }
.designer-chip-k { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.designer-chip-v { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; font-weight: 600; color: var(--ink); }
.designer-chip::after { content: "Edit"; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ember-deep); }
.designer-about-section { padding-top: 0; }
.designer-about { max-width: 52rem; margin-inline: auto; }
/* the popup: site.js lifts the whole designer over a dimmed page on load; closing drops it back into the page */
.designer-close { display: none; }
body.designer-open { overflow: hidden; }
.designer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgb(28 35 31 / .82); opacity: 0; transition: opacity .25s; }
.designer-backdrop.is-shown { opacity: 1; }
.designer-section.is-modal { position: fixed; inset: 0; z-index: 91; display: grid; place-items: start center; overflow-y: auto; overscroll-behavior: contain; padding: clamp(.75rem, 3vh, 2.5rem) 1rem; }
.designer-section.is-modal > .wrap { width: 100%; padding: 0; }
.designer-section.is-modal .designer-shell { width: 100%; padding-top: 3.5rem; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6); opacity: 0; transform: translateY(12px); transition: opacity .28s, transform .28s; }
.designer-section.is-modal .designer-shell.is-shown { opacity: 1; transform: none; }
.designer-section.is-modal .designer-shell:focus { outline: none; }
.designer-section.is-modal .designer-intro { display: none; }
.designer-section.is-modal .designer-close { display: grid; place-items: center; position: absolute; top: .85rem; right: .85rem; z-index: 2; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.designer-section.is-modal .designer-close:hover { border-color: var(--ember); color: var(--ember-deep); }
.designer-dismiss { display: block; width: 100%; padding: .6rem; margin: 1.25rem 0 0; border: 0; background: none; font: inherit; font-size: var(--fs-small); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.designer-dismiss:hover { color: var(--ember-deep); }
@media (prefers-reduced-motion: reduce) {
  .designer-backdrop, .designer-section.is-modal .designer-shell, .designer-bar span, .designer-choice { transition: none; }
}
@media (max-width: 47.99em) {
  .designer-row { grid-template-columns: 1fr; }
}
@media (max-width: 36em) {
  .designer-grid, .designer-grid.options, .designer-grid--tight, .designer-grid--tight.options { grid-template-columns: 1fr; gap: .45rem; }
  .designer-choice { padding: .7rem .8rem .7rem 2.4rem; }
  .designer-choice:hover { transform: none; box-shadow: none; }
  .designer-choice input { left: .75rem; top: .8rem; width: 1rem; height: 1rem; }
  .designer-choice-body strong { font-size: .92rem; }
  .designer-choice-body span { font-size: .78rem; }
  .designer-nav { flex-direction: column-reverse; align-items: stretch; margin-top: 1.25rem; }
  .designer-nav .btn { width: 100%; }
  .designer-nav > span:empty { display: none; }
  .designer-chip { padding: .2rem 0; border: 0; border-radius: 0; background: none; }
  .designer-chip-v { max-width: 18ch; font-size: .8rem; }
  .designer-section.is-modal { padding: 0; }
  .designer-section.is-modal .designer-shell { min-height: 100%; border-radius: 0; border: 0; padding-inline: 1.1rem; }
}
.designer-label.designer-wide { margin-top: 1.75rem; }
/* the running estimate: the figure is the loud thing, the box it sits in is quiet */
.designer-estimate { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid rgb(248 122 1 / .35); border-radius: var(--radius-sm); background: rgb(248 122 1 / .06); }
.designer-estimate[hidden] { display: none; }
.designer-estimate-fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; }
.designer-estimate-label { font: 600 .7rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); }
.designer-estimate strong { font: 600 1.55rem/1.1 var(--f-display); color: var(--ink); }
.designer-estimate-unit { font-size: .88rem; color: var(--muted); }
.designer-estimate-note { margin: .4rem 0 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
