/* Aditya Sannabhadti: the split stage.
   One face for headings (Young Serif), one for text (Source Serif 4), five sizes, flat fields, square corners.
   Surfaces are told apart by a tone step; the only lines are real table and form-field lines. */
@font-face{font-family:"Young Serif";src:url(fonts/YoungSerif-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url(fonts/SourceSerif4-normal.woff2) format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url(fonts/SourceSerif4-italic.woff2) format("woff2");font-weight:200 900;font-style:italic;font-display:swap}

:root{
 --bg:#0c0a08;--surface:#1a1612;--ink:#f3f2f0;--muted:#b2aba2;--accent:#d2ac5f;--accent-ink:#0c0a08;
 --f-head:"Young Serif",Georgia,"Times New Roman",serif;--f-text:"Source Serif 4",Georgia,"Times New Roman",serif;
 --s-small:clamp(.875rem,.85rem + .1vw,.9375rem);
 --s-body:clamp(1.0625rem,1rem + .25vw,1.1875rem);
 --s-lead:clamp(1.3125rem,1.1rem + .8vw,1.75rem);
 --s-head:clamp(1.75rem,1.1rem + 2vw,2.75rem);
 --s-display:clamp(3rem,1rem + 5vw,6rem);
 --m:12px;--bar:60px;--pad:clamp(22px,4.4vw,72px);--gap:clamp(88px,11vw,168px);
 --ease:cubic-bezier(.22,1,.36,1);color-scheme:dark}
:root[data-theme=light]{--bg:#edebe7;--surface:#dedad3;--ink:#17130f;--muted:#554d43;--accent:#6f4f0c;--accent-ink:#edebe7;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--bar) + 16px)}
body{background:var(--bg);color:var(--ink);font:400 var(--s-body)/1.58 var(--f-text);-webkit-font-smoothing:antialiased;font-kerning:normal;overflow-x:hidden}
ul,ol{list-style:none;padding:0}
img,svg,video{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
::selection{background:var(--accent);color:var(--accent-ink)}
h1,h2,h3{font-family:var(--f-head);font-weight:400;letter-spacing:-.02em;line-height:1.04;text-wrap:balance}
h1{font-size:var(--s-display)}
h2{font-size:var(--s-head)}
h3{font-size:var(--s-lead);line-height:1.15}
p{max-width:62ch;text-wrap:pretty}
.small,small{font-size:var(--s-small)}
.mut{color:var(--muted)}
.lead{font-size:var(--s-lead);line-height:1.38}
strong.n{font-weight:700}
a.ln,.cap a,.prose a{color:var(--accent);text-decoration:underline;text-decoration-thickness:.07em;text-underline-offset:.2em;overflow-wrap:anywhere}
a.ln:hover,.cap a:hover,.prose a:hover{text-decoration-thickness:.14em}
.cap{font-size:var(--s-small);color:var(--muted);max-width:68ch;margin-top:14px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* buttons: one shape, flat, square */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;background:var(--surface);color:var(--ink);text-decoration:none;font:600 var(--s-small)/1 var(--f-text);transition:transform .14s var(--ease),background-color .18s,color .18s}
.btn:hover{background:var(--ink);color:var(--bg)}
.btn:active{transform:scale(.97)}
.btn.p{background:var(--accent);color:var(--accent-ink)}
.btn.p:hover{background:var(--ink);color:var(--bg)}
.cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(26px,3vw,38px)}

/* bar */
.topbar{position:sticky;top:0;z-index:30;height:var(--bar);background:var(--bg);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 var(--m) 0 calc(var(--m) + 4px)}
.wm{font:400 var(--s-body)/1 var(--f-head);text-decoration:none;letter-spacing:-.01em;white-space:nowrap}
.topbar nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,32px);font-size:var(--s-small)}
.topbar nav a{text-decoration:none;color:var(--muted);padding:8px 0}
.topbar nav a:hover,.topbar nav a[aria-current]{color:var(--ink)}
.topbar nav a.btn,.topbar nav a.btn[aria-current]{color:var(--accent-ink)}
.topbar nav .btn{min-height:40px;padding:0 16px;color:var(--accent-ink)}
.topbar nav .btn:hover{color:var(--bg)}
.thm{font-size:var(--s-small);color:var(--muted);padding:8px 0}
.thm:hover{color:var(--ink)}
@media(max-width:720px){.topbar nav a.mh,.topbar nav .thm,.topbar nav a.wk{display:none}.topbar nav{gap:16px}}

/* the split: a stage that stays, and a column that scrolls */
.split{display:grid;grid-template-columns:minmax(0,1fr)}
.stage{margin:var(--m)}
.stage .pane{display:none}
.stage .pane.me{display:block}
.pane figure,.pane .fill{position:relative}
.stage img{width:100%;height:100%;object-fit:cover}
.stage .pane.me img{aspect-ratio:1;width:min(100%,420px);height:auto;margin:0 auto}
.stage figcaption{background:var(--surface);padding:14px 18px;font-size:var(--s-small);color:var(--muted)}
.stage figcaption a{color:var(--muted)}
.read{padding:clamp(28px,5vw,64px) var(--pad) 0}
.read>section{padding-bottom:var(--gap)}
@media(min-width:1000px){
 .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .stage{position:sticky;top:var(--bar);height:calc(100svh - var(--bar) - var(--m));margin:0 0 var(--m) var(--m);background:var(--surface);overflow:hidden}
 .stage .pane{display:flex;flex-direction:column;position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s .35s}
 .stage .pane.on{opacity:1;visibility:visible;transition:opacity .8s ease .3s}
 .pane figure{flex:1;min-height:0;display:flex;flex-direction:column}
 .pane figure img{flex:1;min-height:0;height:100%}
 .stage .pane.me figure{align-items:center;justify-content:center}
 .stage .pane.me img{flex:none;height:auto;aspect-ratio:1;width:min(86%,540px);margin:0}
 .stage .pane.me figcaption{width:min(86%,540px);background:none;padding:16px 0 0}
 .pane.me.on img{animation:drift 22s ease-in-out infinite alternate}
 .read{padding-top:clamp(40px,6vw,88px)}
}
@keyframes drift{from{transform:scale(1)}to{transform:scale(1.045)}}
.pane .fill{flex:1;min-height:0;padding:clamp(28px,3.4vw,56px);display:flex;flex-direction:column;justify-content:center;gap:22px;overflow:hidden}
.fill .big{font:400 var(--s-display)/.95 var(--f-head);letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums;text-wrap:balance}
.fill .note{font-size:var(--s-lead);line-height:1.3;color:var(--ink);max-width:28ch}
.fill .ttl{font-size:var(--s-small);color:var(--muted)}
.fill .ch{max-width:560px}

/* hero */
.hero{min-height:calc(100svh - var(--bar) - 40px);display:flex;flex-direction:column;justify-content:center}
.hero h1{margin-bottom:clamp(18px,2vw,28px)}
.hero .role{font-size:var(--s-lead);line-height:1.28;max-width:30ch;color:var(--ink)}
.hero .where{color:var(--muted);font-size:var(--s-small);margin-top:10px}
.hero .lede{font-size:var(--s-body);line-height:1.6;max-width:52ch;margin-top:clamp(22px,2.6vw,34px)}
.hero .lede[hidden]{display:none}
.hero .motto{margin-top:18px;color:var(--muted);font-style:italic;max-width:46ch}
.tracks{margin-top:clamp(28px,3.4vw,44px);display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;color:var(--muted);font-size:var(--s-small)}
.seg{display:inline-flex;flex-wrap:wrap;gap:6px}
.seg button{font-size:var(--s-small);padding:9px 16px;background:var(--surface);color:var(--muted);transition:background-color .18s,color .18s}
.seg button:hover{color:var(--ink)}
.seg button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}

/* section heads */
.sh{max-width:22ch;margin-bottom:clamp(22px,2.6vw,36px)}
.sh.w{max-width:26ch}
.sh+p{color:var(--muted);margin:-8px 0 clamp(26px,3vw,40px);max-width:52ch}

/* work: names are the index */
.works li{padding:clamp(22px,2.6vw,34px) 0}
.works .wn{display:block;width:100%;text-align:left}
.works .wt{display:block;font:400 var(--s-head)/1.06 var(--f-head);letter-spacing:-.02em;transition:color .18s;text-wrap:balance}
.works .wm{display:block;margin-top:10px;font-size:var(--s-small);color:var(--muted)}
.works li.on .wt,.works .wn:hover .wt,.works .wn:focus-visible .wt{color:var(--accent)}
.works .wb{margin-top:16px;max-width:54ch}
.works .wa{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;margin-top:18px;font-size:var(--s-body)}
.works .wa .show{color:var(--accent);text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:.07em}
.works .wa a{color:var(--muted);text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:.07em}
.works .wa a:hover,.works .wa .show:hover{color:var(--ink)}
.works li.off{display:none}
.works .wf{display:none;margin-top:22px;padding:22px;background:var(--surface)}
.works li.open .wf{display:block}
.wf .big{font:400 clamp(2.25rem,9vw,3.25rem)/1 var(--f-head);color:var(--accent);margin-bottom:6px;font-variant-numeric:tabular-nums}
.wf .note{font-size:var(--s-small);color:var(--muted);margin-bottom:16px}
.chips{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:var(--s-small);color:var(--muted)}
.chips li{display:inline-flex;align-items:center;gap:7px}
.ic{width:16px;height:16px;fill:currentColor;flex:none}
.lg-i{display:inline-flex}
@media(min-width:1000px){.works .wf{display:none!important}}

/* charts (inline SVG, styled here) */
.ch{width:100%;height:auto;overflow:visible}
.ch text{font-family:var(--f-text);font-size:14px;fill:var(--muted)}
.ch .l.hot,.ch .v{fill:var(--ink)}
.ch .v{font-weight:600}
.ch .tr{fill:var(--bg)}
.ch .bar{fill:#5c554b}
.ch .bar.hot{fill:var(--accent)}
.mw{display:none}
@media(max-width:720px){.dw{display:none}.mw{display:block}}
@media(prefers-reduced-motion:no-preference){
 .js .ch .bar{transform-box:fill-box;transform-origin:left center;transform:scaleX(0);transition:transform .9s var(--ease);transition-delay:calc(var(--i,0)*80ms + 200ms)}
 .js .on .ch .bar,.js .open .ch .bar,.js .ch.in .bar,.js .fig .ch .bar{transform:scaleX(1)}}

/* the scoreboard: full width, the live thing */
.full{padding:var(--gap) var(--pad) 0}
.full>.in{max-width:78rem;margin:0 auto}
.sb{display:grid;gap:clamp(26px,4vw,64px);grid-template-columns:minmax(0,1fr);align-items:start}
@media(min-width:1000px){.sb{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
.sb .pick{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 26px}
.sb .pick button{padding:10px 16px;background:var(--surface);color:var(--muted);font-size:var(--s-small);transition:background-color .18s,color .18s,transform .14s}
.sb .pick button:hover{color:var(--ink)}
.sb .pick button:active{transform:scale(.97)}
.sb .pick button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}
.verdict{font-size:var(--s-body);line-height:1.5;max-width:42ch;min-height:4.5em}
.verdict em{font-style:normal;font-weight:700;color:var(--accent)}
.tblw{overflow-x:auto}
.cmp{width:100%;border-collapse:collapse;font-size:var(--s-body);font-variant-numeric:tabular-nums}
.cmp caption{text-align:left;color:var(--muted);font-size:var(--s-small);padding-top:16px;caption-side:bottom}
.cmp th,.cmp td{padding:14px 12px;text-align:right;border-bottom:1px solid var(--surface)}
.cmp th:first-child,.cmp tbody th{text-align:left;padding-left:0}
.cmp thead th{font-weight:600;color:var(--muted);font-size:var(--s-small);vertical-align:bottom}
.cmp tbody th{font-weight:400}
.cmp .us{background:var(--surface)}
.cmp thead .us{color:var(--accent);white-space:nowrap}
.cmp td.best{font-weight:700;color:var(--accent)}
.cmp[data-sel="1"] .c3,.cmp[data-sel="1"] .c4,.cmp[data-sel="3"] .c1,.cmp[data-sel="3"] .c4,.cmp[data-sel="4"] .c1,.cmp[data-sel="4"] .c3{display:none}

/* experience: two-ended rows */
.xp details{padding:clamp(14px,1.6vw,20px) 0}
.xp summary{display:grid;grid-template-columns:44px minmax(0,1fr) auto;column-gap:16px;align-items:center;cursor:pointer;list-style:none}
.xp summary::-webkit-details-marker{display:none}
.xp .co{display:grid;place-items:center;width:44px;height:44px}
.xp .co img{width:36px;height:36px;object-fit:contain}
.xp .co .ic{width:30px;height:30px}
.xp .co.mn{font:400 var(--s-small) var(--f-head);color:var(--muted);background:var(--surface)}
.xp .org{font:400 var(--s-lead)/1.15 var(--f-head);letter-spacing:-.01em;transition:color .18s}
.xp summary:hover .org,.xp details[open] .org{color:var(--accent)}
.xp .when{font-size:var(--s-small);color:var(--muted);text-align:right;white-space:nowrap}
.xp .role{grid-column:2/-1;font-size:var(--s-small);color:var(--muted);margin-top:4px}
.xp ul{margin:16px 0 8px 60px;display:grid;gap:12px;max-width:56ch}
.xp .lgs{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;color:var(--muted)}
@media(max-width:720px){.xp summary{grid-template-columns:44px minmax(0,1fr)}.xp .when{grid-column:2;text-align:left;margin-top:2px}.xp ul{margin-left:0}}
.xp .co.ink img{filter:invert(1)}
:root[data-theme=light] .xp .co.ink img{filter:none}
.xp .co.fb img{width:100%;height:100%;object-fit:cover}

/* skills counted: bars made of a flat fill */
.sk{display:grid;gap:clamp(22px,2.4vw,34px)}
.sk li{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
@media(min-width:760px){.sk li{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:baseline;gap:28px}}
.sk .a{font:400 var(--s-lead)/1.15 var(--f-head)}
.sk .m{display:grid;gap:8px}
.sk .bar2{height:14px;background:var(--surface)}
.sk .bar2 i{display:block;height:100%;background:var(--accent);transform-origin:left;width:var(--w)}
.sk .who{font-size:var(--s-small);color:var(--muted)}
.tools{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 clamp(34px,4vw,56px);color:var(--muted);font-size:var(--s-small)}
.tools li{display:inline-flex;align-items:center;gap:8px}
.tools .ic{width:18px;height:18px;color:var(--accent)}
@media(prefers-reduced-motion:no-preference){
 .js .sk .bar2 i{transform:scaleX(0);transition:transform 1s var(--ease)}
 .js .sk li.is-in .bar2 i{transform:scaleX(1)}}

/* plain names in columns: papers, schools, recognition */
.names{display:grid;gap:clamp(30px,4vw,56px);grid-template-columns:minmax(0,1fr)}
@media(min-width:760px){.names{grid-template-columns:repeat(3,minmax(0,1fr))}}
.names h3{margin-bottom:16px}
.names li{margin-bottom:16px;line-height:1.45}
.names li span{display:block;color:var(--muted);font-size:var(--s-small);margin-top:2px}
.names a{text-decoration:underline;text-decoration-thickness:.07em;text-underline-offset:.22em}
.names a:hover{color:var(--accent)}

/* contact: one card on a photograph */
.visit{position:relative;margin-top:var(--gap);min-height:min(78svh,760px);display:flex;align-items:flex-start;justify-content:flex-end;padding:clamp(14px,4vw,64px)}
.visit>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 62%}
.card{position:relative;background:var(--surface);padding:clamp(24px,3vw,36px);width:min(100%,440px);display:grid;gap:18px}
.card h2{font-size:var(--s-head)}
.card .links{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:var(--s-small)}
.card .links a{color:var(--muted);text-decoration:underline;text-underline-offset:.22em}
.card .links a:hover{color:var(--ink)}
.card .mail{font:400 var(--s-body)/1.3 var(--f-head);color:var(--accent);text-decoration:underline;text-underline-offset:.22em;overflow-wrap:anywhere}
.card .btn{width:100%}

/* footer: one quiet line */
.foot{padding:clamp(80px,14svh,160px) var(--pad) 28px;display:grid;gap:10px;font-size:var(--s-small);color:var(--muted)}
.foot .row{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:baseline}
.foot .row>:last-child{text-align:right}
.foot nav{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}
.foot .thm{color:var(--ink);padding:0}
.foot a{color:var(--ink);text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot .cr{max-width:96ch}
.foot .cr a{color:var(--muted);text-decoration:underline}
@media(max-width:720px){.foot .row{grid-template-columns:1fr;gap:8px}.foot .row>:last-child{text-align:left}.foot nav{justify-content:flex-start;gap:16px}}

/* case, ask and contact pages share one column */
.page{padding:clamp(34px,6vw,88px) var(--pad) 0}
.page h1{font-size:var(--s-head);max-width:22ch;margin:0 0 16px}
.page h1.lg{font-size:var(--s-display);max-width:none;margin-bottom:24px}
.page .sub{color:var(--muted);font-size:var(--s-body)}
.top{display:grid;gap:clamp(24px,4vw,64px);grid-template-columns:minmax(0,1fr);align-items:center;margin-bottom:clamp(40px,5vw,72px)}
@media(min-width:900px){.top{grid-template-columns:minmax(0,7fr) minmax(0,6fr)}}
.page .intro.s{font-size:var(--s-body);line-height:1.55;max-width:62ch}
.page .intro{font-size:var(--s-lead);line-height:1.34;max-width:34ch;color:var(--ink)}
.bigm{margin:clamp(22px,3vw,40px) 0 clamp(28px,4vw,54px);display:grid;gap:10px}
.bigm b{font:400 var(--s-display)/.95 var(--f-head);color:var(--accent);letter-spacing:-.03em;font-variant-numeric:tabular-nums;text-wrap:balance}
.bigm span{font-size:var(--s-lead);line-height:1.3;max-width:30ch}
.cols{display:grid;gap:clamp(34px,5vw,80px);grid-template-columns:minmax(0,1fr);align-items:start}
@media(min-width:900px){.cols{grid-template-columns:minmax(0,7fr) minmax(0,6fr)}}
.cols h3{margin-bottom:16px}
.cols ul.b{display:grid;gap:18px}
.fig{background:var(--surface);padding:clamp(20px,2.6vw,34px)}
.cols .chips{margin:0 0 34px}
.pn{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:clamp(56px,7vw,100px)}
.vs{display:grid;gap:12px}
.vr{display:grid;grid-template-columns:minmax(0,1.6fr) auto auto;gap:14px;align-items:center}
.vn{font-size:var(--s-small)}
.cells{display:inline-flex;gap:4px}
.cells i{width:16px;height:16px;background:var(--bg)}
.cells i.w{background:var(--accent)}
.vr b{font-weight:600;font-variant-numeric:tabular-nums;min-width:2.6em;text-align:right}
.vs .k{font-size:var(--s-small);color:var(--muted)}

/* Ask page */
.askn{max-width:none}
.askp{background:var(--surface);display:flex;flex-direction:column;min-height:0;max-height:78dvh;margin-top:30px}
.thread{flex:1;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:16px;min-height:0}
.am{max-width:94%}
.am.u{align-self:flex-end;background:var(--accent);color:var(--accent-ink);padding:10px 16px}
.am.b{align-self:flex-start;width:100%;max-width:100%}
.abx{background:var(--bg);padding:18px 20px;max-width:78ch}
.mt{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;margin-bottom:10px}
.mt b{font:400 var(--s-lead)/1.15 var(--f-head);color:var(--accent)}
.mt span{font-size:var(--s-small);color:var(--muted)}
.ld{color:var(--muted);margin-bottom:8px}
.ls{display:grid;gap:12px}
@media(prefers-reduced-motion:no-preference){.ls li{opacity:0;animation:rise .5s var(--ease) forwards;animation-delay:calc(var(--i,0)*140ms + 60ms)}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
.lks{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.lks a{font-size:var(--s-small);padding:8px 14px;background:var(--surface);text-decoration:none}
.lks a:hover{background:var(--accent);color:var(--accent-ink)}
.src{margin-top:14px}
.src summary{cursor:pointer;font-size:var(--s-small);color:var(--muted);list-style:none}
.src summary::-webkit-details-marker{display:none}
.src p{margin-top:8px;font-size:var(--s-small);color:var(--muted)}
.chs,.starts{display:flex;flex-wrap:wrap;gap:8px}
.starts{padding:0 22px 14px}
.chs{margin-top:16px}
.chs button,.starts button{font-size:var(--s-small);padding:9px 14px;background:var(--bg);color:var(--muted);text-align:left;transition:color .18s,background-color .18s}
.chs button:hover,.starts button:hover{color:var(--accent-ink);background:var(--accent)}
.askf{display:flex;gap:10px;padding:14px}
.askf input{flex:1;min-width:0;background:var(--bg);border:1px solid var(--muted);padding:14px 16px;color:var(--ink);font:inherit;font-size:var(--s-body)}
.askf input:focus{outline:2px solid var(--accent);outline-offset:1px}
.askf button{background:var(--accent);color:var(--accent-ink);padding:0 26px;font-weight:600;font-size:var(--s-small)}
.askp.asked .starts{display:none}
.askp:not(.xray) .mt span,.askp:not(.xray) .tg2{display:none}
.tg2{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 10px;font-size:var(--s-small);color:var(--muted)}
.hwbar{display:flex;justify-content:flex-end;margin-top:22px}
.hwb{font-size:var(--s-small);padding:9px 16px;background:var(--surface);color:var(--muted)}
.hwb:hover{color:var(--ink)}
.hwb[aria-expanded=true]{background:var(--accent);color:var(--accent-ink)}
.hwb i{font-style:normal;display:inline-block;transition:transform .2s}
.hwb[aria-expanded=true] i{transform:rotate(180deg)}
.hwp{background:var(--surface);padding:24px;margin-top:14px}
.hwp[hidden]{display:none}
.hwp ol{display:grid;gap:14px;padding-left:22px;list-style:decimal;margin-top:18px}
.hwp li b{color:var(--accent);font-weight:600}
.hwd{overflow:hidden;max-width:920px}
.hws{width:100%;height:auto}
.hws .hb{fill:var(--bg)}
.hws .ht{font:600 14px var(--f-text);fill:var(--accent)}
.hws .hl{font:400 14px var(--f-text);fill:var(--ink)}
.hws .hl.sm{fill:var(--muted)}
.hws .ha{stroke:var(--muted);stroke-width:1.6;fill:none}
.hws .hah{fill:var(--muted)}
.hws .hp{fill:var(--accent)}
.hws .hbt{fill:var(--surface)}
.hws .hbar{fill:#5c554b}
.hws .hbar.win{fill:var(--accent)}
.hwd .mw{max-width:420px;margin:0 auto}
@media(max-width:900px){.hwd .dw{display:none}.hwd .mw{display:block}}
@media(min-width:901px){.hwd .mw{display:none}}

/* contact page */
.askw{display:grid;gap:clamp(34px,5vw,80px);grid-template-columns:minmax(0,1fr);align-items:start}
@media(min-width:900px){.askw{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}
.cfw{background:var(--surface);padding:clamp(22px,3vw,40px)}
.fr{display:grid;gap:7px;margin-bottom:18px}
.fr label{font-size:var(--s-body);color:var(--muted)}
.fr input,.fr textarea{width:100%;background:var(--bg);border:1px solid var(--muted);padding:14px 16px;color:var(--ink);font:inherit;font-size:var(--s-body)}
.fr textarea{resize:vertical;min-height:170px}
.fr input:focus,.fr textarea:focus{outline:2px solid var(--accent);outline-offset:1px}
.cmsg{min-height:1.4em;margin-top:14px;font-size:var(--s-small)}
.cmsg.bad{color:var(--accent)}
.cfw button[disabled]{opacity:.6;cursor:wait}
.cdone h2{margin-bottom:12px}
.cdone:focus{outline:none}
.how h3{margin-bottom:14px}
.how .direct{display:grid;gap:14px}
.how .direct a{text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:.07em}
.how .direct a:hover{color:var(--accent)}

/* motion: entrances rise once; content stays visible without script */
@media(prefers-reduced-motion:no-preference){
 .js [data-rise]{opacity:0;transform:translateY(22px);animation:up .9s var(--ease) forwards;animation-delay:calc(var(--i,0)*90ms + 100ms)}
 .js [data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .8s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i,0)*70ms)}
 .js [data-reveal].is-in{opacity:1;transform:none}}
@keyframes up{to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.stage .pane,.stage .pane.on{transition:none}.pane.me.on img{animation:none}}
@media print{.topbar,.tracks,.cta,.stage{display:none}body{background:#fff;color:#000}}

@media(max-width:720px){.cmp th,.cmp td{padding:12px 6px}.cmp{font-size:var(--s-small)}.cmp thead th{font-size:var(--s-small);hyphens:auto}}

@media(max-width:720px){.cmp{table-layout:fixed}.cmp th:first-child{width:30%}.cmp thead th{overflow-wrap:anywhere}.cmp th,.cmp td{padding:12px 4px}}
@media(max-width:759px){.rec{columns:1!important}}
.tblw+.cap{margin-top:12px}
.foot .tgf{display:none}
@media(max-width:720px){.foot .tgf{display:inline}}

/* large screens: everything set in rem grows with the screen, so the page never sits in a narrow column */
@media(min-width:1800px){html{font-size:118%}}
@media(min-width:2400px){html{font-size:150%}}
@media(min-width:3200px){html{font-size:200%}}
.rl{margin-top:1.25rem}

/* highlights: the four strongest projects, above the full list */
#highlights{margin-bottom:clamp(48px,6vw,88px)}
.hl{list-style:none;margin:0;padding:0;display:grid;gap:clamp(22px,2.4vw,32px);grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.hl li{border-top:2px solid var(--accent);padding-top:18px}
.hl .ht{display:block;font:400 clamp(1.3rem,1.1rem + .8vw,1.75rem)/1.12 var(--f-head);letter-spacing:-.015em;color:var(--ink);text-decoration:none;text-wrap:balance}
.hl .ht:hover,.hl .ht:focus-visible{color:var(--accent)}
.hl .hm{display:block;margin-top:10px;font-size:var(--s-small);color:var(--muted)}
.hl .hm b{color:var(--ink);font-weight:600;margin-right:6px}
.hl p{margin-top:12px;max-width:46ch}
.hl .ha{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:14px;font-size:var(--s-small)}
.hl .ha a{color:var(--accent);text-underline-offset:.22em}
