@font-face{font-family:'Bitcount Sidebar';src:url('fonts/BitcountPropSingle-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{--rail-width:231px;--page-width:calc(100vw - 231px);--rail-reveal:0;--hero-opacity:1;--hero-blur:0px;--hero-stage-height:max(100svh,55.555556vw)}
/* The approved full-width hero dissolves over the following chapter. */
.hero-chapter{position:relative;height:calc(var(--hero-stage-height) + 80svh);z-index:2;pointer-events:none}
#home.home-studio .hero-chapter .figma-hero{position:sticky;top:0;height:var(--hero-stage-height);opacity:var(--hero-opacity);filter:blur(var(--hero-blur));transform:none}
.hero-is-moving{will-change:filter,opacity}
.home-below{position:relative;z-index:1;width:calc(100% - var(--rail-width));margin-left:var(--rail-width);margin-top:calc(-1 * var(--hero-stage-height));background:#fff;padding-top:20px}
body.home-route .header.figma-header{opacity:var(--hero-opacity);filter:blur(var(--hero-blur))}
body:not(.home-route) .header.figma-header{display:none}
body:not(.home-route) #main{width:calc(100% - var(--rail-width));margin-left:var(--rail-width)}
/* Shared panel, copied from Figma component 37:31. */
.site-sidebar{position:fixed;z-index:250;inset:0 auto 0 0;width:var(--rail-width);height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;display:flex;flex-direction:column;gap:15px;padding:10px 10px 28px;background:#191b1a;color:#f5f5f3;font:400 14px/1.45 'DM Sans Hero',sans-serif;transform:translateX(calc((var(--rail-reveal) - 1) * 100%));visibility:visible}
.site-sidebar[aria-hidden=true]{visibility:hidden}
.rail-portrait{flex:none;display:block;width:100%;height:267px;object-fit:cover;border-radius:4px}
.rail-identity{display:grid;gap:13px;padding:7px 0 23px}
.rail-name{font:400 24px/.98 'Bitcount Sidebar',monospace;font-variation-settings:'CRSV' 0,'ELSH' 0,'ELXP' 0;white-space:nowrap;letter-spacing:0}
.rail-role,.rail-location{color:#b6bab7}
.rail-location{font-size:13.282px}
.rail-nav{display:grid;gap:6px;margin:0 -10px;padding:15px 10px 0;border-top:1px solid #383b39}
.rail-nav a{display:flex;align-items:center;min-height:43px;padding:11px 12px;border-radius:4px;color:#b6bab7;font-size:15px;line-height:1.4;transition:background .18s,color .18s}
.rail-nav a:hover,.rail-nav a[aria-current=page]{color:#f5f5f3;background:#3c3e3d}
.rail-short{display:none}
.rail-contact{display:grid;gap:10px;margin-top:auto;padding-top:24px;font-size:12px}
.rail-availability{display:flex;align-items:center;gap:6px;font-size:11.6px;white-space:nowrap}
.rail-availability>span{flex:none;width:5px;height:5px;background:#75cd78;border-radius:50%}
.rail-message{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px;color:#191b1a;background:#e8e9e7;border-radius:4px;font-size:12px}
.rail-message:hover{background:#fff}
.rail-message>span:last-child{font-size:15px}
.rail-toggle{display:none}
.site-sidebar a:focus-visible,.site-sidebar button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.site-sidebar .rail-message:focus-visible{outline-offset:4px}
/* Keep former viewport-wide artwork inside the area beside the panel. */
.about-view .mountain-scene,.illustration-arrival,.projects-view .project-cover{width:var(--page-width);margin-left:calc(50% - var(--page-width)/2);margin-right:0;max-width:none}
.illustrations-view .veil-piece{width:100%;max-width:none;margin-left:0}
.about-view #about-title{width:100%;margin-left:0;font-size:clamp(42px,5.7vw,100px)}
.arrival-title{font-size:clamp(32px,6vw,105px)}
.about-view .mountain-scene{width:var(--viewport-width,100vw);margin-left:calc(50% - var(--viewport-width,100vw)/2 - var(--rail-width)/2)}
.home-below .home-introduction{grid-template-columns:minmax(0,1fr) minmax(220px,.5fr);gap:4vw;padding:60px 5vw}
@media(max-height:740px) and (min-width:761px){.rail-portrait{height:210px;object-position:50% 40%}.site-sidebar{gap:10px;padding-bottom:16px}.rail-identity{gap:9px;padding-bottom:10px}.rail-contact{padding-top:12px}.rail-nav{padding-top:10px;gap:4px}}
@media(max-width:1000px){.home-below .home-introduction{grid-template-columns:1fr}.home-below .home-introduction .chemistry-study{max-width:280px}.about-grid{grid-template-columns:1fr;gap:36px}}
@media(max-width:760px){
 :root{--rail-width:64px;--page-width:calc(100vw - 64px);--hero-stage-height:max(100svh,680px)}
 .site-sidebar{width:64px;padding:64px 8px 16px;gap:18px;overflow-x:hidden;transition:width .28s ease}
 .rail-toggle{display:grid;place-items:center;position:absolute;top:12px;left:10px;width:44px;height:40px;padding:0;border:1px solid #4b4e4c;border-radius:4px;background:transparent;color:#fff;font-size:19px}
 .rail-portrait{width:48px;height:60px;border-radius:3px}
 .rail-identity,.rail-availability{display:none}
 .rail-nav{padding:12px 0 0;margin:0;gap:10px;width:48px}
 .rail-nav a{justify-content:center;min-height:44px;padding:8px}
 .rail-label{display:none}
 .rail-short{display:inline;font-size:15px}
 .rail-contact{padding-top:0;width:48px}
 .rail-message{justify-content:center;min-height:44px;padding:8px}
 .rail-message .rail-label+span{display:none}
 .site-sidebar.is-open{width:231px;padding:64px 10px 20px}
 .site-sidebar.is-open .rail-portrait{width:211px;height:240px}
 .site-sidebar.is-open .rail-identity{display:grid;padding-bottom:10px}
 .site-sidebar.is-open .rail-nav{width:211px;padding-top:12px;gap:6px}
 .site-sidebar.is-open .rail-nav a{justify-content:flex-start;padding:11px 12px}
 .site-sidebar.is-open .rail-label,.site-sidebar.is-open .rail-availability{display:initial}
 .site-sidebar.is-open .rail-short{display:none}
 .site-sidebar.is-open .rail-contact{width:211px;gap:10px;padding-top:20px}
 .site-sidebar.is-open .rail-message{justify-content:space-between;padding:13px 14px}
 .site-sidebar.is-open .rail-message .rail-label+span{display:inline}
 .home-below .home-introduction{padding:40px 6vw;gap:24px}
 .home-below .home-introduction h2{font-size:30px}
 .home-below .home-introduction p{font-size:15px}
 .home-below .hero-contact,.home-below .hero-explore{font-size:14px}
 .home-below .philosophy-story{margin-inline:0}
 .home-below .philosophy-copy{padding:22px}
 .home-below .philosophy-copy p{font-size:16px}
 .home-below .philosophy-copy h2{font-size:29px}
 .home-below .home-closing{align-items:flex-start;flex-direction:column;gap:15px;padding-inline:20px}
 .about-view #about-title{font-size:clamp(35px,7.8vw,58px)}
 .arrival-title{font-size:clamp(28px,6.8vw,48px)}
 .content-view h1{font-size:clamp(34px,8vw,52px)}
 .projects-view .project-cover{padding-inline:22px}
 .projects-view .project-cover h2{font-size:clamp(30px,7vw,42px)}
 .hclab-models{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .hero-chapter{height:var(--hero-stage-height)}
 #home.home-studio .hero-chapter .figma-hero{position:relative;opacity:1;filter:none;will-change:auto}
 .home-below{margin-top:0}
 body.home-route .header.figma-header{opacity:1;filter:none}
 .site-sidebar,.rail-nav a{transition:none}
}
