:root {
  --bg: #05060b;
  --ink: #eef1f8;
  --ink-2: rgba(238, 241, 248, .66);
  --ink-3: rgba(238, 241, 248, .38);
  --accent: #7cc4ff;
  --accent-2: #b59cff;
  --accent-3: #5ef0c8;
  --glass: rgba(255, 255, 255, .055);
  --glass-strong: rgba(255, 255, 255, .09);
  --edge: rgba(255, 255, 255, .14);
  --radius: 28px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); letter-spacing: .08em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
em { font-style: normal; color: var(--ink); background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55; mix-blend-mode: screen;
  will-change: transform;
}
.b1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -20vmax; background: radial-gradient(circle, #2b5cff 0%, transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 45vmax; height: 45vmax; right: -12vmax; top: 10vh; background: radial-gradient(circle, #8a4dff 0%, transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -20vmax; background: radial-gradient(circle, #00c2a8 0%, transparent 65%); animation: drift3 28s ease-in-out infinite alternate; opacity: .35; }
.b4 { width: 25vmax; height: 25vmax; left: 55vw; top: 45vh; background: radial-gradient(circle, #ff5fa2 0%, transparent 65%); animation: drift1 36s ease-in-out infinite alternate-reverse; opacity: .25; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vw, 30vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-15vw, -25vh) scale(1.2); } }
.grain {
  position: absolute; inset: -50%;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .07; animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

/* ---------- Liquid glass ---------- */
.glass {
  --mx: 50%; --my: 0%;
  position: relative;
  background:
    radial-gradient(120% 80% at var(--mx) var(--my), rgba(255,255,255,.10), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(255,255,255,.04));
  backdrop-filter: blur(22px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.08);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.06),
    inset 1px 0 0 rgba(255,255,255,.08),
    inset -1px 0 0 rgba(255,255,255,.05),
    0 20px 60px -20px rgba(0,0,0,.65),
    0 2px 10px rgba(0,0,0,.25);
  isolation: isolate;
}
/* specular rim */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.05) 30%, rgba(255,255,255,0) 60%, rgba(255,255,255,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 1;
}
/* inner sheen that follows the pointer */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(170, 210, 255, .16), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease); z-index: 0;
}
.glass:hover::after { opacity: 1; }
.glass > * { position: relative; z-index: 2; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  transition: transform .5s var(--ease), padding .4s var(--ease);
}
.nav.compact { transform: scale(.94); }
.nav.hidden { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand-logo { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(64,140,255,.55)); transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .25s, background .25s; }
.nav ul a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.nav ul a.active { color: var(--ink); background: rgba(255,255,255,.1); }
.nav-cta { color: var(--bg) !important; background: var(--ink) !important; font-weight: 600; }

/* ---------- Altimeter ---------- */
.altimeter {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40;
  width: 54px; padding: 14px 0; border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--ink-3);
}
.alt-track { width: 3px; height: 160px; border-radius: 3px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.alt-fill { position: absolute; bottom: 0; left: 0; right: 0; height: 0%; background: linear-gradient(to top, var(--accent-3), var(--accent), var(--accent-2)); border-radius: 3px; box-shadow: 0 0 10px var(--accent); }
.alt-value { color: var(--ink); font-size: 9px; }

/* ---------- Layout bits ---------- */
section { position: relative; padding: 140px max(24px, 6vw); }
.eyebrow { font-size: 12px; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(38px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; font-weight: 600; max-width: 14ch; }
h2 .serif { letter-spacing: -.01em; }
h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; line-height: 1.15; }
.section-head { margin-bottom: 70px; }
.link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); transition: transform .3s var(--ease), color .3s; }
.link:hover { transform: translateX(4px); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn.ghost { color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); }

/* reveal (blur-to-sharp lift) */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 6vw; padding-top: 120px; }
.hero-title {
  font-size: clamp(60px, 9.4vw, 168px); line-height: .9; letter-spacing: -.055em; font-weight: 700;
  display: flex; flex-direction: column; margin-bottom: 30px;
}
.hero-title .serif { font-weight: 400; letter-spacing: -.03em; padding-left: .5em; background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(80%) rotate(8deg); filter: blur(12px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); will-change: transform; }
.split { white-space: nowrap; display: block; will-change: transform; }
.line-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) .55s; padding-right: .1em; }
.line-reveal.in { clip-path: inset(0 -10% 0 0); }
.split .ch.in { opacity: 1; transform: none; filter: none; }
.hero-sub { font-size: clamp(18px, 1.8vw, 24px); color: var(--ink-2); max-width: 30ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card { width: min(460px, 100%); justify-self: center; padding: 14px; border-radius: 36px; transform-style: preserve-3d; will-change: transform; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -12px; } }
.hero-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #1b2a4a, #3a2160); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticket { padding: 20px 10px 6px; display: grid; gap: 14px; }
.ticket > div, .ticket .row > div { display: flex; flex-direction: column; }
.ticket .k { font-size: 10px; color: var(--ink-3); }
.ticket .row { flex-direction: row; align-items: center; justify-content: space-between; border-top: 1px dashed rgba(255,255,255,.15); padding-top: 14px; }
.ticket .big { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plane-mini { width: 28px; fill: var(--accent); transform: rotate(90deg); animation: fly 2.6s ease-in-out infinite; }
@keyframes fly { 50% { transform: rotate(90deg) translateY(-10px); } }

.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- About (illuminate) ---------- */
.about { height: 260vh; padding: 0 max(24px, 6vw); }
.about-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.illuminate { font-size: clamp(26px, 3.3vw, 50px); line-height: 1.2; letter-spacing: -.03em; font-weight: 600; max-width: 28ch; }
.illuminate .w { color: rgba(238,241,248,.12); transition: color .25s linear, text-shadow .25s; }
.illuminate .w.on { color: var(--ink); }
.illuminate .w.hl.on { color: var(--accent); text-shadow: 0 0 30px rgba(124,196,255,.45); }

/* ---------- Flight log ---------- */
.log-body { position: relative; display: grid; gap: 90px; padding: 40px 0 60px; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-base { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.route-trail { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--accent)); }
.plane { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: 2; pointer-events: none; will-change: transform; }
.plane svg { width: 100%; height: 100%; fill: var(--ink); filter: drop-shadow(0 0 14px rgba(124,196,255,.9)); }
.wp { width: min(440px, 100%); padding: 30px; z-index: 3; }
.wp:nth-of-type(odd) { justify-self: start; }
.wp:nth-of-type(even) { justify-self: end; }
.wp-code { display: inline-block; font-size: 11px; color: var(--accent-3); margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(94,240,200,.08); border: 1px solid rgba(94,240,200,.2); }
.wp h3 { margin-bottom: 10px; }
.wp p { color: var(--ink-2); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.mini-stats div, .plugin-stats div { display: flex; flex-direction: column; }
.mini-stats b { font-size: 28px; letter-spacing: -.03em; }
.mini-stats span, .plugin-stats span { font-size: 12px; color: var(--ink-3); }

/* ---------- Plugins horizontal ---------- */
.plugins { padding: 0; }
.plugins-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 44px; padding: 90px 0 40px; }
.plugins-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 max(24px, 6vw); flex-wrap: wrap; }
.plugin-stats b { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.h-track { display: flex; gap: 24px; padding: 0 max(24px, 6vw); width: max-content; will-change: transform; }
.pcard { width: 340px; flex: none; padding: 30px; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.pcard img { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px; object-fit: cover; }
.pcard .ver { font-size: 11px; color: var(--ink-3); margin-bottom: 6px; }
.pcard h3 { margin-bottom: 10px; }
.pcard p { color: var(--ink-2); font-size: 15px; flex: 1; }
.pcard-cta { background: linear-gradient(160deg, rgba(124,196,255,.16), rgba(181,156,255,.08)); }
.pcard-cta .btn { margin-top: 20px; align-self: flex-start; }
.h-progress { margin: 0 max(24px, 6vw); height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.h-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---------- Featured: Discogs Dice ---------- */
.featured .section-head h2 { max-width: none; }
.feature-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 60px); overflow: hidden; transform-style: preserve-3d; }
.feature-lead { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; margin: 18px 0 14px; }
.feature-sub { color: var(--ink-2); max-width: 44ch; }
.feature-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.feature-actions .link { margin-top: 0; }
.badge { align-self: flex-start; font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(181,156,255,.12); color: var(--accent-2); border: 1px solid rgba(181,156,255,.25); }
.badge.live { background: rgba(94,240,200,.1); color: var(--accent-3); border-color: rgba(94,240,200,.3); }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 8px currentColor; animation: pulse 2s ease-in-out infinite; }
.turntable { position: relative; aspect-ratio: 1; width: min(420px, 100%); justify-self: center; }
.record {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, #0b0c12 0 6%, transparent 6.5%),
    repeating-radial-gradient(circle, #15161f 0 2px, #0c0d14 2px 4px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06);
}
.record::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.14) 25%, transparent 32% 70%, rgba(255,255,255,.1) 75%, transparent 82%); }
.record.r1 { animation: spin 3.2s linear infinite; }
.record .label { position: absolute; inset: 34%; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent)); box-shadow: inset 0 0 0 10px rgba(0,0,0,.15); }
.record .label::after { content: ""; position: absolute; inset: 44%; border-radius: 50%; background: var(--bg); }
.record.r2 { transform: translate(14%, -6%) scale(.86); opacity: .55; }
.record.r3 { transform: translate(24%, -12%) scale(.72); opacity: .3; }
@keyframes spin { to { transform: rotate(360deg); } }
.dice { position: absolute !important; width: 78px; height: 78px; border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.06)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 20px 40px -10px rgba(0,0,0,.6); }
.dice span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px rgba(255,255,255,.6); }
.die-a { left: -6%; bottom: 4%; animation: roll 5s var(--ease) infinite; }
.die-a span:nth-child(1) { top: 14px; left: 14px; } .die-a span:nth-child(2) { top: 14px; right: 14px; } .die-a span:nth-child(3) { top: 33px; left: 33px; } .die-a span:nth-child(4) { bottom: 14px; left: 14px; } .die-a span:nth-child(5) { bottom: 14px; right: 14px; }
.die-b { right: 2%; bottom: -4%; width: 62px; height: 62px; border-radius: 16px; animation: roll 5s var(--ease) 1.2s infinite; }
.die-b span:nth-child(1) { top: 10px; left: 10px; } .die-b span:nth-child(2) { top: 25px; left: 25px; } .die-b span:nth-child(3) { bottom: 10px; right: 10px; }
@keyframes roll { 0%, 70% { transform: rotate(0) translateY(0); } 78% { transform: rotate(120deg) translateY(-30px); } 88% { transform: rotate(280deg) translateY(4px); } 100% { transform: rotate(360deg) translateY(0); } }

/* vinyl + concerts in flight log */
.wp-vinyl { position: absolute !important; top: 22px; right: 22px; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, var(--accent-2) 0 14%, #0b0c12 15% 18%, transparent 19%), repeating-radial-gradient(circle, #1a1b25 0 1.5px, #0c0d14 1.5px 3px); animation: spin 4s linear infinite; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.setlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.setlist li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.setlist li.more { background: none; color: var(--ink-3); font-weight: 400; box-shadow: none; padding-inline: 4px; }

/* ---------- Travel tracker (auto slideshow) ---------- */
.tracker { padding: 14px; border-radius: 32px; }
.tracker-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 8px 14px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; }
.tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 10px 16px 12px; border: 0; border-radius: 14px; background: rgba(255,255,255,.04); color: var(--ink-3); font: 600 14px var(--sans); cursor: pointer; transition: background .3s, color .3s; }
.tab .mono { font-size: 10px; opacity: .7; }
.tab:hover { color: var(--ink); }
.tab.active { background: rgba(255,255,255,.1); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.tab i { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.tab i b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.map-hud { display: flex; gap: 18px; font-size: 12px; }
.hud-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-3); }
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); animation: pulse 1.6s ease-in-out infinite; }
#hudCount { color: #ffd36b; font-weight: 600; min-width: 11ch; text-align: right; }
.tracker-stage { position: relative; display: grid; grid-template-columns: 1fr 230px; gap: 18px; height: clamp(380px, 62vh, 620px); }
.map-frame { position: relative; overflow: hidden; border-radius: 22px; background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.tracker[data-slide="air"] .map-frame { opacity: 0; transform: scale(.96); pointer-events: none; }
.tmaps { position: absolute !important; inset: 0; }
.tmap { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); will-change: transform, opacity; }
.tmap-world { opacity: 0; }
.land path { fill: rgba(255,255,255,.07); stroke: rgba(5,6,11,.9); stroke-width: .7; stroke-linejoin: round; transition: fill .6s var(--ease), filter .6s; }
.land path.lit { fill: rgba(124,196,255,.78); filter: drop-shadow(0 0 6px rgba(124,196,255,.55)); }
.tmap-world .land path.lit { fill: rgba(181,156,255,.8); filter: drop-shadow(0 0 5px rgba(181,156,255,.6)); }
.arc { fill: none; stroke: #ffd36b; stroke-width: 1.6; stroke-linecap: round; opacity: .9; }
.tmap-world .arc { stroke-width: 1.3; }
.dot { fill: #ffd36b; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.8,.5,1), opacity .2s; }
.ping { fill: none; stroke: #ffd36b; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.dest.on .dot { opacity: 1; transform: scale(1); }
.dest.on .ping { animation: ping 1.1s ease-out 1; }
@keyframes ping { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(2.2); } }
.home-dot { fill: var(--accent-3); }
.home-ring { fill: none; stroke: var(--accent-3); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: homering 2.4s ease-out infinite; }
@keyframes homering { from { transform: scale(.4); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.map-list { list-style: none; display: flex; flex-direction: column; gap: 6px; align-self: center; font-size: 12px; transition: opacity .5s; }
.map-list li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 12px; color: var(--ink-3); background: rgba(255,255,255,.03); transition: color .4s, background .4s, transform .4s var(--ease); }
.map-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .4s, box-shadow .4s; flex: none; }
.map-list li.on { color: var(--ink); background: rgba(255,255,255,.08); transform: translateX(4px); }
.map-list li.on::before { background: #ffd36b; box-shadow: 0 0 8px #ffd36b; }
.map-list li.home::before { background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }
.map-list[data-phase="world"] { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.map-list[data-phase="world"] li { padding: 5px 9px; font-size: 11px; }
.tracker[data-slide="air"] .map-list { opacity: 0; pointer-events: none; }

/* airlines slide: split-flap board */
.air-board { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px clamp(8px, 4vw, 60px); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.tracker[data-slide="air"] .air-board { opacity: 1; pointer-events: auto; transform: none; }
.air-row { display: grid; grid-template-columns: 80px 1fr 110px; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); opacity: .25; transition: opacity .3s; }
.air-row.on { opacity: 1; }
.air-row.head { background: none; box-shadow: none; opacity: 1; font-size: 11px; color: var(--ink-3); padding-block: 2px; }
.air-row .code { font-size: 26px; font-weight: 600; color: var(--accent); }
.air-row .name { display: flex; gap: 3px; flex-wrap: wrap; min-height: 40px; }
.air-row .name .c { display: grid; place-items: center; width: 27px; height: 40px; border-radius: 5px; background: linear-gradient(#171b2a 50%, #10131e 50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); font: 600 21px var(--mono); color: #ffd36b; position: relative; }
.air-row .name .c::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.7); }
.air-row .name .c.sp { background: none; box-shadow: none; }
.air-row .name .c.sp::after { display: none; }
.air-row .status { text-align: right; opacity: 0; transition: opacity .4s; }
.air-row.landed .status { opacity: 1; }

/* stat panels in the plugins header */
.stat-panels { display: flex; gap: 14px; flex-wrap: wrap; }
.plugin-stats { position: relative; display: flex; gap: 28px; padding: 30px 26px 16px; transition: transform .35s var(--ease); }
.plugin-stats:hover { transform: translateY(-3px); }
.panel-tag { position: absolute !important; top: 10px; left: 26px; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--ink-3); }
.panel-tag svg { width: 14px; height: 14px; fill: #ff4d4d; }
.plugin-stats.yt b { background: linear-gradient(90deg, #ff6b6b, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Departures ---------- */
.departures { overflow: hidden; padding-block: 160px; }
.board-row small { font-size: 10px; color: var(--ink-3); margin-left: 6px; }
.travel-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; opacity: .28; filter: saturate(1.2); will-change: transform; mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.travel-inner { position: relative; }
.board { padding: 14px; max-width: 760px; }
.board-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; padding: 18px 20px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.board-row:last-child { border-bottom: 0; }
.board-row.head { font-size: 11px; color: var(--ink-3); padding-block: 10px; }
.board-row > .mono:first-child { font-size: 14px; }
.flap { display: flex; gap: 6px; }
.flap .d {
  width: 46px; height: 62px; border-radius: 8px; position: relative; perspective: 300px;
  background: linear-gradient(#141826 50%, #0e111c 50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 6px 14px rgba(0,0,0,.4);
  font-family: var(--mono); font-weight: 600; font-size: 34px; display: grid; place-items: center; color: #ffd36b;
}
.flap .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.7); }
.flap .d.flip { animation: flip .09s linear; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }
.status { font-size: 12px; color: var(--accent-3); }
.status.boarding { color: #ffd36b; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- Contact ---------- */
.contact { display: grid; place-items: center; min-height: 90vh; }
.contact-card { padding: clamp(36px, 6vw, 80px); width: min(980px, 100%); text-align: center; }
.contact-card h2 { margin: 0 auto 14px; font-size: clamp(56px, 10vw, 140px); }
.contact-card > p { color: var(--ink-2); margin-bottom: 40px; }
.contact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.clink { line-height: inherit; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 20px; font-size: 17px; font-weight: 600; border: 0; color: var(--ink); font-family: inherit; cursor: pointer; text-align: left; transition: transform .35s var(--ease); }
.clink:hover { transform: translateY(-3px); }
.clink .k { font-size: 10px; color: var(--ink-3); font-weight: 400; }

.footer { display: flex; justify-content: space-between; padding: 30px max(24px, 6vw) 40px; color: var(--ink-3); font-size: 13px; border-top: 1px solid rgba(255,255,255,.06); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; gap: 50px; }
  .hero-card { max-width: 380px; }
  .nav ul li:not(:last-child) { display: none; }
  .altimeter { display: none; }
  .contact-links { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .turntable { width: min(300px, 80%); order: -1; }
  .tracker { padding: 10px; border-radius: 24px; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 10px 6px 12px; font-size: 13px; }
  .map-hud { width: 100%; justify-content: space-between; padding: 0 4px; }
  .tracker-stage { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .map-frame { aspect-ratio: 1.35; }
  .tmap { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
  .map-list, .map-list[data-phase="world"] { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; min-height: 120px; align-content: flex-start; }
  .map-list li, .map-list[data-phase="world"] li { padding: 5px 9px; font-size: 10px; }
  .air-board { padding: 4px; gap: 5px; }
  .air-row { grid-template-columns: 38px 1fr; gap: 10px; padding: 8px 10px; }
  .air-row .status, .air-row.head span:last-child { display: none; }
  .air-row .code { font-size: 15px; }
  .air-row .name { gap: 2px; }
  .air-row .name .c { width: 13px; height: 22px; font-size: 11px; }
  .stat-panels, .plugin-stats { width: 100%; }
  .plugin-stats { justify-content: space-between; gap: 12px; padding: 28px 18px 14px; }
  .wp:nth-of-type(n) { justify-self: center; }
  .log-body { gap: 70px; }
  .pcard { width: 290px; }
  .plugin-stats b { font-size: 24px; }
  .flap .d { width: 38px; height: 52px; font-size: 28px; }
  .board-row { grid-template-columns: 1fr auto; }
  .board-row .status, .board-row.head span:last-child { display: none; }
  section { padding-block: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .ch, .line-reveal { clip-path: none; opacity: 1; transform: none; filter: none; }
  .illuminate .w { color: var(--ink); }
  .about { height: auto; } .about-sticky { position: static; height: auto; padding-block: 120px; }

}
