/* Device composition: real portfolio screens on a quiet, blue-lit studio stage. */
.hero{background:#060b13;min-height:760px;height:min(90svh,940px)}
.hero-atmosphere{background:radial-gradient(ellipse at 79% 40%,#203049 0%,#122135 22%,#080f1c 47%,#050a12 76%)}
.hero-atmosphere:after{background:linear-gradient(90deg,#040911c9,transparent 58%),linear-gradient(0deg,#050a12 0%,transparent 23%)}
.hero-beam{opacity:.22;background:linear-gradient(115deg,transparent 43%,#7296c91c 49%,#c0d9ff2e 50%,transparent 57%)}
.hero-horizon{position:absolute;width:85%;height:36%;right:-20%;bottom:5%;border:1px solid #8ea5ce20;border-radius:50%;transform:rotate(-9deg);box-shadow:0 -22px 70px #5187dc0b}
.hero-main{z-index:3;padding-top:76px;padding-bottom:90px}
.hero h1{font-size:clamp(58px,5.5vw,86px);letter-spacing:-.055em}
.hero-description{max-width:490px}
.hero-description p{font-size:15px;line-height:2}
.hero-label{color:#c7d0e1}
.hero-bottom{z-index:4}
.hero-visual{position:absolute;width:min(55.5vw,850px);height:650px;right:2.2%;top:50%;transform:translateY(-49%);z-index:1;pointer-events:none;isolation:isolate}
.device-stage{position:relative;width:100%;height:100%;transform:translate3d(calc(var(--pointer-x,0px)*.22),calc(var(--pointer-y,0px)*.3),0);transition:transform 550ms var(--ease)}
.device-stage:after{content:'';position:absolute;left:8%;right:0;bottom:13%;height:14%;border-radius:50%;background:radial-gradient(ellipse,#02040999,transparent 68%);transform:rotate(-4deg);z-index:-1}
.portfolio-tile{position:absolute;z-index:1;filter:drop-shadow(0 18px 25px #0004)}
.tile-hair{width:32%;left:11%;top:8%}
.tile-gym{width:34%;right:6%;top:1%}
.tile-plane{overflow:hidden;background:#e9edf4;border:1px solid #c7d4ea70;border-radius:4px;color:#233148;box-shadow:inset 0 1px 0 #fff;transform:perspective(1100px) rotateY(-19deg) rotateZ(-7deg)}
.tile-gym .tile-plane{transform:perspective(1100px) rotateY(-20deg) rotateZ(-7deg)}
.tile-top,.tile-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px;font-size:8px;line-height:1.3;letter-spacing:.02em}
.tile-top>span:first-child{font-size:11px;font-weight:650;letter-spacing:-.02em}
.tile-top>span:last-child{color:#5e6c80;font-size:7px}
.tile-bottom{padding-block:10px;color:#66758a;font-size:7px}
.tile-bottom>span:last-child{font-size:13px}
.portfolio-tile img{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}
.device-laptop{position:absolute;left:18%;top:30%;width:76%;z-index:3}
.device-drift{width:100%;height:100%}
.laptop-hardware{position:relative;transform:perspective(1400px) rotateY(-15deg) rotateX(4deg) rotateZ(-6deg);transform-origin:50% 70%}
.laptop-lid{position:relative;border:2px solid #8793a4;border-radius:17px 17px 5px 5px;padding:16px 10px 0;background:linear-gradient(135deg,#394350 0%,#111822 5%,#05070b 50%,#1c2533);box-shadow:inset 0 1px 1px #e8f0ff,2px 0 0 #28364b,4px 5px 0 #04070d,0 30px 45px #01040b80;overflow:hidden}
.laptop-camera{position:absolute;top:5px;left:50%;width:4px;height:4px;background:#0d2131;border:1px solid #384452;border-radius:50%;box-shadow:0 0 1px #7ba5ba}
.laptop-display{position:relative;overflow:hidden;background:#edf0f5;border:1px solid #000;aspect-ratio:1.6}
.laptop-display img{width:100%;height:100%;object-fit:cover}
.laptop-display:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(123deg,#ffffff17 0%,#ffffff05 43%,transparent 43%)}
.laptop-chin{height:13px;background:linear-gradient(#080d14,#141b28)}
.laptop-base{height:16px;position:relative;width:113%;left:-6.5%;background:linear-gradient(#dce4ef 0%,#9dabbf 15%,#59687d 33%,#8795a9 47%,#354259 75%,#111b29);border-radius:2px 2px 42% 42% / 2px 2px 90% 90%;box-shadow:0 3px 0 #07101f,0 18px 30px #0007;border-top:1px solid #e1eaf8}
.laptop-notch{position:absolute;left:42%;right:42%;top:0;height:5px;border-radius:0 0 12px 12px;background:linear-gradient(#3c4758,#a6b6c9);box-shadow:inset 0 -1px 0 #e6f0ff66}
.device-phone{position:absolute;left:7%;top:47%;width:18.3%;z-index:4}
.phone-hardware{position:relative;padding:7px;background:linear-gradient(135deg,#b8c4d4,#3e4c5d 8%,#03070b 25%,#111d2d 85%,#778ba6);border:1px solid #92a0b5;border-radius:26px;transform:perspective(800px) rotateY(-12deg) rotateZ(6deg);box-shadow:2px 2px 0 #13253b,4px 4px 0 #03060c,0 20px 35px #01040b99}
.phone-display{position:relative;border-radius:18px;overflow:hidden;background:#152e39;aspect-ratio:390/844}
.phone-display img{width:100%;height:100%;object-fit:cover}
.phone-camera{position:absolute;left:35%;right:35%;top:7px;height:10px;background:#03070b;border-radius:0 0 10px 10px;box-shadow:0 1px 0 #60708755}
.phone-camera:after{content:'';position:absolute;right:5px;top:2px;width:3px;height:3px;border-radius:50%;background:#25364c}
.phone-home{position:absolute;left:35%;right:35%;bottom:12px;height:2px;border-radius:2px;background:#e6edf5b3}
.scene-caption{position:absolute;right:7%;bottom:5%;display:flex;align-items:center;gap:11px;color:#b9c7df;font-size:10px;line-height:1.4;letter-spacing:.02em}
.scene-caption-line{height:1px;width:36px;background:#8cabe0}
.scene-sample-label{color:#aab7cf;font-size:9px;border-left:1px solid #546b90;padding-left:11px;margin-left:2px;letter-spacing:0}

/* A brief curtain, not a loading gate. Static content is the default. */
.opening-screen{display:none}
.opening-prelude .opening-screen{display:flex;position:fixed;inset:0;z-index:1000;flex-direction:column;align-items:center;justify-content:center;background:#060b13;color:#fff;animation:curtain-away var(--opening-exit,800ms) cubic-bezier(.72,0,.18,1) var(--opening-hold,1400ms) both;overflow:hidden;will-change:transform}
.opening-wordmark{display:flex;gap:9px;align-items:baseline;font-family:Manrope,sans-serif;font-size:44px;line-height:1.35;letter-spacing:-.06em;overflow:hidden;padding:10px}
.opening-wordmark>span:first-child{font-weight:750}
.opening-wordmark>span:last-child{font-weight:400;font-size:36px;letter-spacing:-.055em}
.opening-wordmark>span{animation:opening-word 750ms var(--ease) both}
.opening-wordmark>span:last-child{animation-delay:65ms}
.opening-wordmark>i{font-style:normal;color:#648dff;animation:opening-slash 750ms var(--ease) both;transform-origin:center}
.opening-rule{width:200px;height:1px;background:linear-gradient(90deg,transparent,#466fff,#b8ceff);margin-top:24px;transform-origin:left;animation:opening-rule 1000ms var(--ease) both}
.opening-caption{font-size:10px;letter-spacing:.06em;color:#8c9ab2;margin-top:16px;animation:soft-entry 650ms var(--ease) 200ms both}
.hero-intro .hero .line>span{animation-delay:var(--intro-delay,0ms)}
.hero-intro .hero .line:nth-child(2)>span{animation-delay:calc(var(--intro-delay,0ms) + 90ms)}
.hero-intro .hero-label{animation-delay:var(--intro-delay,0ms)}
.hero-intro .hero-description p{animation-delay:calc(var(--intro-delay,0ms) + 180ms)}
.hero-intro .hero-actions{animation-delay:calc(var(--intro-delay,0ms) + 280ms)}
.hero-intro .hero-beam{animation:light-pass 1800ms var(--ease) var(--intro-delay,0ms) both}
.hero-intro .portfolio-tile,.hero-intro .device-laptop,.hero-intro .device-phone{animation:screen-arrive 1050ms var(--ease) both}
.hero-intro .tile-hair{animation-delay:calc(var(--intro-delay,0ms) + 30ms)}
.hero-intro .tile-gym{animation-delay:calc(var(--intro-delay,0ms) + 130ms)}
.hero-intro .device-laptop{animation-delay:calc(var(--intro-delay,0ms) + 180ms)}
.hero-intro .device-phone{animation-delay:calc(var(--intro-delay,0ms) + 300ms)}
.hero-intro .scene-caption{animation:soft-entry 650ms var(--ease) calc(var(--intro-delay,0ms) + 500ms) both}
.motion-enabled .device-drift{animation:device-float 6s ease-in-out infinite alternate;animation-play-state:paused}
.motion-enabled .phone-drift{animation-name:phone-float;animation-duration:5s;animation-delay:-1s}
.motion-enabled .hero.is-in-view .device-drift{animation-play-state:running}
.hero-intro .device-drift{animation-play-state:paused!important}
.motion-paused .opening-screen{display:none}
.motion-paused .device-stage{transform:none}
@keyframes curtain-away{0%{transform:translateY(0);visibility:visible}100%{transform:translateY(-102%);visibility:hidden}}
@keyframes opening-word{from{opacity:0;transform:translateY(120%)}to{opacity:1;transform:none}}
@keyframes opening-slash{from{opacity:0;transform:scaleY(.2) translateY(15px)}to{opacity:1;transform:none}}
@keyframes opening-rule{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
@keyframes screen-arrive{from{opacity:0;transform:translate3d(0,35px,0) scale(.97)}to{opacity:1;transform:none}}
@keyframes device-float{from{transform:translateY(0)}to{transform:translateY(-6px)}}
@keyframes phone-float{from{transform:translateY(-2px)}to{transform:translateY(5px)}}

@media(min-width:1700px){.hero-visual{right:max(0px,calc((100vw - 1680px)/2));width:900px}.hero h1{font-size:86px}}
@media(max-width:1190px){.hero{min-height:700px;height:85svh}.hero h1{font-size:clamp(56px,5.5vw,66px)}.hero-visual{width:59%;height:560px;right:-1%;top:52%}.device-laptop{top:32%;left:15%;width:79%}.device-phone{top:49%;left:3%;width:20%}.tile-hair{left:9%;top:14%;width:34%}.tile-gym{right:3%;top:7%;width:35%}.tile-top{padding:10px;font-size:7px}.tile-top>span:first-child{font-size:9px}.tile-top>span:last-child{font-size:6px}.tile-bottom{padding:8px 10px;font-size:6px}.scene-caption{right:7%;bottom:8%;font-size:9px;gap:8px}.scene-sample-label{font-size:8px;padding-left:8px}.phone-hardware{padding:6px;border-radius:21px}.phone-display{border-radius:15px}.laptop-lid{border-radius:13px 13px 4px 4px;padding:13px 8px 0}.laptop-chin{height:10px}.laptop-base{height:13px}.hero-description p{font-size:14px}}
@media(min-width:701px) and (max-width:980px){.hero{min-height:720px;height:auto}.hero-main{padding-top:150px;padding-bottom:165px}.hero h1{font-size:clamp(46px,6vw,58px)}.hero-description{max-width:44%}.hero-description p{font-size:13px}.hero-description .keep{white-space:normal}.hero-actions{gap:12px}.hero-secondary{font-size:11px}.hero-visual{width:62%;height:540px;top:54%;right:-4%}.device-laptop{top:35%;left:12%;width:81%}.device-phone{top:49%;left:2%;width:22%}.tile-hair{top:22%;left:8%;width:35%}.tile-gym{top:12%;right:6%;width:36%}.scene-caption{bottom:13%;right:9%;font-size:8px}.scene-caption-line{width:20px}.scene-sample-label{font-size:7px}.hero .button{gap:20px}.hero-horizon{bottom:10%}}
@media(max-width:700px){.hero{display:block;min-height:0;height:auto;padding-bottom:390px}.hero-main{padding-top:114px;padding-bottom:0}.hero h1{font-size:clamp(38px,10.4vw,64px);line-height:1.45}.hero-description{max-width:none;margin-top:20px}.hero-description p{font-size:14px;line-height:1.95}.hero-actions{margin-top:25px;gap:12px}.hero-visual{width:100%;height:350px;left:0;right:0;top:auto;bottom:47px;transform:none}.device-stage{transform:none}.hero-atmosphere{background:radial-gradient(ellipse at 68% 73%,#223349 0%,#112033 26%,#060c16 54%,#040912 85%)}.hero-atmosphere:after{background:linear-gradient(0deg,#040912 0%,transparent 22%)}.hero-horizon{width:150%;height:22%;right:-65%;bottom:3%}.device-laptop{top:35%;left:20%;width:75%}.device-phone{top:49%;left:5%;width:20%}.tile-hair{width:35%;left:13%;top:12%}.tile-gym{width:36%;right:5%;top:3%}.tile-top{padding:7px 8px}.tile-top>span:first-child{font-size:7px}.tile-top>span:last-child{font-size:5px}.tile-bottom{padding:6px 8px;font-size:5px}.tile-bottom>span:last-child{font-size:9px}.laptop-lid{padding:9px 5px 0;border-width:1px;border-radius:8px 8px 3px 3px}.laptop-camera{width:2px;height:2px;top:3px}.laptop-chin{height:7px}.laptop-base{height:9px}.laptop-notch{height:3px}.phone-hardware{padding:4px;border-radius:15px}.phone-display{border-radius:11px}.phone-camera{top:4px;height:7px;border-radius:0 0 6px 6px}.phone-camera:after{width:2px;height:2px;top:2px;right:3px}.phone-home{height:1px;bottom:7px}.scene-caption{bottom:0;right:6%;font-size:8px;gap:8px}.scene-caption-line{width:24px}.scene-sample-label{font-size:8px;padding-left:8px}.hero-bottom{bottom:16px;font-size:8px}.hero-bottom>a{font-size:8px}.motion-enabled .device-drift{animation:none}.hero-intro .portfolio-tile,.hero-intro .device-laptop,.hero-intro .device-phone{animation-name:screen-arrive-mobile;animation-duration:750ms}.opening-wordmark{font-size:36px}.opening-wordmark>span:last-child{font-size:30px}.opening-rule{width:170px}.opening-caption{font-size:9px}}
@keyframes screen-arrive-mobile{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(max-width:359px){.hero{padding-bottom:340px}.hero-main{padding-top:109px}.hero h1{font-size:36px}.hero-description p{font-size:13px}.hero-visual{height:300px;bottom:40px}.hero-actions{gap:10px}.hero .button{padding-inline:13px;font-size:11px;gap:15px}.hero-secondary{font-size:10px;gap:6px}.scene-caption{right:5%;font-size:7px}.scene-sample-label{font-size:7px}.scene-caption-line{width:18px}.hero-bottom>span{max-width:155px}}
@media(prefers-reduced-motion:reduce){.opening-prelude .opening-screen{display:none}.device-stage{transform:none}.device-drift{animation:none!important}.hero-intro .portfolio-tile,.hero-intro .device-laptop,.hero-intro .device-phone,.hero-intro .scene-caption{opacity:1;transform:none}}

/* Keep the device edges and the sample label clear of the page controls. */
.scene-caption{left:11%;right:auto;top:2%;bottom:auto;gap:8px}
.scene-caption>span:nth-child(2){display:none}
.scene-caption-line{width:20px}
.scene-sample-label{border:0;padding:0;margin:0;font-size:10px}
@media(min-width:981px) and (max-width:1190px){.hero-visual{right:1.5%;width:57%}.scene-caption{left:9%;top:8%}}
@media(min-width:701px) and (max-width:980px){.hero-visual{width:58%;right:1%}.device-laptop{width:76%;left:13%}.device-phone{left:10%}.scene-caption{left:8%;top:16%}}
@media(min-width:981px) and (max-height:850px){.hero-visual{width:min(55vw,760px);height:600px;right:2%;top:50%}}
@media(max-width:700px){.hero{padding-bottom:calc(clamp(350px,90vw,630px) + 72px)}.hero-visual{height:clamp(350px,90vw,630px)}.device-laptop{width:71%}.scene-caption{left:13%;top:4%;bottom:auto;right:auto}.scene-sample-label{font-size:8px}.scene-caption-line{width:15px}}
@media(max-width:359px){.hero{padding-bottom:375px}.hero-visual{height:300px}}
