*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a; --surface: #141414; --surface2: #1c1c1c;
  --text: #f0f0f0; --text-muted: #777; --accent: #4ade80; --border: #252525;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── Fixed canvas background ── */
#hero-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  display: block;
}

/* ── Dark overlay (fades in on scroll) ── */
#bg-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* ── Header ── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 2.5rem; background: rgba(10,10,10,0.7); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.logo { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.06em; transition: color 0.2s; }
nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
}
.hero-content { position: relative; z-index: 2; padding: 0 2.5rem 5rem; }
.hero-label { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(3.5rem, 9vw, 9rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.03em; color: var(--text); margin-bottom: 2.5rem; }
.hero-connecting { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.1rem, 2.5vw, 1.8rem); font-weight: 500; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 1.5rem; }
.hero-desc { color: var(--text-muted); font-size: 1.035rem; line-height: 1.8; padding-left: 1.25rem; border-left: 2px solid var(--accent); }

/* ── Featured Interview ── */
.featured-section { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 0 2.5rem 5rem; }
.featured-card { display: flex; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.3s; }
.featured-card:hover { border-color: var(--accent); }
.featured-img { flex: 0 0 42%; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.featured-card:hover .featured-img img { transform: scale(1.04); }
.featured-body { flex: 1; padding: 3rem 3.5rem; display: flex; flex-direction: column; justify-content: center; border-left: 2px solid var(--accent); background: var(--surface); }
.featured-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.featured-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.1rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.45; color: var(--text); margin-bottom: 2.5rem; }
.featured-source { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.06em; transition: color 0.2s; }
.featured-card:hover .featured-source { color: var(--accent); }
@media (max-width: 768px) {
  .featured-section { padding: 0 1.25rem 4rem; }
  .featured-card { flex-direction: column; }
  .featured-img { flex: none; height: 220px; }
  .featured-body { padding: 1.75rem; }
}

/* ── Content sections (solid bg, scroll over canvas) ── */
.section-wrap { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 6rem 2.5rem; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

/* ── Works Grid ── */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; }
.work-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.25s, transform 0.25s; }
.work-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.work-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb .placeholder { width: 100%; height: 100%; }
.type-badge { position: absolute; top: 0.75rem; right: 0.75rem; background: rgba(10,10,10,0.75); backdrop-filter: blur(4px); color: var(--text-muted); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 2px; }
.work-info { padding: 1.25rem; }
.work-tags { display: flex; gap: 0.75rem; margin-bottom: 0.5rem; }
.tag { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.work-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.5rem; }
.work-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.6rem; }
.work-date { font-size: 0.72rem; color: var(--text-muted); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 600; line-height: 1.15; margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1rem; font-size: 0.9rem; }
.social-links { display: flex; flex-direction: column; gap: 0.6rem; }
.social-link { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.1rem; border: 1px solid var(--border); border-radius: 3px; text-decoration: none; color: var(--text); font-size: 0.85rem; transition: border-color 0.2s, background 0.2s; }
.social-link:hover { border-color: var(--accent); background: var(--surface2); }
.social-link .handle { color: var(--text-muted); font-size: 0.78rem; }

/* ── Music Player ── */
.section-link { font-size: 0.72rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; }
.section-link:hover { color: var(--accent); }
.album-name { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.5rem; }
.album-name em { font-style: normal; }
.album-sub { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 2.5rem; }
.music-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.track-col { display: flex; flex-direction: column; }
.track-list { list-style: none; }
.track-item { display: flex; align-items: center; gap: 1rem; padding: 0.65rem 0.9rem; border-radius: 3px; cursor: pointer; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s; }
.track-item:hover { background: var(--surface); border-color: var(--border); }
.track-item.active { background: var(--surface); border-color: var(--accent); }
.track-num { font-family: 'Space Grotesk', sans-serif; font-size: 0.62rem; color: var(--text-muted); letter-spacing: 0.08em; min-width: 1.4rem; }
.track-item.active .track-num { color: var(--accent); }
.track-name { font-size: 0.85rem; line-height: 1.3; }
.player-wrap { position: sticky; top: 6rem; }
.album-art { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 3px; margin-bottom: 0.5rem; }
.track-col iframe { width: 100%; border: 1px solid var(--border); border-radius: 3px; display: block; margin-top: 1.5rem; }
@media (max-width: 768px) {
  .music-layout { grid-template-columns: 1fr; gap: 2rem; }
  .player-wrap { position: static; }
}

/* ── Footer ── */
footer { position: relative; z-index: 3; border-top: 1px solid var(--border); padding: 1.75rem 2.5rem; display: flex; justify-content: space-between; align-items: center; }
footer p { color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.04em; }

/* ── Responsive ── */
@media (max-width: 768px) {
  header { padding: 1rem 1.25rem; } nav { gap: 1.25rem; }
  .hero-content { padding: 0 1.25rem 4rem; }
  .section-wrap { padding: 4rem 1.25rem; }
  .works-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
