/* The stage remains in normal document flow; CSS sticky owns the pin. */
.journey {
  --opening: 1;
  --arrival: 0;
  --opening-y: 0px;
  --arrival-y: 20px;
  position: relative;
  background: #bba48b;
  color: #fff;
}
.journey--scrub { height: 445vh; height: 445svh; }
.journey__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.journey__still, .journey__poster, .journey__video, .journey__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.journey__still, .journey__poster, .journey__video {
  object-fit: cover;
  object-position: 56% 50%;
}
.journey__poster, .journey__video { display: none; }
.journey__video { opacity: 0; }
.journey--scrub .journey__poster, .journey--scrub .journey__video { display: block; }
.journey--ready .journey__video { opacity: 1; }
.journey--ready .journey__poster { visibility: hidden; }
.journey--scrub .journey__still { visibility: hidden; }
.journey__shade {
  pointer-events: none;
  background: linear-gradient(0deg, rgba(28,24,21,.69), rgba(28,24,21,.12) 44%, transparent 70%),
    linear-gradient(180deg, rgba(28,24,21,.25), transparent 20%);
  opacity: max(var(--opening), var(--arrival));
}
.journey__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 5.5vw, 88px);
  opacity: var(--opening);
}
.journey a { color: inherit; text-decoration: none; }
.journey__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.journey__brand span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ivory);
}
.journey__skip { font-size: 12px; letter-spacing: .08em; }
.journey__skip span { margin-left: 16px; }
.journey__opening, .journey__arrival {
  position: absolute;
  left: clamp(24px, 5.5vw, 88px);
  right: 24px;
  bottom: clamp(104px, 15vh, 160px);
  max-width: 850px;
}
.journey__opening {
  opacity: var(--opening);
  transform: translateY(var(--opening-y));
}
.journey__arrival {
  opacity: var(--arrival);
  transform: translateY(var(--arrival-y));
}
.journey__eyebrow {
  margin-bottom: 22px;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory);
}
.journey h1, .journey h2 {
  font-size: clamp(48px, 6.6vw, 104px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.journey h1 { font-size: clamp(46px, 5.6vw, 88px); }
.journey__date { font-variant-numeric: lining-nums tabular-nums; }
.journey__date span { letter-spacing: -.04em; }
.journey__venue {
  margin-top: 22px;
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--ivory);
}
.journey__button {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  margin-top: 32px;
  padding: 18px 24px;
  background: var(--maroon);
  border: 1px solid rgba(244,240,233,.25);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .2s;
}
.journey__button:hover { background: #4e1320; }
.journey a:focus-visible { outline: 2px solid var(--ivory); outline-offset: 6px; }
/* ---------- Scroll cue: glass pill, centred at the bottom ---------- */
.journey__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 48px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 26px 14px 20px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  background: rgba(28,24,21,.38);
  border: 1px solid rgba(244,240,233,.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.45);
  opacity: var(--opening);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ivory);
}
/* soft sand glow that breathes once the journey is ready */
.journey__cue::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(187,164,139,.55);
  z-index: -1;
}
.journey--ready .journey__cue::before { animation: cue-glow 2.4s ease-out infinite; }
/* loading: the pill fills from left to right */
.journey__cue-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(103,26,43,.85), rgba(103,26,43,.55));
  transform: scaleX(var(--load-progress, 0));
  transform-origin: left;
  transition: transform .2s linear;
}
.journey:not(.journey--loading) .journey__cue-fill { display: none; }
.journey__load-progress { font-variant-numeric: tabular-nums; color: var(--sand); }
.journey:not(.journey--loading) .journey__load-progress { display: none; }
/* mouse with a rolling wheel */
.journey__cue-mouse {
  position: relative;
  flex: none;
  width: 22px;
  height: 34px;
  border: 2px solid var(--ivory);
  border-radius: 12px;
}
.journey__cue-mouse span {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--sand);
}
.journey--ready .journey__cue-mouse span { animation: cue-wheel 1.8s cubic-bezier(.6,0,.4,1) infinite; }
/* two chevrons cascading downwards */
.journey__cue-arrows { display: flex; flex-direction: column; align-items: center; margin-left: 2px; }
.journey__cue-arrows i {
  display: block;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border-right: 2px solid var(--ivory);
  border-bottom: 2px solid var(--ivory);
  transform: rotate(45deg);
  opacity: .35;
}
.journey--ready .journey__cue-arrows i { animation: cue-arrow 1.8s ease-in-out infinite; }
.journey--ready .journey__cue-arrows i:nth-child(2) { animation-delay: .25s; }
.journey--loading .journey__cue-arrows { display: none; }
@keyframes cue-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes cue-arrow {
  0%, 100% { opacity: .2; transform: translateY(-2px) rotate(45deg); }
  50%      { opacity: 1;  transform: translateY(3px) rotate(45deg); }
}
@keyframes cue-glow {
  0%   { box-shadow: 0 0 0 0 rgba(187,164,139,.55); }
  100% { box-shadow: 0 0 0 16px rgba(187,164,139,0); }
}
/* touch screens: swiping, not a mouse */
@media (pointer: coarse) {
  .journey__cue-mouse { display: none; }
  .journey__cue { padding-left: 26px; }
}
.journey:not(.journey--scrub) { --opening: 0; --arrival: 1; --arrival-y: 0px; }
.journey:not(.journey--scrub) .journey__opening,
.journey:not(.journey--scrub) .journey__top,
.journey:not(.journey--scrub) .journey__cue { visibility: hidden; }
#camp { scroll-margin-top: 0; }
#camp:focus { outline: none; }
@media (max-width: 600px) {
  .journey__still, .journey__poster, .journey__video { object-position: 59% 50%; }
  .journey__top {
    padding-top: max(26px, env(safe-area-inset-top));
    align-items: flex-start;
    gap: 20px;
  }
  .journey__brand { font-size: 10px; letter-spacing: .15em; }
  .journey__skip { font-size: 10px; letter-spacing: 0; max-width: 92px; text-align: right; line-height: 1.6; }
  .journey__skip span { margin-left: 6px; }
  .journey h1, .journey h2 { font-size: clamp(42px, 10.5vw, 64px); line-height: 1.08; }
  .journey h1 { font-size: clamp(33px, 9vw, 54px); }
  .journey__eyebrow { font-size: 9px; letter-spacing: .18em; margin-bottom: 18px; }
  .journey__opening, .journey__arrival { bottom: 120px; }
  .journey__cue {
    bottom: max(28px, env(safe-area-inset-bottom));
    font-size: 12px;
    letter-spacing: .18em;
    padding: 13px 22px;
    gap: 12px;
  }
  .journey__button { margin-top: 25px; }
  .journey__venue { max-width: 30ch; margin-top: 18px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .journey h1, .journey h2 { font-size: 48px; }
  .journey__opening, .journey__arrival { bottom: 60px; }
  .journey__eyebrow { margin-bottom: 10px; }
  .journey__venue { margin-top: 10px; }
  .journey__button { margin-top: 16px; padding: 12px 20px; }
  .journey__cue { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey--scrub { height: 100svh; }
  .journey__button { transition: none; }
  .journey__cue::before, .journey__cue-mouse span, .journey__cue-arrows i { animation: none !important; }
}
