@font-face { font-family: Cabinet; src: url('assets/cabinet-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Cabinet; src: url('assets/cabinet-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Cabinet; src: url('assets/cabinet-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
:root {
  --night: #101922;
  --surface: #18232c;
  --white: #f6f7f4;
  --muted: #b6c1c9;
  --orange: #ff743b;
  --gutter: clamp(24px, 5.2vw, 96px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--night); color: var(--white); font: 18px/1.55 Cabinet, 'Trebuchet MS', sans-serif; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1; letter-spacing: -.045em; font-weight: 800; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
::selection { background: var(--orange); color: var(--night); }
.skip-link { position: fixed; top: -90px; left: 24px; background: var(--white); color: var(--night); padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 16px; }
.section-wrap { max-width: 1800px; margin-inline: auto; padding-inline: var(--gutter); }
.site-header { position: absolute; top: 0; left: 0; z-index: 20; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 29px var(--gutter); }
.brand { display: block; width: 220px; flex-shrink: 0; }
.brand > img { width: 100%; height: auto; }
.site-header nav { display: flex; gap: 36px; margin-left: auto; margin-right: 60px; }
.site-header nav a { font-size: 16px; padding-block: 12px; position: relative; }
.site-header nav a::after { content: ''; position: absolute; bottom: 7px; left: 0; width: 100%; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-header nav a:hover::after { transform: scaleX(1); }
.header-tools, .language-switch { display: flex; align-items: center; gap: 9px; }
.language-switch button { border: 0; background: none; padding: 10px 4px; min-width: 35px; min-height: 44px; font-size: 14px; color: var(--muted); }
.language-switch button[aria-pressed='true'] { color: var(--white); font-weight: 800; }
.language-switch > span { color: #71818d; }
.hero { min-height: 820px; height: min(980px, 100svh); display: flex; flex-direction: column; align-items: start; gap: 44px; padding: 160px var(--gutter) 44px; position: relative; isolation: isolate; overflow: hidden; background: #102330; }
.hero-art, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; opacity: 0; transform: scale(1.045); transition: opacity .85s ease, transform 2s var(--ease); }
.hero-cover.is-active { opacity: 1; transform: translate(var(--scene-x, 0px), var(--scene-y, 0px)) scale(1.025); }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #07131ce8 0%, #0b1a2680 34%, #06131a08 67%), linear-gradient(0deg, #101922 0%, #10192299 13%, transparent 40%, #07121c55 100%); }
.hero-content { position: relative; width: min(48vw, 650px); margin-block: auto; }
h1 { font-size: clamp(50px, 6.4vw, 102px); line-height: .95; letter-spacing: -.05em; }
h1 > span { display: inline-block; white-space: nowrap; }
.hero-content p { font-size: 20px; max-width: 30ch; margin-top: 28px; color: #e2e8ec; }
.play-button { display: inline-flex; align-items: center; gap: 13px; background: var(--orange); color: #171e23; padding: 16px 25px; margin-top: 30px; border-radius: 4px; font-weight: 800; font-size: 17px; transition: background .2s, transform .3s var(--ease); }
.play-button > svg { fill: currentColor; stroke: none; width: 19px; }
.play-button:hover { transform: translateY(-4px); background: #ff9565; }
.play-button:active { transform: translateY(0); }
.hero-side { position: absolute; right: 28px; top: 37%; display: flex; align-items: center; gap: 25px; writing-mode: vertical-rl; font-size: 13px; }
.side-line { width: 1px; height: 85px; background: #ffffff65; }
.hero-bottom { position: relative; width: 100%; margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.discover { display: flex; align-items: center; gap: 15px; font-size: 15px; }
.down-circle { border: 1px solid #ffffff60; height: 47px; width: 47px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s; }
.discover:hover .down-circle { transform: translateY(5px); }
.game-switcher { display: flex; gap: 22px; }
.game-choice { display: flex; align-items: center; gap: 12px; padding: 15px 0; background: none; border: 0; border-top: 2px solid #ffffff30; text-align: left; min-width: 205px; opacity: .63; transition: border-color .35s, opacity .35s, transform .35s var(--ease); }
.game-choice.is-active { opacity: 1; border-color: var(--orange); }
.game-choice:hover { opacity: 1; transform: translateY(-3px); }
.game-choice img { width: 68px; height: 48px; object-fit: cover; border-radius: 3px; }
.game-choice strong { display: block; font-size: 15px; font-weight: 500; }
.game-choice small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.game-choice > svg { width: 15px; margin-left: auto; }
.collection { padding-block: 90px 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 45px; }
.section-heading > h2 { flex: 0 0 54%; }
h2 { font-size: clamp(48px, 4.6vw, 76px); line-height: 1.04; }
.section-heading > p { color: var(--muted); font-size: 18px; max-width: 31ch; padding-bottom: 5px; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 30px; }
.game-card { min-width: 0; }
.game-card-wide { grid-column: 1 / -1; }
.game-art { display: block; width: 100%; min-width: 0; position: relative; isolation: isolate; height: 405px; overflow: hidden; border-radius: 7px; background: var(--surface); }
.game-card-wide .game-art { height: 530px; }
.game-art::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #07141bd9 0%, transparent 50%); }
.cover { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.game-art:hover .cover { transform: scale(1.045); }
.air-art .cover { object-position: center 43%; }
.mochi-art .cover { object-position: 64% center; }
.solitaire-art .cover { object-position: 67% center; }
.game-logo { position: absolute; top: 26px; left: 30px; object-fit: contain; }
.air-logo { width: 220px; height: 100px; }
.mochi-logo { width: 185px; height: 80px; }
.solitaire-logo { width: 130px; height: 130px; }
.art-caption { position: absolute; left: 30px; bottom: 27px; right: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.art-caption > span:first-child { font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.game-card-wide .art-caption > span:first-child { font-size: 48px; }
.round-link { width: 52px; height: 52px; border: 1px solid #ffffff80; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--ease), background .35s; flex-shrink: 0; }
.game-art:hover .round-link { transform: rotate(45deg); background: #ffffff26; }
.game-details { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; }
h3 { font-size: 29px; line-height: 1.15; letter-spacing: -.025em; }
.game-details p { color: var(--muted); font-size: 17px; max-width: 48ch; margin-top: 11px; }
.detail-link { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 15px; align-self: start; padding-block: 5px; min-height: 44px; }
.detail-link svg { width: 19px; transition: transform .3s; }
.detail-link:hover svg { transform: translateX(5px); }
.game-card:not(.game-card-wide) .game-details { flex-wrap: wrap; gap: 8px; }
.studio-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; padding-block: 80px 110px; position: relative; }
.studio-mark { position: relative; display: grid; place-items: center; min-height: 330px; isolation: isolate; }
.studio-mark > img { width: 290px; transform: rotate(-8deg); }
.orbit { position: absolute; border: 1px solid #ffffff18; border-radius: 50%; z-index: -1; width: 360px; height: 250px; transform: rotate(-20deg); }
.orbit-two { width: 430px; height: 290px; transform: rotate(20deg); }
.studio-copy h2 { max-width: 10ch; }
.studio-copy > p { font-size: 21px; color: var(--muted); max-width: 43ch; margin-top: 26px; }
.studio-link { margin-top: 30px; display: inline-flex; align-items: center; gap: 25px; color: var(--orange); font-weight: 500; min-height: 44px; }
.studio-link svg { transition: transform .3s; }
.studio-link:hover svg { transform: translateX(8px); }
.site-footer { background: #0b141c; padding-block: 42px 24px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-top { padding-bottom: 38px; }
.footer-top .brand { transform: scale(.85); transform-origin: left; }
.back-top { display: flex; gap: 15px; align-items: center; font-size: 15px; min-height: 44px; }
.footer-bottom { color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: opening .9s var(--ease) both; }
  .hero-content h1 { animation-delay: .12s; }
  .hero-content p { animation-delay: .24s; }
  .hero-content .play-button { animation-delay: .36s; }
  .hero-bottom { animation: opening 1s .45s var(--ease) both; }
  .hero-art { animation: settle 2.2s var(--ease) both; }
  .reveal.is-visible { animation: opening .9s var(--ease) both; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .game-art .cover { animation: cover-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .studio-mark > img { animation: mascot-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes opening { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes cover-drift { from { transform: scale(1.12) translateY(-2%); } to { transform: scale(1.12) translateY(2%); } }
@keyframes mascot-drift { from { transform: rotate(-12deg) translateY(28px); } to { transform: rotate(7deg) translateY(-28px); } }
@media (max-width: 1150px) {
  .site-header nav { margin-right: 25px; }
  .hero { min-height: 800px; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 25px; }
  .game-switcher { width: 100%; }
  .game-choice { flex: 1; }
  .hero-cover { object-position: 67% 40%; }
  .hero-side { display: none; }
  .game-art { height: auto; aspect-ratio: 16 / 11; }
  .game-card-wide .game-art { height: auto; aspect-ratio: 16 / 9; }
  .art-caption { left: 22px; right: 22px; }
  .art-caption > span:first-child { font-size: 23px; }
  .studio-section { gap: 40px; }
  .orbit-two { width: 330px; }
  .orbit-one { width: 280px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 24px; }
  .site-header { padding-block: 20px; gap: 12px; }
  .brand { width: 165px; }
  .site-header nav { display: none; }
  .header-tools { gap: 0; }
  .hero { height: auto; min-height: 850px; padding: clamp(320px, calc(56vw + 100px), 440px) var(--gutter) 24px; gap: 36px; }
  .hero-art { inset: 78px 0 auto; height: clamp(210px, 56vw, 340px); }
  .hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #101922 0%, transparent 35%); pointer-events: none; }
  .hero-cover { object-fit: contain; object-position: center top; height: 100%; }
  .hero-shade { background: linear-gradient(0deg, #101922 58%, #10192255 69%, transparent 84%); }
  .hero-content { width: 100%; margin: 0; }
  h1 { font-size: clamp(50px, 13.5vw, 86px); }
  .hero-content p { font-size: 17px; margin-top: 19px; max-width: 32ch; }
  .play-button { margin-top: 23px; padding: 13px 20px; font-size: 16px; }
  .hero-bottom { gap: 15px; }
  .discover { font-size: 14px; }
  .down-circle { width: 34px; height: 34px; border: none; }
  .down-circle svg { width: 20px; }
  .game-switcher { gap: 12px; }
  .game-choice { display: block; padding-top: 10px; min-width: 0; flex: 1; }
  .game-choice img { width: 100%; height: 55px; margin-bottom: 8px; }
  .game-choice strong { font-size: 13px; white-space: nowrap; }
  .game-choice small, .game-choice > svg { display: none; }
  .collection { padding-block: 50px 55px; }
  .section-heading { display: block; margin-bottom: 30px; }
  h2 { font-size: clamp(42px, 10vw, 58px); }
  .section-heading > p { font-size: 17px; margin-top: 24px; max-width: 35ch; }
  .game-grid { display: block; }
  .game-card + .game-card { margin-top: 42px; }
  .game-art, .game-card-wide .game-art { height: auto; aspect-ratio: 16 / 11; }
  .air-art .cover { object-position: 62% center; }
  .game-logo { left: 20px; top: 20px; }
  .air-logo { width: 135px; height: 65px; }
  .mochi-logo { width: 135px; height: 55px; }
  .solitaire-logo { width: 75px; height: 75px; }
  .art-caption { left: 20px; right: 20px; bottom: 20px; }
  .art-caption > span:first-child, .game-card-wide .art-caption > span:first-child { font-size: 22px; max-width: 18ch; }
  .round-link { width: 44px; height: 44px; }
  .game-details { display: block; padding-top: 18px; }
  h3 { font-size: 26px; }
  .game-details p { font-size: 16px; margin-top: 10px; }
  .detail-link { display: inline-flex; margin-top: 8px; }
  .studio-section { grid-template-columns: 1fr; gap: 35px; padding-block: 20px 65px; }
  .studio-mark { min-height: 230px; }
  .studio-mark > img { width: 225px; }
  .orbit-one { width: 260px; height: 175px; }
  .orbit-two { width: 300px; height: 220px; }
  .studio-copy h2 { max-width: 12ch; }
  .studio-copy > p { font-size: 19px; margin-top: 22px; }
  .studio-link { margin-top: 20px; font-size: 17px; }
  .site-footer { padding-block: 30px 22px; }
  .footer-top { padding-bottom: 25px; }
  .footer-top .brand { transform: none; }
  .footer-bottom { display: block; font-size: 13px; }
  .footer-bottom p + p { margin-top: 5px; }
  .back-top { font-size: 13px; gap: 8px; }
}
@media (max-width: 360px) {
  .hero-content p { max-width: 27ch; }
  .hero-content h1 { font-size: 46px; }
  .brand { width: 145px; }
  .language-switch { gap: 3px; }
  .language-switch button { min-width: 30px; }
  .game-choice strong { font-size: 13px; white-space: normal; }
  .orbit-one { width: 220px; height: 160px; }
  .orbit-two { width: 250px; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero: image, readable scrim and controls share one bounded composition. */
.hero { background: var(--night); touch-action: pan-y pinch-zoom; }
.hero-content .play-promise { font-size: 16px; line-height: 1.4; margin-top: 14px; max-width: 36ch; color: var(--white); font-weight: 500; }
.slideshow-toggle { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; background: #18232c; border: 0; border-radius: 50%; }
.slideshow-toggle .resume-icon { display: none; }
.slideshow-toggle.is-paused .pause-icon { display: none; }
.slideshow-toggle.is-paused .resume-icon { display: block; }
.language-switch a { display: grid; place-items: center; min-width: 35px; min-height: 44px; font-size: 14px; color: var(--muted); }
.language-switch a[aria-current='page'] { color: var(--white); font-weight: 800; }
@media (min-width: 901px) {
  .hero-bottom { gap: 22px; }
  .hero-bottom .discover { margin-right: auto; }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .hero-bottom { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .game-switcher { order: 3; }
}
@media (max-width: 900px) {
  .site-header { position: relative; background: #102330; padding-block: 14px; }
  .hero { height: auto; min-height: 0; padding: 0; gap: 0; display: grid; grid-template-rows: minmax(420px, calc(100svh - 218px)) auto; }
  .hero-art { inset: 0; height: auto; bottom: 0; grid-row: 1; position: relative; width: 100%; overflow: hidden; }
  .hero-art::after { display: none; }
  .hero-cover { object-fit: cover; object-position: 62% 30%; }
  .hero-shade { inset: 0; grid-row: 1; position: relative; background: linear-gradient(0deg, #101922 0%, #101922f5 8%, #101922ba 36%, #10192205 80%); }
  .hero-art, .hero-shade, .hero-content { grid-column: 1; grid-row: 1; }
  .hero-art, .hero-shade { align-self: stretch; }
  .hero-content { align-self: end; padding: 170px var(--gutter) 20px; margin: 0; width: 100%; }
  .hero-content h1 { font-size: clamp(40px, 10.8vw, 72px); }
  .hero-content #hero-intro { font-size: 16px; margin-top: 14px; max-width: 34ch; }
  .hero-content .play-button { margin-top: 18px; padding: 12px 18px; }
  .hero-content .play-promise { font-size: 15px; margin-top: 12px; max-width: none; }
  .hero-bottom { grid-row: 2; padding: 0 var(--gutter) 16px; display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
  .hero-bottom .discover { grid-row: 2; grid-column: 1; min-height: 44px; }
  .slideshow-toggle { grid-row: 2; grid-column: 2; }
  .game-switcher { grid-column: 1 / -1; grid-row: 1; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .game-choice { width: 100%; padding: 8px 0 0; opacity: .8; }
  .game-choice img { height: auto; aspect-ratio: 16 / 9; margin-bottom: 5px; }
  .game-choice strong { font-size: clamp(13px, 2.8vw, 16px); white-space: nowrap; }
  .collection { padding-top: 40px; }
  .section-heading h2 { font-size: clamp(36px, 9vw, 58px); }
}
