/* ==========================================================================
   PAPER — tour: the poster's bottom half
   a/b  .tour-stage   2027 announcement + kraft city strips (pinned on desktop by s-tour.js)
   c    .tour-first   per-city waitlist
   d    .tour-next    next-show ticket stub (filled by the page script)
   e    .tour-list    2026 routing sheet (legacy .tour-card markup, restyled; states set by the page script)
   Everything is scoped under #tour.
   ========================================================================== */
#tour { padding-top: 0; overflow-x: clip; --gold: var(--pp-red); /* the old geo-banner script outlines a row with var(--gold) */ }

/* ---------- a + b: stage ---------- */
#tour .tour-stage { position: relative; overflow: clip; isolation: isolate; padding-block: clamp(56px, 9vh, 110px) clamp(72px, 12vh, 130px); }
#tour .tour-stage-in { position: relative; z-index: 1; display: grid; gap: clamp(40px, 7vw, 64px); }

/* giant outlined echo behind everything: "2027", then each city as its strip lands */
#tour .tour-ghost { position: absolute; z-index: 0; left: 0; right: 0; bottom: -.17em; height: 1em; overflow: hidden; pointer-events: none; font-family: var(--pp-f-display); font-size: 38vw; line-height: 1; text-transform: uppercase; }
#tour .tour-ghost span { position: absolute; left: 50%; top: 0; translate: -50% 0; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--pp-red); opacity: .26; }
#tour .tour-ghost span + span { display: none; }

#tour .tour-head { display: grid; justify-items: start; gap: 0; }
#tour .tour-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
#tour .tour-year { font-size: clamp(20px, 2vw, 28px); rotate: -4deg; }
#tour .tour-title { display: grid; justify-items: start; font-weight: 400; }
#tour .tour-title-big { font-size: min(24.4vw, 190px); line-height: .86; }
#tour .tour-title-ct-wrap { position: relative; display: inline-block; margin: -.2em 0 0 clamp(6px, 3vw, 46px); rotate: -3.5deg; z-index: 1; }
#tour .tour-title-ct { font-size: clamp(22px, 3vw, 44px); }
#tour .tour-title-sparks { right: -48px; top: auto; bottom: -20px; width: 40px; height: 40px; }
#tour .tour-lede { max-width: 30ch; margin-top: clamp(22px, 2.4vw, 34px); }
#tour .tour-head-cta { margin-top: clamp(20px, 2.2vw, 30px); }

#tour .tour-bill { display: grid; gap: clamp(14px, 1.6vw, 22px); width: 100%; max-width: 640px; }
#tour .tour-bill-rule { margin-bottom: 2px; }
#tour .tour-stops { display: grid; gap: clamp(7px, .9vw, 11px); }
#tour .tour-stop { gap: clamp(12px, 1.4vw, 20px); padding: clamp(12px, 1.25vw, 17px) clamp(14px, 1.8vw, 26px); min-height: 52px; }
#tour .tour-stop:nth-child(odd) { rotate: -.55deg; }
#tour .tour-stop:nth-child(even) { rotate: .5deg; }
#tour .tour-stop:nth-child(3n) { margin-inline: 1.2% -1.2%; }
#tour .tour-stop:nth-child(3n + 1) { margin-inline: -1% 1%; }
#tour .tour-cal { flex: none; width: clamp(24px, 2.2vw, 30px); height: clamp(24px, 2.2vw, 30px); color: var(--pp-red); }
#tour .tour-stop-name { flex: 1; min-width: 0; font-weight: 800; font-size: clamp(15px, 1.75vw, 23px); line-height: 1.15; letter-spacing: .005em; }
#tour .tour-stop-soon { flex: none; font-family: var(--pp-f-display); font-weight: 400; font-size: 14px; line-height: 1; letter-spacing: .06em; color: var(--pp-red); border: 2px solid currentColor; border-radius: 4px; padding: .34em .5em .26em; rotate: -4deg; white-space: nowrap; }
#tour .tour-stop:nth-child(even) .tour-stop-soon { rotate: 3deg; }
#tour .tour-more-wrap { position: relative; justify-self: center; margin-top: clamp(4px, .8vw, 10px); rotate: -2deg; }
#tour .tour-more { font-size: clamp(22px, 2.9vw, 40px); padding-inline: .9em; }
#tour .tour-more-sparks { right: -50px; top: -22px; width: 44px; height: 44px; }

@media (max-width: 420px) {
  /* six stamps in a 320px column is clutter: the header already says "coming soon" */
  #tour .tour-stop-soon { display: none; }
}

@media (min-width: 900px) {
  #tour .tour-stage { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-block: clamp(64px, 10vh, 120px) clamp(72px, 12vh, 130px); }
  #tour .tour-stage-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
  #tour .tour-title-big { font-size: min(10.2vw, 18.5vh, 152px); }
  #tour .tour-bill { justify-self: end; }
  #tour .tour-ghost { font-size: min(14vw, 280px); bottom: -.2em; }
}

/* ---------- c: be first ---------- */
#tour .tour-first { position: relative; display: grid; gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: clamp(56px, 8vw, 120px); }
#tour .tour-first-copy { position: relative; display: grid; justify-items: start; gap: 12px; }
#tour .tour-first-q { font-size: clamp(22px, 2.6vw, 36px); rotate: -2.5deg; }
#tour .tour-first-h { max-width: 9em; }
#tour .tour-first-p { max-width: 34ch; margin-top: 10px; }
#tour .tour-first-scribble { position: relative; width: clamp(120px, 15vw, 200px); margin: 8px 0 0 auto; opacity: .8; }
#tour .tour-first-card { position: relative; background: var(--pp-paper-hi) url(../../images/paper/paper.webp); background-size: 300px; box-shadow: var(--pp-shadow-2); padding: clamp(30px, 3.4vw, 44px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px); rotate: .9deg; width: 100%; max-width: 480px; justify-self: center; }
#tour .tour-first-form { display: grid; gap: 16px; }
#tour .tour-first-form .pp-btn { margin-top: 4px; }
#tour .tour-first-form .pp-fineprint { color: var(--pp-ink-soft); }
#tour .tour-first-ok { display: grid; justify-items: center; gap: 18px; text-align: center; padding-block: clamp(28px, 5vw, 60px); }
#tour .tour-first-ok .pp-stamp { font-size: clamp(26px, 3.2vw, 40px); }
#tour .tour-first-ok .pp-note { max-width: 22ch; font-size: clamp(17px, 1.7vw, 21px); }
@media (min-width: 900px) {
  #tour .tour-first { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  #tour .tour-first-card { justify-self: end; }
  #tour .tour-first-scribble { margin-right: 6%; }
}

/* ---------- d + e: the 2026 run ---------- */
#tour .tour-run { max-width: calc(1020px + var(--pp-gutter) * 2); display: grid; gap: clamp(28px, 3.6vw, 48px); }
#tour .tour-run-head { display: grid; justify-items: center; text-align: center; gap: 16px; }
#tour .tour-run-head .pp-rule { width: 100%; }
#tour .tour-run-title { margin-top: 6px; }
#tour .tour-run-note { rotate: -2deg; margin-top: -6px; }

/* d: next show — one ticket stub. Date, city, venue | countdown, tickets. Nothing else. */
#tour .tour-next { display: grid; justify-items: center; gap: 16px; }
#tour .tour-stub { position: relative; display: grid; width: 100%; text-decoration: none; color: var(--pp-ink); background: var(--pp-paper-hi) url(../../images/paper/paper.webp); background-size: 300px; box-shadow: var(--pp-shadow-2); border-radius: 5px; rotate: -.8deg; transition: transform .45s var(--pp-ease), box-shadow .45s var(--pp-ease); }
#tour .tour-stub:hover { transform: translateY(-4px) rotate(.5deg); box-shadow: var(--pp-shadow-3); }
#tour .tour-stub-main { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px clamp(16px, 2.4vw, 30px); padding: clamp(30px, 3.4vw, 42px) clamp(20px, 3vw, 38px) clamp(20px, 2.6vw, 32px); }
#tour .tour-stub-tag { position: absolute; left: clamp(14px, 2.4vw, 30px); top: -14px; font-size: 13px; rotate: -3deg; }
#tour .tour-stub-date { display: grid; justify-items: center; line-height: 1; padding-right: clamp(16px, 2.4vw, 30px); border-right: 1.5px solid var(--pp-line); }
#tour .tour-stub-date i { font-style: normal; font-weight: 800; font-size: 13px; letter-spacing: .26em; margin-right: -.26em; color: var(--pp-red); }
#tour .tour-stub-date b { font-family: var(--pp-f-display); font-weight: 400; font-size: clamp(54px, 6.4vw, 84px); line-height: .98; color: var(--pp-ink); }
#tour .tour-stub-where { display: grid; gap: 6px; min-width: 0; }
#tour .tour-stub-where b { font-family: var(--pp-f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 4.2vw, 52px); line-height: .95; color: var(--pp-ink); overflow-wrap: anywhere; }
#tour .tour-stub-where i { font-style: normal; font-weight: 600; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.35; color: var(--pp-ink-soft); }
/* the tear-off half */
#tour .tour-stub-side { position: relative; display: grid; justify-items: center; align-content: center; gap: clamp(16px, 1.8vw, 22px); padding: clamp(22px, 2.6vw, 32px) clamp(20px, 3vw, 36px) clamp(24px, 2.8vw, 34px); border-top: 2px dashed rgba(20,20,20,.28); }
#tour .tour-stub-side::before, #tour .tour-stub-side::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--pp-paper) url(../../images/paper/paper.webp); background-size: 420px; box-shadow: inset 0 2px 3px rgba(40,30,20,.16); top: -12px; }
#tour .tour-stub-side::before { left: -11px; }
#tour .tour-stub-side::after { right: -11px; }
/* countdown: the script injects <span><b>07</b><i>Days</i></span> ×4 */
#tour .tour-stub-count { display: flex; align-items: flex-start; justify-content: center; gap: clamp(14px, 1.8vw, 24px); min-height: clamp(62px, 6.4vw, 84px); font-variant-numeric: tabular-nums; }
#tour .tour-stub-count:empty { display: none; }
#tour .tour-stub-count span { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 1.9ch; }
#tour .tour-stub-count span + span::before { content: ':'; position: absolute; left: calc(clamp(14px, 1.8vw, 24px) / -2); top: 0; translate: -50% 0; font-family: var(--pp-f-display); font-size: clamp(30px, 3.6vw, 46px); line-height: clamp(48px, 5.2vw, 68px); color: var(--pp-ink); opacity: .22; }
#tour .tour-stub-count b { font-family: var(--pp-f-display); font-weight: 400; font-size: clamp(48px, 5.2vw, 68px); line-height: 1; color: var(--pp-red); }
#tour .tour-stub-count i { font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .24em; margin-right: -.24em; text-transform: uppercase; color: var(--pp-ink); }
#tour .tour-stub-go { width: 100%; max-width: 320px; }
#tour .tour-stub:hover .tour-stub-go { transform: none; }
#tour .tour-stub:hover .tour-stub-go::before { background: var(--pp-red-deep); }
#tour .tour-stub-go svg { transition: transform .35s var(--pp-ease); }
#tour .tour-stub:hover .tour-stub-go svg { transform: translateX(5px); }
#tour .tour-next-links { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
/* 44px tap target without moving the underline */
#tour .tour-next-links .pp-link { position: relative; }
#tour .tour-next-links .pp-link::after { content: ''; position: absolute; inset: -13px -10px; }
/* touch: no lift left stuck on the stub / buttons after a tap */
@media (hover: none) {
  #tour .tour-stub:hover { transform: none; box-shadow: var(--pp-shadow-2); }
  #tour .tour-ticket-btn:hover, #tour .tour-vip-btn:hover { transform: none; }
  #tour .tour-ticket-btn:active, #tour .tour-vip-btn:active { transform: scale(.97); }
}
@media (min-width: 760px) {
  #tour .tour-stub { grid-template-columns: minmax(0, 1fr) auto; }
  #tour .tour-stub-side { border-top: 0; border-left: 2px dashed rgba(20,20,20,.28); }
  #tour .tour-stub-side::before { left: -12px; top: -11px; }
  #tour .tour-stub-side::after { left: -12px; right: auto; top: auto; bottom: -11px; box-shadow: inset 0 -2px 3px rgba(40,30,20,.12); }
}

/* e: routing sheet */
#tour .tour-list { display: grid; border-top: 1.5px solid var(--pp-ink); }
#tour .tour-card { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 16px 4px 18px; border-bottom: 1px solid var(--pp-line); opacity: 1; transform: none; transition: background .3s; }
#tour .tour-divider { display: none; }
#tour .tour-date-block { grid-row: 1 / span 2; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
#tour .tour-month { font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: .24em; color: var(--pp-red); }
#tour .tour-day { font-family: var(--pp-f-display); font-size: clamp(32px, 3.4vw, 42px); line-height: 1; color: var(--pp-ink); letter-spacing: 0; white-space: nowrap; }
#tour .tour-details { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
#tour .tour-city { order: 1; font-weight: 900; text-transform: uppercase; font-size: clamp(17px, 1.9vw, 23px); line-height: 1.15; letter-spacing: .005em; color: var(--pp-ink); }
#tour .tour-venue { order: 2; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--pp-ink-soft); }
#tour .tour-times { order: 3; font-weight: 700; font-size: 12px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-ink-soft); margin-top: 3px; }
#tour .special-badge { display: inline-block; margin-left: 6px; font-family: var(--pp-f-marker); font-weight: 400; font-size: 14px; line-height: 1.2; color: var(--pp-red); white-space: nowrap; rotate: -2deg; }
#tour .tour-btns { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; min-width: 0; }
/* tickets = a small red brush stroke */
#tour .tour-ticket-btn, #tour .tour-vip-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .85em 1.5em .88em; font-weight: 900; font-style: italic; font-size: 13px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: #fff; filter: var(--pp-drop-1); transition: transform .35s var(--pp-ease); }
#tour .tour-ticket-btn::before, #tour .tour-vip-btn::before { content: ''; position: absolute; inset: 2px 0; z-index: -1; background: var(--pp-red); clip-path: var(--pp-brush-a); transition: background .25s; }
#tour .tour-vip-btn::before { background: var(--pp-ink); clip-path: var(--pp-brush-c); }
#tour .tour-ticket-btn:hover, #tour .tour-vip-btn:hover { transform: translateY(-2px) rotate(-1.5deg); }
#tour .tour-ticket-btn:hover::before { background: var(--pp-red-deep); }
/* no link: "Past Show" / "Sold Out" / "Soon" = a rubber stamp */
#tour .tour-sold-out-btn { display: inline-block; font-family: var(--pp-f-display); font-size: 15px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--pp-red); border: 2px solid currentColor; border-radius: 4px; padding: .36em .55em .28em; rotate: -5deg; white-space: nowrap; }

/* the next date in the list: same row, one small flag. The stub above is the loud one. */
#tour .tour-card.next-up { background: linear-gradient(90deg, rgba(232,228,217,.9), rgba(232,228,217,0) 85%); }
#tour .next-up-badge { align-self: flex-start; margin-bottom: 5px; padding: 4px 7px 4px; background: var(--pp-red); color: #fff; font-weight: 900; font-style: italic; font-size: 11px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; rotate: -3deg; clip-path: var(--pp-brush-c); }

/* sold out: struck in red, still listed */
#tour .tour-card.sold-out .tour-city { text-decoration: line-through; text-decoration-color: var(--pp-red); text-decoration-thickness: 2.5px; }

/* past shows: done and struck through, folded behind the toggle */
#tour .tour-card.past .tour-city { color: var(--pp-ink-soft); text-decoration: line-through; text-decoration-color: var(--pp-red); text-decoration-thickness: 2.5px; }
#tour .tour-card.past .tour-day { color: var(--pp-ink-faint); }
#tour .tour-card.past .tour-month { color: var(--pp-ink-soft); }
#tour .tour-card.past .special-badge { color: var(--pp-ink-soft); }
#tour .tour-card.past .tour-sold-out-btn { opacity: .8; font-size: 13px; }

#tour .tour-past-block { display: grid; }
#tour .tour-past-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; padding: 14px 8px; border-bottom: 1.5px solid var(--pp-ink); font-weight: 800; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--pp-ink); transition: color .25s, background .25s; }
#tour .tour-past-toggle:hover { color: var(--pp-red); background: rgba(232,228,217,.6); }
#tour .tour-past-chev { font-size: 18px; line-height: 1; color: var(--pp-red); transition: transform .4s var(--pp-ease); }
#tour .tour-past-block.open .tour-past-chev { transform: rotate(180deg); }
#tour .tour-past-list { display: grid; }
#tour .tour-past-list[hidden] { display: none; }

@media (min-width: 700px) {
  #tour .tour-card { grid-template-columns: 124px minmax(0, 1fr) auto; gap: 8px 24px; padding: 18px 10px 20px; }
  #tour .tour-date-block { grid-row: auto; align-self: center; }
  #tour .tour-btns { grid-column: auto; margin-top: 0; justify-content: flex-end; }
  #tour .tour-card:hover { background: rgba(232,228,217,.55); }
}
