/* A full-screen 3D workshop with a reversible scroll-driven camera path. */
:root{--scene-strength:1;--muted:#a5b1bd;--orange:#ff8549}
body{position:relative;isolation:isolate}
main,.footer{position:relative;z-index:2}
.scene-background{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#080c13;contain:layout paint}
.scene-background .scene-canvas-wrap{inset:0;mask-image:none;opacity:var(--scene-strength);transition:opacity .6s linear}
.scene-background canvas{width:100%;height:100%;cursor:default;pointer-events:none;touch-action:pan-y}
.scene-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 66% 40%,#27394a 0%,#14202e 34%,transparent 70%),radial-gradient(ellipse at 90% 4%,#492916 0%,transparent 43%),#070b12}
.scene-wordmark{position:absolute;top:12vh;left:3.7%;right:3.7%;z-index:1;color:transparent;-webkit-text-stroke:1px rgba(169,194,215,.16);font:500 clamp(6rem,19vw,22rem)/1 var(--display);letter-spacing:-.06em;text-align:center;white-space:nowrap;transition:opacity .7s;opacity:.65;pointer-events:none}
html[data-story-complete] .scene-wordmark{opacity:0}
.scene-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(6,10,17,.91),rgba(6,10,17,.15) 48%,transparent 70%),linear-gradient(0deg,rgba(6,10,17,.8),transparent 42%);opacity:.85}
html[data-scene-chapter="3"] .scene-shade{background:linear-gradient(270deg,rgba(6,10,17,.7),transparent 65%),linear-gradient(0deg,rgba(6,10,17,.7),transparent 35%)}
.scene-grain{position:absolute;inset:0;z-index:3;opacity:.07;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.055) 3px,transparent 4px)}
.scene-background .scene-fallback{inset:0;opacity:.45}
.scene-background .scene-fallback img{width:100%;height:100%;max-height:none;object-fit:cover;border:0;border-radius:0}
.header{top:18px;left:24px;right:24px;background:rgba(9,15,23,.68);border:1px solid rgba(137,164,191,.2);border-radius:16px;backdrop-filter:blur(22px)}
.header.scrolled{background:rgba(9,15,23,.93);border-color:rgba(137,164,191,.25)}
.header-inner{width:calc(100% - 48px);height:76px}
.header .button-small{border-radius:50px;min-height:43px}
.hero{min-height:max(870px,100svh);isolation:auto;overflow:visible;border:0;background:transparent;display:flex;flex-direction:column;padding-top:125px}
.hero-grid,.hero-glow{display:none}
.hero-layout{display:flex;align-items:flex-end;min-height:570px;width:min(calc(100% - 112px),var(--wrap));padding:0 0 40px;flex:1}
.hero-copy{max-width:455px;position:relative}
.hero-copy>.eyebrow{font-size:.75rem;color:#b2c3d4;margin-bottom:22px;letter-spacing:.14em}
.hero h1{font-size:clamp(2.8rem,4.1vw,4.2rem);font-weight:500;line-height:1.06;letter-spacing:-.05em}
.hero h1 .orange-word{color:#ff9b67}
.hero-copy>p{color:#b9c8d6;font-size:1rem;line-height:1.75;margin-top:22px;max-width:395px;text-shadow:0 2px 18px #080d14}
.hero-actions{margin-top:25px;gap:21px}
.hero-actions .button{border-radius:50px;min-height:52px;padding-inline:24px;background:linear-gradient(135deg,#ffad72,#ff793f);border-color:#ff945c;box-shadow:0 6px 35px rgba(225,91,36,.1)}
.hero-actions .text-link{color:#d4dfe8;font-size:.875rem}
.hero-location{color:#899eb2;margin-top:27px;font-size:.75rem}
.hero-foot{min-height:80px;border-top:1px solid rgba(160,185,207,.2);width:min(calc(100% - 112px),var(--wrap));padding-block:15px;margin-bottom:90px;align-items:center;color:#b7c7d6}
.hero-view-controls{display:flex;gap:20px;align-items:center}
.hero-foot .scene-index{font-size:.75rem;letter-spacing:.1em;color:var(--orange);padding:0}
.hero-foot .model-switch{background:rgba(11,19,29,.55);border:1px solid rgba(150,175,200,.2);border-radius:50px;gap:4px;padding:4px;backdrop-filter:blur(12px);flex:0}
.hero-foot .model-switch>button{font-size:.875rem;padding:8px 18px;flex:0;border-radius:50px;color:#91a4b7;letter-spacing:0}
.hero-foot .model-switch>button.selected{color:#ffb489;background:#35302d}
.hero-foot .reset-view{font-size:.75rem;color:#98acbd;letter-spacing:0;padding:0;margin:0}
.hero-foot .scene-hint{padding:0;gap:20px;font-size:.75rem;letter-spacing:.12em;color:#a9bccd}
.scroll-story{position:relative}
.story-chapter{min-height:115svh;position:relative;display:flex;align-items:center;padding:135px 0 160px}
.chapter-layout{display:flex;justify-content:flex-start}
.chapter-copy{max-width:480px;text-shadow:0 3px 25px #070c13}
.chapter-copy .section-label{font-size:.75rem;letter-spacing:.12em;margin-bottom:25px}
.chapter-copy h2{font-size:clamp(2.7rem,4.5vw,5rem);line-height:1.08;letter-spacing:-.055em}
.chapter-copy>p{margin-top:28px;font-size:1rem;line-height:1.85;color:#b4c5d5;max-width:380px}
.chapter-copy>.button{margin-top:30px;border-radius:50px;backdrop-filter:blur(12px);background:rgba(10,18,27,.5);border-color:#677c8e}
.chapter-rule{display:flex;align-items:center;gap:16px;color:#8fa5b8;font-size:.75rem;letter-spacing:.1em;margin-top:40px}
.chapter-rule span:first-child{color:var(--orange);white-space:nowrap}
.chapter-rule i{height:1px;width:75px;background:#4a6376}
.chapter-finished .chapter-layout{justify-content:flex-end}
.chapter-finished .chapter-copy{max-width:500px}
.chapter-finished .outline-word{-webkit-text-stroke:1px #c5d4df}
.scene-hud{position:fixed;z-index:15;bottom:26px;left:56px;right:84px;display:flex;align-items:center;gap:28px;pointer-events:none;transition:opacity .3s}
.scene-hud .scene-annotation{margin:0;padding:0;gap:14px;flex:1}
.scene-hud .annotation-line{width:35px}
.scene-hud #scene-caption{font-size:.75rem;letter-spacing:.1em;color:#bacbda}
.scene-hud #scene-detail{font-size:.75rem;color:#819aaf;letter-spacing:.02em;margin-top:4px}
.scene-cycle{width:140px;height:2px;background:rgba(165,190,215,.2);overflow:hidden}
.scene-cycle i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#b8dcff,#ff9157);transform:scaleX(0);transform-origin:left}
html[data-story-complete] .scene-hud{display:none}
body.menu-open .scene-hud,body.dialog-open .scene-hud{opacity:0;visibility:hidden}
.discipline-strip{background:rgba(11,19,28,.82);color:#a6bdce;border-block:1px solid #2b4253;padding-block:25px}
.discipline-strip i{color:var(--orange)}
.services,.process-section,.quote-section{background:linear-gradient(90deg,rgba(8,15,24,.93),rgba(8,15,24,.66));border-bottom:1px solid #22394b}
.work-section{background:rgba(10,19,28,.83);border-bottom:1px solid #263c4e}
.workshop-section{background:rgba(9,17,26,.9)}
.workshop-copy>p{font-size:1rem}
.area-band{background:rgba(12,24,34,.93)}
.contact-section{background:rgba(11,21,31,.86)}
.footer{background:rgba(7,13,21,.92)}
.service-list{background:rgba(8,15,24,.3)}
.service summary{transition:background .3s}
.service summary:hover{background:rgba(44,67,88,.2)}
.service-content>p,.service-bottom p,.process-card>p{font-size:1rem}
.quote-form{background:rgba(17,29,40,.86);backdrop-filter:blur(15px);border-radius:16px;border-color:#354b5e;border-top-color:var(--orange)}
.quote-form input:not([type=checkbox]),.quote-form select,.quote-form textarea{background:rgba(8,16,25,.85);border-radius:6px;border-color:#2c4357}
.contact-card{background:rgba(22,37,50,.65);border-radius:12px;border-color:#304c61}
.section-heading h2{font-size:clamp(2.5rem,4.3vw,4.6rem)}
.gallery-item{border-radius:10px;border-color:#32495c}
.gallery-filters>button{border-radius:50px;font-size:.875rem}
.button-outline{border-radius:50px}
.back-top{z-index:18}
@media(min-width:1700px){.hero-layout,.hero-foot{width:min(calc(100% - 160px),1540px)}.scene-hud{left:max(80px,calc((100% - 1540px)/2))}}
@media(max-width:1250px){.hero-layout,.hero-foot{width:calc(100% - 72px)}.scene-hud{left:36px}.hero h1{font-size:4.4vw}.hero-copy{max-width:420px}.hero-foot .model-switch>button{padding-inline:14px}.chapter-copy{max-width:420px}.header-inner{gap:20px}}
@media(max-width:1000px) and (min-width:761px){.hero-layout,.hero-foot{width:calc(100% - 56px)}.hero h1{font-size:5vw}.hero-copy{max-width:360px}.hero-foot .scene-hint{font-size:.75rem;letter-spacing:.03em}.hero-view-controls{gap:13px}.hero-foot .model-switch>button{padding-inline:12px}.scene-hud{left:28px}.chapter-copy{max-width:380px}.chapter-copy h2{font-size:3.3rem}.header-inner{width:calc(100% - 32px);gap:15px}.nav{gap:14px}}
@media(max-width:760px){
 .header{top:12px;left:12px;right:12px;border-radius:13px;background:rgba(8,17,28,.8)}
 .header-inner{width:calc(100% - 28px);height:64px;gap:8px}
 .header-actions{gap:4px}
 .header .button-small{min-height:39px;font-size:.8125rem;padding-inline:13px}
 .header .menu-toggle{width:38px;padding-inline:7px}
 .nav{position:absolute;inset:75px 0 auto;border:1px solid #2b4053;border-radius:12px;max-height:calc(100svh - 110px);padding:15px 22px 23px;background:rgba(8,18,30,.98)}
 .scene-background .scene-canvas-wrap{inset:0;mask-image:none}
 .scene-atmosphere{background:radial-gradient(ellipse at 50% 42%,#263d51 0%,#122437 35%,transparent 74%),#070d16}
 .scene-wordmark{top:15vh;left:3%;right:3%;font-size:24vw;-webkit-text-stroke:1px rgba(169,194,215,.20)}
 .scene-shade,html[data-scene-chapter="3"] .scene-shade{background:linear-gradient(180deg,rgba(5,11,19,.15),transparent 27%,rgba(5,11,19,.65) 56%,rgba(5,11,19,.95) 78%);opacity:.9}
 html[data-scene-chapter="2"] .scene-shade,html[data-scene-chapter="3"] .scene-shade{background:linear-gradient(180deg,rgba(5,11,19,.84),rgba(5,11,19,.65) 43%,rgba(5,11,19,.06) 65%,rgba(5,11,19,.18));opacity:.8}
 .hero{min-height:100svh;padding-top:0}
 .hero-layout{width:calc(100% - 40px);display:block;padding:440px 0 28px;min-height:0;flex:1}
 .hero-copy{max-width:100%}
 .hero-copy>.eyebrow{font-size:.75rem;line-height:1.6;letter-spacing:.1em;margin-bottom:18px}
 .hero h1{font-size:clamp(2.45rem,10.7vw,4.2rem);line-height:1.05;letter-spacing:-.05em}
 .hero-copy>p{font-size:1rem;line-height:1.7;margin-top:18px;max-width:340px}
 .hero-actions{margin-top:23px;gap:15px;align-items:flex-start;flex-direction:column}
 .hero-actions>.button{font-size:.875rem;min-height:49px;padding:14px 20px}
 .hero-actions>.text-link{font-size:.875rem}
 .hero-location{margin-top:23px;font-size:.75rem;flex-wrap:wrap}
 .hero-foot{width:calc(100% - 40px);min-height:112px;margin-bottom:96px;padding:16px 0;gap:16px;flex-wrap:wrap;align-content:flex-start}
 .hero-view-controls{gap:14px;flex-wrap:wrap;width:100%}
 .hero-foot .model-switch{gap:2px;padding:3px}
 .hero-foot .model-switch>button{font-size:.875rem;min-height:40px;padding:8px 13px}
 .hero-foot .reset-view{font-size:.75rem;min-height:40px}
 .hero-foot .scene-index{display:none}
 .hero-foot .scene-hint{font-size:.75rem;letter-spacing:.05em;gap:12px;line-height:1.5}
 .hero-foot .scroll-track{width:15px;height:25px;flex-shrink:0}
 .hero-foot .scroll-track i{left:6px}
 .story-chapter{min-height:115svh;align-items:flex-start;padding:120px 0 130px}
 .chapter-layout,.chapter-finished .chapter-layout{justify-content:flex-start}
 .chapter-copy,.chapter-finished .chapter-copy{max-width:100%}
 .chapter-copy .section-label{font-size:.75rem;margin-bottom:24px}
 .chapter-copy h2{font-size:clamp(2.4rem,10.1vw,4.5rem);line-height:1.06;letter-spacing:-.055em}
 .chapter-copy>p{font-size:1rem;line-height:1.8;margin-top:25px;max-width:340px;text-shadow:0 2px 8px #05080b,0 0 25px #05080b}
 .chapter-copy>.button{margin-top:230px;font-size:.875rem;min-height:48px}
 .chapter-rule{margin-top:270px;gap:12px;font-size:.75rem;letter-spacing:.025em}
 .chapter-rule i{width:38px}
 .chapter-finished .chapter-rule{margin-top:30px}
 .scene-hud{display:none}
 .section-heading h2{font-size:clamp(2rem,8vw,3rem)}
 .service-content>p,.service-bottom p,.process-card>p{font-size:1rem}
 .services,.process-section,.quote-section{background:rgba(8,15,25,.86)}
 .gallery-filters{margin-right:0}
}
@media(max-width:350px){.header-inner{width:calc(100% - 22px)}.header .button-small{font-size:.75rem;padding-inline:10px}.hero-layout,.hero-foot{width:calc(100% - 32px)}.hero h1{font-size:10.6vw}.hero-copy>.eyebrow{max-width:275px}.hero-layout{padding-top:420px}.hero-view-controls{gap:10px}.hero-foot .model-switch>button{padding-inline:10px}.chapter-copy h2{font-size:9.9vw}.scene-hud{right:16px}.chapter-rule{gap:9px}.chapter-rule i{width:25px}}
@media(prefers-reduced-motion:reduce){.scene-background .scene-canvas-wrap,.scene-hud,.scene-wordmark{transition:none}}
