/* Native scroll scenes; static content remains available without support. */
body{overflow-x:clip}
/* Full-bleed cover, no card or separate caption panel. */
.maria-product-page .noc-intro{padding:0;position:relative;height:calc(100svh - 70px);min-height:540px}
.noc-intro>.container{max-width:none;padding:0!important;height:100%}
.noc-intro .noc-figure{position:relative;height:100%;border:0;border-radius:0;background:#080f1a}
.noc-intro .noc-image-frame{position:absolute;inset:0;height:100%;aspect-ratio:auto}
.noc-intro .noc-image{object-position:45% center;animation:none!important;transform:none}
.noc-intro .noc-image-frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#080f1a05 30%,#080f1a55 60%,#080f1af2 100%)}
.noc-intro .noc-image-label{top:28px;left:max(24px,calc((100vw - 1140px)/2))}
.noc-intro .noc-caption{position:absolute;bottom:0;left:0;width:100%;padding:40px max(24px,calc((100vw - 1140px)/2));color:#edf4f7;background:none}
.noc-intro .noc-caption h2{color:#fff;font-size:clamp(2rem,4.5vw,4.2rem);max-width:22ch;line-height:1.08;text-wrap:balance}
.noc-intro .noc-caption p:not(.eyebrow){color:#d7e2e9}
.noc-intro .noc-caption .btn{background:#0b182bd9;border-color:#8ddacf66;color:#fff}
@keyframes maria-cover-collapse{
  0%{clip-path:inset(0 0 0);opacity:1;transform:translateY(0);visibility:visible}
  65%{clip-path:inset(0 0 65%);opacity:.85;transform:translateY(0);visibility:visible}
  100%{clip-path:inset(0 0 100%);opacity:0;transform:translateY(0);visibility:hidden}
}
@keyframes maria-cover-copy{0%{opacity:1;translate:0 0}65%,100%{opacity:0;translate:0 -50px;visibility:hidden}}
@keyframes article-stack{to{scale:.96}}
@keyframes content-fly{
 entry 0%{opacity:0;translate:0 55px}
 entry 100%{opacity:1;translate:0 0}
 exit 0%{opacity:1;translate:0 0}
 exit 100%{opacity:0;translate:0 -45px}
}
.blog-scroll-page .stack-slot{min-width:0}
.blog-scroll-page .stack-slot .post{opacity:1;translate:none;transition:border-color .2s,box-shadow .2s;transform-origin:50% 0}
@supports (animation-timeline:scroll()) and (animation-range:entry 0% entry 100%){
 @media(prefers-reduced-motion:no-preference){
  html.scroll-native .maria-product-page .noc-figure{position:fixed;top:70px;left:0;width:100%;height:calc(100svh - 70px);min-height:0;z-index:20;pointer-events:none;animation:maria-cover-collapse 1s linear both;animation-timeline:scroll(root block);animation-range:0px calc(100svh - 70px)}
  html.scroll-native .noc-caption{animation:maria-cover-copy 1s linear both;animation-timeline:scroll(root block);animation-range:0px 80svh}
  html.scroll-native :is(.setup-step,.cat-list>li,.recent,.cards-grid>.card.reveal){animation:content-fly 1s linear both;animation-timeline:view();}
  html.scroll-native :is(.setup-step,.cat-list>li,.recent,.cards-grid>.card.reveal):focus-within{opacity:1;translate:none}
 }
}
@media(max-width:600px){
 .maria-product-page .noc-intro{min-height:580px}
 .noc-intro .noc-image{object-position:37% center}
 .noc-intro .noc-caption{padding:26px 22px;gap:20px}
 .noc-intro .noc-caption h2{font-size:2rem}
 .noc-intro .noc-caption .eyebrow{margin-bottom:12px}
 .blog-scroll-page .post-media{min-height:0;height:auto;aspect-ratio:880 / 516}
 .blog-scroll-page .post-media > img{object-fit:contain;object-position:center}
 .blog-scroll-page .post-media::after{display:none}
 .blog-scroll-page .post-body{padding:18px}
 .blog-scroll-page .post-title{font-size:1.13rem}
 .blog-scroll-page .post-excerpt{font-size:.86rem;line-height:1.5}
 .blog-scroll-page .read-more{min-height:44px}
}
/* Short viewports and zoomed layouts keep the complete articles reachable. */
@media(prefers-reduced-motion:reduce){
 .noc-intro .noc-figure{position:relative}.noc-intro .noc-caption{opacity:1;translate:none}
 .stack-slot{position:relative;top:auto}
 .stack-slot .post,.setup-step,.cat-list>li,.recent{animation:none!important;opacity:1;translate:none;scale:none;filter:none}
}

/* Keep the cover eyebrow readable over every part of the photograph. */
.noc-intro .noc-caption .eyebrow{
 display:inline-flex;align-items:center;width:fit-content;gap:0;
 padding:8px 12px;margin-bottom:16px;border:1px solid #76e2ed66;
 border-radius:6px;background:#081725;color:#8ff3ff;
 font-size:.75rem;font-weight:700;line-height:1.3;letter-spacing:.1em;
}
.noc-intro .noc-caption .eyebrow::before{display:none}
.maria-game-card .maria-game-description{max-width:54ch}

/* Release each pair instead of pinning the entire article archive. */
.stack-group{display:grid;gap:32px;min-width:0}
.noc-caption .btn{pointer-events:auto}
@supports(animation-timeline:scroll()){
 @media(prefers-reduced-motion:no-preference){
  html.scroll-native .stack-slot:focus-within{z-index:10}
 }
}
/* On compact screens, let articles flow freely rather than covering their links. */
@media(max-width:600px),(max-height:760px){
}
/* Blog cards stay in document flow so titles and language links remain reachable. */
.blog-scroll-page .blog-posts,
.blog-scroll-page .stack-group { display: flex; flex-direction: column; gap: 40px; }
.blog-scroll-page .stack-slot { position: relative; top: auto; }
.blog-scroll-page .stack-slot .post { transform: none; }
@keyframes blog-card-enter {
 from { opacity: .6; translate: 0 16px; }
 to { opacity: 1; translate: 0 0; }
}
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
 @media (prefers-reduced-motion: no-preference) {
  html.scroll-native .blog-scroll-page .stack-slot .post {
   animation: blog-card-enter 1s linear both;
   animation-timeline: view();
   animation-range: entry 0% entry 100%;
  }
  html.scroll-native .blog-scroll-page .stack-slot .post:focus-within {
   animation: none; opacity: 1; translate: none;
  }
 }
}
@media (prefers-reduced-motion: reduce) {
 .blog-scroll-page .stack-slot .post { animation: none !important; scale: none; translate: none; opacity: 1; }
}
