/* ==========================================================
   The Long Way Around · luggage-sticker palette
   jungle night · bone · bougainvillea (booked) · sky (maybe) · marigold
   ========================================================== */
:root {
  color-scheme: dark;
  --night: #0e2622;
  --night-2: #143530;
  --night-3: #1d4a42;
  --bone: #f5ebdd;
  --adobe: #f3e1d0;
  --ink: #1a1310;
  --ink-soft: #5b4a40;
  --pink: #ff4f87;
  --pink-deep: #d8286a;
  --sky: #86cdf2;
  --sky-deep: #2f7fb0;
  --gold: #ffb627;
  --line-dark: rgba(245, 235, 221, .16);
  --line-light: rgba(26, 19, 16, .14);

  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-hand: "Gochi Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 11px, 18px);
  line-height: 1.55;
  font-variation-settings: "opsz" 16;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }

/* ---------- type atoms ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.1rem; opacity: .85;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.big {
  font-family: var(--f-display); font-weight: 800; font-stretch: 78%;
  font-variation-settings: "opsz" 96, "wdth" 78;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
}
.big em, .hero-title em, .finale h2 em, .layover h3 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none;
  letter-spacing: -.01em; font-size: 1.08em;
}
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 4rem); max-width: 860px; }
.sec-sub { max-width: 58ch; font-size: 1.05em; opacity: .85; }
.scribble { font-family: var(--f-hand); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.1; color: var(--gold); }
.fine { font-size: .82rem; opacity: .7; }

/* booked / maybe tags — the core visual language */
.tag {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: .38em .8em .34em; border-radius: 99px; white-space: nowrap; line-height: 1;
}
.tag.booked { background: var(--pink); color: var(--ink); }
.tag.booked::before { content: "✓"; font-size: 1.1em; }
.tag.maybe { border: 1.5px dashed var(--sky); color: var(--sky); }
.tag.maybe::before { content: "?"; }

.btn {
  display: inline-flex; align-items: center; gap: .6em; cursor: pointer; text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: .85em 1.35em; border-radius: 99px; border: 2px solid transparent;
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--gold); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--gold); }
.btn-bone { background: var(--bone); color: var(--ink); }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  transition: background .3s, backdrop-filter .3s, padding .3s;
}
.topbar.is-solid { background: rgba(14, 38, 34, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); padding-bottom: 10px; }
.mark { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: .82rem; line-height: .95; letter-spacing: .02em; }
.mark svg { width: 34px; height: 34px; color: var(--gold); transition: transform .8s var(--ease); }
.mark:hover svg { transform: rotate(-200deg); }
.topbar nav { display: flex; gap: .3rem; }
.topbar nav a {
  text-decoration: none; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .5em .85em; border-radius: 99px; transition: background .2s, color .2s;
}
.topbar nav a:hover, .topbar nav a.is-here { background: var(--bone); color: var(--ink); }
@media (max-width: 760px) { .topbar nav { display: none; } }

/* ---------- HUD odometer ---------- */
.hud {
  position: fixed; z-index: 45; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  transform: translate(-50%, 140%); opacity: 0;
  display: flex; align-items: center; gap: .75rem; white-space: nowrap;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em;
  background: var(--ink); color: var(--bone); border: 1px solid rgba(245,235,221,.14);
  padding: .6rem 1rem; border-radius: 99px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), opacity .4s; max-width: calc(100vw - 32px); overflow: hidden;
}
.hud.is-on { transform: translate(-50%, 0); opacity: 1; }
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255,79,135,.6); animation: ping 2s infinite; flex: none; }
.hud-km b { color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; }
.hud-place { font-weight: 500; text-transform: uppercase; letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; }
.hud-coord { opacity: .55; }
@media (max-width: 520px) { .hud-coord { display: none; } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,79,135,0); } 100% { box-shadow: 0 0 0 0 rgba(255,79,135,0); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh); display: grid; align-items: end;
  isolation: isolate; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 60% 50%; z-index: -2; will-change: transform; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,38,34,.55) 0%, rgba(14,38,34,0) 28%),
    linear-gradient(0deg, rgba(14,38,34,.96) 4%, rgba(14,38,34,.35) 48%, rgba(14,38,34,0) 70%),
    radial-gradient(120% 70% at 85% 30%, rgba(255,182,39,.20), transparent 60%);
}
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 110px var(--gutter) clamp(28px, 6vh, 64px); display: grid; gap: clamp(1rem, 2.4vh, 1.8rem); }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-kicker i { width: 28px; height: 1px; background: currentColor; opacity: .6; }
.hero-title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "opsz" 96, "wdth" 75; font-stretch: 75%;
  font-size: clamp(4.2rem, 17vw, 15rem); line-height: .8; letter-spacing: -.012em;
  display: grid;
}
.ht { display: block; }
.ht-2 { padding-left: .9em; color: var(--gold); }
.ht-3 { position: relative; }
.ht-3 sup { font-size: .32em; vertical-align: top; position: relative; top: .25em; color: var(--pink); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.hero-lede { max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.hero-lede em { font-family: var(--f-serif); font-size: 1.2em; color: var(--gold); }
.countdown { display: grid; grid-template-columns: repeat(3, auto); gap: 0 1.1rem; justify-content: start; }
.countdown div { display: grid; }
.countdown b { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: .9; font-variant-numeric: tabular-nums; }
.countdown div:first-child b { color: var(--pink); }
.countdown span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.countdown p { grid-column: 1 / -1; margin-top: .6rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.hero-note { transform: rotate(-3deg); justify-self: start; margin-left: 12%; }
.spinner {
  position: absolute; right: clamp(12px, 5vw, 80px); top: clamp(90px, 16vh, 150px);
  width: clamp(120px, 15vw, 190px); color: var(--bone); animation: spin 26s linear infinite;
}
.spinner text { font-family: var(--f-mono); font-size: 11.2px; letter-spacing: 1.2px; fill: currentColor; }
.spinner path { color: var(--gold); }
@keyframes spin { to { transform: rotate(-360deg); } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: .7;
}
.scroll-cue span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .spinner { top: 84px; right: 12px; width: 108px; }
  .hero-note { margin-left: 0; }
  .scroll-cue { display: none; }
}
/* load-in: title rises line by line (visible at rest if animations are off) */
@media (prefers-reduced-motion: no-preference) {
  .ht, .hero-kicker, .hero-foot, .hero-note { animation: rise 1s var(--ease) both; }
  .ht-1 { animation-delay: .05s; } .ht-2 { animation-delay: .15s; } .ht-3 { animation-delay: .25s; }
  .hero-foot { animation-delay: .45s; } .hero-note { animation-delay: .7s; }
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }

/* ---------- MANIFESTO ---------- */
.manifesto { padding-block: clamp(80px, 14vw, 180px) clamp(60px, 10vw, 120px); }
.manifesto .big { font-size: clamp(2.4rem, 7.2vw, 6.6rem); max-width: 14ch; }
.pencil { color: var(--sky); position: relative; white-space: nowrap; }
.pencil::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .14em;
  background: repeating-linear-gradient(90deg, var(--sky) 0 .22em, transparent .22em .38em);
  transform: rotate(-1.5deg);
}
.equator { margin-top: clamp(3rem, 7vw, 5.5rem); }
.eq-track { position: relative; height: 14px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--line-dark) 0 6px, transparent 6px 12px); }
.eq-fill { position: absolute; inset: 0 7% 0 0; border-radius: 99px; background: linear-gradient(90deg, var(--pink) 0 74%, var(--sky) 74%); transform-origin: left; }
.eq-fill::after { content: ""; position: absolute; left: 74%; top: -8px; bottom: -8px; width: 2px; background: var(--bone); }
.eq-plane { position: absolute; left: 93%; top: 50%; transform: translate(-50%, -52%) rotate(0deg); font-size: 1.6rem; color: var(--gold); }
.eq-labels { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.eq-labels b { color: var(--gold); font-weight: 500; }
.eq-note { margin-top: 1.2rem; transform: rotate(-1.5deg); }
@media (max-width: 600px) { .eq-labels { flex-direction: column; gap: .3rem; } }
.key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.key-item { display: grid; gap: .8rem; align-content: start; padding: 1.4rem 1.5rem 1.6rem; border-top: 1px solid var(--line-dark); }
.key-item .tag { justify-self: start; font-size: .8rem; }
.key-item p { opacity: .85; max-width: 42ch; }
@media (max-width: 640px) { .key { grid-template-columns: 1fr; } }

/* ---------- BOOKED ---------- */
.booked-sec { background: var(--pink); color: var(--ink); padding-block: clamp(80px, 11vw, 150px); position: relative; }
.booked-sec::before { /* scalloped ticket edge */
  content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px;
  background: radial-gradient(circle at 12px 0, transparent 11px, var(--pink) 11.5px) 0 0 / 24px 12px repeat-x;
}
.booked-sec .eyebrow { opacity: 1; }
.passes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pass {
  display: grid; grid-template-columns: minmax(0, 1fr) 96px; background: var(--bone); color: var(--ink);
  border-radius: 18px; position: relative; filter: drop-shadow(0 12px 24px rgba(90, 10, 40, .22));
  transition: transform .4s var(--ease);
  --r: 0deg; transform: rotate(var(--r));
}
.pass:nth-child(1) { --r: -1.2deg; } .pass:nth-child(2) { --r: .8deg; } .pass:nth-child(3) { --r: -.5deg; } .pass:nth-child(4) { --r: 1.3deg; }
.pass:hover { transform: rotate(0) translateY(-4px); }
.pass-wide { grid-column: 1 / -1; --r: -.4deg; }
.pass-main { padding: 1.3rem 1.4rem 1.2rem; display: grid; gap: 1rem; }
.pass-top { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pass-top span:last-child { text-align: right; }
.pass-route { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: .8rem; }
.pass-route > div { display: grid; }
.pass-route > div:last-child { text-align: right; }
.pass-route b { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: .85; letter-spacing: -.02em; }
.pass-route span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.pass-arc { width: 100%; height: auto; color: var(--pink-deep); }
.pass-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .6rem; margin: 0; padding-top: .9rem; border-top: 1.5px dashed var(--line-light); }
.pass-meta div { display: grid; }
.pass-meta dt { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pass-meta dd { margin: 0; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pass-stub {
  position: relative; display: grid; place-items: center; align-content: center; gap: .8rem; padding: 1rem .6rem;
  border-left: 2px dashed var(--line-light);
}
.pass-stub::before, .pass-stub::after { /* punched notches */
  content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink);
}
.pass-stub::before { top: -11px; } .pass-stub::after { bottom: -11px; }
.stamp {
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem;
  color: var(--pink-deep); border: 3px solid currentColor; border-radius: 8px; padding: .25em .5em; transform: rotate(-14deg);
  mix-blend-mode: multiply; opacity: .92;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0,0,0,.65) 56%, #000 70%);
          mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0,0,0,.65) 56%, #000 70%);
}
.stub-seq { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); }
.pass-maybe { background: transparent; color: var(--ink); filter: none; border: 2.5px dashed var(--ink); }
.pass-maybe .pass-top, .pass-maybe .pass-route span, .pass-maybe .pass-meta dt, .pass-maybe .stub-seq { color: rgba(26,19,16,.7); }
.pass-maybe .pass-meta, .pass-maybe .pass-stub { border-color: rgba(26,19,16,.35); }
.pass-maybe .pass-arc { color: var(--ink); }
.pass-maybe .pass-meta dd { font-family: var(--f-hand); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.pass-maybe .pass-stub::before, .pass-maybe .pass-stub::after { display: none; }
.stamp-maybe { color: var(--ink); border-style: dashed; mix-blend-mode: normal; transform: rotate(8deg); }
@media (max-width: 820px) {
  .passes { grid-template-columns: 1fr; }
  .pass { grid-template-columns: minmax(0, 1fr) 76px; }
  .pass-main { padding: 1.1rem 1.1rem 1rem; }
  .stamp { font-size: .86rem; }
}
@media (max-width: 380px) { .pass-route b { font-size: 2.4rem; } .pass-meta dd { font-size: .95rem; } }

.layover {
  margin-top: clamp(40px, 6vw, 72px); background: var(--ink); color: var(--bone); border-radius: 22px;
  padding: clamp(1.4rem, 3.5vw, 2.8rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.5rem 3rem;
}
.layover h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: .95; margin-bottom: 1rem; }
.layover h3 em { color: var(--gold); }
.layover .scribble { color: var(--pink); transform: rotate(-2deg); }
.layover-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: p; }
.layover-plans li { padding-left: 1rem; border-left: 2px solid var(--pink); opacity: .92; font-size: .96em; }
.layover-plans b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.layover .fine { grid-column: 1 / -1; }
.layover .fine a { color: var(--sky); }
@media (max-width: 820px) { .layover { grid-template-columns: 1fr; } }

/* ---------- BREATHER ---------- */
.breather { position: relative; height: clamp(420px, 85svh, 900px); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.breather img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.breather::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 0%, rgba(14,38,34,0) 30%), rgba(14,38,34,.18); }
.breather-text { display: grid; gap: .1em; text-align: center; transform: rotate(-4deg); }
.breather-text .scribble { font-size: clamp(3rem, 11vw, 9rem); color: var(--bone); text-shadow: 0 4px 30px rgba(0,0,0,.45); line-height: .95; }
.breather-text .scribble:last-child { color: var(--gold); padding-left: 1.2em; }

/* ---------- ROUTE / GLOBE ---------- */
.route { position: relative; background: radial-gradient(80% 60% at 70% 40%, #173f38 0%, var(--night) 70%); }
.route-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#globe { width: 100%; height: 100%; display: block; }
.route-legend { position: absolute; right: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 84px); display: flex; gap: .5rem; }
.route-intro, .stops { position: relative; z-index: 2; }
.route-intro {
  margin-top: -100svh; min-height: 100svh; display: grid; align-content: center; gap: 1.2rem;
  max-width: calc(var(--maxw)); margin-inline: auto; padding-inline: var(--gutter);
}
.route-intro > * { max-width: 520px; }
.route-intro p:last-child { opacity: .85; }
.stops { list-style: none; margin: 0; padding: 0 var(--gutter) 30svh; max-width: var(--maxw); margin-inline: auto; }
.stop { min-height: 100svh; display: flex; align-items: center; pointer-events: none; }
.stop-card {
  pointer-events: auto; width: min(430px, 100%);
  background: rgba(10, 30, 27, .78); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid var(--line-dark); border-radius: 22px; padding: 1.2rem 1.2rem 1.2rem;
  display: grid; gap: .55rem; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.stop-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.stop-card h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: .88; letter-spacing: -.015em; margin-top: .3rem; }
.stop-sub { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.stop-card > p:not(.stop-meta):not(.stop-sub) { opacity: .9; font-size: .98em; }
.stop-card figure { margin: .5rem 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.stop-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stop-card:hover figure img { transform: scale(1.05); }
.stop.is-current .stop-card { border-color: rgba(255,182,39,.45); }
@media (max-width: 860px) {
  .route-legend { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 70px); right: 50%; transform: translateX(50%); display: none; }
  .route-intro { align-content: end; padding-bottom: 12svh; }
  .route-intro > * { max-width: none; }
  .route-intro .big { text-shadow: 0 2px 30px rgba(0,0,0,.5); }
  .stop { align-items: flex-end; padding-bottom: 12svh; min-height: 110svh; }
  .stop-card { width: 100%; max-width: 520px; margin-inline: auto; padding: 1rem; gap: .45rem; }
  .stop-card figure { aspect-ratio: 16 / 8; }
  .stop-card h3 { font-size: 2.3rem; }
}

/* ---------- THE YEAR ---------- */
.year { background: var(--adobe); color: var(--ink); padding-block: clamp(90px, 12vw, 160px); }
.year .sec-sub { opacity: .8; }
.year .tag.maybe { color: var(--sky-deep); border-color: var(--sky-deep); }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.chip {
  cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: .6em 1em; border-radius: 99px;
  transition: background .2s, color .2s;
}
.chip.is-on { background: var(--ink); color: var(--adobe); }
.months { list-style: none; margin: 0; padding: 0; position: relative; }
.months::before { /* the road */
  content: ""; position: absolute; left: calc(7.2rem + 10px); top: 10px; bottom: 10px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 14px, transparent 14px 26px); opacity: .35;
}
.month { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: 0 2.6rem; padding-block: 1.4rem; position: relative; }
.month::before { content: ""; position: absolute; left: calc(7.2rem + 3px); top: 2.05rem; width: 17px; height: 17px; border-radius: 50%; background: var(--adobe); border: 3px solid var(--ink); }
.m-head { display: grid; align-content: start; justify-items: end; text-align: right; }
.m-name { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; text-transform: uppercase; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .85; }
.m-yr { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; opacity: .6; }
.m-where { font-family: var(--f-hand); font-size: 1.15rem; line-height: 1.1; color: var(--pink-deep); margin-top: .4rem; max-width: 7.2rem; }
.m-body { display: grid; gap: .7rem; padding-top: .45rem; }
.ev { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: .95rem 1.1rem; border-radius: 14px; max-width: 720px; transition: opacity .3s, transform .3s var(--ease); }
.ev b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.08em; }
.ev-date { font-family: var(--f-mono); font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.ev.booked { background: var(--pink); color: var(--ink); box-shadow: 0 8px 18px rgba(216,40,106,.18); }
.ev.booked .ev-date::after { content: " ✓"; }
.ev.maybe { border: 2px dashed rgba(47,127,176,.65); color: var(--ink); background: rgba(134,205,242,.14); }
.ev.maybe b { color: var(--sky-deep); }
.month-finale .m-name { color: var(--pink-deep); }
.months[data-filter="booked"] .ev.maybe, .months[data-filter="maybe"] .ev.booked { opacity: .14; transform: scale(.98); }
.m-head .m-where { display: block; }
@media (max-width: 640px) {
  .months::before { left: 9px; }
  .month { grid-template-columns: 1fr; padding-left: 2.2rem; gap: .5rem; }
  .month::before { left: 2px; top: 1.9rem; }
  .m-head { justify-items: start; text-align: left; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 0 .7rem; }
  .m-where { margin-top: 0; max-width: none; }
  .ev { grid-template-columns: minmax(1rem, auto) minmax(0, 1fr); padding: .85rem .9rem; gap: .8rem; }
}

/* ---------- DREAMS ---------- */
.dreams { background: var(--night); position: relative; }
.dreams-pin { padding-block: clamp(90px, 11vw, 140px) clamp(60px, 8vw, 100px); }
.dreams-head { display: grid; gap: 1rem; margin-bottom: 2.4rem; }
.dreams-head .big { color: var(--gold); }
.dreams-track {
  display: flex; gap: clamp(14px, 1.6vw, 22px); padding-inline: var(--gutter); padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.dreams-track::-webkit-scrollbar { display: none; }
.dream {
  flex: none; width: min(78vw, 360px); aspect-ratio: 3 / 4.2; max-width: 100%; border-radius: 22px; overflow: hidden; position: relative;
  scroll-snap-align: start; display: grid; align-content: end; isolation: isolate; color: var(--bone);
}
.dream img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dream:hover img { transform: scale(1.06); }
.dream::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,24,21,.95) 0%, rgba(10,24,21,.55) 38%, rgba(10,24,21,0) 62%); }
.dream-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: start; gap: .5rem; }
.dream-top .tag.maybe { background: rgba(10,24,21,.72); backdrop-filter: blur(6px); }
.dream-when { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(10,24,21,.7); padding: .4em .7em; border-radius: 99px; backdrop-filter: blur(6px); }
.dream-body { padding: 1.1rem 1.1rem 1.15rem; display: grid; gap: .45rem; }
.dream-country { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.dream h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; text-transform: uppercase; font-size: 2.3rem; line-height: .88; }
.dream p { font-size: .92rem; opacity: .9; }
.keen { display: flex; align-items: center; gap: .6rem; margin-top: .35rem; }
.keen-label { font-family: var(--f-hand); font-size: 1.1rem; color: var(--gold); min-width: 6.5em; }
.keen-dots { display: flex; gap: .3rem; }
.keen-dots button {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid var(--bone); background: transparent; transition: background .2s, transform .2s var(--ease);
}
.keen-dots button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.keen-dots button:hover { transform: scale(1.15); }
.dreams-hint { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 1.2rem; padding-inline: var(--gutter); }

/* pinned sideways scroll on bigger screens (JS adds .is-pinned) */
.dreams.is-pinned .dreams-pin { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; padding-block: 90px 40px; overflow: hidden; }
.dreams.is-pinned .dreams-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.dreams.is-pinned .dream { width: clamp(280px, 24vw, 360px); max-height: 62svh; aspect-ratio: auto; height: 62svh; }
.dreams.is-pinned .dreams-head { margin-bottom: 1.6rem; }
.dreams.is-pinned .dreams-head .big { font-size: clamp(2.6rem, 5vw, 4.6rem); }

/* ---------- IDEAS DECK ---------- */
.ideas { background: var(--gold); color: var(--ink); padding-block: clamp(90px, 11vw, 150px); position: relative; }
.ideas::before {
  content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px;
  background: radial-gradient(circle at 12px 0, transparent 11px, var(--gold) 11.5px) 0 0 / 24px 12px repeat-x;
}
.ideas .sec-sub { opacity: .85; }
.ideas-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.6rem clamp(2rem, 6vw, 5rem);
  grid-template-areas: "copy deck" "actions deck" "kept kept"; align-items: end;
}
.ideas-copy { grid-area: copy; } .deck { grid-area: deck; align-self: center; } .deck-actions { grid-area: actions; align-self: start; } .kept { grid-area: kept; margin-top: 2rem; }
.card-face { cursor: pointer; }
.ideas-copy { display: grid; gap: 1.1rem; }
.deck-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.deck { position: relative; aspect-ratio: 5 / 3.9; max-width: 560px; width: 100%; justify-self: center; }
.card { position: absolute; inset: 0; border-radius: 22px; }
.card-back { background: var(--ink); border: 10px solid var(--bone); background-image: repeating-linear-gradient(45deg, rgba(255,182,39,.18) 0 8px, transparent 8px 16px); }
.card-back.c3 { transform: rotate(-7deg) translate(-12px, 12px); }
.card-back.c2 { transform: rotate(4deg) translate(10px, 4px); }
.card-face {
  background: var(--bone); padding: clamp(1.3rem, 3.4vw, 2.2rem); display: grid; grid-template-rows: auto 1fr auto; gap: .8rem;
  box-shadow: 0 24px 50px rgba(90, 50, 0, .28); transform: rotate(-1.5deg);
}
.card-face.is-dealing { animation: deal .6s var(--ease); }
@keyframes deal { 0% { transform: translate(40%, -30%) rotate(18deg); opacity: 0; } 100% { transform: rotate(-1.5deg); opacity: 1; } }
.card-cat { justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--gold); padding: .45em .9em; border-radius: 99px; }
.card-text { font-family: var(--f-serif); font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.08; align-self: center; text-wrap: balance; }
.card-num { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: var(--ink-soft); display: flex; justify-content: space-between; }
.kept { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.kept h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.kept h3 span { font-family: var(--f-mono); font-size: .8rem; background: var(--ink); color: var(--gold); border-radius: 99px; padding: .15em .7em; }
.kept ul { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .6rem; }
.kept li { display: flex; align-items: start; justify-content: space-between; gap: .8rem; background: rgba(26,19,16,.08); border-radius: 12px; padding: .75rem .9rem; font-size: .95rem; }
.kept li button { flex: none; cursor: pointer; border: 0; background: transparent; font-size: 1.1rem; line-height: 1; padding: .1rem .3rem; border-radius: 6px; }
.kept li button:hover { background: var(--ink); color: var(--gold); }
@media (max-width: 860px) { .ideas-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "deck" "actions" "kept"; } .deck { aspect-ratio: 5 / 4; max-width: 460px; } .deck-actions { justify-content: center; } }

/* ---------- NOTES / LUGGAGE TAGS ---------- */
.notes { padding-block: clamp(90px, 11vw, 150px); background: var(--night-2); }
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.luggage {
  position: relative; background: var(--bone); color: var(--ink); padding: 2.6rem 1.4rem 1.4rem; display: grid; gap: .5rem; align-content: start;
  clip-path: polygon(14% 0, 86% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
  transition: transform .4s var(--ease);
}
.luggage:nth-child(odd) { transform: rotate(-1deg); } .luggage:nth-child(even) { transform: rotate(1deg); }
.luggage:hover { transform: rotate(0) translateY(-4px); }
.luggage:nth-child(3n+1) { background: var(--sky); } .luggage:nth-child(3n+2) { background: var(--bone); } .luggage:nth-child(3n) { background: var(--gold); }
.hole { position: absolute; top: 12px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--night-2); box-shadow: inset 0 0 0 3px rgba(26,19,16,.25); }
.luggage h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.45rem; line-height: .95; }
.luggage p { font-size: .95rem; }

/* ---------- FINALE ---------- */
.finale { position: relative; min-height: max(560px, 100svh); display: grid; place-items: end center; isolation: isolate; overflow: hidden; text-align: center; }
.finale img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; z-index: -2; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,38,34,.9) 0%, rgba(14,38,34,.2) 45%, rgba(14,38,34,.05) 70%, var(--night-2) 100%); }
.finale-inner { display: grid; justify-items: center; gap: 1.2rem; padding: 0 var(--gutter) clamp(60px, 12vh, 120px); }
.finale .eyebrow::before { display: none; }
.finale h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; text-transform: uppercase; font-size: clamp(3rem, 10vw, 8.5rem); line-height: .85; letter-spacing: -.03em; max-width: 12ch; }
.finale h2 em { color: var(--gold); }
.finale .scribble { transform: rotate(-2deg); color: var(--bone); }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); padding-block: 2.2rem calc(env(safe-area-inset-bottom, 0px) + 5.5rem); font-size: .88rem; }
.foot .wrap > p { opacity: .75; }
.foot details { margin-top: 1rem; }
.foot summary { cursor: pointer; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.foot details > p { margin-block: .8rem; opacity: .75; }
.credits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: .5rem 1.5rem; font-size: .8rem; opacity: .85; }
.credits a { color: var(--sky); }

/* ---------- scroll-driven reveals (progressive enhancement; content is visible without) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec-head, .pass, .luggage, .month, .key-item, .layover {
      animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    .eq-fill { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .eq-plane { animation: fly linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }
}
@keyframes lift { from { opacity: .001; translate: 0 50px; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes fly { from { left: 0%; } }

/* ---------- who pinned it ---------- */
.pinby { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pinby::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 2px rgba(134,205,242,.25); }
.pinby.pin-jasmin::before { background: var(--gold); box-shadow: 0 0 0 2px rgba(255,182,39,.25); }
.pinby.pin-both::before { background: linear-gradient(90deg, var(--sky) 50%, var(--gold) 50%); }
.stop-meta { flex-wrap: wrap; justify-content: flex-start; gap: .5rem .8rem; }
.stop-meta > span:last-child { margin-left: auto; }
.dream-top { flex-wrap: wrap; }
.dream-top .pinby { background: rgba(10,24,21,.72); backdrop-filter: blur(6px); padding: .45em .7em; border-radius: 99px; color: var(--bone); }
.dream-top .dream-when { margin-left: auto; }

/* ---------- OUR PINS ---------- */
.pins { background: var(--night-2); padding-block: clamp(90px, 11vw, 150px); }
.pins-count { color: var(--gold); }
.pins-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pins-mapwrap { position: sticky; top: 80px; }
.pins-map { width: 100%; height: auto; max-height: 82svh; display: block; border-radius: 22px; background: #0b221e; }
.pm-sea { fill: #0b221e; }
.pm-grat { fill: none; stroke: rgba(245,235,221,.06); stroke-width: 1; }
.pm-land { fill: #e9d9c2; }
.pm-border { fill: none; stroke: rgba(14,38,34,.3); stroke-width: .7; }
.pm-route { fill: none; stroke: var(--pink); stroke-width: 2; stroke-dasharray: 5 5; stroke-linecap: round; opacity: .75; }
.pm-dot { stroke: #0e2622; stroke-width: 1.6; cursor: pointer; transition: r .2s var(--ease), opacity .25s; }
.pm-dot.pm-sam { fill: var(--sky-deep); }
.pm-dot.pm-jasmin { fill: #e39a00; }
.pm-dot:hover, .pm-dot:focus-visible { r: 8; outline: none; }
.pm-dot.is-sel { r: 10; stroke: var(--bone); stroke-width: 3; }
.pm-dot.is-off { opacity: .1; pointer-events: none; }
.pins-whokey { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .9rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.who { display: inline-flex; align-items: center; gap: .45em; }
.who::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--sky-deep); border: 2px solid var(--bone); }
.who-jasmin::before { background: #e39a00; }
.who b { color: var(--gold); font-weight: 500; }
.who-route { display: inline-flex; align-items: center; gap: .5em; opacity: .85; }
.who-route::before { content: ""; width: 22px; border-top: 2px dashed var(--pink); }
.pins-side { display: grid; gap: 1.2rem; }
.pins .chip { border-color: rgba(245,235,221,.5); color: var(--bone); }
.pins .chip b { font-weight: 500; opacity: .6; margin-left: .3em; }
.pins .chip.is-on { background: var(--bone); color: var(--ink); }
.pin-card { background: var(--bone); color: var(--ink); border-radius: 18px; padding: 1.2rem 1.3rem; display: grid; gap: .45rem; min-height: 9.5rem; }
.pin-card h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96, "wdth" 75; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: .9; }
.pin-card-k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.pin-card .pinby { color: var(--ink); }
.pin-card .scribble { color: var(--pink-deep); font-size: 1.4rem; }
.pin-card-coord { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); }
.pin-card-coord a { color: var(--sky-deep); }
.pin-list { list-style: none; margin: 0; padding: 0 .3rem 0 0; max-height: 46svh; overflow-y: auto; display: grid; gap: 2px; scrollbar-width: thin; }
.pin-list button { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; text-align: left; cursor: pointer; background: transparent; border: 0; border-radius: 10px; padding: .55rem .7rem; font-size: .92rem; }
.pin-list button:hover, .pin-list li.is-sel button { background: rgba(245,235,221,.1); }
.pl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky-deep); }
.pl-dot.pm-jasmin { background: #e39a00; }
.pl-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
@media (max-width: 860px) {
  .pins-layout { grid-template-columns: 1fr; }
  .pins-mapwrap { position: static; }
  .pins-map { max-height: none; }
  .pin-list { max-height: 360px; }
}

/* ---------- THE SEQUEL ---------- */
.sequel { background: linear-gradient(180deg, var(--night-2), #0c1f2a); padding-block: clamp(80px, 10vw, 140px); }
.sequel .big em { color: var(--sky); }
.sequel-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.seq { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; isolation: isolate; display: grid; align-content: end; }
.seq:nth-child(odd) { transform: rotate(-1.2deg); } .seq:nth-child(even) { transform: rotate(1deg) translateY(18px); }
.seq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.9); transition: transform 1.2s var(--ease); }
.seq:hover img { transform: scale(1.06); }
.seq::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,24,30,.9), rgba(10,24,30,0) 50%); }
.seq figcaption { padding: 1rem; display: grid; gap: .2rem; }
.seq b { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.5rem; line-height: .95; }
.seq span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 760px) {
  .sequel-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq b { font-size: 1.2rem; }
}

/* a longer route: tighten the scroll per stop a little */
.stop { min-height: 88svh; }
@media (max-width: 860px) { .stop { min-height: 96svh; } }
@media (max-width: 600px) { .pm-dot { r: 8; stroke-width: 2; } .pm-dot.is-sel { r: 13; } }
