@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Sans:wght@300;400;500&display=swap');

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

:root {
  --ink: #1a1a18;
  --ink-mid: #4a4a42;
  --ink-light: #8a8a7e;
  --ink-faint: #c8c8bc;
  --page: #faf8f3;
  --paper: #ffffff;
  --accent: #2a6b4e;
  --accent-pale: #e8f2ed;
  --green-border: #c8e0d4;
  --accent-green: #7ab89a;
  --tag-bg: #f0ede5;
  --rule: #e0ddd4;
  --serif: 'Lora', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo {
  font-family: var(--serif); font-size: 17px; color: var(--ink);
  text-decoration: none; letter-spacing: 0.01em;
}
.nav-links { display: flex; list-style: none; }
.nav-links a {
  display: block; padding: 0 1rem; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 400; color: var(--ink-mid);
  text-decoration: none; line-height: 56px;
  border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── DARK HERO (shared across all pages) ── */
.hero {
  background: var(--ink);
  color: var(--page);
  padding: 3.5rem 2rem 3rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(42,107,78,0.15) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
}
.hero-kicker {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-green); margin-bottom: 1.2rem; font-weight: 400;
}
.hero-name {
  font-family: var(--serif); font-size: 64px; font-weight: 400;
  line-height: 1.05; margin-bottom: 1.5rem; color: #f5f3ee;
}
.hero-name em { font-style: italic; color: var(--accent-green); }
.hero-bio {
  font-size: 16px; line-height: 1.75; color: #b8b5aa;
  font-weight: 300; max-width: 540px; margin-bottom: 2rem;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.5rem; }
.hero-pill {
  font-size: 11px; padding: 4px 12px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.12); color: #9a9890; letter-spacing: 0.04em;
}
.hero-socials { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hero-social {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-green); text-decoration: none;
  border-bottom: 1px solid rgba(122,184,154,0.3); padding-bottom: 1px;
}
.hero-stat-block {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-end;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: var(--serif); font-size: 36px; font-weight: 400;
  color: var(--accent-green); display: block; line-height: 1; margin-bottom: 3px;
}
.hero-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #6a6a60; }
.hero-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); margin-left: auto; }

/* ── MAIN LAYOUT ── */
.main-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 3rem 2rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--rule);
}
.section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-light); font-weight: 500; }
.section-count { font-size: 11px; color: var(--ink-faint); }

/* ── SIDEBAR SHARED ── */
.sidebar-section { margin-bottom: 2.5rem; }
.about-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 3px; overflow: hidden; margin-bottom: 2rem;
}
.about-card-top {
  background: var(--ink); padding: 1.5rem; text-align: center;
}
.about-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(122,184,154,0.15);
  border: 2px solid rgba(122,184,154,0.35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  overflow: hidden;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-avatar-init { font-family: var(--serif); font-size: 24px; color: var(--accent-green); }
.about-card-name { font-family: var(--serif); font-size: 17px; color: #f5f3ee; font-weight: 400; margin-bottom: 4px; }
.about-card-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-green); }
.about-card-body { padding: 1.25rem; }
.about-card-bio { font-size: 13px; line-height: 1.65; color: var(--ink-mid); font-weight: 300; margin-bottom: 1rem; }
.about-card-links { display: flex; flex-wrap: wrap; gap: 6px; }
.about-card-link {
  font-size: 11px; padding: 4px 10px; border: 1px solid var(--rule);
  border-radius: 2px; text-decoration: none; color: var(--ink-mid);
  letter-spacing: 0.03em; transition: all 0.12s;
}
.about-card-link:hover { border-color: var(--accent); color: var(--accent); }

.pub-list { display: flex; flex-direction: column; }
.pub-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px solid var(--rule); font-size: 12px; cursor: pointer;
}
.pub-item:first-child { border-top: 1px solid var(--rule); }
.pub-name { color: var(--ink-mid); }
.pub-count {
  font-size: 11px; color: var(--ink-faint);
  background: var(--tag-bg); padding: 2px 7px; border-radius: 10px;
}

.timeline-mini { display: flex; flex-direction: column; }
.tl-item {
  display: grid; grid-template-columns: 1fr; gap: 0.2rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 12px;
}
.tl-item:first-child { border-top: 1px solid var(--rule); }
.tl-year { color: var(--ink-faint); font-size: 10px; letter-spacing: 0.02em; }
.tl-org { font-weight: 500; color: var(--ink); font-size: 12px; }
.tl-role { color: var(--ink-light); font-size: 11px; font-weight: 300; }

.topic-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-chip {
  font-size: 11px; padding: 4px 10px; border-radius: 2px;
  background: var(--tag-bg); color: var(--ink-mid);
}

.podcast-card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; padding: 1.25rem;
}
.podcast-wave { display: flex; align-items: center; gap: 3px; margin-bottom: 0.75rem; }
.wave-bar { width: 3px; border-radius: 2px; background: var(--accent); opacity: 0.6; }
.podcast-name { font-family: var(--serif); font-size: 15px; font-weight: 400; margin-bottom: 5px; }
.podcast-desc { font-size: 12px; color: var(--ink-light); line-height: 1.6; font-weight: 300; margin-bottom: 1rem; }
.podcast-link {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid rgba(42,107,78,0.25); padding-bottom: 1px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner { padding: 0 1rem; }
  .nav-links a { padding: 0 0.6rem; font-size: 11px; }

  /* Hero */
  .hero { padding: 2rem 1rem 1.75rem; }

  /* Main layout → single column */
  .main-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  /* Hero name smaller */
  .hero-name { font-size: 44px; }
  .hero-bio { font-size: 14px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-right { text-align: center; }
  .footer-nav { justify-content: center; }

  /* Section header */
  .section-header { margin-bottom: 1rem; }
}

@media (max-width: 480px) {
  .nav-links a { padding: 0 0.4rem; font-size: 10px; letter-spacing: 0.04em; }
  .hero-name { font-size: 36px; }
  .hero-pills { gap: 5px; }
  .hero-pill { font-size: 10px; padding: 3px 9px; }
  .hero-socials { gap: 0.8rem; }
}

/* ── FOOTER ── */
footer { background: var(--ink); color: #6a6a60; padding: 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-name { font-family: var(--serif); color: #b8b5aa; font-size: 16px; }
.footer-right { text-align: right; font-size: 12px; }
.footer-email { color: var(--accent-green); text-decoration: none; display: block; margin-bottom: 4px; font-size: 13px; }
.footer-nav { display: flex; gap: 1.5rem; margin-top: 8px; justify-content: flex-end; }
.footer-nav a { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: #6a6a60; text-decoration: none; }
.footer-nav a:hover { color: var(--accent-green); }
