/* GET LOST — one-pager. Grunge styling, Catch-Me-If-You-Can-style motion. */

@font-face {
  font-family: "DIN GL";
  src: url("assets/DIN-Bold.otf?v=3") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161412;
  --ink-2: #24201c;
  --paper: #ebe3cd;
  --paper-ink: #2a2520;
  --flame: #d9532f;
  --flame-dk: #b33f20;
  --blue: #1679c4;
  --yellow: #f0cd1c;
  --teal: #179393;
  --bar-h: 64px;
  --din: "DIN GL", "DIN Condensed", "Arial Narrow", Impact, sans-serif;
  --type: "Courier Prime", "Courier New", ui-monospace, monospace;
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24 L0 8 L5 14 L9 4 L18 4 L24 2 L33 8 L37 4 L44 14 L48 8 L52 9 L59 2 L68 4 L73 2 L82 14 L86 8 L90 9 L95 10 L102 6 L111 4 L120 10 L129 6 L133 8 L139 4 L148 4 L157 2 L166 8 L173 9 L180 12 L187 5 L193 10 L198 6 L203 4 L212 10 L221 5 L227 5 L233 4 L237 9 L240 8 L240 24Z'/%3E%3C/svg%3E");
  --ease-slam: cubic-bezier(.2, 1.6, .4, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 700px) { :root { --bar-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header must never cover anchor targets */
  scroll-padding-top: calc(var(--bar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink) url("assets/texture-dark.webp?v=3") center / 1200px auto;
  color: var(--paper);
  font: 17px/1.55 var(--type);
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
main, .foot { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 10px 14px;
  font: 700 15px var(--din); text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- textures ---------- */
.paper {
  background: var(--paper) url("assets/paper.webp?v=3") center / 1100px auto;
  color: var(--paper-ink);
}
.grunge { background: var(--ink) url("assets/texture-dark.webp?v=3") center / 1200px auto; }

/* torn top edge: a strip of the same texture, masked with a jagged path */
.tear { position: relative; }
.tear::before {
  content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px;
  background: inherit; background-position: center top;
  -webkit-mask: var(--tear) 0 0 / 240px 100% repeat-x;
          mask: var(--tear) 0 0 / 240px 100% repeat-x;
  pointer-events: none; z-index: 2;
}

/* film grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite;
  mix-blend-mode: overlay;
  transition: opacity .6s;
}
/* intro footage carries its own VHS treatment — keep the CSS grain a whisper while the hero fills the screen */
.over-video .grain { opacity: .035; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- header ---------- */
.bar {
  position: fixed; inset: 0 0 auto; height: var(--bar-h); z-index: 50;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
  transition: background-color .3s;
}
.bar::after { /* torn bottom edge, appears once scrolled */
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 15px;
  background: var(--ink) url("assets/texture-dark.webp?v=3") center bottom / 1200px auto;
  -webkit-mask: var(--tear) 0 0 / 200px 100% repeat-x; mask: var(--tear) 0 0 / 200px 100% repeat-x;
  transform: scaleY(-1); opacity: 0; transition: opacity .3s;
}
.bar.is-solid { background: var(--ink) url("assets/texture-dark.webp?v=3") center bottom / 1200px auto; }
.bar.is-solid::after { opacity: 1; }
.bar-nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.bar-nav a {
  font: 700 clamp(14px, 1.6vw, 17px)/1 var(--din); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); padding: 10px 2px; position: relative;
}
.bar-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 3px; background: var(--flame);
  transition: right .25s var(--ease-out);
}
.bar-nav a:hover::after, .bar-nav a:focus-visible::after { right: 0; }

/* ---------- brand / stacked logo ---------- */
.brand {
  position: fixed; left: 0; top: 0; margin: 0; z-index: 60;
  width: min(78vw, 58svh, 600px);
  transform-origin: 0 0;
  /* no-JS / pre-JS fallback position: centred in the hero */
  transform: translate(calc(50vw - 50%), calc(var(--bar-h) + 4svh));
  will-change: transform;
}
.brand-link { display: block; }
.logo { position: relative; display: block; aspect-ratio: 900 / 953; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-plane { filter: drop-shadow(0 6px 0 rgba(0,0,0,.35)); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #111 url("assets/hero-poster.webp?v=3") center / cover; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(22,20,18,0) 30%, rgba(22,20,18,.75) 100%),
    linear-gradient(to bottom, rgba(22,20,18,.55), rgba(22,20,18,0) 25%, rgba(22,20,18,0) 65%, rgba(22,20,18,.9));
}

/* CMIYC-style sliding colour blocks on load */
.cmiyc { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cmiyc i { position: absolute; left: 0; width: 100%; transform: translateX(-101%); }
.cmiyc i:nth-child(1) { top: 0; height: 34%; background: var(--flame); }
.cmiyc i:nth-child(2) { top: 34%; height: 20%; background: var(--blue); }
.cmiyc i:nth-child(3) { top: 54%; height: 28%; background: var(--yellow); }
.cmiyc i:nth-child(4) { top: 82%; height: 18%; background: var(--paper); }

.hero-foot { position: relative; z-index: 2; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.hero-line {
  margin: 0 0 12px; text-align: center;
  font: 700 clamp(14px, 1.8vw, 18px)/1 var(--din); letter-spacing: .3em; text-transform: uppercase; color: var(--paper);
}
.hero-line span { color: var(--flame); }

/* tagline: stamped DIN under the logo lockup (hero) and under the GET LOST title (about) */
.tagline { margin: 0; text-align: center; }
.tagline span {
  display: inline-block; padding: .38em .6em .26em; border: 3px solid currentColor; rotate: -2deg;
  font: 700 clamp(17px, 2.4vw, 26px)/1 var(--din); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); text-shadow: 1px 1px 0 rgba(0,0,0,.18); /* inked, slightly uneven */
}
.tagline--hero { margin: 0 0 14px; color: var(--yellow); }
.tagline--hero span { background: rgba(22,20,18,.55); }
.tagline--about { text-align: left; margin: -8px 0 26px; color: var(--flame-dk); }
.tagline--about span { font-size: clamp(14px, 1.45vw, 20px); letter-spacing: .1em; }

/* pull-quote: pasted press-clipping, no source line */
.clipping {
  position: relative; margin: 0; width: fit-content; max-width: min(100%, 400px); padding: 18px 20px 16px;
  background: #f6f0de url("assets/paper.webp?v=3") center / cover; border: 1px solid rgba(42,37,32,.35);
  box-shadow: 4px 5px 0 rgba(42,37,32,.55); rotate: -2.5deg;
  clip-path: polygon(0 3%, 6% 0, 31% 2%, 58% 0, 83% 3%, 100% 1%, 98% 38%, 100% 71%, 97% 100%, 64% 97%, 37% 100%, 9% 97%, 0 100%, 2% 62%, 1% 29%);
}
.clipping p { margin: 0; font: 700 clamp(20px, 2.2vw, 28px)/1.08 var(--din); text-transform: uppercase; color: var(--ink); }
.clipping::after { /* ink stamp mark */
  content: ""; position: absolute; right: 10px; bottom: 8px; width: 54px; height: 54px; border-radius: 50%;
  border: 3px double var(--flame-dk); opacity: .45; rotate: 14deg;
}

.ticker {
  display: flex; overflow: hidden; background: var(--flame); color: var(--ink);
  transform: rotate(-1.5deg); margin: 0 -10px; border-block: 3px solid var(--ink);
}
.ticker-track {
  display: flex; flex: none; margin: 0; padding: 0; list-style: none;
  animation: ticker 38s linear infinite;
}
.ticker-track li {
  font: 700 clamp(20px, 3vw, 30px)/1 var(--din); text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 0 8px; white-space: nowrap;
}
.ticker-track li::after { content: "✈"; display: inline-block; margin: 0 .7em; font-size: .7em; transform: translateY(-.1em); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- section titles (CMIYC wipe) ---------- */
.title {
  position: relative; margin: 0 0 28px; display: inline-block;
  font: 700 clamp(46px, 8.5vw, 112px)/.86 var(--din); text-transform: uppercase; letter-spacing: -.01em;
}
.title-word { display: inline-block; }
.title-bar {
  position: absolute; left: -12px; right: -12px; top: 8%; bottom: 0; z-index: -1;
  background: var(--flame); transform-origin: left; transform: skewX(-8deg);
}
.paper .title { color: var(--ink); }
.paper .title-bar { background: var(--yellow); }
.grunge .title { color: var(--paper); }
.grunge .title-bar { background: var(--blue); }

/* ---------- stamps (dressing) ---------- */
.dress { position: absolute; pointer-events: none; mix-blend-mode: multiply; opacity: .85; }
.grunge .dress { mix-blend-mode: screen; opacity: .55; }

/* ---------- about ---------- */
.about { padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 12vw, 150px); overflow-x: clip; }
.about-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 70px); align-items: start; }
.dossier {
  position: relative; background: rgba(255, 252, 240, .55); border: 2px solid var(--paper-ink);
  padding: clamp(22px, 3.5vw, 40px); box-shadow: 8px 8px 0 var(--paper-ink); transform: rotate(.6deg);
}
.dossier::before { /* tape */
  content: ""; position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; translate: -50% 0; rotate: -3deg;
  background: rgba(240, 205, 28, .55); border-inline: 2px dashed rgba(0,0,0,.08);
}
.draft-flag {
  margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--din); letter-spacing: .14em; text-transform: uppercase; color: var(--flame-dk);
}
.draft-flag span {
  border: 3px solid var(--flame-dk); padding: 5px 9px 3px; font-size: 18px; transform: rotate(-6deg);
  display: inline-block; letter-spacing: .2em;
}
.about-lede { margin: 0 0 16px; font: 700 clamp(24px, 3.2vw, 38px)/1.08 var(--din); text-transform: uppercase; color: var(--ink); }
.about-copy { margin: 0 0 26px; max-width: 46ch; }
.about-copy + .about-copy { margin-top: -12px; }
.about-cta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.about-more { font: 700 14px/1 var(--din); letter-spacing: .14em; text-transform: uppercase; color: var(--flame-dk); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.about-more:hover { color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; background: var(--ink); color: var(--paper);
  font: 700 17px/1 var(--din); letter-spacing: .12em; text-transform: uppercase; padding: 14px 20px 12px;
  box-shadow: 5px 5px 0 var(--flame); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--flame); }
.dress--a { width: clamp(150px, 22vw, 290px); left: -2%; bottom: -30px; rotate: 9deg; }
.dress--b { width: clamp(140px, 18vw, 250px); right: 3%; top: 26px; rotate: -12deg; opacity: .55; }

/* ---------- flight strip (scroll-linked plane) ---------- */
.flight { position: relative; height: clamp(90px, 12vw, 150px); overflow: hidden; --fp: 0; }
.flight-trail {
  position: absolute; left: 0; top: 50%; height: 0; width: calc(var(--fp) * 100%);
  border-top: 3px dashed var(--flame);
}
.flight-plane {
  position: absolute; top: 50%; left: calc(var(--fp) * 100%);
  width: clamp(80px, 10vw, 130px); translate: -60% -50%; rotate: -75deg;
}

/* ---------- episodes ---------- */
.episodes { padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 10vw, 140px); }
.ep-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 30px; margin-bottom: 30px; }
.ep-head .title { margin-bottom: 0; }
.ep-note { margin: 0 0 6px; font-size: 14px; color: #bfb5a0; max-width: 34ch; }
.ep-note span { display: block; opacity: .75; }
.dress--c { width: clamp(150px, 16vw, 220px); right: 30%; top: -60px; rotate: 8deg; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 38px);
}
/* column counts chosen so Berlin (2 cells) + 10 cards always fill whole rows */
@media (max-width: 1120px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; rotate: var(--tilt); transition: rotate .25s var(--ease-out), translate .25s var(--ease-out); }
.card:hover, .card:focus-within { rotate: 0deg; translate: 0 -4px; }
.card-link {
  position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--paper) url("assets/paper.webp?v=3") center / 700px auto; color: var(--ink);
  padding: 10px 10px 16px; box-shadow: 0 2px 0 rgba(0,0,0,.4), 0 14px 26px rgba(0,0,0,.45);
}
.card-link::before { /* tape strip */
  content: ""; position: absolute; z-index: 3; top: -12px; left: 18px; width: 86px; height: 24px; rotate: -5deg;
  background: rgba(235, 227, 205, .7); box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.35) brightness(.95); transition: filter .35s, transform .5s var(--ease-out);
}
.card-thumb::after { /* duotone wash until hover */
  content: ""; position: absolute; inset: 0; background: var(--flame); mix-blend-mode: multiply; opacity: .55; transition: opacity .35s;
}
.card:nth-child(3n+2) .card-thumb::after { background: var(--blue); }
.card:nth-child(3n) .card-thumb::after { background: var(--teal); }
.card-link:hover .card-thumb img, .card-link:focus-within .card-thumb img { filter: none; transform: scale(1.04); }
.card-link:hover .card-thumb::after, .card-link:focus-within .card-thumb::after { opacity: 0; }

/* click-to-play facade: local thumb + stamped play button; site.js swaps in the youtube-nocookie iframe */
.player { cursor: pointer; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; rotate: -4deg;
  display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer;
  padding: 11px 16px 9px 13px; border: 3px solid var(--ink); border-radius: 0;
  background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink);
  font: 700 18px/1 var(--din); letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .15s, box-shadow .15s, translate .15s, rotate .25s var(--ease-slam);
}
.play-ico { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; translate: 0 -1px; }
.player:hover .play, .play:focus-visible { background: var(--flame); rotate: 0deg; box-shadow: 7px 7px 0 var(--ink); translate: calc(-50% - 2px) calc(-50% - 2px); }
.play:focus-visible { outline: 3px dashed var(--paper); outline-offset: 4px; }
.player.is-playing { cursor: auto; background: #000; }
.player.is-playing::after { display: none; }
.player iframe { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; border: 0; }

/* subtle "watch on YouTube" fallback */
.card-yt {
  font: 700 12px/1 var(--din); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: rgba(42,37,32,.7); text-decoration: none; padding: 6px 0 4px;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.card-yt:hover, .card-yt:focus-visible { color: var(--flame-dk); border-bottom-color: currentColor; }
.card-stamp {
  position: absolute; z-index: 2; width: 32%; max-width: 120px; right: -16px; top: -22px;
  rotate: 14deg; pointer-events: none; filter: drop-shadow(0 0 1px rgba(0,0,0,.25));
}
.card:nth-child(even) .card-stamp { rotate: -11deg; top: -16px; }
.card-tag {
  position: absolute; z-index: 3; top: 18px; left: 18px; background: var(--yellow); color: var(--ink);
  font: 700 13px/1 var(--din); letter-spacing: .16em; text-transform: uppercase; padding: 6px 9px 4px; rotate: -3deg;
}
.card-body { display: flex; flex-direction: column; padding: 14px 6px 0; flex: 1; }
.card-kicker { font: 700 12px/1 var(--din); letter-spacing: .2em; text-transform: uppercase; color: var(--flame-dk); }
.card-city { font: 700 clamp(30px, 3.2vw, 40px)/.95 var(--din); text-transform: uppercase; margin: 6px 0 14px; letter-spacing: -.005em; }
.card-meta {
  margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px;
  border-top: 2px dashed rgba(42,37,32,.45); padding-top: 10px; font-size: 14px;
}
.card-views { font-weight: 700; white-space: nowrap; }

.card--first { grid-column: span 2; }
/* feature card: thumbnail fills the card, body sits on it as a paper label */
.card--first .card-link { min-height: 330px; }
.card--first .card-thumb { position: absolute; inset: 10px; aspect-ratio: auto; }
.card--first .card-body {
  position: relative; z-index: 1; flex: none; margin-top: auto; align-self: flex-start; width: min(100%, 420px);
  background: var(--paper) url("assets/paper.webp?v=3") center / 700px auto; padding: 14px 16px 12px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.35); rotate: -1.2deg; translate: -4px 8px;
}
.card--first .card-city { font-size: clamp(44px, 5.4vw, 76px); margin-bottom: 10px; }
.card--first .card-stamp { width: 20%; max-width: 150px; }
.card--first .play { font-size: 24px; padding: 14px 22px 12px 18px; top: 34%; left: 62%; }
.card--first.is-playing .play { display: none; }
.card--first .play-ico { border-width: 12px 0 12px 20px; }
/* once Berlin is playing, the video drops into normal flow so the paper label never sits over it */
.card--first.is-playing .card-link { min-height: 0; }
.card--first.is-playing .card-thumb { position: relative; inset: auto; aspect-ratio: 16 / 9; }
.card--first.is-playing .card-body { rotate: 0deg; translate: 0 0; margin-top: 12px; box-shadow: none; padding: 4px 6px 0; width: 100%; }
.card--first.is-playing .card-tag { display: none; }
.card.is-playing { rotate: 0deg; }

/* coming soon */
.soon { margin-top: clamp(60px, 8vw, 100px); }
.soon-title { margin: 0 0 26px; font: 700 clamp(28px, 4vw, 44px)/1 var(--din); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 16px; }
.soon-title::after { content: ""; flex: 1; border-top: 3px dashed rgba(235,227,205,.4); }
.soon-title span { color: var(--yellow); }
.soon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); }
.soon-card .card-city { font-size: clamp(28px, 2.7vw, 38px); }
.soon-card {
  position: relative; rotate: var(--tilt); padding: 22px 20px 20px; min-height: 160px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 3px dashed rgba(235,227,205,.55); background: rgba(22,20,18,.45); color: var(--paper);
}
.soon-card .card-kicker { color: var(--yellow); }
.soon-card .card-city { margin-bottom: 0; color: var(--paper); }
.soon-stamp {
  position: absolute; top: 18px; right: 14px; rotate: 8deg;
  border: 3px solid var(--flame); color: var(--flame); padding: 6px 10px 4px; border-radius: 4px;
  font: 700 15px/1 var(--din); letter-spacing: .16em; text-transform: uppercase; opacity: .9;
  box-shadow: inset 0 0 0 2px rgba(217,83,47,.25);
}

/* ---------- globe map ---------- */
.map { --steps: 15; }
.js .map.is-scrolly { height: calc(100svh + var(--steps) * 32svh); }
.map-stage {
  position: sticky; top: var(--bar-h); min-height: calc(100svh - var(--bar-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 4vh, 48px) 0; overflow: hidden;
}
.map-head { width: min(1180px, 100% - 40px); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.map-head .title { margin-bottom: 8px; font-size: clamp(40px, 7vw, 96px); }
.board {
  margin: 0 0 10px; display: flex; align-items: stretch; gap: 0; background: var(--ink); color: var(--paper);
  font: 700 clamp(16px, 2vw, 22px)/1 var(--din); text-transform: uppercase; box-shadow: 5px 5px 0 var(--flame);
}
.board > span { padding: 10px 12px 8px; display: flex; align-items: center; }
.board-k { background: var(--flame); color: var(--ink); letter-spacing: .14em; font-size: .7em; }
.board-city { min-width: 9.5ch; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.board-count { border-left: 2px solid #3a342e; color: var(--yellow); gap: .4em; white-space: nowrap; }
.board-count i { font-style: normal; font-size: .58em; letter-spacing: .14em; color: #bfb5a0; }
.board-count--soon { color: #7cc0f0; }
.board.is-soon .board-city { color: #7cc0f0; }

.map-body {
  width: min(1240px, 100% - 40px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: clamp(10px, 3vw, 40px); align-items: center;
}
.globe { position: relative; aspect-ratio: 1400 / 629; }
.globe-img { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.globe-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route { fill: none; stroke: var(--flame); stroke-width: 2.5; stroke-dasharray: 7 7; vector-effect: non-scaling-stroke; }
.route-mask { fill: none; stroke: #fff; stroke-width: 40; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-out); }
.route-mask.is-on { stroke-dashoffset: 0; }
/* coming-soon legs: ink dots (blue would vanish into the crayon grid) */
.route--soon { stroke: var(--ink); stroke-width: 3.5; stroke-dasharray: .1 8; stroke-linecap: round; opacity: .75; }
.dress--d { width: clamp(110px, 13vw, 190px); right: -2%; bottom: -14%; rotate: -9deg; opacity: .7; }

.pins { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.pin-head {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; translate: -50% -118%;
  display: grid; place-items: center;
}
.pin-head::before {
  content: ""; position: absolute; inset: 0; background: var(--flame); border: 2.5px solid var(--ink);
  border-radius: 50% 50% 50% 0; rotate: -45deg; box-shadow: 2px 3px 0 rgba(0,0,0,.35);
}
.pin-head b { position: relative; font: 700 14px/1 var(--din); color: var(--ink); translate: 0 1px; }
.pin-ring {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; translate: -50% -50%;
  border: 3px solid var(--flame); border-radius: 50%; opacity: 0; scale: .2;
}
.pin.is-latest .pin-head::before { background: var(--yellow); }

/* coming-soon pins: hollow, dashed, blue — deliberately unlike the solid numbered episode pins */
.pin--soon .pin-head::before { background: rgba(235,227,205,.85); border: 2.5px dashed var(--blue); box-shadow: none; }
.pin--soon .pin-head::after { content: none; }
.pin--soon .pin-head b { color: var(--blue); }
.pin--soon .pin-ring { border: 2px dashed var(--blue); }
.pin--soon.is-latest .pin-head::before { background: rgba(240,205,28,.55); }
.pin-label {
  position: absolute; left: 14px; top: -40px; padding: 3px 5px 2px; white-space: nowrap; pointer-events: none;
  font: 700 11px/1 var(--din); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); border: 2px solid var(--blue); background: var(--paper); rotate: 6deg;
  opacity: 0; scale: .6; transition: opacity .2s, scale .35s var(--ease-slam);
}
.pin--soon.is-latest .pin-label, .pin--soon:hover .pin-label { opacity: 1; scale: 1; }
.map:not(.is-scrolly) .pin-label { opacity: 1; scale: 1; }

/* pins start hidden only when JS can land them */
.js .map.is-scrolly .pin-head { opacity: 0; transform: translateY(-70px) scale(1.4); transition: opacity .2s, transform .55s var(--ease-slam); }
.js .map.is-scrolly .pin.is-landed .pin-head { opacity: 1; transform: none; }
.js .map.is-scrolly .pin.is-landed .pin-ring { animation: thud .7s ease-out .2s both; }
@keyframes thud { 0% { opacity: .9; scale: .2; } 100% { opacity: 0; scale: 1.6; } }

.ledger {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 4px;
  font: 700 17px/1 var(--din); text-transform: uppercase; letter-spacing: .06em;
}
.ledger li { display: flex; align-items: center; gap: 10px; padding: 5px 6px 4px; border-bottom: 1.5px dashed rgba(42,37,32,.35); color: rgba(42,37,32,.38); transition: color .3s, background-color .3s; }
.lg-n { font-size: .78em; color: inherit; min-width: 2ch; }
.ledger li.is-landed { color: var(--ink); }
.ledger li.is-landed .lg-n { color: var(--flame-dk); }
.ledger li.is-latest { background: var(--yellow); }
.map:not(.is-scrolly) .ledger li { color: var(--ink); }
.ledger .lg-head { border: 0; padding: 10px 6px 2px; font-size: .62em; letter-spacing: .2em; color: var(--blue); }
.ledger .lg-head span { border-bottom: 2px dashed currentColor; padding-bottom: 2px; }
.ledger li.lg-soon { border-bottom-style: dotted; }
.ledger li.lg-soon .lg-n { color: var(--blue); }
.ledger li.lg-soon.is-landed { color: var(--blue); }
.ledger li.lg-soon.is-landed .lg-n { color: var(--blue); }
.ledger li.lg-soon.is-latest { background: rgba(22,121,196,.14); }
.map:not(.is-scrolly) .ledger li.lg-soon { color: var(--blue); }

/* legend + schematic caption */
.map-legend {
  width: min(1240px, 100% - 40px); margin: 10px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px;
  font: 700 12px/1.2 var(--din); letter-spacing: .14em; text-transform: uppercase; color: rgba(42,37,32,.75);
}
.lgd { display: inline-flex; align-items: center; gap: 7px; }
.lgd i { width: 13px; height: 13px; border-radius: 50% 50% 50% 0; rotate: -45deg; }
.lgd--ep i { background: var(--flame); border: 2px solid var(--ink); }
.lgd--soon i { background: transparent; border: 2px dashed var(--blue); }
.lgd--soon { color: var(--blue); }
.map-note { font: italic 400 13px/1.3 var(--type); letter-spacing: 0; text-transform: none; color: rgba(42,37,32,.6); margin-left: auto; }

/* ---------- about the show (long-form, bottom of page) ---------- */
.show { padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 10vw, 130px); overflow-x: clip; }
.show .wrap { position: relative; z-index: 1; }
.show-dossier { color: var(--paper-ink); background: var(--paper) url("assets/paper.webp?v=3") center / 1100px auto; transform: rotate(-.35deg); box-shadow: 8px 8px 0 var(--flame); border-color: var(--ink); }
.show-dossier p { margin: 0 0 16px; }
.show-dossier a { color: var(--flame-dk); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.show-dossier a:hover { color: var(--ink); }
.show-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.show-h {
  margin: 22px 0 10px; font: 700 clamp(22px, 2.4vw, 30px)/1 var(--din); text-transform: uppercase; color: var(--ink);
  display: inline-block; background: linear-gradient(transparent 58%, rgba(240,205,28,.75) 58%); padding-right: 6px;
}
.show-col > .show-h:first-child { margin-top: 0; }
.show-h--crew { margin-top: 34px; display: block; background: none; border-bottom: 3px dashed rgba(42,37,32,.45); padding-bottom: 8px; }
.crew-note { font-size: 14px; color: rgba(42,37,32,.72); }
.crew { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.crew-row { padding: 14px 0 10px; border-bottom: 1.5px dashed rgba(42,37,32,.35); }
.crew-city { margin: 0 0 6px; font: 700 26px/1 var(--din); text-transform: uppercase; color: var(--ink); }
.show-dossier .crew-who { margin: 0 0 6px; font-size: 15px; line-height: 1.45; }
.crew-none { color: rgba(42,37,32,.55); font-style: italic; }
.show-dossier .crew-meta { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: rgba(42,37,32,.65); }
.show-dossier .crew-meta .card-yt { color: rgba(42,37,32,.7); text-decoration: none; }
.show-dossier .crew-meta .card-yt:hover, .show-dossier .crew-meta .card-yt:focus-visible { color: var(--flame-dk); }
.dress--e { width: clamp(140px, 16vw, 230px); right: 4%; top: 30px; rotate: 10deg; }

/* ---------- footer ---------- */
.foot { padding: 60px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.foot-logo { position: relative; display: block; width: 190px; aspect-ratio: 1400 / 629; }
.foot-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-type { scale: 1.05; }
.foot-line, .foot-top { margin: 0; font: 700 14px/1 var(--din); letter-spacing: .18em; text-transform: uppercase; color: #bfb5a0; }
.foot-top { text-decoration: none; color: var(--paper); }
.foot-top:hover { color: var(--flame); }

/* ---------- motion: reveal / CMIYC states (JS only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .cmiyc i { animation: block-slide 1.15s var(--ease-out) both; }
  .js .cmiyc i:nth-child(2) { animation-delay: .08s; animation-direction: normal; }
  .js .cmiyc i:nth-child(3) { animation-delay: .16s; }
  .js .cmiyc i:nth-child(4) { animation-delay: .24s; }
  .js .logo-flames { animation: flames-in .5s steps(4) .75s both, flicker 2.4s steps(3) 1.4s infinite; }
  .js .logo-plane { animation: plane-in 1.1s var(--ease-out) .55s both; }
  .js .hero-foot { animation: rise .7s var(--ease-out) 1.2s both; }

  .js .title-word { transform: translateX(-30px); opacity: 0; transition: transform .6s var(--ease-out), opacity .3s; }
  .js .title-word + .title-word { transform: translateX(30px); transition-delay: .1s; }
  .js .title-word + .title-word + .title-word { transition-delay: .2s; }
  .js .title-bar { transform: skewX(-8deg) scaleX(0); transition: transform .55s var(--ease-out); }
  .js .is-in .title-word { transform: none; opacity: 1; }
  .js .is-in .title-bar { transform: skewX(-8deg) scaleX(1); }

  .js .stamp-slam { opacity: 0; transform: scale(1.8); transition: opacity .12s, transform .35s var(--ease-slam); }
  .js .stamp-slam.is-in { opacity: var(--stamp-o, .85); transform: none; }
  .js .grunge .stamp-slam.is-in { --stamp-o: .55; }
  .js .card .stamp-slam.is-in, .js .dress--b.is-in { --stamp-o: .9; }

  .js .card, .js .soon-card { opacity: 0; translate: 0 40px; transition: opacity .5s, translate .6s var(--ease-out), rotate .25s var(--ease-out); }
  .js .card.is-in, .js .soon-card.is-in { opacity: 1; translate: 0 0; }
  .js .card.is-in:hover, .js .card.is-in:focus-within { translate: 0 -4px; }
}
@keyframes block-slide {
  0% { transform: translateX(-101%); } 45% { transform: translateX(0); } 100% { transform: translateX(101%); }
}
@keyframes plane-in {
  0% { transform: translate(-70vw, 60vh) rotate(-25deg) scale(.6); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes flames-in { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes flicker { 0%, 100% { transform: none; } 33% { transform: translate(1px, -1px) scaleY(1.01); } 66% { transform: translate(-1px, 0) scaleY(.995); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .ticker-track { animation: none; }
  .cmiyc { display: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 960px) {
  .about-wrap { grid-template-columns: 1fr; }
  .map-body { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; font-size: 15px; }
  .ledger .lg-head { grid-column: 1 / -1; }
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show-cols { grid-template-columns: 1fr; }
}

/* ---------- mobile ---------- */
@media (max-width: 700px) {
  .tagline { padding-inline: 12px; }
  .tagline--about { padding-inline: 0; }
  .tagline--hero span { font-size: 15px; letter-spacing: .1em; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .bar-nav { gap: 16px; }
  .bar-nav a { font-size: 13px; letter-spacing: .1em; }
  .hero-line { letter-spacing: .2em; }

  .about { padding-top: 70px; }
  .dress--a { width: 150px; left: auto; right: -30px; bottom: -40px; }
  .dress--b { width: 120px; right: -18px; top: 18px; }
  .dossier { transform: none; box-shadow: 5px 5px 0 var(--paper-ink); }

  .dress--c { width: 120px; right: -10px; top: -50px; }
  .grid { grid-template-columns: 1fr; gap: 26px; }
  .card--first { grid-column: auto; }
  .card--first .card-link { min-height: 360px; }
  .card--first .card-body { width: calc(100% - 4px); translate: -2px 6px; }
  .card { rotate: calc(var(--tilt) * .6); }
  .card-stamp { width: 28%; right: -6px; top: -16px; }
  .soon-grid { grid-template-columns: 1fr; gap: 16px; }
  .soon-card { min-height: 0; padding: 18px 16px 16px; }
  .soon-card .card-city { font-size: 34px; }
  .play { font-size: 15px; padding: 9px 13px 7px 11px; }
  .card--first .play { font-size: 20px; }
  .show-dossier { transform: none; box-shadow: 5px 5px 0 var(--flame); }
  .dress--e { width: 120px; right: -20px; top: 20px; }
  .map-legend { width: calc(100% - 32px); font-size: 11px; gap: 4px 14px; }
  .map-note { margin-left: 0; flex-basis: 100%; font-size: 12px; }
  .board { display: grid; grid-template-columns: auto 1fr 1fr; }
  .board-city { grid-column: 2 / 4; min-width: 0; }
  .board-count { grid-column: 1 / 3; justify-content: center; border-top: 2px solid #3a342e; border-left: 0; }
  .board-count--soon { grid-column: 3; border-left: 2px solid #3a342e; }

  .js .map.is-scrolly { height: calc(100svh + var(--steps) * 26svh); }
  .map-stage { padding: 16px 0; }
  .map-head { width: calc(100% - 32px); }
  .map-head .title { font-size: 44px; margin-bottom: 4px; }
  .board { width: 100%; font-size: 16px; }
  .board-city { flex: 1; }
  .map-body { width: 100%; gap: 6px; grid-template-columns: minmax(0, 1fr); }
  /* blow the globe up past the viewport so the drawn sphere (≈19%–85% of the art) fills the width */
  .globe { width: 142vw; margin-left: -23.5vw; margin-block: 4px; }
  .pin-head { width: 22px; height: 22px; }
  .pin-head b { font-size: 11px; }
  .pin-ring { width: 34px; height: 34px; }
  .pin--soon .pin-head::after { width: 6px; height: 6px; }
  .pin-label { font-size: 9px; top: -32px; left: 10px; }
  .dress--d { display: none; }
  .ledger { width: calc(100% - 32px); margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; gap: 0 14px; font-size: 14px; }
  .ledger li { padding: 5px 4px 3px; }
  /* 15 rows won't fit under the pinned globe: episodes 2-up, coming-soon 3-up (Miami shares its row) */
  .ledger { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 8px; }
  .ledger li { grid-column: span 3; }
  .ledger li.lg-soon { grid-column: span 2; gap: 5px; font-size: 12.5px; }
  .ledger .lg-head { display: none; }

  .foot-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .bar-nav { gap: 11px; }
  .bar-nav a { font-size: 12px; letter-spacing: .06em; }
  .ledger li.lg-soon { font-size: 11px; letter-spacing: .02em; gap: 3px; }
}
/* short landscape phones: keep the sticky map stage inside the viewport */
@media (max-height: 520px) and (orientation: landscape) {
  .map-body { grid-template-columns: minmax(0, 1fr) 200px; }
  .globe { width: auto; margin: 0; max-height: 60svh; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; font-size: 12px; width: auto; }
  .ledger .lg-head { grid-column: 1 / -1; padding-top: 4px; }
  .ledger li { padding: 2px 4px; }
}

/* ---- lightbox episode player ---- */
.lightbox{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center}
.lightbox[hidden]{display:none}
.lightbox-backdrop{position:absolute;inset:0;background:rgba(12,10,9,.82);backdrop-filter:blur(2px)}
.lightbox-box{position:relative;width:80vw;height:80vh;background:#141210 url("assets/texture-dark.webp?v=3");border:3px solid #efe7d6;box-shadow:0 30px 80px rgba(0,0,0,.7);display:flex;flex-direction:column}
.lightbox-player{flex:1;min-height:0;background:#000}
.lightbox-player iframe{width:100%;height:100%;border:0;display:block}
.lightbox-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:3px solid #efe7d6}
.lightbox-yt{font-family:"DIN Next LT Pro","DIN",Arial,sans-serif;font-weight:700;letter-spacing:.08em;font-size:13px;color:#efe7d6;text-decoration:none;text-transform:uppercase}
.lightbox-yt:hover{color:#f5c518}
.lightbox-next{font-family:"DIN Next LT Pro","DIN",Arial,sans-serif;font-weight:700;letter-spacing:.08em;font-size:13px;text-transform:uppercase;background:#f5c518;color:#141210;border:0;padding:10px 16px;cursor:pointer;transform:rotate(-1deg);box-shadow:3px 3px 0 #efe7d6}
.lightbox-next:hover{transform:rotate(0deg)}
.lightbox-close{position:absolute;top:-16px;right:-16px;z-index:2;width:40px;height:40px;border-radius:50%;border:3px solid #efe7d6;background:#e8390f;color:#fff;font-size:22px;line-height:1;cursor:pointer}
@media (max-width:640px){.lightbox-box{width:94vw;height:72vh}}

/* ---------- contact / come-to-your-city ---------- */
.contact { padding: 70px 0 30px; }
.contact-wrap { max-width: 780px; }
.contact-head { font: 400 clamp(26px, 4.6vw, 44px)/1.05 var(--din); letter-spacing: .04em; text-transform: uppercase; color: var(--yellow); margin: 34px 0 14px; transform: rotate(-.6deg); text-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.contact-head:first-child { margin-top: 0; }
.contact-copy { font: 400 15px/1.65 var(--type); color: #d8cfba; margin: 0 0 8px; }
.contact-punch { font-size: 19px; color: var(--paper); }
.contact-form { margin-top: 30px; border: 2px dashed #6b6152; padding: 22px; background: rgba(0,0,0,.28); transform: rotate(.4deg); }
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-form input:not(.cf-hp), .contact-form textarea { display: block; width: 100%; margin: 0 0 14px; padding: 12px 14px; background: var(--paper); border: 2px solid var(--ink); color: var(--paper-ink); font: 700 13px/1.4 var(--type); letter-spacing: .06em; text-transform: uppercase; box-shadow: 3px 3px 0 rgba(0,0,0,.5); }
.contact-form textarea { text-transform: none; letter-spacing: .02em; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8b8172; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; gap: 0; } .contact { padding: 50px 0 20px; } .contact-form { padding: 16px; } }
.cf-send { font: 700 14px/1 "DIN Next LT Pro","DIN",Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; background: var(--flame); color: #f7f0dd; border: 0; padding: 14px 26px; cursor: pointer; transform: rotate(-1deg); box-shadow: 4px 4px 0 var(--yellow); }
.cf-send:hover { background: var(--flame-dk); }
.cf-send:disabled { opacity: .55; cursor: wait; }
.cf-status { margin: 12px 0 0; font: 700 12px/1.5 var(--type); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); min-height: 18px; }
.cf-status.err { color: var(--flame); }

/* ---------- episode guide dossier ---------- */
.guide-cta { display: inline-block; margin-top: 10px; font: 700 12px/1 "DIN Next LT Pro","DIN",Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); padding: 9px 14px; cursor: pointer; transform: rotate(-1.2deg); box-shadow: 3px 3px 0 rgba(0,0,0,.55); }
.guide-cta:hover { background: var(--flame); color: #f7f0dd; }
.guide-cta[aria-expanded="true"] { background: var(--flame); color: #f7f0dd; }
.guide { margin-top: 14px; }
.guide-inner { background: var(--paper); color: var(--paper-ink, #161412); border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(0,0,0,.55); padding: 18px 18px 8px; transform: rotate(.5deg); background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 2px, transparent 2px 26px); }
.guide-title { font: 700 15px/1.2 "DIN Next LT Pro","DIN",Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink); border-bottom: 2px dashed #6b6152; padding-bottom: 10px; }
.guide-row { margin: 0 0 12px; }
.guide-cat { display: inline-block; font: 700 11px/1 "DIN Next LT Pro","DIN",Arial,sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); border: 1.5px solid var(--flame); padding: 4px 7px 3px; transform: rotate(-.8deg); margin-bottom: 5px; }
.guide-row:nth-child(odd) .guide-cat { transform: rotate(.7deg); }
.guide-txt { font: 400 13px/1.6 var(--type); margin: 0; color: #2a251d; }
.guide-txt a { color: var(--flame); text-decoration: underline; text-underline-offset: 2px; }
.guide-txt a:hover { color: var(--flame-dk, #b23c1d); }
@media (max-width: 640px) { .guide-inner { padding: 14px 13px 6px; } .guide-txt { font-size: 12.5px; } }

/* open guide: let the card grow naturally so the dossier stays inside the grid flow */
.card:has(.guide:not([hidden])) .card-link { height: auto; }
.card:has(.guide:not([hidden])) { z-index: 2; }

/* cards keep natural height; an open guide grows only its own card */
.grid > .card { align-self: start; }
.guide-note { font: 400 11px/1.5 var(--type); color: #6b6152; margin: -6px 0 14px; letter-spacing: .03em; }

/* ======================= v8: more scroll motion ======================= */

/* --- plane flames: literal 2-frame GIF (original + modified), 0.25s per frame --- */
.logo-flames-pic { display: contents; }

/* --- stamps: recoloured with mask, slam on enter (re-fires), sit above or behind content --- */
.stm {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1 / 1;
  background: var(--c); pointer-events: none;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  rotate: var(--r); opacity: 0; scale: 2.2;
  transition: opacity .1s, scale .32s var(--ease-slam);
}
.stm.is-on { opacity: .88; scale: 1; }
.stm--b { z-index: 0; mix-blend-mode: normal; opacity: 0; }
.stm--b.is-on { opacity: .55; }
.stm--f { z-index: 6; }
.stm--f.is-on { opacity: .82; }
.paper .stm--f.is-on, .paper .stm--b.is-on { mix-blend-mode: multiply; }
.stm[data-stamp="food"] { --m: url("assets/stamp-food.webp?v=3"); }
.stm[data-stamp="gl-paris"] { --m: url("assets/stamp-gl-paris.webp?v=3"); aspect-ratio: 371/331; }
.stm[data-stamp="locals"] { --m: url("assets/stamp-locals.webp?v=3"); aspect-ratio: 700/661; }
.stm[data-stamp="party"] { --m: url("assets/stamp-party.webp?v=3"); }
.stm[data-stamp="skate"] { --m: url("assets/stamp-skate.webp?v=3"); }
.stm[data-stamp="transport"] { --m: url("assets/stamp-transport.webp?v=3"); }
.stm[data-stamp="zones"] { --m: url("assets/stamp-zones.webp?v=3"); }
.hero .stm { z-index: 1; }
.hero .stm--b { z-index: 0; }
.hero, .about, .episodes, .map, .show, .contact, .gm { isolation: isolate; }
.episodes .wrap, .about .wrap, .show .wrap, .contact .wrap { position: relative; z-index: 2; }
.map .map-stage { z-index: 2; }
.hero-foot { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .stm { opacity: .7; scale: 1; transition: none; } .stm--b { opacity: .45; } }

/* --- folded, torn paper strips that pull apart as you scroll --- */
.rip { position: relative; height: 0; z-index: 8; pointer-events: none; --q: 0; }
.rip b {
  position: absolute; left: -12%; width: 124%; top: -70px; height: 120px;
  background: var(--paper) url("assets/paper.webp?v=3") center / 900px auto;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.35));
  will-change: transform;
}
.rip b::before { /* fold creases */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(104deg, transparent 0 18%, rgba(0,0,0,.22) 18.4%, rgba(255,255,255,.4) 19.2%, transparent 21%),
    linear-gradient(98deg, transparent 0 52%, rgba(0,0,0,.2) 52.3%, rgba(255,255,255,.35) 53%, transparent 55%),
    linear-gradient(110deg, transparent 0 81%, rgba(0,0,0,.18) 81.4%, rgba(255,255,255,.3) 82.2%, transparent 84%),
    linear-gradient(to bottom, rgba(0,0,0,.18), transparent 30%, transparent 70%, rgba(0,0,0,.2));
}
.rip b:nth-child(2) { background-color: var(--flame); background-blend-mode: multiply; top: -40px; height: 96px; }
.rip b:nth-child(3) { background-color: #8fc0e6; background-blend-mode: multiply; top: -10px; height: 80px; }
@media (max-width: 700px) { .rip b { height: 84px; top: -50px; } .rip b:nth-child(2) { height: 70px; } .rip b:nth-child(3) { height: 60px; } }
@media (prefers-reduced-motion: reduce) { .rip { display: none; } }

/* --- scroll-linked colour-block wipe (title-sequence style) with a flying plane --- */
.wipe { position: relative; height: clamp(220px, 36vw, 380px); overflow: hidden; background: var(--ink) url("assets/texture-dark.webp?v=3") center / 1200px auto; --q: 0; }
.wipe i { position: absolute; left: 0; width: 100%; will-change: transform; }
.wipe i:nth-child(1) { top: 0; height: 30%; background: var(--flame); }
.wipe i:nth-child(2) { top: 30%; height: 22%; background: var(--blue); }
.wipe i:nth-child(3) { top: 52%; height: 26%; background: var(--yellow); }
.wipe i:nth-child(4) { top: 78%; height: 22%; background: var(--paper); }
.wipe-plane { position: absolute; top: 50%; left: 0; width: clamp(90px, 14vw, 170px); will-change: transform; filter: drop-shadow(0 6px 0 rgba(0,0,0,.4)); }
@media (prefers-reduced-motion: reduce) { .wipe { display: none; } }

/* --- globe + GET LOST: pinned, letters scramble and land one by one, text flips --- */
.gm { position: relative; height: 210vh; background: var(--ink) url("assets/texture-dark.webp?v=3") center / 1200px auto; }
.gm-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.gm-stage { position: relative; width: min(100vw, 1100px); aspect-ratio: 1400 / 629; z-index: 2; }
.gm-globe { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.gm-type { position: absolute; inset: 0; perspective: 900px; transform-style: preserve-3d; will-change: transform; }
.gm-l { position: absolute; opacity: 0; transform-origin: 50% 60%; will-change: transform; filter: drop-shadow(0 5px 0 rgba(0,0,0,.45)); }
.gm-l.on { opacity: 1; }
.gm-l.punch { animation: punch .4s var(--ease-slam); }
@keyframes punch { 0% { transform: scale(1.7); } 55% { transform: scale(.94); } 100% { transform: scale(1); } }
.gm-g { position: absolute; translate: -50% -50%; font: 700 clamp(40px, 11vw, 140px)/1 var(--din); color: var(--flame); opacity: 0; text-transform: uppercase; }
.gm-g.on { opacity: .95; }
.gm-tag { position: absolute; bottom: 9svh; left: 0; right: 0; margin: 0; text-align: center; font: 700 clamp(13px, 1.8vw, 20px)/1 var(--din); letter-spacing: .4em; text-transform: uppercase; color: var(--paper); z-index: 2; }
.gm .stm { z-index: 1; }
.gm .stm--f { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .gm { height: auto; } .gm-pin { position: static; height: auto; padding: 60px 0; } .gm-l { opacity: 1; }
}

/* first paper rip sits below the city-name ticker, not on top of it */

.rip.rip--below b:nth-child(1) { top: 0; }
.rip.rip--below b:nth-child(2) { top: 8px; }
.rip.rip--below b:nth-child(3) { top: 16px; }
