/* Layout: single centered column (max 1080px); split hero with headshot over a team-network motif; three expertise columns; dated publication list; compact service and speaking lists. */
:root {
  --bg: #F4F7F7;
  --surface: #FFFFFF;
  --ink: #13242A;
  --muted: #51636A;
  --line: #D7E0E2;
  --accent: #1E6D69;      /* deeper version of her current teal */
  --accent-soft: #E1EEEC;
  --node: #9DB7B9;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E171A; --surface: #152227; --ink: #E4EDEE; --muted: #9BAEB3;
    --line: #26373D; --accent: #63BDB5; --accent-soft: #173130; --node: #3E5A5E; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E171A; --surface: #152227; --ink: #E4EDEE; --muted: #9BAEB3;
  --line: #26373D; --accent: #63BDB5; --accent-soft: #173130; --node: #3E5A5E; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  padding: 0 20px;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; }

header.site {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
  padding-block: 22px; border-bottom: 3px solid var(--ink);
}
.brand { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); text-decoration: none; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding-block: 48px 64px;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04; letter-spacing: -.015em; margin: 0; text-wrap: balance;
}
h1 .sub {
  display: block; margin-top: 16px; font-family: var(--font-body); font-size: .38em; line-height: 1.25;
  color: var(--accent); font-weight: 600; letter-spacing: 0;
}
.lede { max-width: 56ch; color: var(--ink); margin: 28px 0 32px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid var(--accent);
}
.btn.primary { background: var(--accent); color: var(--bg); }
.btn.ghost { color: var(--accent); background: transparent; }

.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; }
.portrait svg.net { position: absolute; inset: -8% -10% auto auto; width: 92%; height: auto; }
.photo {
  position: absolute; left: 0; bottom: 0; width: 82%; aspect-ratio: 4 / 5; max-width: 100%;
  background: var(--accent-soft); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* Credentials strip */
.creds {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-block: 1px solid var(--line); margin: 0; padding: 0; list-style: none;
}
.creds li { padding: 22px 20px; border-left: 1px solid var(--line); }
.creds li:first-child { border-left: 0; padding-left: 0; }
.creds .k { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.creds .v { font-weight: 600; font-size: 15px; line-height: 1.4; }

section { padding-block: 72px 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin: 0; text-wrap: balance; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* Expertise */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
/* Subgrid lines up icon, heading, and text rows across all three cards, even when one heading wraps */
.pillar {
  border-top: 2px solid var(--accent); padding-top: 20px; min-width: 0;
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; align-content: start;
}
.pillar h3 { margin: 0; align-self: start; text-wrap: balance; }
.pillar svg { width: 36px; height: 36px; display: block; margin-bottom: 2px; }
h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.pillar p { margin: 0; color: var(--muted); }

/* Book feature */
.book {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 36px;
}
.cover {
  width: 150px; max-width: 100%; height: auto; display: block; border-radius: 2px;
  box-shadow: 6px 6px 0 var(--accent-soft);
}
.book h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin-bottom: 6px; }
.book .meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.book p { margin: 0; max-width: 62ch; }
.book .book-cta { margin-top: 20px; }

/* Publications */
.pubs { list-style: none; margin: 0; padding: 0; }
.pub {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px;
  padding-block: 22px; border-top: 1px solid var(--line);
}
.pub:last-child { border-bottom: 1px solid var(--line); }
.yr { font-family: var(--font-mono); font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 3px; }
.pub .t { font-family: var(--font-display); font-size: 21px; font-weight: 500; line-height: 1.3; margin: 0 0 6px; }
.pub .c { margin: 0; color: var(--muted); font-size: 15px; }
.pub .c b { color: var(--ink); font-weight: 600; }
.more { margin: 22px 0 0; color: var(--muted); }

/* Two-column lists */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding-block: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list .what { font-weight: 600; }
.list .what a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.list .what a::after { content: " \25B6"; color: var(--accent); font-size: .75em; margin-left: 6px; }
.list .what a:hover { color: var(--accent); }
.list .where { display: block; color: var(--muted); font-size: 15px; font-weight: 400; }
.list .when { font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 3px; }
.duo h2 { font-size: 30px; margin-bottom: 20px; }
.invite { margin: 18px 0 0; color: var(--muted); font-size: 15px; }

/* About */
.about { display: grid; gap: 20px; }
.about p { margin: 0 0 16px; max-width: 72ch; }

footer {
  margin-top: 88px; padding-block: 40px 56px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center;
}
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer .email { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 24px 48px; }
  .portrait { max-width: 340px; }
  .pillars, .duo, .about { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; padding: 0 16px; }
  .creds { grid-template-columns: 1fr; }
  .creds li { border-left: 0; padding-left: 0; }
  .creds li + li { border-top: 1px solid var(--line); }
  .book { grid-template-columns: 1fr; padding: 24px; }
  .pub { grid-template-columns: 1fr; gap: 4px; }
  .list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .net .edge { stroke-dasharray: 4 5; animation: flow 6s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -54; } }
}

/* ---------- Shared additions for the multi-page site ---------- */
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.more-link { margin: 18px 0 0; font-size: 15px; }
footer .copy { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }

/* Subpage header */
.page-head { padding-block: 56px 8px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.page-head p { margin: 16px 0 0; max-width: 62ch; color: var(--muted); font-size: 18px; }
.toc { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 24px 0 0; padding: 0; font-size: 15px; font-weight: 500; }

/* Full publication list (APA hanging indent) */
.pub-group { padding-block: 48px 0; }
.pub-group h2 { font-size: 30px; margin-bottom: 12px; }
.cites { list-style: none; margin: 0; padding: 0; }
.cites li { padding-block: 14px; border-top: 1px solid var(--line); padding-left: 2em; text-indent: -2em; max-width: 80ch; }
.cites li:last-child { border-bottom: 1px solid var(--line); }
.cites strong { font-weight: 700; }

/* Talks with embedded video */
.talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; align-items: start; padding-block: 36px; border-top: 1px solid var(--line); }
.talk:last-of-type { border-bottom: 1px solid var(--line); }
.talk h2 { font-size: 26px; margin-bottom: 10px; }
.talk .where { margin: 0; color: var(--muted); }
.talk .when { margin: 6px 0 14px; font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.talk .watch { font-size: 15px; font-weight: 600; }
.video { width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--accent-soft); display: block; }

@media (max-width: 860px) {
  .talk { grid-template-columns: 1fr; gap: 16px; }
}