/* Full-bleed showcase backgrounds, with their sharp subjects inside the header edge. */
.header .header-brand-group{display:flex;align-items:center;gap:14px;min-width:0;flex:none}
.header .header-social{display:flex;align-items:center;gap:4px;flex:none}
.header .social-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;flex:none;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);transition:color .2s,background .2s,border-color .2s}
.header .social-icon-button[hidden]{display:none!important}
.header .social-icon-button svg{display:block;width:17px;height:17px;fill:currentColor}
.header .social-icon-button:hover{background:var(--orange);border-color:var(--orange);color:var(--white)}
.header .social-icon-button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.hero-background .slide-design .hero-copy,.hero-background .slide-mascot .hero-copy,.hero-background .slide-opening .hero-copy{width:calc(50% - var(--hero-gutter));max-width:616px}
.hero-background .design-art{--showcase-poster:url("assets/dy-writing-cover.webp");background:#ff6500}
.hero-background .mascot-art{--showcase-poster:url("assets/zipzip-intro-poster.webp");background:#151a13}
.hero-background .opening-art{--showcase-poster:url("assets/trial-opening-poster.webp");background:#180d20}
.hero-background .night-motion-art{--showcase-poster:url("assets/gwazi-night-poster.webp");background:#000}
.hero-background .design-art:before,.hero-background .mascot-art:before,.hero-background .opening-art:before,.hero-background .night-motion-art:before{content:"";position:absolute;inset:-30px;background-image:var(--showcase-poster);background-repeat:no-repeat;background-size:cover;background-position:center 38%;filter:blur(22px);opacity:.55;transform:scale(1.03)}
.hero-background .hero-video-ambient{position:absolute;inset:0;width:100%;height:100%;max-width:none;filter:blur(24px);transform:scale(1.06);opacity:0;pointer-events:none}
.hero-background .ambient-ready .hero-video-ambient{opacity:1}
.hero-background .ambient-ready:before{opacity:0}
.hero-background .slide-design .hero-cover-image{inset:0 var(--hero-gutter) 0 auto;width:66%;height:100%;mask-image:linear-gradient(90deg,transparent,#000 16%,#000 calc(100% - 10px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 calc(100% - 10px),transparent)}
.hero-background .slide-design .hero-cover-image img{object-fit:cover;object-position:center 36%}
.hero-background .night-motion-art>video,.hero-background .mascot-art>video,.hero-background .opening-art>video{display:block;position:absolute;inset:0 var(--hero-gutter) 0 auto;height:100%;min-height:0;max-width:none;object-fit:cover;object-position:right center;background:transparent;mask-image:linear-gradient(90deg,transparent,#000 16%,#000 calc(100% - 10px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 calc(100% - 10px),transparent)}
.hero-background .night-motion-art>video{width:calc(80% - var(--hero-gutter));object-position:center 44%}
.hero-background .mascot-art>video{width:calc(100% - var(--hero-gutter));object-position:right center}
.hero-background .opening-art>video{width:66%;object-position:center 40%}
.hero-background .hero-visual-note:focus-visible{outline:2px solid var(--white);outline-offset:3px}
.hero-background .hero-inline-video{display:inline-flex;align-items:center;min-height:32px;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px}
.hero-background .hero-inline-video:hover{color:var(--white)}
.hero-background .hero-inline-video:focus-visible{outline:2px solid var(--white);outline-offset:3px}
.hero-background .carousel-controls{flex-wrap:nowrap}
.hero-background .carousel-tabs{position:relative;min-width:0;flex:0 1 auto;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none}
.hero-background .carousel-tabs::-webkit-scrollbar{display:none}
.hero-background .carousel-tabs button{min-height:44px;flex:none;white-space:nowrap;scroll-snap-align:center}
@media(max-width:1250px){
 .header .header-brand-group .brand>span{display:none}
 .header .nav-wrap{gap:22px}
 .header .desktop-nav{gap:19px}
}
@media(max-width:1150px){
 .header .header-brand-group{gap:12px}
 .header .header-brand-group .brand-logo{width:138px}
 .header .nav-wrap{gap:16px}
 .header .desktop-nav{gap:15px;font-size:12px}
}
@media(max-width:1100px){
 .header .desktop-nav{gap:13px;font-size:11px}
 .header .desktop-cta{font-size:11px;padding-inline:14px;gap:10px!important}
}
@media(max-width:900px){
 .header .header-brand-group .brand-logo{width:145px}
 .hero-background .carousel-tabs{gap:3px;margin-inline:3px}
 .hero-background .carousel-tabs button{padding-inline:8px;font-size:10px}
}
@media(max-width:680px){
 .header .nav-wrap{gap:12px}
 .header .header-brand-group{gap:10px}
 .header .header-brand-group .brand-logo{width:137px}
 .hero-background .slide-design .hero-copy,.hero-background .slide-mascot .hero-copy,.hero-background .slide-opening .hero-copy{width:100%;max-width:none;margin-left:0}
 .hero-background .slide-design .hero-cover-image,.hero-background .night-motion-art>video,.hero-background .mascot-art>video,.hero-background .opening-art>video{inset:0 var(--hero-gutter) 0 auto;width:calc(100% - var(--hero-gutter) * 2);height:100%;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
 .hero-background .slide-design .hero-cover-image img{object-position:center 30%}
 .hero-background .mascot-art>video{object-position:82% center}
 .hero-background .night-motion-art>video{object-position:center top}
 .hero-background .opening-art>video{object-position:center 35%}
 .hero-background .carousel-controls{gap:6px}
 .hero-background .carousel-controls>button{width:36px;height:44px}
 .hero-background .carousel-tabs{display:flex;order:0;flex:1 1 0;width:auto;gap:2px;margin:0;justify-content:flex-start}
 .hero-background .carousel-tabs button{min-width:0;padding:10px 8px;font-size:10px;line-height:1.5}
 .hero-background .carousel-controls>.carousel-pause{width:36px;flex:0 0 36px;margin-left:0;padding:0;font-size:0}
 .hero-background .carousel-pause:before{content:"Ⅱ";font-size:16px;line-height:1}
 .hero-background .carousel-pause[aria-pressed="true"]:before{content:"▶";font-size:12px}
 .hero-background .hero-inline-video{min-height:28px}
}
@media(max-width:360px){
 .header .header-brand-group{gap:8px}
 .header .header-brand-group .brand-logo{width:105px}
 .hero-background .carousel-tabs button{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.header .social-icon-button{transition:none}}
