/* The entry's two flat fields peel away over the real destination hero. */
:root{--entry-hover-duration:180ms;--entry-exit-duration:460ms;--entry-exit-ease:cubic-bezier(.22,1,.36,1);--entry-dim:.62}
.entry-header{position:absolute;inset:0 0 auto;z-index:4;min-height:0;justify-content:center;padding-block:28px;pointer-events:none;background:none}
.entry-header>a{pointer-events:auto}.entry-header img{filter:none;opacity:1}
@supports (mask-image:url('')) or (-webkit-mask-image:url('')){
 .entry-header>a{position:relative;--entry-logo-color:var(--ink)}
 .entry-header img{opacity:0}
 .entry-header>a::after{content:'';position:absolute;inset:0;background:var(--entry-logo-color);mask:url("../brand/nagame-white.5c55845c9918.svg") center/contain no-repeat;-webkit-mask:url("../brand/nagame-white.5c55845c9918.svg") center/contain no-repeat;pointer-events:none}
 .entry-page:has(.entry-portfolio:focus-visible) .entry-header>a{--entry-logo-color:#fff}
 @media(hover:hover) and (pointer:fine){.entry-page:has(.entry-portfolio:hover) .entry-header>a{--entry-logo-color:#fff}}
 .entry-page:has(.entry-studio:focus-visible) .entry-header>a{--entry-logo-color:var(--ink)}
}
.entry-choices{min-height:max(560px,100svh)}.entry-choice{min-height:max(560px,100svh)}
.entry-studio .entry-copy{top:clamp(130px,19svh,220px)}.entry-portfolio .entry-copy{bottom:clamp(64px,11svh,160px)}
.entry-action,.entry-studio .entry-action,.entry-portfolio .entry-action{position:static;display:inline-flex;width:auto;min-height:44px;margin:0;padding:0;left:auto;right:auto;bottom:auto}
.entry-choice{transition:filter var(--entry-hover-duration) ease-out}
.entry-page .entry-choice h2{animation:none!important;clip-path:none;transform:none;opacity:1}
.entry-choices:has(.entry-studio:focus-visible) .entry-portfolio,.entry-choices:has(.entry-portfolio:focus-visible) .entry-studio{filter:brightness(var(--entry-dim))}
@media(hover:hover) and (pointer:fine){.entry-choices:has(.entry-studio:hover) .entry-portfolio,.entry-choices:has(.entry-portfolio:hover) .entry-studio{filter:brightness(var(--entry-dim))}}
.entry-arrival{display:none;position:fixed;inset:0;z-index:1001;overflow:hidden;pointer-events:none;contain:layout paint}
html[data-entry-arrival] .entry-arrival{display:block;animation:entry-curtain-safety 850ms step-end forwards}
.entry-arrival-matte{position:absolute;inset:0;background:var(--ink);animation:entry-curtain-fade 140ms linear both}
.entry-arrival-pane{position:absolute;will-change:transform,opacity;animation-duration:var(--entry-exit-duration);animation-timing-function:var(--entry-exit-ease);animation-fill-mode:both}
.entry-arrival-studio{left:var(--arrival-studio-x);top:var(--arrival-studio-y);width:var(--arrival-studio-w);height:var(--arrival-studio-h);background:var(--green);clip-path:url(#entry-studio-rift)}
.entry-arrival-portfolio{left:var(--arrival-portfolio-x);top:var(--arrival-portfolio-y);width:var(--arrival-portfolio-w);height:var(--arrival-portfolio-h);background:var(--ink);clip-path:url(#entry-portfolio-rift)}
html[data-entry-arrival="studio"] .entry-arrival-portfolio{filter:brightness(var(--entry-dim));animation-name:entry-curtain-right}
html[data-entry-arrival="portfolio"] .entry-arrival-studio{filter:brightness(var(--entry-dim));animation-name:entry-curtain-left}
html[data-entry-arrival="studio"] .entry-arrival-studio,html[data-entry-arrival="portfolio"] .entry-arrival-portfolio{animation:entry-curtain-fade 190ms 100ms ease-out both}
@keyframes entry-curtain-right{to{transform:translateX(105vw)}}
@keyframes entry-curtain-left{to{transform:translateX(-105vw)}}
@keyframes entry-curtain-fade{to{opacity:0}}
@keyframes entry-curtain-safety{to{visibility:hidden}}
@media(max-width:760px){
 .entry-header{padding-block:20px}
 .entry-choices{--entry-mobile-studio-height:56svh;--entry-mobile-studio-min:400px;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(min-content,max(var(--entry-mobile-studio-min),var(--entry-mobile-studio-height))) auto;min-height:100svh}
 .entry-choice{min-height:0;padding:28px 22px 32px;display:flex;flex-direction:column}
 .entry-studio{min-height:var(--entry-mobile-studio-min);padding-top:clamp(164px,22svh,196px)}.entry-studio .entry-copy,.entry-portfolio .entry-copy{position:static}
 .entry-copy>p{font-size:14px;line-height:1.5;margin:8px 0}
 .entry-arrival-studio{clip-path:url(#entry-mobile-rift)}.entry-arrival-portfolio{clip-path:none}
}
@media(prefers-reduced-motion:reduce){html[data-entry-arrival] .entry-arrival{display:none}.entry-choice{transition:none}}
.motion-reduced[data-entry-arrival] .entry-arrival{display:none}.motion-reduced .entry-choice{transition:none}
