/* NJOL's mark, landscapes and Hyperpins share one visual language. */
.hero{min-height:740px;max-height:920px}
.hero-content{max-width:54%;position:relative;z-index:1}
.hero h1{font-size:clamp(65px,6.3vw,102px)}
.hero-content>p{max-width:440px}
.hero .desktop{display:none}
.hero .landscape{background:#110e18}
.hero-shade{background:linear-gradient(90deg,#100e1655,transparent 62%),linear-gradient(0deg,#100e16b8,transparent 23%);pointer-events:none}
.hero .landscape canvas{opacity:0;transition:opacity .6s}
.hero.visual-ready .landscape canvas{opacity:1}
.hero-moods{display:flex;gap:8px}
.hero-moods .button{background:#1b1525c9;color:#e6d8f3;border-color:#ceb8ee55}
.hero-moods .button[aria-pressed=true]{background:var(--purple);color:#111014}
.visual-fallback{position:absolute;width:33%;height:58%;top:21%;right:7%;background:var(--purple) url('assets/dusk.webp') center/cover;mask:url('assets/njol-wordmark-13.svg') center/contain no-repeat;-webkit-mask:url('assets/njol-wordmark-13.svg') center/contain no-repeat;opacity:.85}
[data-landscape=night] .visual-fallback{background-image:url('assets/night.webp')}
[data-landscape=morning] .visual-fallback{background-image:url('assets/morning.webp')}
.visual-ready .visual-fallback{opacity:0}
.visual-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0}
.visual-ready>.visual-canvas{opacity:1}
.demo-scene{isolation:isolate;overflow:hidden}
.demo-scene>.visual-canvas{z-index:-1}
.demo-scene-top,.demo-home,.demo-scene-bottom{position:relative}
.demo-scene:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#11142145,transparent 75%);pointer-events:none}
.demo-home{text-shadow:0 2px 15px #100e16}
.portal-toggle{color:var(--purple);background:none;border:0;border-bottom:1px solid #ceb8ee77;font-family:'Space Mono',monospace;font-size:11px;text-align:left}
.philosophy{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:6%}
.philosophy-note{min-width:0}
.hyper-visual{position:relative;isolation:isolate;width:100%;height:330px;margin:12px 0 24px;background:#1b171f}
.hyper-visual .visual-fallback{width:80%;height:80%;top:10%;right:10%}
.hyper-visual .visual-canvas{mix-blend-mode:screen}
.hyper-note{margin-top:16px}
.download-panel-head img{object-fit:contain;border-radius:0;filter:brightness(0) invert(.86)}
.hero-actions{gap:22px;flex-wrap:wrap}
.hero-side{font-size:9px}
@media(min-width:1600px){.hero h1{font-size:112px}.hyper-visual{height:400px}}
@media(min-width:701px) and (max-width:1050px){.hero{min-height:710px;padding-left:32px;padding-right:32px}.hero h1{font-size:70px}.hero-content{max-width:54%}.hero-content>p{font-size:13px}.hero .eyebrow{font-size:8px}.hero-actions .button{font-size:10px;padding:14px}.hero-actions .arrow{margin-left:4px}.hero-side{display:none}.hyper-visual{height:280px}}
@media(max-width:700px){
 .hero{min-height:870px;height:auto;max-height:none;padding:23px 23px 22px}
 .hero-content{max-width:100%;margin:0;padding:305px 0 30px}
 .hero h1{font-size:clamp(56px,12.5vw,82px);margin-bottom:24px}
 .hero .eyebrow{font-size:8px;margin-bottom:20px}
 .hero-content>p{font-size:13px;max-width:340px}
 .hero-actions{margin-top:22px;gap:16px}
 .hero-bottom{margin-top:auto;align-items:center;gap:12px;flex-wrap:wrap}
 .hero-moods{gap:6px}.hero-bottom .button{font-size:9px;min-height:42px;padding:9px}
 .hero .visual-fallback{width:70%;height:240px;top:58px;right:15%}
 .philosophy{grid-template-columns:1fr;gap:38px}
 .philosophy-note{flex-direction:column;align-items:stretch}
 .philosophy-note .eyebrow{margin-bottom:4px}
 .hyper-visual{height:285px;margin:8px 0 18px}
 .philosophy-note .hyper-toggle{align-self:flex-start;min-height:44px}
 .philosophy-note>.hyper-note:last-child{display:block}
 .demo-caption{gap:18px}.portal-toggle{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.hero .landscape canvas{transition:none}}
.hero-side{display:none}
