.p3{position:relative;height:500vh;background:#F2F4F1;color:#0F1A14}
.p3-stick{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
/* The poster box IS the free area: pool3d.js fits every step's camera into it, so the poster (step 1, rendered
   into this same box) and the first canvas frame line up. Desktop: right 60 %, clear of the copy column by at least 80 px, the room the veil below needs. */
.p3-poster{position:absolute;z-index:0;top:calc(var(--hh,72px) + 16px);bottom:40px;right:max(40px,calc((60% - 820px)/2 + 20px));width:min(820px,calc(60% - 40px),calc(100% - clamp(20px,5vw,72px) - 500px));display:block;pointer-events:none;transition:opacity .3s .5s}
.p3-poster img{display:block;width:100%;height:100%;object-fit:contain}
.p3-canvas{position:absolute;z-index:1;inset:0;width:100%;height:100%;display:block;touch-action:pan-y;opacity:0;transition:opacity .5s}
.p3-live .p3-canvas{opacity:1}
/* Side by side: the close views run past the free area. A paper veil fades the model out between the free area and the copy
   column, so nothing is ever drawn under the heading or the card. It spans exactly from the left edge to the poster box. */
.p3-stick{--p3-cr:calc(clamp(20px,5vw,72px) + 380px)}
.p3-stick::after{content:"";position:absolute;z-index:1;top:0;bottom:0;left:0;right:calc(max(40px,(60% - 820px)/2 + 20px) + min(820px,60% - 40px,100% - clamp(20px,5vw,72px) - 500px));background:linear-gradient(90deg,#F2F4F1 var(--p3-cr),rgba(242,244,241,.78) calc(var(--p3-cr)*.7 + 30%),rgba(242,244,241,.35) calc(var(--p3-cr)*.4 + 60%),rgba(242,244,241,0) 100%);pointer-events:none}
.p3-live .p3-poster{opacity:0;visibility:hidden;transition:opacity .3s .5s,visibility 0s .8s}
.p3-copy{position:relative;z-index:2;height:100%;box-sizing:border-box;max-width:380px;margin-left:clamp(20px,5vw,72px);display:flex;flex-direction:column;justify-content:center;gap:18px;pointer-events:none}
.p3-copy>*{pointer-events:auto}
.p3-kicker{margin:0;font:600 13px/1 "aktiv-grotesk",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#4C5A44}
.p3-copy h2{margin:0;font:700 clamp(1.7rem,3vw,2.5rem)/1.08 "obviously-wide",system-ui,sans-serif;color:#0F1A14;letter-spacing:-.01em}
.p3-copy h2 em{font-style:normal;color:#4C5A44}
.p3-cards{display:grid}
.p3-card{grid-area:1/1;box-sizing:border-box;padding:18px 20px;border-radius:16px;background:rgba(242,244,241,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(15,26,20,.12);opacity:0;transform:translateY(8px);transition:opacity .35s,transform .35s;visibility:hidden}
.p3-card.is-on{opacity:1;transform:none;visibility:visible}
.p3-card svg{width:32px;height:32px;fill:none;stroke:#0F1A14;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block;margin-bottom:10px}
.p3-card h3{margin:0 0 6px;font:700 1.1rem/1.2 "obviously-wide",system-ui,sans-serif}
.p3-card p{margin:0;font:400 1rem/1.4 "aktiv-grotesk",system-ui,sans-serif;color:#0F1A14}
.p3-num{display:inline-block;margin-bottom:8px;font:600 .75rem/1 "aktiv-grotesk",system-ui,sans-serif;color:#4C5A44;letter-spacing:.1em}
.p3-dots{display:flex;gap:0}
.p3-dots button{width:44px;height:44px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
.p3-dots button i{display:block;width:12px;height:12px;border-radius:50%;background:rgba(15,26,20,.22);transition:background .25s,transform .25s}
.p3-dots button[aria-current="true"] i{background:#C8F25C;box-shadow:0 0 0 2px #0F1A14;transform:scale(1.25)}
.p3-dots button:focus-visible{outline:2px solid #0F1A14;outline-offset:-4px;border-radius:50%}
@media (prefers-reduced-motion:reduce){.p3-card,.p3-dots button i,.p3-canvas,.p3-poster,.p3-live .p3-poster{transition:none}}
/* Phone: the model owns the top 75svh under the heading; the card and dots sit below it on paper. */
@media (max-width:700px),(max-aspect-ratio:1/1){
.p3{height:460vh}
.p3-stick::after{display:none}
.p3-canvas{height:75vh;height:75svh}
.p3-poster{top:calc(var(--hh,72px) + 76px);bottom:calc(25vh + 6px);bottom:calc(25svh + 6px);left:12px;right:12px;width:auto}
.p3-copy{max-width:none;margin:0;padding:0 16px;justify-content:flex-start;gap:0}
.p3-head{position:absolute;top:calc(var(--hh,72px) + 8px);left:16px;right:16px;pointer-events:none}
.p3-head .p3-kicker{font-size:13px;margin-bottom:6px}
.p3-head h2{font-size:1.2rem}
.p3-cards{position:absolute;left:16px;right:16px;top:calc(75vh + 2px);top:calc(75svh + 2px)}
.p3-card{padding:10px 14px;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:start}
.p3-card svg{grid-row:1/3;margin:0;width:28px;height:28px}
.p3-card h3{font-size:1rem;margin-bottom:3px}
.p3-card p{font-size:.95rem;line-height:1.35}
.p3-dots{position:absolute;left:0;right:0;bottom:max(0px,env(safe-area-inset-bottom));justify-content:center}
}
/* Portrait tablets take the same stacked arrangement (big model, card under it) with the heading and card at full size. */
@media (min-width:701px) and (max-aspect-ratio:1/1){
.p3-canvas{height:82vh;height:82svh}
.p3-poster{top:calc(var(--hh,72px) + 96px);bottom:calc(18vh + 6px);bottom:calc(18svh + 6px);left:clamp(20px,5vw,72px);right:clamp(20px,5vw,72px)}
.p3-copy{padding:0 clamp(20px,5vw,72px)}
.p3-head{top:calc(var(--hh,72px) + 16px);left:clamp(20px,5vw,72px);right:clamp(20px,5vw,72px)}
.p3-head h2{font-size:clamp(1.7rem,3vw,2.5rem)}
.p3-cards{top:calc(82vh + 2px);top:calc(82svh + 2px);left:clamp(20px,5vw,72px);right:clamp(20px,5vw,72px)}
.p3-card{padding:14px 18px}
.p3-card h3{font-size:1.1rem}
.p3-card p{font-size:1rem}
}
