/* Visual Lab · Sand / Graphite / Citron. Shared across all eight routes. */
:root{--sand:#e9e4d9;--surface:#f6f2e8;--ink:#242720;--muted:#77796e;--edge:#c9c9b7;--acid:#e4f497;--acid-hover:#d3e87b;--shadow:0 16px 48px #4948360c;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
::selection{background:var(--acid);color:var(--ink)}body{background:var(--sand);color:var(--ink);background-image:radial-gradient(ellipse at 10% 0%,#f9f6ec 0,transparent 48%),radial-gradient(ellipse at 95% 35%,#dfe1c6aa 0,transparent 42%);background-attachment:fixed}body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(#77786008 1px,transparent 1px),linear-gradient(90deg,#77786008 1px,transparent 1px);background-size:72px 72px}button,a{outline-offset:6px}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline-color:#738725}button{color:var(--ink)}main{width:min(960px,calc(100% - 64px));margin:64px auto}.intro{position:relative;isolation:isolate;padding:48px;border:1px solid #ffffffb3;border-radius:36px;background:linear-gradient(135deg,#fbf8ef,#f0ecdf);box-shadow:var(--shadow),inset 0 1px 0 white;overflow:hidden}.intro::before{content:"";position:absolute;pointer-events:none;right:-100px;top:-170px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle at 28% 28%,#ffffff 0,#eeeede 24%,#c1c6aa 48%,#8c967661 63%,transparent 64%);opacity:.45;z-index:-1;filter:blur(.3px)}h1{font-size:64px;line-height:1.02;font-weight:500;letter-spacing:-4px}#about>h1{display:flex;align-items:center;gap:18px}#about>h1::before{content:"";width:28px;height:28px;flex:0 0 28px;background:var(--ink);clip-path:polygon(48% 0,57% 35%,85% 14%,65% 43%,100% 48%,65% 57%,86% 85%,57% 65%,52% 100%,43% 65%,15% 86%,35% 57%,0 52%,35% 43%,14% 15%,43% 35%);animation:star-turn 24s linear infinite}.identity{margin-top:38px;min-height:190px;align-items:center;gap:32px}.identity strong{font-size:24px;letter-spacing:-.7px}.identity p{font-size:15px;line-height:1.55;color:var(--muted);margin-top:8px}.portrait{width:160px;max-width:30%;height:auto;border-radius:22px;border:8px solid #f9f7ed;outline:1px solid #b6bba3;box-shadow:12px 12px 0 #d8ddc5;transform:rotate(3deg);transition:transform .3s ease,box-shadow .3s ease;filter:contrast(1.05)}.bio{font-size:30px;line-height:1.35;letter-spacing:-1px;max-width:810px;margin-top:38px}.intro-actions{margin-top:40px}.purple,.cv,.case-callout a,.project-external{position:relative;isolation:isolate;min-height:46px;border:1px solid #929c5d66;border-radius:12px;background:var(--acid);color:var(--ink);font-size:15px;font-weight:500;letter-spacing:-.25px;padding:12px 18px;box-shadow:0 3px 0 #9ba86060,inset 0 1px 0 #ffffffe6;transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}.cv{background:#eeeede;border-color:#c9cdba;box-shadow:0 3px 0 #b9bfaa55;gap:10px;font-family:var(--mono);font-size:12px;letter-spacing:.5px}.purple .arrow,.cv svg{width:20px;height:20px;flex-basis:20px;stroke-width:1.8}.intro-actions .purple{gap:32px}.projects{counter-reset:project}.projects>h2{font-size:56px;letter-spacing:-2.8px;display:flex;align-items:center;gap:24px;text-align:left;margin:72px 0 32px}.projects>h2::after{content:"";height:1px;flex:1;background:#a8ad9370}.project{counter-increment:project;aspect-ratio:2/1;border:7px solid #f6f2e8;border-radius:32px;margin-bottom:32px;box-shadow:0 0 0 1px #bec4ad88,var(--shadow);transition:transform .3s ease,box-shadow .3s ease,border-color .25s ease}.project::before{content:"0" counter(project);position:absolute;top:18px;left:18px;z-index:3;display:grid;place-items:center;width:34px;height:34px;border:1px solid #f8f6e480;border-radius:10px;color:var(--ink);background:#f5f3e6d9;backdrop-filter:blur(12px);font:11px var(--mono);pointer-events:none}.project .project-info{padding:38px;background:linear-gradient(0deg,#171d16ed,#242a20a6 65%,#242a2055);color:#f7f2e5}.project-info h3{font-size:58px;letter-spacing:-2.8px;font-weight:500;line-height:1.05;max-width:90%}.project .tags span{font:11px var(--mono);border:1px solid #dce5bd77;background:#f8f8ea10;border-radius:6px;padding:7px 9px;backdrop-filter:blur(8px)}.project-cursor{color:var(--ink);background:var(--acid);border:1px solid #eef8c1;border-radius:12px;padding:13px 18px;box-shadow:0 5px 22px #12170f33;font-size:14px;gap:22px}.experience-nav .tabs{gap:10px}.experience-nav .tabs button{font:12px var(--mono);border:1px solid #c4c9b4;border-radius:10px;min-height:42px;background:#e9eadd;color:#666e57;box-shadow:inset 0 1px 0 #ffffffa8;transition:background-color .2s,border-color .2s,transform .2s}.experience-nav .tabs [aria-selected=true]{background:var(--ink);color:var(--acid);border-color:var(--ink);box-shadow:0 4px 12px #24272018;font-weight:400}#experience{grid-template-columns:145px minmax(0,1fr);gap:36px;min-height:580px}#experience-close{font-size:14px;gap:12px}#job .job-header{padding-bottom:16px;border-color:#bec5a8;margin-bottom:28px}#job .job-header h2{font-size:18px;letter-spacing:-.5px}#job .job-header .company{font-size:14px;color:var(--muted)}#job h3{font:11px var(--mono);line-height:1.5;border-color:#b2bc97;background:#e8edda;border-radius:6px;padding:5px 9px}#job p,#job li{font-size:16px;line-height:1.55;color:#454b3e;letter-spacing:-.3px}#job>*{animation:panel-in .3s ease both}#job a{color:#3e501e;text-decoration-thickness:1px;text-underline-offset:4px}dialog{background:var(--surface);border:1px solid #ccd4b8;border-radius:24px;box-shadow:0 30px 120px #24272040}dialog h2{letter-spacing:-1px}dialog::backdrop{background:#20271c55;backdrop-filter:blur(8px)}
/* Project pages retain their original two-column structure and artwork. */
.case-layout{width:calc(100% - 80px);max-width:1320px;grid-template-columns:minmax(280px,360px) minmax(0,936px);gap:32px;margin:40px auto}.project-sidebar{top:32px}.back-link{margin-bottom:16px;font-size:13px;min-height:42px;padding:10px 16px;gap:16px}.project-summary{padding:28px;background:linear-gradient(145deg,#faf7ee,#eee9db);border:1px solid #fff9;border-radius:28px;box-shadow:var(--shadow),inset 0 1px 0 #fff}.project-summary h1{font-size:34px;letter-spacing:-1.7px;line-height:1.08;margin-bottom:18px}.project-summary .subtitle{font-size:14px;line-height:1.5;color:#555b4d}.credits-label{font:10px var(--mono);text-transform:uppercase;letter-spacing:1.3px;color:#7c826d;margin-top:24px}.credit{font-size:14px;gap:12px;line-height:1.3}.credit img{border:2px solid #fbf9ef;box-shadow:0 0 0 1px #b7c09d}.credit a{text-underline-offset:4px;text-decoration-color:#9ba986}.case-tags{gap:6px}.case-tags span{font:10px var(--mono);line-height:1.4;border:1px solid #bbc3a6;border-radius:6px;background:#e5e9d6;color:#596443;padding:5px 7px}.case-callout{background:radial-gradient(at 100% 0,#e4f497,#d1d9b7);border:1px solid #abb68e;color:#303c20;padding:16px;border-radius:18px;margin-top:28px}.case-callout h2{font-size:20px;letter-spacing:-.5px}.case-callout p{color:#586444}.case-callout a{background:var(--ink);color:var(--acid);border-color:var(--ink);box-shadow:0 3px 0 #0002;border-radius:10px;padding:12px;font-size:14px}.case-content{padding-top:59px}.case-content .copy{margin:28px 0}.copy h2{font:11px var(--mono);line-height:1.5;text-transform:uppercase;letter-spacing:1px;color:#5c6943;margin-bottom:10px}.copy p,.copy li{font-size:16px;line-height:1.55;color:#454b3e}.case-content figcaption{font:10px var(--mono);color:#788065;line-height:1.4;margin-top:10px}.study-summary{background:radial-gradient(at 100% 100%,#dfe9be,transparent 75%),#f7f3e8}.study-content{margin-top:59px;padding-top:0;background:#f9f6ed;border:1px solid #fff9;box-shadow:var(--shadow);border-radius:28px}.study-intro{background:radial-gradient(at 0 90%,#e6f1ba,transparent 70%),linear-gradient(135deg,#d8ddca,#9caa85)}.hiry-wordmark img{filter:brightness(.23) sepia(.3)}.white-panel{background:#fffcf2ed;border-color:#d7dcc7;border-radius:16px}.white-panel h2{color:var(--ink);letter-spacing:-.5px}.white-panel p,.white-panel li{color:#58604c;line-height:1.5}.hypotheses>h2{font-size:26px;letter-spacing:-1px}.hypotheses th{font:10px var(--mono);color:#71795e;letter-spacing:1px}.hypotheses td{background:#fdfbf4;font-size:13px;line-height:1.45}.solution>h2{font-size:24px;letter-spacing:-.75px;border-radius:12px}.solution{background:#fffdf5;border-radius:20px}.solution-note{border:1px solid var(--edge)}.result{background:linear-gradient(135deg,#f4f5e7,#e4eccf)}.project-external{background:#e8ecdb;border-color:#c2caae;font:11px var(--mono);padding:10px 12px;min-height:38px;gap:14px;box-shadow:0 2px 0 #bdc7a44d}.project-external .arrow{width:16px;height:16px;flex-basis:16px}.ultra-summary .case-tags{padding-top:32px}.treepilya-summary>.project-external{top:28px;right:28px;font-size:10px}.treepilya-summary .case-tags span{font-size:10px}.voca-brand img{box-shadow:0 5px 15px #13151012}.telegram-summary h1{font-size:14px;letter-spacing:-.25px}.up-link{border-radius:12px;min-height:42px;font:12px var(--mono);gap:20px}.ultra-content figure img,.voca-content figure img,.escobarberia-video,.ultra-video{background:#efede3}
@media(hover:hover) and (pointer:fine){.purple:hover{background:var(--acid-hover);color:var(--ink);box-shadow:0 5px 0 #9ba86060,0 8px 20px #7d8c3830;transform:translateY(-2px)}.cv:hover,.project-external:hover{background:#e1e8ca;transform:translateY(-2px);box-shadow:0 5px 0 #b6bf9b66}.portrait:hover{transform:rotate(0deg);box-shadow:6px 6px 0 #ccd7ac}.project:hover{transform:translateY(-5px);border-color:#edf5d1;box-shadow:0 0 0 1px #a7ba7d,0 22px 50px #5d664322}.experience-nav .tabs button:hover{background:#dde5c8;border-color:#9eaf7c;transform:translateX(2px)}.experience-nav .tabs [aria-selected=true]:hover{background:#303729;color:var(--acid)}.case-callout a:hover{background:#3c452c;color:#f0ffc4;transform:translateY(-1px)}.project:hover .project-cursor .arrow{transform:none}}button:active,.purple:active,.cv:active,.project-external:active{transform:translateY(1px);box-shadow:0 1px 0 #9ba86060}
@keyframes star-turn{to{transform:rotate(360deg)}}@keyframes panel-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.case-layout{width:calc(100% - 48px);grid-template-columns:280px minmax(0,1fr);gap:24px}.project-summary{padding:24px}.project-summary h1{font-size:30px}.treepilya-summary>.project-external{position:static;display:inline-flex;margin-bottom:16px}.case-content{padding-top:59px}.study-content{margin-top:59px;padding-top:0}.project-summary .subtitle{font-size:14px}.project-info h3{font-size:48px}}
@media(max-width:700px){main{width:calc(100% - 32px);margin:24px auto}.intro{padding:28px;border-radius:28px;min-height:0}h1{font-size:42px;letter-spacing:-2.4px}#about>h1{gap:12px}#about>h1::before{width:22px;height:22px;flex-basis:22px}.identity{margin-top:28px;gap:20px;min-height:0;align-items:flex-start}.identity strong{font-size:20px}.identity p{font-size:13px;line-height:1.5}.portrait{width:105px;max-width:35%;border-width:5px;border-radius:16px;box-shadow:6px 6px 0 #d8ddc5}.bio{font-size:22px;line-height:1.4;letter-spacing:-.65px;margin-top:28px}.intro-actions{margin-top:28px}.purple{font-size:13px;padding:11px 14px}.cv{font-size:11px;padding:10px;min-height:40px}.intro::before{width:300px;height:300px;top:-110px;right:-150px}.projects>h2{font-size:38px;letter-spacing:-1.8px;margin:44px 0 24px;gap:20px}.project{border-width:5px;border-radius:26px;aspect-ratio:4/3;margin-bottom:24px}.project-info h3{font-size:34px;letter-spacing:-1.5px}.project .project-info{padding:24px;background:linear-gradient(0deg,#171d16f2,transparent 95%)}.project .tags span{font-size:9px;padding:5px 6px}.project::before{top:12px;left:12px;width:28px;height:28px;font-size:10px}.project-cursor{display:none}#experience{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;min-height:0}.experience-nav .tabs{gap:6px}.experience-nav .tabs button{font-size:11px;padding:8px 4px;min-height:40px}#job .job-header h2{font-size:17px}#job .job-header .company{font-size:13px}#job p,#job li{font-size:15px;line-height:1.55}#job h3{font-size:10px}#experience-close{font-size:13px;justify-self:start}.case-layout{display:block;width:calc(100% - 32px);margin:24px auto}.project-sidebar{position:static}.project-summary{padding:24px;border-radius:26px}.project-summary h1{font-size:32px}.project-summary .subtitle{font-size:15px}.case-content{padding-top:28px}.study-content{margin-top:28px;padding-top:0}.back-link{font-size:12px;min-height:40px}.treepilya-summary>.project-external{position:absolute;top:24px;right:24px;font-size:10px;padding:8px}.treepilya-summary .case-tags span{font-size:9px}.copy p,.copy li{font-size:15px}.copy h2{font-size:11px}.telegram-summary h1{font-size:14px}.solution>h2{font-size:22px}.hypotheses>h2{font-size:22px}.ultra-load{background:transparent}.up-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Revision 2 · a single type family, 8px spacing rhythm, terracotta accent. */
:root{--acid:#e4f497;--acid-hover:#687c2e;--ink:#282720;--muted:#716d63;--edge:#d5cec0;--sand:#e9e4d9;--surface:#f7f3e9;--mono:Inter,Arial,sans-serif;--shadow:none;--accent-soft:#efe0d6}
body{background:#e9e4d9;color:var(--ink);font-family:Inter,Arial,sans-serif}body::before,.intro::before,#about>h1::before,.projects>h2::after{content:none;display:none}#about>h1{display:block;text-align:left}.intro,.project-summary{background:#f7f3e9;border-color:#d8d0c1;box-shadow:none}.intro{padding:40px}.identity{margin-top:32px}.bio{margin-top:32px;font-size:28px;line-height:1.4}.projects>h2{margin-top:64px;margin-bottom:32px}.portrait{border-color:#f7f3e9;outline-color:#c9bca8;box-shadow:none;transform:none}.portrait:hover{box-shadow:none;transform:none}.purple,.purple:hover,.purple:active,.case-callout a,.case-callout a:hover,.project-cursor{background:#e4f497;color:#fff9ef;border-color:#e4f497;box-shadow:none!important}.purple:hover,.case-callout a:hover{background:#687c2e;border-color:#687c2e}.cv,.cv:hover,.cv:active,.project-external,.project-external:hover,.project-external:active{background:#eee7da;color:#343127;border-color:#d3c6b4;box-shadow:none!important}.cv{text-decoration:none;font-size:13px;letter-spacing:0;white-space:nowrap;gap:8px}.cv:hover,.project-external:hover{background:#e4dac9}.purple,.cv,.project-external,.case-callout a{font-weight:500;letter-spacing:0;border-radius:10px}.experience-nav .tabs button{font-family:inherit;font-size:13px;letter-spacing:0;background:#eee8dc;border-color:#d5cbbc;box-shadow:none}.experience-nav .tabs button:hover{background:#e9ddcd;border-color:#c5ae95}.experience-nav .tabs [aria-selected=true],.experience-nav .tabs [aria-selected=true]:hover{background:#39372f;border-color:#39372f;color:#fff9ef;box-shadow:none}#job h3{font-size:12px;background:#eee7da;border-color:#d2c5b1;color:#635444;letter-spacing:0}#job .job-header{border-color:#d2c8b7}#job p,#job li,.copy p,.copy li{color:#49463d;line-height:1.55}#job a{color:#687c2e}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline-color:#e4f497}.projects .project{border-color:#f7f3e9;box-shadow:0 0 0 1px #d1c5b3}.project:hover{border-color:#f4e7da;box-shadow:0 0 0 1px #b7c795,0 14px 32px #49342212}.project::before{font-family:inherit;background:#f7f3e9e6;color:#51493d;border-color:#dfd4c4}.project .tags span{font-family:inherit;font-size:12px;letter-spacing:0}.project-shell{position:relative}.project-shell .project{margin-bottom:32px}.project .project-info{background:linear-gradient(0deg,#241c16ed,#30261db0 65%,#30261d55)}.project-summary{padding:24px}.project-summary .subtitle{margin-bottom:24px;line-height:1.5;color:#5d564b}.project-summary h1{margin-bottom:16px}.credits-label{font-size:11px;letter-spacing:.8px;margin-top:24px;margin-bottom:16px;color:#807466}.case-tags{margin-top:24px;gap:8px}.case-tags span{font-family:inherit;font-size:11px;letter-spacing:0;background:#eee6d8;color:#665543;border-color:#d3c1aa;padding:5px 8px}.credit img{box-shadow:none;border-color:#d9c9b4}.credit a{text-decoration-color:#87996a}.case-callout{background:#eee3d5;border:1px solid #d5c1aa;color:#3d3329;padding:16px;margin-top:24px}.case-callout p{color:#70604e;line-height:1.5}.case-callout a{margin-top:16px}.copy h2{font-family:inherit;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:#3d352a;margin-bottom:8px}.case-content .copy{margin:24px 0}.case-content figcaption{font-family:inherit;font-size:12px;letter-spacing:0;color:#817567;margin-top:8px;line-height:1.5}.up-link{font-family:inherit;font-size:13px;letter-spacing:0}.treepilya-summary .case-tags span{font-size:11px}.ultra-summary .case-tags{padding-top:24px}.project-external{font-family:inherit;font-size:13px;letter-spacing:0}.treepilya-summary>.project-external{font-size:12px;top:24px;right:24px}.telegram-summary h1{font-size:16px;letter-spacing:-.3px}
/* Case study: one neutral canvas and editorial sections, no nested gradient cards. */
.study-summary{background:#f7f3e9}.study-content{background:#f7f3e9;border-color:#d8d0c1;box-shadow:none;padding-inline:32px;padding-bottom:32px}.study-intro{margin:0;padding:32px 0;background:none}.hiry-wordmark{height:88px;margin-bottom:32px;justify-content:flex-start}.hiry-wordmark img{height:64px;filter:brightness(.2)}.white-panel{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 32px}.white-panel h2{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:0 0 12px}.white-panel p,.white-panel li{color:#5d564b;font-size:16px;line-height:1.55}.hypotheses{margin:16px 0 48px}.hypotheses>h2{text-align:left;font-size:26px;line-height:1.2;margin-bottom:16px}.hypotheses table{border-spacing:0;border:1px solid #d8ccba;border-radius:12px;overflow:hidden}.hypotheses th{font-family:inherit;font-size:11px;font-weight:500;letter-spacing:.8px;color:#7b6f60;border:0;background:#eee7da;padding:16px}.hypotheses td,.hypotheses td:first-child,.hypotheses td:last-child{background:none;color:#51493e;border:0;border-radius:0;padding:20px 16px;font-family:inherit;font-size:14px;line-height:1.5}.hypotheses tbody tr+tr td{border-top:1px solid #ddd3c3}.hypotheses td+td{border-left:1px solid #e4dacb}.matrix-note{font-size:13px;line-height:1.5;text-align:left;color:#837463;margin-top:12px}.solution,.solution.blue,.solution.gold,.solution.violet{--edge:#d8ccba;--tint:#eee7da;--ink:#514739;background:none;border:0;border-radius:0;padding:0;margin:48px 0}.solution>h2{background:none;border:0;border-bottom:1px solid #cfc1ae;padding:0 0 16px;margin:0 0 32px;border-radius:0;color:#342d24;font-size:26px;font-weight:500;letter-spacing:-.7px}.solution-note{background:#eee7da;border:0;border-radius:12px;padding:16px;margin:16px 0}.solution-note h3{font-size:16px;font-weight:500;color:#44392d;margin:0 0 8px}.solution-note p{font-size:14px;color:#6a5d4c;line-height:1.55}.solution-grid,.solution-row{gap:24px}.solution-row+.solution-row{margin-top:32px}.solution figure img{border-color:#ded3c3}.result{background:none;border-top:1px solid #d8ccba;padding-top:32px;margin-top:48px}.result h2:not(:first-child){margin-top:32px}
/* Video controls stay outside project links and do not move the media. */
.controlled-video{position:relative}.video-control{position:absolute;z-index:5;right:12px;bottom:12px;min-width:64px;min-height:36px;padding:8px 12px;border:1px solid #d9c5af;border-radius:8px;background:#f7f3e9f2;color:#4d3a2b;font:500 12px Inter,Arial,sans-serif;box-shadow:none!important;cursor:pointer;backdrop-filter:blur(8px)}.video-control:hover{background:#eee0ce}.card-video-control{right:20px;bottom:20px}.ultra-nav .video-control,.ultra-load .video-control{right:4px;bottom:4px;min-height:24px;min-width:44px;padding:4px 6px;font-size:10px}.touch-direction{display:none}.next-project{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 0;margin-top:48px;border-top:1px solid #cfc1ae;color:#393027;text-decoration:none}.next-project>span{display:flex;flex-direction:column;gap:8px}.next-label{font-size:12px;color:#7e826d}.next-project strong{font-size:28px;font-weight:500;line-height:1.2;letter-spacing:-1px}.next-project>.arrow{width:32px;height:32px;flex-basis:32px;color:#e4f497}.next-project:hover strong{color:#687c2e}.next-project:hover>.arrow{transform:translateX(4px)}
/* Full-screen, keyboard-accessible image inspection. */
.zoomable-image{cursor:zoom-in}.image-viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#26231f;color:#fff8ed;overflow:hidden}.image-viewer[open]{display:flex;flex-direction:column}.image-viewer::backdrop{background:#26231ff5}.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid #ffffff20;flex-shrink:0}.viewer-counter{font:13px Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}.viewer-tools{display:flex;gap:8px}.viewer-tools button{padding:10px 14px;min-width:40px;min-height:40px;border-radius:8px;border:1px solid #8f7965;background:#453c32;color:#fff7ea;font:14px Inter,Arial,sans-serif;box-shadow:none!important}.viewer-tools button:hover{background:#6a4d37}.viewer-tools button:disabled{opacity:.35;cursor:default}.viewer-canvas{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}.viewer-canvas>img{display:block;max-width:none;height:auto;margin:0 auto;object-fit:contain}.viewer-caption{flex-shrink:0;margin:0;padding:12px 24px;font-size:12px;line-height:1.5;color:#d6c4b1;border-top:1px solid #ffffff20}
@media(hover:none){.project .project-info{opacity:1}.touch-direction{display:flex;position:absolute;right:24px;bottom:24px;color:#fff7e9}.project .tags{padding-right:32px}}
@media(max-width:700px){.intro{padding:24px}.bio{font-size:21px;line-height:1.45;margin-top:28px}.identity{gap:12px}.portrait{width:92px;max-width:33%}.identity strong{font-size:18px}.identity p{font-size:12px}.cv{font-size:11px;padding:10px 8px;gap:6px}.cv svg{width:15px;height:15px}.project-shell .project{margin-bottom:24px}.project .project-info{opacity:1;padding:24px}.project .tags{padding-right:28px}.project .tags span{font-size:10px;padding:5px 6px}.project-info h3{font-size:32px;letter-spacing:-1.3px}.touch-direction{display:flex;position:absolute;right:24px;bottom:24px;color:#fff7e9}.project-summary{padding:24px}.project-summary .subtitle{font-size:15px}.treepilya-summary>.project-external{font-size:10px}.treepilya-summary .case-tags span{font-size:10px}.study-content{padding-inline:20px;padding-bottom:24px}.study-intro{margin:0;padding:24px 0 8px}.hiry-wordmark{height:72px;margin-bottom:24px}.hiry-wordmark img{height:56px}.white-panel{margin-bottom:24px}.white-panel h2{font-size:21px}.white-panel p,.white-panel li{font-size:15px}.hypotheses{margin:16px 0 32px}.hypotheses table{border:0;border-radius:0}.hypotheses tr{border-color:#d8ccba;background:#f1eadf;border-radius:12px}.hypotheses td,.hypotheses td:first-child,.hypotheses td:last-child{padding:12px 16px;border:0;font-size:14px}.hypotheses td+td,.hypotheses tbody tr+tr td{border:0}.hypotheses td+td{border-top:1px solid #ded2c1}.hypotheses td::before{font:500 10px Inter,Arial,sans-serif;color:#7f876d;letter-spacing:.8px;margin-bottom:6px}.solution,.solution.blue,.solution.gold,.solution.violet{margin:32px 0}.solution>h2{font-size:23px;padding-bottom:12px;margin-bottom:24px}.solution-grid,.solution-row{gap:8px}.solution-note{margin:8px 0 16px;padding:16px}.next-project{margin-top:32px;padding-top:24px}.next-project strong{font-size:24px}.card-video-control{top:14px;right:14px;bottom:auto;min-height:32px}.video-control{right:8px;bottom:8px;min-height:32px;font-size:11px}.ultra-nav .video-control,.ultra-load .video-control{font-size:9px;min-height:20px;padding:3px 5px;min-width:36px}.viewer-toolbar{padding:12px;gap:8px}.viewer-tools{gap:4px}.viewer-tools button{padding:8px;min-width:36px;min-height:40px;font-size:12px}.viewer-caption{padding:12px;font-size:11px}.viewer-canvas{padding:8px}}
@media(max-width:360px){.treepilya-summary>.project-external{position:static;display:inline-flex;margin:0 0 16px}.treepilya-summary .tree-brand{margin-bottom:16px}.viewer-tools button{padding:7px;min-width:32px}.viewer-counter{font-size:11px}}
/* Revision 3 · Citron returns, with selective monospace details. */
:root{--acid:#e4f497;--acid-hover:#d3e87b;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
.purple,.purple:hover,.purple:active,.case-callout a,.case-callout a:hover,.project-cursor{background:var(--acid);color:#292e20;border-color:#bac789;box-shadow:none!important}.purple:hover,.case-callout a:hover{background:var(--acid-hover);border-color:#9dab6e}.cv,.cv:hover,.project-external,.project-external:hover{background:#eceede;color:#393d2f;border-color:#c8ceb6}.cv:hover,.project-external:hover{background:#e0e6ca}.experience-nav .tabs [aria-selected=true],.experience-nav .tabs [aria-selected=true]:hover{background:#292e23;color:#e4f497;border-color:#292e23}.experience-nav .tabs button{background:#e9ecde;border-color:#c9cfb7}.experience-nav .tabs button:hover{background:#dfe7c9;border-color:#abb98a}.case-tags span,#job h3{font-family:var(--mono);font-size:10px;line-height:1.5;letter-spacing:0;background:#e8edda;border-color:#c5ceb0;color:#606d47}.project .tags span{font-family:var(--mono);font-size:10px;line-height:1.4;letter-spacing:0}.experience-nav .tabs button{font-family:var(--mono);font-size:12px}.project::before{font-family:var(--mono)}.credits-label,.next-label,.hypotheses th,.hypotheses td::before{font-family:var(--mono)}.next-project>.arrow{color:#667832}.next-project:hover strong{color:#687c2e}#job a{color:#56672c}.case-callout{background:#e8ecd9;border-color:#c8d0b4;color:#3c452e}.case-callout p{color:#66734c}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline-color:#7e9243}.portrait{border:8px solid #faf8ee;outline:1px solid #b6bba3;box-shadow:12px 12px 0 #d8ddc5;transform:rotate(3deg);transition:transform .3s ease,box-shadow .3s ease}.intro::before{content:none;display:none}.intro.is-flipping{pointer-events:none;backface-visibility:hidden;will-change:transform,height}.intro.is-flipping #job>*{animation:none}.hypotheses{margin-top:16px;margin-bottom:48px}.hypotheses>h2{margin-bottom:20px}.hypotheses table{table-layout:fixed;border:0;border-radius:0;border-collapse:separate;border-spacing:0 12px;overflow:visible}.hypotheses th{border:0;background:transparent;text-align:left;color:#7b826a;font-size:10px;letter-spacing:.8px;padding:0 20px 4px}.hypotheses td,.hypotheses td:first-child,.hypotheses td:last-child{padding:20px;background:#f1eee3;border-top:1px solid #d5d8c7;border-bottom:1px solid #d5d8c7;vertical-align:top;border-radius:0;color:#4a4e40;font-size:14px;line-height:1.55}.hypotheses tbody tr+tr td{border-top:1px solid #d5d8c7}.hypotheses td+td{border-left:1px solid #dddccd}.hypotheses td:first-child{background:#e9eddd;border-left:1px solid #cbd4b6;border-color:#cbd4b6;border-radius:12px 0 0 12px}.hypotheses td:last-child{border-right:1px solid #d5d8c7;border-radius:0 12px 12px 0}.hypothesis-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin-bottom:12px;border:1px solid #bac98f;border-radius:8px;background:#e4f497;color:#556632;font:11px var(--mono)}.hypothesis-need{font-weight:500;color:#3d472e}.matrix-note{font-size:12px;color:#7e826d;margin-top:12px}.solution-note{background:#edeedf}.solution>h2,.result{border-color:#cfd3c0}.viewer-tools button{background:#414737;border-color:#7b8962}.viewer-tools button:hover{background:#5c6948}.video-control{border-color:#bfc9a7;background:#f4f5eaf2;color:#4d5a36}.video-control:hover{background:#e4ecd1}
@media(hover:hover) and (pointer:fine){.portrait:hover{transform:rotate(0deg);box-shadow:6px 6px 0 #ccd7ac}.project:hover{border-color:#edf3dd;box-shadow:0 0 0 1px #b9c49b,0 14px 32px #49342212}}
@media(max-width:1000px){.hypotheses table,.hypotheses tbody,.hypotheses tr,.hypotheses td{display:block;width:100%}.hypotheses thead{display:none}.hypotheses tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #d1d7c0;border-radius:14px;overflow:hidden;margin:0 0 16px;background:#f1eee3}.hypotheses td,.hypotheses td:first-child,.hypotheses td:last-child,.hypotheses tbody tr+tr td{border:0;border-radius:0;padding:16px;background:transparent}.hypotheses td:first-child{grid-column:1/-1;background:#e9eddd;border-bottom:1px solid #d1d7c0;display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;align-items:start}.hypotheses td:first-child::before{content:none}.hypothesis-number{margin:0}.hypothesis-need{align-self:center}.hypotheses td+td{border:0}.hypotheses td:last-child{border-left:1px solid #dbddcf}.hypotheses td:not(:first-child)::before{content:attr(data-label);display:block;font:10px var(--mono);text-transform:uppercase;letter-spacing:.7px;color:#7f876d;margin-bottom:8px}}
@media(max-width:700px){.portrait{width:92px;max-width:33%;border-width:5px;border-radius:16px;box-shadow:6px 6px 0 #d8ddc5}.case-tags span,#job h3{font-size:10px}.project .tags span{font-size:9px}.experience-nav .tabs button{font-size:11px}.treepilya-summary .case-tags span{font-family:var(--mono);font-size:9px}.hypotheses tr{display:block}.hypotheses td:first-child{display:grid}.hypotheses td:last-child{border-left:0;border-top:1px solid #dbddcf}.hypotheses td:not(:first-child){font-size:14px;line-height:1.5}.hypotheses>h2{font-size:23px;line-height:1.25}.hypotheses{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){.portrait{transition:none}.intro.is-flipping{transform:none!important}}
/* Shared palette and stable, equal-height card faces. */
:root{--accent:#e4f497;--accent-hover:#d3e87b;--accent-edge:#b5c486;--accent-depth:#9ba86060;--text:#292e23;--text-muted:#747968;--line:#ccd1bf}
.purple,.purple:active,.case-callout a,.project-cursor{background:var(--accent);color:var(--text);border:1px solid var(--accent-edge);box-shadow:0 3px 0 var(--accent-depth),inset 0 1px 0 #ffffffe6!important}.cv,.project-external{background:#eeeede;border-color:#c9cdba;color:#393d2f;box-shadow:0 3px 0 #b9bfaa55,inset 0 1px 0 #ffffffa8!important}.purple:active,.cv:active,.project-external:active{transform:translateY(2px);box-shadow:0 1px 0 var(--accent-depth)!important}.case-callout a{box-shadow:0 3px 0 var(--accent-depth),inset 0 1px 0 #ffffffe6!important}.video-control,.viewer-tools button{box-shadow:none!important}.case-tags span,#job h3{background:#e7edda;border-color:#bdc9a4;color:#4d5d34}.project .tags span{background:#f7f3e9;color:#353c2b;border:1px solid #f7f3e9;backdrop-filter:none;text-shadow:none;box-shadow:0 1px 4px #0002;font-weight:500;font-size:11px;line-height:1.45}.project .project-info{color:#fff9ed}.project::before{background:#f7f3e9;color:#4d5d34;border-color:#d1d6c4}.project:hover{border-color:#edf3dd}.next-label,.matrix-note,.credits-label{color:var(--text-muted)}.next-project,.solution>h2,.result,#job .job-header{border-color:var(--line)}.next-project strong,.copy h2{color:#3c4432}.viewer-tools button{background:#414737;border-color:#7b8962;color:#f8f6ed}.viewer-tools button:hover{background:#5c6948}.hypotheses td,.hypotheses td:first-child,.hypotheses td:last-child{color:#4a4e40}.intro{box-sizing:border-box;min-height:0}.intro>#about{height:100%;display:flex;flex-direction:column}.intro>#experience{height:100%;min-height:0}.intro #about .intro-actions{margin-top:auto;padding-top:32px}.intro.is-measuring>#about,.intro.is-measuring>#experience{height:auto!important;min-height:0!important}.intro.is-measuring #about .intro-actions{margin-top:40px;padding-top:0}.intro.is-flipping{will-change:transform;transform-origin:50% 50%}.intro.is-flipping #job>*{animation:none}
@media(hover:hover) and (pointer:fine){.purple:hover,.case-callout a:hover{background:var(--accent-hover);border-color:#aab974;color:var(--text);transform:translateY(-2px);box-shadow:0 5px 0 var(--accent-depth),0 8px 20px #7d8c3830,inset 0 1px 0 #ffffffe6!important}.cv:hover,.project-external:hover{background:#e1e8ca;transform:translateY(-2px);box-shadow:0 5px 0 #b6bf9b66,inset 0 1px 0 #ffffffa8!important}}
@media(max-width:700px){.project .tags span{font-size:10px;padding:5px 7px}.intro #about .intro-actions{padding-top:28px}.intro.is-measuring #about .intro-actions{margin-top:28px}.intro>#experience{min-height:0}.cv{font-size:11px}}
/* Neutral project hover; original artwork keeps its colors at rest. */
.project .project-info{background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.66) 65%,rgba(0,0,0,.4))}
.project:focus-visible img,.project:focus-visible video{filter:grayscale(1) blur(5px)}
.portrait{width:208px;max-width:34%;aspect-ratio:400/517;height:auto;object-fit:contain;background:#f7f3e9}
@media(hover:hover) and (pointer:fine){.project:hover img,.project:hover video{filter:grayscale(1) blur(5px)}}
@media(max-width:700px){.portrait{width:118px;max-width:38%;aspect-ratio:400/517}.identity{gap:14px}.project .project-info{background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.1) 95%)}}
@media(max-width:360px){.portrait{width:96px;max-width:34%}.identity{gap:10px}}
/* Compact first screen; both sides retain the same measured outer height. */
body:not(.case-page)>main{width:min(900px,calc(100% - 48px));margin:32px auto}.intro{padding:28px 32px;border-radius:28px}#about>h1{font-size:40px;letter-spacing:-2px;line-height:1.05}.identity{margin-top:16px;min-height:0;gap:24px;align-items:center}.identity strong{font-size:20px}.identity p{font-size:14px;line-height:1.4;margin:6px 0 12px}.portrait{width:116px;max-width:25%;border-width:5px;border-radius:18px;box-shadow:7px 7px 0 #d8ddc5}.bio{font-size:21px;line-height:1.4;letter-spacing:-.55px;margin-top:20px}.intro #about .intro-actions{padding-top:20px}.intro-actions .purple{min-height:40px;padding:9px 14px;font-size:13px}.cv{min-height:36px;font-size:11px;padding:8px 12px}.intro.is-measuring #about .intro-actions{margin-top:20px}.projects>h2{font-size:40px;letter-spacing:-1.8px;margin:32px 0 24px}#experience{grid-template-columns:130px minmax(0,1fr);gap:24px}.intro>#experience{min-height:0}.intro>#about{min-height:0}.intro>#experience #job{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-width:thin;scrollbar-color:#bbc6a0 transparent}#job .job-header{margin-bottom:20px;padding-bottom:12px}#job .job-header h2{font-size:16px}#job .job-header .company{font-size:12px}#job p,#job li{font-size:14px;line-height:1.45}#job h3{margin-top:20px;margin-bottom:8px;font-size:10px}#job li{margin-bottom:8px}.intro.is-measuring #job{overflow:visible!important}.intro #about .bio{min-height:0}.intro #about{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bbc6a0 transparent}.intro.is-measuring #about{overflow:visible}
@media(hover:hover) and (pointer:fine){.portrait:hover{box-shadow:4px 4px 0 #ccd7ac}}
@media(max-width:700px){body:not(.case-page)>main{width:calc(100% - 32px);margin:20px auto}.intro{padding:24px;border-radius:24px}#about>h1{font-size:32px;letter-spacing:-1.5px}.identity{margin-top:16px;gap:12px;align-items:center}.identity strong{font-size:17px}.identity p{font-size:12px;margin-bottom:10px}.portrait{width:90px;max-width:32%;border-width:4px;border-radius:14px}.cv{font-size:10px;padding:7px 8px;min-height:32px}.bio{font-size:17px;line-height:1.4;letter-spacing:-.3px;margin-top:20px}.intro #about .intro-actions{padding-top:16px}.intro.is-measuring #about .intro-actions{margin-top:16px}.projects>h2{font-size:32px;margin-top:28px;margin-bottom:20px}#experience{grid-template-columns:minmax(0,1fr);gap:20px;grid-template-rows:auto minmax(0,1fr) auto}.experience-nav .tabs button{min-height:36px;font-size:10px}.intro #experience #job{min-height:0;overflow:auto}#job p,#job li{font-size:14px;line-height:1.5}#job .job-header{margin-bottom:20px}#job .job-header h2{font-size:15px}#experience-close{min-height:36px;padding:8px 12px;font-size:12px}}
/* Fit the intro faces to the card instead of creating horizontal scroll areas. */
body:not(.case-page)>main{width:min(800px,calc(100% - 48px))}.intro{overflow:hidden;padding:28px 32px}.intro>#about,.intro>#experience{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:hidden}.intro>#about{overflow:visible;min-width:0}.intro #about .identity{min-width:0;width:100%;padding:6px 8px 10px 0;box-sizing:border-box}.identity>div{min-width:0;flex:1}.identity .portrait{flex:0 0 auto;max-width:28%;margin:4px 8px 4px 0}.intro .bio{width:100%;max-width:100%;min-width:0;overflow-wrap:break-word;word-break:normal;font-size:20px;line-height:1.4}.intro .intro-actions{flex:0 0 auto;min-width:0;padding-right:2px;padding-bottom:5px}.intro>#experience{min-width:0;overflow:hidden}.intro #experience #job{min-width:0;max-width:100%;overflow-x:hidden;overflow-y:auto;overflow-wrap:break-word;padding-right:10px;padding-left:2px}#job .job-header{flex-wrap:wrap;gap:8px}#job .job-header .company{white-space:normal}#job h3{max-width:100%;white-space:normal;overflow-wrap:break-word}.intro .experience-nav{min-width:0}.intro .experience-nav button{max-width:100%}.intro.is-measuring>#about,.intro.is-measuring>#experience,.intro.is-measuring #job{overflow:visible!important}
@media(max-width:700px){body:not(.case-page)>main{width:calc(100% - 32px)}.intro{padding:24px}.intro .bio{font-size:17px;line-height:1.4}.identity .portrait{width:86px;max-width:30%;margin-right:5px}.intro #about .identity{padding-right:5px;gap:10px}.identity strong{font-size:16px}.identity p{font-size:12px}.cv{white-space:normal;max-width:100%;font-size:10px;line-height:1.4}.intro .experience-nav .tabs{min-width:0}.intro .experience-nav .tabs button{min-width:0;white-space:normal}}
/* Matching intro actions and a slightly stronger portrait / biography. */
.intro #experience-open,.intro #experience-close{box-sizing:border-box;width:150px;min-width:150px;height:40px;min-height:40px;padding:9px 14px;font-family:Inter,Arial,sans-serif;font-size:13px;line-height:20px;gap:16px;justify-content:space-between;white-space:nowrap;align-self:auto}.intro .experience-nav{width:150px}#experience{grid-template-columns:150px minmax(0,1fr)}.intro #experience-close{width:150px;min-width:150px}.identity .portrait{width:140px;max-width:28%;margin-top:-8px;margin-bottom:4px}.intro .bio{font-size:22px;line-height:1.4;letter-spacing:-.55px}
@media(max-width:700px){#experience{grid-template-columns:minmax(0,1fr)}.intro .experience-nav{width:auto}.intro #experience-open,.intro #experience-close{width:140px;min-width:140px;height:38px;min-height:38px;font-size:12px;padding:8px 12px;gap:14px}.identity .portrait{width:98px;max-width:32%;margin-top:-4px}.intro .bio{font-size:18px;line-height:1.4;letter-spacing:-.3px}}
@media(max-width:360px){.identity .portrait{width:86px;max-width:30%;margin-top:0}.intro .bio{font-size:17px;line-height:1.4}}
/* Reserve paint space for the return button's dimensional shadow. */
.intro .experience-nav{box-sizing:border-box;padding:3px 8px 9px 0;overflow:visible}.intro #experience-close{flex-shrink:0}.intro>#experience{padding-bottom:1px}
@media(max-width:700px){.intro .experience-nav{padding:0}.intro #experience-close{margin-bottom:8px;margin-right:8px}}
.intro>#experience{overflow:visible}
