:root {
  /* forest palette */
  --forest-deepest: #0f1c12;
  --forest-dark: #16281a;
  --forest: #23402a;
  --forest-mid: #35573b;
  --moss: #6f8f52;
  --fern: #5c8358;
  --bark: #5a4432;
  --bark-dark: #3a2b1e;
  --sun: #e3b464;
  --mist: #eef2e6;

  /* dusk accent (wildflowers / twilight sky) */
  --aubergine: #5a3159;
  --aubergine-dark: #2c1327;

  /* paper + text */
  --cream: #f2f0e2;
  --paper: #fbf8ee;
  --ink: #24291f;
  --muted: #5f6b53;
  --gold: #c9a24b;
  --line: #dcd8c2;

  --radius: 16px;
  --shadow: 0 12px 32px -14px rgba(15, 28, 18, 0.45);

  /* charcoal — sampled from the piano-room header photo (it's black & white) */
  --charcoal-dark: #141414;
  --charcoal: #333333;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif", serif;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(111, 143, 82, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 20%, rgba(90, 49, 89, 0.08), transparent 55%),
    var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

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

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Site nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--charcoal-dark), var(--charcoal));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.nav-links a.active {
  color: var(--sun);
  border-bottom: 2px solid var(--sun);
}

/* ---------- Sub-page header (smaller banner) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 28, 18, 0.55), rgba(10, 18, 12, 0.88)),
    url("https://yt3.googleusercontent.com/y8u6YKe9Yxxb-Ci-aAmmJm89xgDXQ0FkbNoHMv_tukMLHiiT0tTQQPd2NTgZre3rfSxwk5BePMM=w2120-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj")
    center / cover no-repeat;
  padding: 46px 24px;
  text-align: center;
}

.page-hero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 10px;
}
.page-hero .crumb a { color: var(--sun); text-decoration: none; }
.page-hero .crumb a:hover { text-decoration: underline; }

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-hero p {
  margin: 0 auto;
  max-width: 560px;
  opacity: 0.9;
  font-style: italic;
}

/* ---------- Landing explore grid ---------- */
#explore { padding-bottom: 100px; }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

@media (min-width: 860px) {
  .explore-grid { grid-template-columns: repeat(5, 1fr); }
}

.explore-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.explore-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -16px rgba(15, 28, 18, 0.55); }

.explore-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 0.4s ease;
}
.explore-card:hover .bg { transform: scale(1.06); }

.explore-card .tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 28, 18, 0.35) 0%, rgba(12, 20, 14, 0.9) 100%);
}

.explore-card .content {
  position: relative;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}

.explore-card .icon {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.explore-card h3 {
  margin: 0;
  font-size: 1.05rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.explore-card p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.explore-card .go {
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--sun);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 28, 18, 0.45), rgba(10, 18, 12, 0.85)),
    url("https://yt3.googleusercontent.com/y8u6YKe9Yxxb-Ci-aAmmJm89xgDXQ0FkbNoHMv_tukMLHiiT0tTQQPd2NTgZre3rfSxwk5BePMM=w2120-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj")
    center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 220px;
  height: 240px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjIwIj4KPGcgZmlsbD0iIzE1MjQxNyIgZmlsbC1vcGFjaXR5PSIwLjU1Ij4KPHBhdGggZD0iTTEwMCAyMjAgQzk1IDE3MCA5NSAxMjAgMTAwIDYwIEMxMDIgNDAgMTA4IDIwIDExOCA0Ii8+CjxwYXRoIGQ9Ik0xMDAgMTkwIEM3MCAxODAgNDAgMTY1IDE4IDE0MCIgc3Ryb2tlPSIjMTUyNDE3IiBzdHJva2Utd2lkdGg9IjYiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAwIDE2NSBDMTMwIDE1NSAxNTUgMTM4IDE3NSAxMTIiIHN0cm9rZT0iIzE1MjQxNyIgc3Ryb2tlLXdpZHRoPSI2IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTEwMCAxNDAgQzcyIDEzMiA0OCAxMTggMjggOTYiIHN0cm9rZT0iIzE1MjQxNyIgc3Ryb2tlLXdpZHRoPSI1IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTEwMCAxMTggQzEyNiAxMTAgMTQ4IDk1IDE2NiA3NCIgc3Ryb2tlPSIjMTUyNDE3IiBzdHJva2Utd2lkdGg9IjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAwIDk2IEM3OCA5MCA1OCA3OCA0MiA2MCIgc3Ryb2tlPSIjMTUyNDE3IiBzdHJva2Utd2lkdGg9IjQiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAwIDc4IEMxMjAgNzIgMTM4IDYwIDE1MiA0NCIgc3Ryb2tlPSIjMTUyNDE3IiBzdHJva2Utd2lkdGg9IjQiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAwIDYyIEM4NiA1OCA3MiA0OCA2MiAzNCIgc3Ryb2tlPSIjMTUyNDE3IiBzdHJva2Utd2lkdGg9IjMiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAwIDIwMCBMMTAwIDYwIiBzdHJva2U9IiMxNTI0MTciIHN0cm9rZS13aWR0aD0iNiIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjwvZz4KPC9zdmc+");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
}
.hero::before { left: -40px; transform: scaleX(-1); }
.hero::after { right: -40px; }

@media (max-width: 680px) {
  .hero::before, .hero::after { width: 130px; height: 150px; opacity: 0.35; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px 48px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.firefly {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 8px 3px rgba(231, 196, 104, 0.9);
  animation: flicker 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes flicker {
  0%, 100% { opacity: 0.15; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .firefly { animation: none; opacity: 0.5; }
}

.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  margin: 0 auto 20px;
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero .handle {
  opacity: 0.85;
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0 0 20px;
}

.stats {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
  font-size: 0.95rem;
}

.stats strong {
  display: block;
  font-size: 1.25rem;
  font-family: Georgia, serif;
}

.stats span { opacity: 0.85; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: #ff0033;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255, 0, 51, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.btn-forest {
  background: linear-gradient(180deg, var(--forest-mid), var(--forest));
  color: var(--mist);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), var(--shadow);
}

.btn-bark {
  background: linear-gradient(180deg, var(--bark), var(--bark-dark));
  color: var(--mist);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow);
}

.btn-dusk {
  background: linear-gradient(180deg, var(--aubergine), var(--aubergine-dark));
  color: var(--mist);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow);
}

.btn-gold {
  background: linear-gradient(180deg, #e0b563, var(--gold));
  color: #3a2b12;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), var(--shadow);
}

/* ---------- Sections ---------- */
section { padding: 60px 0; }

/* .wrap's own `padding: 0 24px` (needed for its horizontal max-width-
   container role in the nav, etc.) unintentionally zeroes out the
   60px vertical padding above whenever a <section> also has class
   "wrap" — which is nearly every page's last section before the
   footer. Restore the gap specifically for that last section so
   content never sits flush against the footer bar. */
main > section:last-of-type { padding-bottom: 60px; }
main > section:first-of-type { padding-top: 60px; }

.section-title {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
  font-style: italic;
}

.leaf-divider {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  margin: 0 0 8px;
}

/* Bio */
.bio {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--fern);
  border-radius: var(--radius);
  padding: 40px clamp(20px, 5vw, 56px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
}

.bio-photo {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 3px solid var(--paper);
  outline: 1px solid var(--line);
}

.bio p { margin: 0 0 16px; color: var(--ink); }
.bio p:last-child { margin-bottom: 0; }

.bio-signature {
  margin-top: 20px;
  font-style: italic;
  color: var(--aubergine);
}

@media (max-width: 680px) {
  .bio { grid-template-columns: 1fr; text-align: center; border-left: none; border-top: 6px solid var(--fern); }
  .bio-photo { max-width: 180px; margin: 0 auto; }
}

/* Featured video — deep forest clearing at dusk */
.featured {
  position: relative;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(231, 196, 104, 0.14), transparent 60%),
    linear-gradient(180deg, var(--forest-dark), var(--forest-deepest));
  color: #fff;
  overflow: hidden;
}
.featured .section-title, .featured .section-sub { color: #fff; }
.featured .section-sub { opacity: 0.85; }

.player {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 4px 14px -8px rgba(15, 28, 18, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.thumb-wrap { position: relative; }

.thumb-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(15, 20, 12, 0.8);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 20, 12, 0);
  transition: background 0.2s ease;
}
.card:hover .play-badge { background: rgba(15, 20, 12, 0.18); }
.play-badge svg { width: 46px; height: 46px; opacity: 0; transition: opacity 0.2s ease; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.card:hover .play-badge svg { opacity: 1; }

.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

.card-body h3 {
  font-size: 0.98rem;
  margin: 0 0 8px;
  line-height: 1.35;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
}

.card-meta {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.more-row { text-align: center; margin-top: 40px; }

/* Shorts — horizontally-scrolling row with arrow controls */
.shorts-row-wrap {
  position: relative;
}

.shorts-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 4px 2px 14px;
}

.short-card {
  scroll-snap-align: start;
  flex: 0 0 150px;
  width: 150px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px -8px rgba(15, 28, 18, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.short-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.short-card-thumb {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.short-card-body { padding: 8px 10px 12px; }

.short-card-title {
  margin: 0 0 4px;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-card-meta {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.shorts-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 28, 18, 0.75);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s ease;
}
.shorts-arrow:hover { background: var(--forest); }
.shorts-arrow-left { left: -6px; }
.shorts-arrow-right { right: -6px; }

@media (max-width: 680px) {
  .shorts-arrow { display: none; }
}

/* Listen / Sheet music link cards */
.alt-section { background: transparent; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.link-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.link-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.link-card-body h3 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 1.15rem;
}

.link-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sheet music — per-song rows: YouTube thumb -> sheet music preview -> buy */
.sheet-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  .sheet-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sheet-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.sheet-row-yt {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 192px;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
}
.sheet-row-yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sheet-row-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 2rem;
  transition: background 0.15s ease;
}
.sheet-row-yt:hover .sheet-row-play { background: rgba(6, 135, 245, 0.6); }

.sheet-row-preview {
  flex-shrink: 0;
  width: 108px;
  height: 144px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.sheet-row-body {
  flex: 1;
  min-width: 180px;
}

.sheet-row-body h3 {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 1.3rem;
  line-height: 1.3;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* Discography box — styled after the rikapiano.bandcamp.com page (dark chrome, blue accent) */
.discography-box {
  background: #252329;
  border-radius: var(--radius);
  padding: 28px clamp(16px, 4vw, 36px) 32px;
  box-shadow: var(--shadow);
  color: #d8d5db;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.discography-box .header {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #3d3a43;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.discography-box .header-id {
  display: flex;
  gap: 14px;
  align-items: center;
}

.discography-box .header-id img {
  width: 34px;
  height: 34px;
}

.discography-box .header-id h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}

.discography-box .header-id span {
  display: block;
  color: #9c98a3;
  font-size: 0.8rem;
  margin-top: 2px;
}

.discography-box .btn-bandcamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0687f5;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.discography-box .btn-bandcamp:hover { background: #0a75d1; }

.bc-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 22px 16px;
}

@media (min-width: 560px) {
  .bc-track-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bc-tile {
  display: flex;
  flex-direction: column;
}

.bc-tile-art {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.6);
}

.bc-tile-title {
  display: block;
  margin: 10px 0 8px;
  color: #d8d5db;
  font-size: 0.85rem;
  line-height: 1.3;
  text-decoration: none;
}
.bc-tile-title:hover { color: #0687f5; }

.bc-tile-embed {
  border-radius: 3px;
  overflow: hidden;
}

.bc-tile-embed iframe {
  display: block;
  width: 100%;
  height: 42px;
}

/* Radio — shuffled, looping player through the discography */
.radio-box {
  background: #252329;
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
  color: #d8d5db;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.on-air {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff5a6e;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.on-air .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5a6e;
  box-shadow: 0 0 8px 2px rgba(255, 90, 110, 0.7);
  animation: flicker 1.6s ease-in-out infinite;
}

.now-playing {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #3d3a43;
  padding-bottom: 26px;
  margin-bottom: 22px;
}

.now-playing-video {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
}
.now-playing-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.now-playing-info {
  flex: 1;
  min-width: 220px;
}

.now-playing-info .track-num {
  color: #9c98a3;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.now-playing-info h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.25;
}

.radio-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.radio-controls button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #34313a;
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}
.radio-controls button:hover { background: #0687f5; }
.radio-controls button.primary { background: #0687f5; }
.radio-controls button.primary:hover { background: #0a75d1; }

.radio-queue-label {
  color: #9c98a3;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.radio-queue {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 420px;
  overflow-y: auto;
}

.radio-queue li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #b8b4bf;
  cursor: pointer;
  transition: background 0.15s ease;
}
.radio-queue li:hover,
.radio-queue li:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.radio-queue li .qnum {
  width: 22px;
  flex-shrink: 0;
  color: #6b6873;
  font-size: 0.8rem;
  text-align: center;
}

.radio-queue li.current {
  background: rgba(6, 135, 245, 0.16);
  color: #fff;
  font-weight: 600;
}
.radio-queue li.current .qnum { color: #0687f5; }

/* Streaming platform pills */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--bark), var(--bark-dark));
  color: var(--mist);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.platform-pill:hover { transform: translateY(-2px); }

.platform-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px;
  object-fit: contain;
}

.link-card-icon img.platform-icon {
  width: 40px;
  height: 40px;
  padding: 6px;
}

/* Footer — forest floor at night */
footer {
  position: relative;
  background: var(--forest-deepest);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.9rem;
}

footer a { color: var(--sun); text-decoration: underline; }

.made-with {
  margin-top: 10px;
  opacity: 0.65;
  font-size: 0.8rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
