/* KEVSOR: a continuous journey and a textured, illustrated studio. */
:root{--paper:#fbfaf6;--ink:#1d3328;--forest:#214734;--muted:#748073}
html{scroll-padding-top:110px}body{background-color:var(--paper)}
body:not(.lab-page){padding-top:76px;background-image:linear-gradient(#21473405 1px,transparent 1px),linear-gradient(90deg,#21473405 1px,transparent 1px);background-size:100px 100px}
body:not(.lab-page) .site-header{height:90px;margin-bottom:20px}
body:not(.lab-page) .main-nav,body:not(.lab-page) .menu-toggle{display:none}
.portfolio-dock{position:fixed;z-index:30;inset:0 0 auto;height:62px;display:flex;align-items:stretch;background:#fbfaf6f5;backdrop-filter:blur(18px);border-bottom:1px solid #dce1d5;padding:0 max(28px,calc((100vw - 1380px)/2))}
.portfolio-dock .dock-brand{display:flex;align-items:center;padding:0 27px 0 0;margin-right:12px;font-weight:800;font-size:15px;letter-spacing:-.5px}
.portfolio-dock a{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:600;padding:0 22px;border-inline:1px solid transparent}
.portfolio-dock a span{font-family:monospace;font-size:16px}.portfolio-dock a[aria-current=location]{background:#dcedbf;border-color:#cee1b4}.portfolio-dock a:hover{background:#edf2e5}.portfolio-dock .dock-contact{margin-left:auto}
.hero{grid-template-columns:.78fr 1.5fr;min-height:670px}.hero h1{font-size:clamp(72px,8vw,112px)}.hero-description{max-width:350px}.room-host{background:transparent}.hero .scene-stage{height:500px}.room-caption{padding-bottom:0}
.room-actionbar{gap:5px}.room-actionbar button{min-height:40px;font-size:10px;padding:9px 11px;background:#fbfaf6}.room-utilities button{min-height:38px}.room-hint{text-align:center;font-size:10px;color:var(--muted);padding:11px 5px 0}.character-lab-link{display:inline-block;font-size:11px;margin:0 0 16px;text-decoration:underline;text-underline-offset:4px}
.about-preview{gap:90px;padding-block:105px;align-items:center}.about-art{position:relative;min-height:540px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#e6eadc 0%,#f3f1e7 52%,transparent 72%)}.about-art img{max-height:495px;width:100%;object-fit:contain}.about-art-label{position:absolute;top:8px;left:0;font:10px monospace;letter-spacing:.13em;color:#849078}.about-art-caption{position:absolute;bottom:0;font:11px monospace;color:#65745c}.about-copy h2{font-size:clamp(36px,4.8vw,66px)}
.work-section{padding-top:100px;padding-bottom:100px}.work-section .section-heading{display:block;text-align:center;margin-bottom:65px}.work-section .section-heading .eyebrow{justify-content:center;margin-bottom:20px}.work-section .section-heading h2{font-size:clamp(58px,7vw,96px);font-weight:650;letter-spacing:-.055em}.work-section .section-heading>p{margin:25px auto 0;max-width:400px}
.work-guide{display:flex;justify-content:space-between;align-items:center;margin-bottom:105px;padding-top:16px;border-top:1px solid #d3dacd;font:10px monospace;letter-spacing:.08em;color:#7a8871}
.project-stack{padding-bottom:0}.project-card{min-height:640px;margin-bottom:170px;grid-template-columns:1fr 1.08fr;border-radius:0 7px 7px 7px;padding:20px;gap:28px;background:#fffefb;box-shadow:0 12px 50px #20371f08}.stack-card{position:relative;top:0}.scroll-stack .stack-card{position:sticky;top:calc(105px + var(--i)*26px);transform:scale(var(--stack-scale,1));transform-origin:50% 0}.scroll-stack .stack-card::after{content:'';position:absolute;inset:0;border-radius:inherit;background:#25432c;opacity:var(--stack-dim,0);pointer-events:none}.project-card:last-child{margin-bottom:0}
.folder-tab{height:56px;width:230px;left:calc(var(--i)*22% - 1px);font-size:11px;padding-left:24px;clip-path:polygon(0 0,78% 0,100% 100%,0 100%)}.project-copy{padding:22px 10px 20px}.project-copy .project-name{font-size:clamp(28px,3.2vw,46px);letter-spacing:-.055em;line-height:1.05;font-weight:600;margin-bottom:18px}.project-copy h3{font-size:clamp(26px,2.6vw,35px);line-height:1.12;margin-bottom:18px}.project-description{max-width:335px;font-size:14px}.project-copy .text-link{padding-bottom:8px;border-bottom:1px solid #859178;margin-top:12px}.project-tags span{border-radius:2px}.project-visual{border-radius:4px;min-height:565px}
.playground-preview{padding-block:115px}.playground-preview .section-heading{text-align:center;display:block;margin-bottom:70px}.playground-preview .section-heading .eyebrow{justify-content:center}.playground-preview .section-heading h2{font-size:clamp(54px,6vw,82px);margin-top:18px}.playground-preview .section-heading>p{margin-top:24px}.playground-grid{gap:28px}.playground-tile{border-radius:8px;min-height:365px}.character-art img{object-fit:contain}.single-event-lab{margin-bottom:80px}
.contact-section{margin-top:80px}.contact-box{border-radius:6px;padding:70px;min-height:440px;background:#264835;position:relative;overflow:hidden}.contact-box h2{font-size:clamp(58px,7vw,98px)}.contact-mark{opacity:.055;font-size:560px;right:-20px;top:-170px}
.lab-header{display:flex;align-items:center;justify-content:space-between;padding-block:28px;gap:24px}.lab-brand{font-size:25px;font-weight:800;letter-spacing:-1px;border:2px solid var(--forest);padding:0 8px;line-height:1.35;position:relative}.lab-brand span{position:absolute;font-size:8px;letter-spacing:5px;top:-17px;left:0;color:#87bb24}.lab-header nav{display:flex;gap:24px;font-size:12px}
.version-picker{display:flex;gap:6px;padding:5px;background:#e5ebdf;border-radius:8px;margin:12px 0 25px}.version-picker button{flex:1;padding:11px 8px;font-size:12px;border-radius:5px;min-height:44px}.version-picker button[aria-pressed=true]{background:var(--forest);color:white}.character-stage{background:radial-gradient(ellipse at 50% 40%,#f8f1e4,#eeeadc)}.character-host{grid-template-columns:1.55fr 1fr}.character-stage canvas{height:650px;min-height:650px}.character-controls{padding:26px;background:#fffefb}.character-controls h2{font-size:28px;margin:12px 0 17px}.character-controls .clip-grid{margin-bottom:20px}.character-controls .viewer-note{font-size:10px}.lab-page .standalone-intro{padding-top:36px}.lab-page .contact-section{margin-top:70px}.room-large .scene-stage{height:660px}
@media(max-width:760px){body:not(.lab-page){padding-top:65px}.portfolio-dock{padding:0 8px;height:56px;justify-content:space-between}.portfolio-dock a{padding:0 10px;font-size:10px;gap:4px}.portfolio-dock a span,.portfolio-dock .dock-brand{display:none}.portfolio-dock .dock-contact{margin:0}.hero{display:flex;min-height:0;padding-top:18px}.hero .scene-stage{height:340px}.about-preview{padding-block:60px;gap:35px}.about-art{min-height:370px}.about-art img{max-height:340px}.about-art-label{font-size:8px}.work-section{padding-block:65px}.work-section .section-heading{margin-bottom:45px}.work-guide{margin-bottom:80px;font-size:9px}.project-card{min-height:0;margin-bottom:105px;padding:14px;gap:22px}.folder-tab{left:0;height:43px;width:175px}.project-copy .project-name{font-size:35px}.project-copy{padding:16px 8px}.project-copy h3{font-size:28px}.project-visual{min-height:350px}.playground-preview{padding-block:60px}.playground-tile{min-height:320px}.contact-box{padding:35px 25px;min-height:380px}.contact-box h2{font-size:54px}.lab-header{padding-block:24px;align-items:flex-start}.lab-header nav{gap:12px;font-size:10px;flex-wrap:wrap;justify-content:flex-end;max-width:210px}.character-host{grid-template-columns:1fr}.character-stage canvas{height:470px;min-height:470px}.room-large .scene-stage{height:420px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.stack-card{position:relative!important;top:0!important;transform:none!important}.stack-card::after{display:none}}
/* Scene first: the interactive studio occupies the entire hero. */
.hero{display:flex;flex-direction:column;gap:0;min-height:0;padding-top:24px;padding-bottom:80px}
.hero>.room-host{width:100%;max-width:1200px;margin:auto;padding:0;border:0;box-shadow:none;background:transparent;overflow:visible}
.hero .scene-stage{height:540px;width:100%;margin:0}
.hero .room-caption,.hero [data-hotspot]{display:none}
.hero .room-actionbar{justify-content:center;flex-wrap:wrap;margin-top:4px}
.hero .room-bottom{justify-content:center;gap:25px;border:0;padding-top:8px}
.hero .room-status{font-size:10px}.hero .room-utilities{gap:10px}
.hero-copy{width:100%;text-align:center;padding:62px 0 0;max-width:1100px;margin:auto}
.hero-copy .eyebrow{justify-content:center;font-size:9px;margin:0 0 23px}
.hero h1{font-size:clamp(40px,5.15vw,72px);line-height:1.05;letter-spacing:-.055em;margin:0 auto 24px;max-width:1070px;font-weight:600}
.hero-description{max-width:430px;margin:0 auto 22px;font-size:13px}
.hero-scroll{gap:20px}.hero-scroll span{font-size:18px}
.project-proof{margin-top:18px;color:#46623c;font-size:11px;line-height:1.5}.project-proof strong{font-size:29px;letter-spacing:-.05em;margin-right:7px}.project-proof span{display:block;font:9px monospace;color:#7c8973;margin-top:4px}
.hero-controls{margin:6px auto 0;max-width:900px}.hero-controls summary{width:max-content;margin:auto;cursor:pointer;list-style:none;font-size:10px;color:#66785f;padding:8px 14px;border:1px solid #dce3d4;border-radius:30px}.hero-controls summary::-webkit-details-marker{display:none}.hero-controls summary::after{content:' +';margin-left:10px}.hero-controls[open] summary::after{content:' −'}.hero-controls[open] .room-actionbar{margin-top:14px}
.expertise-strip{margin-top:0}.portfolio-dock .dock-brand{padding-right:18px}
@media(max-width:760px){.hero{padding-top:10px;padding-bottom:45px}.hero .scene-stage{height:345px}.hero .room-actionbar{gap:4px}.hero .room-actionbar button{font-size:8px;padding:7px 8px;min-height:32px}.hero .room-bottom{display:flex;flex-direction:column;gap:0}.hero .room-status{font-size:9px;max-width:100%;text-align:center}.hero .room-utilities{justify-content:center}.hero-copy{padding-top:40px}.hero h1{font-size:clamp(35px,8.5vw,52px)}.hero h1 br{display:none}.hero-copy .eyebrow{font-size:7px;margin-bottom:20px}.hero-description{font-size:12px}.hero .room-hint{font-size:9px}}
@media(max-width:760px){.hero .scene-stage{height:300px;width:calc(100% + 32px);margin-left:-16px}.hero .room-actionbar{display:flex;justify-content:center}.hero .room-actionbar button{flex:0 1 auto;padding:7px 12px;font-size:9px}.hero .room-actionbar button svg{display:none}.hero-controls{margin-top:8px}.hero-controls summary{font-size:9px}}
/* Controls live inside the scene, with object actions anchored in the room. */
.hero .scene-stage{height:610px;position:relative;overflow:visible}.room-large .scene-stage{position:relative;overflow:visible}
.room-toolbar{position:absolute;right:22px;top:16px;z-index:8;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid #dce2d5;background:#fbfaf6e8;backdrop-filter:blur(16px);border-radius:30px;box-shadow:0 5px 22px #263b2010}
.room-toolbar>button,.room-menu>summary{font-size:10px;min-height:34px;padding:8px 13px;border-radius:22px;list-style:none;cursor:pointer}.room-menu>summary::-webkit-details-marker{display:none}.room-toolbar>button[aria-pressed=true]{background:#e0edc8}.room-toolbar button:hover,.room-menu>summary:hover{background:#eef2e7}.room-toolbar button:disabled{opacity:.5;cursor:default}
.room-menu{position:relative}.room-menu>div{position:absolute;top:44px;right:-5px;width:186px;background:#fbfaf6f5;border:1px solid #dce2d5;border-radius:14px;padding:7px;box-shadow:0 10px 30px #23382318;backdrop-filter:blur(16px)}.room-menu>div>button{display:block;width:100%;text-align:left;min-height:37px;font-size:10px;padding:10px;border-radius:7px}
.hero [data-hotspot],.room-object-chip{display:flex;position:absolute;z-index:5;opacity:1;visibility:visible;transform:translate(-50%,-110%);font-size:9px;padding:7px 11px;min-height:32px;border:1px solid #dce2d5;background:#fbfaf6ed;color:#496046;border-radius:30px;box-shadow:0 3px 14px #263b2008;white-space:nowrap}
.room-object-chip:hover{background:#e4edcf;transform:translate(-50%,-115%)}
.scene-stage .room-hint{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;background:#fbfaf6c9;border-radius:20px;padding:7px 12px;pointer-events:none}
.scene-stage .room-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.single-experiment{grid-template-columns:1fr}.single-experiment .data-tile{min-height:310px}.single-experiment .event-art{right:10%;top:65px}.hero-copy{padding-top:38px}
@media(max-width:760px){.hero .scene-stage{height:340px}.room-toolbar{top:0;right:5px;padding:3px}.room-toolbar>button,.room-menu>summary{font-size:9px;padding:7px 10px;min-height:32px}.hero [data-hotspot],.room-object-chip{font-size:8px;padding:5px 8px;min-height:27px}.hero .secondary-chip{display:none}.scene-stage .room-hint{bottom:0;font-size:8px}.single-experiment .event-art{right:-50px;top:135px}.hero-copy{padding-top:34px}}
