:root{
  --night:#1c1d26;
  --night-2:#24252e;
  --ink:#1a1a20;
  --body:#3c3c46;
  --muted:#6b6b77;
  --paper:#fcfcfd;
  --rule:#e3e3ea;

  --red:#b02a20;
  --red-pale:#f2d3cc;
  --red-tint:#fbede9;

  --teal:#166f6b;
  --teal-pale:#c9e4e1;
  --teal-tint:#e7f4f2;

  --amber:#8f5510;
  --amber-mid:#c9761c;
  --amber-pale:#efd7ae;
  --amber-tint:#fbf0df;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--body);font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.65}
a{color:var(--red);text-decoration:none;border-bottom:1px solid rgba(176,42,32,.28)}
a:hover{border-bottom-color:var(--red)}
a:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:2px}
h1,h2,h3{color:var(--ink)}
.wrap{max-width:54rem;margin:0 auto;padding:0 1.5rem}
.measure{max-width:36rem}

/* dark hero band, pulled from the portrait's own studio background */
.band{background:var(--night);color:#e9e9ef}
.band .wrap{padding-top:1.5rem;padding-bottom:2.75rem}
.band.slim .wrap{padding-bottom:1.5rem}
.bar{display:flex;justify-content:space-between;align-items:baseline;gap:1rem 1.5rem;flex-wrap:wrap;padding-bottom:1rem}
.band.slim .bar{padding-bottom:0}
.name{font-family:Newsreader,serif;font-size:1.1875rem;font-weight:500;color:#f4f4f8}
a.name{border-bottom:none}
a.name:hover{color:#fff}
nav{display:flex;gap:1.25rem;font-size:.875rem;flex-wrap:wrap}
nav a{color:#9a9aa8;border-bottom:none}
nav a:hover{color:#fff}
nav a[aria-current="page"]{color:#f4f4f8}
.track{display:block;width:100%;height:14px;margin-bottom:2.25rem}

.hero{display:flex;gap:2rem;align-items:center}
.portrait{width:190px;flex-shrink:0;border-radius:10px;overflow:hidden;line-height:0}
.portrait img{width:100%;height:auto;display:block}
.hero h1{font-family:Newsreader,serif;font-weight:300;font-size:clamp(1.8rem,4.4vw,2.5rem);line-height:1.18;letter-spacing:-.015em;margin:0 0 1.125rem;color:#fbfbfd;max-width:20ch}
.hero p{margin:0;color:#b6b6c4;font-size:.9688rem}
.actions{display:flex;gap:.625rem;flex-wrap:wrap;margin-top:1.625rem}
.btn{font-size:.875rem;padding:.5rem 1.0625rem;border-radius:6px;border:1px solid #45464f;color:#e9e9ef;background:transparent}
.btn:hover{background:#2c2d37;border-color:#5c5d68}
.btn.solid{background:var(--red);color:#fff;border-color:var(--red)}
.btn.solid:hover{background:#96231a}

/* now */
.now{background:#fff;border:1px solid var(--rule);border-radius:12px;padding:1.375rem 1.5rem;margin:-1.75rem 0 3rem;box-shadow:0 1px 2px rgba(28,29,38,.05)}
.now h2{font-family:Newsreader,serif;font-style:italic;font-weight:400;font-size:1.0625rem;color:var(--muted);margin:0 0 .5rem}
.now p{margin:0;font-size:.9375rem}
.stamp{display:block;margin-top:.75rem;font-size:.8125rem;color:var(--muted)}

section{padding:0 0 3.25rem}
section > h2{font-family:Newsreader,serif;font-weight:400;font-size:1.75rem;letter-spacing:-.01em;margin:0 0 .75rem}
.lede{margin:0 0 2rem;font-size:.9688rem}
.group{font-family:Newsreader,serif;font-style:italic;font-weight:400;font-size:1.0625rem;color:var(--muted);margin:0 0 1rem}
.cards{margin-bottom:2.25rem}

.card{border-radius:12px;padding:1.25rem 1.375rem;margin-bottom:.75rem;display:flex;gap:1rem;align-items:flex-start}
.dot{width:36px;height:36px;border-radius:9px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.dot svg{width:19px;height:19px;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.card h3{font-size:1rem;font-weight:500;margin:.25rem 0 .4rem;line-height:1.4}
.card p{margin:0;font-size:.9375rem}

.m{background:var(--teal-tint);border:1px solid var(--teal-pale)}
.m .dot{background:var(--teal-pale)} .m .dot svg{stroke:var(--teal)}
.m h3{color:#0e4d4a} .m p{color:#265f5c}
.m a{color:var(--teal);border-bottom-color:rgba(22,111,107,.32)}

.p{background:var(--red-tint);border:1px solid var(--red-pale)}
.p .dot{background:var(--red-pale)} .p .dot svg{stroke:var(--red)}
.p h3{color:#761d16} .p p{color:#7f2f26}
.p a{color:var(--red);border-bottom-color:rgba(176,42,32,.32)}

.o{background:#fff;border:1px solid var(--amber-pale)}
.o .dot{background:var(--amber-pale)} .o .dot svg{stroke:var(--amber-mid)}
.o h3{color:#623a08} .o p{color:#734a13}

.teaching{background:#edecf2;border:1px solid var(--rule);border-radius:14px;padding:1.75rem 1.875rem;margin-bottom:3.25rem}
.teaching h2{margin-bottom:.625rem}
.teaching p{margin:0;font-size:.9688rem}

.outside{background:var(--amber-tint);border-radius:14px;padding:2rem 1.875rem;margin-bottom:3rem}
.outside h2{color:#623a08}
.outside .lede{color:var(--amber);margin-bottom:1.5rem}

/* sub-page header (below the slim dark band) */
.page-head{padding:2.75rem 0 1.75rem;border-bottom:1px solid var(--rule);margin-bottom:2rem}
.page-head h1{font-family:Newsreader,serif;font-weight:300;font-size:clamp(1.9rem,4vw,2.6rem);line-height:1.12;letter-spacing:-.015em;margin:0 0 .625rem;color:var(--ink)}
.page-head p{margin:0;font-size:.9688rem;color:var(--body)}
.page-body{padding-bottom:1.5rem}
.page-head.plain{border-bottom:none;margin-bottom:1rem}
.manhplot{display:block;width:100%;max-width:560px;height:auto;margin:.25rem 0 1.9rem}
h2.section-label{font-family:Newsreader,serif;font-style:italic;font-weight:400;font-size:1.0625rem;color:var(--muted);margin:2.5rem 0 1rem}

/* record list (publications / talks / awards) */
.reclist{margin:0;padding:0;list-style:none}
.rec{display:grid;grid-template-columns:5rem 1fr;gap:1rem;padding:1.15rem 0;border-bottom:1px solid var(--rule)}
.rec:last-child{border-bottom:0}
.rec-year{font-size:.8125rem;color:var(--muted);padding-top:.2rem;white-space:nowrap}
.rec-title{margin:0 0 .3rem;font-size:1rem;font-weight:400;line-height:1.4;color:var(--ink)}
.rec-title a{color:var(--ink);border-bottom:1px solid var(--rule)}
.rec-title a:hover{border-bottom-color:var(--red)}
.rec-authors{margin:0 0 .2rem;font-size:.9063rem;color:var(--muted);line-height:1.5}
.rec-authors .me{color:var(--ink)}
.rec-meta{margin:0;font-size:.875rem;color:var(--muted)}
.rec-meta em{font-style:italic}
.tag{display:inline-block;font-size:.75rem;color:var(--muted);border:1px solid var(--rule);border-radius:20px;padding:.02rem .5rem;margin-left:.35rem;white-space:nowrap;vertical-align:baseline}

footer{border-top:1px solid var(--rule);padding:1.75rem 0 3rem}
.foot-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.links{display:flex;gap:1.125rem;font-size:.875rem}
.links a{color:var(--muted);border-bottom:none}
.links a:hover{color:var(--ink)}
.foot-nav{display:flex;gap:1.25rem;flex-wrap:wrap;font-size:.875rem;margin-bottom:1.1rem}
.foot-nav a{color:var(--muted);border-bottom:none}
.foot-nav a:hover{color:var(--ink)}
.foot-nav a[aria-current="page"]{color:var(--ink)}
/* contextual "see all" links at the end of a homepage section */
.more{margin:.75rem 0 0;font-size:.9375rem;display:flex;gap:1.5rem;flex-wrap:wrap}
.say{font-size:.8125rem;color:var(--muted);display:inline-flex;align-items:center}
.say-play{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:.45rem;padding:0;border:1px solid var(--rule);border-radius:6px;background:#fff;color:var(--muted);cursor:pointer}
.say-play:hover{color:var(--ink);border-color:var(--muted)}
.say-play:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.say-play svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

@media (max-width:680px){
  .hero{flex-direction:column;align-items:flex-start;gap:1.5rem}
  .portrait{width:150px}
  .band .wrap{padding-bottom:2.25rem}
  .band.slim .wrap{padding-bottom:1.5rem}
  .outside,.teaching{padding:1.5rem 1.25rem}
  .card{padding:1.125rem}
  .rec{grid-template-columns:1fr;gap:.2rem}
  .rec-year{padding-top:0}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
