@font-face { font-family: 'Russo One'; src: url('assets/fonts/russo-one-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('assets/fonts/outfit-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
:root { --bg: #040d20; --navy: #031a41; --ink: #f2f7ff; --muted: #adc0dc; --accent: #0058c4; --bright: #4db4ff; --line: #243651; --body: 'Outfit', sans-serif; --display: 'Russo One', sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: radial-gradient(ellipse at 85% 10%, #09213a80, transparent 50%) fixed, var(--bg); isolation: isolate; color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--bright); outline-offset: 6px; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.65; }
::selection { background: var(--accent); color: white; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -80px; z-index: 5; background: white; color: var(--bg); padding: 15px; }
.skip:focus { top: 15px; }
.header { display: flex; align-items: center; justify-content: space-between; padding-block: 26px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 12px; font: 400 32px/1 var(--display); letter-spacing: 0; }
.brand span { font: 500 12px/1 var(--body); letter-spacing: 3px; text-transform: uppercase; }
.header nav { display: flex; gap: 36px; align-items: center; font-size: 14px; font-weight: 500; }
.header nav a:hover, .footer a:hover { color: var(--bright); }
.nav-contact { display: inline-flex; align-items: center; gap: 22px; border: 1px solid #4676a3; border-radius: 4px; padding: 11px 20px; }
.action-icon { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; transition: transform .2s; }
.text-link .action-icon { width: 20px; height: 20px; }
.footer a .action-icon { width: 16px; height: 16px; margin-left: 6px; }
.intro { padding-block: 68px 72px; text-align: center; }
.intro > .eyebrow { justify-content: center; color: var(--bright); }
.intro h1 { margin-block: 22px 24px; font: 400 clamp(45px, 5.6vw, 80px)/1.1 var(--display); letter-spacing: -.025em; }
.intro h1 span { color: #75c6ff; }
.intro-copy { max-width: 620px; margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bright); display: inline-block; flex-shrink: 0; box-shadow: 0 0 14px #4db4ff60; }
.intro-copy p { font-size: 20px; line-height: 1.5; color: #d2e1f5; }
.intro-copy .button { margin-top: 24px; }
.text-link { display: inline-flex; gap: 25px; align-items: center; font-size: 14px; font-weight: 500; padding-block: 10px; border-bottom: 1px solid #577491; }

.text-link:hover { color: var(--bright); }
.text-link:hover .action-icon, .button:hover .action-icon { transform: translateY(-2px); }
.section-label { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 24px; }
.section-label h2 { font-size: 15px; font-weight: 500; }
.section-label > span { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.featured { background: #08162b; border: 1px solid #304a68; border-radius: 8px; overflow: hidden; }
.game-art { position: relative; aspect-ratio: 2.4; overflow: hidden; background: #070d28; }
.game-art picture, .game-art img { width: 100%; height: 100%; display: block; }
.game-art img { object-fit: cover; object-position: center 57%; }
.status { position: absolute; top: 24px; left: 26px; display: flex; gap: 9px; align-items: center; background: #06162de8; border: 1px solid #426a96; border-radius: 4px; padding: 8px 13px; font-size: 12px; }
.art-label { position: absolute; bottom: 15px; right: 20px; font-size: 12px; color: white; background: #07162bcc; padding: 5px 9px; }
.game-info { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 36px 40px 30px; }
.game-info .eyebrow { color: var(--muted); font-size: 12px; }
.game-info h3 { width: 250px; margin-top: 18px; }
.game-tagline { font-size: 18px; margin-top: 14px; }
.game-description > p { color: #d0dcf0; font-size: 16px; max-width: 500px; }
.actions { display: flex; align-items: center; gap: 27px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 14px 22px; background: var(--accent); border: 1px solid #247ad5; border-radius: 4px; color: white; font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #086cdc; transform: translateY(-2px); }
.actions .text-link { font-size: 13px; }
.game-meta { display: flex; justify-content: space-between; gap: 20px; margin-inline: 40px; padding-block: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.game-meta p:first-child { display: flex; gap: 17px; }
.game-meta span { color: #dbe7f7; }
.moments { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 26px; }
.moments figure { min-width: 0; }
.moments img { aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; border: 1px solid #304a68; }
.moments figcaption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 15px; font-size: 14px; font-weight: 500; }
.moments figcaption span + span { font-size: 12px; color: var(--muted); font-weight: 400; }
.art-note { font-size: 12px; color: var(--muted); margin-top: 2px; }
.games { padding-bottom: 65px; }
.studio { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; padding-block: 60px 70px; border-top: 1px solid var(--line); }
.studio h2 { margin-top: 24px; font: 400 clamp(36px, 3.8vw, 52px)/1.13 var(--display); letter-spacing: -.02em; }
.studio-copy { align-self: center; max-width: 670px; }
.studio-copy p { font-size: 19px; line-height: 1.7; color: #d0dcf0; }
.studio-copy p + p { margin-top: 20px; font-size: 17px; color: var(--muted); }
.contact { padding-block: 55px 70px; border-top: 1px solid var(--line); }
.contact-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.contact h2 { margin-top: 25px; font: 400 clamp(36px, 4.1vw, 58px)/1.12 var(--display); letter-spacing: -.015em; }
.contact h2 em { font-style: normal; color: var(--bright); }
.hello { display: flex; align-items: center; justify-content: center; background: var(--accent); width: 90px; height: 90px; border-radius: 50%; border: 1px solid #368feb; transition: transform .2s; }
.hello img { width: 62%; height: 62%; }
.hello:hover { transform: rotate(5deg); }
.contact-links { display: grid; grid-template-columns: 1fr auto auto; gap: 65px; align-items: end; margin-top: 35px; }
.contact-links p { font-size: 15px; color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 29px; border-top: 1px solid var(--line); }
.footer > .brand { font-size: 25px; }
.footer > .brand span { font-size: 12px; }
.footer p { font-size: 13px; color: var(--muted); }
.footer > div { display: flex; gap: 25px; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .intro-copy p { font-size: 18px; }
  .game-info { gap: 30px; padding: 30px; }
  .actions { gap: 18px; flex-wrap: wrap; }
  .game-meta { margin-inline: 30px; }
  .contact-links { gap: 35px; }
  .moments figcaption { align-items: start; flex-direction: column; gap: 5px; }
}
@media (max-width: 760px) {
  body { background-size: 1200px 700px; background-position: 44% top; }
  .wrap { width: calc(100% - 40px); }
  .header { padding-block: 20px; flex-wrap: wrap; gap: 24px; }
  .header nav { width: 100%; justify-content: space-between; gap: 17px; font-size: 13px; }
  .brand { font-size: 29px; }
  .nav-contact { padding: 9px 13px; }
  .nav-contact { gap: 12px; }
  .intro { padding-block: 44px 46px; }
  .intro h1 { font-size: clamp(37px, 6.5vw, 49px); letter-spacing: -.025em; }
  .studio { grid-template-columns: 1fr; gap: 28px; padding-block: 38px; }
  .studio h2 { margin-top: 18px; font-size: 36px; }
  .studio-copy p { font-size: 17px; }
  .studio-copy p + p { font-size: 16px; }
  .intro-copy { text-align: center; }
  .intro-copy p { font-size: 18px; }
  .intro-copy .button { margin-top: 22px; }
  .section-label { gap: 15px; }
  .section-label h2 { font-size: 13px; }
  .section-label > span { font-size: 12px; white-space: nowrap; }
  .game-art { aspect-ratio: 1.6; }
  .game-art img { object-position: 65% center; }
  .status { top: 14px; left: 14px; font-size: 12px; padding: 7px 10px; }
  .art-label { font-size: 12px; right: 12px; bottom: 10px; }
  .game-info { grid-template-columns: 1fr; gap: 23px; padding: 26px 24px; }
  .game-info h3 { width: min(235px, 100%); }
  .game-description > p { font-size: 16px; }
  .game-meta { flex-direction: column; gap: 6px; margin-inline: 24px; font-size: 12px; }
  .game-meta p:first-child { gap: 10px; flex-wrap: wrap; }
  .moments { gap: 16px; }
  .moments figcaption { font-size: 13px; }
  .art-note { font-size: 12px; }
  .games { padding-bottom: 38px; }
  .contact { padding-block: 38px; }
  .contact h2 { font-size: 36px; }
  .hello { width: 64px; height: 64px; flex-shrink: 0; }
  .contact-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-links p { grid-column: 1/-1; }
  .contact-links .text-link { font-size: 13px; gap: 10px; justify-content: space-between; }
  .footer { flex-wrap: wrap; gap: 20px; }
  .footer > div { width: 100%; justify-content: space-between; }
  .footer p { font-size: 12px; }
}
@media (max-width: 380px) {
  .header nav { gap: 12px; }
  .intro h1 { font-size: 31px; }
  .desktop-break { display: none; }
  .contact h2 { font-size: 31px; }
  .hello { width: 54px; height: 54px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links p { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Layered CSS stars: each layer moves independently and softly changes brightness. */
.starfield { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.starfield span { position: absolute; inset: -450px -60px; background-repeat: repeat; animation: star-drift 140s linear infinite, star-glow 11s ease-in-out infinite alternate; }
.starfield span:nth-child(1) { background-image: radial-gradient(1px 1px at 27px 39px, #d2eaffaa 98%, transparent), radial-gradient(1px 1px at 153px 181px, #9cb9dc80 98%, transparent), radial-gradient(1px 1px at 276px 83px, #e4f0ff99 98%, transparent); background-size: 337px 293px; --travel: 293px; }
.starfield span:nth-child(2) { background-image: radial-gradient(1.5px 1.5px at 83px 119px, #cce7ffb3 98%, transparent), radial-gradient(1px 1px at 297px 253px, #b8d9ff80 98%, transparent); background-size: 419px 367px; --travel: 367px; animation-duration: 190s, 7s; animation-delay: -60s, -3s; }
.starfield span:nth-child(3) { background-image: radial-gradient(1.5px 1.5px at 197px 67px, #e4f4ffb3 98%, transparent), radial-gradient(1px 1px at 443px 317px, #b2d1fa80 98%, transparent); background-size: 577px 431px; --travel: 431px; animation-duration: 240s, 13s; animation-delay: -110s, -5s; }
@keyframes star-drift { from { transform: translateY(0); } to { transform: translateY(var(--travel)); } }
@keyframes star-glow { from { opacity: .45; } to { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .starfield span { animation: none; opacity: .7; } }
