/* Final interaction layer: the studio's original charcoal / electric yellow palette. */
.ui-icon{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.14em;pointer-events:none;overflow:visible}
.tool-row .ui-icon{width:25px;height:25px}.small-spark .ui-icon,.wave .ui-icon,.contact-spark .ui-icon,.note-symbol .ui-icon{width:1em;height:1em}
.button .ui-icon,.round-button .ui-icon,.project-arrow .ui-icon{width:20px;height:20px}.button{transition:translate .25s,background .2s,box-shadow .2s;translate:var(--mx,0px) var(--my,0px)}
.button:active{scale:.97}.hero-heading{isolation:isolate}.hero h1{position:relative}.hero h1.particle-ready{opacity:0}#hero-particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.particle-hint{display:block;margin:24px auto 0;color:var(--orange);font-size:9px;letter-spacing:1.8px}.hero-copy{margin-top:15px}.hero-sticker b .ui-icon{width:54px;height:54px}
.work-cta{display:flex;align-items:center;flex-direction:column;gap:15px;text-align:center;margin:24px auto 60px;padding:0 24px}.work-cta p{color:var(--muted);margin:0}.work-cta>.eyebrow{font-size:8px;color:var(--muted);letter-spacing:1.3px}.project-rail{position:relative;scroll-snap-type:x mandatory}.project-footer{gap:14px}.project-footer .pill{max-width:52%;white-space:normal;text-align:center;font-size:9px}.project-rail .project-card{transition:transform .25s,border-color .25s;transform-origin:center}.project-rail .project-card:hover{transform:translateY(-6px) rotate(-.6deg)}.rail-controls{gap:20px}#pause-projects{width:34px;height:34px;border-color:var(--line);margin-right:8px}#pause-projects .ui-icon{width:14px;height:14px}#project-count{min-width:70px;text-align:center}
.services-story{position:relative;margin:80px 0 110px;--service-progress:0}.services-pin{padding:38px 0}.services-heading{display:flex;align-items:end;justify-content:space-between;margin:0 auto 34px;gap:20px}.services-heading h2{font:800 clamp(26px,3.2vw,46px)/1.05 var(--display);letter-spacing:-.035em;margin:12px 0 0}.services-heading h2 em{color:var(--orange);font-style:normal}.services-heading .eyebrow{font-size:9px}.services-hint{display:flex;align-items:center;gap:16px;color:var(--muted);white-space:nowrap}.services-hint .ui-icon{width:25px;height:25px;color:var(--orange)}.services-viewport{overflow:clip;padding:28px 0 20px}.services-track{display:grid;gap:40px}.service-panel{padding:0 max(24px,calc((100vw - 1140px)/2));min-width:0}.service-sheet{position:relative;padding:32px 38px;background:linear-gradient(130deg,#222,#171717);border:1px solid #424242;border-radius:16px;box-shadow:0 30px 70px -40px #000;transition:border-color .25s}.service-sheet:hover{border-color:var(--orange)}.service-sheet>.handle{opacity:0;transition:opacity .2s;border-color:var(--orange)}.service-sheet:hover>.handle{opacity:1}.service-file{position:absolute;top:-25px;left:3px;display:flex;align-items:center;gap:8px;color:var(--orange);font:10px var(--mono)}.service-file .ui-icon{width:12px;height:12px}.service-main{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.service-tile{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#303030;box-shadow:inset 0 1px 1px #ffffff24,inset 0 -2px 4px #0005;color:var(--orange);font:700 22px var(--display);margin-bottom:16px}.service-intro>.eyebrow{font-size:8px;letter-spacing:1.5px;color:#aaa}.service-intro h3{font:800 clamp(28px,3.1vw,42px)/1.04 var(--display);letter-spacing:-.035em;margin:12px 0 15px}.service-intro h3 em{display:block;font-style:normal;color:var(--orange);margin-top:5px}.service-intro p{max-width:36ch;font-size:14px;line-height:1.6;color:var(--muted);margin:0}.service-preview{position:relative;border:1px solid #444;border-radius:11px;overflow:hidden;background:#111;box-shadow:0 15px 35px #0005;transform:perspective(1000px) rotateY(var(--ry,0deg)) rotateX(var(--rx,0deg));transition:transform .3s}.preview-bar{height:28px;background:#2b2b2b;display:flex;align-items:center;gap:5px;padding:0 11px}.preview-bar>i{width:6px;height:6px;border-radius:50%;background:#777}.preview-bar>i:first-child{background:var(--orange)}.preview-bar>span{font:7px var(--mono);letter-spacing:.5px;margin:auto;color:#bbb}.preview-bar>.ui-icon{width:10px;height:10px;color:#aaa}.service-preview>img{display:block;width:100%;height:clamp(180px,20vw,260px);object-fit:cover}.preview-cursor{position:absolute;bottom:24px;right:30px;color:var(--orange);transform:rotate(-8deg);transition:translate .3s}.preview-cursor>.ui-icon{display:block;width:23px;height:23px;filter:drop-shadow(0 1px 2px #000)}.preview-cursor>b{display:block;background:var(--orange);color:#111;padding:3px 6px;margin-left:17px;font:8px var(--mono);border-radius:3px}.service-sheet:hover .preview-cursor{translate:-12px -10px}.service-details{border-top:1px solid #3a3a3a;margin-top:24px;padding-top:16px}.service-details summary{display:flex;align-items:center;gap:16px;width:max-content;max-width:100%;padding:10px 13px;border:1px solid #c9c516;border-radius:8px;list-style:none;font:700 9px var(--mono);letter-spacing:1.2px;cursor:pointer;transition:background .2s}.service-details summary::-webkit-details-marker{display:none}.service-details summary:hover{background:#F1EB1C15}.service-details summary>.ui-icon{border-radius:50%;padding:3px;width:20px;height:20px;background:var(--orange);color:#111;transition:rotate .2s}.service-details:not([open]) summary>.ui-icon{rotate:180deg}.service-body{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding-top:17px}.service-body h4{font:700 9px var(--mono);letter-spacing:1.2px;color:#999;margin:0 0 10px}.service-body p{font-size:12px;line-height:1.65;color:#c4c4c4;margin:0}.service-body .service-process{font-size:9px;color:#999;margin-top:10px}.service-body ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0}.service-body li{font-size:11px;padding:6px 11px;border:1px solid #414141;background:#2b2b2b;border-radius:7px;color:#ddd}.services-navigation{display:flex;justify-content:space-between;align-items:center;max-width:1140px;margin:0 auto;padding:0 0 4px}.services-navigation>.eyebrow{font-size:8px;color:#888}.services-dots{display:flex;gap:14px}.services-dots button{display:flex;align-items:center;gap:10px;background:none;border:0;padding:10px 0;color:#999;font:9px var(--mono)}.services-dots i{height:2px;width:36px;background:#454545;transition:width .3s,background .3s}.services-dots [aria-current] {color:var(--orange)}.services-dots [aria-current] i{width:65px;background:var(--orange)}
@media(min-width:901px) and (prefers-reduced-motion:no-preference){.services-story.is-horizontal .services-pin{position:sticky;top:38px;height:auto;display:flex;flex-direction:column;justify-content:center;padding:20px 0}.is-horizontal .services-heading{width:min(1140px,calc(100% - 48px));margin-bottom:14px}.is-horizontal .services-track{display:flex;gap:0;will-change:transform}.is-horizontal .service-panel{flex:0 0 100vw}.is-horizontal .services-navigation{width:min(1140px,calc(100% - 48px))}.is-horizontal .services-viewport{flex-shrink:0}}
@media(max-width:1200px){.services-navigation{margin-inline:24px}.service-sheet{padding:26px}.service-main{gap:25px}.service-body{gap:25px}}
@media(max-width:900px){.services-story{margin:55px 0}.services-pin{padding:20px 0}.services-heading{margin-inline:24px}.services-hint{display:none}.service-main{gap:24px}.service-intro h3{font-size:30px}.service-preview>img{height:220px}.services-navigation{display:none}.services-track{gap:55px}.service-sheet{padding:25px}.particle-hint{font-size:7px;letter-spacing:1px}.service-panel{scroll-margin-top:75px}}
@media(max-width:600px){.service-panel{padding:0 18px}.services-heading{margin-inline:18px}.service-main{grid-template-columns:1fr;gap:22px}.service-body{grid-template-columns:1fr;gap:20px}.service-sheet{padding:24px 20px;border-radius:12px}.service-intro{position:relative}.service-tile{width:38px;height:38px;font-size:18px;margin-bottom:14px}.service-intro>.eyebrow{position:absolute;top:13px;left:52px;font-size:7px}.service-intro h3{font-size:31px;max-width:16ch}.service-intro p{font-size:13px}.service-preview>img{height:auto;aspect-ratio:1.6;object-fit:cover}.service-body p{font-size:12px}.service-body li{font-size:10px}.service-details summary{font-size:8px;letter-spacing:.8px}.work-cta{margin-top:18px;margin-bottom:42px}.work-cta p{font-size:13px}.project-footer .pill{font-size:7px}.particle-hint{max-width:90%;font-size:6px}.hero-sticker b .ui-icon{width:32px;height:32px}}
@media(pointer:coarse){.particle-hint{display:none}}
@media(prefers-reduced-motion:reduce){#hero-particles,.particle-hint{display:none}.hero h1.particle-ready{opacity:1}.button,.service-preview,.project-rail .project-card,.preview-cursor{transform:none!important;translate:none!important;transition:none!important}.services-dots i{transition:none}}

/* Laptop-height refinements and continuous portfolio motion. */
.services-story{margin:90px 0 0}.services-pin{padding-bottom:0}
.services-story.is-horizontal .services-pin{justify-content:flex-start;padding:16px 0 0}
.services-navigation{padding-bottom:0}
.project-rail.is-marquee{scroll-snap-type:none!important;scroll-behavior:auto!important;overflow-anchor:none}
.ruler-track::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#F1EB1C25,#F1EB1C80);transform:scaleX(var(--ruler-fill,0));transform-origin:left;pointer-events:none}
.ruler-numbers,.progress-marker{z-index:1}.ruler-numbers{position:relative}.progress-marker{background:#F1EB1C;color:#111;min-width:36px;text-align:center}
.play-flower{display:grid;place-items:center;font-size:inherit;line-height:1}
.play-flower>.ui-icon{display:block;width:100%;height:100%;overflow:hidden}
.play-disc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px}
.play-disc>span{display:block;font-size:25px;line-height:.95;text-align:center}
.play-disc>b{position:static;display:grid;place-items:center;flex:none;width:22px;height:22px;font-size:22px;line-height:1}
.play-disc>b>.ui-icon{display:block;width:100%;height:100%}
.play-object.selected,.play-object:focus-visible,.play-object.dragging{outline-offset:5px}
.play-object.selected::after,.play-object:focus-visible::after{inset:-7px;border-radius:0;background:linear-gradient(var(--orange),var(--orange)) 0 0/6px 6px,linear-gradient(var(--orange),var(--orange)) 100% 0/6px 6px,linear-gradient(var(--orange),var(--orange)) 0 100%/6px 6px,linear-gradient(var(--orange),var(--orange)) 100% 100%/6px 6px;background-repeat:no-repeat}
.play-disc.selected,.play-disc:focus-visible{outline:none;box-shadow:0 0 0 5px #111,0 0 0 7px var(--orange)}
.play-disc.selected::after,.play-disc:focus-visible::after{display:none}
.designer-tag{z-index:3}.designer-avatar{position:absolute;left:-18px;bottom:calc(100% + 10px);display:block;width:70px;height:70px;object-fit:cover;object-position:center;border-radius:50%;border:3px solid #F1EB1C;background:#23231a;box-shadow:0 0 0 5px #111,0 10px 25px #0006;transform:rotate(9deg)}
.contact:before{display:none}
.moon-rise{height:200px;position:relative;overflow:hidden;display:grid;place-items:start center;margin-top:-25px;isolation:isolate;pointer-events:none}
.moon-rise:before{content:'';position:absolute;inset:25% 10% -100%;background:radial-gradient(ellipse,#f1eb1c16,transparent 65%);z-index:-1}
.moon-system{position:relative;width:240px;height:240px;margin-top:28px}
.moon-surface{display:block;width:100%;height:100%;border-radius:50%;box-shadow:0 0 38px #eeedbb18,0 0 90px #f1eb1c0d;animation:moon-turn 100s linear infinite}
.moon-orbit{position:absolute;inset:-23px;border:1px solid #f1eb1c38;border-radius:50%;animation:moon-turn 24s linear infinite}
.moon-orbit:before{content:'';position:absolute;left:50%;top:-4px;width:7px;height:7px;border-radius:50%;background:#F1EB1C;box-shadow:0 0 12px #F1EB1C80}
.moon-orbit:after{content:'';position:absolute;left:50%;bottom:-3px;width:5px;height:5px;border-radius:50%;background:#8d8e80}
@keyframes moon-turn{to{transform:rotate(360deg)}}
.stars-paused .moon-surface,.stars-paused .moon-orbit{animation-play-state:paused}
@media(max-width:760px){.play-disc{padding:13px;gap:5px}.play-disc>span{font-size:16px}.play-disc>b{width:16px;height:16px;font-size:16px}.moon-rise{height:155px;margin-top:0}.moon-system{width:190px;height:190px}.designer-tag{display:block;position:relative;left:auto;top:auto;width:max-content;margin:22px auto 0;transform:none}.designer-avatar{position:static;width:48px;height:48px;margin:0 auto 5px;transform:none;border-width:2px}.designer-tag>span{position:absolute;left:-14px;bottom:9px;font-size:20px}.designer-tag b{margin-left:0}.hero-sticker{display:none}}
@media(prefers-reduced-motion:reduce){.moon-surface,.moon-orbit{animation:none}#pause-projects{display:none}}

/* Full-width lunar horizon behind the footer; the footer masks everything below this cap. */
.moon-rise{height:clamp(78px,7.6vw,108px);margin:0 0 -1px;display:block;overflow:hidden}
.moon-rise:before{inset:0;background:radial-gradient(ellipse at 50% 100%,#f1eb1c16,transparent 70%)}
.moon-system{position:absolute;inset:0 -2%;width:auto;height:100%;margin:0;overflow:hidden;filter:drop-shadow(0 0 22px #f1eb1c14)}
.moon-surface{position:absolute;left:-1%;top:0;width:102%;height:100%;object-fit:fill;opacity:.78;filter:none;box-shadow:none;animation:moon-texture-drift 18s ease-in-out infinite alternate}
.studio-footer{z-index:1}
@keyframes moon-texture-drift{from{transform:translateX(-.6%)}to{transform:translateX(.6%)}}
@media(max-width:760px){.moon-rise{height:68px}.moon-system{inset:0 -12%}.moon-surface{width:104%;left:-2%}}
@media(prefers-reduced-motion:reduce){.moon-surface{animation:none}}

/* Moon concept removed; keep the handoff into the footer clean. */
.moon-rise{display:none!important}

/* Hero headline: each line shrink-wraps and centres, so the particle canvas (which reads line rects) centres too. */
.hero h1{text-align:center}
.hero h1>span{width:fit-content;margin-inline:auto}

/* Portfolio: the card in the centre of the rail takes the selection frame and shows its own file label. */
.project-rail .project-card{outline:1.5px solid transparent;outline-offset:4px;transition:transform .25s,border-color .25s,outline-color .45s cubic-bezier(.32,.72,0,1),outline-offset .45s cubic-bezier(.32,.72,0,1)}
.project-rail .project-card.featured-card{outline-color:var(--blue);outline-offset:4px}
.project-card>.frame-label{top:-27px;left:-10px;opacity:0;translate:0 6px;transition:opacity .35s,translate .45s cubic-bezier(.32,.72,0,1);pointer-events:none}
.project-card.featured-card>.frame-label{opacity:1;translate:0 0}

/* Capability pills link to the Zelor work categories. */
.pills>a{display:inline-flex;align-items:center;gap:6px;font-size:11px;border:1px solid #535353;padding:6px 10px 6px 12px;border-radius:30px;transition:background .35s cubic-bezier(.32,.72,0,1),color .25s,border-color .25s,scale .2s cubic-bezier(.32,.72,0,1)}
.pills>a .pill-go{width:11px;height:11px;opacity:.5;transition:translate .35s cubic-bezier(.32,.72,0,1),opacity .25s}
.pills>a:hover{background:var(--orange);border-color:var(--orange);color:#060606}
.pills>a:hover .pill-go{opacity:1;translate:2px -2px}
.pills>a:active{scale:.96}
:root[data-theme=light] .pills>a{border-color:#19303c}
:root[data-theme=light] .pills>a:hover{border-color:var(--orange);color:#fff}
@media(prefers-reduced-motion:reduce){.project-card>.frame-label,.pills>a,.pills>a .pill-go{transition:none}}
.frame-instant .project-card,.frame-instant .project-card>.frame-label{transition:none!important}

/* Process cards: the step arrow stays put on hover so it never covers the step label. */
.process-steps article:hover .step-icon{transform:none}

/* FAQ accordion: finish.js animates the answer, so the CSS entrance is turned off and the closing state reacts immediately. */
.js-ready .faq-item .faq-answer{animation:none;overflow:hidden}
.faq-item.is-closing .faq-toggle::after{opacity:1;transform:translate(-50%,-50%)}
.faq-item.is-closing .faq-number{color:var(--blue)}
.faq-item.is-closing .faq-toggle::before{background:var(--orange)}

/* Services: heading scrolls like every other section; only the cards pin and pan. Larger sheets, no drop shadow. */
.services-story{margin:clamp(90px,9vw,130px) 0 0}
.services-heading.section-heading{display:block;text-align:center;width:auto;margin:0 auto clamp(40px,5vw,72px);padding:0 24px}
.services-heading.section-heading h2{font:800 clamp(34px,4.7vw,64px)/1.05 var(--display);letter-spacing:-.02em;margin:0}
.services-pin{padding:0}
.services-story.is-horizontal .services-pin{height:calc(100dvh - 38px);justify-content:center;padding:0}
.services-viewport{padding:30px 0 22px}
.service-panel{padding:0 max(24px,calc((100vw - 1200px)/2))}
.service-sheet{padding:clamp(26px,3vw,46px) clamp(24px,3.4vw,52px);border-radius:24px;box-shadow:none}
.service-main{grid-template-columns:1fr 1.15fr;gap:clamp(28px,4.5vw,72px)}
.service-tile{width:52px;height:52px;border-radius:14px;margin-bottom:20px}
.service-intro h3{font-size:clamp(30px,3.4vw,48px);margin:14px 0 18px}
.service-intro p{font-size:16px;line-height:1.65;max-width:38ch}
.service-preview{border-radius:14px;box-shadow:none}
.service-preview>img{height:clamp(240px,26vw,400px)}
.is-horizontal .service-preview>img{height:clamp(200px,calc(100dvh - 545px),430px)}
.service-details{margin-top:clamp(18px,2.4vw,30px);padding-top:clamp(14px,1.8vw,22px)}
.service-body{gap:clamp(24px,4vw,56px);padding-top:clamp(12px,1.6vw,20px)}
.service-body p{font-size:14px;max-width:62ch}
.service-body li{font-size:12px;padding:7px 12px}
.services-navigation{max-width:1200px;padding:0 0 4px}
.services-navigation .services-hint{display:flex;font-size:9px}
.services-navigation .services-hint .ui-icon{width:22px;height:22px}
@media(max-width:1260px){.services-navigation{margin-inline:24px}}
@media(max-width:900px){.services-story{margin-top:80px}.service-main{grid-template-columns:1fr}.service-preview>img{height:clamp(220px,44vw,340px)}}
@media(max-width:760px){.services-heading.section-heading h2{font-size:34px}}
@media(max-width:600px){.service-sheet{border-radius:18px}.service-intro p{font-size:14px}.service-preview>img{height:auto}}
@media(max-width:380px){.services-heading.section-heading h2{font-size:29px}}
@media(min-width:901px) and (max-height:820px){
 .is-horizontal .services-viewport{padding:26px 0 12px}
 .is-horizontal .service-sheet{padding:22px 36px}
 .is-horizontal .service-tile{width:38px;height:38px;font-size:17px;border-radius:11px;margin-bottom:12px}
 .is-horizontal .service-intro h3{font-size:clamp(30px,2.6vw,36px);margin:10px 0 12px}
 .is-horizontal .service-intro p{font-size:14px}
 .is-horizontal .service-preview>img{height:clamp(180px,calc(100dvh - 430px),320px)}
 .is-horizontal .service-details{margin-top:14px;padding-top:12px}
 .is-horizontal .service-body{padding-top:10px}
 .is-horizontal .service-body p{font-size:13px;line-height:1.55}
 .is-horizontal .service-process{display:none}
}
/* Title stays at two lines max; nav centres between the fixed music dock and theme switch. */
.service-main{grid-template-columns:1.05fr 1fr}
.service-intro h3{font-size:clamp(30px,2.75vw,40px)}
.service-process{text-wrap:balance}
.services-navigation{justify-content:center;gap:clamp(32px,5vw,72px)}
@media(max-width:900px){.service-main{grid-template-columns:1fr}.service-intro h3{font-size:clamp(28px,6.5vw,36px)}}

/* Footer curtain (finish.js sets --footer-h / --contact-top / --cover). a spacer after main's content reserves the footer's height (sticky ignores padding) so the
   pinned contact section has room to stay put; the footer pulls up by the same amount and slides over it. */
.footer-curtain main::after{content:"";display:block;height:var(--footer-h,0px)}
.footer-curtain .contact{position:sticky;top:var(--contact-top,38px);z-index:0;transform-origin:50% 0;scale:calc(1 - var(--cover,0) * .06);opacity:calc(1 - var(--cover,0) * .6);will-change:scale,opacity}
.footer-curtain .studio-footer{margin-top:calc(-1 * var(--footer-h,0px));z-index:2;box-shadow:0 -24px 60px -30px #00000059}
:root[data-theme=light].footer-curtain .studio-footer{box-shadow:0 -24px 60px -30px #183a5873}
@media(prefers-reduced-motion:reduce){.footer-curtain .contact{scale:none;opacity:1;will-change:auto}}
