:root {
  --bg:           #0d1117;
  --bg-secondary: #161b22;
  --text:         #e6edf3;
  --text-muted:   #8b949e;
  --maroon:       #800020;
  --gold:         #c9a84c;
  --border:       #30363d;
  --nav-height:   60px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* ── LAYOUT ── */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3.5rem) 2rem 5rem;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

.about-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-content .tagline {
  color: #7ec8e3;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 55ch;
}

.bio-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.bio-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ti-red {
  font-size: 1.3rem;
  color: #e31837;
}

.calvin {
  font-size: 1.3rem;
  color: #c9a84c;
}

.bio-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0.1rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: var(--maroon);
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  flex: 1;
}

.project-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  border-radius: 3px;
}

.project-link {
  align-self: flex-start;
  font-size: 0.85rem;
  color: var(--maroon);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.2s;
}

.project-link:hover {
  color: var(--gold);
}

/* ── CONTACT ── */
.contact-section {
  max-width: 480px;
}

.contact-section p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.mailto-link {
  display: inline-block;
  color: var(--gold);
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--maroon);
  padding-bottom: 2px;
  margin-bottom: 3rem;
  transition: color 0.2s;
}

.mailto-link:hover {
  color: var(--text);
}

/* ── MUSIC ── */
.music-bio {
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 2.5rem;
}

.music-bio strong {
  color: var(--text);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.video-card:hover {
  border-color: var(--gold);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.audio-wrapper {
  padding: 1.25rem 1rem 0.5rem;
}

.audio-wrapper audio {
  width: 100%;
}

.video-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  main {
    padding: calc(var(--nav-height) + 2rem) 1.25rem 4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .photo-placeholder {
    width: 140px;
    height: 140px;
  }
}
