@font-face{font-family:"LM Roman";src:url(/assets/fonts/lmroman-regular.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"LM Roman";src:url(/assets/fonts/lmroman-italic.woff) format("woff");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Carlito";src:url(/assets/fonts/carlito-regular.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Carlito";src:url(/assets/fonts/carlito-italic.woff) format("woff");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Carlito";src:url(/assets/fonts/carlito-bold.woff) format("woff");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"LM Roman Display";src:url(/assets/fonts/lmroman17-regular.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}

:root{
  --ink:#1B2540; --ink-2:#4B5572; --ink-3:#666E86;
  --paper:#F3F5F4; --surface:#FFFFFF; --grid:#DCE1E3; --grid-strong:#C3CBD0;
  --accent:#B5411F; --accent-soft:#F3D9CF; --teal:#1F6F6B;
  --serif:"LM Roman", "Latin Modern Roman", "Computer Modern", Georgia, serif;
  --display:"LM Roman Display", "LM Roman", Georgia, serif;
  --sans:"Carlito", Calibri, Seravek, "Gill Sans Nova", Ubuntu, "DejaVu Sans", sans-serif;
  --measure:76ch; --gutter:clamp(18px, 4.5vw, 72px); --wrap:1480px;
  --step--1:clamp(.98rem,.93rem + .22vw,1.08rem); --step-0:clamp(1.1rem,1.02rem + .35vw,1.28rem);
  --step-1:clamp(1.3rem,1.16rem + .6vw,1.65rem); --step-2:clamp(1.65rem,1.38rem + 1.1vw,2.3rem);
  --step-3:clamp(2.2rem,1.6rem + 2.6vw,3.9rem); --step-4:clamp(3rem,1.8rem + 5.2vw,6.6rem);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --ink:#E7EAF1; --ink-2:#B3BACB; --ink-3:#8790A6; --paper:#0F1526; --surface:#151D33;
  --grid:#222C45; --grid-strong:#33405F; --accent:#F0997B; --accent-soft:#3A2A2A; --teal:#7CC7C1; color-scheme:dark}}
:root[data-theme="dark"]{--ink:#E7EAF1; --ink-2:#B3BACB; --ink-3:#8790A6; --paper:#0F1526; --surface:#151D33;
  --grid:#222C45; --grid-strong:#33405F; --accent:#F0997B; --accent-soft:#3A2A2A; --teal:#7CC7C1; color-scheme:dark}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5rem}
body{margin:0;background:var(--paper);color:var(--ink);font:400 var(--step-0)/1.62 var(--sans);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-kerning:normal;font-variant-ligatures:common-ligatures}
a{color:inherit;text-decoration-color:var(--grid-strong);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--accent);text-decoration-color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.15;margin:0;text-wrap:balance}
p{margin:0 0 .8em}
.nowrap{white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--paper);padding:.5rem 1rem;z-index:10}
.skip:focus{left:1rem}
.muted{color:var(--ink-2)}
.lang-badge,.lang-tag{font:500 .68rem/1 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);border:1px solid var(--grid-strong);border-radius:3px;padding:.15em .35em;margin-left:.4em;vertical-align:.2em}

/* header */
.site-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:2rem;padding:.7rem var(--gutter);background:color-mix(in srgb,var(--paper) 88%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--grid)}
.brand{display:block;color:var(--ink);line-height:0}
.brand svg{height:38px;width:auto}
.nav{display:flex;gap:1.4rem;margin-left:auto;font-size:var(--step--1)}
.nav a{text-decoration:none;color:var(--ink-2)}
.nav a:hover{color:var(--ink)}
.tools{display:flex;gap:.6rem;align-items:center}
.lang-switch{font:500 var(--step--1)/1 var(--sans);text-decoration:none;border:1px solid var(--grid-strong);border-radius:4px;padding:.45rem .55rem}
.theme-toggle{background:none;border:1px solid var(--grid-strong);border-radius:4px;width:34px;height:32px;padding:6px;cursor:pointer;color:var(--ink)}
.theme-toggle svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}
.theme-toggle .half{fill:currentColor;stroke:none}

/* layout */
.section,.hero{max-width:var(--wrap);margin:0 auto;padding:clamp(3rem,7vw,6rem) var(--gutter) 0}
.section>h2{font-size:var(--step-3);margin-bottom:clamp(1.5rem,3vw,2.5rem);letter-spacing:-.01em}
.sub{font:500 var(--step--1)/1.3 var(--sans);color:var(--ink-2);margin-bottom:1rem}

/* hero */
.hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;min-height:min(74vh,700px);padding-top:clamp(2rem,5vw,4rem)}
.hero h1{font-family:var(--display);font-size:var(--step-4);line-height:.98;letter-spacing:-.02em;margin-bottom:1.2rem}
.hero-role{font-family:var(--serif);font-style:italic;font-size:var(--step-1);color:var(--ink-2);margin-bottom:1.4rem}
.hero-role a{text-decoration:none}
.hero-tagline{font-size:var(--step-1);line-height:1.42;max-width:30ch}
.hero-links{list-style:none;padding:0;margin:1.6rem 0 0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;font-size:var(--step--1)}
.hero-links a{color:var(--ink-2)}
.hero-plot{margin:0}
.hero-plot svg{width:100%;height:auto;overflow:visible}
.grid line{stroke:var(--grid);stroke-width:1}
.grid .zero{stroke:var(--grid-strong)}
.path path{fill:none;stroke:var(--ink-3);stroke-width:2;stroke-linejoin:round;transition:stroke .2s,stroke-width .2s}
.path circle{fill:var(--paper);stroke:var(--ink-3);stroke-width:2}
.path text{font:400 24px var(--serif);fill:var(--ink)}
.path:hover path,.path:focus-visible path{stroke:var(--accent);stroke-width:3.2}
.path:hover circle,.path:focus-visible circle{fill:var(--accent);stroke:var(--accent)}
.path:hover text,.path:focus-visible text{fill:var(--accent)}
.path:first-child path{stroke:var(--accent)} .path:first-child circle{stroke:var(--accent)}
.lambda{stroke:var(--accent);stroke-width:1;stroke-dasharray:3 4;opacity:.8}
.axis{font:italic 15px var(--serif);fill:var(--ink-2)}
.hero-hint{font-family:var(--serif);font-style:italic;color:var(--ink-2);font-size:var(--step--1);margin-top:.4rem}
@media (prefers-reduced-motion:no-preference){
  .path path{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.6s cubic-bezier(.5,0,.2,1) forwards;animation-delay:calc(.15s + var(--i)*.09s)}
  .path circle,.path text{opacity:0;animation:fade .5s ease-out forwards;animation-delay:calc(1.3s + var(--i)*.09s)}
  .lambda{animation:sweep 1.8s cubic-bezier(.5,0,.2,1) forwards}
}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes fade{to{opacity:1}}
@keyframes sweep{from{transform:translateX(0)}to{transform:translateX(640px)}}
@media (max-width:860px){.hero{grid-template-columns:1fr;min-height:0}.hero-plot{order:2}}

/* research */
.research-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(2rem,5vw,5rem)}
.bio p{font-family:var(--serif);font-size:var(--step-1);line-height:1.55;max-width:var(--measure)}
.themes{list-style:none;padding:0;margin:1.6rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem}
.themes a{display:inline-block;text-decoration:none;font-size:var(--step--1);border:1px solid var(--grid-strong);border-radius:999px;padding:.35rem .85rem;background:var(--surface)}
.themes a:hover{border-color:var(--accent)}
.numbers{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:1.6rem 1.2rem;align-content:start;border-left:1px solid var(--grid-strong);padding-left:clamp(1rem,3vw,2rem)}
.numbers div{display:flex;flex-direction:column-reverse}
.numbers dd{margin:0;font-family:var(--display);font-size:var(--step-3);line-height:1}
.numbers dt{color:var(--ink-2);font-size:var(--step--1);margin-top:.3rem}
.footnote{grid-column:1/-1;font-size:.78rem;color:var(--ink-3);margin:0}
@media (max-width:760px){.research-grid{grid-template-columns:1fr}.numbers{border-left:0;padding-left:0;border-top:1px solid var(--grid-strong);padding-top:1.4rem}}

/* news */
.news-list{list-style:none;margin:0;padding:0}
.news-list li{display:grid;grid-template-columns:6.5rem 1fr;gap:1rem;padding:.8rem 0;border-top:1px solid var(--grid)}
.news-list time{font-variant-numeric:tabular-nums;color:var(--ink-2);font-size:var(--step--1);padding-top:.15rem}
.news-list p{margin:0;max-width:var(--measure)}

/* projects */
.proj-featured{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:1.4rem}
.proj{background:var(--surface);border:1px solid var(--grid);border-radius:6px;padding:1.5rem 1.5rem 1.2rem;position:relative}
.proj::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--ink-3);border-radius:6px 0 0 6px}
.proj-funded::before{background:var(--accent)}
.proj-open-resource::before{background:var(--teal)}
.proj h3{font-size:var(--step-2);margin:.2rem 0 .6rem}
.proj-kind{font-size:var(--step--1);color:var(--ink-2);margin:0}
.proj-meta,.course-meta{font-size:var(--step--1);color:var(--ink-2)}
.proj-others{list-style:none;padding:0;margin:2rem 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1.5rem 2.5rem}
.proj-others li{border-top:1px solid var(--grid-strong);padding-top:1rem}
.proj-others h3{font-size:var(--step-1);margin-bottom:.3rem}
.chip{display:inline-block;font-size:.88rem;text-decoration:none;border:1px solid var(--grid-strong);border-radius:4px;padding:.15rem .5rem;margin:0 .35rem .35rem 0;color:var(--ink-2)}
.chip:hover{border-color:var(--accent);color:var(--accent)}

/* teaching */
.teach-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(2rem,4vw,4rem);align-items:start}
.courses{list-style:none;margin:0;padding:0}
.course{padding:1.1rem 0;border-top:1px solid var(--grid)}
.course h4{font-size:var(--step-2);margin-bottom:.3rem}
.course p{max-width:var(--measure)}
.open-course{background:var(--ink);color:var(--paper);border-radius:6px;padding:1.6rem}
.open-course .proj-kind{color:color-mix(in srgb,var(--paper) 75%,var(--ink))}
.open-course h3{font-size:var(--step-2);margin:.3rem 0 .8rem}
.open-course .chip{color:var(--paper);border-color:color-mix(in srgb,var(--paper) 40%,var(--ink))}
.past-courses{margin-top:1.5rem;color:var(--ink-2)}
.past-courses summary{cursor:pointer}
@media (max-width:760px){.teach-grid{grid-template-columns:1fr}}

/* publications */
.pub-list{margin:0;padding-left:1.8rem}
.pub{padding:.75rem 0 .75rem .4rem;border-top:1px solid var(--grid)}
.pub::marker{font-family:var(--serif);color:var(--ink-3)}
.pub-title{display:block;font-family:var(--serif);font-size:var(--step-1);line-height:1.3;text-decoration:none;margin-bottom:.3rem;max-width:62ch}
.pub-authors,.pub-meta{display:block;font-size:var(--step--1);color:var(--ink-2)}
.pub-authors .me{color:var(--ink);font-weight:600}
.cites{margin-left:.6rem;color:var(--ink-3)}
.pub-links{display:block;margin-top:.4rem}
.more{font-weight:500}

/* software */
.pkgs{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:2rem 1.6rem}
.pkg{border-top:2px solid var(--ink);padding-top:1rem}
.pkg-head{display:flex;align-items:baseline;gap:.6rem}
.pkg h3{font-family:var(--serif);font-size:var(--step-2)}
.ver{font-size:.78rem;color:var(--teal);border:1px solid currentColor;border-radius:3px;padding:.05rem .35rem}
.console{display:flex;align-items:center;justify-content:space-between;gap:.5rem;background:var(--ink);color:var(--paper);border-radius:4px;padding:.45rem .5rem .45rem .75rem;margin:.6rem 0}
.console{min-width:0}.console code{font:.76rem/1.3 ui-monospace,Menlo,Consolas,monospace;white-space:nowrap;overflow-x:auto;min-width:0}
.copy{font:500 .75rem var(--sans);background:transparent;color:var(--paper);border:1px solid color-mix(in srgb,var(--paper) 40%,var(--ink));border-radius:3px;padding:.2rem .5rem;cursor:pointer}

/* career */
.timeline{list-style:none;margin:0;padding:0;border-left:1px solid var(--grid-strong)}
.timeline li{display:grid;grid-template-columns:8.5rem 1fr;gap:1rem;padding:0 0 1.6rem 1.4rem;position:relative}
.timeline li::before{content:"";position:absolute;left:-5px;top:.45rem;width:9px;height:9px;border-radius:50%;background:var(--paper);border:2px solid var(--ink-3)}
.timeline li:first-child::before{border-color:var(--accent);background:var(--accent)}
.timeline h3{font-size:var(--step-1)}
.timeline p{margin:.2rem 0 0;max-width:var(--measure)}
.tl-years{font-variant-numeric:tabular-nums;color:var(--ink-2);font-size:var(--step--1);padding-top:.2rem}
.edu{list-style:none;padding:0;margin:2rem 0 0;font-size:var(--step--1);columns:2 26rem;column-gap:3rem}
.edu li{padding:.35rem 0}
.edu .tl-years{display:inline-block;width:6rem}
@media (max-width:600px){.timeline li{grid-template-columns:1fr;gap:.2rem}}

/* talks */
.talk-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,34rem),1fr));column-gap:3rem}
.talk-list li{padding:.55rem 0;border-top:1px solid var(--grid)}
.talk-list time{display:inline-block;width:3.5rem;color:var(--ink-2);font-variant-numeric:tabular-nums}

/* contact */
.contact-list{margin:0;display:grid;gap:1rem;max-width:900px}
.contact-list div{display:grid;grid-template-columns:7rem 1fr;gap:1rem}
.contact-list dt{color:var(--ink-2)}
.contact-list dd{margin:0}

/* footer */
.site-footer{max-width:var(--wrap);margin:clamp(4rem,8vw,7rem) auto 0;padding:2rem var(--gutter) 3rem;border-top:1px solid var(--grid-strong);font-size:var(--step--1);color:var(--ink-2)}
.foot-brand svg{height:44px;width:auto;color:var(--ink);margin-bottom:.8rem}
.lang-suggest{position:fixed;bottom:1rem;right:1rem;background:var(--surface);border:1px solid var(--grid-strong);border-radius:6px;padding:.7rem 1rem;font-size:var(--step--1);box-shadow:0 6px 24px rgba(15,21,38,.12);z-index:6}
.lang-suggest button{margin-left:.6rem;background:none;border:0;color:var(--ink-2);cursor:pointer}

/* inner pages */
.page-head{max-width:var(--wrap);margin:0 auto;padding:clamp(2.5rem,6vw,5rem) var(--gutter) 0}
.page-head h1{font-family:var(--display);font-size:var(--step-4);line-height:1;letter-spacing:-.02em;margin-bottom:1rem}
.crumb{font-size:var(--step--1);color:var(--ink-2);margin-bottom:.6rem}
.page-head+.section{padding-top:clamp(1.5rem,3vw,2.5rem)}
.filters{display:flex;flex-wrap:wrap;gap:.8rem 1rem;align-items:center;padding:1rem 0 1.4rem;border-bottom:1px solid var(--grid-strong);position:sticky;top:57px;background:var(--paper);z-index:2}
.filters input,.filters select{font:inherit;font-size:var(--step--1);color:var(--ink);background:var(--surface);border:1px solid var(--grid-strong);border-radius:4px;padding:.45rem .6rem}
.filters .search input{width:min(22rem,80vw)}
.theme-filter{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem;flex-basis:100%}
.theme-filter button{font:inherit;font-size:.8rem;color:var(--ink-2);background:var(--surface);border:1px solid var(--grid-strong);border-radius:999px;padding:.25rem .7rem;cursor:pointer}
.theme-filter button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.count{margin:0 0 0 auto;font-size:var(--step--1);color:var(--ink-2);font-variant-numeric:tabular-nums}
.year{font-family:var(--display);font-size:var(--step-2);color:var(--ink-3);margin:2rem 0 .3rem}
.pub-list.plain{list-style:none;padding:0}
.pub[hidden],.year-group[hidden]{display:none}
/* talks + honors */
.talk{display:grid;grid-template-columns:3.5rem 1fr;gap:1rem;padding:.8rem 0;border-top:1px solid var(--grid)}
.talk p{margin:0 0 .15rem;max-width:var(--measure)}
.talk-title{font-family:var(--serif);font-size:var(--step-1);line-height:1.3}
.talk-authors,.talk-meta{font-size:var(--step--1);color:var(--ink-2)}
.talk-authors .me{color:var(--ink);font-weight:600}
.kind{margin-left:.6rem;font-size:.72rem;border:1px solid var(--grid-strong);border-radius:3px;padding:.05rem .35rem;color:var(--ink-2)}
.talk-invited .kind{border-color:var(--accent);color:var(--accent)}
.award{font:500 .72rem var(--sans);background:var(--accent-soft);color:var(--ink);border-radius:3px;padding:.1rem .4rem;vertical-align:.2em}
.talks+.talks{padding-top:clamp(2rem,4vw,3rem)}
.talks h2{font-size:var(--step-2)}
.honors-title{margin-top:2.4rem}
.honors{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,34rem),1fr));column-gap:3rem}
.honors li{display:grid;grid-template-columns:6rem 1fr;gap:1rem;padding:.6rem 0;border-top:1px solid var(--grid)}
.honors p{margin:0}
.h-title{font-family:var(--serif);font-size:var(--step-1)}
.past-courses li{padding:.25rem 0}

/* ---------- refinements v2 ---------- */
.numbers dd,.tl-years,.news-list time,.talk time,.count{font-variant-numeric:tabular-nums lining-nums}
.bio p{max-width:68ch}
.section>h2{margin-bottom:clamp(1.6rem,3vw,2.8rem)}
.footer-meta{display:flex;flex-wrap:wrap;gap:.3rem 1.2rem}

/* menu button (mobile/tablet) */
.menu-toggle{display:none;align-items:center;gap:.45rem;font:600 var(--step--1)/1 var(--sans);color:var(--ink);background:var(--surface);border:1px solid var(--grid-strong);border-radius:6px;padding:.6rem .8rem;cursor:pointer;min-height:44px}
.menu-toggle .bars{width:18px;height:12px;position:relative;display:inline-block}
.menu-toggle .bars::before,.menu-toggle .bars::after,.menu-toggle .bars span{content:"";position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px}
.menu-toggle .bars::before{top:0}.menu-toggle .bars span{top:5px}.menu-toggle .bars::after{bottom:0}
.quick{display:none}
.to-top{position:fixed;right:16px;bottom:16px;z-index:6;width:48px;height:48px;border-radius:50%;border:1px solid var(--grid-strong);background:var(--surface);color:var(--ink);box-shadow:0 4px 18px rgba(15,21,38,.14);display:grid;place-items:center;font-size:1.3rem;text-decoration:none;opacity:0;pointer-events:none;transition:opacity .2s}
.to-top.show{opacity:1;pointer-events:auto}

@media (max-width:1060px){
  .menu-toggle{display:inline-flex}
  .site-header{flex-wrap:wrap}
  .nav{display:none;order:3;flex-basis:100%;flex-direction:column;gap:0;margin:.4rem 0 .2rem;font-size:var(--step-0)}
  .site-header.open .nav{display:flex}
  .nav a{color:var(--ink);padding:.85rem .2rem;border-top:1px solid var(--grid);min-height:48px;display:flex;align-items:center}
  .tools{margin-left:auto}
}
@media (max-width:860px){
  html{scroll-padding-top:4.5rem}
  .brand svg{height:34px}
  .hero{padding-top:1.5rem;gap:1.5rem}
  .hero h1{font-size:clamp(2.6rem,12vw,3.4rem)}
  .hero-plot{order:3}
  .hero-plot svg{max-height:300px}
  .path text{font-size:30px}
  .hero-hint{display:none}
  .quick{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;list-style:none;padding:0;margin:.4rem 0 0;order:2}
  .quick a{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:.7rem .9rem;background:var(--surface);border:1px solid var(--grid-strong);border-radius:8px;text-decoration:none;font-weight:600;font-size:var(--step--1)}
  .quick a::after{content:"›";font-size:1.3em;color:var(--accent);line-height:1}
  .hero-links{gap:.5rem .9rem}
  .hero-links a{display:inline-block;padding:.35rem 0}
  .section{padding-top:3.2rem}
  .section>h2{font-size:clamp(2rem,9vw,2.6rem)}
  .numbers{grid-template-columns:1fr 1fr}
  .bio p{font-size:var(--step-0);line-height:1.6}
  .news-list li{grid-template-columns:1fr;gap:.2rem}
  .proj{padding:1.2rem}
  .chip{padding:.45rem .75rem;margin:0 .4rem .45rem 0;font-size:.92rem}
  .course h4{font-size:var(--step-1)}
  .pub-list{padding-left:1.4rem}
  #publications .pub-list .pub:nth-child(n+7){display:none}
  .talk{grid-template-columns:1fr;gap:.15rem}
  .talk time{font-weight:600;color:var(--accent)}
  .honors li{grid-template-columns:1fr;gap:.15rem}
  .contact-list div{grid-template-columns:1fr;gap:.1rem}
  .contact-list dt{font-size:var(--step--1)}
  .edu .tl-years{display:block;width:auto;font-weight:600}
  .filters{position:static;padding:.8rem 0 1rem}
  .filters .search,.filters .search input,.filters select{width:100%}
  .filters label{flex-basis:100%}
  .theme-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.3rem;scroll-snap-type:x proximity}
  .theme-filter button{flex:0 0 auto;min-height:40px;scroll-snap-align:start}
  .console code{font-size:.8rem}
  .page-head h1{font-size:clamp(2.4rem,11vw,3.2rem)}
  .site-footer{padding-bottom:5rem}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
