/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-dark: #000000;
  --bg-card-dark: #161616;
  --border: rgba(0, 0, 0, 0.12);
  --border-dark: rgba(255, 255, 255, 0.15);
  --text: #000000;
  --text-dim: rgba(0, 0, 0, 0.62);
  --text-faint: rgba(0, 0, 0, 0.45);
  --text-on-dark: #ffffff;
  --text-on-dark-dim: rgba(255, 255, 255, 0.68);
  --text-on-dark-faint: rgba(255, 255, 255, 0.48);
  --accent: #1095b3;
  --accent-hover: #0d7f99;
  --max-width: 1180px;
  --header-h: 84px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 600;
}

section {
  padding: 88px 0;
}

h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
  margin-bottom: 40px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 18px 44px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  border: none;
  transition: background 0.18s ease;
  white-space: nowrap;
}

.btn:hover { background: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-dark);
  height: var(--header-h);
}

.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.brand { justify-self: center; grid-column: 2; }
.brand img { height: 26px; width: auto; }

.main-nav {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.85rem;
  color: var(--text-on-dark-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text-on-dark);
  border-bottom-color: var(--text-on-dark);
}

.header-socials {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-socials a {
  color: var(--text-on-dark);
  transition: opacity 0.15s ease;
}
.header-socials a:hover { opacity: 0.7; }
.header-socials svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  background: none;
  border: none;
  color: var(--text-on-dark);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  max-width: 880px;
  margin: 0 auto;
  text-transform: uppercase;
  line-height: 1.4;
}

.hero-media-frame {
  max-width: 780px;
  margin: 40px auto 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.hero-media-frame img,
.hero-media-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-course {
  margin-top: 40px;
}

.hero-course p {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 24px;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat-block h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.stat-block li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.95rem;
}
.stat-block li:last-child { border-bottom: none; }

/* ---------- Bio (full-bleed dark) ---------- */
.bio-section {
  position: relative;
  background: var(--bg-dark) url('assets/bio-wall.webp') center/cover no-repeat;
  padding: 110px 0;
}

.bio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.bio-section .wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  color: var(--text-on-dark);
}

.bio-section h2 {
  color: var(--text-on-dark);
  margin-bottom: 28px;
  font-size: 1.6rem;
}

.bio-section p { color: var(--text-on-dark-dim); margin-bottom: 18px; font-size: 1rem; }
.bio-section p:last-child { margin-bottom: 0; }

/* ---------- Projects (dark band) ---------- */
.projects-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 96px 0;
}

.projects-section .section-title { color: var(--text-on-dark); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.project-card {
  transition: opacity 0.18s ease;
}

.project-card:hover { opacity: 0.85; }

.project-card img { border-radius: 4px; }

.project-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }

.project-info { padding: 18px 0 0; text-align: center; }
.project-info p { font-size: 0.85rem; font-weight: 300; line-height: 1.8; color: var(--text-on-dark); }

.projects-footer {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Podcast / Mix-master CTAs ---------- */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.cta-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.cta-card h3 { font-size: 1.3rem; }
.cta-card p { color: var(--text-dim); font-size: 0.95rem; max-width: 34ch; }

/* ---------- Footer (full-bleed dark) ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 72px 0 44px;
  text-align: center;
}

.site-footer .brand-name { font-size: 1.5rem; letter-spacing: 0.06em; margin-bottom: 12px; color: var(--text-on-dark); }
.site-footer blockquote { color: var(--text-on-dark-dim); font-style: italic; font-size: 0.95rem; margin: 0 0 4px; }
.site-footer .quote-attr { color: var(--text-on-dark-faint); font-size: 0.85rem; margin-bottom: 32px; }

.footer-streaming {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-streaming a { color: var(--text-on-dark-dim); font-size: 0.85rem; letter-spacing: 0.04em; }
.footer-streaming a:hover { color: var(--text-on-dark); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 32px;
}
.footer-socials a { color: var(--text-on-dark-dim); }
.footer-socials a:hover { color: var(--text-on-dark); }
.footer-socials svg { width: 20px; height: 20px; }

.footer-contact {
  color: var(--text-on-dark-faint);
  font-size: 0.85rem;
}
.footer-contact a { color: var(--text-on-dark-dim); }
.footer-contact a:hover { color: var(--text-on-dark); }
.footer-contact .contact-row { margin-bottom: 4px; }

/* ---------- Music page ---------- */
.music-hero {
  padding: 72px 0 32px;
  text-align: center;
}
.music-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.music-hero p { color: var(--text-dim); max-width: 60ch; margin: 0 auto; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  padding-bottom: 96px;
}

.catalog-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f2f2f2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.catalog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.catalog-item:hover img { transform: scale(1.06); }

.catalog-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
  color: var(--text-on-dark);
  font-size: 0.72rem;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.catalog-item:hover .catalog-caption { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-split { grid-template-columns: 1fr; gap: 40px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .main-nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; background: var(--bg-dark); padding: 8px 24px 20px; }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.05rem; padding: 10px 0; width: 100%; border-bottom: none; }
  .site-header .wrap { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-top: 0; padding-bottom: 0; }
  .header-socials { display: none; }
  .nav-toggle { display: inline-flex; }
  section { padding: 56px 0; }
  .bio-section, .projects-section { padding: 72px 0; }
}
