/* DUHOVI / an interactive opening scene, using the existing local artwork. */
body.spirit-home .header{position:absolute;inset:0 0 auto;z-index:10;min-height:96px;background:linear-gradient(#08090ce8,#08090c00);border-bottom:1px solid #ffffff12}
body.spirit-home .skip{z-index:20}
.hero.hero-entrance{--crew-reveal:1;--world-fade:1;--scene-progress:0;display:block;position:relative;isolation:isolate;height:auto;min-height:0;max-height:none;padding:0;overflow:clip;background:#08090c}
.spirit-frame{position:relative;isolation:isolate;overflow:hidden;height:100svh;min-height:700px;background:#08090c}
.hero-atmosphere{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 50% 39%,#49152980 0%,#220c1b77 25%,#08090c 68%)}
.spirit-wordmark{position:absolute;left:50%;top:41%;transform:translate(-50%,-50%);z-index:1;color:transparent;-webkit-text-stroke:1px #d8c8d520;font:900 clamp(90px,23vw,440px)/.85 Arial,Helvetica,sans-serif;letter-spacing:-.075em;padding-right:.075em;white-space:nowrap;user-select:none;pointer-events:none}
.spirit-canvas{display:none;position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;opacity:var(--world-fade)}
.hero-entrance .hero-art{position:absolute;inset:6% 0 9%;z-index:3;width:100%;height:85%;object-fit:contain;object-position:center;opacity:var(--crew-reveal);pointer-events:none}
.spirit-apparition{display:none;position:absolute;top:0;left:0;z-index:4;pointer-events:none;transform-origin:50% 50%;will-change:transform,opacity}
.spirit-apparition img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 30px #dbc5d51c);-webkit-mask-image:linear-gradient(#000 73%,#000a 86%,transparent 100%);mask-image:linear-gradient(#000 73%,#000a 86%,transparent 100%)}
.hero-entrance .hero-shade{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(0deg,#08090c 0%,#08090cef 8%,#08090c91 25%,transparent 49%),linear-gradient(90deg,#08090c60,transparent 22%,transparent 78%,#08090c60)}
.hero-entrance .hero-content{position:absolute;z-index:6;left:5%;right:5%;bottom:108px;width:auto;max-width:none;margin:0;padding:0;text-align:center;pointer-events:none}
.hero-entrance .eyebrow{display:block;color:#cab9c2;font-size:10px;letter-spacing:3.5px;line-height:1.5;margin:0 0 18px}
.hero-entrance h1{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:0 .24em;font-size:clamp(50px,6.7vw,112px);line-height:.98;letter-spacing:-.035em;margin:0 0 22px;text-shadow:0 3px 40px #000a}
.hero-entrance h1 span,.hero-entrance h1 em{white-space:nowrap}
.hero-entrance h1 em{color:#c27b8e;font-style:normal}
.hero-entrance .hero-copy{font-size:14px;line-height:1.6;max-width:none;color:#d0c5cb;margin:0 0 18px}
.hero-entrance .hero-actions{display:flex;justify-content:center;align-items:center;gap:12px;pointer-events:auto}
.hero-entrance .button{gap:24px;min-height:48px;padding:14px 24px;font-size:11px;letter-spacing:1.5px;background:#75182bd9;border-color:#a44c6280;backdrop-filter:blur(8px)}
.hero-entrance .button:hover{background:#922139}
.hero-entrance .hero-bottom{position:absolute;z-index:7;left:5%;right:5%;bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0;padding:18px 0 0;border-top:1px solid #ffffff19;font-size:9px;line-height:1.6;letter-spacing:1.7px;color:#c4b6be}
.hero-games{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:9px;letter-spacing:1.6px;font-weight:700;margin:0}
.hero-games>a{padding:8px 0}.hero-games>span{color:#a4576b}.hero-games>a:hover{color:#eab9c9}
.hero-explore{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;color:#f2f0eb;white-space:nowrap}
.hero-explore>span{display:grid;place-items:center;border:1px solid #ffffff39;border-radius:50%;width:32px;height:32px;font-size:16px;letter-spacing:0}
.spirit-instruction{display:none;position:absolute;z-index:6;left:5%;top:50%;transform:translateY(-50%);font-size:9px;line-height:2.1;letter-spacing:2px;color:#c1afb8;pointer-events:none}
.spirit-instruction b{display:block;width:25px;height:1px;background:#b87c9080;margin-bottom:15px}
.spirit-motion{position:absolute;z-index:8;right:5%;top:116px;display:inline-flex;align-items:center;gap:9px;min-height:40px;background:#08090c55;border:1px solid #ffffff25;border-radius:999px;color:#d9c9d1;font-size:10px;letter-spacing:.7px;padding:10px 14px;cursor:pointer}
.spirit-motion[hidden]{display:none!important}
.spirit-motion:hover{background:#28131dc9;border-color:#b76a79}
.spirit-motion svg{width:12px;height:12px;fill:currentColor}
.spirit-progress{position:absolute;z-index:8;left:0;right:0;bottom:0;height:2px;background:#ffffff08;pointer-events:none}
.spirit-progress span{display:block;width:100%;height:100%;background:#b96680;transform:scaleX(var(--scene-progress));transform-origin:0 50%}
.hero-entrance.scene-enhanced{--crew-reveal:0;height:185svh;min-height:1260px}
.scene-enhanced .spirit-frame{position:sticky;top:0}
.scene-enhanced .spirit-canvas,.scene-enhanced .spirit-apparition,.scene-enhanced .spirit-instruction{display:block}
.scene-enhanced .spirit-apparition img{animation:spirit-materialise 2.4s cubic-bezier(.22,1,.36,1) both}
.scene-paused .spirit-apparition img{animation-play-state:paused}
@keyframes spirit-materialise{0%{opacity:0;filter:blur(15px) brightness(1.4)}45%{opacity:.65;filter:blur(3px) brightness(1.1)}100%{opacity:1;filter:blur(0) brightness(1)}}
@media(min-width:1700px){.hero-entrance .hero-content{left:8%;right:8%;padding:0}.hero-entrance h1{font-size:112px}}
@media(max-width:1100px){.spirit-instruction{top:35%;font-size:8px;letter-spacing:1.4px}.hero-entrance h1{font-size:clamp(47px,6.7vw,80px)}.hero-entrance .hero-bottom{font-size:8px;letter-spacing:1px}.hero-games{gap:9px;font-size:8px}}
@media(max-width:720px){
 body.spirit-home .header{height:80px;min-height:80px}
 body.spirit-home nav{background:#101112f7;backdrop-filter:blur(12px)}
 .spirit-frame{height:100svh;min-height:680px}
 .hero-entrance.scene-enhanced{height:170svh;min-height:1160px}
 .spirit-wordmark{font-size:26vw;top:32%}
 .hero-entrance .hero-art{inset:12% 0 34%;width:100%;height:54%;aspect-ratio:auto;object-fit:contain;object-position:center;order:0}
 .hero-entrance .hero-shade{display:block;background:linear-gradient(0deg,#08090c 0%,#08090ce6 17%,#08090c90 34%,transparent 57%)}
 .hero-entrance .hero-content{left:6%;right:6%;bottom:132px;order:0;width:auto;padding:0;margin:0;z-index:6}
 .hero-entrance .eyebrow{font-size:8px;letter-spacing:2.4px;margin-bottom:15px}
 .hero-entrance h1{display:block;font-size:clamp(41px,11.4vw,78px);line-height:1.02;margin-bottom:15px}
 .hero-entrance h1 span,.hero-entrance h1 em{display:block}
 .hero-entrance .hero-copy{font-size:12px;max-width:250px;margin:0 auto 17px;line-height:1.6}
 .hero-entrance .hero-actions{display:flex;justify-content:center;gap:10px}
 .hero-entrance .button{min-height:46px;padding:13px 22px;font-size:10px;gap:22px}
 .hero-entrance .hero-bottom{left:6%;right:6%;bottom:19px;display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding-top:12px;order:0;align-items:center;font-size:8px;margin:0}
 .hero-games{grid-column:1/-1;justify-content:center;font-size:8px;gap:15px}
 .hero-entrance .hero-bottom>span{max-width:none;line-height:1.5;font-size:7px;letter-spacing:1.1px}
 .hero-entrance .hero-bottom>a{max-width:none;font-size:8px;line-height:1.5;text-align:right}
 .hero-explore{gap:10px}.hero-explore>span{width:28px;height:28px;font-size:14px}
 .scene-enhanced .spirit-instruction{display:none}
 .spirit-motion{top:93px;right:6%;font-size:9px;min-height:35px;padding:8px 10px}
}
@media(max-height:600px){
 .hero-entrance.scene-enhanced{height:auto;min-height:0}
 .spirit-frame,.scene-enhanced .spirit-frame{position:relative;height:720px;min-height:0}
}
@media(hover:none){.spirit-instruction{display:none!important}}
@media(prefers-reduced-motion:reduce){
 .hero-entrance.scene-enhanced{height:auto;min-height:0}
 .scene-enhanced .spirit-frame{position:relative}
 .hero-entrance .hero-art{opacity:1!important}
 .spirit-canvas,.spirit-apparition,.spirit-instruction,.spirit-motion,.spirit-progress{display:none!important}
 .hero-entrance *{animation:none!important;transition:none!important}
}
