/* The movie itself carries subject alpha; no rectangular CSS mask. */
#kezdo{min-height:calc(100svh - 88px);position:relative}
#kezdo .hero-inner{grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:3%;padding:24px 5% 0;flex:1}
#kezdo .hero-logo{margin:18px 0 25px}
#kezdo .hero-copy .eyebrow{margin-bottom:12px}
.opening-film{min-width:0;width:100%}
.opening-stage{position:relative;height:clamp(320px,calc(100svh - 240px),760px);background:transparent;isolation:isolate;border:0;box-shadow:none}
.opening-video,.opening-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none;background:transparent}
.opening-video{opacity:0}.opening-video.is-visible{opacity:1}.opening-poster{z-index:2}
.opening-poster[hidden],.opening-fallback[hidden],.opening-controls [hidden]{display:none}
.opening-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#625136}
.opening-fallback>span{font-size:10px;letter-spacing:3px}.opening-fallback p{font-size:12px}.opening-thread{display:none}
.opening-caption{padding:10px 0 0}.opening-caption p{font-size:16px;margin:0 0 3px}.opening-caption small{display:block;font-size:10px;line-height:1.6;color:#756b56}
.opening-controls{padding:10px 5% 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;z-index:3}
.opening-controls>p{font-size:12px;max-width:430px;margin:0;color:#756b56}.opening-controls>div{display:flex;align-items:center;gap:25px}
.opening-controls .button{min-width:215px;justify-content:center}
#skip-animation{position:absolute;right:5%;top:8px;z-index:4;font-size:11px}
@media(max-width:850px){
 #kezdo .hero-inner{grid-template-columns:1fr;padding:30px 7% 0;gap:12px}
 #kezdo .hero-copy{max-width:560px;margin:auto}
 .opening-stage{height:clamp(300px,55svh,600px)}.opening-controls{flex-wrap:wrap}
}
@media(max-width:600px){
 #kezdo{min-height:calc(100svh - 72px)}#kezdo .hero-inner{padding-top:36px}
 #kezdo .hero-copy .eyebrow{font-size:7px;margin:0}#kezdo h1{max-width:240px;margin:auto;padding:0}#kezdo .hero-logo{margin:0}
 #kezdo .slogan{font-size:17px;margin:4px 0;text-align:center}
 #kezdo .hero-description,#kezdo .hero-copy>.copy-label,#kezdo .demo-line{display:none}
 #kezdo .hero-actions{margin:8px 0 0;gap:12px;justify-content:center}#kezdo .hero-actions .button{font-size:10px;padding:5px 10px;min-height:36px}#kezdo .hero-actions .text-link{font-size:10px;padding:4px 0;min-height:36px}
 .opening-caption p{font-size:13px}.opening-caption small{font-size:9px}
 .opening-controls{padding:10px 7% 14px;gap:8px}.opening-controls>p{font-size:10px}.opening-controls .button{font-size:10px;padding:8px 10px;min-width:0;min-height:44px}
}
@media(max-height:700px) and (min-width:851px){#kezdo .hero-copy .eyebrow,#kezdo .hero-description,#kezdo .hero-copy>.copy-label,#kezdo .demo-line{display:none}#kezdo .hero-logo{margin:5px 0}#kezdo .hero-actions{margin-top:8px}}

/* Gold caps track the 540 × 480 media rectangle inside object-fit:contain.
   Size containment is safe here: the stage already has an explicit height,
   and its media children are absolutely positioned. No layout dimensions change. */
.opening-stage{container-type:size}
.opening-stage::before,.opening-stage::after{
 content:"";position:absolute;left:50%;z-index:3;pointer-events:none;
 width:min(100cqw,112.5cqh);height:1px;
 background:linear-gradient(90deg,transparent 0%,#ad8546a6 12%,#d9b96e 35%,#fff1b9 50%,#d9b96e 65%,#ad8546a6 88%,transparent 100%);
 box-shadow:0 0 4px #cda45680,0 0 10px #cda45638;
 opacity:0;
}
.opening-stage::before{top:calc((100cqh - min(100cqh,88.888888889cqw))/2);transform:translate(-50%,-50%)}
.opening-stage::after{bottom:calc((100cqh - min(100cqh,88.888888889cqw))/2);transform:translate(-50%,50%)}
.opening-stage:has(.opening-video.is-visible,.opening-poster:not([hidden]))::before,
.opening-stage:has(.opening-video.is-visible,.opening-poster:not([hidden]))::after{opacity:1}

.opening-replay{flex:none;display:inline-grid;place-items:center;width:44px;height:44px;padding:8px;border:1px solid #c6a45f88;border-radius:50%;background:transparent;color:#a2803c;cursor:pointer}.opening-replay svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.opening-replay:hover:not(:disabled){background:#c6a45f18;box-shadow:0 0 12px #c6a45f33}.opening-replay:disabled{opacity:.35}
