﻿:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

main {
  width: min(900px, 92vw);
  margin: 0 auto;
  padding-bottom: 3rem;
}

.section {
  margin-top: clamp(1.8rem, 5vw, 3rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 7vw, 4rem) 0 1rem;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(1.75rem, 6vw, 3.3rem);
}

.subtitle {
  max-width: 62ch;
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  color: var(--text);
  margin-top: 1rem;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.profile-links a,
.profile-email {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: #ffffff;
  font-size: 0.92rem;
}

.profile-email {
  color: var(--text);
}

.profile-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.profile-links a:hover {
  text-decoration: underline;
}

.subtitle p {
  margin: 0;
}

.subtitle p + p {
  margin-top: 0.85rem;
}

.subtitle a {
  color: var(--accent);
  text-decoration: none;
}

.subtitle a:hover {
  text-decoration: underline;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hero-photo figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.66rem 0.95rem;
  border: 1px solid var(--line);
  font-weight: 500;
  transition: 160ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

.btn-ghost {
  color: var(--text);
  background: #ffffff;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.6rem);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.paper-list {
  display: grid;
  gap: 0.8rem;
}

.paper-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem;
}

.paper-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.paper-authors {
  color: var(--muted);
  margin: 0;
}

.paper-venue {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.paper-highlight {
  color: #dc2626;
  font-weight: 600;
  margin: 0.3rem 0 0;
}

.paper-links {
  margin: 0.65rem 0 0;
}

.paper-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.paper-links a:hover,
.profile-links a:hover {
  text-decoration: underline;
}

.divider {
  color: var(--muted);
}

.experience-date {
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

#experience .paper-card p {
  margin: 0;
}

#experience .paper-card p + p {
  margin-top: 0.65rem;
}

#experience .paper-card a {
  color: var(--accent);
  text-decoration: none;
}

#experience .paper-card a:hover {
  text-decoration: underline;
}

#more-about p {
  margin: 0.75rem 0 0;
}

#more-about a {
  color: var(--accent);
  text-decoration: none;
}

#more-about a:hover {
  text-decoration: underline;
}

.plain-page {
  background: #ffffff;
}

.plain-page main {
  width: min(720px, 92vw);
}

.plain-list {
  margin-top: 2rem;
}

.plain-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.plain-musicians {
  margin: 0.45rem 0 0;
  padding-left: 1.05rem;
}

.plain-musicians li {
  font-size: 0.98rem;
  margin: 0.35rem 0;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}

@media (max-width: 650px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 260px;
  }

  nav {
    gap: 0.75rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
