/* MIRASUIT / Hero reverse-scroll treatment / 2026-10-20.
   Scoped to #top. All later chapters, original media and navigation remain unchanged. */
.hero-reverse-track{position:relative;height:auto}
.hero-reverse-track[data-enhanced="true"]{height:500svh}
.hero-reverse-track[data-motion="off"]{height:auto}
#top.hero-reverse{position:relative;isolation:isolate;display:block;min-height:100svh!important;height:100svh;overflow:hidden;background:#121612}
[data-enhanced="true"]>#top.hero-reverse{position:sticky;top:0}
[data-motion="off"]>#top.hero-reverse{position:relative}
#top.hero-reverse>.hero-background-film,#top.hero-reverse>img.hero-art{display:none!important}
#top.hero-reverse:before,#top.hero-reverse:after{display:none!important}
#top.hero-reverse .hero-reverse-poster,#top.hero-reverse .hero-reverse-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;z-index:0;pointer-events:none}
#top.hero-reverse .hero-reverse-canvas{opacity:0}
#top.hero-reverse[data-frame-ready="true"] .hero-reverse-canvas{opacity:1}

#top.hero-reverse .hero-center-copy{position:absolute;inset:0;margin:0;max-width:none;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:110px clamp(24px,6vw,96px) 108px;z-index:2;pointer-events:none;transform-origin:50% 50%}
#top.hero-reverse .hero-center-copy>*{flex:0 0 auto}
#top.hero-reverse .hero-title{max-width:min(100%,960px);margin:0 auto;font-size:clamp(40px,4.65vw,74px);line-height:1.12;letter-spacing:-.035em;text-align:center;text-wrap:balance;color:#fffdf7;text-shadow:none;-webkit-text-stroke:.25px rgba(8,12,9,.65);paint-order:stroke fill}
#top.hero-reverse .hero-kicker{justify-content:center;max-width:100%;margin:0 auto 22px;font-size:10px;letter-spacing:.2em;color:#f1eee5}
#top.hero-reverse .hero-kicker:before{display:none}
#top.hero-reverse .hero-subtitle{max-width:min(100%,640px);margin:24px auto 0;font-size:clamp(15px,1.18vw,18px);line-height:1.8;text-wrap:pretty;color:#fffdf7;text-shadow:none}
#top.hero-reverse .hero-actions{max-width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 30px;margin:28px auto 0}
#top.hero-reverse .hero-actions a{pointer-events:auto;line-height:1.5;max-width:100%}
#top.hero-reverse .hero-actions[inert]{pointer-events:none}
#top.hero-reverse .hero-actions[inert] a{pointer-events:none}
#top.hero-reverse .hero-foot{z-index:4;bottom:26px;color:#f8f6ec;text-shadow:none;pointer-events:auto}
#top.hero-reverse .hero-scroll{background:#10150f55;padding:10px 12px}
#top.hero-reverse .hero-fingertip-logo{position:absolute;left:50%;top:30%;width:42px;aspect-ratio:1;z-index:3;opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(var(--logo-scale,1));transform-origin:center;will-change:opacity,transform}
#top.hero-reverse .hero-fingertip-logo>img{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1);animation:none}
/* Small-area black/white changes: 1 cycle / 2.4 seconds, 2 cycles, then static white. */
#top.hero-reverse .hero-fingertip-logo[data-pulse="active"]>img{animation:mira-logo-monochrome 2.4s steps(1,end) 2 both}
#top.hero-reverse[data-paused="true"] .hero-fingertip-logo>img{animation-play-state:paused}
@keyframes mira-logo-monochrome{0%,100%{filter:brightness(0) invert(1)}50%{filter:brightness(0) invert(0)}}
#top.hero-reverse .hero-reverse-progress{position:absolute;inset:auto 0 0;height:2px;background:#ffffff18;z-index:5;pointer-events:none}
#top.hero-reverse .hero-reverse-progress>i{display:block;width:100%;height:100%;background:#f4f0e3;transform:scaleX(var(--hero-progress,0));transform-origin:left}
/* JS enhancement only: static copy stays readable when scripting/frames fail. */
[data-enhanced="true"][data-motion="on"] #top .hero-title{opacity:var(--hero-title,0);transform:scale(calc(.93 + var(--hero-title,0)*.07));clip-path:inset(0 calc((1 - var(--hero-title,0))*50%) round 2px);will-change:transform,clip-path,opacity}
[data-enhanced="true"][data-motion="on"] #top .hero-kicker{opacity:var(--hero-kicker,0);transform:scale(calc(.96 + var(--hero-kicker,0)*.04))}
[data-enhanced="true"][data-motion="on"] #top .hero-subtitle{opacity:var(--hero-body,0);transform:scale(calc(.97 + var(--hero-body,0)*.03))}
[data-enhanced="true"][data-motion="on"] #top .hero-actions{opacity:var(--hero-actions,0);transform:scale(calc(.97 + var(--hero-actions,0)*.03))}
[data-enhanced="true"] #top .hero-center-copy{opacity:var(--hero-copy,1)}
html[lang^="zh"] #top.hero-reverse .hero-title{max-width:10em;font-size:clamp(38px,4.6vw,72px);line-height:1.4;letter-spacing:.025em}
html[lang^="zh"] #top.hero-reverse .hero-subtitle{max-width:35em;line-height:1.95}
html[lang^="de"] #top.hero-reverse .hero-title,html[lang^="it"] #top.hero-reverse .hero-title{max-width:16em;font-size:clamp(38px,4.25vw,68px)}
@media(max-width:800px){
 .hero-reverse-track[data-enhanced="true"]{height:520svh}
 .hero-reverse-track[data-motion="off"]{height:auto}
 #top.hero-reverse .hero-center-copy{padding:110px 26px 132px}
 #top.hero-reverse .hero-title,html[lang^="de"] #top.hero-reverse .hero-title,html[lang^="it"] #top.hero-reverse .hero-title{max-width:100%;font-size:clamp(28px,7.2vw,48px);line-height:1.14;letter-spacing:-.03em}
 html[lang^="zh"] #top.hero-reverse .hero-title{max-width:10em;font-size:clamp(29px,7.5vw,46px);line-height:1.5;letter-spacing:0}
 #top.hero-reverse .hero-subtitle{max-width:36em;font-size:15px;line-height:1.75;margin-top:18px}
 #top.hero-reverse .hero-kicker{font-size:9px;margin-bottom:18px;letter-spacing:.16em}
 #top.hero-reverse .hero-actions{margin-top:22px;gap:14px 18px}
 #top.hero-reverse .hero-actions a{font-size:11px}
 #top.hero-reverse .hero-actions .button{padding:14px 18px}
 #top.hero-reverse .hero-foot{bottom:20px}
 
}
@media(max-height:600px){
 #top.hero-reverse .hero-center-copy{padding:72px 28px 74px}
 #top.hero-reverse .hero-title,html[lang] #top.hero-reverse .hero-title{font-size:clamp(25px,4.5vh,34px);line-height:1.16;max-width:22em}
 #top.hero-reverse .hero-kicker{margin-bottom:9px;font-size:9px}
 #top.hero-reverse .hero-subtitle{font-size:13px;line-height:1.5;max-width:54em;margin-top:12px}
 #top.hero-reverse .hero-actions{margin-top:12px;gap:16px}
 #top.hero-reverse .hero-actions .button{min-height:38px;padding:9px 16px}
 #top.hero-reverse .hero-foot{bottom:10px;padding-top:8px}
 #top.hero-reverse .hero-signature{display:none}
}
[data-motion="off"] #top.hero-reverse .hero-center-copy{opacity:1!important}
[data-motion="off"] #top.hero-reverse .hero-fingertip-logo{display:none}

@media(prefers-reduced-motion:reduce){
 .hero-reverse-track[data-enhanced="true"]{height:auto}
 [data-enhanced="true"]>#top.hero-reverse{position:relative}
 #top.hero-reverse .hero-center-copy,#top.hero-reverse .hero-center-copy>*{opacity:1!important;transform:none!important;clip-path:none!important}
 #top.hero-reverse .hero-fingertip-logo{display:none!important}
}

/* Approved revision: LOGO first; centered copy slightly lower; original picture luminance. */
#top.hero-reverse .hero-center-copy{inset:auto 0 auto 0;top:var(--hero-copy-top,36svh);height:auto;padding:0 clamp(24px,6vw,96px);justify-content:flex-start;transform:scale(var(--hero-copy-scale,1));transform-origin:50% 0;background:none!important;backdrop-filter:none!important}
#top.hero-reverse .hero-reverse-canvas,#top.hero-reverse .hero-reverse-poster{filter:none!important;mix-blend-mode:normal}
#top.hero-reverse .hero-kicker{color:#fffdf7;text-shadow:none}
#top.hero-reverse .hero-actions .text-link{color:#fffdf7;text-shadow:none}
#top.hero-reverse .hero-scroll{background:none}
@media(max-width:800px){#top.hero-reverse .hero-center-copy{padding:0 24px}#top.hero-reverse .hero-subtitle{font-size:15px;line-height:1.7}}
@media(max-height:600px){#top.hero-reverse .hero-center-copy{padding:0 24px}#top.hero-reverse .hero-subtitle{font-size:13px;line-height:1.45}}

/* Approved micro-adjustment: move only the Hero text group right. */
#top.hero-reverse .hero-center-copy{left:clamp(16px,2.222222vw,32px);right:auto}
@media(max-width:800px){#top.hero-reverse .hero-center-copy{left:8px}}
