  :root{
    --bg: #FFFFFF;
    --ink: #1B1E24;
    --muted: #63697A;
    --accent: #1E3A5F;
    --rule: #E3E5EA;
    --max: 700px;
    --green: #3F6357;
    --green-deep: #2E4A41;
    --on-green: #F4F5F0;
    --on-green-muted: #C7D6CC;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }

  body{
    margin:0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  a{ color: var(--accent); }

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

  /* ---------- Nav ---------- */
  .topbar{
    position: sticky; top:0; z-index: 20;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--rule);
  }
  .topbar-inner{
    max-width: var(--max); margin:0 auto; padding: 16px 24px;
    display:flex; align-items:center; justify-content:space-between;
    gap: 16px; flex-wrap: wrap;
  }
  .topbar .initials{
    font-family:'Source Serif 4', serif; font-weight:600; font-size: 15px; color: var(--ink);
  }
  nav{ display:flex; gap: 22px; flex-wrap: wrap; }
  nav a{
    font-size: 13.5px; font-weight:500; text-decoration:none; color: var(--muted);
    transition: color .15s;
  }
  nav a:hover{ color: var(--accent); }

  /* ---------- Hero ---------- */
  .hero-band{
    background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  }
  .hero{
    max-width: var(--max); margin: 0 auto; padding: 30px 24px 30px;
    display:grid; grid-template-columns: 1fr auto; gap: 32px; align-items:center;
  }
  .hero-eyebrow{
    font-size: 13.5px; font-weight:600; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--on-green-muted); margin: 0 0 14px;
  }
  h1.name{
    font-family:'Source Serif 4', serif;
    font-weight: 600;
    font-size: clamp(2.1rem, 5vw, 2.7rem);
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    color: var(--on-green);
  }
  .hero-role{
    font-size: 1.05rem; color: var(--on-green-muted); max-width: 48ch; margin: 0 0 22px;
  }
  .hero-meta{
    display:flex; flex-wrap:wrap; gap: 8px 14px;
    font-size: 14px; color: var(--on-green-muted);
  }
  .hero-meta a{ color: var(--on-green); text-decoration: none; border-bottom: 1px solid rgba(244,245,240,0.35); }
  .hero-meta a:hover{ border-color: var(--on-green); }
  .hero-meta .dot{ color: rgba(244,245,240,0.35); }

  .photo-slot{
    width: 256px; height: 256px;
    border-radius: 50%;
    border: 2px solid rgba(244,245,240,0.55);
    object-fit: cover;
    flex: none;
}
  /* ---------- Sections ---------- */
  section{ padding: 44px 0; border-top: 1px solid var(--rule); }

  .sec-label{
    font-size: 13px; font-weight:600; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--accent); margin: 0 0 22px;
  }

  .lede{ font-size: 1.04rem; color: var(--ink); max-width: 62ch; }

  /* Entries */
  .entry{ margin-bottom: 28px; }
  .entry:last-child{ margin-bottom: 0; }
  .entry-top{
    display:flex; justify-content:space-between; align-items:baseline; gap: 12px 20px;
    flex-wrap: wrap; margin-bottom: 2px;
  }
  .entry-top h3{
    font-family:'Source Serif 4', serif; font-weight:600; font-size: 1.08rem; margin:0;
  }
  .entry-top .dates{ font-size: 13px; color: var(--muted); white-space:nowrap; }
  .subrole{ font-size: 0.92rem; color: var(--muted); margin: 0 0 8px; }
  .entry ul{ margin: 6px 0 0; padding-left: 20px; }
  .entry li{ margin-bottom: 6px; }
  .entry li::marker{ color: var(--rule); }

  /* Publications */
  .pub-list{ list-style:none; margin:0; padding:0; }
  .pub-list li{
    padding: 14px 0; border-top: 1px solid var(--rule); font-size: 0.96rem;
  }
  .pub-list li:first-child{ border-top:none; padding-top:0; }
  .pub-list .authors{ font-weight:600; }
  .pub-list .journal{ font-style: italic; color: var(--muted); }
  .scholar-link{ margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

  /* Skills */
  .skill-group{ margin-bottom: 22px; }
  .skill-group:last-child{ margin-bottom:0; }
  .skill-group h4{
    font-size: 0.92rem; font-weight:600; color: var(--ink); margin: 0 0 8px;
  }
  .skill-group p{ margin:0; color: var(--muted); font-size: 0.95rem; }

  /* Ledger */
  .ledger{ list-style:none; margin:0; padding:0; }
  .ledger li{
    display:flex; gap: 16px; padding: 9px 0; border-top: 1px solid var(--rule);
    font-size: 0.94rem; align-items: baseline;
  }
  .ledger li:first-child{ border-top:none; padding-top:0; }
  .ledger .yr{ flex: none; width: 110px; color: var(--muted); font-size: 13px; }

  /* Contact */
  .contact-block{ padding: 52px 0 72px; }
  .contact-block p{ color: var(--muted); max-width: 52ch; margin: 0 0 22px; }
  .contact-links{ display:flex; flex-wrap:wrap; gap: 10px 22px; }
  .contact-links a{
    font-size: 14.5px; font-weight: 500; text-decoration:none; color: var(--ink);
    border-bottom: 1px solid var(--rule); padding-bottom: 2px;
  }
  .contact-links a:hover{ color: var(--accent); border-color: var(--accent); }

  footer.foot{
    max-width: var(--max); margin: 0 auto; padding: 24px 24px 40px;
    font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--rule);
  }

  @media (max-width: 600px){
    .hero{ grid-template-columns: 1fr; padding: 36px 24px 32px; text-align: center; }
    .hero-meta{ justify-content: center; }
    .photo-slot{ margin: 0 auto; }
    .entry-top{ flex-direction: column; align-items: flex-start; gap: 2px; }
  }

  /* ---------- Simple content pages (writing / blog) ---------- */
  .page-head{ padding: 44px 0 8px; }
  .page-head h1{
    font-family:'Source Serif 4', serif; font-weight:600;
    font-size: clamp(1.9rem, 4.5vw, 2.4rem); margin: 0 0 12px; color: var(--ink);
  }
  .page-head p{ color: var(--muted); max-width: 56ch; margin: 0; }

  .item-list{ list-style:none; margin:0; padding: 24px 0 60px; }
  .item-list li{
    padding: 22px 0; border-top: 1px solid var(--rule);
  }
  .item-list li:first-child{ border-top:none; padding-top: 0; }
  .item-card{ text-decoration:none; color: inherit; display:block; }
  .item-card .item-date{ font-size: 13px; color: var(--muted); margin: 0 0 6px; }
  .item-card h3{
    font-family:'Source Serif 4', serif; font-weight:600; font-size: 1.15rem;
    margin: 0 0 8px; color: var(--ink);
  }
  .item-card:hover h3{ color: var(--accent); }
  .item-card .item-dek{ color: var(--muted); font-size: 0.96rem; margin:0; }
  .item-card .item-tag{
    display:inline-block; margin-top: 10px; font-size: 12.5px; font-weight:600;
    color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em;
  }

  .placeholder-note{
    margin: 0 0 30px; padding: 14px 18px; background: #F7F8FA;
    border: 1px dashed var(--rule); font-size: 0.9rem; color: var(--muted);
  }

  .post-body{ padding: 8px 0 60px; max-width: 62ch; }
  .post-body p{ margin: 0 0 20px; }
  .back-link{ display:inline-block; margin: 30px 0 0; font-size: 14px; }
