/* STUBAU spatial studies. The existing brand, navigation and page rhythm remain the frame. */
.p-site .s42-story{--s42-progress:0;--s42-paper:#f5f3ef;--s42-ink:#191f22;position:relative;isolation:isolate;background:var(--s42-paper);color:var(--s42-ink);scroll-margin-top:76px}
.p-site .s42-sticky{position:relative;display:grid;grid-template-rows:auto 1fr auto;min-height:760px;max-width:1920px;margin-inline:auto;padding:44px clamp(24px,5.3vw,112px) 32px;overflow:clip}
.p-site .s42-story.is-ready{height:220svh}
.p-site .s42-story.is-ready .s42-sticky{position:sticky;top:0;height:100svh;min-height:640px;box-sizing:border-box}
.p-site .s42-topline{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid #061b391b;font-size:11px;line-height:1.5;letter-spacing:.12em}
.p-site .s42-topline>span{text-transform:uppercase;color:#626669}
.p-site .s42-topline>a{display:inline-flex;align-items:center;gap:14px;min-height:36px;color:#061b39;letter-spacing:0;text-decoration:none;white-space:nowrap;font-size:13px}
.p-site .s42-topline>a:hover{text-decoration:underline;text-underline-offset:5px}
.p-site .s42-layout{position:relative;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.32fr);align-items:center;gap:clamp(24px,3vw,64px);min-height:0;padding-block:20px}
.p-site .s42-copy{position:relative;z-index:3;padding-block:30px;align-self:center}
.p-site .s42-kicker{font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:#626669;margin:0 0 24px}
.p-site .s42-copy h2{font-family:'STUBAU Sans','Arial Narrow',Arial,sans-serif;font-size:clamp(40px,4.35vw,78px);font-weight:400;line-height:1.06;letter-spacing:-.045em;margin:0;max-width:600px;color:#191f22}
.p-site .s42-copy h2 em{font-family:'STUBAU Italic',Arial,sans-serif;font-weight:400;font-style:italic;letter-spacing:-.04em}
.p-site .s42-panels{min-height:172px;max-width:330px;margin-top:clamp(28px,4.4vh,52px)}
.p-site .s42-panels [data-s42-panel]{animation:s42-panel-in 460ms both}
.p-site .s42-panels h3{font-family:inherit;font-size:17px;font-weight:500;line-height:1.4;letter-spacing:-.015em;margin:0 0 10px;color:#191f22}
.p-site .s42-panels p{font-size:15px;line-height:1.7;color:#626669;margin:0 0 22px}
.p-site .s42-link{display:inline-flex;align-items:center;gap:16px;min-height:36px;color:#061b39;text-decoration:none;font-size:13px;line-height:1.5;border-bottom:1px solid #061b3970}
.p-site .s42-link:hover{border-color:#061b39}
.p-site .s42-link svg{width:18px;height:18px}
.p-site .s42-visual{position:relative;align-self:stretch;min-width:0;min-height:480px;perspective:1200px;isolation:isolate}
.p-site .s42-watermark{position:absolute;top:7%;left:0;right:-3%;font-family:'STUBAU Italic',Arial,sans-serif;font-style:italic;font-size:clamp(52px,8vw,150px);font-weight:400;line-height:1.1;letter-spacing:-.06em;white-space:nowrap;text-align:center;color:#e5e1d9;pointer-events:none;user-select:none;z-index:-1;transition:opacity 750ms}
.p-site .s42-plan-scene{position:absolute;inset:4% 0 5%;perspective:1100px;pointer-events:none;transition:opacity 600ms cubic-bezier(.2,.7,.2,1),transform 850ms cubic-bezier(.2,.7,.2,1)}
.p-site .s42-plan-stack{position:absolute;top:50%;left:50%;width:100%;max-width:750px;aspect-ratio:7/5;transform:translate3d(-50%,-44%,0) rotateX(0deg) rotateZ(0deg) scale(.96);transform-style:preserve-3d;transition:transform 1200ms cubic-bezier(.2,.7,.2,1)}
.p-site .s42-plan{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible;color:#061b39;fill:none;stroke:#061b39;stroke-width:1.25;stroke-linejoin:round;stroke-linecap:round;backface-visibility:visible}
.p-site .s42-plan text{stroke:none;fill:#626669;font-family:'STUBAU Sans',Arial,sans-serif;font-size:11px;font-weight:400;letter-spacing:1.1px;text-anchor:middle}
.p-site .s42-plan .s42-plan-walls{stroke:#061b39;stroke-width:3.5;fill:none}
.p-site .s42-plan .s42-room-fill{fill:#eae6dd;stroke:none}
.p-site .s42-plan .s42-room-fill:nth-child(2n){fill:#efede7}
.p-site .s42-plan .s42-plan-grid{stroke:#061b390b;stroke-width:.6}
.p-site .s42-plan .s42-dimension{stroke:#061b3940;stroke-width:.8}
.p-site .s42-plan .s42-furniture{stroke:#061b3966;stroke-width:1;fill:none}
.p-site .s42-plan .s42-window{stroke:#f5f3ef;stroke-width:5}
.p-site .s42-plan .s42-plan-draw{stroke-dasharray:2400;stroke-dashoffset:0}
.p-site .s42-story.is-ready.is-in-view[data-step="0"] .s42-plan .s42-plan-draw{animation:s42-draw 1700ms cubic-bezier(.25,.1,.25,1) both}
.p-site .s42-floor{filter:drop-shadow(0 18px 20px #061b3908);transition:filter 900ms}
.p-site .s42-raised{opacity:0;stroke:#536073;stroke-width:3.5;transform:translateZ(0);transition:opacity 600ms,transform 1000ms cubic-bezier(.2,.7,.2,1)}
.p-site .s42-raised text{display:none}
.p-site .s42-layer-1{stroke:#c9c5bc;color:#c9c5bc}
.p-site .s42-layer-2{stroke:#b7b4ac;color:#b7b4ac}
.p-site .s42-layer-3{stroke:#969b9b;color:#969b9b}
.p-site .s42-layer-4{stroke:#061b39;color:#061b39}
.p-site .s42-story[data-step="1"] .s42-plan-stack{transform:translate3d(-50%,-42%,0) rotateX(48deg) rotateZ(-27deg) scale(.98)}
.p-site .s42-story[data-step="1"] .s42-floor{filter:drop-shadow(20px 35px 22px #061b3924)}
.p-site .s42-story[data-step="1"] .s42-raised{opacity:1}
.p-site .s42-story[data-step="1"] .s42-layer-1{transform:translateZ(9px)}
.p-site .s42-story[data-step="1"] .s42-layer-2{transform:translateZ(18px)}
.p-site .s42-story[data-step="1"] .s42-layer-3{transform:translateZ(27px)}
.p-site .s42-story[data-step="1"] .s42-layer-4{transform:translateZ(36px)}
.p-site .s42-house{position:absolute;top:50%;left:50%;width:116%;max-width:none;height:auto;max-height:100%;object-fit:contain;opacity:0;transform:translate(-50%,-43%) scale(.92);transition:opacity 700ms cubic-bezier(.2,.7,.2,1),transform 1100ms cubic-bezier(.2,.7,.2,1);pointer-events:none;z-index:1}
.p-site .s42-story[data-step="2"] .s42-plan-scene{opacity:0;transform:translateY(22px) scale(.92)}
.p-site .s42-story[data-step="2"] .s42-house{opacity:1;transform:translate(-50%,-47%) scale(1)}
.p-site .s42-story[data-step="2"] .s42-watermark{opacity:.6}
.p-site .s42-orbit{position:absolute;left:7%;right:7%;bottom:17%;height:24%;border:1px solid #061b3914;border-radius:50%;transform:rotate(-7deg);z-index:-1;pointer-events:none;opacity:0;transition:opacity 700ms}
.p-site .s42-story[data-step="2"] .s42-orbit{opacity:1}
.p-site .s42-visual-caption{position:absolute;bottom:1%;left:0;right:0;font-size:10px;color:#757875;line-height:1.6;text-align:center;letter-spacing:.025em;z-index:3}
.p-site .s42-story-footer{position:relative;z-index:4;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:32px;padding-top:20px;border-top:1px solid #061b391b}
.p-site .s42-steps{display:flex;align-items:center;gap:clamp(12px,2.6vw,48px)}
.p-site .s42-steps button{display:inline-flex;align-items:center;gap:12px;position:relative;min-height:48px;padding:8px 0;border:0;background:none;color:#777a7b;font:400 14px/1.4 'STUBAU Sans',Arial,sans-serif;white-space:nowrap;transition:color 200ms}
.p-site .s42-steps button>span{font-size:10px;letter-spacing:.05em;color:inherit;opacity:.7}
.p-site .s42-steps button[aria-pressed="true"]{color:#061b39}
.p-site .s42-steps button[aria-pressed="true"]:after{content:'';position:absolute;left:0;right:0;bottom:1px;height:1px;background:#061b39}
.p-site .s42-steps button:hover{color:#061b39}
.p-site .s42-progress{height:1px;background:#061b391a;max-width:360px;margin-left:auto;width:100%;overflow:hidden}
.p-site .s42-progress>i{display:block;height:100%;background:#061b39;transform-origin:left;transform:scaleX(var(--s42-progress));transition:transform 140ms linear}
.p-site .s42-phase-index{font-variant-numeric:tabular-nums;font-size:11px;letter-spacing:.08em;color:#777a7b;white-space:nowrap}
.p-site .s42-live{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* A native, swipeable gallery. Each view remains a normal link and image. */
.p-site .s42-gallery{padding-block:clamp(72px,9vw,152px) clamp(40px,5vw,88px);background:white;color:#191f22;overflow:hidden}
.p-site .s42-gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:48px;padding-inline:clamp(24px,7vw,140px);margin-bottom:44px}
.p-site .s42-gallery-heading .s42-kicker{margin-bottom:18px}
.p-site .s42-gallery-heading h2{font-family:'STUBAU Sans',Arial,sans-serif;font-size:clamp(36px,4.2vw,72px);font-weight:400;line-height:1.12;letter-spacing:-.04em;margin:0;color:#191f22;max-width:700px}
.p-site .s42-gallery-heading>p{font-size:15px;line-height:1.7;margin:0;max-width:280px;color:#626669}
.p-site .s42-gallery-track{display:flex;align-items:stretch;gap:20px;padding-inline:clamp(24px,7vw,140px);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:clamp(24px,7vw,140px);scrollbar-width:none;position:relative;-webkit-overflow-scrolling:touch}
.p-site .s42-gallery-track::-webkit-scrollbar{display:none}
.p-site .s42-room{position:relative;flex:0 0 85%;min-width:0;height:clamp(460px,52vw,760px);max-height:86svh;overflow:hidden;scroll-snap-align:start;border-radius:4px;background:#302f2b;color:white;isolation:isolate}
.p-site .s42-room>img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;transition:transform 1300ms cubic-bezier(.2,.7,.2,1)}
.p-site .s42-room-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0000 32%,#11171419 50%,#111714b3 100%);pointer-events:none}
.p-site .s42-room-copy{position:absolute;left:clamp(24px,4.5vw,80px);right:clamp(24px,4.5vw,80px);bottom:clamp(30px,4.5vw,72px);z-index:2}
.p-site .s42-room-copy>span{font-size:11px;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:#ffffffe0;display:block;margin-bottom:20px}
.p-site .s42-room-copy h3{font-family:'STUBAU Sans',Arial,sans-serif;font-weight:400;font-size:clamp(32px,3.9vw,66px);line-height:1.1;letter-spacing:-.04em;margin:0 0 14px;color:white;max-width:760px}
.p-site .s42-room-copy p{font-size:15px;line-height:1.7;max-width:440px;color:#ffffffe6;margin:0 0 22px}
.p-site .s42-room-copy>a{display:inline-flex;align-items:center;gap:18px;min-height:44px;font-size:13px;line-height:1.5;text-decoration:none;border-bottom:1px solid #ffffff8a;color:white}
.p-site .s42-room-copy>a:hover{border-color:white}
.p-site .s42-room-copy svg{width:18px;height:18px}
.p-site .s42-gallery-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding-inline:clamp(24px,7vw,140px);margin-top:24px}
.p-site .s42-gallery-footer>p{font-size:11px;line-height:1.6;margin:0;color:#757875}
.p-site .s42-gallery-controls{display:flex;align-items:center;justify-content:center;gap:22px}
.p-site .s42-gallery-controls button{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9dadd;border-radius:50%;font-size:21px;line-height:1;background:white;color:#191f22;transition:background 200ms,border-color 200ms}
.p-site .s42-gallery-controls button:not(:disabled):hover{background:#f5f3ef;border-color:#7d8288}
.p-site .s42-gallery-controls button:disabled{opacity:.3;cursor:default}
.p-site [data-s42-gallery-status]{font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.08em;color:#626669;min-width:46px;text-align:center}
.p-site .s42-gallery-dots{display:flex;justify-content:end;align-items:center;gap:4px}
.p-site .s42-gallery-dots button{position:relative;width:28px;height:44px;background:none;border:0;padding:0}
.p-site .s42-gallery-dots button:after{content:'';position:absolute;left:5px;right:5px;top:21px;height:2px;background:#d6d8da;transition:background 250ms}
.p-site .s42-gallery-dots button[aria-current="true"]:after{background:#061b39}
.p-site [data-s42-tilt]{transform:perspective(1000px) rotateX(0deg) rotateY(0deg);transition:transform 600ms cubic-bezier(.2,.7,.2,1)}
@media(hover:hover) and (pointer:fine){.p-site [data-s42-tilt].s42-tilting{transform:perspective(1000px) rotateX(var(--s42-rx,0deg)) rotateY(var(--s42-ry,0deg));transition:transform 160ms ease-out;will-change:transform}.p-site .s42-room:hover>img{transform:scale(1.025)}}
@keyframes s42-panel-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes s42-draw{from{stroke-dashoffset:2400}to{stroke-dashoffset:0}}

/* The room gallery leads to the existing App story through its own campaign motif. */
.p-site .s42-app-bridge{position:relative;background:#fff;color:#191f22;min-height:540px;height:min(54vw,760px);overflow:hidden}
.p-site .s42-app-bridge>img{position:absolute;top:0;right:0;left:auto;width:62%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.p-site .s42-app-bridge .p-experience-shade{display:none}
.p-site .s42-app-bridge .p-experience-copy{left:7vw;right:55%;bottom:auto;top:50%;transform:translateY(-50%);color:#191f22}
.p-site .s42-app-bridge .p-experience-copy h2{color:#191f22;font-size:clamp(36px,4vw,68px)}
.p-site .s42-app-bridge .p-experience-copy p{color:#626669}
.p-site .s42-app-bridge .p-button.outline{color:#061b39;border-color:#061b39;background:transparent}
.p-site .s42-app-bridge .p-button.outline:hover{background:#061b3908}

@media(min-width:760px) and (max-height:690px){
 .p-site .s42-story.is-ready{height:auto}
 .p-site .s42-story.is-ready .s42-sticky{position:relative;height:auto;min-height:700px}
}
@media(min-width:760px) and (max-width:1050px){
 .p-site .s42-sticky{padding-inline:36px}
 .p-site .s42-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:10px}
 .p-site .s42-copy h2{font-size:clamp(40px,5vw,56px)}
 .p-site .s42-visual{min-height:440px}
 .p-site .s42-house{width:124%}
 .p-site .s42-topline{padding-bottom:16px}
 .p-site .s42-steps{gap:24px}
 .p-site .s42-story-footer{gap:20px}
}
@media(max-width:759px){
 .p-site .s42-app-bridge{height:720px;min-height:0}
 .p-site .s42-app-bridge>img{top:auto;bottom:0;left:0;right:0;width:100%;height:420px}
 .p-site .s42-app-bridge .p-experience-copy{left:24px;right:24px;top:50px;bottom:auto;transform:none}
 .p-site .s42-app-bridge .p-experience-copy h2{font-size:36px;max-width:430px}
 .p-site .s42-story,.p-site .s42-story.is-ready{height:auto;scroll-margin-top:68px}
 .p-site .s42-sticky,.p-site .s42-story.is-ready .s42-sticky{position:relative;top:auto;height:auto;min-height:0;display:block;padding:30px 24px 24px;overflow:clip}
 .p-site .s42-topline{gap:16px;padding-bottom:16px;font-size:9px;letter-spacing:.1em}
 .p-site .s42-topline>a{font-size:11px;gap:8px;min-height:36px}
 .p-site .s42-layout{grid-template-columns:1fr;gap:0;padding-top:8px;padding-bottom:12px}
 .p-site .s42-copy{padding-top:34px;padding-bottom:0}
 .p-site .s42-kicker{font-size:10px;margin-bottom:20px}
 .p-site .s42-copy h2{font-size:clamp(38px,9.7vw,58px);line-height:1.08;max-width:520px;letter-spacing:-.04em}
 .p-site .s42-panels{margin-top:24px;min-height:158px;max-width:380px}
 .p-site .s42-panels h3{font-size:16px;margin-bottom:8px}
 .p-site .s42-panels p{font-size:14px;line-height:1.65;margin-bottom:14px}
 .p-site .s42-link{font-size:12px;min-height:36px}
 .p-site .s42-visual{height:330px;min-height:0;margin-top:0}
 .p-site .s42-watermark{top:3%;font-size:clamp(56px,15vw,104px);right:0;letter-spacing:-.06em}
 .p-site .s42-plan-scene{inset:1% -6% 6%}
 .p-site .s42-plan-stack{width:98%;transform:translate3d(-50%,-45%,0) scale(.98)}
 .p-site .s42-story[data-step="1"] .s42-plan-stack{transform:translate3d(-50%,-44%,0) rotateX(48deg) rotateZ(-24deg) scale(.94)}
 .p-site .s42-house{width:116%;max-height:95%;transform:translate(-50%,-40%) scale(.94)}
 .p-site .s42-story[data-step="2"] .s42-house{transform:translate(-50%,-44%) scale(1)}
 .p-site .s42-orbit{bottom:17%;left:0;right:0}
 .p-site .s42-visual-caption{bottom:0;font-size:9px}
 .p-site .s42-story-footer{display:grid;grid-template-columns:1fr auto;gap:12px;padding-top:14px}
 .p-site .s42-steps{gap:clamp(12px,5vw,30px);justify-content:start}
 .p-site .s42-steps button{gap:6px;font-size:12px;min-height:48px}
 .p-site .s42-steps button>span{font-size:9px}
 .p-site .s42-progress{display:none}
 .p-site .s42-phase-index{font-size:9px;letter-spacing:.02em}
 .p-site .s42-gallery{padding-block:68px 36px}
 .p-site .s42-gallery-heading{display:block;padding-inline:24px;margin-bottom:28px}
 .p-site .s42-gallery-heading .s42-kicker{margin-bottom:16px}
 .p-site .s42-gallery-heading h2{font-size:clamp(34px,9vw,52px);line-height:1.14;max-width:520px}
 .p-site .s42-gallery-heading>p{font-size:14px;line-height:1.7;margin-top:18px;max-width:360px}
 .p-site .s42-gallery-track{gap:12px;padding-inline:24px;scroll-padding-inline:24px}
 .p-site .s42-room{flex-basis:94%;height:610px;max-height:80svh;min-height:430px;border-radius:4px}
 .p-site .s42-room>img{object-position:51% 50%}
 .p-site .s42-room-shade{background:linear-gradient(180deg,#0000 20%,#11171419 40%,#111714c4 100%)}
 .p-site .s42-room-copy{left:24px;right:24px;bottom:32px}
 .p-site .s42-room-copy>span{font-size:10px;margin-bottom:18px}
 .p-site .s42-room-copy h3{font-size:36px;line-height:1.08;letter-spacing:-.035em;margin-bottom:14px}
 .p-site .s42-room-copy p{font-size:14px;line-height:1.65;max-width:300px;margin-bottom:20px}
 .p-site .s42-room-copy>a{font-size:12px;min-height:44px}
 .p-site .s42-gallery-footer{grid-template-columns:1fr auto;gap:12px;padding-inline:24px;margin-top:20px}
 .p-site .s42-gallery-footer>p{font-size:10px}
 .p-site .s42-gallery-controls{gap:12px}
 .p-site .s42-gallery-controls button{width:44px;height:44px;font-size:20px}
 .p-site .s42-gallery-dots{display:none}
}
@media(max-width:359px){
 .p-site .s42-sticky,.p-site .s42-story.is-ready .s42-sticky{padding-inline:20px}
 .p-site .s42-topline{font-size:8px;gap:8px}
 .p-site .s42-topline>a{font-size:10px}
 .p-site .s42-copy h2{font-size:35px}
 .p-site .s42-steps{gap:15px}
 .p-site .s42-steps button{font-size:11px;gap:4px}
 .p-site .s42-phase-index{display:none}
 .p-site .s42-visual{height:290px}
}
@media(prefers-reduced-motion:reduce){
 .p-site .s42-story,.p-site .s42-story.is-ready{height:auto}
 .p-site .s42-story .s42-sticky,.p-site .s42-story.is-ready .s42-sticky{position:relative;top:auto;height:auto;min-height:0}
 .p-site .s42-story *,.p-site .s42-gallery *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .p-site .s42-story .s42-layout{min-height:540px}
 .p-site [data-s42-tilt],.p-site [data-s42-tilt].s42-tilting{transform:none!important;transition:none!important;will-change:auto}
 .p-site .s42-room:hover>img{transform:none}
}
@media(prefers-reduced-motion:reduce) and (max-width:759px){.p-site .s42-story .s42-layout{min-height:0}}
