/* Rainbow Fieldnotes — one system for identity, project folios and tools. */
:root{--bg:#182126;--surface:#202c30;--raised:#29383b;--ink:#edf1e9;--muted:#bac7c6;--quiet:#a5b7b5;--line:#425452;--accent:#a2d7c2;--accent-ink:#193d32;--header:#182126f2;--modal-shade:#081216b8;--status-fresh:#a5d6bb;--status-stale:#e1be86;--paper:#f8f5ed;--font:"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;color-scheme:dark}

:root[data-theme=light]{--bg:#faf8f2;--surface:#f0eee4;--raised:#e5e9dd;--ink:#263e43;--muted:#52666a;--quiet:#61726f;--line:#c8d4c9;--accent:#2c705d;--accent-ink:#fffdf4;--header:#faf8f2f2;--modal-shade:#20383370;--status-fresh:#287448;--status-stale:#876420;color-scheme:light}

@media(prefers-color-scheme:light){:root:not([data-theme]){--bg:#faf8f2;--surface:#f0eee4;--raised:#e5e9dd;--ink:#263e43;--muted:#52666a;--quiet:#61726f;--line:#c8d4c9;--accent:#2c705d;--accent-ink:#fffdf4;--header:#faf8f2f2;--modal-shade:#20383370;--status-fresh:#287448;--status-stale:#876420;color-scheme:light}
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.7 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{line-height:1.15;letter-spacing:-.045em}
p{color:var(--muted)}
img,svg{max-width:100%;height:auto}
img{vertical-align:middle}
button,a,summary{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
[hidden]{display:none!important}
::selection{background:var(--accent);color:var(--accent-ink)}
.wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}
.section{padding-block:96px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:42px}
.section-heading h2{font-size:clamp(30px,3.2vw,45px);font-weight:600;max-width:640px}
.section-heading>p{max-width:360px;font-size:15px;line-height:1.8}
.skip-link{position:fixed;left:20px;top:-100px;background:var(--accent);color:var(--accent-ink);padding:12px 18px;z-index:1000}
.skip-link:focus{top:16px}
.scroll-progress{position:fixed;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#c77b67,#d8ac66,#6ba88f,#81a5c2,#a28abb);transform:scaleX(0);transform-origin:left;z-index:100} /* taste-skill-ignore: user-requested rainbow brand progress. */

.site-header{position:absolute;inset:0 0 auto;z-index:30}
.header-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:-1px}
.brand>img{background:var(--paper);border-radius:11px;padding:4px;width:38px;height:42px}
.site-nav{display:flex;gap:30px;font-size:14px}
.site-nav a{color:var(--muted);padding:10px 0}
.site-nav a:hover,.site-nav a.active{color:var(--accent)}
.header-actions{display:flex;align-items:center;gap:9px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--surface);transition:transform .2s,background .2s}
.icon-button:hover{background:var(--raised);transform:translateY(-2px)}
.search-trigger kbd{display:none}
.theme-control{position:relative}
.theme-system,.theme-sun,.theme-moon{display:none}
html[data-theme-preference=system] .theme-system{display:block}
html[data-theme-preference=light] .theme-sun{display:block}
html[data-theme-preference=dark] .theme-moon{display:block}
.theme-menu{position:absolute;right:0;top:54px;width:240px;background:var(--surface);padding:14px;border-radius:20px;box-shadow:0 12px 36px var(--modal-shade)} /* taste-skill-ignore: floating menu overlay. */
.theme-menu-heading{display:flex;justify-content:space-between;font-size:12px;padding:3px 8px 10px}
.theme-option{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:12px;font-size:14px;text-align:left}
.theme-option:hover,.theme-option[aria-checked=true]{background:var(--raised)}
.theme-check{margin-left:auto;visibility:hidden}
.theme-option[aria-checked=true] .theme-check{visibility:visible}

.hero{position:relative;overflow:hidden}
.hero-content{padding-top:120px}
.hero-topline{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.status-pill{display:inline-flex;align-items:center;gap:10px}
.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
.hero-topline .divider{margin-inline:12px}
.studio-hero{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:18px;padding:24px 0 8px}
.studio-copy{z-index:2}
.hero-heading{margin-bottom:28px}
.hero-heading h1{font-size:clamp(60px,7.3vw,106px);font-weight:650;letter-spacing:-.07em;white-space:nowrap}
.hero-heading h1:after{content:"";display:block;width:78%;height:6px;margin-top:24px;border-radius:100%;transform:rotate(-1deg);background:linear-gradient(90deg,#cc907c,#d5b67b,#9ac4ae,#87a9ba,#b2a1c2)} /* taste-skill-ignore: user-requested rainbow pencil stroke. */
.title-dot{color:var(--accent)}
.hero-story h2{font-size:clamp(25px,2.4vw,34px);line-height:1.55;font-weight:600;max-width:500px}
.hero-story>p{max-width:440px;margin-top:22px;line-height:1.9}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.studio-scene{position:relative;margin:0 -20px 0 0}
.studio-scene img{width:100%;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 7%,#000 94%,transparent);mask-composite:intersect} /* taste-skill-ignore: neutral mask on artwork. */
.studio-sparkles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.spark{fill:#d4b381;transform-box:fill-box;transform-origin:center;animation:twinkle 5s ease-in-out infinite}
.spark.two{fill:#9bc4af;animation-delay:-2s}
.spark.three{fill:#bda5cc;animation-delay:-3.3s}
@keyframes twinkle{50%{transform:translateY(-6px) rotate(15deg) scale(.8);opacity:.35}
}
.hero-bottom{display:flex;justify-content:space-between;align-items:center;padding:26px 0 42px;gap:30px}
.hero-bottom>p,.hero-meta{display:none}
.scroll-link,.motion-toggle{display:inline-flex;gap:12px;align-items:center;color:var(--muted);font-size:13px}
.scroll-disc{display:grid;place-items:center;border-radius:50%;background:var(--surface);width:36px;height:36px}

.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding:7px 8px 7px 23px;border-radius:28px;background:var(--raised);font-size:14px;font-weight:600;transition:transform .2s,background .2s}
.button-primary{background:var(--accent);color:var(--accent-ink)}
.button-arrow{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,currentColor 11%,transparent);font-size:22px;font-weight:400;transition:transform .2s}
.button:hover{transform:translateY(-3px)}
.button:hover .button-arrow{transform:rotate(45deg)}
.button:active{transform:translateY(0) scale(.98)}
.text-button{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--accent);padding:12px 0}
.text-button:hover{text-decoration:underline;text-underline-offset:5px}

.collection-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.collection-actions p{font-size:13px}
.project-list{display:grid;gap:26px}
.project-row{--project-accent:#8fcde1;--project-surface:#202f37;--project-soft:#2b404a;scroll-margin-top:30px;border-radius:28px;background:var(--project-surface);overflow:hidden}
.project-omniforge{--project-accent:#e6c68a;--project-surface:#342e24;--project-soft:#463e2c}
.project-wiscomper{--project-accent:#c5b1e9;--project-surface:#2c2938;--project-soft:#3d374a}
.project-ai-engineer{--project-accent:#9ac9ee;--project-surface:#202f3c;--project-soft:#2b3f50}
.project-ai-revolution{--project-accent:#e7b48c;--project-surface:#382d27;--project-soft:#4d3b2e}
.project-science-studio{--project-accent:#9edbc5;--project-surface:#22352f;--project-soft:#31483c}
.project-manim{--project-accent:#aed19e;--project-surface:#29342a;--project-soft:#394a34}

[data-theme=light] .project-row{--project-accent:#2f7090;--project-surface:#edf4f5;--project-soft:#dbe9eb}
[data-theme=light] .project-omniforge{--project-accent:#87652c;--project-surface:#f8f0df;--project-soft:#eee2c9}
[data-theme=light] .project-wiscomper{--project-accent:#716099;--project-surface:#f0ecf6;--project-soft:#e4ddef}
[data-theme=light] .project-ai-engineer{--project-accent:#366f9b;--project-surface:#eaf1f7;--project-soft:#dbe7f0}
[data-theme=light] .project-ai-revolution{--project-accent:#9b613c;--project-surface:#f7eee4;--project-soft:#eedecb}
[data-theme=light] .project-science-studio{--project-accent:#337b6a;--project-surface:#eaf3ec;--project-soft:#dcebdd}
[data-theme=light] .project-manim{--project-accent:#4d7d57;--project-surface:#eff4e9;--project-soft:#e1ebd8}

details>summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
.folio-summary{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:20px;padding:32px 52px 32px 26px;min-height:325px}
.folio-art{display:grid;place-items:center;min-width:0}
.folio-art img{width:100%;height:260px;object-fit:contain;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.folio-summary:hover .folio-art img{transform:translateY(-5px) rotate(-1.2deg)}
.folio-brand{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.folio-brand img{width:40px;height:40px;background:var(--project-soft);padding:5px;border-radius:11px}
.project-state{font-size:12px;color:var(--muted)}
.folio-copy h3{font-size:clamp(26px,3vw,42px);font-weight:600;line-height:1.18}
.folio-subtitle{font-size:17px;line-height:1.7;margin-top:17px;max-width:560px}
.folio-opener{display:flex;align-items:center;gap:24px;margin-top:26px;font-size:13px;color:var(--project-accent)}
.disclosure-action{display:inline-flex;align-items:center;gap:15px;background:var(--project-soft,var(--raised));color:var(--project-accent,var(--accent));padding:10px 16px 10px 20px;border-radius:24px;font-size:13px;font-weight:600;white-space:nowrap}
.plus{width:12px;height:12px;position:relative;display:inline-block}
.plus:before,.plus:after{content:"";position:absolute;background:currentColor;border-radius:2px;transition:transform .25s}
.plus:before{width:12px;height:2px;left:0;top:5px}
.plus:after{height:12px;width:2px;left:5px;top:0}
details[open]>summary .plus:after{transform:rotate(90deg)}
.folio-expanded{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;padding:0 52px 38px}
.project-detail-body p{font-size:16px;line-height:1.95;color:var(--ink)}
.project-steps{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:24px 0 0}
.project-steps li{font-size:13px;background:var(--project-soft);color:var(--project-accent);padding:7px 12px;border-radius:8px}
.project-steps li+li:before{content:"→";margin-right:12px;opacity:.6}
.project-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.folio-meta .button{background:var(--project-soft);color:var(--project-accent);font-size:13px}
.folio-meta .text-button{color:var(--project-accent)}
details[open]>.folio-expanded,details[open]>.drawer-content{animation:unfold .28s ease-out}
@keyframes unfold{from{opacity:0;transform:translateY(-8px)}
to{opacity:1;transform:none}
}

.tool-shelves{display:grid;gap:22px}
.tool-shelf{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:30px;background:var(--surface);border-radius:28px;padding:24px 38px 24px 22px}
.tool-shelf>img{width:200px;height:165px;object-fit:contain}
.tool-shelf h3{font-size:26px;font-weight:600}
.tool-shelf p{font-size:15px;margin:12px 0 18px}
.tool-chips{display:flex;flex-wrap:wrap;gap:9px;padding:0;margin:0;list-style:none}
.tool-chips>*{padding:7px 13px;background:var(--raised);border-radius:8px;color:var(--ink);font-size:13px;line-height:1.4}
.folio-meta .tool-chips>*{background:var(--project-soft)}
.legacy-tools{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:20px}
.legacy-tools img:last-child{max-width:100%}

.activity-section{background:var(--surface)}
.activity-status{font-size:13px;margin:-12px 0 24px}
.activity-dashboard{display:grid;gap:20px}
.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.metric-card{margin:0;min-width:0}
.metric-card img{width:100%;height:auto;display:block}
.activity-streak{max-width:800px;margin:12px auto 22px;width:100%}
.contribution-scene{background:var(--bg);border-radius:28px;padding:26px;margin-top:10px}
.contribution-scene img{max-width:100%;max-height:620px;object-fit:contain}
.card-data-status{font-size:12px;margin:2px 4px 10px;color:var(--quiet)}
.card-data-status[data-status=fresh]{display:none}
.card-data-status[data-status=stale]{color:var(--status-stale)}
.image-unavailable{padding:20px;background:var(--raised);border-radius:18px;font-size:14px}
.is-unavailable img{display:none}
.activity-more{margin-top:20px;background:var(--bg);border-radius:22px;overflow:hidden}
.toolbox-more{background:var(--surface)}
.activity-more>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;color:var(--ink)}
.summary-title{font-size:16px;font-weight:600}
.summary-title:before{content:"";display:inline-block;width:8px;height:24px;margin-right:14px;border-radius:5px;background:var(--accent);vertical-align:middle;transform:rotate(6deg)}
.drawer-content{padding:0 28px 28px}
.drawer-content>p{font-size:14px}
.drawer-content .metric-card{margin-bottom:20px}
.section-footnote{font-size:12px;line-height:1.8;margin-top:24px;max-width:940px}
.about-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;align-items:center}
.about-art img{width:100%;max-height:330px;object-fit:contain}
.about-copy h2{font-size:clamp(30px,3.5vw,46px);font-weight:600;margin-bottom:25px}
.about-copy p{font-size:16px;line-height:1.95}
.about-copy .about-lead{font-size:18px;color:var(--ink);margin-bottom:15px}
.contact-section{padding-block:65px;background:var(--surface)}
.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}
.contact-inner h2{font-size:34px;font-weight:600;margin-bottom:17px}
.contact-inner p{font-size:15px;max-width:520px}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap;max-width:420px}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding-block:35px;font-size:13px}
.footer-brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:650;letter-spacing:-1px}
.footer-brand img{width:28px;height:34px;object-fit:contain}

.command-dialog{border:0;background:var(--bg);color:var(--ink);border-radius:24px;padding:26px;width:min(620px,calc(100vw - 32px));max-height:80vh;box-shadow:0 24px 80px var(--modal-shade)} /* taste-skill-ignore: modal overlay. */
.command-dialog::backdrop{background:var(--modal-shade)}
.command-header{display:flex;gap:15px;align-items:center;margin-bottom:15px}
.command-header input{width:100%;border:0;border-radius:12px;padding:15px;background:var(--surface);color:var(--ink);min-width:0}
#command-close{width:40px;height:40px;border-radius:50%;background:var(--raised)}
#command-list{max-height:48vh;overflow:auto}
#command-list a{display:flex;justify-content:space-between;gap:20px;padding:14px;border-radius:12px;font-size:14px}
#command-list a.selected,#command-list a:hover{background:var(--raised)}
.command-footer,.command-empty{font-size:12px;padding:14px;color:var(--muted)}
.command-heading{font-size:18px;margin-bottom:12px}

@media(min-width:1000px){.activity-dashboard>.metrics-grid{grid-template-columns:repeat(2,1fr);gap:20px}
.activity-streak{max-width:760px}
.activity-dashboard>.metrics-grid img{min-height:0}
.folio-summary{min-height:340px}
}

@media(max-width:1000px){.wrap{width:calc(100% - 48px)}
.site-nav{gap:20px}
.brand{font-size:22px}
.studio-hero{grid-template-columns:1fr 1fr}
.hero-heading h1{font-size:7.7vw}
.hero-story h2{font-size:25px}
.hero-story>p{font-size:15px}
.section{padding-block:72px}
.section-heading{gap:28px}
.section-heading>p{max-width:280px}
.folio-summary{padding:24px 30px 24px 15px;gap:15px;grid-template-columns:.85fr 1.15fr}
.folio-art img{height:225px}
.folio-copy h3{font-size:30px}
.folio-subtitle{font-size:15px}
.folio-expanded{padding:0 30px 30px;gap:30px}
.about-section{gap:50px}
.contact-inner{display:block}
.contact-actions{margin-top:28px;max-width:none}
.tool-shelf{grid-template-columns:160px 1fr;gap:24px;padding:22px}
.tool-shelf>img{width:160px}
}

@media(max-width:700px){.wrap{width:calc(100% - 36px)}
.site-nav{display:none}
.header-inner{min-height:82px;gap:10px}
.brand{font-size:21px}
.brand>img{width:30px;height:35px}
.header-actions{gap:6px}
.icon-button{width:39px;height:39px}
.hero-content{padding-top:100px}
.hero-topline{font-size:12px}
.studio-hero{grid-template-columns:1fr;gap:0;padding-top:30px}
.hero-heading{margin-bottom:24px}
.hero-heading h1{font-size:clamp(48px,13vw,82px)}
.hero-heading h1:after{margin-top:20px;height:5px;width:80%} /* taste-skill-ignore: user-requested rainbow pencil stroke. */
.hero-story h2{font-size:27px}
.hero-story>p{font-size:15px;margin-top:18px}
.hero-actions{margin-top:24px;gap:10px}
.button{font-size:13px;min-height:49px;gap:15px;padding-left:19px}
.studio-scene{margin:26px auto 0;max-width:500px;width:100%}
.hero-bottom{padding:20px 0 30px}
.section{padding-block:58px}
.section-heading{display:block;margin-bottom:28px}
.section-heading h2{font-size:31px;line-height:1.25}
.section-heading>p{margin-top:16px;max-width:100%;font-size:14px}
.collection-actions{gap:15px}
.collection-actions p{font-size:12px}
.collection-actions button{font-size:12px}
.project-list{gap:20px}
.project-row{border-radius:24px}
.folio-summary{display:flex;flex-direction:column;align-items:stretch;padding:18px 24px 26px;gap:4px}
.folio-art{order:0}
.folio-art img{height:210px;width:100%;object-fit:contain}
.folio-copy{padding-top:8px}
.folio-brand{margin-bottom:15px}
.folio-brand img{width:34px;height:34px}
.project-state{font-size:11px}
.folio-copy h3{font-size:30px;line-height:1.18}
.folio-subtitle{font-size:15px;margin-top:14px}
.folio-opener{justify-content:space-between;margin-top:22px;gap:12px}
.disclosure-action{padding:9px 13px 9px 16px;gap:12px;font-size:12px}
.folio-expanded{display:block;padding:0 24px 26px}
.project-detail-body p{font-size:15px;line-height:1.85}
.folio-meta{margin-top:22px}
.project-steps{margin-top:18px;gap:7px}
.project-steps li{font-size:12px;padding:6px 9px}
.project-steps li+li:before{margin-right:6px}
.tool-shelf{grid-template-columns:1fr;gap:6px;padding:23px;border-radius:24px}
.tool-shelf>img{width:170px;height:125px;object-fit:contain;justify-self:center}
.tool-shelf h3{font-size:24px}
.tool-shelf p{font-size:14px}
.tool-chips{gap:8px}
.tool-chips>*{font-size:12px;padding:7px 10px}
.metrics-grid{grid-template-columns:1fr;gap:14px}
.metric-card{width:100%}
.activity-status{font-size:12px;margin-top:-8px}
.activity-streak{margin:0}
.contribution-scene{padding:10px;border-radius:20px}
.activity-more>summary{padding:18px 16px;gap:12px}
.summary-title{font-size:14px}
.summary-title:before{width:5px;margin-right:9px;height:20px}
.drawer-content{padding:0 16px 20px}
.section-footnote{font-size:12px}
.about-section{grid-template-columns:1fr;gap:26px}
.about-art{max-width:280px;margin:auto}
.about-copy h2{font-size:32px}
.about-copy p{font-size:15px}
.contact-section{padding-block:44px}
.contact-inner h2{font-size:31px;line-height:1.25}
.contact-inner p{font-size:14px}
.contact-actions{gap:10px}
.site-footer{flex-wrap:wrap;gap:18px;padding-block:28px}
.site-footer>p{order:3;width:100%;font-size:12px}
.footer-brand{font-size:22px}
.site-footer .text-button{font-size:12px}
.legacy-tools{gap:14px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{animation:none!important;transition:none!important}
}
[data-motion=paused] *,[data-motion=paused] *:before,[data-motion=paused] *:after{animation-play-state:paused!important}
[data-motion=paused]{scroll-behavior:auto}
@media print{.site-header,.hero-bottom,.command-dialog,.scroll-progress{display:none}
.section{padding-block:30px}
.project-row{break-inside:avoid}
.wrap{width:100%}
}


.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0} /* taste-skill-ignore: accessible visually hidden label. */
.university-badge{display:flex;gap:12px;align-items:center}
.status-dot{width:7px;height:7px;background:var(--accent);border-radius:50%}
.command-header{justify-content:space-between}
.command-heading{font-size:23px}
.command-dialog>input{display:block;width:100%;border:0;border-radius:12px;padding:15px;background:var(--surface);color:var(--ink);margin:8px 0 14px}
.site-nav a[aria-current=location]{color:var(--accent)}

[data-motion=paused] *,[data-motion=paused] *:before,[data-motion=paused] *:after{transition:none!important}

@media(prefers-color-scheme:light){:root:not([data-theme]) .project-physcast{--project-accent:#2f7090;--project-surface:#edf4f5;--project-soft:color-mix(in srgb,#edf4f5 85%,#2f7090)}
:root:not([data-theme]) .project-omniforge{--project-accent:#87652c;--project-surface:#f8f0df;--project-soft:color-mix(in srgb,#f8f0df 85%,#87652c)}
:root:not([data-theme]) .project-wiscomper{--project-accent:#716099;--project-surface:#f0ecf6;--project-soft:color-mix(in srgb,#f0ecf6 85%,#716099)}
:root:not([data-theme]) .project-ai-engineer{--project-accent:#366f9b;--project-surface:#eaf1f7;--project-soft:color-mix(in srgb,#eaf1f7 85%,#366f9b)}
:root:not([data-theme]) .project-ai-revolution{--project-accent:#9b613c;--project-surface:#f7eee4;--project-soft:color-mix(in srgb,#f7eee4 85%,#9b613c)}
:root:not([data-theme]) .project-science-studio{--project-accent:#337b6a;--project-surface:#eaf3ec;--project-soft:color-mix(in srgb,#eaf3ec 85%,#337b6a)}
:root:not([data-theme]) .project-manim{--project-accent:#4d7d57;--project-surface:#eff4e9;--project-soft:color-mix(in srgb,#eff4e9 85%,#4d7d57)}
}

/* Rainbow Fieldnotes painted tool shelf: explicit user art direction. */
.painted-divider{display:block;width:100%;height:70px;object-fit:fill;margin:0 0 36px;pointer-events:none;grid-column:1/-1}
.tool-shelf{display:block;padding:32px 38px 30px}
.tool-shelf>img{display:none}
.tool-shelf p{margin:10px 0 24px}
.painted-tools{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;padding:0;margin:0;align-items:start}
.painted-tool{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center;gap:10px;color:var(--ink);padding:4px 2px 10px}
.tool-glyph{width:96px;height:96px;object-fit:contain;transition:transform .3s ease}
.tool-caption{font-size:15px;font-weight:550;line-height:1.5;overflow-wrap:normal}
.painted-tool:hover .tool-glyph{transform:translateY(-5px) rotate(-4deg)}
.toolbox-more .painted-tools{grid-template-columns:repeat(6,minmax(0,1fr));padding-top:16px}
.folio-meta .painted-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.folio-meta .tool-glyph{width:68px;height:68px}
.folio-meta .tool-caption{font-size:13px;line-height:1.45}
.site-nav{gap:28px}
.site-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 0}
.nav-icon{width:36px;height:36px;object-fit:contain;transition:transform .2s}
.site-nav a:hover .nav-icon{transform:translateY(-3px) rotate(-6deg)}
.button.painted-action{flex-direction:column;justify-content:center;gap:7px;padding:12px 20px 14px;min-width:125px;min-height:116px;background:var(--raised);color:var(--ink);border-radius:22px}
.button-primary.painted-action{background:var(--raised);color:var(--accent)}
.action-icon{width:58px;height:58px;object-fit:contain;transition:transform .25s}
.painted-action:hover .action-icon{transform:translateY(-3px) rotate(-5deg)}
.folio-meta .button.painted-action{min-width:118px;min-height:100px;padding:9px 14px 12px;background:var(--project-soft);color:var(--project-accent)}
.folio-meta .action-icon{width:46px;height:46px}
.contact-actions{flex-wrap:nowrap;gap:14px;max-width:none}
.contact-actions .painted-action{min-width:118px}
.summary-title{display:flex;align-items:center;gap:15px}
.summary-title:before{display:none}
.drawer-icon{width:54px;height:54px;object-fit:contain;flex-shrink:0}
.control-icon{width:28px;height:28px;object-fit:contain;flex-shrink:0}
.plus{width:26px;height:26px;background:url('assets/components/icons/expand.webp') center/contain no-repeat;transition:transform .25s}
.plus:before,.plus:after{display:none}
details[open]>summary .plus{transform:rotate(45deg)}
.disclosure-action{gap:9px;padding:7px 12px 7px 17px}
.activity-more>summary{padding:16px 24px}
.hero-heading h1:after{height:14px;border-radius:0;background:url('assets/components/icons/divider-brush.png') center/100% 100% no-repeat;transform:none}
.scroll-disc{background:url('assets/components/icons/compass.webp') center/contain no-repeat;color:transparent;width:42px;height:42px}
.command-icon{width:30px;height:30px}
.project-steps li+li:before{content:'';display:inline-block;width:15px;height:15px;background:url('assets/components/icons/link.webp') center/contain no-repeat;vertical-align:middle}
.tool-shelf-copy{min-width:0}
@media(min-width:701px) and (max-width:980px){
 .site-nav{gap:18px}
 .tool-shelf{padding:28px}
 .tool-glyph{width:82px;height:82px}
 .tool-caption{font-size:14px}
 .contact-inner{align-items:flex-start;flex-direction:column}
 .folio-expanded{grid-template-columns:1fr;gap:26px}
}
@media(max-width:700px){
 .painted-divider{height:46px;margin-bottom:26px}
 .tool-shelf{padding:25px 18px 20px}
 .painted-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 7px}
 .tool-glyph{width:72px;height:72px}
 .tool-caption{font-size:13px;line-height:1.5}
 .toolbox-more .painted-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
 .painted-tool{gap:8px;padding-bottom:0}
 .folio-meta .painted-tools{gap:12px 8px}
 .folio-meta .tool-glyph{width:65px;height:65px}
 .folio-meta .tool-caption{font-size:12px;overflow-wrap:anywhere}
 .button.painted-action{min-height:102px;min-width:120px;padding:10px 14px 12px;font-size:13px}
 .action-icon{width:48px;height:48px}
 .contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px}
 .contact-actions .button.painted-action{min-width:0;padding:12px 6px;font-size:12px}
 .drawer-icon{width:43px;height:43px}
 .summary-title{gap:9px;font-size:14px}
 .activity-more>summary{padding:14px 14px;gap:10px}
 .disclosure-action{padding:7px 9px 7px 12px;font-size:12px;gap:5px}
 .plus{width:23px;height:23px}
 .toolbox-more .drawer-content{padding:0 16px 24px}
 .about-section{gap:28px}
}
@media(max-width:359px){
 .painted-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 .toolbox-more .painted-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tool-caption{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.tool-glyph,.action-icon,.nav-icon,.plus{transition:none}.painted-tool:hover .tool-glyph,.painted-action:hover .action-icon,.site-nav a:hover .nav-icon{transform:none}}
html[data-motion=paused] .tool-glyph,html[data-motion=paused] .action-icon,html[data-motion=paused] .nav-icon,html[data-motion=paused] .plus{transition:none}
html[data-motion=paused] .painted-tool:hover .tool-glyph,html[data-motion=paused] .painted-action:hover .action-icon,html[data-motion=paused] .site-nav a:hover .nav-icon{transform:none}
.motion-icon{display:inline-block;width:26px;height:26px;background:url('assets/components/icons/pause.webp') center/contain no-repeat}
html[data-motion=paused] .motion-icon{background-image:url('assets/components/icons/play.webp')}
#expand-projects:after{content:'';display:inline-block;width:28px;height:28px;background:url('assets/components/icons/expand.webp') center/contain no-repeat;transition:transform .25s}
#expand-projects[aria-expanded=true]:after{transform:rotate(45deg)}
#command-close{font-size:0;background:var(--surface) url('assets/components/icons/close.webp') center/28px no-repeat}
.section:has(>.painted-divider){padding-top:84px}
.activity-section{padding-top:84px}
@media(max-width:700px){.section:has(>.painted-divider),.activity-section{padding-top:48px}}
.project-state,.section-footnote,.card-data-status,.theme-menu-heading{font-size:13px}
.brand{white-space:nowrap}
@media(max-width:700px){.folio-meta .tool-caption,.contact-actions .button.painted-action,.disclosure-action,.project-state,.section-footnote,.card-data-status{font-size:13px}}
@media(max-width:359px){.brand{font-size:19px;gap:7px}.header-inner{gap:10px}.header-actions{gap:6px}.hero-story h2{font-size:24px;line-height:1.45}.icon-button{width:38px;height:38px}.painted-divider{object-fit:contain}}
.university-badge,.collection-actions p,.collection-actions .text-button,.activity-status,.site-footer,.site-footer .text-button,.project-steps li{font-size:13px}
html[data-motion=paused] details[open]>.folio-expanded,html[data-motion=paused] details[open]>.drawer-content{animation:none;opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){details[open]>.folio-expanded,details[open]>.drawer-content{animation:none;opacity:1;transform:none}}
[data-theme=dark] img[src$="/threejs.webp"]{filter:brightness(1.7)}
.folio-meta .button.painted-action,.project-steps li{color:var(--ink)}
.site-footer p{font-size:13px}
.folio-opener,.folio-meta .text-button,.project-row .disclosure-action{color:var(--ink)}
