/* Preserve the supplied reference's interaction colours and animation curves. */
/* Cyan sampled from the supplied controller icon. */
:root{--scrollbar-thumb:#32ebff;--scrollbar-track:#090a0f}
*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}
*::-webkit-scrollbar{width:6px;height:6px}
*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:var(--scrollbar-track)}
*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}
*::-webkit-scrollbar-thumb:hover{background:#35ffff}
.footer-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.footer-privacy{font-size:12px;color:#a5f3fc;text-decoration:underline;text-underline-offset:4px}
.form-notice .footer-privacy{display:inline-block;margin-top:8px;font-size:12px}
.button,.nav-contact{transition:background .2s,color .2s,box-shadow .2s,transform .2s,border-color .2s}
.button-dark:hover,.nav-contact:hover{background:#67e8f9;box-shadow:0 0 25px #06b6d473;transform:scale(1.05)}
.button-outline:hover{transform:scale(1.05);border-color:#22d3ee80;background:#ffffff14;box-shadow:0 0 25px #06b6d433}
.button:active,.nav-contact:active{transform:scale(.95)}
.showcase-play:hover{transform:scale(1.1);border-color:#67e8f9;box-shadow:0 0 60px #06b6d4cc}
.showcase-play:active{transform:scale(.95)}
.showcase-badge{display:inline-flex;gap:9px;align-items:center}
.showcase-badge:before{content:'';display:block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#22d3ee;box-shadow:0 0 8px #06b6d4cc;animation:reference-badge-pulse 2s ease-in-out infinite}
/* A soft moving glow in the lower-right corner keeps the centre clear. */
.reference-showcase .showcase-ambient{opacity:1}
.reference-showcase .showcase-ambient i{will-change:transform}
.reference-showcase .showcase-ambient i:nth-child(1){width:300px;height:280px;left:calc(100% - 330px);top:calc(100% - 290px);filter:blur(75px);background:linear-gradient(45deg,#06b6d44d,#2563eb2e);animation:showcase-drift-cyan 9s ease-in-out -3s infinite alternate}
.reference-showcase .showcase-ambient i:nth-child(2){width:300px;height:300px;left:calc(100% - 230px);top:calc(100% - 340px);filter:blur(80px);background:linear-gradient(45deg,#4f46e538,#8b5cf633);animation:showcase-drift-violet 12s ease-in-out -6s infinite alternate}
.reference-showcase .showcase-ambient i:nth-child(3){width:250px;height:240px;left:calc(100% - 280px);top:calc(100% - 150px);filter:blur(70px);background:linear-gradient(45deg,#22d3ee33,#2dd4bf1f);animation:showcase-drift-cyan 10s ease-in-out -7s infinite alternate-reverse}
.reference-showcase .showcase-ambient i:nth-child(4){width:260px;height:260px;left:calc(100% - 130px);top:calc(100% - 230px);filter:blur(80px);background:linear-gradient(45deg,#6366f138,#d946ef24);animation:showcase-drift-violet 11s ease-in-out -2s infinite alternate-reverse}
@keyframes showcase-drift-cyan{0%{transform:translate(-18px,12px) scale(.94)}100%{transform:translate(24px,-18px) scale(1.2)}}
@keyframes showcase-drift-violet{0%{transform:translate(24px,-16px) scale(1.03)}100%{transform:translate(-24px,20px) scale(1.24)}}
/* Match the original's tall, luminous spectrum and filled pulse bloom. */
.showcase-waveform{height:96px;gap:7px;padding:12px 24px;border-color:#22d3ee4d;background:rgba(8,14,32,.32);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:inset 0 1px 0 #ffffff14,0 0 32px #06b6d426}
.showcase-waveform i{width:6px;background:linear-gradient(to top,#06b6d433,#22d3ee);box-shadow:0 0 8px #06b6d480}
.showcase-waveform i:nth-child(5),.showcase-waveform i:nth-child(7){background:linear-gradient(to top,#6366f14d,#c084fc);box-shadow:0 0 10px #818cf8b3}
.showcase-waveform i:nth-child(6){background:linear-gradient(to top,#6366f14d,#a5f3fc);box-shadow:0 0 12px #22d3eebf}
.showcase-play{border-color:#67e8f999;background:#e0f2fe1f;box-shadow:0 0 30px #06b6d447,inset 0 0 18px #a5f3fc1a}
.showcase-ring{width:92px;height:92px;border-color:#67e8f980;background:radial-gradient(circle,#22d3ee14 30%,#22d3ee40 65%,#22d3ee00 74%);box-shadow:0 0 16px #22d3ee33;filter:blur(5px);animation:showcase-bloom 1.5s cubic-bezier(.215,.61,.355,1) infinite}
.showcase-ring.ring-two{width:112px;height:112px;border-color:#a5b4fc80;background:radial-gradient(circle,#818cf800 40%,#818cf824 68%,#818cf800 75%);box-shadow:0 0 18px #818cf833;filter:blur(2px);animation-delay:-.75s}
@keyframes showcase-bloom{0%{transform:scale(.75);opacity:.85}85%,100%{transform:scale(1.85);opacity:0}}
.showcase-game-name,.showcase-hint{text-shadow:0 1px 12px #090a0f,0 0 18px #06b6d480}
.hero-intro,.reference-showcase{animation-duration:.85s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
@keyframes reference-enter{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){
 .reference-showcase .showcase-ambient i:nth-child(1){width:180px;height:190px;left:calc(100% - 180px);top:calc(100% - 260px);filter:blur(55px)}
 .reference-showcase .showcase-ambient i:nth-child(2){width:190px;height:190px;left:calc(100% - 125px);top:calc(100% - 280px);filter:blur(60px)}
 .reference-showcase .showcase-ambient i:nth-child(3){width:160px;height:160px;left:calc(100% - 145px);top:calc(100% - 170px);filter:blur(55px)}
 .reference-showcase .showcase-ambient i:nth-child(4){width:170px;height:190px;left:calc(100% - 70px);top:calc(100% - 210px);filter:blur(60px)}
 .showcase-waveform{height:78px;gap:6px;padding:10px 17px}
 .showcase-waveform i{width:5px}
}
.business-card:hover{border-color:#ffffff4d;box-shadow:0 16px 35px #06b6d438}
.business-card:nth-child(2):hover{border-color:#ffffff4d;box-shadow:0 16px 35px #6366f138}
.partner-track>.partner-grid>div{border:0}
@keyframes reference-badge-pulse{0%,100%{opacity:1}50%{opacity:.4}}
@media(max-width:640px){.hero-bottom{flex-wrap:wrap;gap:14px}.hero-bottom>div:first-child{width:100%;justify-content:space-between}.hero-bottom-actions{width:100%;justify-content:space-between}.hero-bottom-actions>a{font-size:9px}.motion-toggle{min-height:40px;font-size:11px}.showcase-center{padding-block:24px}.hero-panel.reference-showcase{min-height:510px}}
@media(prefers-reduced-motion:reduce){.showcase-badge:before,.showcase-ambient i,.showcase-waveform i,.showcase-ring,.partner-track{animation:none!important}.button:hover,.nav-contact:hover,.showcase-play:hover,.business-card:hover{transform:none}}

/* Approved sky-blue DATACRAFT wordmark for the dark background. */
.brand{flex-shrink:0;line-height:1}
.brand-logo-frame{display:block;position:relative;overflow:hidden;width:170px;aspect-ratio:1458 / 523}
.brand .brand-logo{display:block;width:100%;height:auto;max-width:100%;animation:logo-color-breathe 12s ease-in-out infinite;filter:hue-rotate(0deg) saturate(1) brightness(1) contrast(1)}
/* Move from sky blue through scrollbar cyan to a deeper blue; retain black/white lettering. */
@keyframes logo-color-breathe{
 0%,100%{filter:hue-rotate(0deg) saturate(1) brightness(1) contrast(1)}
 35%{filter:hue-rotate(-9.2deg) saturate(.98) brightness(1.22) contrast(1)}
 70%{filter:hue-rotate(7deg) saturate(1.12) brightness(.94) contrast(1.14)}
}
@media(prefers-reduced-motion:reduce){.brand .brand-logo{animation:none;filter:none}}
.site-footer .brand-logo-frame{width:160px}
@media(max-width:640px){.brand-logo-frame{width:148px}.site-footer .brand-logo-frame{width:145px}}
@media(max-width:360px){.brand-logo-frame{width:120px}}
/* Give the logo and navigation more room while preserving anchor spacing. */
html{scroll-padding-top:120px}
.site-header{height:104px}
.site-header .brand{transform:translateY(-6px)}
.mobile-nav{top:103px;max-height:calc(100dvh - 104px)}
.showcase-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;z-index:-2;pointer-events:none}
.reference-showcase .showcase-ambient{background:transparent}
.trailer-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:none;pointer-events:none}
.trailer-card>img,.trailer-card:hover>img{filter:none}
.trailer-card .video-shade{display:none}
.preview-unavailable{visibility:hidden}
.showcase-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;z-index:-2;pointer-events:none}
.showcase-poster[hidden],.showcase-video[hidden],.trailer-preview[hidden]{display:none}
.video-content>iframe{min-height:200px}
.video-external{display:flex;justify-content:flex-end;padding:12px 18px;border-top:1px solid #ffffff14}
.video-external a{font-size:13px;color:#a5f3fc;text-decoration:underline;text-underline-offset:4px;padding:8px}
.about-film>[data-video-poster]{opacity:.55}
@media(max-width:640px){html{scroll-padding-top:97px}.site-header{height:88px}.mobile-nav{top:87px;max-height:calc(100dvh - 88px)}}
/* The main artwork is static and shown without recolouring or cropping. */
.hero-panel.hero-image-showcase{display:block;min-height:0;padding:0}
.hero-image-showcase .showcase-image{display:block;width:100%;height:auto;max-width:100%;filter:none}
.hero-image-showcase .showcase-top{position:absolute;top:28px;left:28px;right:28px}
.hero-image-showcase .showcase-bottom{position:absolute;bottom:24px;left:24px;right:24px}
.hero-image-showcase .showcase-tabs,.hero-image-showcase .showcase-badge{backdrop-filter:blur(16px)}
@media(max-width:640px){
  html,body{scrollbar-width:none;-ms-overflow-style:none}
  html::-webkit-scrollbar,body::-webkit-scrollbar,.shorts-grid::-webkit-scrollbar,.mobile-nav::-webkit-scrollbar,dialog::-webkit-scrollbar{display:none;width:0;height:0}
  .shorts-grid,.mobile-nav,dialog{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
  .hero-panel.hero-image-showcase{display:flex;flex-direction:column;min-height:0;padding:0}
  .hero-image-showcase .showcase-top{position:static;order:0;padding:15px;gap:10px}
  .hero-image-showcase .showcase-image{order:1;flex:none}
  .hero-image-showcase .showcase-bottom{position:static;order:2;margin:14px;border-radius:12px}
}
.character-lineup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.22fr) minmax(0,1fr);align-items:center;gap:24px;margin-top:38px}
.character-card{height:clamp(220px,24vw,340px);display:flex;justify-content:center;align-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:radial-gradient(ellipse at 50% 75%,rgba(56,189,248,.1),transparent 72%),#10141e;transition:transform .3s,border-color .3s}
.character-card-featured{height:clamp(280px,31vw,440px);border-color:rgba(103,232,249,.3);background:radial-gradient(ellipse at 50% 70%,rgba(99,102,241,.2),transparent 75%),#111725}
.character-card img{display:block;flex:none;width:auto;height:86%;max-width:none;object-fit:contain}
.character-card-featured img{height:82%}
.character-card:hover{transform:translateY(-4px);border-color:rgba(103,232,249,.4)}
@media(max-width:640px){.character-lineup{gap:8px;margin-top:24px}.character-card{height:42vw;min-height:130px;border-radius:14px}.character-card-featured{height:55vw;min-height:170px}.character-card img{height:86%}.character-card-featured img{height:82%}}
@media(prefers-reduced-motion:reduce){.character-card:hover{transform:none}}
.game-title-art{margin-top:38px;border:1px solid rgba(255,255,255,.1);border-radius:22px;overflow:hidden;background:#10141e}
.game-title-art img{display:block;width:100%;height:auto;max-width:100%;filter:none}
@media(max-width:640px){.game-title-art{margin-top:24px;border-radius:14px}}
/* Keep playback centred; dock only the animated waveform at the lower right. */
.reference-showcase .showcase-center{display:flex;flex-direction:column;align-self:center;align-items:center;gap:16px;margin:0;padding:32px 0}
.showcase-center .showcase-game-name{font-size:13px}
.showcase-center .showcase-waveform{position:absolute;right:32px;bottom:124px;height:80px;padding:10px 20px;gap:6px}
.showcase-center .showcase-waveform i{width:5px}
.showcase-center .showcase-play-wrap{width:130px;height:110px}
.showcase-center .showcase-play{width:80px;height:80px}
.showcase-center .showcase-ring{width:92px;height:92px}
.showcase-center .showcase-ring.ring-two{width:112px;height:112px}
.showcase-center .showcase-hint{font-size:9px}
@media(max-width:640px){
 .reference-showcase .showcase-center{gap:14px;padding:24px 0}
 .showcase-center .showcase-game-name{font-size:11px}
 .showcase-center .showcase-waveform{right:16px;bottom:134px;height:62px;padding:9px 12px;gap:4px;border-radius:12px}
 .showcase-center .showcase-waveform i{width:4px}
 .showcase-center .showcase-play{width:68px;height:68px}
 .showcase-center .showcase-hint{display:none}
}

/* Company milestones supplied by DATACRAFT. */
.company-history{margin:48px 0 56px;padding:32px;border:1px solid #32ebff24;border-radius:20px;background:linear-gradient(120deg,#32ebff06,transparent)}
.history-heading h3{margin-top:8px;font-size:24px;font-weight:600}
.history-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:36px 0 0}
.history-timeline li{position:relative;border-top:1px solid #32ebff45;padding:28px 20px 0 0}
.history-dot{position:absolute;left:0;top:-5px;width:9px;height:9px;border-radius:50%;background:#32ebff;box-shadow:0 0 16px #32ebff55}
.history-year{color:#32ebff;font-size:30px;font-weight:600;letter-spacing:-.04em}
.history-timeline h4{font-size:17px;font-weight:500;color:#e2e8f0;margin:6px 0 0}
@media(max-width:640px){
 .company-history{padding:24px;margin:32px 0}
 .history-heading h3{font-size:21px}
 .history-timeline{grid-template-columns:1fr;margin-top:28px}
 .history-timeline li{border-top:0;border-left:1px solid #32ebff45;padding:0 0 28px 24px}
 .history-timeline li:last-child{padding-bottom:0}
 .history-dot{left:-5px;top:12px}
 .history-year{font-size:26px}
 .history-timeline h4{font-size:16px}
}

.company-team{margin:0 0 56px;scroll-margin-top:110px}
.team-heading h3{font-size:24px;margin-top:8px;font-weight:600}
.ceo-card{display:grid;grid-template-columns:1fr 2fr;gap:40px;align-items:center;padding:32px;margin-top:24px;border:1px solid #32ebff24;border-radius:20px;background:linear-gradient(120deg,#32ebff08,transparent)}
.ceo-role{color:#32ebff;font-size:12px;letter-spacing:.08em}
.ceo-identity h4{font-size:30px;letter-spacing:-.03em;font-weight:600;margin:12px 0 0}
.ceo-bio{border-left:1px solid #32ebff24;padding-left:40px}
.ceo-bio>p{font-size:18px;color:#e2e8f0;font-weight:500}
.ceo-bio ul{margin:14px 0 0;padding-left:18px;color:#94a3b8;font-size:14px;line-height:2}
.ceo-bio li::marker{color:#32ebff}
@media(max-width:640px){.company-team{margin-bottom:32px}.team-heading h3{font-size:21px}.ceo-card{grid-template-columns:1fr;gap:24px;padding:24px}.ceo-identity h4{font-size:27px}.ceo-bio{border-left:0;border-top:1px solid #32ebff24;padding:22px 0 0}.ceo-bio>p{font-size:16px}.ceo-bio ul{font-size:13px}}

.history-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;list-style:none}
.history-summary::-webkit-details-marker{display:none}
.history-toggle{position:relative;flex:0 0 24px;width:24px;height:24px;color:#32ebff}
.history-toggle::before,.history-toggle::after{content:"";position:absolute;left:4px;top:11px;width:16px;height:2px;background:currentColor;border-radius:2px}
.history-toggle::after{transform:rotate(90deg);transition:transform .2s}
.company-history[open] .history-toggle::after{transform:rotate(0)}
@media(prefers-reduced-motion:reduce){.history-toggle::after{transition:none}}

.company-address{font-style:normal;font-size:14px;line-height:1.9;color:#94a3b8;margin-top:28px;max-width:400px}
.company-address>span{display:block;color:#32ebff;font-size:11px;letter-spacing:.1em;margin-bottom:8px}
.footer-company-info{flex:1;min-width:0;font-size:11px;color:#8292a8;line-height:1.9}
.footer-company-info address{font-style:normal;margin-bottom:6px;overflow-wrap:anywhere}
@media(max-width:640px){.company-address{font-size:13px}.footer-company-info{width:100%;flex:auto}}

/* Compact, matching disclosures for company information. */
.company-history,.company-team{margin:0 0 14px;padding:24px 28px;border:1px solid #32ebff24;border-radius:16px;background:#0b1016}
.company-team{margin-bottom:32px}
.history-heading h3,.team-heading h3{font-size:20px;margin-top:6px}
.company-team[open] .history-toggle::after{transform:rotate(0)}
.company-team .ceo-card{margin-top:24px;padding:24px 0;border:0;border-top:1px solid #ffffff12;border-radius:0;background:none}
.company-team .ceo-identity h4{font-size:26px}
.team-roles{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;border-top:1px solid #ffffff12}
.team-roles article{padding:22px 0}
.team-roles h4{font-size:14px;color:#32ebff;margin:0 0 10px;font-weight:600}
.team-roles h4 span{color:#e2e8f0;margin-left:8px;font-weight:400}
.team-roles p{font-size:13px;line-height:1.9;color:#94a3b8}
.about-film img[hidden]{display:none!important}
@media(max-width:640px){.company-history,.company-team{padding:20px}.history-heading h3,.team-heading h3{font-size:18px}.company-team .ceo-card{gap:18px}.team-roles{grid-template-columns:1fr}.team-roles article+article{border-top:1px solid #ffffff0c}}

.showcase-game-name,.showcase-hint{text-shadow:0 2px 6px #000,0 0 14px #000b}

/* Original supplied title artwork in the open centre of the hero. */
.hero-intro{position:relative}
.hero-title-art{position:absolute;width:36%;height:auto;left:48%;top:55%;transform:translate(-50%,-50%);pointer-events:none}
@media(min-width:641px) and (max-width:1100px){.hero-title-art{width:30%;left:81%;top:65%}}
@media(max-width:640px){.hero-title-art{position:static;display:block;width:min(100%,360px);margin:24px auto 0;transform:none}}

/* Let the title overlap the top edge of the game video. */
.hero-title-art{left:50%;top:100%;width:36%;transform:translate(-50%,-50%);z-index:3}
@media(min-width:641px) and (max-width:1100px){.hero-title-art{left:50%;top:100%;width:36%}}
@media(max-width:640px){.hero-title-art{position:absolute;left:50%;top:100%;width:min(76%,300px);margin:0;transform:translate(-50%,-50%)}.hero-intro{padding-bottom:110px}}

/* Keep the overlapping title above the video stacking context. */
.hero-intro{z-index:2}
.hero-panel.reference-showcase{z-index:1}

.video-settings{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 18px;font-size:13px;color:#cbd5e1}
.video-settings select{color:#a5f3fc;background:#101722;border:1px solid #32ebff40;border-radius:10px;padding:10px 32px 10px 12px;font:inherit;cursor:pointer;color-scheme:dark}
.video-settings>span{font-size:11px;color:#8292a8}
@media(max-width:640px){.video-settings{gap:10px}.video-settings>span{flex-basis:100%}}

/* Standalone short thumbnails carry their own lettering and full color. */
.short-card.thumbnail-only{cursor:default}
.short-card.thumbnail-only>img,.short-card.thumbnail-only:hover>img{filter:none;transform:none}
/* Crisp artwork with localized cyan controls. */
.hero-title-art{opacity:1;filter:contrast(1.2) saturate(1.22) drop-shadow(0 3px 2px #0007)}
.reference-showcase .showcase-ambient{opacity:0}
.showcase-video,.showcase-poster{opacity:1;filter:contrast(1.12) saturate(1.15)}
/* Preserve the graded trailer's full frame, including ears, on narrow screens. */
.reference-showcase .showcase-video,.reference-showcase .showcase-poster{object-fit:contain;filter:none;background:#070a12}
.showcase-center .showcase-play{background:#082e4a;border:2px solid #67e8f9;box-shadow:0 0 12px #22d3ee,0 0 32px #06b6d499,inset 0 0 18px #22d3ee66}
.showcase-center .showcase-ring{filter:none;border:2px solid #22d3ee;background:transparent;box-shadow:0 0 15px #22d3ee99}
.showcase-center .showcase-waveform{display:flex;opacity:1;background:#071d35;border-color:#22d3ee;backdrop-filter:none;box-shadow:0 0 20px #06b6d466}
.showcase-center .showcase-waveform i{background:linear-gradient(#b3faff,#06b6d4);box-shadow:0 0 8px #22d3ee}
/* Starlight on the star-story thumbnail. */
.short-card[data-video="short1"]{position:relative;overflow:hidden}
.short-card[data-video="short1"]::before{content:'✦';position:absolute;z-index:2;top:22%;left:64%;color:#fff8bc;font-size:34px;text-shadow:0 0 8px #fff,0 0 20px #ffe66d,0 0 40px #ffb700;pointer-events:none;animation:story-star-twinkle 2.3s ease-in-out infinite}
.short-card[data-video="short1"]::after{content:'';position:absolute;z-index:2;inset:-70%;background:linear-gradient(110deg,transparent 45%,#fff8c644 49%,#fff9cf88 50%,transparent 55%);pointer-events:none;animation:story-star-sweep 5s ease-in-out infinite}
@keyframes story-star-twinkle{0%,100%{opacity:.35;transform:scale(.65) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(40deg)}}
@keyframes story-star-sweep{0%,25%{transform:translateX(-65%)}65%,100%{transform:translateX(65%)}}
@media(prefers-reduced-motion:reduce){.short-card[data-video="short1"]::before{animation:none;opacity:.8}.short-card[data-video="short1"]::after{display:none}}

/* Existing short thumbnails now open their finished films on click. */
.short-card.short-video{cursor:pointer}
.short-video .short-play-cue{position:absolute;z-index:3;right:16px;bottom:16px;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #67e8f970;border-radius:30px;background:#071323ed;color:#f0fcff;font-size:11px;font-weight:600;line-height:1.3;pointer-events:none;box-shadow:0 4px 16px #0005}
.short-video .short-play-cue>span{color:#67e8f9;font-size:12px}

/* Size the opening scenery to the introduction, rather than the viewport. */
#game .hero-intro{padding-bottom:81px;min-height:0}
@media(max-width:640px){#game .hero-intro{padding-bottom:94px;min-height:0}}

/* Leave the compact scenery unchanged; show the video after scrolling. */
#game .game-title-art{margin-top:max(96px,calc(100svh - 492px))}
#game-film .hero-panel.reference-showcase{margin-top:32px}

/* Reduce the empty space above the shorts heading. */
#shorts{padding-top:36px}
@media(max-width:640px){#shorts{padding-top:24px}}

/* Tighten the space between the header and the opening title. */
#game.hero{padding-top:68px}
@media(max-width:640px){#game.hero{padding-top:44px}}

@media(max-width:640px){#game .game-title-art{margin-top:max(71px,calc(100svh - 517px))}}

/* Keep a large trailer with a compact introduction. */
#trailer{padding-top:24px;padding-bottom:40px}
#trailer .section-heading{margin-bottom:16px}
#trailer .section-kicker{margin-bottom:10px}
#trailer .video-settings{margin-bottom:12px}
#trailer .trailer-card{width:92%;aspect-ratio:16/9;margin-inline:auto}
@media(max-width:640px){#trailer .trailer-card{width:100%}}
#trailer .trailer-preview,#trailer .trailer-card>img{object-fit:contain}
#trailer .trailer-card:hover>img{transform:none}
@media(max-height:600px) and (min-width:641px){#trailer .media-top,#trailer .media-bottom{padding:12px 16px}#trailer .play-circle{width:54px;height:54px}}

/* Reduce only the space above the trailer, keeping the text comfortable. */
#trailer{padding-top:0;scroll-margin-top:-12px}
#trailer .section-heading{margin-bottom:24px;gap:40px;align-items:flex-start}
#trailer .section-kicker{margin-bottom:16px}
#trailer h2{letter-spacing:-.025em;line-height:1.4}
#trailer .section-description{font-size:16px;line-height:1.8}
#trailer .video-settings{margin-bottom:16px;gap:14px;font-size:13px}
#trailer .video-settings select{padding:10px 32px 10px 12px}
@media(max-width:640px){#trailer{scroll-margin-top:0}#trailer .section-description{font-size:14px;margin-top:16px}#trailer .section-heading{margin-bottom:16px}}

/* Small playback setting beneath the trailer. */
#trailer .video-settings{width:92%;margin:12px auto 0;gap:8px;font-size:11px;color:#8292a8}
#trailer .video-settings select{font-size:11px;padding:5px 24px 5px 8px;border-radius:7px;min-height:30px}
#trailer .video-settings>span{font-size:10px}
@media(max-width:640px){#trailer .video-settings{width:100%}#trailer .video-settings>span{flex-basis:auto}}

/* Slightly smaller trailer title, with the existing spacing preserved. */
#trailer h2{font-size:36px}
@media(max-width:1150px){#trailer h2{font-size:31px}}
@media(max-width:640px){#trailer h2{font-size:25px}}

/* Slightly narrower trailer and matching playback controls. */
#trailer .trailer-card,#trailer .video-settings{width:87%}
@media(max-width:640px){#trailer .trailer-card,#trailer .video-settings{width:95%}}

/* Fine adjustment to trailer title spacing. */
#trailer .section-heading{margin-bottom:16px}
#trailer .section-kicker{margin-bottom:12px}
@media(max-width:640px){#trailer .section-heading{margin-bottom:15px}}

/* Reveal the trailer caption only when its label is hovered or focused. */
#trailer .section-heading>div{position:relative}
#trailer .section-kicker{margin-bottom:0}
#trailer .section-kicker .trailer-caption-trigger{font:inherit;color:inherit;border:0;padding:0;letter-spacing:inherit;cursor:help}
#trailer .trailer-hover-caption{position:absolute;left:0;top:100%;z-index:5;width:max-content;max-width:calc(100vw - 48px);margin:8px 0 0;padding:12px 16px;border:1px solid #32ebff35;border-radius:10px;background:#0b1423;box-shadow:0 8px 24px #0005;font-size:20px;line-height:1.5;opacity:0;pointer-events:none;transition:opacity .15s}
#trailer .section-heading>div:has(.trailer-caption-trigger:hover) .trailer-hover-caption,#trailer .section-heading>div:has(.trailer-caption-trigger:focus) .trailer-hover-caption{opacity:1}
@media(max-width:640px){#trailer .trailer-hover-caption{font-size:16px}}
@media(prefers-reduced-motion:reduce){#trailer .trailer-hover-caption{transition:none}}

/* Match the shorts section to the trailer's compact label and media width. */
#shorts{padding-top:0;padding-bottom:180px;scroll-margin-top:-12px}
#shorts .section-heading{margin-bottom:16px;gap:40px;align-items:flex-start}
#shorts .section-heading>div{position:relative}
#shorts .section-kicker{margin-bottom:0}
#shorts .section-kicker .shorts-caption-trigger{font:inherit;color:inherit;border:0;padding:0;letter-spacing:inherit;cursor:help}
#shorts .shorts-hover-caption{position:absolute;left:0;top:100%;z-index:5;width:max-content;max-width:calc(100vw - 48px);margin:8px 0 0;padding:12px 16px;border:1px solid #32ebff35;border-radius:10px;background:#0b1423;box-shadow:0 8px 24px #0005;font-size:20px;line-height:1.5;letter-spacing:-.025em;opacity:0;pointer-events:none;transition:opacity .15s}
#shorts .section-heading>div:has(.shorts-caption-trigger:hover) .shorts-hover-caption,#shorts .section-heading>div:has(.shorts-caption-trigger:focus) .shorts-hover-caption{opacity:1}
#shorts .shorts-grid{width:87%;margin-inline:auto;gap:24px}
#shorts .short-item h3{font-size:15px;line-height:1.5;margin-top:14px}
#shorts .short-item>p{font-size:10px;margin-top:5px}
@media(max-width:640px){#shorts{padding-bottom:120px;scroll-margin-top:0}#shorts .section-heading{margin-bottom:15px}#shorts .shorts-grid{width:95%;gap:15px}#shorts .shorts-hover-caption{font-size:16px}#shorts .short-item h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){#shorts .shorts-hover-caption{transition:none}}

/* Show complete shorts and rotate the original cards within one viewport. */
#shorts .shorts-carousel{--shorts-card-height:max(220px,calc(100svh - 300px));width:87%;margin-inline:auto}
#shorts .shorts-window{width:100%;max-width:calc(var(--shorts-card-height) * 1.6875 + 48px);margin-inline:auto;overflow:hidden;touch-action:pan-y}
#shorts .shorts-grid{display:flex;flex-wrap:nowrap;width:100%;margin:0;gap:24px;padding:0;overflow:visible;scroll-snap-type:none;will-change:transform}
#shorts .short-item{flex:0 0 calc((100% - 48px) / 3);min-width:0;scroll-snap-align:none}
#shorts .short-card{aspect-ratio:9/16}
#shorts .short-card>img{object-fit:contain;user-select:none;-webkit-user-drag:none}
#shorts .shorts-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}
#shorts .shorts-carousel-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #67e8f94d;border-radius:999px;background:#121c28;color:#c9f5fc;font-size:16px;line-height:1.4;cursor:pointer}
#shorts .shorts-carousel-controls button:hover{background:#193242;border-color:#67e8f9}
#shorts .shorts-carousel-controls button:focus-visible{outline:2px solid #67e8f9;outline-offset:3px}
#shorts .shorts-carousel-controls .shorts-auto-toggle{font-size:12px;min-width:108px}
#shorts .shorts-position{min-width:34px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:#a9bbd3}
@media(max-width:640px){
 #shorts .shorts-carousel{--shorts-card-height:max(220px,calc(100svh - 285px));width:95%}
 #shorts .shorts-window{max-width:calc(var(--shorts-card-height) * .5625)}
 #shorts .shorts-grid{width:100%;gap:15px}
 #shorts .short-item{flex-basis:100%}
 #shorts .shorts-carousel-controls{gap:8px}
 #shorts .short-play-cue{left:8px;right:8px;bottom:10px;justify-content:center;gap:6px;padding:8px 6px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){#shorts .shorts-grid{will-change:auto}}

/* Match About to the compact sections while retaining the company description. */
#about{padding-top:0;scroll-margin-top:-12px}
#about>.container{position:relative}
#about .about-label{margin-bottom:0}
#about .about-caption-trigger{font:inherit;color:inherit;border:0;padding:0;letter-spacing:inherit;cursor:help}
#about .about-heading{display:flex;justify-content:flex-end;gap:0;margin:12px 0 24px}
#about .about-heading>p{font-size:15px;line-height:1.8;margin:0;max-width:390px}
#about #about-title{position:absolute;left:0;top:26px;z-index:5;width:max-content;max-width:calc(100vw - 48px);margin:0;padding:12px 16px;border:1px solid #32ebff35;border-radius:10px;background:#0b1423;box-shadow:0 8px 24px #0005;font-size:20px;line-height:1.5;letter-spacing:-.025em;opacity:0;pointer-events:none;transition:opacity .15s}
#about>.container:has(.about-caption-trigger:hover) #about-title,#about>.container:has(.about-caption-trigger:focus) #about-title{opacity:1}
#about .company-history,#about .company-team,#about .about-film{width:87%;margin-left:auto;margin-right:auto}
#about .company-history,#about .company-team{padding:20px 24px}
#about .history-heading h3,#about .team-heading h3{font-size:18px}
@media(max-width:640px){#about{scroll-margin-top:0}#about .about-heading{margin:16px 0 20px;justify-content:flex-start}#about .about-heading>p{font-size:14px;max-width:100%}#about #about-title{font-size:16px}#about .company-history,#about .company-team,#about .about-film{width:95%}#about .company-history,#about .company-team{padding:18px}#about .history-heading h3,#about .team-heading h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){#about #about-title{transition:none}}

/* Business follows the compact section headings and shared content width. */
#business{padding-top:0;scroll-margin-top:-12px}
#business .section-heading{margin-bottom:36px}
#business .section-heading>div{position:relative}
#business .section-kicker{margin-bottom:0}
#business .business-caption-trigger{font:inherit;color:inherit;border:0;padding:0;letter-spacing:inherit;cursor:help}
#business #business-title{position:absolute;left:0;top:100%;z-index:5;width:max-content;max-width:calc(100vw - 48px);margin:8px 0 0;padding:12px 16px;border:1px solid #32ebff35;border-radius:10px;background:#0b1423;box-shadow:0 8px 24px #0005;font-size:20px;line-height:1.5;letter-spacing:-.025em;opacity:0;pointer-events:none;transition:opacity .15s}
#business .section-heading>div:has(.business-caption-trigger:hover) #business-title,#business .section-heading>div:has(.business-caption-trigger:focus) #business-title{opacity:1}
#business .business-grid{width:87%;margin-inline:auto}
@media(max-width:640px){#business{scroll-margin-top:0}#business .section-heading{margin-bottom:28px}#business .business-grid{width:95%}#business #business-title{font-size:16px}}
@media(prefers-reduced-motion:reduce){#business #business-title{transition:none}}

/* Consistent compact headings for the remaining company sections. */
.unified-section{padding-top:0!important;scroll-margin-top:-12px}
.unified-heading{position:relative;margin-bottom:16px}
.unified-heading .section-kicker{margin-bottom:0}
.section-kicker.section-label{font-size:14px;font-weight:600;line-height:1.4;letter-spacing:0}
@media(max-width:640px){.section-kicker.section-label{font-size:13px}}
.unified-heading .unified-caption-trigger{font:inherit;color:inherit;letter-spacing:inherit;border:0;padding:0;cursor:help}
.unified-heading .unified-caption{position:absolute;left:0;top:100%;z-index:5;width:max-content;max-width:calc(100vw - 48px);margin:8px 0 0;padding:12px 16px;border:1px solid #32ebff35;border-radius:10px;background:#0b1423;box-shadow:0 8px 24px #0005;font-size:20px;line-height:1.5;letter-spacing:-.025em;opacity:0;pointer-events:none;transition:opacity .15s}
.unified-heading:has(.unified-caption-trigger:hover) .unified-caption,.unified-heading:has(.unified-caption-trigger:focus) .unified-caption{opacity:1}
.unified-content{width:87%;margin-inline:auto}
#service{display:block}
#service .service-content{display:flex;flex-direction:column;gap:22px}
#service .service-intro{order:2}
#service .service-list{width:100%}
#partner .section-heading{margin-bottom:20px}
#contact .contact-email{margin-top:0}
@media(max-width:640px){.unified-section{scroll-margin-top:0}.unified-heading{margin-bottom:15px}.unified-heading .unified-caption{font-size:16px}.unified-content{width:95%}}
@media(prefers-reduced-motion:reduce){.unified-heading .unified-caption{transition:none}}

/* Give Business its own screen before the achievements section starts. */
#business{min-height:calc(100svh - 68px)}
@media(max-width:640px){#business{min-height:calc(100svh - 60px)}}

/* Keep the next section below the achievements screen. */
#achievement{min-height:calc(100svh - 68px)}
@media(max-width:640px){#achievement{min-height:calc(100svh - 60px)}}

/* Keep Contact below the Partner screen. */
#partner{min-height:calc(100svh - 68px)}
@media(max-width:640px){#partner{min-height:calc(100svh - 60px)}}

/* Place decorative controls outside the unobstructed video frame. */
#game-film .hero-panel.reference-showcase{min-height:0;padding:0;gap:0;background:#0b1019}
.reference-showcase .showcase-top{padding:16px 22px;position:relative}
.showcase-media-stage{position:relative;width:100%;aspect-ratio:16/9;isolation:isolate;overflow:hidden;background:#070a12}
.reference-showcase .showcase-media-stage>.showcase-video,.reference-showcase .showcase-media-stage>.showcase-poster{z-index:0;object-fit:contain;opacity:1;filter:none}
.reference-showcase .showcase-center{position:absolute;inset:0;z-index:1;padding:0;justify-content:center;pointer-events:none}
.reference-showcase .showcase-game-name,.reference-showcase .showcase-hint{display:none}
.showcase-media-stage .showcase-play-wrap{opacity:0;transition:opacity .2s}
.showcase-media-stage:hover .showcase-play-wrap,.showcase-media-stage:focus-within .showcase-play-wrap{opacity:1}
.showcase-media-stage .showcase-play{pointer-events:auto}
.reference-showcase .showcase-bottom{position:relative;margin:0;padding:16px 22px;gap:18px;flex-wrap:wrap;border:0;border-top:1px solid #ffffff12;border-radius:0;background:#0b1019;backdrop-filter:none}
.showcase-bottom .showcase-waveform{position:static;height:48px;gap:4px;padding:7px 12px;margin-left:auto;flex-shrink:0;background:#071d3580;box-shadow:none;border-color:#22d3ee40}
.showcase-bottom .showcase-waveform i{width:4px}
@media(max-width:640px){.reference-showcase .showcase-top{padding:12px}.reference-showcase .showcase-bottom{padding:12px;gap:12px}.showcase-bottom .showcase-waveform{margin-left:0}.reference-showcase .showcase-bottom>.button{width:auto;flex:1;margin:0}.showcase-media-stage .showcase-play-wrap{transform:scale(.7)}}
@media(hover:none){.showcase-media-stage .showcase-play-wrap{opacity:1}.showcase-media-stage .showcase-ring{display:none}.showcase-media-stage .showcase-play{background:#082e4a99;box-shadow:none}}

/* A standalone game-film section, separated from the main introduction. */
#game-film{padding-top:0;padding-bottom:64px;min-height:calc(100svh - 68px);scroll-margin-top:-12px;margin-top:48px}
#game-film .hero-panel.reference-showcase{width:87%;margin:0 auto}
#game-film>.hero-bottom{width:87%;margin-inline:auto}
@media(max-width:640px){#game-film{min-height:calc(100svh - 60px);scroll-margin-top:0;margin-top:32px;padding-bottom:40px}#game-film .hero-panel.reference-showcase,#game-film>.hero-bottom{width:95%}}

/* Lower only the film frame height; retain its existing width and full picture. */
#game-film .showcase-media-stage{aspect-ratio:auto;height:clamp(260px,calc(100svh - 290px),540px);border-radius:20px;overflow:hidden}
#game-film .showcase-media-stage>.showcase-video,#game-film .showcase-media-stage>.showcase-poster{border-radius:inherit;object-fit:contain}
@media(max-width:640px){#game-film .showcase-media-stage{height:auto;aspect-ratio:16/9;border-radius:15px}}

/* Full-width video scenery behind the opening introduction. */
#main{overflow-x:clip}
#game .hero-intro{isolation:isolate}
.intro-background{position:absolute;top:-68px;bottom:0;left:calc(50% - 50vw);width:100vw;z-index:-1;overflow:hidden;pointer-events:none;background:#10131b}
.intro-background video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.intro-background::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#090d16a6,transparent 70%),linear-gradient(0deg,#10131b,transparent 22%)}
#game h1,#game .hero-description{text-shadow:0 2px 12px #000a}
#game .hero-description{color:#d5e2f4}
@media(max-width:640px){.intro-background{top:-44px}.intro-background::after{background:linear-gradient(90deg,#090d1699,#090d1633),linear-gradient(0deg,#10131b,transparent 20%)}}

/* Align the background film with the original introduction text position. */
#game .intro-background{top:0;bottom:-68px}
@media(max-width:640px){#game .intro-background{top:0;bottom:-44px}}

/* Hide duplicate overlay copy without moving the two action buttons. */
#game #game-title,#game .hero-description{opacity:0;pointer-events:none;text-shadow:none}

/* Show the intro film without the dark overlay. */
#game .intro-background::after{display:none}

/* RETRO JUMP groups the existing game, trailer and shorts destinations. */
.retro-nav-group{position:relative}
.retro-nav-toggle{display:flex;align-items:center;gap:8px;padding:0;background:none;color:#94a3b8;font-size:11px;letter-spacing:.02em;white-space:nowrap;transition:color .2s}
.retro-nav-toggle:hover,.retro-nav-toggle.active,.retro-nav-toggle[aria-expanded="true"]{color:#b5f0fc}
.retro-nav-toggle:focus-visible,.retro-submenu a:focus-visible{outline:2px solid #67e8f9;outline-offset:3px}
.retro-nav-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.retro-nav-toggle[aria-expanded="true"] .retro-nav-chevron{transform:translateY(1px) rotate(225deg)}
.retro-submenu[hidden]{display:none}
.desktop-nav{align-items:center}
.desktop-nav .retro-nav-toggle{position:relative}
.desktop-nav .retro-nav-toggle:after{content:'';position:absolute;bottom:-7px;left:0;right:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#38bdf8,#818cf8);box-shadow:0 0 10px #38bdf85e;opacity:0;transition:opacity .2s}
.desktop-nav .retro-nav-toggle.active:after,.desktop-nav .retro-nav-toggle[aria-expanded="true"]:after{opacity:1}
.desktop-nav .retro-submenu{position:absolute;z-index:1;top:calc(100% + 32px);left:-18px;min-width:168px;padding:4px;border:1px solid #32ebff35;border-radius:14px;background:rgba(16,23,34,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 16px 32px #0007}
.desktop-nav .retro-submenu:before{content:'';position:absolute;left:0;right:0;top:-33px;height:33px}
.desktop-nav .retro-submenu a{display:flex;align-items:center;min-height:28px;padding:4px 14px;border-radius:8px;color:#fff;font-size:12px;line-height:1.4;letter-spacing:0}
.desktop-nav .retro-submenu a:after{display:none}
.desktop-nav .retro-submenu a:hover,.desktop-nav .retro-submenu a:focus-visible,.desktop-nav .retro-submenu a.active{background:#32ebff12;color:#fff}
.mobile-nav .retro-nav-toggle{width:100%;min-height:52px;padding:12px 0;gap:25px;border-bottom:1px solid var(--line);text-align:left;font-size:17px;color:#e2e8f0}
.mobile-nav .retro-nav-chevron{margin-left:auto;margin-right:4px}
.mobile-nav .retro-submenu{margin:8px 0 10px;padding:4px 12px 4px 20px;border-radius:12px;background:rgba(16,23,34,.82);border:1px solid #32ebff25}
.mobile-nav .retro-submenu a{min-height:40px;padding:6px 0;font-size:13px;line-height:1.4;color:#fff;border-bottom-color:#ffffff0b}
.mobile-nav .retro-submenu a:last-child{border-bottom:0}
.mobile-nav .retro-submenu a:hover,.mobile-nav .retro-submenu a:focus-visible{color:#b5f0fc}
.mobile-nav>a.active,.mobile-nav>a.active>span,.mobile-nav .retro-submenu a.active{color:#b5f0fc}
@media(min-width:1001px) and (max-width:1150px){.desktop-nav .retro-nav-toggle{font-size:10px}}
@media(prefers-reduced-motion:reduce){.retro-nav-toggle,.retro-nav-chevron,.desktop-nav .retro-nav-toggle:after{transition:none}}

/* Leave breathing room below the fixed header when opening a category. */
#game-film,#trailer,#shorts,#about,#business,.unified-section{scroll-margin-top:12px}
@media(max-width:640px){#game-film,#trailer,#shorts,#about,#business,.unified-section{scroll-margin-top:16px}}

/* Consistent compact type and spacing throughout the top navigation. */
.desktop-nav>a,.desktop-nav .retro-nav-toggle{display:flex;align-items:center;min-height:28px;padding:4px 0;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:0}
.desktop-nav .retro-submenu a{font-size:12px}
.site-header .nav-contact{font-size:14px;padding:10px 20px}
@media(min-width:1001px) and (max-width:1150px){.desktop-nav>a,.desktop-nav .retro-nav-toggle{font-size:13px}}
@media(max-width:640px){.site-header .nav-contact{font-size:13px;padding:10px 14px}}

/* Align the navigation with the wordmark, below the logo's tall symbol. */
.site-header .desktop-nav,.site-header .nav-contact,.site-header .menu-toggle{position:relative;top:8px}
@media(max-width:640px){.site-header .brand{transform:translateY(-5px)}.site-header .nav-contact,.site-header .menu-toggle{top:7px}}
@media(max-width:360px){.site-header .brand{transform:translateY(-4px)}.site-header .nav-contact,.site-header .menu-toggle{top:6px}}

/* Keep the next category below the screen when opening a mobile section. */
@media(max-width:1000px){
 #game-film,#trailer,#shorts,#about,#business,#achievement,#service,#partner,#contact{
  min-height:calc(100svh - 60px);
  min-height:calc(100dvh - 60px);
 }
}

/* Keep mobile contact controls readable and reachable without clipping. */
@media(max-width:640px){
 #contact{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
 #contact .unified-heading{margin-bottom:12px}
 #contact .contact-grid{gap:20px;min-width:0}
 #contact .contact-copy,#contact .contact-form{min-width:0}
 #contact .contact-email{font-size:clamp(18px,5.2vw,22px);line-height:1.35;overflow-wrap:anywhere}
 #contact .contact-email span{margin-left:8px}
 #contact .copy-email{min-height:44px;padding:6px 0}
 #contact .company-address{margin-top:14px;line-height:1.6}
 #contact .company-address>span{margin-bottom:6px}
 #contact .contact-form{gap:12px}
 #contact .contact-form label{line-height:1.5}
 #contact .form-row{gap:16px}
 #contact .contact-form input,#contact .contact-form textarea{font-size:16px;line-height:1.5;padding-block:8px;scroll-margin-block:120px 24px}
 #contact .contact-form input{min-height:44px}
 #contact .contact-form textarea{min-height:92px}
 #contact .form-notice{font-size:12px;line-height:1.5}
 #contact .form-notice .footer-privacy{margin-top:4px}
 #contact .contact-submit{width:100%;min-height:48px;padding:12px 16px;gap:16px;scroll-margin-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 .site-header .nav-wrap{gap:8px}
 .site-header .nav-contact{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0}
 .site-header .menu-toggle{flex:0 0 44px;width:44px;height:44px;padding:10px 11px}
}
@media(max-width:640px) and (max-height:760px){
 #contact .contact-grid{gap:12px}
 #contact .company-address{margin-top:8px}
 #contact .contact-form{gap:10px}
}
@media(max-width:360px){
 .site-header .nav-wrap{width:calc(100% - 24px)}
 .site-header .brand-logo-frame{width:116px}
 #contact .form-row{flex-direction:column;gap:12px}
}
@media(min-width:1001px){
 #contact{min-height:calc(100svh - 104px);min-height:calc(100dvh - 104px)}
}

/* Align the visible logo edge, category labels and footer copy. */
.site-header .brand-logo-frame,.site-footer .brand-logo-frame{transform:translateX(-1.4%)}
#main .section-label{position:relative;left:0}
.site-footer:has(.footer-bottom){flex-direction:column;align-items:stretch;gap:16px;text-align:left}
.site-footer>.brand{align-self:flex-start}
.site-footer .footer-company-info{flex:none;width:100%}
.site-footer .footer-company-info address{margin:0}
.footer-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;font-size:11px;line-height:1.9;color:#8292a8}
.footer-bottom .footer-links{align-items:baseline;gap:16px 24px}
@media(max-width:360px){
 #main .section-label{left:-8px}
 .site-footer.container{width:calc(100% - 24px)}
}

/* Keep Partner below the desktop Service view, even with every item closed. */
@media(min-width:1001px){
 #service{min-height:calc(100svh - 104px);min-height:calc(100dvh - 104px)}
}

/* Fit the film controls below the unchanged video on desktop screens. */
@media(min-width:1001px){
 #game-film{scroll-margin-top:-8px}
 #game-film .unified-heading{margin-bottom:8px}
 #game-film .showcase-top{padding:4px 22px}
 #game-film .showcase-tabs a{padding-block:3px}
 #game-film .showcase-bottom{padding:6px 22px}
 #game-film .showcase-bottom .showcase-waveform{height:36px;padding-block:5px}
 #game-film>.hero-bottom{padding-block:4px}
}

/* Keep category submenu destinations below the fixed header. */
#history,#team,#business-games,#business-data,#business-ai{scroll-margin-top:16px}
