/* in.transit — site styles
   Palette pulled from the A Prototype cover: warm ink, stone, amber light trails, cream, one cool streak. */

:root {
  --ink: #0d0805;
  --ink-2: #150e09;
  --stone: #2a1e14;
  --stone-2: #3c2b1c;
  --cream: #f4ead6;
  --cream-2: #d9c9ad;
  --muted: #a8957a;
  --line: rgba(244, 234, 214, 0.12);
  --line-2: rgba(244, 234, 214, 0.22);
  --amber: #f3a243;
  --amber-deep: #a86625;
  --cool: #7b7fd6;
  --accent: var(--amber);
  --accent-deep: var(--amber-deep);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --player-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-player { padding-bottom: var(--player-h); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* film grain over everything, like the cover photo */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@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)} }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
.topbar.solid { background: rgba(13, 8, 5, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; display: inline-flex; align-items: baseline; }
.wordmark .dot { color: var(--accent); display: inline-block; text-shadow: 0 0 12px var(--accent); }
.nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--cream); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--cream);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 0 transparent; }
.btn.primary:hover { box-shadow: 0 8px 40px -8px var(--accent); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- view + wipe transition ---------- */
#view { min-height: 100vh; outline: none; }
#wipe {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--accent) 0, var(--ink) 18%, var(--ink) 100%);
  clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
}
#wipe.in { transition: clip-path 0.5s cubic-bezier(0.7, 0, 0.84, 0); clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
#wipe.out { transition: opacity 0.45s var(--ease); clip-path: circle(150% at 50% 50%); opacity: 0; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- HOME: hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero-photo {
  position: absolute; inset: -6%; z-index: -2;
  background: center / cover no-repeat; filter: blur(10px) saturate(1.15) brightness(0.5);
  transform: scale(1.08); animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.16) translate(-2%, 1.5%); } }
.hero canvas.trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,8,5,.35) 0%, transparent 30%, transparent 55%, var(--ink) 100%); }
.hero-inner { position: absolute; left: 0; right: 0; bottom: 92px; }
.hero .kicker { color: var(--accent); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.giant {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(64px, 15vw, 232px); line-height: 0.86; letter-spacing: -0.045em; margin: 0;
}
.giant .ch { display: inline-block; opacity: 0; transform: translateY(0.35em) rotate(4deg); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
.giant .dot { color: var(--accent); text-shadow: 0 0 40px var(--accent); }
@keyframes rise { to { opacity: 1; transform: none; } }
.tagline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.4vw, 30px); color: var(--cream-2); margin: 18px 0 30px; }

/* departure-board ticker that loops forever */
.ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; border-top: 1px solid var(--line); background: rgba(13,8,5,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: flex; flex: none; white-space: nowrap; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-2); padding: 0 22px; }
.ticker span b { color: var(--accent); font-weight: 500; margin-right: 10px; }
.ticker span i { font-style: normal; color: var(--muted); margin-left: 10px; }
.ticker .sep { color: var(--accent); padding: 0; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--accent); margin-bottom: 28px; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 24px; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--cream-2); max-width: 58ch; }
.placeholder { color: var(--muted); font-family: var(--serif); font-style: italic; }

/* feature album block */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cover-wrap { position: relative; aspect-ratio: 1; perspective: 1200px; }
.cover-halo {
  position: absolute; inset: -14%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 8%, var(--accent) 14%, transparent 22%, transparent 48%, var(--cream) 54%, transparent 60%, transparent 78%, var(--accent-deep) 86%, transparent 94%);
  filter: blur(34px); opacity: 0.55; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cover {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line);
  transform-style: preserve-3d; transition: transform 0.6s var(--ease);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,240,210,.22), transparent 55%); pointer-events: none; }
.meta-line { color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
.meta-line .on { color: var(--accent); }

/* horizontal strip of song art */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 19vw, 240px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin: 56px calc(var(--gutter) * -1) 0; scrollbar-width: thin; scrollbar-color: var(--stone-2) transparent; }
.tile { scroll-snap-align: start; position: relative; display: block; }
.tile .art { aspect-ratio: 1; border-radius: 4px; overflow: hidden; position: relative; box-shadow: 0 0 0 1px var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.9) brightness(0.92); }
.tile:hover img { transform: scale(1.08) rotate(-1.5deg); filter: none; }
.tile .art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.4s; border-radius: 4px; }
.tile:hover .art::after { box-shadow: inset 0 0 0 1px var(--tile-accent, var(--accent)), 0 0 30px -4px var(--tile-accent, var(--accent)); }
.tile .num { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--cream); text-shadow: 0 1px 6px #000; }
.tile .t { font-family: var(--serif); font-size: 18px; line-height: 1.2; margin-top: 12px; }
.tile .d { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; margin-top: 4px; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-visual { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.bio p { font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; margin: 0 0 1em; }
.bio p:first-child::first-letter { color: var(--accent); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }

/* ---------- ALBUM page ---------- */
.page-hero { position: relative; padding: calc(96px + 6vw) 0 clamp(48px, 8vw, 100px); isolation: isolate; overflow: hidden; }
.page-bg { position: absolute; inset: -10%; z-index: -2; background: center / cover no-repeat; filter: blur(60px) saturate(1.2) brightness(0.38); transform: scale(1.1); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, var(--ink) 100%); }
.crumbs { color: var(--muted); margin-bottom: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--accent); }
.title-xl { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 9vw, 136px); line-height: 0.9; letter-spacing: -0.04em; margin: 0 0 22px; font-variation-settings: "opsz" 144; }
.album-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.desc { color: var(--cream-2); max-width: 54ch; margin: 0 0 28px; }
.desc p { margin: 0 0 1em; }

/* the carousel of songs */
.ride { position: relative; padding: 40px 0 20px; overflow: hidden; }
.ride-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.ride-stage { position: relative; height: clamp(330px, 36vw, 480px); perspective: 2400px; perspective-origin: 50% 20%; margin-top: 10px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ride-stage.dragging { cursor: grabbing; }
.ride-floor { position: absolute; left: 50%; top: 68%; width: min(1200px, 130vw); height: 46%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(243,162,67,.22), rgba(243,162,67,.05) 45%, transparent 70%); }
.ride-floor canvas { position: absolute; inset: -40% -10%; width: 120%; height: 180%; mix-blend-mode: screen; }
.ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.horse {
  position: absolute; width: var(--card, 210px); left: calc(var(--card, 210px) / -2); top: calc(var(--card, 210px) / -2);
  transform-style: preserve-3d; backface-visibility: visible;
}
.horse a { display: block; }
.horse .art { aspect-ratio: 1; border-radius: 5px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px var(--line); transition: box-shadow .4s; }
.horse .art img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.horse:hover .art { box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px var(--h-accent), 0 0 40px -6px var(--h-accent); }
.horse .cap { text-align: center; margin-top: 12px; transition: opacity .3s; }
.horse .cap .t { font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.horse .cap .n { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--h-accent); }
.ride-hint { text-align: center; color: var(--muted); margin-top: 18px; }

/* departure board */
.board { margin-top: 30px; border-top: 1px solid var(--line-2); }
.board-head, .row { display: grid; grid-template-columns: 56px 56px minmax(0, 1fr) 80px 48px; align-items: center; gap: 16px; }
.board-head { color: var(--muted); padding: 14px 8px; border-bottom: 1px solid var(--line); }
.row { padding: 12px 8px; border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--row-accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.row:hover { background: rgba(244,234,214,.035); }
.row:hover::before, .row.playing::before { transform: scaleY(1); }
.row .n { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.row.playing .n { color: var(--row-accent); }
.row .thumb { width: 48px; height: 48px; border-radius: 3px; overflow: hidden; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .title { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.2; }
.row .title:hover { color: var(--row-accent); }
.row .time { font-family: var(--mono); font-size: 13px; color: var(--cream-2); text-align: right; font-variant-numeric: tabular-nums; }
.row .play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, color .3s; }
.row .play:hover, .row.playing .play { background: var(--row-accent); border-color: var(--row-accent); color: var(--ink); }
.row .play svg { width: 14px; height: 14px; }
.eq[hidden] { display: none; }
.eq { display: inline-flex; gap: 2px; height: 12px; align-items: flex-end; margin-left: 10px; vertical-align: middle; }
.eq i { width: 2px; background: var(--row-accent, var(--accent)); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
.paused .eq i { animation-play-state: paused; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }

/* ---------- SONG page ---------- */
.song { position: relative; isolation: isolate; }
.song-bg { position: fixed; inset: -8%; z-index: -2; background: center / cover no-repeat; filter: blur(22px) saturate(1.2) brightness(0.5); animation: drift 50s ease-in-out infinite alternate; }
.song::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 28% 40%, transparent 0, rgba(13,8,5,.45) 60%), linear-gradient(90deg, transparent 40%, rgba(13,8,5,.5)); pointer-events: none; }
.song-lower { background: linear-gradient(180deg, transparent, rgba(13,8,5,.72) 220px); }
.song-hero { padding: calc(90px + 4vw) 0 clamp(40px, 6vw, 80px); }
.song-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }

/* the circular player: art disc, progress lap, light-trail visualizer */
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; }
.orbit canvas { position: absolute; inset: -14%; width: 128%; height: 128%; mix-blend-mode: screen; pointer-events: none; }
.orbit svg.lap { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; cursor: pointer; }
.lap .track { fill: none; stroke: var(--line-2); stroke-width: .35; }
.lap .prog { fill: none; stroke: var(--accent); stroke-width: .7; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--accent)); transition: stroke-dashoffset .25s linear; }
.lap .hit { fill: none; stroke: transparent; stroke-width: 6; pointer-events: stroke; }
.lap .head { fill: var(--cream); filter: drop-shadow(0 0 8px var(--accent)); }
.disc { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.95), 0 0 0 1px var(--line-2); animation: spin 40s linear infinite; animation-play-state: paused; }
.disc.spinning { animation-play-state: running; }
.disc img { width: 100%; height: 100%; object-fit: cover; }
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, transparent 58%, rgba(0,0,0,.35) 100%), conic-gradient(from 30deg, transparent, rgba(255,240,210,.10), transparent 30%, transparent 55%, rgba(255,240,210,.08), transparent 75%); }
.big-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: rgba(13,8,5,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); transition: transform .4s var(--ease), background .3s, border-color .3s; z-index: 2; }
.big-play:hover { transform: scale(1.08); background: var(--accent); border-color: var(--accent); color: var(--ink); }
.big-play svg { width: 28px; height: 28px; }
.orbit-time { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; color: var(--cream-2); font-variant-numeric: tabular-nums; }
.laps { color: var(--accent); margin-left: 12px; }

.song-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 26px 0 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.song-meta dt { color: var(--muted); }
.song-meta dd { margin: 0; color: var(--cream-2); }
.song-tagline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2vw, 26px); color: var(--cream-2); margin: -6px 0 0; }

.song-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.lyrics .stanza { margin: 0 0 1.6em; font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5; }
.lyrics .stanza span { display: block; }
.notes { position: sticky; top: 100px; align-self: start; }
.notes .body p { margin: 0 0 1em; color: var(--cream-2); font-size: 17px; }
.notes .body blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 20px; }
.notes .body a { color: var(--accent); border-bottom: 1px solid currentColor; }
.credits { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.credits.bare { margin-top: 0; padding-top: 0; border-top: 0; }

.stops { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: clamp(60px, 8vw, 120px); }
.stop { position: relative; display: block; border-radius: 6px; overflow: hidden; min-height: 200px; padding: 26px; isolation: isolate; box-shadow: 0 0 0 1px var(--line); }
.stop .bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; filter: brightness(.45) saturate(1.1); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.stop:hover .bg { transform: scale(1.12); filter: brightness(.6); }
.stop .k { color: var(--accent); }
.stop .t { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.05; margin-top: 10px; letter-spacing: -.02em; }
.stop.next { text-align: right; }

/* ---------- persistent player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--player-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  background: rgba(13, 8, 5, 0.78); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.6s var(--ease);
}
.player.show { transform: none; }
.player .now { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player .mini { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--line-2), 0 0 24px -6px var(--accent); animation: spin 12s linear infinite; animation-play-state: paused; }
.player.playing .mini { animation-play-state: running; }
.player .mini img { width: 100%; height: 100%; object-fit: cover; }
.player .info { min-width: 0; }
.player .info a { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .info a:hover { color: var(--accent); }
.player .info .mono { font-size: 10px; color: var(--muted); }
.player .controls { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--cream-2); transition: color .2s, background .2s; position: relative; }
.icon-btn:hover { color: var(--cream); background: rgba(244,234,214,.06); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.main { width: 48px; height: 48px; background: var(--accent); color: var(--ink); }
.icon-btn.main:hover { background: var(--cream); color: var(--ink); }
.icon-btn.on { color: var(--accent); }
.icon-btn .badge { position: absolute; top: 4px; right: 2px; font: 500 9px/1 var(--mono); color: var(--accent); }
.player .right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.player .clock { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vol { width: 90px; accent-color: var(--accent); }
.scrub { position: absolute; left: 0; right: 0; top: -1px; height: 14px; transform: translateY(-50%); cursor: pointer; }
.scrub .bar { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line); }
.scrub .fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); width: 0; }
.scrub:hover .bar, .scrub:hover .fill { height: 4px; margin-top: -2px; }
.scrub .tip { position: absolute; bottom: 14px; transform: translateX(-50%); font: 500 11px var(--mono); background: var(--ink); border: 1px solid var(--line-2); padding: 3px 6px; border-radius: 4px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.scrub:hover .tip { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feature, .about-grid, .album-hero-grid, .song-grid, .song-body { grid-template-columns: 1fr; }
  .notes { position: static; }
  .board-head, .row { grid-template-columns: 34px 48px minmax(0, 1fr) 54px 40px; gap: 10px; }
  .stops { grid-template-columns: 1fr; }
  .stop.next { text-align: left; }
  .player { grid-template-columns: minmax(0, 1fr) auto; }
  .player .right .vol, .player .right .clock, .player .right .goto { display: none; }
  .orbit { width: min(80vw, 440px); margin-bottom: 56px; }
  .ride-hint { margin-top: 56px; }
}
@media (max-width: 560px) {
  .nav { gap: 14px; }
  .player .controls .prev { display: none; }
  .hero-inner { bottom: 76px; }
  .btn { height: 44px; padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .giant .ch { opacity: 1; transform: none; }
}

/* ---------- HOME: departure board ---------- */
.station { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; isolation: isolate; }
.station-bg { position: absolute; inset: -4%; z-index: -3; }
.bg-layer { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.1s var(--ease); filter: saturate(1.05) brightness(.62); animation: drift 40s ease-in-out infinite alternate; }
.bg-layer.on { opacity: 1; }
.station canvas.trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; mix-blend-mode: screen; }
.station::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 28% 50%, rgba(13,8,5,.25), rgba(13,8,5,.78) 80%), linear-gradient(180deg, transparent 72%, var(--ink)); }
.station .wrap { position: relative; }
.dboard { --led: #ffb04a; position: relative; width: min(100%, 900px); padding: 20px 22px 14px; border-radius: 10px; color: var(--led);
  font-family: var(--mono); text-transform: uppercase;
  background: linear-gradient(180deg, rgba(12,8,5,.94), rgba(5,3,2,.96));
  box-shadow: 0 50px 120px -30px #000, 0 0 0 1px rgba(255,176,74,.14), inset 0 1px 0 rgba(255,255,255,.05); }
.dboard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0,0,0,.32) 0 1px, transparent 1px 3px); }
.dboard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.07), transparent 32%); }
.led { text-shadow: 0 0 6px rgba(255,170,60,.55), 0 0 18px rgba(255,140,40,.22); }
.board-top { display: flex; align-items: baseline; gap: 20px; padding: 0 8px 14px; border-bottom: 1px solid rgba(255,176,74,.18); }
.b-name { margin: 0; font-family: var(--serif); font-weight: 400; text-transform: none; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; letter-spacing: -.02em; color: var(--cream); }
.b-name .dot { color: var(--accent); text-shadow: 0 0 16px var(--accent); }
.b-title { flex: 1; font-size: 13px; letter-spacing: .32em; }
.b-clock { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.b-clock .colon { animation: blink 1s steps(1) infinite; }
.board-cols, .dep { display: grid; grid-template-columns: 44px minmax(0, 1fr) 64px 118px 32px; gap: 14px; align-items: center; }
.board-cols { padding: 14px 8px 6px; font-size: 10.5px; letter-spacing: .22em; color: rgba(255,176,74,.5); }
.board-cols .c-time { text-align: right; }
.dep { padding: 7px 8px; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .07em; border-radius: 4px; transition: background .25s, color .25s; }
.dep + .dep { border-top: 1px solid rgba(255,176,74,.07); }
.dep:hover, .dep:focus-within { background: rgba(255,176,74,.1); }
.c-dest { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left; white-space: pre; overflow: hidden; text-overflow: ellipsis; padding: 2px 0; }
.c-time { text-align: right; font-variant-numeric: tabular-nums; }
.c-status { opacity: .85; white-space: nowrap; }
.dep.playing, .dep.held { color: #ffe2ad; }
.dep.playing .c-status { color: var(--row-accent); opacity: 1; animation: blink 1.2s steps(1) infinite; }
.dep.departed .c-dest, .dep.departed .c-status, .dep.departed .c-plt, .dep.departed .c-time { opacity: .4; }
.c-go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(255,176,74,.65); transition: background .2s, color .2s; }
.c-go svg { width: 15px; height: 15px; }
.c-go:hover { background: var(--led); color: var(--ink); }
.board-foot { display: flex; gap: 14px; align-items: center; margin-top: 10px; padding: 12px 8px 2px; border-top: 1px solid rgba(255,176,74,.18); font-size: 11px; letter-spacing: .18em; }
.b-label { color: rgba(255,176,74,.5); white-space: nowrap; }
.b-scroll { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.b-track { display: flex; width: max-content; animation: tick 80s linear infinite; }
.b-track span { white-space: pre; }

/* ---------- HOME: the album as a ticket ---------- */
.ticket-sec { padding: clamp(90px, 12vw, 170px) 0; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.ticket { --paper: #efe4cc; --inkp: #1c130c; position: relative; color: var(--inkp); background: var(--paper); border-radius: 6px; padding: 30px 32px 22px 52px;
  transform: rotate(-2.2deg); transition: transform .7s var(--ease), opacity .9s var(--ease); box-shadow: 0 40px 80px -30px rgba(0,0,0,.95);
  -webkit-mask: radial-gradient(circle 7px at 0 16px, #0000 98%, #000) 0 0 / 100% 32px repeat-y; mask: radial-gradient(circle 7px at 0 16px, #0000 98%, #000) 0 0 / 100% 32px repeat-y; }
.ticket[data-reveal] { transform: rotate(-2.2deg) translateY(28px); }
.ticket[data-reveal].in { transform: rotate(-2.2deg); }
.ticket[data-reveal].in:hover { transform: rotate(-.6deg) translateY(-4px); }
.ticket::before { content: ""; position: absolute; left: 30px; top: 14px; bottom: 14px; border-left: 2px dashed rgba(28,19,12,.22); }
.t-row { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.t-title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 66px); line-height: .95; letter-spacing: -.03em; margin: 16px 0 20px; }
.t-dl { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; justify-content: start; gap: 2px 26px; margin: 0 0 24px; font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.t-dl dt { opacity: .55; }
.t-dl dd { margin: 0; font-size: 15px; letter-spacing: .05em; }
.t-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ticket .btn { color: var(--inkp); border-color: rgba(28,19,12,.3); }
.ticket .btn:hover { border-color: var(--inkp); }
.ticket .btn.primary { background: var(--inkp); border-color: var(--inkp); color: var(--paper); }
.ticket .btn.primary:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); }
.t-fine { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 14px; border-top: 1px dashed rgba(28,19,12,.3); font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.t-bars { flex: none; width: 120px; height: 26px; background: repeating-linear-gradient(90deg, var(--inkp) 0 2px, transparent 2px 4px, var(--inkp) 4px 5px, transparent 5px 8px, var(--inkp) 8px 11px, transparent 11px 12px); }

@media (max-width: 900px) {
  .ticket-grid { grid-template-columns: 1fr; }
  .ticket { padding: 26px 22px 20px 44px; }
}
@media (max-width: 640px) {
  .dboard { padding: 16px 12px 10px; }
  .board-top { gap: 12px; padding: 0 4px 12px; }
  .b-title { letter-spacing: .2em; font-size: 11px; }
  .board-cols, .dep { grid-template-columns: 28px minmax(0, 1fr) 82px 28px; gap: 8px; }
  .board-cols .c-time, .dep .c-time { display: none; }
  .dep { padding: 8px 4px; font-size: 12.5px; }
  .c-dest { white-space: nowrap; }
  .t-fine .t-bars { display: none; }
}

/* ---------- ALBUM: the carousel is the opening screen ---------- */
.ride-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 48px; overflow: hidden; isolation: isolate; }
.ride-bg { position: absolute; inset: -6%; z-index: -2; background: center / cover no-repeat; filter: blur(5px) saturate(1.1) brightness(.4); transform: scale(1.06); animation: drift 50s ease-in-out infinite alternate; }
.ride-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, transparent 15%, rgba(13,8,5,.72) 78%), linear-gradient(180deg, transparent 78%, var(--ink)); }
.ride-hero .ride-stage { height: min(64vh, 600px); margin-top: 0; }
.canopy { position: absolute; left: 50%; width: min(1180px, 112vw); transform: translateX(-50%); pointer-events: none; overflow: visible; -webkit-mask: linear-gradient(90deg, transparent 4%, #000 24%, #000 76%, transparent 96%); mask: linear-gradient(90deg, transparent 4%, #000 24%, #000 76%, transparent 96%); }
.rim-text { font: 500 19px var(--mono); letter-spacing: 7px; text-transform: uppercase; fill: var(--cream); opacity: .78; }
.ride-caption { text-align: center; margin-top: 4px; }
.rc-title { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -.02em; transition: color .3s; }
.rc-title:hover { color: var(--accent); }
.rc-row { display: flex; gap: 16px; justify-content: center; align-items: center; color: var(--accent); margin-top: 10px; }
.rc-play { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--cream); transition: background .3s, border-color .3s, color .3s; }
.rc-play:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.rc-play svg { width: 14px; height: 14px; }
.album-body { padding-top: clamp(60px, 8vw, 110px); }
.album-cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.album-desc p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; margin: 0 0 .6em; color: var(--cream); }
.album-about .btn-row { margin-top: 28px; }
.album-cols .board { margin-top: 0; }
@media (max-width: 900px) {
  .album-cols { grid-template-columns: 1fr; }
  .ride-hero .ride-stage { height: 52vh; }
  .rim-text { font-size: 34px; letter-spacing: 10px; }
}

/* ---------- MAIN PAGE: the in.transit line ---------- */
.map { --cs: clamp(190px, 22vw, 330px); --tint: #f3a243; position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.map-bg { position: absolute; inset: -5%; z-index: -2; }
.map-bg .bg-layer { filter: blur(18px) saturate(1.2) brightness(.42); }
.map::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--tint) 14%, transparent), transparent 60%), radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(13,8,5,.85) 85%);
  transition: background .8s; }
.stations { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: clamp(48px, 9vw, 170px); padding: 0 var(--gutter); }
.stations::before { content: ""; position: absolute; top: calc(var(--cs) + 21px); left: calc(50% - 50vw); right: calc(50% - 50vw); height: 2px;
  background: linear-gradient(90deg, transparent, #f3a243 14%, #f3a243 38%, #e8250a 64%, #fa6e1f 80%, transparent);
  box-shadow: 0 0 18px rgba(243,140,60,.45); }
.stations::after { content: ""; position: absolute; top: calc(var(--cs) + 22px - 40px); left: calc(50% - 50vw); width: 260px; height: 80px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,226,170,.85), rgba(255,170,80,.25) 30%, transparent 65%);
  mix-blend-mode: screen; animation: travel 7s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes travel { from { transform: translateX(-260px); } to { transform: translateX(calc(100vw + 260px)); } }
.route { display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--cs) + 4px); }
.route-badge { position: relative; z-index: 1; display: inline-flex; align-items: baseline; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); border: 2px solid var(--cream);
  font-family: var(--serif); font-size: 20px; line-height: 32px; letter-spacing: -.01em; color: var(--cream); box-shadow: 0 0 24px rgba(0,0,0,.6); }
.route-badge b { color: #f3a243; font-weight: 400; text-shadow: 0 0 12px #f3a243; }
.stn { position: relative; display: flex; flex-direction: column; align-items: center; width: var(--cs); color: var(--cream); }
.stn-cover { width: var(--cs); height: var(--cs); border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px -30px #000, 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .5s; }
.stn-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
a.stn:hover .stn-cover { transform: translateY(-8px); box-shadow: 0 40px 80px -30px #000, 0 0 0 1px var(--stn), 0 0 60px -10px var(--stn); }
a.stn:hover .stn-cover img { transform: scale(1.05); }
.stn-node { width: 22px; height: 22px; margin: 11px 0; border-radius: 50%; background: var(--ink); border: 4px solid var(--stn); box-shadow: 0 0 0 4px var(--ink), 0 0 20px var(--stn); position: relative; z-index: 1; transition: transform .4s var(--ease); }
.stn:hover .stn-node { transform: scale(1.25); }
.stn-label { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-top: 10px; }
.stn-year { color: var(--stn); }
.stn-title { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.02em; }
.stn-meta { color: var(--muted); font-size: 11px; }
.stn.soon { cursor: default; }
.stn.soon .stn-cover img { filter: brightness(.82) saturate(1.1); animation: filament 5s infinite; }
.stn.soon .stn-node { background: transparent; border-style: dashed; }
.stn.soon .stn-meta { color: var(--stn); }
@keyframes filament { 0%, 100% { filter: brightness(.82) saturate(1.1); } 46% { filter: brightness(.82) saturate(1.1); } 48% { filter: brightness(1.05) saturate(1.25); } 50% { filter: brightness(.7); } 53% { filter: brightness(.95) saturate(1.2); } }
.about-visual.glow { background: radial-gradient(ellipse at 50% 60%, rgba(232,37,10,.12), transparent 60%), radial-gradient(ellipse at 40% 40%, rgba(243,162,67,.12), transparent 60%), var(--ink-2); }

/* ---------- album page extras ---------- */
.ride-bg { opacity: 0; transition: opacity 1.2s var(--ease); }
.ride-bg.on { opacity: 1; }
.t-note { margin: -8px 0 22px; }
.t-note p { margin: 0 0 2px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.35; opacity: .85; }

@media (max-width: 760px) {
  .map { --cs: min(62vw, 300px); align-items: flex-start; padding-top: 100px; }
  .stations { flex-direction: column; align-items: stretch; gap: 54px; padding-left: 76px; }
  .stations::before { top: 0; bottom: 0; left: 36px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, transparent, #f3a243 8%, #f3a243 40%, #e8250a 70%, #fa6e1f 88%, transparent); }
  .stations::after { display: none; }
  .route { padding-top: 0; align-items: flex-start; margin-left: -66px; }
  .stn { align-items: flex-start; width: auto; }
  .stn-node { position: absolute; left: -51px; top: calc(var(--cs) / 2 - 11px); margin: 0; }
  .stn-label { align-items: flex-start; text-align: left; }
}
