/* ============================================================
   DESIGN SYSTEM
   ============================================================ */

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

:root {
  --bg:          #F8F7F5;
  --surface:     #FFFFFF;
  --text:        #1A1A1A;
  --text-muted:  #64748B;
  --accent:      #2B5C8A;
  --accent-light:#EBF1F8;
  --accent-hover:#1E4266;
  --border:      #E2E8F0;
  --shadow:      0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);

  --font-serif:  'Lora', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius:      6px;
  --max-width:   1080px;
  --nav-height:  60px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-hover); text-decoration: underline; }

img { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-wordmark:hover { text-decoration: none; color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); text-decoration: none; }

.nav-links .nav-cv {
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.nav-links .nav-cv:hover { background: var(--accent-hover); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 32px;
    text-transform: none;
    font-size: 1rem;
  }
  .nav-links .nav-cv {
    margin: 8px 32px;
    display: inline-block;
    width: auto;
  }
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */

.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   HOMEPAGE HERO (rich variant with portrait)
   ============================================================ */

.hero--rich {
  position: relative;
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(43,92,138,0.10) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(43,92,138,0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(43,92,138,0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  opacity: 0.7;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 720px) {
  .hero-container { grid-template-columns: 1fr; gap: 32px; justify-items: center; text-align: center; }
}

.hero-portrait { text-align: center; }

.portrait-frame {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 1px var(--border),
    0 12px 32px rgba(43, 92, 138, 0.15),
    0 4px 12px rgba(0,0,0,0.06);
  position: relative;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 60%, rgba(43,92,138,0.05));
  pointer-events: none;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-caption {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portrait-flag {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-content { min-width: 0; }

@media (max-width: 720px) {
  .hero-content { display: flex; flex-direction: column; align-items: center; }
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}

@media (max-width: 720px) { .hero-name { font-size: 2.4rem; } }

.hero-credentials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-role {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.hero-role strong { color: var(--text); font-weight: 600; }

.hero-bio {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 720px) { .hero-links { justify-content: center; } }

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.15s;
  background: var(--surface);
}
.hero-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.hero-link svg { flex-shrink: 0; }

/* ============================================================
   SECTION KICKERS
   ============================================================ */

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ============================================================
   FOCUS / EDUCATION SPLIT SECTION
   ============================================================ */

.section-focus { padding-top: 64px; padding-bottom: 64px; }

.focus-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 720px) {
  .focus-grid { grid-template-columns: 1fr; gap: 40px; }
}

.focus-lede {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  margin: 12px 0 24px;
  max-width: 580px;
}

.focus-areas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.focus-area {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

.focus-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}

.education-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.education-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}

.education-list li {
  padding-left: 14px;
  border-left: 2px solid var(--accent-light);
  transition: border-color 0.15s;
}
.education-list li:hover { border-left-color: var(--accent); }

.education-degree {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 3px;
}

.education-inst {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 2px;
}

.education-year {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTION TINT (alternating background)
   ============================================================ */

.section-tint {
  background: linear-gradient(180deg, rgba(43,92,138,0.025), rgba(43,92,138,0.04));
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
}

.section-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

/* ============================================================
   PUBLICATION CARDS (homepage featured)
   ============================================================ */

.pub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.pub-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.pub-card-link:hover { text-decoration: none; color: inherit; }

.pub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pub-card-link:hover .pub-card {
  box-shadow: 0 8px 28px rgba(43, 92, 138, 0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pub-card--with-image .pub-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.pub-card--with-image .pub-card-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.pub-card-link:hover .pub-card-thumb img { opacity: 0.92; }

.pub-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pub-card:not(.pub-card--with-image) {
  padding: 24px;
  gap: 12px;
}

.pub-journal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 8px;
  border-radius: 3px;
  width: fit-content;
}

.pub-card-title {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  flex: 1;
}

.pub-card-title a {
  color: var(--text);
  text-decoration: none;
}
.pub-card-title a:hover { color: var(--accent); }

.pub-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pub-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* ============================================================
   LINK BUTTONS
   ============================================================ */

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.link-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

/* ============================================================
   RESEARCH TILES
   ============================================================ */

.research-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .research-tiles { grid-template-columns: 1fr; }
}

.research-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.research-tile-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.research-tile-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.35;
}

.research-tile-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.research-tile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   WRITING ITEMS
   ============================================================ */

.writing-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.writing-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.writing-item:last-child { border-bottom: none; }

@media (max-width: 500px) {
  .writing-item { grid-template-columns: 1fr; gap: 8px; }
}

.writing-outlet {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}

.writing-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.writing-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}
.writing-title a { color: var(--text); }
.writing-title a:hover { color: var(--accent); }

.writing-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PUBLICATIONS PAGE — FILTER BAR
   ============================================================ */

.filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
}

.filter-group + .filter-group::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--border);
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-count-wrap {
  margin-left: auto;
}

.filter-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 4px 11px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   PUBLICATIONS LIST (publications.html)
   ============================================================ */

.pub-year-group { margin-bottom: 48px; }

.pub-year-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pub-entry {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.pub-entry:last-child { border-bottom: none; }

.pub-entry-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.pub-entry-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  flex: 1;
}
.pub-entry-title a { color: var(--text); }
.pub-entry-title a:hover { color: var(--accent); text-decoration: none; }

.type-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  margin-left: 6px;
  vertical-align: 1px;
}
.type-badge--abstract {
  background: #FEF3E2;
  color: #9A4F00;
  border: 1px solid #FED7AA;
}

.pub-entry-authors {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 4px;
}
.pub-entry-authors .author-me {
  color: var(--text);
  font-weight: 600;
}

.pub-entry-venue {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.pub-entry-venue .journal-name {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}

.pub-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Publication entry with thumbnail */
.pub-entry--with-image {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 640px) {
  .pub-entry--with-image {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }
}

.pub-entry-thumb {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #FAFAF8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.pub-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pub-entry-body {
  min-width: 0;
}

/* Authors expand/collapse */
.authors-short { display: inline; }
.authors-full { display: none; }
.authors-full.expanded { display: inline; }
.authors-short.collapsed { display: none; }

.authors-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0 2px;
  font-family: var(--font-sans);
}
.authors-toggle:hover { text-decoration: underline; }

/* ============================================================
   RESEARCH PAGE
   ============================================================ */

.research-section {
  padding: 24px 0 40px;
  border-bottom: 1px solid var(--border);
}
.research-section:first-of-type { padding-top: 0; }
.research-section:last-child { border-bottom: none; }

.research-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: block;
  background: #FAFAF8;
}

/* GBD banner needs a slight crop adjustment to vertically center the title text;
   NHLBI banner uses the default center crop. */
.research-section:first-of-type .research-banner {
  object-position: center 45%;
}

@media (max-width: 640px) {
  .research-banner { height: 140px; }
}

.research-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.research-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.research-body {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 24px;
}

.research-body p + p { margin-top: 1em; }

.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   WRITING PAGE
   ============================================================ */

.writing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.writing-card-outlet {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.writing-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.writing-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}
.writing-card-title a { color: var(--text); }
.writing-card-title a:hover { color: var(--accent); }

.writing-card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   UTILITIES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

#pub-list-container.loading::after {
  content: "Loading publications…";
  display: block;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  :root { --bg: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .site-nav, .nav-toggle, .site-footer,
  .hero-bg, .hero-links, .section-link, .filter-section,
  .pub-entry-links, .research-links, .research-tile-links,
  .portrait-caption, .hero-eyebrow { display: none !important; }
  .hero--rich { padding: 0 0 16pt; border-bottom: 1px solid #ccc; }
  .hero-container { grid-template-columns: 1fr; gap: 12pt; }
  .portrait-frame { width: 90pt; height: 90pt; box-shadow: none; border: 1px solid #ccc; }
  .section, .section-tint { padding: 16pt 0; border-bottom: 1px solid #ccc; background: none; }
  .pub-card, .research-tile, .education-card, .writing-card {
    box-shadow: none; border: 1px solid #ccc; break-inside: avoid;
  }
  .pub-entry, .writing-item { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  .pub-card-link a[href^="http"]::after { content: ""; }
}
