.portal-walk{position:relative;background:#1a1112;min-height:calc(100svh + var(--portal-travel,0px))}
.portal-stage{height:100svh;position:sticky;top:0;overflow:hidden;isolation:isolate;color:#fff3e5;background:#1a1112}
.portal-camera,.portal-layer,.portal-hero-poster,.portal-shade,.portal-hero-mask{position:absolute;inset:0;pointer-events:none}
.portal-camera{z-index:1}
.portal-stage.is-pinned .portal-camera,.portal-stage.in-view .portal-camera{will-change:transform}
.portal-layer{background-position:center;background-repeat:no-repeat;background-size:cover}
.portal-layer:nth-child(2){inset:auto;z-index:2}
.portal-hero-mask{overflow:hidden;border-radius:var(--hero-round,0);transform:scale(var(--hero-scale,1))}
.portal-hero-poster{width:100%;height:100%;object-fit:cover;transform:scale(1.04)}
.portal-arch{position:absolute;overflow:visible;z-index:3;color:var(--scene-accent,#e1bd80);pointer-events:none}
.portal-arch path{fill:none;stroke:currentColor;stroke-width:1.4;vector-effect:non-scaling-stroke}
.portal-arch path:first-child{stroke-width:6;stroke-opacity:.20}
.portal-shade{z-index:2;background:linear-gradient(90deg,#130a08a6,transparent 63%),linear-gradient(0deg,#140b0bd4,transparent 38%,transparent 70%,#10090985);pointer-events:none}
.portal-shade:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 100px color-mix(in srgb,var(--scene-base,#1a1112) 26%,transparent);opacity:.7}
.portal-stage.is-cream .portal-shade{opacity:0}
.portal-cream::after{content:"";position:absolute;inset:0;background:#f6eee3}
.scene-ui{position:absolute;z-index:4;bottom:11%;left:var(--gutter,6vw);width:min(90%,630px);opacity:0;pointer-events:none}
.scene-title{display:block;font:italic 400 clamp(4.25rem,11vw,13rem)/.72 var(--display,Georgia);letter-spacing:-.065em;color:#fff3e5;margin:.21em 0 .13em}
.scene-subtitle{font:400 clamp(1.6rem,4vw,4.5rem)/1 var(--display,Georgia);display:block}
.scene-line{max-width:34rem;margin:1em 0}
.scene-index{display:flex;align-items:center;gap:9px;font:600 .74rem/1 var(--ui,Arial);letter-spacing:.17em}
.scene-meter{width:27px;height:27px;transform:rotate(-90deg);color:var(--scene-accent,#e1bd80)}
.scene-meter circle{fill:none;stroke:currentColor;stroke-width:1.3}
.scene-meter circle:first-child{opacity:.28}
.scene-meter circle:last-child{stroke-dasharray:100}
.tags{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.tags li{border:1px solid #fff6e58a;border-radius:2rem;padding:7px 11px;font:600 .72rem var(--ui,Arial);background:#1a11127a}
.portal-debug{position:absolute;left:10px;top:80px;z-index:12;background:#10100e;color:#fbe4af;padding:10px;font:14px/1.4 monospace;white-space:pre}
.portal-stage.debug-on:after{content:"";position:absolute;left:var(--debug-left);top:var(--debug-top);width:var(--debug-width);height:var(--debug-height);z-index:12;outline:1px dashed #77ffb8;pointer-events:none}
.portal-transcript{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.still-scene{position:relative;isolation:isolate;min-height:100svh;display:grid;align-items:end;color:#fff7ea;background:var(--scene-tone)}
.still-scene picture,.still-scene picture img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;z-index:-2}
.still-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#130b0b,transparent 72%);z-index:-1}
.still-copy{padding:var(--gutter,6vw)}
.still-copy h3{font:400 clamp(4rem,11vw,9rem)/.85 var(--display,Georgia);margin:.2em 0}
.still-copy em{display:block;font-size:.41em;margin-top:.25em}
.portal-stage:not(.ready) .portal-camera{background:transparent}
@media(prefers-reduced-motion:reduce){
 .portal-walk{min-height:0}.portal-stage{position:relative}.portal-camera,.scene-ui{display:none}
 .portal-transcript{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
}
html.no-js .portal-walk,html.motion-fallback .portal-walk{min-height:0}
html.no-js .portal-stage,html.motion-fallback .portal-stage{position:relative}
html.motion-fallback .portal-transcript{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
.portal-layer:first-child::before{content:'';position:absolute;inset:0;box-shadow:inset 0 0 70px 14px #1a1112;opacity:var(--edge-opacity,0);filter:blur(3px);pointer-events:none}
@media(prefers-reduced-motion:reduce){
 .still-scene picture{opacity:.7;transition:opacity .22s ease-out!important}
 .still-scene.still-visible picture{opacity:1}
}
@media(prefers-reduced-motion:no-preference){
 .portal-transcript picture{display:none}
 html.motion-fallback .portal-transcript picture{display:block}
}
.scene-ui .tags li{border-color:color-mix(in srgb,var(--scene-accent,#e1bd80) 68%,#fff4e2);background:color-mix(in srgb,#1a1112c7 91%,var(--scene-base,#1a1112))}
