/* ============================================================
   CORBIN COMBS — PERSONAL SITE
   Dark theme + parallax. Colors: ink / paper / electric violet.
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ink: #060a08;
  --ink-2: #0a110c;
  --ink-3: #101a13;
  --paper: #eef0f4;
  --muted: #93a298;
  --accent: #52ff93;
  --accent-2: #26e6c4;
  --accent-3: #d4a24e;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { max-width: 100%; display: block; }

.accent { color: var(--accent); }
.accent-2 { color: var(--accent-2); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 10, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 6vw;
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--paper);
}
.nav-brand-dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--paper); text-decoration: none; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle-lines { display: grid; gap: 5px; width: 22px; }
.nav-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (parallax) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  background-image:
    linear-gradient(180deg, rgba(4, 8, 6, 0.55) 0%, rgba(4, 8, 6, 0.72) 55%, rgba(4, 8, 6, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 18% 22%, rgba(82, 255, 147, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 82% 70%, rgba(38, 230, 196, 0.10), transparent 60%),
    url("../assets/img/hero-band.jpg");
  background-image:
    linear-gradient(180deg, rgba(4, 8, 6, 0.55) 0%, rgba(4, 8, 6, 0.72) 55%, rgba(4, 8, 6, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 18% 22%, rgba(82, 255, 147, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 82% 70%, rgba(38, 230, 196, 0.10), transparent 60%),
    image-set(
      url("../assets/img/hero-band.webp") type("image/webp"),
      url("../assets/img/hero-band.jpg") type("image/jpeg")
    );
  background-size: cover, auto, auto, cover;
  background-position: center;
}
.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 255, 147, 0.22), transparent 65%);
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(30px);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 6vw;
  max-width: 900px;
}
.hero-eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  margin-bottom: 18px;
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 30%, var(--accent) 55%, var(--accent-2) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-tagline {
  margin: 26px auto 34px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #060a08;
  box-shadow: 0 8px 30px rgba(82, 255, 147, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(82, 255, 147, 0.5); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

.hero-scroll {
  margin-top: 70px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- SECTIONS ---------- */
.section { padding: 110px 6vw; position: relative; }
.section-dark {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.container { max-width: 1080px; margin: 0 auto; }

.kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-lead { color: var(--muted); max-width: 720px; margin-bottom: 44px; }
.sub-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin: 56px 0 20px;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-fact {
  background: rgba(82, 255, 147, 0.08);
  border: 1px solid rgba(82, 255, 147, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--paper) !important;
  text-align: justify;
  text-align-last: left;
}
.about-fact-label {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-right: 8px;
}
.about-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(1.5deg);
  transition: transform 0.3s ease;
}
.about-photo picture, .studio-photo picture { display: block; }
.about-photo img:hover { transform: rotate(0deg) scale(1.01); }
.photo-caption {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 10px;
  opacity: 0.7;
}

/* ---------- MUSIC ---------- */
.music-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.video-wrap, .spotify-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.video-wrap iframe { width: 100%; aspect-ratio: 16 / 9; display: block; }
.embed-facade { position: relative; }
.embed-load {
  width: 100%;
  min-height: 100%;
  border: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 20% 20%, rgba(82, 255, 147, 0.12), transparent 45%),
    var(--ink-3);
  font: inherit;
  cursor: pointer;
}
.video-wrap .embed-load { aspect-ratio: 16 / 9; }
.embed-load--image { position: relative; display: grid; place-items: center; overflow: hidden; }
.embed-load--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed-load--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 10, 8, 0.78));
}
.embed-play {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding-left: 4px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  font-size: 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.embed-load:hover .embed-play { transform: scale(1.08); background: var(--accent-2); }
.embed-label {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 18px;
  font-family: var(--font-head);
  font-weight: 600;
}
.embed-facade--text .embed-load {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px;
  text-align: left;
}
.embed-load strong, .embed-load small { display: block; }
.embed-load strong { font-family: var(--font-head); font-size: 1.05rem; }
.embed-load small { color: var(--muted); margin-top: 4px; }
.spotify-wrap { min-height: 352px; }
.embed-load--spotify {
  min-height: 352px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: left;
}
.spotify-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1ed760;
  color: #061008;
  font-size: 2rem;
  font-weight: 700;
}
.embed-load--spotify .embed-play { width: 50px; height: 50px; font-size: 1rem; }
.spotify-wrap iframe { width: 100%; height: 352px; display: block; border: 0; }
.music-video-caption {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;
}

.track-list { list-style: none; margin: 8px 0 0; }
.track-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.track-name { font-family: var(--font-head); font-weight: 500; }
.track-src { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

.link-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.link-card {
  flex: 0 1 165px;
  max-width: 200px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  background: rgba(82, 255, 147, 0.08);
  text-decoration: none;
}
.link-card-icon { color: var(--accent); }
.link-card-arrow { margin-left: auto; color: var(--muted); font-size: 0.8rem; }

/* ---------- STUDIO ---------- */
.studio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.studio-text p { color: var(--muted); margin-bottom: 18px; }
.studio-list { list-style: none; margin: 20px 0; }
.studio-list li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}
.studio-list li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.studio-list strong { color: var(--paper); }
.gear { display: flex; flex-direction: column; gap: 9px; margin: 22px 0; }
.gear-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gear-cat {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  flex: 0 0 84px;
}
.gear-item {
  font-size: 0.84rem;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: 999px;
}
.gear-item:hover { border-color: var(--accent); }
.studio-links { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.studio-photo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.studio-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}
.studio-photo picture:nth-child(even) img { transform: rotate(1.5deg); }
.studio-photo img:hover { transform: rotate(0deg) scale(1.01); }

.past-bands {
  margin-top: 56px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- PROJECTS / PAST BANDS ---------- */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
}
.band-card {
  flex: 1 1 300px;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.band-card:hover { transform: translateY(-5px); border-color: rgba(82, 255, 147, 0.45); }
.band-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.band-name::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 2px; margin-top: 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.band-role { color: var(--paper); font-size: 0.9rem; }
.band-role em { color: var(--accent-2); font-style: normal; }
.band-extra { color: var(--muted); font-size: 0.85rem; }
.band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.band-links a {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.band-links a:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(38, 230, 196, 0.07);
  text-decoration: none;
}

.live-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.02);
}
.live-block .sub-title { margin: 0 0 12px; }
.live-text p { color: var(--muted); font-size: 0.95rem; }

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  margin: 40px 0 0;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: 0.5;
}
.tl-item { position: relative; margin-bottom: 34px; }
.tl-dot {
  position: absolute;
  left: -28px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(82, 255, 147, 0.15);
}
.tl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tl-card:hover { transform: translateX(6px); border-color: rgba(82, 255, 147, 0.4); }
.tl-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; }
.tl-company { color: var(--accent); font-weight: 500; }
.tl-meta {
  color: var(--accent-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 6px 0 12px;
}
.tl-card ul { list-style: none; }
.tl-card li {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 4px 0 4px 18px;
  position: relative;
}
.tl-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- SKILLS ---------- */
.skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.skill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font-size: 0.82rem;
  transition: border-color 0.2s, color 0.2s;
}
.skill:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------- DIY ---------- */
.diy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.diy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.diy-card:hover { transform: translateY(-6px); border-color: rgba(82, 255, 147, 0.4); }
.diy-photo { height: 170px; }
.diy-card h3 { font-family: var(--font-head); font-size: 1rem; padding: 18px 20px 4px; }
.diy-card p { color: var(--muted); font-size: 0.88rem; padding: 0 20px 22px; }

/* ---------- EDIT PLACEHOLDER STYLING ---------- */
.edit-me { opacity: 0.55; }
.edit-me::after { content: " ✎"; color: var(--accent-3); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 6vw 60px;
  text-align: center;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-contact { max-width: 620px; margin: 0 auto 20px; color: var(--muted); }
.footer-cta { margin-bottom: 28px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-note { color: var(--muted); font-size: 0.76rem; }

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 10vw 6vw;
}
.not-found .section-title { margin: 0; }
.not-found > p:not(.kicker) { color: var(--muted); }

/* ---------- MTG DECKS ---------- */
.decks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.deck-card {
  flex: 0 1 250px;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.deck-card:hover {
  transform: translateY(-5px);
  border-color: rgba(82, 255, 147, 0.45);
  text-decoration: none;
}
.deck-photo {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.deck-body { padding: 16px 18px 18px; }
.deck-body h3 { font-family: var(--font-head); font-size: 1.05rem; }
.deck-commander { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.deck-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.pips { display: flex; gap: 5px; }
.pip {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.pip-w { background: #e8e4d0; color: #333; }
.pip-u { background: #1e6bb8; color: #fff; }
.pip-b { background: #17181c; color: #cfd2d6; }
.pip-r { background: #d3202f; color: #fff; }
.pip-g { background: #1f7a3d; color: #fff; }
.deck-format {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- TRAVEL MAP ---------- */
.travel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}
.travel-stat {
  flex: 1 1 140px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
}
.travel-stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
}
.travel-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#travel-map {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0d1017;
  z-index: 1;
}
.map-loading {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}
.map-unavailable { display: grid; place-items: center; padding: 24px; color: var(--muted); }
.travel-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}
.travel-legend .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: -1px;
}
.travel-note {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 10px;
  opacity: 0.75;
}

/* ---------- LEAFLET DARK OVERRIDES ---------- */
.leaflet-container { font-family: var(--font-body); background: #0d1017; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--ink-3);
  color: var(--paper);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.leaflet-popup-content { margin: 12px 14px; line-height: 1.5; }
.travel-pop strong { display: block; font-family: var(--font-head); color: var(--paper); }
.travel-pop span { color: var(--muted); font-size: 0.82rem; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-bar a {
  display: block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  background: var(--ink-3);
  color: var(--paper);
  border-bottom-color: var(--line);
}
.leaflet-bar a:hover { background: var(--ink-2); color: var(--paper); }
.leaflet-control-attribution {
  background: rgba(6, 10, 8, 0.7) !important;
  color: var(--muted) !important;
  font-size: 10px;
}
.leaflet-control-attribution a { color: var(--accent-2) !important; }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .about-grid, .studio-grid, .music-grid, .live-block { grid-template-columns: 1fr; }
  .nav { padding: 10px 5vw; background: rgba(6, 10, 8, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nav.scrolled { padding: 8px 5vw; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 12px 5vw 20px;
    background: rgba(6, 10, 8, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--paper);
    font-size: 1rem;
  }
  .nav-links a:hover { background: rgba(82, 255, 147, 0.08); }
  .section { padding: 80px 5vw; }
  .hero-name { font-size: clamp(2.6rem, 13vw, 4rem); }
  #travel-map { height: 400px; }
  .hero-actions { max-width: 300px; margin-inline: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .embed-load--spotify { padding: 24px 18px; gap: 14px; }
  .spotify-mark { width: 56px; height: 56px; }
  .embed-load--spotify .embed-play { display: none; }
  /* hero photo: keep the guitarist/singer (right side of the frame) centered */
  .hero-bg { background-position: center, center, center, 72% center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-glow, .hero-content { transform: none !important; }
  .hero-scroll-line { animation: none; }
  .skip-link, .nav, .nav-links, .nav-toggle-lines span, .embed-play { transition: none; }
}
