  :root {
    /* Deep Creek dusty-blue palette (Zola #8CABC0) for everything below the
       hero video. (Names kept generic; --green/--blue now hold blues.) */
    --green: #6d8fa6;        /* deep Deep-Creek blue — headings, buttons, accents */
    --green-light: #7a9cb0;  /* hover */
    --blue: #8CABC0;         /* brand blue — accents, borders */
    --blue-light: #a8c4d4;   /* soft accents */
    --white: #ffffff;        /* cards */
    --cream: #dde8f0;        /* page background — pale dusty blue haze */
    --ink: #263b48;          /* body text — slate */
    --muted: #607886;        /* muted text */
    --sky: #cfe0ec;          /* map sky */
    --pine: #6d8f7d;         /* cartoon pine green */
    --warm: #b9474c;         /* warm accent (hearts, pins) */
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Cormorant Garamond', serif;
  }

  /* ---- Hero (~80% viewport) ---- */
  .hero {
    position: relative;
    height: 80vh;
    min-height: 420px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Poster is the guaranteed hero; video fades in over it once playback starts
     (autoplay often fails on mobile Low Power Mode). */
  /* Per-clip framing is baked into the encode (separate desktop/mobile files),
     so the media just fills the hero — no JS object-position, no snapping. */
  .hero__poster,
  .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) brightness(0.82);
    background: #0e1a15;
    z-index: 0;
  }

  /* Desktop: first frame of the video (no empty flash before autoplay).
     Mobile: couple photo (Low Power Mode often blocks autoplay). */
  .hero__poster--mobile {
    display: none;
    object-position: 52% 62%;
  }

  .hero__video {
    opacity: 0;
    transition: opacity 0.9s ease;
  }

  .hero__video.is-playing {
    opacity: 1;
  }

  @media (max-width: 640px) {
    .hero__poster--desktop {
      display: none;
    }

    .hero__poster--mobile {
      display: block;
    }

    .hero__video {
      transition: opacity 1.4s ease;
    }
  }

  .hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(120% 90% at 50% 45%, rgba(26,40,52,0.05) 0%, rgba(20,32,42,0.55) 100%),
      linear-gradient(to bottom, rgba(20,32,42,0.35), rgba(20,32,42,0.1) 45%, rgba(20,32,42,0.5));
  }

  .hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
    animation: rise 1.8s ease-out both;
  }

  .eyebrow {
    font-weight: 400;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 1.6vw, 0.95rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.9rem;
  }

  .names {
    font-family: 'Imperial Script', cursive;
    font-weight: 400;
    font-size: clamp(3.5rem, 11vw, 8rem);
    line-height: 1;
    text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  }

  .names .amp {
    display: inline-block;
    margin: 0 0.12em;
    opacity: 0.9;
  }

  .rule {
    width: clamp(120px, 22vw, 260px);
    height: 1px;
    margin: 1.6rem auto 1.2rem;
    background: linear-gradient(to right, transparent, var(--white), transparent);
    opacity: 0.7;
  }

  .meta {
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: clamp(0.8rem, 1.8vw, 1.05rem);
    color: rgba(255,255,255,0.92);
  }

  .meta--date {
    margin-top: 0.55rem;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ---- Music invite (below hero) ---- */
  .music {
    text-align: center;
    padding: 2.25rem 1.5rem 0.35rem;
    background: var(--cream);
  }

  .music::after {
    content: "";
    display: block;
    width: clamp(140px, 28vw, 240px);
    height: 1px;
    margin: 2.1rem auto 0;
    background: linear-gradient(
      to right,
      transparent,
      rgba(47, 71, 89, 0.32),
      transparent
    );
  }

  .music__text {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--muted);
    max-width: 420px;
    margin: 0 auto 1.25rem;
  }

  .music__shell {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
  }

  .music__shell::before {
    content: "";
    position: absolute;
    top: 0.7rem;
    left: 50%;
    z-index: 2;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 4px 22px rgba(47,71,89,0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .music__shell::after {
    content: "";
    position: absolute;
    top: -0.25rem;
    left: 50%;
    z-index: 5;
    width: 0.58rem;
    height: 0.58rem;
    background: #b9474c;
    clip-path: polygon(50% 92%, 8% 48%, 8% 22%, 28% 6%, 50% 22%, 72% 6%, 92% 22%, 92% 48%);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.18rem) scale(0.65);
  }

  .music__shell.is-open.is-animated::before {
    animation: musicPlayerMorph 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .music__shell.is-open.is-animated::after {
    animation: kissHeart 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
  }

  .music__launch {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-height: 7rem;
    transform: translateY(0);
    transition:
      max-height 0.48s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      margin 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .music__shell.is-open .music__launch {
    max-height: 0;
    opacity: 0;
    transform: translateY(-2px);
    margin-bottom: 0;
    pointer-events: none;
  }

  .music__start {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0.7rem 0 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
  }

  .music__start:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .music__start-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 22px rgba(47,71,89,0.28);
    transform: translateY(0) scale(1);
    transition:
      transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s ease,
      opacity 0.24s ease;
  }

  .music__start:hover:not(:disabled) .music__start-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 28px rgba(47,71,89,0.34);
  }

  .music__shell.is-open.is-animated .music__start-icon {
    transform: translateY(-2px) scale(0.96);
    opacity: 0;
  }

  .ui-play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 0.38rem solid transparent;
    border-bottom: 0.38rem solid transparent;
    border-left: 0.58rem solid currentColor;
    transform: translateX(0.06rem);
  }

  .ui-pause-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.16rem;
  }

  .ui-pause-icon::before,
  .ui-pause-icon::after {
    content: "";
    display: block;
    width: 0.18rem;
    height: 0.72rem;
    border-radius: 999px;
    background: currentColor;
  }

  .music__start-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .music__shell.is-open.is-animated .music__start-label {
    opacity: 0;
    transform: translateY(-2px);
  }

  .player-wrap {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .player-wrap::before,
  .player-wrap::after {
    content: "";
    position: absolute;
    top: -0.2rem;
    left: 50%;
    z-index: 3;
    width: 0.78rem;
    height: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transform-origin: 50% 100%;
    filter:
      drop-shadow(0 0 1px rgba(47,71,89,0.38))
      drop-shadow(0 4px 7px rgba(47,71,89,0.14));
  }

  .player-wrap::before {
    background:
      radial-gradient(circle at 50% 0.1rem, #c9aa68 0 0.16rem, transparent 0.17rem),
      radial-gradient(circle at 50% 0.18rem, #f1c9aa 0 0.15rem, transparent 0.16rem),
      linear-gradient(var(--green), var(--green)) 50% 0.38rem / 0.44rem 0.78rem no-repeat,
      linear-gradient(#f7faf8, #f7faf8) 50% 0.43rem / 0.16rem 0.46rem no-repeat;
    border-radius: 999px 999px 0.18rem 0.18rem;
  }

  .player-wrap::after {
    background:
      radial-gradient(circle at 31% 0.25rem, rgba(216,189,118,0.95) 0 0.17rem, transparent 0.18rem),
      radial-gradient(circle at 69% 0.25rem, rgba(216,189,118,0.95) 0 0.17rem, transparent 0.18rem),
      radial-gradient(circle at 50% 0.11rem, #d8bd76 0 0.21rem, transparent 0.22rem),
      radial-gradient(circle at 50% 0.17rem, #f3cfb2 0 0.14rem, transparent 0.15rem),
      linear-gradient(135deg, transparent 0 13%, rgba(58,109,140,0.55) 14% 20%, #f1e5d4 21% 79%, rgba(58,109,140,0.55) 80% 86%, transparent 87%) 50% 0.38rem / 0.86rem 0.9rem no-repeat,
      linear-gradient(90deg, transparent 0 47%, rgba(58,109,140,0.28) 48% 52%, transparent 53%) 50% 0.5rem / 0.52rem 0.56rem no-repeat,
      radial-gradient(circle at 24% 1.12rem, transparent 0 0.08rem, rgba(58,109,140,0.58) 0.09rem 0.12rem, transparent 0.13rem),
      radial-gradient(circle at 50% 1.16rem, transparent 0 0.08rem, rgba(58,109,140,0.58) 0.09rem 0.12rem, transparent 0.13rem),
      radial-gradient(circle at 76% 1.12rem, transparent 0 0.08rem, rgba(58,109,140,0.58) 0.09rem 0.12rem, transparent 0.13rem);
    border-radius: 999px 999px 0.35rem 0.35rem;
  }

  .music__shell.is-open.is-animated .player-wrap::before {
    animation: groomSilhouette 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  }

  .music__shell.is-open.is-animated .player-wrap::after {
    animation: brideSilhouette 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  }

  .music__shell.is-open .player-wrap {
    grid-template-rows: 1fr;
  }

  .player-wrap__inner {
    overflow: hidden;
    min-height: 0;
  }

  .player {
    opacity: 0;
    transform: scale(0.975) translateY(4px);
    transform-origin: center top;
    padding: 1.25rem 1.35rem 1.1rem;
    background: var(--white);
    border-radius: 4px;
    border-top: 3px solid var(--blue);
    box-shadow: 0 2px 20px rgba(47,71,89,0.06);
    transition:
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
      transform 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
      box-shadow 0.45s ease 0.18s;
  }

  .music__shell.is-open .player {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 8px 32px rgba(47,71,89,0.1);
  }

  .player__title,
  .player__artist,
  .player__controls,
  .player__progress {
    opacity: 0;
    transform: translateY(5px);
    transition:
      opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .music__shell.is-open.is-animated .player__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
  }

  .music__shell.is-open.is-animated .player__artist {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.27s;
  }

  .music__shell.is-open.is-animated .player__controls {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
  }

  .music__shell.is-open.is-animated .player__progress {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.36s;
  }

  @keyframes musicPlayerMorph {
    0% {
      top: 0.7rem;
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 999px;
      background: var(--green);
      box-shadow: 0 4px 22px rgba(47,71,89,0.28);
      opacity: 1;
    }
    36% {
      top: 0.35rem;
      width: 8rem;
      height: 4rem;
      border-radius: 999px;
      background: rgba(47,71,89,0.14);
      box-shadow: 0 10px 28px rgba(47,71,89,0.12);
      opacity: 0.34;
    }
    72% {
      top: 0.1rem;
      width: 100%;
      height: calc(100% - 0.1rem);
      border-radius: 7px;
      background: rgba(255,255,255,0.82);
      box-shadow: 0 12px 34px rgba(47,71,89,0.1);
      opacity: 0.24;
    }
    100% {
      top: 0;
      width: 100%;
      height: 100%;
      border-radius: 4px;
      background: var(--white);
      box-shadow: 0 8px 32px rgba(47,71,89,0.1);
      opacity: 0;
    }
  }

  @keyframes groomSilhouette {
    0% {
      opacity: 0;
      transform: translate(-2.2rem, 1.15rem) scale(0.72);
    }
    18% {
      opacity: 0.78;
      transform: translate(-2.2rem, 0.15rem) scale(0.92);
    }
    45% {
      opacity: 0.82;
      transform: translate(-0.58rem, 0.02rem) rotate(5deg) scale(1);
    }
    58% {
      opacity: 0.82;
      transform: translate(-0.43rem, 0) rotate(7deg) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(-4rem, -0.42rem) rotate(-4deg) scale(0.84);
    }
  }

  @keyframes brideSilhouette {
    0% {
      opacity: 0;
      transform: translate(1.42rem, 1.15rem) scale(0.72);
    }
    18% {
      opacity: 0.78;
      transform: translate(1.42rem, 0.15rem) scale(0.92);
    }
    45% {
      opacity: 0.82;
      transform: translate(0.05rem, 0.02rem) rotate(-5deg) scale(1);
    }
    58% {
      opacity: 0.82;
      transform: translate(-0.1rem, 0) rotate(-7deg) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(3.2rem, -0.42rem) rotate(4deg) scale(0.84);
    }
  }

  @keyframes kissHeart {
    0% {
      opacity: 0;
      transform: translate(-50%, 0.18rem) scale(0.65);
    }
    22% {
      opacity: 0.92;
      transform: translate(-50%, -0.12rem) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -1.45rem) scale(0.78);
    }
  }

  .music__shell.is-open:not(.is-animated) .player {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .music__shell.is-open:not(.is-animated) .music__launch {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: none;
  }

  .music__shell.is-open:not(.is-animated) .player__title,
  .music__shell.is-open:not(.is-animated) .player__artist,
  .music__shell.is-open:not(.is-animated) .player__controls,
  .music__shell.is-open:not(.is-animated) .player__progress {
    opacity: 1;
    transform: none;
    transition: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .music__launch,
    .music__start-icon,
    .music__start-label,
    .player-wrap,
    .player,
    .player-wrap::before,
    .player-wrap::after,
    .player__title,
    .player__artist,
    .player__controls,
    .player__progress {
      transition: none !important;
    }

    .music__shell.is-open.is-animated::before {
      animation: none;
      opacity: 0;
    }

    .music__shell.is-open.is-animated::after {
      animation: none;
      opacity: 0;
    }

    .music__shell.is-open.is-animated .player-wrap::before,
    .music__shell.is-open.is-animated .player-wrap::after {
      animation: none;
      opacity: 0;
    }

    .music__shell.is-open.is-animated .music__start-icon {
      transform: none;
      opacity: 1;
    }
  }

  .player__title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 0.1rem;
  }

  .player__artist {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 1rem;
  }

  .player__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }

  .player__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47,71,89,0.15);
    background: var(--cream);
    color: var(--green);
    border-radius: 50%;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
  }

  .player__btn:hover:not(:disabled) {
    background: var(--white);
    border-color: var(--green);
  }

  .player__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .player__btn--skip {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
    line-height: 1;
    padding-bottom: 0.1rem;
  }

  .player__btn--play {
    width: 2.85rem;
    height: 2.85rem;
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    font-size: 0.95rem;
  }

  .player__btn--play:hover:not(:disabled) {
    background: var(--green-light);
    border-color: var(--green-light);
  }

  .player__progress {
    display: grid;
    gap: 0.35rem;
  }

  .player__seek {
    width: 100%;
    height: 4px;
    appearance: none;
    background: rgba(47,71,89,0.12);
    border-radius: 2px;
    cursor: pointer;
  }

  .player__seek::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
  }

  .player__seek::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
  }

  .player__time {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.04em;
  }

  /* ---- Journey (scroll-driven map) ---- */
  .journey {
    position: relative;
    background: var(--cream);
  }

  .journey__intro {
    text-align: center;
    padding: 0.7rem 1.5rem 0.5rem;
  }

  .journey__intro .journey__lead {
    font-family: 'Imperial Script', cursive;
    font-weight: 400;
    font-size: clamp(2.85rem, 8vw, 4.4rem);
    color: var(--green);
    line-height: 1.12;
    max-width: 18em;
    margin: 0 auto 0.35rem;
  }

  .journey__lead-sub {
    display: block;
    font-size: 0.72em;
    line-height: 1.2;
    margin-top: 0.15em;
  }

  .journey__intro h2 {
    font-family: 'Imperial Script', cursive;
    font-weight: 400;
    font-size: clamp(2.45rem, 6.5vw, 3.6rem);
    color: var(--green);
    line-height: 1.1;
    margin-top: 2.25rem;
  }

  .journey__intro > p:not(.journey__lead) {
    font-size: clamp(1.12rem, 2.8vw, 1.32rem);
    font-weight: 300;
    color: var(--muted);
    max-width: 540px;
    margin: 0.65rem auto 0;
    line-height: 1.65;
  }

  .journey__hint {
    margin-top: 0.75rem;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    letter-spacing: 0.04em;
  }

  /* Tall scroll track; the stage pins inside it. ~6 screens for 5 phases. */
  .journey__track {
    position: relative;
    height: 600vh;
  }

  .journey__stage {
    position: sticky;
    top: 0;
    /* dvh tracks the visible viewport (Safari chrome included); 100vh
       falls behind the browser bar and clips the step cards. */
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .journey__map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(0);
    will-change: transform;
  }

  .journey__vehicle {
    transition: opacity 0.35s ease;
  }

  /* soft top/bottom fades so the map melts into the page */
  .journey__stage::before,
  .journey__stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 16vh;
    z-index: 3;
    pointer-events: none;
  }
  .journey__stage::before {
    top: 0;
    background: linear-gradient(to bottom, var(--cream), rgba(221,232,240,0));
  }
  .journey__stage::after {
    bottom: 0;
    height: 28vh;
    background: linear-gradient(to top, rgba(221,232,240,0.92), rgba(221,232,240,0));
  }

  .journey__captions {
    position: absolute;
    left: 0;
    right: 0;
    top: 10vh;
    bottom: auto;
    z-index: 4;
    text-align: center;
    pointer-events: none;
    padding: 0 1.25rem;
  }

  .journey__caption {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
    z-index: 1;
  }

  .journey__caption.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 2;
  }

  .journey__caption .kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(255,255,255,0.82);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(4px);
  }

  /* Strong frosted panel so big headers read over busy watercolor */
  .journey__caption .cap {
    display: inline-block;
    max-width: 920px;
    padding: 1.1rem 2.2rem 1.35rem;
    border-radius: 28px;
    background: linear-gradient(180deg,
      rgba(247,250,252,0.94) 0%,
      rgba(247,250,252,0.82) 70%,
      rgba(247,250,252,0.55) 100%);
    box-shadow: 0 10px 40px rgba(38,59,72,0.12);
    backdrop-filter: blur(6px);
  }

  .journey__caption .line {
    font-size: clamp(1.85rem, 5.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.15;
    color: #2c4a5b;
    text-shadow:
      0 0 3px rgba(255,255,255,0.95),
      0 0 12px rgba(255,255,255,0.85);
  }

  .journey__caption .sub {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    font-weight: 400;
    color: var(--ink);
    margin-top: 0.45rem;
    text-shadow: 0 0 6px rgba(255,255,255,0.95);
  }

  /* Mobile: at width:100% the map is barely taller than the phone
     (~66px of camera travel), so the whole trip is visible at once and
     the scroll-follow feels broken. Zoom past the edges for real pan
     room, enlarge vehicles/pins, nudge airport labels inward so they
     stay readable, and park captions at the bottom. */
  @media (max-width: 640px) {
    .journey__track {
      height: 720vh;
    }

    .journey__map {
      width: 148%;
      left: -24%;
    }

    .journey__vehicle .journey__scale {
      transform: scale(1.7);
      transform-box: fill-box;
      transform-origin: center;
    }

    .journey__marker .journey__scale {
      transform: scale(1.4);
      transform-box: fill-box;
      transform-origin: center;
    }

    /* Pull Sac/Reno labels toward center so zoom doesn't clip them */
    .journey__marker--sac .journey__scale {
      transform: scale(1.4) translate(64px, 0);
    }

    .journey__marker--reno .journey__scale {
      transform: scale(1.4) translate(-64px, 0);
    }

    .journey__marker--resort .journey__scale {
      transform-origin: center top;
    }

    .journey__stage::before {
      height: 10vh;
    }

    .journey__stage::after {
      height: 34vh;
    }

    .journey__captions {
      top: auto;
      /* Clear Safari's bottom toolbar + home indicator. */
      bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
      padding: 0 0.85rem;
    }

    /* Anchor from the bottom so taller cards (step 3) grow upward
       instead of extending into the browser chrome. */
    .journey__caption {
      top: auto;
      bottom: 0;
      left: 0.85rem;
      right: 0.85rem;
      transform: translateY(12px);
    }

    .journey__caption.is-active {
      transform: translateY(0);
    }

    .journey__caption .kicker {
      font-size: 0.68rem;
      letter-spacing: 0.28em;
      padding: 0.28rem 0.75rem;
      margin-bottom: 0.4rem;
    }

    .journey__caption .cap {
      padding: 0.65rem 1rem 0.8rem;
      border-radius: 18px;
      max-width: 100%;
    }

    .journey__caption .line {
      font-size: clamp(1.2rem, 5.6vw, 1.45rem);
    }

    .journey__caption .sub {
      font-size: 0.95rem;
      margin-top: 0.25rem;
    }
  }

  /* Static fallback (reduced motion / no support): show the whole map, no pin. */
  .journey.is-static .journey__track { height: auto; }
  .journey.is-static .journey__stage {
    position: static;
    height: auto;
    overflow: visible;
    padding: 1.5rem 0 2.5rem;
  }
  .journey.is-static .journey__stage::before,
  .journey.is-static .journey__stage::after { display: none; }
  .journey.is-static .journey__map {
    position: static;
    width: 100%;
    margin: 0 auto;
    display: block;
    transform: none;
  }
  .journey.is-static .journey__captions { display: none; }

  .journey__endnote {
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 1.5rem 1.5rem 0.5rem;
  }

  .journey__caption .line em {
    font-style: italic;
    font-family: 'Imperial Script', cursive;
    font-style: normal;
    font-size: 1.15em;
    padding: 0 0.08em;
  }

  /* ---- Hideout venue reveal ---- */
  .venue {
    background: linear-gradient(to bottom, #c3d8e8, var(--cream));
    padding: 3.5rem 1.5rem 4rem;
    text-align: center;
  }

  .venue__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
  }

  .venue__title {
    font-family: 'Imperial Script', cursive;
    font-weight: 400;
    font-size: clamp(2.4rem, 7vw, 3.8rem);
    color: var(--green);
    line-height: 1.05;
    margin-bottom: 1.5rem;
  }

  .venue__frame {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    padding: 0.85rem;
    border-radius: 6px;
    box-shadow: 0 14px 40px rgba(47,71,89,0.16);
    transform: rotate(-1deg);
  }

  .venue__frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
  }

  .venue__frame figcaption {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.85rem 0 0.35rem;
  }

  /* placeholder shown until hideout-map.jpg is added */
  .venue__frame.is-empty img { display: none; }
  .venue__frame.is-empty::before {
    content: "Drop your hideout map here\A(save it as site/hideout-map.jpg)";
    white-space: pre;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 4 / 3;
    border: 2px dashed var(--blue);
    border-radius: 3px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    background: repeating-linear-gradient(45deg, rgba(125,156,179,0.06) 0 12px, rgba(125,156,179,0.12) 12px 24px);
  }

  @media (prefers-reduced-motion: reduce) {
    .journey__vehicle { transition: none; }
  }

  /* ---- Details below journey ---- */
  .details {
    max-width: 640px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2.75rem;
    text-align: center;
  }

  .intro {
    margin-bottom: 3.25rem;
  }

  .intro__place {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.85rem;
  }

  .intro__date {
    font-size: clamp(1.55rem, 3.4vw, 2rem);
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
  }

  .intro__text {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
    max-width: 34em;
    margin: 0 auto;
  }

  .details__block {
    padding: 1.25rem 0 1.1rem;
  }

  .details__title {
    font-family: 'Imperial Script', cursive;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 2.8rem);
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--green);
    margin-bottom: 1.5rem;
    line-height: 1.1;
  }

  .details__block p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
  }

  .timeline {
    list-style: none;
    max-width: 280px;
    margin: 0 auto;
  }

  .timeline li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.85rem 0;
    font-size: 1.15rem;
    line-height: 1.45;
    text-align: center;
  }

  .timeline__time {
    font-family: 'Imperial Script', cursive;
    font-weight: 400;
    font-size: 1.85rem;
    line-height: 1.1;
    color: var(--green);
  }

  .timeline__event {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.03em;
    font-size: 1.05rem;
  }

  .timeline__icon {
    width: 1.35em;
    height: 1.35em;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
  }

  .timeline__icon--toast {
    width: 1.55em;
    height: 1.55em;
  }

  .timeline__note {
    display: block;
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 300;
    margin-top: 0.15rem;
  }

  .stay {
    display: grid;
    gap: 1.75rem;
  }

  .stay__item h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
  }

  .stay__item p {
    font-size: 1.05rem;
  }

  .details__note {
    padding: 0;
    border-top: none;
  }

  .details__note::before {
    content: "";
    display: block;
    width: clamp(140px, 28vw, 240px);
    height: 1px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(
      to right,
      transparent,
      rgba(47, 71, 89, 0.32),
      transparent
    );
  }

  .note__text {
    font-family: 'Imperial Script', cursive;
    font-size: clamp(1.7rem, 4.2vw, 2.35rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--green);
    max-width: 16em;
    margin: 0 auto 0.75rem;
  }

  .note__heart {
    display: block;
    width: clamp(2.35rem, 6.5vw, 2.9rem);
    margin: 0 auto 0.55rem;
    line-height: 0;
  }

  .note__heart svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .note__heart-stroke {
    stroke: var(--green);
    stroke-width: 3.6;
    opacity: 0;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }

  .note__heart-tip {
    fill: #8CABC0;
    opacity: 0;
    pointer-events: none;
  }

  .note__heart.is-drawn .note__heart-stroke {
    opacity: 0.95;
    stroke-dashoffset: 0;
  }

  .note__signoff {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
  }

  .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.65rem 1.75rem;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s;
  }

  .btn:hover {
    background: var(--green-light);
  }

  /* ---- Full-width continuous photo marquee ---- */
  .gallery {
    width: 100%;
    margin-top: 1.75rem;
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .gallery__marquee {
    overflow: hidden;
    width: 100%;
  }

  .gallery__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: galleryScroll 55s linear infinite;
    will-change: transform;
  }

  .gallery__track img {
    display: block;
    height: clamp(300px, 52vw, 460px);
    width: auto;
    flex-shrink: 0;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
  }

  @keyframes galleryScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .note__heart-stroke {
      opacity: 0.95;
      stroke-dashoffset: 0;
    }

    .note__heart-tip {
      display: none;
    }

    .gallery__track {
      animation: none;
    }
  }

  @media (max-width: 640px) {
    .details { padding: 2rem 1.25rem 2rem; }

    .gallery {
      margin-top: 1.4rem;
    }

    .gallery__track {
      animation-duration: 42s;
    }

    .timeline {
      max-width: none;
    }

    .timeline li {
      grid-template-columns: 1fr;
      gap: 0.15rem;
      text-align: center;
    }
  }
