/* ===== Design tokens ===== */
:root {
  --bg: #0b0d12;
  --bg-alt: #12151c;
  --surface: #171b24;
  --text: #eef0f4;
  --text-dim: #9aa2b1;
  --accent: #6ee7b7;
  --accent-strong: #34d399;
  --border: rgba(255, 255, 255, 0.08);
  --max-w: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ===== Header / nav ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
#header .content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#logo a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}
#nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
#nav li { margin: 0; }
#nav svg { display: none; }
#nav li a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
#nav li a:hover { color: var(--text); background: var(--surface); }
#nav li a.active { color: var(--accent); }

/* ===== Sections ===== */
section, #slide1, #slide2, #slide3, #slide4, #slide5 {
  padding: 120px 0 80px;
}
#slide2, #slide4 { background: var(--bg-alt); }

#slide1 {
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(110, 231, 183, 0.14), transparent 60%),
    var(--bg);
}
#slide1 .content { display: flex; flex-direction: column; align-items: center; gap: 20px; }

#headshot img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}

h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
h2 {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
}
h3.quotes {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-align: left;
  margin: 0 0 28px;
}

.quotes_container {
  max-width: 640px;
  margin: 0 auto;
  background: none;
  padding: 0;
}

.section-content {
  font-family: var(--font);
  font-size: 17px;
  color: var(--text-dim);
  text-align: left;
  column-count: 1;
}
.section-content > a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 231, 183, 0.4);
}
.section-content > a:hover { border-bottom-color: var(--accent); }

/* ===== Music links ===== */
#music { margin-top: 40px; }
#music ul, #contact ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}
#music li, #contact li { margin: 0; padding: 0; }
#music a, #contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
#music a svg, #contact a svg { width: 22px; height: 22px; }
#music a:hover, #contact a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ===== Contact section ===== */
#slide5 {
  background: var(--bg);
  text-align: center;
}
#slide5 h3.quotes { text-align: center; }
#contact { margin-top: 8px; }

#copyright {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 60px;
  text-align: center;
}
#copyright a { text-decoration: none; color: var(--text-dim); }
#copyright a:hover { color: var(--text); }

/* ===== Floating music player ===== */
#music-player {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 300px;
  max-width: calc(100vw - 32px);
  z-index: 90;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
#music-player.collapsed { transform: translateY(calc(100% - 40px)); }
#music-player-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  background: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  #nav li a span { display: none; }
  #nav svg { display: block; width: 20px; height: 20px; }
  #nav ul { gap: 2px; }
  #nav li a { padding: 10px; }
  section, #slide1, #slide2, #slide3, #slide4, #slide5 { padding: 90px 0 60px; }
  #music-player { width: 260px; }
}
