/* Homepage only. Existing catalog routes retain their original header and layout. */
html:not(.cinematic-home) .cinematic-hero{display:none}
html.cinematic-home, .cinematic-home body{overflow-x:clip}
.cinematic-home body{background:#faf9f6}
.cinematic-home{scroll-behavior:auto}
.cinematic-hero[data-scroll-ready]{height:300vh;height:300svh}
.cinematic-hero{background:#171917;color:#fff;position:relative;scroll-margin-top:0}
.cinematic-frame{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate;background:linear-gradient(135deg,#263d34,#171917)}
.cinematic-image,.cinematic-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;object-position:55% center;will-change:transform}
.cinematic-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,17,13,.5),rgba(8,17,13,.08) 40%,rgba(8,17,13,.82)),linear-gradient(90deg,rgba(8,17,13,.4),transparent 65%);pointer-events:none}
.cinematic-shade:after{content:'';position:absolute;inset:0;background:#08110d;opacity:var(--scene-shade,.12)}
.cinematic-eyebrow{position:absolute;left:48px;top:38px;font-size:12px;font-weight:600;letter-spacing:.18em;color:#d6e5db}
.cinematic-title{position:absolute;left:48px;top:78px;font-size:clamp(100px,13.5vw,190px);line-height:1;font-weight:800;letter-spacing:-.065em;transform-origin:top left;will-change:transform;margin:0}
.cinematic-stage-one,.cinematic-stage-two{position:absolute;left:48px;right:48px;bottom:108px;display:flex;justify-content:space-between;align-items:flex-end;gap:48px}
.cinematic-glass{width:360px;max-width:100%;padding:30px;border:1px solid #ffffff38;border-radius:12px;background:#ffffff13;backdrop-filter:blur(7.2px);-webkit-backdrop-filter:blur(7.2px);box-shadow:0 24px 64px #0003;will-change:transform,opacity}
.cinematic-kicker{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#a9f2d2;font-weight:600;margin-bottom:24px;display:block}
.cinematic-glass h2{font-size:clamp(28px,3.1vw,43px);line-height:1.06;letter-spacing:-.04em;font-weight:600;margin:0 0 30px}
.cinematic-glass p{border-top:1px dashed #ffffff40;padding-top:20px;font-size:13px;line-height:1.7;color:#e2e3df}
.cinematic-intro{max-width:375px;padding-bottom:10px;will-change:transform,opacity}
.cinematic-intro p{font-size:19px;line-height:1.6;letter-spacing:-.02em;margin-bottom:26px}
.cinematic-link{display:inline-flex;align-items:center;gap:28px;border-bottom:1px solid #ffffff80;padding:10px 0;font-size:13px;font-weight:600;color:#fff}
.cinematic-link:hover{color:#a9f2d2;border-color:#a9f2d2}
.cinematic-stage-two{top:20px;bottom:clamp(64px,14svh,140px);align-items:center;pointer-events:none}
.cinematic-stage-two>*{min-width:0;overflow-wrap:anywhere}
.cinematic-next-title{max-width:590px;opacity:0;will-change:transform,opacity}
.cinematic-next-title h2{font-size:clamp(40px,5.2vw,76px);line-height:1.02;letter-spacing:-.055em;font-weight:600}
.cinematic-next-copy{max-width:390px;opacity:0;will-change:transform,opacity;pointer-events:auto}
.cinematic-next-copy h3{font-size:clamp(26px,3vw,43px);line-height:1.1;letter-spacing:-.04em;margin-bottom:22px;font-weight:500}
.cinematic-next-copy p{font-size:16px;line-height:1.65;color:#e2e3df;margin-bottom:24px}
.cinematic-bottom{position:absolute;bottom:28px;left:48px;right:48px;display:flex;justify-content:space-between;align-items:end;gap:20px;border-top:1px solid #ffffff30;padding-top:16px;font-size:10px;letter-spacing:.1em;color:#d8d9db}
.cinematic-scroll{display:flex;gap:18px;align-items:center;font-size:10px;letter-spacing:.15em}
.cinematic-scroll span{font-size:20px;animation:cinematic-chevron 1.8s ease-in-out infinite}
@keyframes cinematic-chevron{50%{transform:translateY(6px)}}
.cinematic-home body>header{position:fixed!important;inset:0 0 auto;z-index:60;background:rgba(15,28,22,calc(var(--nav-reveal,0)*.82));box-shadow:none;color:#fff}
.cinematic-home body>header:focus-within,.cinematic-home body>header:has(nav.open),.cinematic-home body>header.scene-ended{background:rgba(15,28,22,.96)}
.cinematic-home body>header>div:first-child,.cinematic-home body>header>div:nth-child(3),.cinematic-home .cinematic-search{display:none!important}
.cinematic-home body>header>div:nth-child(2){background:transparent;border:0;padding:0 48px}
.cinematic-home .cinematic-header-row{max-width:none;min-height:74px;gap:20px}
.cinematic-home .cinematic-brand{font-size:28px;font-weight:800;line-height:1;letter-spacing:-.065em;min-width:180px;color:white}
.cinematic-home .cinematic-brand:focus-visible{opacity:1;outline:2px solid #a9f2d2;outline-offset:5px}
.cinematic-home body>header nav{margin-left:auto;opacity:calc(.20 + .80 * var(--nav-reveal,1));transform:translateY(var(--nav-y,0px));gap:10px;font-size:12px}
.cinematic-home body>header nav a,.cinematic-home body>header nav button{white-space:nowrap}
.cinematic-home body>header nav:focus-within,.cinematic-home body>header:focus-within nav,.cinematic-home body>header.scene-ended nav{opacity:1;transform:none}
@media(hover:hover){.cinematic-home body>header nav:hover{opacity:1;transform:none}}
.cinematic-home body>header nav a:focus-visible,.cinematic-home body>header button:focus-visible,.cinematic-hero a:focus-visible{outline:2px solid #a9f2d2;outline-offset:5px}
.cinematic-home .cinematic-actions>a:first-child{display:none}
.cinematic-home .cinematic-actions>a:last-child{font-size:11px;padding:12px 16px;border-radius:6px}
.cinematic-home .cinematic-actions .material-symbols-outlined{display:none}
.cinematic-home .cinematic-actions{flex-shrink:0}
.cinematic-home body>a.fixed{z-index:40}
.cinematic-home body>a.fixed>span:last-child{display:none}
.cinematic-home #product-grid{scroll-margin-top:var(--site-header-height,88px)}
@media(min-width:768px) and (max-width:1100px){.cinematic-home body>header nav{gap:0;font-size:10px}.cinematic-home body>header nav>a,.cinematic-home body>header nav>div>button{padding:10px 8px}.cinematic-home .cinematic-brand{min-width:140px}.cinematic-stage-one,.cinematic-stage-two{gap:30px}.cinematic-intro{max-width:310px}}
@media(max-width:767px){
 .cinematic-hero[data-scroll-ready]{height:205svh}.cinematic-eyebrow{left:20px;top:100px;font-size:9px}#hero-section .cinematic-title{left:20px;top:128px;font-size:clamp(64px,17vw,130px);line-height:1}
 .cinematic-home body>header>div:nth-child(2){padding:0 20px}.cinematic-home .cinematic-header-row{min-height:74px;gap:12px}.cinematic-home .cinematic-brand{min-width:0;margin-right:auto;font-size:28px}.cinematic-home body>header .cinematic-actions a:last-child{padding:10px;font-size:10px}
 .cinematic-home body>header button.md\:hidden{display:block;color:#fff;font-size:12px;margin-left:auto;padding:12px}
 .cinematic-home body>header nav{position:absolute;top:74px;left:0;right:0;margin:0;padding:16px 20px;background:#10251e;transform:none;opacity:1;gap:8px;flex-direction:column;align-items:stretch;max-height:75svh;overflow:auto;pointer-events:auto}
 .cinematic-home body>header nav a,.cinematic-home body>header nav button{font-size:13px;padding:12px}.cinematic-home #products-menu{position:relative;left:0;width:100%;max-width:100%;max-height:40svh}
 .cinematic-stage-one,.cinematic-stage-two{left:20px;right:20px;bottom:100px;gap:18px;flex-direction:column;align-items:stretch}
 .cinematic-glass{width:100%;padding:20px;max-width:410px}.cinematic-kicker{margin-bottom:12px;font-size:9px}.cinematic-glass h2{font-size:28px;max-width:300px;margin-bottom:14px}.cinematic-glass p{font-size:12px;padding-top:12px}
 .cinematic-intro{max-width:360px;padding:0}.cinematic-intro p{font-size:14px;line-height:1.5;margin-bottom:6px}.cinematic-link{font-size:12px;padding:8px 0}
 .cinematic-next-title h2{font-size:clamp(28px,5svh,42px);max-width:400px}.cinematic-next-copy{max-width:400px}.cinematic-next-copy h3{font-size:clamp(22px,3.5svh,27px);margin-bottom:12px}.cinematic-next-copy p{font-size:14px;margin-bottom:12px}
 .cinematic-stage-two{justify-content:center;gap:clamp(12px,2.6svh,24px)}.cinematic-bottom{left:20px;right:20px;bottom:22px;font-size:8px;line-height:1.5}.cinematic-bottom>span{max-width:180px}.cinematic-scroll{font-size:8px;gap:8px}.cinematic-image{object-position:48% center}
}
@media(max-height:720px){.cinematic-stage-one{bottom:80px}.cinematic-glass{padding:20px;width:330px}.cinematic-glass h2{font-size:30px;margin-bottom:18px}.cinematic-glass p{padding-top:12px}.cinematic-kicker{margin-bottom:12px}}
@media(max-width:767px) and (max-height:740px){
 .cinematic-stage-one{gap:10px;bottom:62px}
 .cinematic-home #hero-section .cinematic-glass{width:100%;padding:14px}
 .cinematic-home #hero-section .cinematic-glass h2{font-size:clamp(19px,5.5vw,23px);line-height:1.12;margin-bottom:8px;overflow-wrap:anywhere}
 .cinematic-glass p{font-size:11px;line-height:1.35;padding-top:8px}
 .cinematic-stage-one .cinematic-kicker{line-height:1.35;margin-bottom:6px}
 .cinematic-intro p{font-size:12px;line-height:1.35}
 .cinematic-stage-one .cinematic-link{padding-block:5px}
 .cinematic-next-title h2{font-size:clamp(24px,6.8vw,32px)}
 .cinematic-next-copy p{font-size:13px}
}
@media(max-height:530px) and (min-width:768px){.cinematic-title{font-size:100px;top:66px}.cinematic-eyebrow{top:30px}.cinematic-glass{width:300px;padding:16px}.cinematic-glass h2{font-size:26px;margin-bottom:12px}.cinematic-glass p{font-size:11px}.cinematic-intro p{font-size:15px}.cinematic-stage-one,.cinematic-stage-two{bottom:70px}.cinematic-next-title h2{font-size:42px}}
.cinematic-reduced .cinematic-hero{height:auto}.cinematic-reduced .cinematic-frame{position:relative;height:auto;min-height:100svh;padding:140px 48px 110px}
.cinematic-reduced #hero-section .cinematic-title{position:relative;left:auto;top:auto;font-size:clamp(56px,13vw,175px);line-height:1;transform:none!important;opacity:1!important;margin-bottom:60px}
.cinematic-reduced .cinematic-eyebrow{top:108px;opacity:1!important;transform:none!important}
.cinematic-reduced .cinematic-stage-one,.cinematic-reduced .cinematic-stage-two{position:relative;inset:auto;transform:none!important;margin-top:40px}
.cinematic-reduced .cinematic-stage-two{pointer-events:auto}.cinematic-reduced .cinematic-stage-one>*,.cinematic-reduced .cinematic-stage-two>*{transform:none!important;opacity:1!important}
.cinematic-reduced .cinematic-image{transform:none!important}.cinematic-reduced .cinematic-scroll{display:none}.cinematic-reduced body>header nav{opacity:1;transform:none}.cinematic-reduced .cinematic-brand{opacity:1!important;pointer-events:auto!important}.cinematic-reduced body>header{background:#10251e}.cinematic-reduced .cinematic-bottom{bottom:24px}
@media(max-width:767px){.cinematic-reduced .cinematic-frame{padding:140px 20px 100px}}
@media(prefers-reduced-motion:reduce){.cinematic-scroll span{animation:none}html{scroll-behavior:auto!important}}
.cinematic-reduced body>header nav{pointer-events:auto}
/* Short landscape screens need a compact editorial arrangement, not overlapping layers. */
@media(max-height:530px) and (min-width:768px){
 .cinematic-title{font-size:70px;top:68px}.cinematic-glass{width:350px;padding:14px}.cinematic-glass h2{font-size:20px;margin-bottom:10px}.cinematic-glass p{font-size:10px;line-height:1.4;padding-top:8px}.cinematic-kicker{font-size:8px;margin-bottom:8px}.cinematic-intro p{font-size:12px;line-height:1.5;margin-bottom:8px}.cinematic-next-title h2{font-size:32px}.cinematic-next-copy h3{font-size:24px;margin-bottom:12px}.cinematic-next-copy p{font-size:12px;margin-bottom:12px}
}
.cinematic-bottom{padding-right:70px;pointer-events:none}
.cinematic-scroll{pointer-events:auto}
@media(max-width:767px){.cinematic-bottom>span:last-child{display:none}.cinematic-bottom>span:first-child{max-width:135px}.cinematic-bottom{padding-right:60px}}
@media(max-height:530px) and (min-width:768px){.cinematic-bottom{font-size:8px;bottom:20px;padding-top:10px}.cinematic-bottom>span:last-child{display:none}.cinematic-bottom>span:first-child{white-space:nowrap}}

/* Original transparent artwork, shared by the two homepage brand placements. */
.cinematic-home .maisoen-logo{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:transparent}
.cinematic-brand-flight{position:fixed;top:0;left:0;z-index:61;max-width:none;object-fit:contain;transform-origin:top left;pointer-events:none;will-change:transform,opacity}
.cinematic-home .cinematic-brand{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:0;width:96px;height:72px;letter-spacing:normal}
.cinematic-home body>header .cinematic-header-row{flex-wrap:nowrap}
.cinematic-home #hero-section .cinematic-title{width:auto;height:min(clamp(130px,28svh,270px),var(--brand-space,270px));max-width:calc(100% - 96px);aspect-ratio:4 / 3;font-size:inherit;line-height:0;letter-spacing:normal}
@media(max-width:767px){
 .cinematic-home .cinematic-brand{width:80px;height:60px}
 .cinematic-home #hero-section .cinematic-title{height:min(clamp(110px,20svh,170px),var(--brand-space,170px));max-width:calc(100% - 40px)}
}
@media(max-height:530px){.cinematic-home #hero-section .cinematic-title{height:min(90px,var(--brand-space,90px))}}
@media(max-width:360px){.cinematic-home .cinematic-brand{width:64px;height:48px}.cinematic-home body>header button.md\:hidden{padding:8px}.cinematic-home .cinematic-header-row{gap:8px}}
.cinematic-reduced #hero-section .cinematic-title{margin-bottom:32px}
html.cinematic-home[dir=rtl] .cinematic-eyebrow{left:auto;right:48px}
@media(max-width:767px){html.cinematic-home[dir=rtl] .cinematic-eyebrow{right:20px}}

/* Keep the frame in normal flow until its scroll controller is ready. */
.cinematic-hero:not([data-scroll-ready]) .cinematic-frame{position:relative;top:auto}
