/* Theme controls, entry curtain and scroll motion shared by every page. */
.theme-toggle{display:none;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #dadfea;border-radius:50%;background:#fff;color:#253043;font-size:21px;line-height:1;transition:background .2s,border-color .2s,transform .2s}
.js-enabled .theme-toggle{display:grid}.theme-toggle:hover{transform:translateY(-2px);background:#edf0ff}.theme-toggle .theme-sun{display:none}
.site-loader{display:none;position:fixed;inset:0;z-index:1000;align-content:center;justify-items:center;gap:23px;background:#fff;color:#11131b;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .34s ease,visibility .34s ease}
.js-enabled .site-loader{display:grid}.site-booting .site-loader,.site-leaving .site-loader{opacity:1;visibility:visible;pointer-events:auto}
.loader-wordmark{font:700 clamp(52px,11vw,96px)/1 Altone,Arial,sans-serif;letter-spacing:-.065em;animation:loader-word .7s ease both}.loader-wordmark .brand-dot{color:#3357f3;animation:loader-dot 1.15s ease-in-out infinite}
.loader-track{width:112px;height:3px;overflow:hidden;border-radius:4px;background:#dfe5fc}.loader-track::before{content:"";display:block;width:100%;height:100%;background:#3357f3;transform-origin:left;animation:loader-progress 1.15s ease-in-out infinite}
@keyframes loader-word{from{opacity:.25;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes loader-dot{50%{opacity:.45}}@keyframes loader-progress{0%{transform:scaleX(.08)}65%{transform:scaleX(.75)}100%{transform:scaleX(1)}}
.js-enabled .scroll-reveal{opacity:1}.js-enabled .scroll-reveal.in-view{animation:section-rise .72s cubic-bezier(.2,.7,.22,1) var(--reveal-delay,0ms) both}
@keyframes section-rise{from{opacity:.28;transform:translateY(25px)}to{opacity:1;transform:none}}
@media(max-width:1100px) and (min-width:801px){.header-resume{display:none}}
@media(max-width:370px){.theme-toggle{width:35px;height:35px;font-size:18px}.header-actions{gap:6px}.resume-actions{gap:6px}}
html[data-theme="dark"]{color-scheme:dark;--ink:#f1f3f9;--muted:#b4bbc9;--surface:#252c39;--line:#394050;--blue:#9bb0ff;--blue-ink:#a6baff;--blue-soft:#26345b;--blue-line:#485d9a;--lavender:#302742;--peach:#402f2d;--sky:#213c50;--mint:#1f4238}
html[data-theme="dark"] body{background:#11141d;color:#f1f3f9}html[data-theme="dark"] .site-loader{background:#11141d;color:#f1f3f9}html[data-theme="dark"] .loader-track{background:#303b5c}html[data-theme="dark"] .loader-track::before{background:#9bb0ff}
html[data-theme="dark"] .brand-dot,html[data-theme="dark"] .wordmark .brand-dot,html[data-theme="dark"] .hero-dot,html[data-theme="dark"] .hero h1 .hero-family .hero-dot,html[data-theme="dark"] .footer-signature span,html[data-theme="dark"] .loader-wordmark .brand-dot{color:#9bb0ff}
html[data-theme="dark"] .theme-toggle{background:#252c39;border-color:#394557;color:#edf2ff}html[data-theme="dark"] .theme-toggle:hover{background:#324366}html[data-theme="dark"] .theme-moon{display:none}html[data-theme="dark"] .theme-sun{display:inline}
html[data-theme="dark"] .site-header,html[data-theme="dark"] .mobile-nav{background:#11141d;color:#f1f3f9}html[data-theme="dark"] .search-trigger{background:#2e3850;color:#f1f3f9}html[data-theme="dark"] .site-header{border-bottom:1px solid #2b3140}html[data-theme="dark"] .site-nav,html[data-theme="dark"] .menu-toggle{background:#222838;color:#f1f3f9}html[data-theme="dark"] .site-nav .nav-link:not(.active):not([aria-current="page"]){color:#c9d1df}html[data-theme="dark"] .site-nav .nav-link:not(.active):not([aria-current="page"]):hover,html[data-theme="dark"] .mobile-nav a:hover,html[data-theme="dark"] .mobile-nav a[aria-current="page"]{background:#26345b;color:#d9e2ff}
html[data-theme="dark"] .site-nav .nav-link.active,html[data-theme="dark"] .site-nav .nav-link[aria-current="page"],html[data-theme="dark"] .header-resume{background:#3357f3;color:#fff}html[data-theme="dark"] .header-resume:hover{background:#4a68fa;color:#fff}html[data-theme="dark"] .mobile-nav a,html[data-theme="dark"] .mobile-nav button{background:#171c28;color:#f1f3f9}html[data-theme="dark"] .mobile-nav{border-color:#313848}html[data-theme="dark"] .menu-shade:not([hidden]){background:#070914b8}
html[data-theme="dark"] .hero-hello,html[data-theme="dark"] .hero-subtitle,html[data-theme="dark"] .hero-scroll,html[data-theme="dark"] .page-intro h1 span,html[data-theme="dark"] .page-intro p{color:#c1c9d8}html[data-theme="dark"] .hero-cta{background:#3357f3;color:#fff}html[data-theme="dark"] .hero-cta:hover{background:#4a68fa}html[data-theme="dark"] .eye{background:#1e2635;border-color:#8299ff}html[data-theme="dark"] .pupil{background:#8fa7ff}html[data-theme="dark"] .pupil span{background:#e9eeff}
html[data-theme="dark"] .experience,html[data-theme="dark"] .tools,html[data-theme="dark"] .about,html[data-theme="dark"] .social-section,html[data-theme="dark"] .editorial-section,html[data-theme="dark"] .resume-intro,html[data-theme="dark"] .workshop-intro,html[data-theme="dark"] .contact-after,html[data-theme="dark"] .cross-page{background:#191e2a}
html[data-theme="dark"] .facet-section,html[data-theme="dark"] .statement-band{background:#151a25}html[data-theme="dark"] .statement-band strong{color:#a8b9ff}html[data-theme="dark"] .section-heading p,html[data-theme="dark"] .about p,html[data-theme="dark"] .tools-center p,html[data-theme="dark"] .tools-note,html[data-theme="dark"] .project-note,html[data-theme="dark"] .resume-lead p,html[data-theme="dark"] .resume-timeline p,html[data-theme="dark"] .contact-after p,html[data-theme="dark"] .cross-page p{color:#b8c0ce}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .resume-intro .eyebrow,html[data-theme="dark"] .facet-section .eyebrow,html[data-theme="dark"] .workshop-tools .eyebrow{background:#26345b;color:#d2ddff}
html[data-theme="dark"] .experience-list,html[data-theme="dark"] .experience-row,html[data-theme="dark"] .resume-group,html[data-theme="dark"] .resume-timeline article{border-color:#3c4454}html[data-theme="dark"] .experience-row span,html[data-theme="dark"] .experience-row small,html[data-theme="dark"] .resume-timeline span{color:#b2bed0}
html[data-theme="dark"] .tool-icons>span,html[data-theme="dark"] .tool-icons .skill-icon,html[data-theme="dark"] .editorial-card,html[data-theme="dark"] .method-steps article,html[data-theme="dark"] .workshop-tool-grid article,html[data-theme="dark"] .social-link,html[data-theme="dark"] .resume-small{background:#232a39;border-color:#3a4354;color:#f1f3f9}html[data-theme="dark"] .tool-icons .skill-icon{box-shadow:none}
html[data-theme="dark"] .approach-card,html[data-theme="dark"] .contact-option-card,html[data-theme="dark"] .resume-tags span{background:#242b3a}html[data-theme="dark"] .approach-card:hover{background:#2d3852}html[data-theme="dark"] .approach-card span,html[data-theme="dark"] .facet-card span,html[data-theme="dark"] .editorial-card small,html[data-theme="dark"] .editorial-card p,html[data-theme="dark"] .method-steps article span,html[data-theme="dark"] .method-steps article p,html[data-theme="dark"] .workshop-tool-grid p,html[data-theme="dark"] .contact-option-card p,html[data-theme="dark"] .contact-option-card small,html[data-theme="dark"] .contact-option-card>span:nth-child(2){color:#b8c3d2}
html[data-theme="dark"] .facet-bio{background:#302b48}html[data-theme="dark"] .facet-path{background:#26345b}html[data-theme="dark"] .facet-method,html[data-theme="dark"] .whatsapp-card{background:#203b37}html[data-theme="dark"] .whatsapp-card .contact-symbol img{filter:brightness(0) invert(1)}html[data-theme="dark"] .project-image,html[data-theme="dark"] .project-card .project-image,html[data-theme="dark"] .page-portrait,html[data-theme="dark"] .about-visual{background:#272e3b}html[data-theme="dark"] .project-open,html[data-theme="dark"] .contact-symbol{background:#303a50}html[data-theme="dark"] .project-card:hover .project-open{background:#3e527c}html[data-theme="dark"] .stack-icons img{background:#2d3749}html[data-theme="dark"] .contact-copy{border-color:#8292ad;color:#eef2ff;background:transparent}
html[data-theme="dark"] .search-dialog,html[data-theme="dark"] .project-dialog{background:#202634;color:#f1f3f9}html[data-theme="dark"] .search-field,html[data-theme="dark"] .search-close,html[data-theme="dark"] .dialog-close,html[data-theme="dark"] .gallery-prev,html[data-theme="dark"] .gallery-next{background:#323b4e;color:#f1f3f9;border-color:#586176}html[data-theme="dark"] .search-field input{color:#f1f3f9}html[data-theme="dark"] .search-field input::placeholder{color:#aeb8ca}html[data-theme="dark"] .search-results a:hover,html[data-theme="dark"] .search-results a.is-selected{background:#303b56}html[data-theme="dark"] .search-help,html[data-theme="dark"] .gallery-head p,html[data-theme="dark"] .gallery-stage figcaption,html[data-theme="dark"] .gallery-bottom,html[data-theme="dark"] .gallery-help,html[data-theme="dark"] .search-label{color:#b8c3d2}html[data-theme="dark"] .gallery-viewer,html[data-theme="dark"] .gallery-thumbs button{background:#131822}html[data-theme="dark"] .gallery-source{color:#aabaff}
html[data-theme="dark"] .footer-shell{background:#0b0e16}html[data-theme="dark"] .footer-primary{background:#e9edff;color:#141922;border-color:#e9edff}html[data-theme="dark"] .footer-signature{color:#f2f4fa}html[data-theme="dark"] .page-portrait span{background:#1c2536;color:#f1f3f9}
/* The résumé stays light when printed, regardless of the on-screen choice. */
html[data-theme="dark"] .resume-bar{border-color:#343d4c}html[data-theme="dark"] .resume-label,html[data-theme="dark"] .resume-foot{color:#b8c3d2}html[data-theme="dark"] .paper{background:#202634;color:#f1f3f9;box-shadow:0 20px 70px #0005}html[data-theme="dark"] .identity,html[data-theme="dark"] .entry{border-color:#3d4554}html[data-theme="dark"] .subtitle,html[data-theme="dark"] .details,html[data-theme="dark"] .paper section>p,html[data-theme="dark"] .entry p,html[data-theme="dark"] .entry time{color:#c1cad9}html[data-theme="dark"] .details a,html[data-theme="dark"] .paper h2,html[data-theme="dark"] .resume-foot a{color:#b4c3ff}html[data-theme="dark"] .download{background:#3357f3;color:#fff}html[data-theme="dark"] .close{border-color:#657082;color:#f1f3f9}
@media(prefers-reduced-motion:reduce){.js-enabled .site-loader{display:none!important}.js-enabled .scroll-reveal.in-view{animation:none!important}.loader-wordmark,.loader-wordmark .brand-dot,.loader-track::before{animation:none!important}.theme-toggle{transition:none!important}}
@media print{.site-loader,.theme-toggle{display:none!important}html[data-theme="dark"] body{background:#fff!important;color:#151925!important}html[data-theme="dark"] .paper{background:#fff!important;color:#151925!important;box-shadow:none!important}html[data-theme="dark"] .paper section>p,html[data-theme="dark"] .entry p,html[data-theme="dark"] .subtitle,html[data-theme="dark"] .details,html[data-theme="dark"] .entry time{color:#424c5f!important}html[data-theme="dark"] .paper h2{color:#2448ca!important}}
