/* Shared site chrome: the home page and every portfolio page use the same markup. */
:root{--chrome-accent:#f1eb1c;--chrome-ink:#fff;--chrome-surface:#101010;--chrome-line:#3a3a3a;--chrome-muted:#aeb9bf;--chrome-display:'Bricolage Grotesque',sans-serif;--chrome-body:'Hanken Grotesk',sans-serif;--chrome-mono:'Space Mono',monospace}
:root[data-theme=light]{--chrome-accent:#f4511e;--chrome-ink:#132c3a;--chrome-surface:#fff;--chrome-line:#cbdde7;--chrome-muted:#4c6675}
#chrome-bottom .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#chrome-top .ruler{position:fixed;top:0;left:0;right:0;height:29px;z-index:100;display:flex;align-items:center;background:#101010ee;color:#fff;border-bottom:1px solid #444;font:700 9px var(--chrome-mono);letter-spacing:.05em}
:root[data-theme=light] #chrome-top .ruler{background:#ffffffed;color:#132c3a;border-color:#b9d0dd}
#chrome-top .ruler-brand{display:flex;align-items:center;gap:7px;height:100%;padding:0 13px 0 9px;border-right:1px solid #8886;white-space:nowrap}
#chrome-top .mini-mark,#chrome-bottom .mini-mark{display:grid;place-items:center;width:22px;height:22px;flex:none;background:var(--chrome-accent);color:#151515;border-radius:5px;font:800 20px/1 var(--chrome-body);letter-spacing:-.12em;padding-right:3px}
#chrome-top .ruler-track{align-self:stretch;position:relative;flex:1;min-width:0;background:repeating-linear-gradient(90deg,#ffffff4a 0 1px,transparent 1px 10px) bottom/100% 6px no-repeat}
:root[data-theme=light] #chrome-top .ruler-track{background-image:repeating-linear-gradient(90deg,#50718566 0 1px,transparent 1px 10px)}
#chrome-top .ruler-numbers{display:flex;justify-content:space-around;padding-top:2px;font-size:8px;font-weight:400;letter-spacing:0;white-space:nowrap;overflow:hidden}
#chrome-top .progress-marker{position:absolute;left:0;top:0;height:28px;min-width:24px;padding:2px 5px;background:var(--chrome-accent);color:#151515;white-space:nowrap;will-change:left}
#chrome-top .ruler-live{height:100%;display:flex;align-items:center;gap:7px;padding:0 13px;border-left:1px solid #8886;white-space:nowrap;font-size:9px}
#chrome-top .status-dot,#chrome-bottom .status-dot{display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;background:var(--chrome-accent)}
#chrome-top .starfield{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
#chrome-top .star-track{position:absolute;inset:0 auto 0 0;width:calc(100% + 2272px);background-image:radial-gradient(#9eaeb955 1px,transparent 1.3px);background-size:32px 32px;opacity:.42;animation:chrome-star-drift 150s linear infinite;will-change:transform}
#chrome-top .star-near{background-size:71px 71px;opacity:.25;animation-duration:220s}
:root[data-theme=light] #chrome-top .starfield{display:none}
#chrome-top .sky{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;display:none}
:root[data-theme=light] #chrome-top .sky{display:block}
#chrome-top .sky-track{display:flex;width:200%;height:100%;animation:chrome-cloud-marquee 80s linear infinite;will-change:transform}
#chrome-top .sky-panel{position:relative;width:50%;height:100%}
#chrome-top .cloud{position:absolute;opacity:.48;width:430px}
#chrome-top .cloud-one{top:85px;left:-125px}#chrome-top .cloud-two{top:15px;right:0}#chrome-top .cloud-three{bottom:12%;left:17%;width:300px}#chrome-top .cloud-four{right:-100px;bottom:-110px;width:600px}
#chrome-top .header{max-width:1500px;margin:29px auto 0;min-height:110px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}
#chrome-top .availability{display:inline-flex;align-items:center;gap:9px;background:var(--chrome-surface);border:1px solid var(--chrome-line);border-radius:40px;padding:10px 16px;white-space:nowrap;font:500 11px var(--chrome-body);box-shadow:0 8px 20px #0002}
#chrome-top .header nav{position:relative;display:flex;align-items:center;gap:3px;padding:6px;background:var(--chrome-surface);border:1px solid var(--chrome-line);border-radius:50px;box-shadow:0 10px 28px #0002;isolation:isolate}
#chrome-top .nav-holder{display:none}
:root.nav-floating #chrome-top .nav-holder{display:block}
:root.nav-floating #chrome-top .header nav{position:fixed;top:40px;left:50%;z-index:101;margin:0;translate:-50% 0;opacity:1;background:color-mix(in srgb,var(--chrome-surface) 88%,transparent);backdrop-filter:blur(14px) saturate(1.3);transition:translate .4s,opacity .25s}
:root.nav-floating.nav-hidden #chrome-top .header nav{translate:-50% calc(-100% - 56px);opacity:0;pointer-events:none}
#chrome-top .header nav a{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:10px 21px;border-radius:25px;white-space:nowrap;font:500 13px var(--chrome-body);color:var(--chrome-ink);transition:color .2s,background .2s}
#chrome-top .header nav a:hover,#chrome-top .header nav a.active{color:var(--chrome-accent)}
#chrome-top .header nav .nav-contact{background:var(--chrome-ink);color:var(--chrome-surface);gap:18px;font-weight:700}
#chrome-top .header nav .nav-contact:hover{background:var(--chrome-accent);color:#fff}
#chrome-top .header nav .nav-contact .ui-icon{width:18px;height:18px}
#chrome-top .nav-pill{position:absolute;top:6px;bottom:6px;left:0;width:var(--pw,0);translate:var(--px,0) 0;border-radius:25px;background:#8fa1ac29;opacity:0;pointer-events:none;transition:translate .4s cubic-bezier(.22,1,.36,1),width .4s cubic-bezier(.22,1,.36,1),opacity .2s}
#chrome-top nav.pill-on .nav-pill{opacity:1}
#chrome-top .header-social{display:flex;align-items:center;gap:8px;min-width:110px;color:var(--chrome-ink);font:700 11px var(--chrome-body)}
#chrome-top .header-social>.ui-icon{width:24px;height:24px}#chrome-top .header-social span{display:flex;align-items:center;gap:2px}#chrome-top .header-social span .ui-icon{width:13px;height:13px}
#chrome-bottom .studio-footer{position:relative;overflow:hidden;border-radius:35px 35px 0 0;padding:24px 28px 0;background:#0b1821;color:#fff;background-image:radial-gradient(#28404d66 1px,transparent 1.5px);background-size:24px 24px;font-family:var(--chrome-body)}
:root:not([data-theme=light]) #chrome-bottom .studio-footer{background:#060606;background-image:radial-gradient(#74838c44 1px,transparent 1.5px);background-size:28px 28px}
#chrome-bottom .footer-topline{display:flex;align-items:center;justify-content:space-between;font:700 8px var(--chrome-mono);letter-spacing:.08em}
#chrome-bottom .footer-topline>span{display:flex;align-items:center;gap:11px}
#chrome-bottom .footer-up{width:42px;height:42px;display:grid;place-items:center;border:1px solid #ffffff49;border-radius:50%;transition:background .2s,transform .2s}
#chrome-bottom .footer-up:hover{background:var(--chrome-accent);transform:translateY(-3px)}#chrome-bottom .footer-up .ui-icon{width:19px;height:19px}
#chrome-bottom .footer-content{max-width:1160px;margin:28px auto 42px;display:grid;grid-template-columns:1.35fr 1fr;gap:50px}
#chrome-bottom .footer-invite>.eyebrow{color:var(--chrome-accent);font:700 9px var(--chrome-mono);letter-spacing:.08em}
#chrome-bottom .footer-big-link{display:block;width:max-content;max-width:100%;font:800 clamp(36px,4vw,56px)/1.05 var(--chrome-display);letter-spacing:-.05em;margin:18px 0 25px;color:#fff}
#chrome-bottom .footer-big-link>span{display:inline-flex;vertical-align:middle;margin-left:10px;color:var(--chrome-accent)}#chrome-bottom .footer-big-link .ui-icon{width:31px;height:31px}
#chrome-bottom .footer-invite>div{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
#chrome-bottom .footer-invite .button{display:inline-flex;align-items:center;gap:24px;background:var(--chrome-accent);color:#111;border-radius:10px;padding:13px 18px;font:800 12px var(--chrome-body);transition:transform .2s}
#chrome-bottom .footer-invite .button:hover{transform:translateY(-3px)}#chrome-bottom .footer-invite .button .ui-icon{width:19px;height:19px}
#chrome-bottom .footer-available{display:inline-flex;align-items:center;gap:8px;font:700 8px var(--chrome-mono);color:#aab8bd}
#chrome-bottom .footer-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
#chrome-bottom .footer-columns h3{font:700 9px var(--chrome-mono);color:#a9b6bc;margin:0 0 18px}
#chrome-bottom .footer-columns a{display:block;margin-bottom:10px;color:#d7e0e4;font:500 12px var(--chrome-body)}
#chrome-bottom .footer-columns a:hover{color:var(--chrome-accent)}#chrome-bottom .footer-columns a .ui-icon{width:11px;height:11px;display:inline}
#chrome-bottom .footer-wordmark{max-width:none;width:100%;display:flex;align-items:baseline;justify-content:space-between;white-space:nowrap;padding:14px 0 26px;font:800 clamp(38px,12.8vw,230px)/1 var(--chrome-display);letter-spacing:-.07em}
#chrome-bottom .footer-wordmark>span{flex:none;color:#fff;transition:transform .25s,color .25s,text-shadow .25s}#chrome-bottom .footer-wordmark>span:first-child{color:var(--chrome-accent)}
#chrome-bottom .footer-wordmark>span:hover{color:#ff6b36;transform:translateY(-.13em) rotate(-2deg);text-shadow:0 5px 22px #ff5a2055}
#chrome-bottom .footer-scale{height:1px;background:#ffffff36}#chrome-bottom .footer-meta{display:flex;justify-content:space-between;gap:16px;padding:18px max(0px,calc((100% - 1160px)/2)) 25px;color:#b8c2c6;font:700 8px var(--chrome-mono)}
#chrome-bottom .footer-meta>span{display:inline-flex;align-items:center;gap:7px}#chrome-bottom .file-dot{width:7px;height:7px;border-radius:50%;background:var(--chrome-accent)}
#chrome-bottom .sound-dock{position:fixed;left:18px;bottom:16px;z-index:120;display:flex;align-items:center;gap:4px;padding:4px 10px 4px 4px;background:var(--chrome-surface);border:1px solid var(--chrome-line);border-radius:40px;color:var(--chrome-ink);box-shadow:0 5px 22px #0003}
#chrome-bottom .sound-dock button{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:9px;padding:7px;border-radius:30px;font:700 9px var(--chrome-mono)}#chrome-bottom .sound-dock button:hover{background:#9cb1bd22}
#chrome-bottom .sound-dock .dock-divider{width:1px;height:19px;background:var(--chrome-line);margin:0 4px}#chrome-bottom .sound-dock .dock-icon{width:31px;height:31px;display:grid;place-items:center}
#chrome-bottom .theme-sun,#chrome-bottom .theme-moon{width:18px;height:18px}#chrome-bottom .theme-moon{display:none}:root[data-theme=light] #chrome-bottom .theme-sun{display:none}:root[data-theme=light] #chrome-bottom .theme-moon{display:block}
#chrome-bottom .sound-bars{display:flex;gap:2px;align-items:center;height:17px}#chrome-bottom .sound-bars i{width:2px;height:5px;background:var(--chrome-accent);border-radius:2px}#chrome-bottom .sound-bars i:nth-child(2){height:11px}
#chrome-bottom .action-dock{position:fixed;right:18px;bottom:18px;z-index:120;display:flex;align-items:center;gap:10px}
#chrome-bottom .ask-ai-button{display:flex;align-items:center;gap:7px;height:47px;padding:0 17px;border:0;border-radius:26px;background:#f4511e;color:#fff;box-shadow:0 5px 18px #f4511e4a;font:800 12px var(--chrome-body)}#chrome-bottom .ask-ai-button .ui-icon{width:19px;height:19px}
#chrome-bottom .hire-button{width:47px;height:47px;display:grid;place-items:center;border-radius:50%;background:#14bd00;color:#fff;box-shadow:0 5px 18px #14bd0040}#chrome-bottom .hire-button .ui-icon{width:24px;height:24px}
#chrome-bottom .canvas-cursor{position:fixed;left:0;top:0;z-index:500;pointer-events:none;display:none}#chrome-bottom .canvas-cursor.visible{display:block}#chrome-bottom .canvas-cursor>svg{position:absolute;top:0;left:0}#chrome-bottom .canvas-cursor .cursor-hand,#chrome-bottom .canvas-cursor .cursor-text{display:none}#chrome-bottom .canvas-cursor.is-link .cursor-arrow{display:none}#chrome-bottom .canvas-cursor.is-link .cursor-hand{display:block}#chrome-bottom .canvas-cursor.is-text .cursor-arrow{display:none}#chrome-bottom .canvas-cursor.is-text .cursor-text{display:block}
#chrome-bottom .canvas-cursor>span{position:absolute;top:2px;left:31px;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:5px;background:var(--chrome-accent);color:#111;white-space:nowrap;font:700 9px var(--chrome-mono)}
#chrome-bottom .canvas-cursor>span .ui-icon{width:10px;height:10px;flex:none}
#chrome-bottom .canvas-cursor.is-action .cursor-arrow{display:none}
#chrome-bottom .canvas-cursor.is-action .cursor-hand{display:block}
#chrome-bottom .canvas-cursor.is-action .cursor-text{display:none}
#chrome-bottom .canvas-cursor.is-action>span{left:31px;top:2px;translate:none;display:inline-flex;align-items:center;gap:5px}
@keyframes chrome-star-drift{to{transform:translate3d(-2272px,0,0)}}
@keyframes chrome-cloud-marquee{to{transform:translate3d(-50%,0,0)}}
#chrome-top .ruler-track::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--chrome-accent) 16%,transparent),color-mix(in srgb,var(--chrome-accent) 55%,transparent));transform:scaleX(var(--ruler-fill,0));transform-origin:left;pointer-events:none}
#chrome-top .ruler-numbers,#chrome-top .progress-marker{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){#chrome-top .star-track,#chrome-top .sky-track{animation:none;will-change:auto}}
@media(hover:hover) and (pointer:fine){html.cursor-active,html.cursor-active *{cursor:none!important}}
@media(max-width:900px){#chrome-top .header .availability,#chrome-top .header-social{display:none}#chrome-top .header nav{margin:auto}#chrome-bottom .footer-content{display:block}#chrome-bottom .footer-columns{max-width:680px;margin-top:36px}}
@media(max-width:600px){#chrome-top .ruler{font-size:7px}#chrome-top .ruler-brand{padding-inline:5px}#chrome-top .ruler-live{padding-inline:5px;font-size:6px}#chrome-top .ruler-numbers{display:none}#chrome-top .header{min-height:82px;padding:0 12px}#chrome-top .header nav{width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;padding:4px}#chrome-top .header nav::-webkit-scrollbar{display:none}#chrome-top .header nav a{font-size:11px;padding:9px 11px}#chrome-top .header nav .nav-contact{gap:6px}#chrome-top .header nav .nav-contact .ui-icon{width:13px;height:13px}#chrome-bottom .studio-footer{padding:18px 18px 0;border-radius:25px 25px 0}#chrome-bottom .footer-big-link{font-size:38px}#chrome-bottom .footer-columns{gap:11px}#chrome-bottom .footer-columns h3{font-size:7px}#chrome-bottom .footer-columns a{font-size:10px}#chrome-bottom .footer-wordmark{font-size:11.5vw;letter-spacing:-.08em;padding:10px 0 20px}#chrome-bottom .footer-meta{font-size:6px;flex-wrap:wrap;padding-bottom:78px}#chrome-bottom .footer-meta>span:last-child{width:100%}#chrome-bottom .sound-dock{left:11px;bottom:11px}#chrome-bottom .action-dock{right:11px;bottom:11px;gap:7px}#chrome-bottom .ask-ai-button{height:42px;padding:0 12px}#chrome-bottom .hire-button{width:42px;height:42px}}
@media(max-width:760px){:root.nav-floating #chrome-top .header nav{top:36px;max-width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){#chrome-top .nav-pill,#chrome-bottom .footer-wordmark>span{transition:none}#chrome-bottom .footer-wordmark>span:hover{transform:none}}

/* One-time, per-tab studio entry. The choices remain available in the fixed dock afterwards. */
html.entry-pending body{visibility:hidden}
html.entry-active{overflow:hidden}
.entry-screen{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;overflow:auto;padding:clamp(24px,5vw,70px);background:#0e0e0e url('../assets/svg/stars-far.svg') center/cover;color:#fff;font-family:var(--chrome-body);transition:opacity 300ms cubic-bezier(.4,0,1,1)}
.entry-screen::before{content:"";position:fixed;inset:0;pointer-events:none;background-image:url('../assets/svg/stars-near.svg');background-position:center;background-size:cover;opacity:.38;animation:entry-sky-drift 70s linear infinite}
:root[data-theme=light] .entry-screen{background:#9fd2ed;color:#132c3a}
:root[data-theme=light] .entry-screen::before{background-image:url('../assets/svg/cloud.svg'),url('../assets/svg/cloud.svg'),url('../assets/svg/cloud.svg'),url('../assets/svg/cloud.svg');background-repeat:no-repeat;background-position:-8vw 9%,91vw 2%,15vw 82%,82vw 76%;background-size:min(44vw,600px) auto,min(36vw,500px) auto,min(28vw,380px) auto,min(48vw,650px) auto;opacity:.48;animation:entry-cloud-drift 34s ease-in-out infinite alternate}
.entry-loading,.entry-setup{position:relative;z-index:1;grid-area:1/1;width:min(680px,100%);text-align:center}
.entry-loading{transition:opacity 220ms ease,transform 220ms ease}
.entry-mark{font:800 clamp(42px,8vw,94px)/.95 var(--chrome-display);letter-spacing:-.055em;white-space:nowrap}
.entry-mark b,.entry-setup h1 span{color:var(--chrome-accent)}
.entry-loader{width:min(360px,72vw);height:5px;margin:42px auto 18px;background:#292929;overflow:hidden}
:root[data-theme=light] .entry-loader{background:#d8edf8}
.entry-loader span{display:block;width:100%;height:100%;background:var(--chrome-accent);transform-origin:left;animation:entry-fill 780ms cubic-bezier(.2,.7,.2,1) both}
.entry-loading p{margin:0;font:700 12px var(--chrome-body);color:var(--chrome-muted)}
.entry-setup{opacity:0;transform:translateY(18px);pointer-events:none;transition:opacity 420ms cubic-bezier(.2,.7,.2,1),transform 420ms cubic-bezier(.2,.7,.2,1)}
.entry-screen.is-ready .entry-loading{opacity:0;transform:translateY(-12px);pointer-events:none}
.entry-screen.is-ready .entry-setup{opacity:1;transform:none;pointer-events:auto}
.entry-kicker{margin:0 0 15px;color:var(--chrome-accent);font:700 15px var(--chrome-body)}
.entry-setup h1{margin:0;font:800 clamp(48px,7.4vw,88px)/.92 var(--chrome-display);letter-spacing:-.025em}
.entry-intro{max-width:430px;margin:24px auto 0;color:var(--chrome-muted);font:500 clamp(13px,1.05vw,15px)/1.55 var(--chrome-body)}
.entry-preferences{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:40px auto 28px;max-width:620px;text-align:left}
.entry-preference>span{display:block;margin-bottom:10px;font:700 14px var(--chrome-body)}
.entry-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.entry-choice{min-height:54px;border:0;background:#1d1d1d;color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;font:700 14px var(--chrome-body);transition:background 180ms ease,color 180ms ease,transform 140ms ease}
:root[data-theme=light] .entry-choice{background:#eef8fd;color:#132c3a}
.entry-choice:hover{background:#303030}.entry-choice:active{transform:scale(.97)}
:root[data-theme=light] .entry-choice:hover{background:#fff}
.entry-choice.is-selected{background:var(--chrome-accent);color:#151515}
.entry-choice .ui-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.entry-enter{width:min(310px,100%);min-height:58px;border:0;background:var(--chrome-accent);color:#151515;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;font:800 15px var(--chrome-body);transition:background 180ms ease,transform 140ms ease}
.entry-enter:hover{background:#fff}.entry-enter:active{transform:scale(.98)}.entry-enter:disabled{opacity:.5}
.entry-enter .ui-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.entry-default{margin:14px 0 0;color:var(--chrome-muted);font:500 12px var(--chrome-body)}
.entry-screen.is-leaving{opacity:0;pointer-events:none}
@keyframes entry-fill{from{transform:scaleX(.04)}to{transform:scaleX(1)}}
@keyframes entry-sky-drift{to{background-position:80px 20px}}
@keyframes entry-cloud-drift{to{background-position:0 11%,86vw 5%,19vw 79%,77vw 73%}}
html.entry-active #chrome-bottom .canvas-cursor{z-index:6000!important}
@media(max-width:620px){.entry-screen{padding:24px 18px}.entry-mark{font-size:14vw}.entry-preferences{grid-template-columns:1fr;gap:20px;margin-top:30px}.entry-setup h1{font-size:13vw;letter-spacing:-.02em}.entry-intro{font-size:13px;margin-top:20px}.entry-choice{min-height:50px}}
@media(prefers-reduced-motion:reduce){.entry-loader span{animation:none;transform:none}.entry-loading,.entry-setup,.entry-screen{transition:opacity 120ms ease;transform:none}}

/* Cross-document navigation: fast enough to feel continuous, never another loader. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:page-leave 180ms cubic-bezier(.4,0,1,1) both}
::view-transition-new(root){animation:page-arrive 360ms cubic-bezier(.2,.7,.2,1) 40ms both}
@keyframes page-leave{to{opacity:0}}
@keyframes page-arrive{from{opacity:0;transform:translateY(14px)}}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}::view-transition-old(root),::view-transition-new(root){animation:none}}
