/* Main design controls: edit colors, widths, and spacing here. */
@font-face{font-family:Satoshi;src:url('assets/satoshi.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{color-scheme:dark;--bg:#000;--text:#f4f4f4;--muted:#aaa;--line:#242424;--heading:Satoshi,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid white;outline-offset:7px}img{display:block;max-width:100%;height:auto}p{color:var(--muted);line-height:1.55}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--heading);font-weight:400}h2{font-size:clamp(42px,4.6vw,78px);line-height:1.06;letter-spacing:-.035em}h3{font-size:24px;letter-spacing:-.04em;font-weight:600}.site-header{height:80px;max-width:1480px;padding:0 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;font-size:15px;position:relative;z-index:2}.site-header a{color:#c4c4c4;transition:color .2s}.site-header a:hover{color:#fff}.site-header nav{display:flex;gap:34px}.hero{position:relative;min-height:690px;padding:105px 24px 70px;text-align:center;isolation:isolate;overflow:hidden}.hero canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.8;mask-image:linear-gradient(transparent,black 12%,black 78%,transparent)}.hero-copy{animation:enter 1.1s ease both}.hero h1{font-size:clamp(56px,6vw,100px);letter-spacing:-.04em;line-height:1.15}.hero-copy p{margin-top:22px;color:#c5c5c5;font-size:16px}.actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.hero .actions{justify-content:center;margin-top:26px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid #676767;border-top-color:#999;border-radius:12px;padding:13px 23px;background:linear-gradient(130deg,#181818b3,#000c);font-size:18px;box-shadow:0 0 16px #ffffff17,inset 0 0 0 1px #ffffff0d;transition:box-shadow .25s,border-color .25s,background .25s,transform .25s}.button:hover,.project-link:hover .button{border-color:#ccc;box-shadow:0 0 24px #ffffff30;background:#191919;transform:translateY(-2px)}.scroll-cue{display:flex;align-items:center;justify-content:center;gap:20px;max-width:640px;margin:66px auto 0;color:#b6b6b6;font-size:14px;transition:opacity .7s,visibility .7s}.scroll-cue i{flex:1;height:1px;background:linear-gradient(90deg,transparent,#444,transparent)}.mouse{height:23px;width:15px;border:1.5px solid #aaa;border-radius:8px;position:relative}.mouse:after{content:'';position:absolute;width:2px;height:5px;left:5px;top:4px;background:#ddd;border-radius:2px;animation:wheel 1.8s infinite}.scroll-cue.is-gone{opacity:0;visibility:hidden;pointer-events:none}.logos{display:flex;align-items:center;justify-content:space-between;gap:55px;max-width:660px;margin:90px auto 0;opacity:.55;filter:grayscale(1)}.logos img{object-fit:contain;width:125px;height:38px}.logos img:first-child{width:76px}.logos img:last-child{width:85px}.projects{max-width:1040px;margin:auto;padding:60px 30px 130px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:100px 60px}.device{height:350px;display:flex;align-items:center;justify-content:center;perspective:900px}.device img{width:100%;height:100%;object-fit:contain;filter:grayscale(1);transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .65s;will-change:transform}.project-link:hover img{transform:translateY(-12px) rotate(-1deg);filter:grayscale(0)}.device.phone img{width:80%;height:105%}.device.laptop img{width:108%;max-width:108%}.case-button{display:flex;position:relative;font-size:15px;width:76%;margin:14px auto 0;border-radius:50px;background:#1b1b1b;padding:14px 24px}.arrow{position:absolute;right:22px;opacity:0;transition:opacity .25s}.project-link:hover .arrow,.project-link:focus-visible .arrow{opacity:1}.project-copy{margin-top:65px}.project-copy p{font-size:20px;line-height:1.3;margin-top:8px}.tags{display:flex;gap:6px;flex-wrap:wrap;list-style:none;padding:0;margin:12px 0 0}.tags li{color:#bcbcbc;font-size:11px;padding:5px 9px;background:#151515;border:1px solid #252525;border-radius:30px;line-height:1.1}.project-allied{grid-column:1/-1;width:calc((100% - 60px)/2);justify-self:center}.project-allied h3 span{font-size:.85em;font-weight:400}.about{border-top:1px solid #1d1d1d;border-radius:48px 48px 0 0;padding:95px 5vw 0}.about-inner{max-width:1500px;margin:auto;display:grid;grid-template-columns:1fr .6fr;gap:12vw;align-items:center;padding-bottom:42px;border-bottom:1px solid #202020}.about p{margin-top:24px;font-size:18px;max-width:660px;line-height:1.65}.about .tags{margin-top:28px}.portrait{width:390px;justify-self:end;aspect-ratio:3/4;object-fit:cover;border-radius:25px;filter:grayscale(1)}.contact{max-width:1500px;margin:auto;padding:150px 0 80px;width:90%;display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}.contact>img{width:100%;height:480px;object-fit:cover;border-radius:24px;filter:grayscale(1)}.contact h2{font-size:clamp(40px,4.5vw,76px)}.contact p{font-size:22px;margin-top:18px;max-width:600px}.contact .actions{margin-top:24px}.contact .button{font-size:16px;padding:12px 18px}footer{width:90%;max-width:1500px;margin:auto;padding:26px 0 35px;display:flex;justify-content:space-between;border-top:1px solid #202020;color:#999;font-size:12px}.skip-link{position:fixed;top:-100px;left:20px;z-index:10;padding:12px;background:#fff;color:#000}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.reveal.will-reveal{opacity:0;transform:translateY(24px)}.reveal{transition:opacity .8s,transform .8s}.reveal.is-visible{opacity:1;transform:none}@keyframes enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes wheel{0%,100%{transform:translateY(0);opacity:1}65%{transform:translateY(6px);opacity:.2}}
@media(min-width:1700px){.hero{min-height:730px}.projects{padding-top:50px}}
@media(max-width:1000px){.hero{padding-top:110px;min-height:650px}.projects{gap:80px 35px}.device{height:280px}.project-copy{margin-top:40px}.project-copy p{font-size:18px}.about-inner{gap:7vw;grid-template-columns:1.2fr .8fr}.about p{font-size:16px}.contact>img{height:380px}.contact p{font-size:18px}.contact .actions{gap:10px}.contact .button{font-size:14px}.project-allied{width:calc((100% - 35px)/2)}}
@media(max-width:640px){.site-header{height:72px;padding:0 24px;font-size:14px}.site-header nav{gap:24px}.hero{min-height:610px;padding:100px 22px 55px}.hero h1{font-size:clamp(48px,11vw,68px)}.hero-copy p{font-size:14px;margin-top:18px}.hero .button{font-size:16px;padding:12px 18px}.scroll-cue{margin-top:64px;gap:12px;font-size:12px}.logos{gap:22px;margin-top:65px}.logos img{width:24%;height:25px}.logos img:first-child{width:45px}.logos img:last-child{width:56px}.projects{grid-template-columns:1fr;padding:20px 26px 80px;gap:70px;max-width:480px}.device{height:280px}.device.phone img{width:75%}.project-copy{margin-top:30px}.project-copy h3{font-size:23px}.project-copy p{font-size:18px;line-height:1.45}.project-allied{grid-column:auto;width:100%}.case-button{width:85%}.about{padding:55px 26px 0;border-radius:30px 30px 0 0}.about-inner{grid-template-columns:1fr;gap:32px;padding-bottom:50px}.about p{font-size:16px}.portrait{width:100%;max-width:320px;justify-self:center}.contact{padding:65px 0 50px;grid-template-columns:1fr;gap:34px;width:calc(100% - 52px)}.contact>img{height:auto;aspect-ratio:1.2}.contact h2{font-size:44px}.contact .actions{align-items:flex-start}.contact .button{font-size:14px}footer{width:calc(100% - 52px);gap:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal.will-reveal{opacity:1;transform:none}.project-link:hover img{transform:none}}

/* Continuous logo carousel. The second group completes the seamless loop. */
.logo-carousel{position:relative;max-width:740px;margin:82px auto 0;padding-right:42px}
.logos{display:block;max-width:none;margin:0;opacity:.7;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.logo-track{display:flex;width:max-content;animation:logo-drift 31s linear infinite}
.logo-group{display:flex;align-items:center;justify-content:space-around;width:880px;flex-shrink:0;gap:80px;padding:0 40px}
.logo-group img{flex-shrink:0;width:128px;height:40px;object-fit:contain}
.logo-group img:first-child{width:80px}.logo-group img:last-child{width:94px}
.logo-carousel:hover .logo-track,.logo-carousel:focus-within .logo-track,.logo-carousel.is-paused .logo-track{animation-play-state:paused}
.carousel-toggle{position:absolute;right:0;top:5px;width:30px;height:30px;border:1px solid #444;border-radius:50%;background:#0d0d0d;color:#bbb;cursor:pointer;font-size:13px}
.carousel-toggle:hover{border-color:#aaa;color:white}.carousel-toggle:focus-visible{outline:2px solid white;outline-offset:4px}
@keyframes logo-drift{to{transform:translateX(-50%)}}

/* Borderless device stages: enlarged art, gentle floating, cursor-driven tilt. */
.device{position:relative;isolation:isolate;height:440px;--zoom:1.23;--rx:0deg;--ry:0deg;--lift:0px;--glow-x:50%;--glow-y:50%}
.device:before{content:'';position:absolute;inset:5% -5%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse at var(--glow-x) var(--glow-y),#ffffff16,transparent 62%);opacity:.3;transition:opacity .5s}
.device:after{content:'';position:absolute;bottom:0;left:20%;width:60%;height:22px;border-radius:50%;background:#ffffff0b;filter:blur(14px);transform:scaleX(.85);transition:transform .6s,opacity .6s}
.device img{position:relative;z-index:1;width:100%;height:100%;transform:translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--zoom));transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .6s;animation:device-breathe 6s ease-in-out infinite;filter:grayscale(1) drop-shadow(0 16px 18px #0009)}
.device.phone{--zoom:1.48}.device.phone img{width:80%;height:105%;animation-delay:-2s}.device.laptop{--zoom:1.06}.device.laptop img{animation-delay:-4s}
.project-link{display:block}.project-link:hover .device,.project-link:focus-visible .device{--lift:-10px}
.project-link:hover .device:before,.project-link:focus-visible .device:before{opacity:1}
.project-link:hover .device:after{transform:scaleX(1.08);opacity:.65}
.project-link:hover .device img,.project-link:focus-visible .device img{transform:translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)) scale(calc(var(--zoom) + .035));filter:grayscale(0) drop-shadow(0 24px 24px #000b);animation-play-state:paused}
.project-link.is-tracking .device img{transition:transform .12s ease-out,filter .6s}
.case-button{margin-top:32px;overflow:hidden}
.case-button:before{content:'';position:absolute;inset:0;transform:translateX(-140%) skewX(-25deg);background:linear-gradient(90deg,transparent,#ffffff20,transparent);transition:transform .8s;pointer-events:none}
.project-link:hover .case-button:before,.project-link:focus-visible .case-button:before{transform:translateX(140%)}
.case-button .arrow{opacity:.5;transform:translate(-3px,3px);transition:transform .3s,opacity .3s}.project-link:hover .arrow,.project-link:focus-visible .arrow{opacity:1;transform:none}
@keyframes device-breathe{0%,100%{translate:0 0}50%{translate:0 -8px}}
@media(max-width:1000px){.device{height:370px;--zoom:1.18}.device.phone{--zoom:1.42}.case-button{margin-top:30px}}
@media(max-width:640px){.logo-carousel{margin-top:65px;padding-right:35px}.logo-group{width:650px;gap:64px;padding:0 32px}.logo-group img{width:100px;height:30px}.logo-group img:first-child{width:55px}.logo-group img:last-child{width:70px}.carousel-toggle{top:1px;width:27px;height:27px}.device{height:340px;--zoom:1.17}.device.phone{--zoom:1.42}.device.phone img{width:80%}.device.laptop{--zoom:1.02}.case-button{margin-top:30px}}
@media(hover:none){.device img{animation:none}}
@media(prefers-reduced-motion:reduce){.logo-track{animation:none}.logo-carousel{padding-right:0}.logos{overflow:visible;mask-image:none}.logo-track{width:100%}.logo-group{width:100%;gap:15px;padding:0;justify-content:space-between}.logo-group img{max-width:23%;object-fit:contain}.logo-group[aria-hidden=true],.carousel-toggle{display:none}.device img,.project-link:hover .device img,.project-link:focus-visible .device img{animation:none;translate:none;transform:scale(var(--zoom))}.case-button:before{display:none}}

/* Brighter silver motion while preserving readable hero text. */
.hero canvas{opacity:1}
.hero-copy{position:relative;z-index:1;text-shadow:0 2px 24px #000,0 0 50px #000}

/* Compensate for transparent padding in the original device PNGs.
   iPad artwork occupies 2078/4626 of image width.
   Phone artwork occupies 423/1538 of image height.
   Size the visible devices, not the outer PNG canvases. */
.device:not(.laptop){overflow:visible;--zoom:1}
.device:not(.phone):not(.laptop) img{width:165%;max-width:none;height:auto;flex-shrink:0;object-fit:initial}
.device.phone img{width:auto;max-width:none;height:225%;flex-shrink:0;object-fit:initial}

/* Keep intrinsic PNG widths from expanding grid tracks and crushing siblings. */
.project,.project-link,.project-copy{min-width:0;max-width:100%}
.device{width:100%;min-width:0;max-width:100%;contain:inline-size}
.case-button{white-space:nowrap}
@media(max-width:640px){.projects{grid-template-columns:minmax(0,1fr)}}

/* Hover reveals add color without changing the established device sizing. */
.hero-copy{isolation:isolate;outline:none}
.hero-copy:before{content:'';position:absolute;inset:-50px 10% -25px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,#9aabff28,transparent 65%);filter:blur(28px);opacity:0;transform:scale(.8);transition:opacity .8s,transform 1s}
.hero-copy h1{transition:color .6s,text-shadow .6s}
.hero-copy:hover:before,.hero-copy:focus-within:before{opacity:1;transform:scale(1)}
.hero-copy:hover h1,.hero-copy:focus-within h1{color:#e3e8ff;text-shadow:0 0 45px #9aabff40}
.hero-copy:focus-visible{outline:1px solid #9aabff;outline-offset:16px;border-radius:12px}
.hero-copy .value-statement{margin:18px auto 0;max-width:640px;min-height:32px;color:#d8dfff;font-family:var(--heading);font-size:clamp(17px,1.6vw,23px);line-height:1.4;letter-spacing:-.02em}
.value-statement span{display:inline-block;opacity:0;transform:translateY(12px);filter:blur(6px);transition:opacity .55s,transform .65s cubic-bezier(.2,.8,.2,1),filter .65s}
.value-statement span:nth-child(2){transition-delay:.1s}
.hero-copy:hover .value-statement span,.hero-copy:focus-within .value-statement span{opacity:1;transform:none;filter:blur(0)}
.project{--accent:#afd7b6;--accent-rgb:175,215,182}
.project-boiler{--accent:#e4bf75;--accent-rgb:228,191,117}
.project-allied{--accent:#70bcff;--accent-rgb:112,188,255}
.project .device:before{background:radial-gradient(ellipse at var(--glow-x) var(--glow-y),rgba(var(--accent-rgb),.25),transparent 65%);opacity:0;transition:opacity .65s}
.project:hover .device:before,.project:focus-within .device:before{opacity:1}
.project:hover .device img,.project:focus-within .device img{filter:grayscale(0) drop-shadow(0 10px 20px rgba(var(--accent-rgb),.13))}
.project:hover .case-button,.project:focus-within .case-button{border-color:var(--accent);box-shadow:0 0 22px rgba(var(--accent-rgb),.15);color:var(--accent)}
.project-copy h3{transition:color .45s}
.project:hover h3,.project:focus-within h3{color:var(--accent)}
.project-copy .project-meta{font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.1em;color:#929292;margin:0 0 12px}
.project-copy .project-hook{font-family:var(--heading);font-size:21px;line-height:1.3;color:var(--accent);margin:12px 0;min-height:2.6em;position:relative;padding-left:14px;overflow:hidden}
.project-hook:before{content:'';position:absolute;left:0;top:2px;bottom:4px;width:2px;background:var(--accent);transform:scaleY(0);transform-origin:top;transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.project-hook span{display:block;opacity:0;transform:translateY(15px);filter:blur(5px);transition:opacity .45s .06s,transform .6s .06s,filter .6s .06s}
.project:hover .project-hook:before,.project:focus-within .project-hook:before{transform:scaleY(1)}
.project:hover .project-hook span,.project:focus-within .project-hook span{opacity:1;transform:none;filter:blur(0)}
.project .tags li{transition:color .4s,border-color .4s,background .4s}
.project:hover .tags li,.project:focus-within .tags li{border-color:rgba(var(--accent-rgb),.28);background:rgba(var(--accent-rgb),.06);color:var(--accent)}
@media(hover:none),(prefers-reduced-motion:reduce){.value-statement span,.project-hook span{opacity:1;transform:none;filter:none}.project-hook:before{transform:scaleY(1)}.hero-copy:before{opacity:.6;transform:none}.project .device:before{opacity:.45}}
@media(max-width:640px){.hero-copy .value-statement{min-height:50px;max-width:310px}.project-copy .project-hook{font-size:20px}.hero{padding-top:85px}}

/* The device artwork is clipped separately; its halo can fade beyond the stage. */
.device{overflow:visible}
.device-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;perspective:900px;pointer-events:none}
.device-art img{pointer-events:none}
.project .device:before{inset:-25px -18px;filter:blur(18px);pointer-events:none;background:radial-gradient(ellipse at var(--glow-x) var(--glow-y),rgba(var(--accent-rgb),.23) 0%,rgba(var(--accent-rgb),.11) 32%,rgba(var(--accent-rgb),0) 70%)}
.device:after{pointer-events:none}

/* Allied's wide laptop must extend beyond its artwork box during rotation. */
.device.laptop .device-art{overflow:visible}

/* Center the carousel without a visible playback control. */
.logo-carousel{padding-right:0}
.logo-carousel:focus-visible{outline:1px solid #777;outline-offset:8px;border-radius:6px}

/* Logo destinations retain the existing carousel spacing and proportions. */
.logo-group a{display:flex;align-items:center;justify-content:center;flex:0 0 128px;height:44px;border-radius:5px;transition:opacity .2s,filter .2s;opacity:.8}
.logo-group a:first-child{flex-basis:80px}.logo-group a:last-child{flex-basis:94px}
.logo-group a img:first-child{width:100%;max-width:100%;height:40px;object-fit:contain}
.logo-group a:hover,.logo-group a:focus-visible{opacity:1;filter:drop-shadow(0 0 6px #ffffff55)}
.logo-group a:focus-visible{outline:1px solid white;outline-offset:2px}
@media(max-width:640px){.logo-group a{flex-basis:100px;height:34px}.logo-group a:first-child{flex-basis:55px}.logo-group a:last-child{flex-basis:70px}.logo-group a img:first-child{height:30px}}
@media(prefers-reduced-motion:reduce){.logo-group a,.logo-group a:first-child,.logo-group a:last-child{flex:0 1 23%;min-width:0}}

/* Portrait and contact images reveal their original colors on hover or focus. */
.portrait.photo-reveal,.contact>.photo-reveal{filter:grayscale(1);transition:filter .65s ease}
.portrait.photo-reveal:hover,.portrait.photo-reveal:focus-visible,.contact>.photo-reveal:hover,.contact>.photo-reveal:focus-visible{filter:grayscale(0)}
.photo-reveal:focus-visible{outline:2px solid #c5ceff;outline-offset:6px}
@media(hover:none){.portrait.photo-reveal,.contact>.photo-reveal{filter:grayscale(0)}}
@media(prefers-reduced-motion:reduce){.portrait.photo-reveal,.contact>.photo-reveal{transition:none}}

/* About portrait: fixed interaction area, gentle depth, soft color reveal. */
.portrait-frame{width:100%;max-width:390px;justify-self:end;perspective:1100px;--portrait-x:0deg;--portrait-y:0deg}
.portrait-frame .portrait{width:100%;max-width:none;transform:rotateX(var(--portrait-x)) rotateY(var(--portrait-y));transition:transform .65s cubic-bezier(.2,.8,.2,1),filter .65s,box-shadow .65s}
.portrait-frame:hover .portrait,.portrait-frame:focus-within .portrait{filter:grayscale(0);box-shadow:0 22px 55px #0008,0 0 32px #a6b5ff12}
.portrait-frame.is-tracking .portrait{transition:transform .16s ease-out,filter .65s,box-shadow .65s}
/* The contact heading draws a quiet silver-blue underline on interaction. */
.contact-emphasis{background-image:linear-gradient(90deg,#f0f2ff,#8c9ed9);background-repeat:no-repeat;background-position:0 100%;background-size:0% 2px;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding-bottom:4px;transition:background-size .75s cubic-bezier(.2,.8,.2,1),color .5s}
.contact:hover .contact-emphasis,.contact:focus-within .contact-emphasis{background-size:100% 2px;color:#e3e8ff}
.contact .contact-arrow{display:inline-block;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.contact .button:hover .contact-arrow,.contact .button:focus-visible .contact-arrow{transform:translate(3px,-3px)}
.contact .button:focus-visible{transform:translateY(-2px);border-color:#ccc;box-shadow:0 0 24px #ffffff30}
@media(max-width:640px){.portrait-frame{max-width:320px;justify-self:center}.contact .button{max-width:100%;gap:10px}.contact .button[href^="mailto:"]{font-size:clamp(11px,3.5vw,14px);padding-inline:12px}}
@media(hover:none){.contact-emphasis{background-size:100% 2px}}
@media(prefers-reduced-motion:reduce){.portrait-frame .portrait,.portrait-frame.is-tracking .portrait{transform:none;transition:none}.contact .contact-arrow,.contact .button:focus-visible{transform:none}.contact-emphasis{transition:none}}

/* Personal stories: larger introduction and photo-reveal pills. */
.about .about-lead{font-family:var(--heading);font-size:clamp(25px,2.4vw,36px);line-height:1.28;color:#e5e8f2;letter-spacing:-.025em;margin-top:26px;max-width:640px}
.about-inner>div:first-child{min-width:0}
.story-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.story-pills button{font:inherit;font-size:13px;color:#c4c6ce;border:1px solid #393a42;background:#111216;border-radius:30px;padding:12px 15px;cursor:pointer;display:inline-flex;align-items:center;gap:10px;transition:background .3s,color .3s,border-color .3s,transform .3s}
.story-pills button span{opacity:.45;transition:transform .3s,opacity .3s}
.story-pills button:hover,.story-pills button:focus-visible,.story-pills button[aria-pressed=true]{color:#fff;background:#202431;border-color:#8c9ed9;transform:translateY(-2px)}
.story-pills button:hover span,.story-pills button[aria-pressed=true] span{opacity:1;transform:translate(2px,-2px)}
.story-pills button:focus-visible,.story-reset:focus-visible{outline:2px solid #c5ceff;outline-offset:4px}
.about .story-hint{font-size:12px;line-height:1.5;color:#858994;margin-top:12px}
.portrait-frame{position:relative;isolation:isolate;--spot-x:50%;--spot-y:50%;align-self:center}
.portrait-frame:before{content:'';position:absolute;inset:-50px;z-index:-1;pointer-events:none;opacity:0;background:radial-gradient(ellipse at var(--spot-x) var(--spot-y),#8b9dd338,transparent 65%);filter:blur(28px);transition:opacity .65s}
.portrait-frame:hover:before,.portrait-frame:focus-within:before,.portrait-frame.has-story:before{opacity:1}
.portrait-stack{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;border-radius:25px;background:#101115;transform:rotateX(var(--portrait-x)) rotateY(var(--portrait-y));transition:transform .65s cubic-bezier(.2,.8,.2,1);box-shadow:0 20px 45px #0005}
.portrait-frame.is-tracking .portrait-stack{transition:transform .16s ease-out}
.portrait-frame .story-photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;opacity:0;visibility:hidden;pointer-events:none;transform:scale(1.025);transition:opacity .55s,transform .75s,filter .65s,visibility .55s}
.portrait-frame .story-photo.is-active{opacity:1;visibility:visible;transform:scale(1);pointer-events:auto}
.portrait-frame .story-ux{object-fit:cover;object-position:center}
.portrait-frame .portrait{box-shadow:none}
.portrait-frame .portrait:focus-visible{outline:2px solid #c5ceff;outline-offset:-4px}
.portrait-caption{position:absolute;left:0;right:0;bottom:0;padding:60px 23px 24px;background:linear-gradient(transparent,#000d);pointer-events:none;opacity:0;transform:translateY(12px);transition:opacity .5s,transform .5s}
.portrait-frame:hover .portrait-caption,.portrait-frame:focus-within .portrait-caption,.portrait-frame.has-story .portrait-caption{opacity:1;transform:none}
.caption-kicker{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#bfc9ef}
.about .portrait-caption p{font-family:var(--heading);color:white;font-size:22px;line-height:1.3;margin:9px 0 0}
.story-reset{position:absolute;top:calc(100% + 14px);right:0;background:none;border:none;color:#aeb7d5;font:inherit;font-size:12px;cursor:pointer;padding:5px}
.story-reset:hover{color:#fff}
@media(hover:none){.portrait-caption{opacity:1;transform:none}.story-hint{display:none}}
@media(max-width:640px){.portrait-frame{margin-bottom:25px}.about .about-lead{font-size:27px}.story-pills button{font-size:12px;padding:11px 13px}}
@media(prefers-reduced-motion:reduce){.portrait-stack,.portrait-frame.is-tracking .portrait-stack,.portrait-frame .story-photo,.portrait-frame .story-photo.is-active{transform:none;transition:none}.portrait-caption{transform:none;transition:none}.story-pills button:hover{transform:none}}

/* GravityDrive green sampled from the prototype interface. */
.project-gravity{--accent:#5c7160;--accent-rgb:92,113,96}
.project-gravity .project-hook,.project-gravity:hover .tags li,.project-gravity:focus-within .tags li,.project-gravity:hover .case-button,.project-gravity:focus-within .case-button{color:#b4c4b7}

/* Vector UI icons render consistently without emoji or icon-font fallback. */
.ui-icon{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.14em;overflow:visible}.button>.ui-icon{vertical-align:middle}.next-project h2 .ui-icon{width:.8em;height:.8em}

/* A single entrance ripple, independent of hover. */
.hero-copy{animation:none}.hero-copy:before{display:none}.hero-copy h1,.hero-copy:hover h1,.hero-copy:focus-within h1{color:var(--text);text-shadow:none;transition:none}
.name-word{display:inline-block;white-space:nowrap;perspective:800px}.name-letter{display:inline-block;transform-origin:50% 85%;backface-visibility:hidden;animation:name-domino .7s cubic-bezier(.2,.75,.25,1) both;animation-delay:calc(.12s + var(--letter)*.065s)}
@keyframes name-domino{0%{opacity:0;transform:rotateX(-90deg) translateY(8px)}65%{opacity:1;transform:rotateX(12deg) translateY(0)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.name-letter{animation:none}}
@media(hover:none),(pointer:coarse),(max-width:760px){.value-statement span,.project-hook span{opacity:1;transform:none;filter:none}.project-hook:before{transform:scaleY(1)}.project .device img{filter:grayscale(0);animation:none}.project .arrow{opacity:1}.project .case-button{padding-right:45px}.portrait.photo-reveal,.portrait-frame .story-photo,.contact>.photo-reveal{filter:grayscale(0)}.portrait-caption{opacity:1;transform:none}.contact-emphasis{background-size:100% 2px}.story-hint{display:none}}
@media(max-width:640px){.hero h1{font-size:clamp(40px,10.5vw,64px)}.contact .button{max-width:100%;overflow-wrap:anywhere}.site-header{padding-left:24px;padding-right:24px}}

@media(max-width:760px){body{overflow-x:clip}.about-inner,.contact,.project{min-width:0}}

/* Navigation and direct contact. */
.site-header .home-link{font-family:var(--heading);font-size:18px;letter-spacing:-.03em;color:var(--text)}
.contact{align-items:start}.contact>.photo-reveal{position:sticky;top:35px}.contact-copy{min-width:0}.contact-form{margin-top:35px;padding-top:30px;border-top:1px solid #333;text-align:left}.contact-form h3{font-family:var(--heading);font-weight:400;font-size:27px;margin-bottom:24px}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-form label{display:block;color:#d7d9df;font-size:13px;margin-bottom:9px}.contact-form input:not([type=hidden]),.contact-form textarea{width:100%;border:1px solid #41444d;border-radius:12px;background:#111216;color:#f4f4f4;padding:13px 14px;font:inherit;font-size:16px;margin:0 0 19px;transition:border-color .2s,box-shadow .2s}.contact-form textarea{resize:vertical;min-height:130px}.contact-form input:focus,.contact-form textarea:focus{outline:2px solid #b8c3fa;outline-offset:2px;border-color:#b8c3fa}.contact-form textarea::placeholder{color:#9296a1}.contact-form .send-button{cursor:pointer;font:inherit;font-size:15px}.send-button:disabled{opacity:.6;cursor:wait}.contact .form-status{font-size:14px;line-height:1.5;margin-top:14px}.form-status:empty{display:none}.form-status[data-state=error]{color:#ffb8b8}.form-status[data-state=success]{color:#b3dfbc}.contact .form-privacy{font-size:12px;line-height:1.5;color:#999;margin-top:16px}.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:760px){.site-header{height:auto;min-height:80px;gap:14px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}.site-header nav{gap:18px;font-size:13px}.site-header .home-link{font-size:17px}.hero canvas{display:none}.hero:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 8% 55%,#ffffff24,transparent 53%),radial-gradient(ellipse at 100% 25%,#cad3ed14,transparent 52%);animation:mobile-atmosphere 14s ease-in-out infinite alternate}.contact>.photo-reveal{position:static}.contact-fields{grid-template-columns:1fr;gap:0}.contact-form{margin-top:30px}.contact .actions{gap:10px}.contact .button{font-size:14px}}
@keyframes mobile-atmosphere{from{opacity:.55;transform:translateY(0)}to{opacity:.9;transform:translateY(14px)}}
@media(prefers-reduced-motion:reduce){.hero:before{animation:none}}
