/* ── Tokens ── */
:root {
    --bg:        #fafafa;
    --card:      #ffffff;
    --card-deep: #f3f3f3;
    --ink:       #1a1a1a;
    --ink-soft:  #4a4a4a;
    --accent:    #808080;
    --accent-dk: #111;
    --rule:      #eee;
    --nav-h:     56px;
    --radius:    16px;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  
  /* ── Reset ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
  }
  
  /* ── Links ── */
  a { color: var(--accent); text-decoration: none; }
  a:hover { color: var(--accent-dk); text-decoration: underline; }
  
  /* ══════════════════════════════
     NAV
  ══════════════════════════════ */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--card);
    border-bottom: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  }
   
  /* Desktop: links sit centered */
  .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
  }
   
  .nav-links a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--ink); text-decoration: none; }
   
  /* Hamburger hidden on desktop */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ink);
    position: absolute;
    right: 28px;
  }
   
  /* ── Mobile nav ── */
  @media (max-width: 600px) {
    .navbar {
      position: sticky;
      justify-content: flex-end;
    }
  
    .nav-links {
      display: none;
    }
  
    .nav-links.open {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      position: absolute;
      top: var(--nav-h);
      left: 0;
      right: 0;
      z-index: 101;
      background: var(--card);
      border-bottom: 1px solid var(--rule);
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .nav-links li { border-top: 1px solid var(--rule); width: 100%; }
    .nav-links a { display: block; padding: 14px 28px; }
    .nav-toggle { display: block; }
  }
  
  /* ══════════════════════════════
     HERO
  ══════════════════════════════ */
  .hero {
    max-width: 760px;
    margin: 48px auto 0;
    padding: 0 20px;
  }
  
  .hero-inner {
    padding-left: 3vw;
    display: flex;
    align-items: center;
    gap: 36px;
  }
  
  .hero-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--accent);
  }
  
  .hero-text h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
  }
  
  @media (max-width: 520px) {
    .hero-inner { flex-direction: column; text-align: center; padding-left: 0; }
    .hero-text h1 { font-size: 1.8rem; }
  }
  
  /* ══════════════════════════════
     PAGE CONTAINER & CARDS
  ══════════════════════════════ */
  .page {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  .card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 36px 40px;
    border: 1px solid var(--rule);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  }
  
  @media (max-width: 520px) {
    .card { padding: 24px 20px; }
  }
  
  /* ── Section titles ── */
  .section-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--ink);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 22px;
  }
  
  .sub-heading {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 18px 0 10px;
  }
  
  /* ── Generic item list ── */
  .item-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .item-list li {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
    gap: 8px;
  }
  
  .item-list li a { color: var(--accent); }
  .item-list li a:hover { color: var(--accent-dk); }
  
  .label {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .03em;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* ── Publication list ── */
  .pub-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 20px;
  }
  
  .pub-list li {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
  }
  
  .pub-title {
    font-style: italic;
    color: var(--ink);
  }
  
  .pub-status {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--accent);
    margin-left: 4px;
  }
  
  /* ── Outreach list ── */
  .outreach-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  
  /* ── Email contact line ── */
  .contact-line {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    font-size: 16px;
    color: var(--ink);
  }
  
  .contact-line a {
    color: var(--accent);
    font-weight: 600;
  }
  .contact-line a:hover { color: var(--accent-dk); }
  
  /* ══════════════════════════════
     FOOTER
  ══════════════════════════════ */
  .footer {
    text-align: center;
    padding: 24px 20px 48px;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: .04em;
  }
  
  /* ══════════════════════════════
     SCROLL REVEAL
     threshold 0.05 = triggers much sooner
  ══════════════════════════════ */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  