/* Homepage layout. Tokens come from tokens.css, component styles from components.css. */
html, body { background: var(--ground); }
body { overflow-x: hidden; }

.hh { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
.hh--back { background: var(--ground); display: grid; place-items: center; padding: var(--space-4); box-sizing: border-box; }
.hh__layer { position: absolute; inset: 0; }

/* the frame over the scene: top bar · copy and globe · facts */
.hh-frame { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding: var(--space-6) 40px 36px; box-sizing: border-box; }
.hh-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.hh-main { display: grid; grid-template-columns: minmax(0, 860px) 1fr; align-items: center; gap: var(--space-6); min-height: 0; }
.hh-copy { align-self: start; padding-top: 40px; }
.hh-title { font-size: clamp(40px, 5.4vw, 68px); }
.hh-globe { justify-self: end; margin-right: 90px; }
.hh-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); }
.hh-stats { display: flex; gap: var(--space-4); min-width: 0; }
.hh-stat { flex: 0 1 240px; min-width: 200px; }
.hh-conditions { flex: none; width: 236px; }

/* the contact view behind the zipper */
.hh-contact { position: relative; width: min(520px, 100%); }
.hh-contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 6vw, 40px); line-height: 1; margin: 12px 0 24px; outline: none; }
.hh-contact__back { margin-top: 20px; }
.hh-thanks { margin: 0; font-size: 18px; line-height: 1.5; }
.hh-error { margin: var(--space-2) 0 0; font-size: 14px; line-height: 1.5; color: var(--blaze); }

/* components.css stacks the waitlist row under 480px; keep the input at its own height there */
@media (max-width: 480px) { .adv-wait__input { flex: none; } }

.hh-noscript { padding: var(--space-16) var(--space-8); color: var(--on-image); }

@media (max-width: 1100px) {
  .hh-conditions { display: none; }
  .hh-globe { margin-right: 24px; }
}

/* portrait phones, and landscape phones (widest is about 932×430). A wide short desktop window stays on the desktop layout. */
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  /* clip still hides the flying plane, and unlike hidden it is not a scrollport, so the contact sheet can stick to the viewport */
  .adv-zip { overflow: clip; }
  .hh { height: auto; min-height: 100svh; }
  .hh .adv-parallax { min-height: 100svh; }
  .hh .adv-parallax__content { position: relative; inset: auto; }
  .hh-frame {
    position: relative; inset: auto; min-height: 100svh; gap: var(--space-4);
    padding:
      max(var(--space-4), env(safe-area-inset-top, 0px))
      max(var(--space-4), env(safe-area-inset-right, 0px))
      max(var(--space-4), env(safe-area-inset-bottom, 0px))
      max(var(--space-4), env(safe-area-inset-left, 0px));
  }
  .hh.hh--back {
    position: sticky; top: 0; height: 100svh; min-height: 100svh;
    padding:
      max(var(--space-4), env(safe-area-inset-top, 0px))
      max(var(--space-4), env(safe-area-inset-right, 0px))
      max(var(--space-4), env(safe-area-inset-bottom, 0px))
      max(var(--space-4), env(safe-area-inset-left, 0px));
  }
  .hh-top { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
  .hh-top .adv-chips { width: max-content; max-width: 100%; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .hh-top .adv-chips::-webkit-scrollbar { display: none; }
  .hh-top .adv-chip { flex: none; padding: 7px 11px; font-size: 14px; }
  .hh-main { grid-template-columns: 1fr; align-content: start; min-height: auto; }
  .hh-copy { padding-top: 0; }
  .hh-title { font-size: clamp(26px, 8.4vw, 40px); }
  .hh-copy .adv-hero__lede { font-size: 18px; margin-top: var(--space-4); }
  /* the shade starts at the top of the frame and eases out past the title, so there is no edge */
  .hh .adv-parallax__shade {
    background:
      linear-gradient(180deg, rgba(7, 8, 7, 0.72) 0px, rgba(7, 8, 7, 0.6) 90px, rgba(7, 8, 7, 0.42) 200px, rgba(7, 8, 7, 0.22) 340px, rgba(7, 8, 7, 0.08) 460px, rgba(7, 8, 7, 0) 580px),
      linear-gradient(0deg, rgba(7, 8, 7, 0.7) 0%, rgba(7, 8, 7, 0) 38%);
  }
  .hh-globe { justify-self: center; margin: 0; }
  .hh-bottom { align-items: stretch; }
  .hh-stats { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; width: 100%; scroll-snap-type: none; }
  .hh-stat { flex: none; min-width: 0; width: auto; scroll-snap-align: none; }
  .hh-stat .adv-sigil,
  .hh-stat .adv-sigil svg { width: 44px !important; height: 44px !important; }
  /* these cards sit on the bright part of the photograph, so the glass itself has to carry the cream type */
  .hh-stat.adv-glass {
    background: rgba(14, 16, 14, 0.48);
    -webkit-backdrop-filter: blur(20px) saturate(1.2) brightness(0.62);
    backdrop-filter: blur(20px) saturate(1.2) brightness(0.62);
  }
  .hh-stat .adv-glass__content { padding: 14px 16px; }
  .hh-stat .adv-stat__label,
  .hh-stat .adv-stat__value { white-space: normal; overflow: visible; text-overflow: unset; }
  .hh-stat .adv-stat__value { font-size: 22px; line-height: 26px; }
  .hh-stat .adv-stat__value--long { font-size: 18px; line-height: 24px; }
}

/* ---------- hero → trip cue ---------- */
.hh-cue { align-self: flex-end; font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--on-image); text-decoration: none; padding: var(--space-2) 0; border-bottom: 1px solid var(--blaze); white-space: nowrap; }
.hh-cue:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* over the photo the controls sit on dark glass, so they hold up over bright snow as well as dark rock */
.hh-frame .adv-chips { background: rgba(7, 8, 7, 0.5); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.hh-frame .hh-cue { padding: 9px 16px; border: 0; border-radius: var(--radius-full); background: rgba(7, 8, 7, 0.5); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background-color var(--dur-quick) var(--ease-film); }
.hh-frame .hh-cue:hover { background: rgba(7, 8, 7, 0.64); }
.hh-top__mark { text-shadow: 0 1px 12px rgba(7, 8, 7, 0.45); }

/* ---------- the trip section: Day theme, flat, no glass ---------- */
.tp { background: var(--ground); color: var(--ink); scroll-margin-top: 0; }
.tp-inner { max-width: 1280px; margin: 0 auto; padding: var(--space-24) var(--space-8) 0; box-sizing: border-box; }
.tp .adv-chapter__lede { color: var(--ink-muted); }

.tp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-16); margin-top: var(--space-12); align-items: start; }
.tp-story p { margin: 0 0 var(--space-6); max-width: 64ch; font-size: 18px; line-height: 1.6; }
.tp-story p:last-child { margin-bottom: 0; }
/* the facts on the hero's dark glass (night tokens inside), sticking below the floating trip bar */
.tp-aside { position: sticky; top: 104px; }
.tp-aside__glass.adv-glass {
  background: rgba(14, 16, 14, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.2) brightness(0.6);
  backdrop-filter: blur(20px) saturate(1.2) brightness(0.6);
  box-shadow: var(--shadow-glass);
}
.tp-aside .adv-glass__content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.tp-aside__status { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--blaze); }
.tp-aside__place { margin: calc(-1 * var(--space-3)) 0 0; font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 26px; line-height: 30px; letter-spacing: -0.015em; }
.tp-aside .adv-grade__bar.is-on { background: var(--ink); }
.tp-aside .adv-facts { width: 100%; grid-template-columns: 1fr 1fr; }
.tp-aside__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.tp-aside .adv-btn { width: 100%; justify-content: center; }

.tp-block { margin-top: var(--space-24); }
.tp-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
.tp-h { margin: 0; font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; }
.tp-two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-8); align-items: start; }

/* gallery: one cinema frame, then three wide frames; photography is never rounded */
.tp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.tp-shot { margin: 0; }
.tp-shot--lead { grid-column: 1 / -1; }
.tp-shot__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--ground-sunk); cursor: zoom-in; overflow: hidden; border-radius: var(--radius-0); aspect-ratio: var(--aspect-wide); }
.tp-shot--lead .tp-shot__btn { aspect-ratio: var(--aspect-cinema); }
.tp-shot__btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-scene) var(--ease-film); }
.tp-shot__btn:hover img { transform: scale(1.03); }
.tp-shot__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tp-shot figcaption { margin-top: var(--space-2); }

/* itinerary */
.tp-days { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tp-days li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.tp-days__day { font-family: var(--font-sans); font-size: 15px; line-height: 26px; font-weight: 500; color: var(--ink-muted); }
.tp-days b { display: block; font-size: 20px; line-height: 1.3; font-weight: 600; }
.tp-days p { margin: var(--space-1) 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

/* included / not included */
.tp-lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.tp-list__title { margin: 0 0 var(--space-3); font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.tp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tp-list li { position: relative; padding: var(--space-3) 0 var(--space-3) 28px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.tp-list li::before { position: absolute; left: 0; top: var(--space-3); font-family: var(--font-sans); font-weight: 600; }
.tp-list--in li::before { content: "+"; color: var(--blaze); }
.tp-list--out li::before { content: "−"; color: var(--ink-muted); }

.tp-foot { max-width: 1280px; margin: var(--space-24) auto 0; padding: var(--space-8); box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; border-top: 1px solid var(--line); }
.tp-foot__mark { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; letter-spacing: 0.02em; text-transform: uppercase; font-size: 15px; }

/* lightbox: night, always, like all imagery */
.tp-lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #070807; color: var(--on-image); }
.tp-lightbox::backdrop { background: rgba(7, 8, 7, 0.9); }
.tp-lightbox__figure { margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 56px 72px 24px; box-sizing: border-box; }
.tp-lightbox__figure img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.tp-lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-top: var(--space-4); }
.tp-lightbox__count { font-family: var(--font-sans); font-size: 15px; }
.tp-lightbox__btn { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(244, 241, 234, 0.4); border-radius: var(--radius-sm); background: rgba(7, 8, 7, 0.5); color: var(--on-image); font-family: var(--font-sans); font-size: 18px; cursor: pointer; }
.tp-lightbox__btn:hover { background: rgba(244, 241, 234, 0.14); }
.tp-lightbox__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tp-lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.tp-lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.tp-lightbox__btn--close { right: 16px; top: 8px; font-size: 24px; }

@media (max-width: 1000px) {
  .tp-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .tp-aside { position: static; }
  .tp-two { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .hh-cue { display: none; }
  .tp-inner { padding: var(--space-16) var(--space-4) 0; }
  .tp-h { font-size: 32px; }
  .tp-block { margin-top: var(--space-16); }
  .tp-gallery { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .tp-shot--lead .tp-shot__btn { aspect-ratio: var(--aspect-wide); }
  .tp-shot:not(.tp-shot--lead) figcaption { display: none; }
  .tp-shot:last-child:nth-child(even) { grid-column: 1 / -1; }
  .tp-days li { grid-template-columns: 1fr; gap: var(--space-1); }
  .tp-lists { grid-template-columns: 1fr; gap: var(--space-6); }
  .tp-foot { padding: var(--space-6) var(--space-4); margin-top: var(--space-16); }
  .tp-lightbox__figure { padding: 56px 8px 16px; }
  .tp-lightbox__btn--prev, .tp-lightbox__btn--next { top: auto; bottom: 12px; transform: none; }
  .tp-lightbox__btn--prev { left: auto; right: 68px; }
  .tp-lightbox figcaption { padding-right: 120px; }
}
@media (prefers-reduced-motion: reduce) { .tp-shot__btn img { transition: none; } }

/* ---------- scroll reveal: flip up from below out of a blurred, light-split haze, slow off the mark, then snap home ---------- */
/* the haze is the glass's own light: warm fringe one side, cool the other, a violet lift above, all collapsing to sharp */
.tp { --rv-ease: cubic-bezier(0.7, 0, 0.2, 1.16); --rv-clear: cubic-bezier(0.55, 0, 0.2, 1); }
.tp--reveal :is(.adv-chapter, .tp-story p, .tp-aside, .tp-block__head, .tp-two > .tp-h, .tp-shot, .tp-days li, .tp-list__title, .tp-list li, .tp-soon__cta, .tp-foot, .ab-story p, .ab-member, .ab-contact) {
  opacity: 0;
  transform: perspective(1000px) translateY(56px) rotateX(38deg);
  transform-origin: 50% 100%;
  filter: blur(18px) saturate(1.4);
  /* the split light on type: it outlasts the blur, so the colour is still there as the letters sharpen */
  text-shadow: -5px 0 2px rgba(255, 96, 40, 0.85), 5px 0 2px rgba(40, 196, 255, 0.85), 0 -4px 3px rgba(150, 90, 255, 0.6), 0 4px 3px rgba(255, 220, 80, 0.55);
}
/* photos carry no text, so their split light rides in the filter */
.tp--reveal .tp-shot {
  filter: blur(18px) saturate(1.6)
    drop-shadow(-12px 0 4px rgba(255, 96, 40, 0.8))
    drop-shadow(12px 0 4px rgba(40, 196, 255, 0.8))
    drop-shadow(0 -8px 6px rgba(150, 90, 255, 0.55));
}
.tp--reveal :is(.adv-chapter, .tp-story p, .tp-aside, .tp-block__head, .tp-two > .tp-h, .tp-shot, .tp-days li, .tp-list__title, .tp-list li, .tp-soon__cta, .tp-foot, .ab-story p, .ab-member, .ab-contact).is-in {
  opacity: 1;
  transform: none;
  filter: none;
  text-shadow: none;
  transition:
    opacity 760ms var(--rv-clear) var(--rv-delay, 0ms),
    filter 900ms var(--rv-clear) var(--rv-delay, 0ms),
    text-shadow 1150ms cubic-bezier(0.75, 0, 0.3, 1) var(--rv-delay, 0ms),
    transform 820ms var(--rv-ease) var(--rv-delay, 0ms);
}

/* ---------- sticky trip bar: a strip of the hero's glass that drops in once the hero is gone ---------- */
.hh-bar {
  position: fixed; z-index: 50; left: 50%; top: max(12px, env(safe-area-inset-top, 0px));
  width: min(760px, calc(100% - 24px));
  opacity: 0; pointer-events: none;
  transform: translate(-50%, calc(-100% - 28px)) scale(0.96);
  filter: blur(8px);
  transition: transform 720ms var(--ease-film), opacity 480ms var(--ease-film), filter 600ms var(--ease-film);
}
.hh-bar.is-shown { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); filter: none; }
/* over the bright Day ground the glass itself carries the cream type, like the phone fact cards */
.hh-bar .hh-bar__glass.adv-glass {
  background: rgba(14, 16, 14, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.2) brightness(0.6);
  backdrop-filter: blur(20px) saturate(1.2) brightness(0.6);
}
/* the button sits one even inset from the glass edge on three sides, its corners concentric with the glass (glass radius minus the inset) */
.hh-bar { --bar-inset: 8px; }
.hh-bar .adv-glass__content { padding: var(--bar-inset) var(--bar-inset) var(--bar-inset) 20px; }
.hh-bar__row { display: flex; align-items: center; min-height: 48px; gap: 14px; }
.hh-bar__text { flex: 1; min-width: 0; animation: adv-rise var(--dur-scene) var(--ease-film) both; }
.hh-bar .hh-bar__place { font-size: 24px; line-height: 28px; }
.hh-bar__cta.adv-btn { flex: none; align-self: stretch; height: auto; padding: 0 22px; border-radius: calc(var(--radius-glass) - var(--bar-inset)); }
.hh-bar .adv-sigil, .hh-bar .adv-sigil svg { flex: none; }

@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .hh-bar .adv-glass__content { padding: var(--bar-inset) var(--bar-inset) var(--bar-inset) 16px; }
  .hh-bar__row { gap: 10px; min-height: 40px; }
  .hh-bar .adv-sigil { display: none; }
  .hh-bar .adv-stat__label { font-size: 13px; line-height: 17px; }
  .hh-bar .hh-bar__place { font-size: 19px; line-height: 23px; }
  .hh-bar__cta.adv-btn { padding: 0 var(--space-4); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-bar { transition: opacity 200ms linear; transform: translate(-50%, 0); filter: none; }
  .hh-bar__text { animation: none; }
}

/* ---------- superellipse(3) fallback (js/corners.js, browsers without corner-shape) ---------- */
/* the clip draws the corner, so the element's own (round) radius goes; its layers inherit the square box and are clipped with it */
.cs-poly .cs-clip { border-radius: 0 !important; }
/* the glass rim rings follow the clipped outline instead of their round masks */
.cs-poly .adv-glass.cs-clip::before { -webkit-mask: none; mask: none; clip-path: var(--cs-ring-1); }
.cs-poly .adv-glass.cs-clip .adv-glass__rim { -webkit-mask: none; mask: none; clip-path: var(--cs-ring-15); }
.cs-poly .adv-glass.cs-clip .adv-glass__halo-ring { -webkit-mask: none; mask: none; clip-path: var(--cs-ring-4); }
/* a clip would cut off an outside focus ring, so clipped controls draw theirs inside */
.cs-poly .cs-clip:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
/* the clip would cut the primary button rim at the corners, so there it goes rimless with a little more tint */
.cs-poly .adv-btn--primary.cs-clip { border-color: transparent; background: rgba(255, 91, 31, 0.58); }
.cs-poly .adv-btn--primary.cs-clip:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- signup form (contact view): split glass panel, intro left, form right ---------- */
.hh-contact { width: min(920px, 100%); }
/* on a short screen the panel scrolls inside itself */
.hh-contact .adv-glass__content { max-height: calc(100svh - 2 * var(--space-4)); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: var(--space-8); }
.hh-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hh-contact__intro { display: flex; flex-direction: column; align-items: flex-start; padding-right: var(--space-8); border-right: 1px solid rgba(255, 255, 255, 0.12); }
.hh-contact__form { padding-left: var(--space-8); min-width: 0; }
.hh-contact .hh-contact__title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 var(--space-3); text-wrap: balance; }
.hh-contact__when { margin: 0 0 var(--space-6); font-size: 16px; line-height: 1.45; color: var(--on-image); opacity: 0.86; }
.hh-contact__back { margin-top: auto; padding-top: var(--space-8); }

/* what happens next: three quiet numbered lines */
.hh-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-3); }
.hh-steps li { counter-increment: step; display: grid; grid-template-columns: 24px 1fr; align-items: baseline; font-family: var(--font-sans); font-size: 16px; line-height: 1.45; color: var(--on-image); opacity: 0.86; }
.hh-steps li::before { content: counter(step); font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 13px; color: var(--blaze); }

.hh-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5, 20px) var(--space-4); }
.hh-form__field { display: flex; flex-direction: column; min-width: 0; }
.hh-form__field--wide, .hh-form__foot, .hh-form .hh-error { grid-column: 1 / -1; }
.hh-form .adv-wait__label { margin-bottom: var(--space-2); color: var(--on-image); opacity: 0.72; }

/* fields are wells in the glass: faint fill, light hairline, the panel's corner family */
.hh-form .adv-wait__input {
  flex: none; width: 100%; box-sizing: border-box; height: 48px; padding: 0 var(--space-4);
  color: var(--on-image); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px;
  transition: border-color var(--dur-quick) var(--ease-film), background-color var(--dur-quick) var(--ease-film), box-shadow var(--dur-quick) var(--ease-film);
}
.hh-form .adv-wait__input::placeholder { color: rgba(244, 241, 234, 0.42); }
.hh-form .adv-wait__input:hover { border-color: rgba(255, 255, 255, 0.28); }
.hh-form .adv-wait__input:focus-visible { outline: none; border-color: var(--blaze); background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 3px rgba(255, 91, 31, 0.25); }
.hh-form__textarea { height: auto !important; min-height: 112px; padding: var(--space-3) var(--space-4) !important; line-height: 1.5; resize: vertical; }

/* group size stepper: − / number / + on one well */
.hh-stepper { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 6px; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; }
.hh-stepper__btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: var(--on-image); font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1;
  transition: background-color var(--dur-quick) var(--ease-film), opacity var(--dur-quick) var(--ease-film); }
.hh-stepper__btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.hh-stepper__btn:active:not(:disabled) { background: rgba(255, 255, 255, 0.22); }
.hh-stepper__btn:disabled { opacity: 0.3; cursor: default; }
.hh-stepper__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hh-stepper__value { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 8px; height: 100%; align-content: center; flex-wrap: wrap; border-radius: 10px; color: var(--on-image); cursor: default; user-select: none; }
.hh-stepper__value:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.hh-stepper__num { font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.hh-stepper__unit { font-family: var(--font-sans); font-size: 16px; line-height: 1; opacity: 0.8; }
.hh-stepper__unit--solo { font-size: 18px; opacity: 1; }
.hh-stepper__hint { margin: var(--space-2) 0 0; font-size: 13px; line-height: 1.45; color: var(--on-image); opacity: 0.62; }

.hh-form__foot { margin-top: var(--space-2); }
.hh-form__foot .adv-btn { width: 100%; justify-content: center; height: 52px; border-radius: 16px; }
.hh-form .adv-btn[disabled] { opacity: 0.6; cursor: progress; }
.hh-form .hh-error { margin: 0; }
.hh-contact__form .hh-thanks { margin: 0; padding: var(--space-6) 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.45; color: var(--on-image); }
/* honeypot: off-screen, never seen or announced */
/* Turnstile's box: empty and invisible unless Cloudflare asks for a click */
.hh-form__bot:not(:empty) { margin-bottom: var(--space-3); }
.hh-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* consent: two lines above the button, boxes as small wells in the glass like the fields */
.hh-form__checks { grid-column: 1 / -1; display: grid; gap: var(--space-3); }
.hh-check { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: center; font-size: 14px; line-height: 20px; color: var(--on-image); cursor: pointer; }
.hh-check span { opacity: 0.86; }
.hh-check a { color: var(--on-image); text-decoration-color: var(--blaze); text-underline-offset: 3px; }
.hh-check a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* a small well in the glass, like the fields; ticked, it takes a warm tint and a cream tick draws in */
.hh-check input {
  appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 7px;
  transition: background-color var(--dur-quick) var(--ease-film), border-color var(--dur-quick) var(--ease-film), box-shadow var(--dur-quick) var(--ease-film);
}
.hh-check input::after {
  content: ""; width: 14px; height: 14px; background: var(--on-image);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transform: scale(0.6); transition: opacity 160ms var(--ease-film), transform 220ms cubic-bezier(0.3, 1.5, 0.5, 1);
}
.hh-check input:hover { border-color: rgba(255, 255, 255, 0.45); }
.hh-check input:checked { background: rgba(255, 91, 31, 0.46); border-color: var(--blaze); box-shadow: 0 0 14px -4px rgba(255, 91, 31, 0.7); }
.hh-check input:checked::after { opacity: 1; transform: none; }
.hh-check input:focus-visible { outline: none; border-color: var(--blaze); box-shadow: 0 0 0 3px rgba(255, 91, 31, 0.25); }

@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .hh-contact .adv-glass__content { padding: var(--space-6) var(--space-5, 20px); }
  .hh-contact .hh-contact__title { font-size: 30px; margin-bottom: var(--space-4); }
  .hh-steps { gap: var(--space-2); }
  .hh-steps li { font-size: 15px; }
  /* one column: intro, form, then the back link last */
  .hh-contact__grid { display: flex; flex-direction: column; }
  .hh-contact__back { order: 3; margin-top: var(--space-6); padding-top: 0; }
  .hh-contact__intro { display: contents; }
  .hh-contact__intro > .adv-tag, .hh-contact__intro > .hh-contact__title, .hh-contact__intro > .hh-steps { order: 0; }
  .hh-contact__form { order: 2; padding-left: 0; padding-top: var(--space-6); margin-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hh-form { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- coming-soon trip: the opener and one way to be told first ---------- */
.tp-soon { padding-bottom: var(--space-8); }
.tp-soon__cta { margin-top: var(--space-12); }
@media (max-width: 640px) { .tp-soon__cta .adv-btn { width: 100%; justify-content: center; } }

/* floating bar: the country sits after the name on desktop, and moves up into the small line on a phone */
.hh-bar__label-country { display: none; }
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .hh-bar__country { display: none; }
  .hh-bar__label-country { display: inline; }
  .hh-bar__label-desk { display: none; }
}
/* the expedition chips name the country too, quieter than the place */
.hh-chip__country { margin-left: 6px; font-weight: 400; opacity: 0.85; } /* 0.85 on the 0.5 glass keeps 4.5:1 over bright skies */
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .hh-top .adv-chip { line-height: 16px; border-radius: 14px; }
  .hh-chip__country { display: block; margin-left: 0; font-size: 11px; line-height: 14px; }
}
/* corner fallback: a clip would cut the fields' hairline at each corner, so there the wells go borderless with a touch more fill */
.cs-poly .hh-form .adv-wait__input.cs-clip, .cs-poly .hh-stepper.cs-clip { border-color: transparent; background-color: rgba(255, 255, 255, 0.1); }

/* ---------- links between the pages: the footer, and the hero's top bar ---------- */
a.tp-foot__mark { color: inherit; text-decoration: none; }
.tp-foot__link { margin-right: auto; font-family: var(--font-sans); font-size: 15px; line-height: 20px; color: var(--ink); text-decoration: none; padding: var(--space-1) 0; border-bottom: 1px solid var(--blaze); }
.tp-foot a:focus-visible, .ab-top a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* the footer's links sit together after the mark, pushing the tag to the far end */
.tp-foot__links { margin-right: auto; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.tp-foot__links .tp-foot__link { margin-right: 0; }
.tp-foot__link[aria-current="page"] { border-bottom-color: var(--line-strong); }
.hh-top__about { align-self: center; margin-left: auto; }
.hh-top__mark { color: var(--on-image); white-space: nowrap; }
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) { .hh-top__about { display: none; } }

/* ---------- About page: Day theme, flat, the trip section's look ---------- */
.ab { min-height: 100vh; }
.ab-top { max-width: 1280px; margin: 0 auto; padding: var(--space-6) var(--space-8); box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); border-bottom: 1px solid var(--line); }
.ab-top .hh-cue { color: var(--ink); }
.ab-inner { padding-top: var(--space-16); }
.ab-story { margin-top: var(--space-12); columns: 2 32ch; column-gap: var(--space-12); }
.ab-story p { margin: 0 0 var(--space-6); font-size: 18px; line-height: 1.6; break-inside: avoid; }

.ab-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12) var(--space-8); }
.ab-member { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
/* portraits are photography, so never rounded */
.ab-member__photo { width: 100%; aspect-ratio: var(--aspect-card); margin-bottom: var(--space-2); overflow: hidden; background: var(--ground-sunk); border-radius: var(--radius-0); }
.ab-member__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-member__stand-in { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-6); box-sizing: border-box; border: 1px solid var(--line); }
.ab-member__name { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.ab-member__bio { margin: var(--space-1) 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.ab-member__base { margin-top: var(--space-1); }

/* contact box: last in the team grid, spanning the rest of its row (3 columns here, 2 and 1 below) */
.ab-contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--space-3); padding: var(--space-8); box-sizing: border-box; background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.ab-team > .ab-contact:nth-child(3n+1) { grid-column: 1 / -1; }
.ab-team > .ab-contact:nth-child(3n+2) { grid-column: span 2; }
.ab-contact__title { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -0.015em; }
.ab-contact__text { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.ab-contact__email { margin-top: var(--space-2); font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--blaze); overflow-wrap: anywhere; }
.ab-contact__email:hover { color: var(--blaze); }
.ab-contact__email:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

@media (max-width: 1000px) {
  .ab-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-team > .ab-contact:nth-child(n) { grid-column: auto; }
  .ab-team > .ab-contact:nth-child(2n+1) { grid-column: 1 / -1; }
}
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .ab-top { padding: var(--space-4); }
  .ab-inner { padding-top: var(--space-12); }
  .ab-story { padding-left: 0; columns: 1; margin-top: var(--space-8); }
}
@media (max-width: 640px) {
  .ab-team { grid-template-columns: 1fr; gap: var(--space-12); }
  .ab-member__photo { aspect-ratio: 4 / 3; }
  .ab-team > .ab-contact:nth-child(n) { grid-column: auto; }
  .ab-contact { padding: var(--space-6); }
}

/* ---------- legal pages (privacy, terms): the About page's frame around one readable column ---------- */
.lg-inner { padding-top: var(--space-16); padding-bottom: var(--space-8); }
.lg-head { max-width: 68ch; }
.lg-head .adv-chapter__title { font-size: clamp(36px, 5vw, 56px); }
.lg-updated { display: block; margin-top: var(--space-4); }
.lg-body { max-width: 68ch; margin-top: var(--space-12); font-size: 17px; line-height: 1.65; }
.lg-note { margin: 0 0 var(--space-8); padding: var(--space-4) var(--space-6); border-left: 2px solid var(--blaze); background: var(--ground-raised); font-family: var(--font-sans); font-size: 15px; color: var(--ink-muted); }
.lg-body h2 { margin: var(--space-12) 0 var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.lg-body h2:first-of-type { margin-top: 0; }
.lg-body p, .lg-body ul { margin: 0 0 var(--space-4); }
.lg-body ul { padding-left: var(--space-6); }
.lg-body li { margin-bottom: var(--space-2); }
.lg-body a { color: var(--ink); text-decoration-color: var(--blaze); text-underline-offset: 3px; }
.lg-body a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* placeholders still to fill in before launch: easy to spot, impossible to miss */
.lg-fill { padding: 0 3px; background: var(--dune-soft); color: var(--ink); border-radius: var(--radius-sm); }
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) {
  .lg-inner { padding-top: var(--space-12); }
  .lg-body { margin-top: var(--space-8); font-size: 16px; }
  .lg-body h2 { font-size: 21px; margin-top: var(--space-8); }
}
