/* Reveal the fixed scene without stretching or resizing its layout. */
.portal{inset:0;width:100%;height:100%;box-shadow:none;will-change:clip-path;background:#f7f5f0}
.scene{left:34%;right:-6px;top:-6px;bottom:-6px;transform-origin:65% 50%}.scene img{object-position:65% center}
.veil{background:linear-gradient(90deg,#f7f5f0 0%,#f7f5f0 25%,#f7f5f0ed 34%,#f7f5f064 46%,transparent 60%)}
.hero{width:47%;top:17%}.hero h1{font-size:clamp(40px,4.6vw,72px)}.envelope{filter:drop-shadow(0 22px 19px #322a2033)}
.paper .front:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,#fff5,transparent 35%,#a9956722);mix-blend-mode:multiply}
.primary{transition:background .25s,box-shadow .25s}.primary:hover{box-shadow:0 9px 24px #30372720}.profiles button[aria-pressed=true]{border-color:#655c40;color:#655c40}#profile-note{max-width:650px;line-height:1.8;min-height:50px;font-size:16px}
@media(min-width:1800px){.stage{max-width:1800px;margin:auto}.hero h1{font-size:72px}}
@media(max-width:700px){.portal{inset:0;width:100%;height:100%}.scene{left:-4px;right:-4px;top:44%;bottom:-4px;transform-origin:65% 70%}.scene img{object-position:66% center}.veil{background:linear-gradient(180deg,#f7f5f0 0%,#f7f5f0 39%,#f7f5f0dc 45%,transparent 58%)}.hero{top:4%;width:86%}.hero h1{font-size:clamp(32px,10vw,42px)}.hero p{margin:15px 0 19px;font-size:13px;line-height:1.5}.hero .eyebrow{display:none}.hero .primary{font-size:13px}.envelope{filter:drop-shadow(0 14px 12px #322a2033)}}
/* No filter on the 3D parent: filters flatten child transforms. */
.envelope{filter:none}.paper{backface-visibility:visible}.face{box-shadow:inset 0 0 28px #fff7,3px 9px 22px #33261125}.paper .back{background-image:linear-gradient(100deg,#d0c2a422,#fff8 45%,#e7ddc7);border-color:#d1c6af}
@media(max-width:700px){.envelope{filter:none}}
/* Promote only during the transition; release compositing layers at rest. */
.portal,.paper{will-change:auto}.animating .portal{will-change:clip-path}.animating .paper,.animating .scene{will-change:transform}.animating .hero{will-change:opacity}
@media(max-width:700px){.face{background-image:linear-gradient(110deg,#fff4,#c8b98e12);box-shadow:inset 0 0 0 1px #fff7,1px 3px 7px #33261120}.right .front{background-image:linear-gradient(90deg,#b7a78625,transparent 9%)}.paper .front:after{display:none}.paper .back{box-shadow:inset 0 0 0 1px #fff5;background-image:linear-gradient(100deg,#e0d5bd,#f6f0e2)}.scene{contain:paint}}
