@font-face { font-family: Nunito; src: url('/fonts/nunito-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Nunito; src: url('/fonts/nunito-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Nunito; src: url('/fonts/nunito-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #23252d;
  --panel: #30333e;
  --text: #fff7ed;
  --muted: #d1cdd0;
  --line: #50535e;
  --red: #ff8177;
  --mint: #9ee5c2;
  --header: #1e2027;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 Nunito, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #ff948c; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ff948c; outline-offset: 5px; }
::selection { background: #e6483f; color: #111; }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; background: var(--text); color: var(--bg); padding: 10px 18px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--header); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 150px; filter: url('/assets/logo-dark-filter.svg#dark-logo'); }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 700; }
.primary-nav > a, summary { text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.primary-nav > a:hover, summary:hover { background: #ffffff09; }
.primary-nav [aria-current], summary.active { color: #ff948c; }
.games-menu { position: relative; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.games-menu[open] summary::after { transform: rotate(225deg); }
.dropdown { position: absolute; top: 100%; left: -6px; width: 210px; z-index: 10; background: var(--panel); border: 1px solid #686b76; border-radius: 12px; padding: 8px; box-shadow: 0 8px 20px #17182045; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 7px; text-decoration: none; font-weight: 400; }
.dropdown a:hover { background: #ffffff0c; }
.studio-intro { text-align: center; padding: 40px 0 36px; }
h1, h2, h3 { font-family: Nunito, 'Segoe UI', sans-serif; line-height: 1.2; font-weight: 800; }
h1 { font-size: 40px; margin: 0 0 22px; }
h2 { font-size: 28px; margin: 0 0 20px; }
h3 { font-size: 24px; margin: 0 0 12px; }
p { margin: 0 0 20px; }
.studio-intro h1 { font-size: 30px; margin-bottom: 10px; }
.studio-intro p { color: var(--muted); margin-bottom: 10px; }
.studio-intro > a { font-size: 14px; }
.featured-game { display: grid; grid-template-columns: 1.08fr 1fr; background: var(--panel); border-radius: 18px; overflow: hidden; align-items: center; }
.featured-game.with-cover { grid-template-columns: .7fr 1.3fr; }
.feature-art { display: block; overflow: hidden; }
.feature-art img { width: 100%; }
.with-cover .feature-art { background: transparent; }
.with-cover .feature-art img { width: 100%; }
.feature-copy { padding: 34px 38px; }
.feature-copy h1, .feature-copy h2 { font-size: 40px; margin-bottom: 10px; }
.release { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.game-tagline { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.feature-copy > p:not(.game-tagline) { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 22px; background: var(--red); color: #25272e; border: 1px solid var(--red); border-radius: 11px; text-decoration: none; font-size: 15px; font-weight: 700; text-align: center; transition: background .15s ease, transform .15s ease; }
.button:hover { color: #25272e; background: #ff9d94; border-color: #ff9d94; transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--text); border-color: #90929c; }
.button.secondary:hover { background: #ffffff09; }
.text-link { font-size: 15px; }
.section { padding-block: 48px; border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 28px; color: var(--red); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.card-image { display: block; background: var(--panel); border-radius: 12px; overflow: hidden; transition: transform .18s ease; }
.card-image:hover { transform: translateY(-3px); }
.card-image img { width: 100%; }
.card-copy { padding: 20px 0 0; }
.card-copy h2, .card-copy h3 { margin-bottom: 10px; }
.card-copy h2 a, .card-copy h3 a { text-decoration: none; }
.game-card:nth-child(odd) .card-copy h2, .game-card:nth-child(odd) .card-copy h3 { color: var(--mint); }
.game-card:nth-child(even) .card-copy h2, .game-card:nth-child(even) .card-copy h3 { color: var(--red); }
.card-copy p { color: var(--muted); margin-bottom: 12px; }
.all-games { text-align: center; margin: 30px 0 0; font-size: 15px; }
.home-links { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.home-links p { color: var(--muted); max-width: 430px; }
.home-links h2 { font-size: 25px; }
.home-links > div { background: var(--panel); border-top: 3px solid var(--red); border-radius: 14px; padding: 28px; }
.home-links > div + div { border-color: var(--mint); }
.home-links > div:first-child h2 { color: var(--red); }
.home-links > div + div h2 { color: var(--mint); }
.mailing { text-align: center; padding: 36px 28px; margin-block: 40px; border: 1px solid #547c69; border-radius: 18px; background: #293a35; }
.mailing h2 { font-size: 27px; margin-bottom: 14px; color: var(--mint); }
.mailing p { color: var(--muted); margin-bottom: 16px; }
.quiet { color: var(--muted); font-size: 14px; }
.page-heading { padding: 48px 0 36px; max-width: 760px; }
.page-heading p { color: var(--muted); font-size: 19px; }
.page-heading h1, .screenshots h2 { color: var(--red); }
.catalog { padding-bottom: 56px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; padding: 24px 0; }
.store { text-align: center; }
.steam-widget { display: block; max-width: 100%; border: 0; margin: 24px auto 16px; }
.store .quiet { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0; }
.screenshots h2 { margin-bottom: 26px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
figure { margin: 0; min-width: 0; }
.gallery .main-shot { grid-column: 1 / -1; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 9px; }
.game-press { border: 0; }
.game-press > a + a { display: inline-block; margin-left: 20px; }
.video { max-width: 800px; padding-bottom: 36px; }
.video img { width: 100%; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; padding: 0 0 48px; }
.video-card { display: block; text-decoration: none; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--header); }
.video-card h2 { font-size: 22px; line-height: 1.35; margin: 14px 0 0; }
.video-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.contact-section { max-width: 660px; padding-bottom: 24px; overflow-wrap: anywhere; }
#challenge { max-width: 350px; margin-top: 16px; }
#challenge:empty, #contact-status:empty { display: none; }
#contact-status { font-size: 15px; margin-top: 14px; }
#email-result { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.press-links { list-style: none; padding: 0; margin: 0 0 28px; }
.press-links li { margin-bottom: 14px; }
footer { border-top: 1px solid var(--line); background: var(--header); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 28px; font-size: 14px; color: var(--muted); }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-inner a { color: var(--mint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-hero { width: min(1320px, calc(100vw - 48px)); position: relative; left: 50%; transform: translateX(-50%); margin-top: 24px; }
.hero-images { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: var(--panel); }
.hero-slide { position: absolute; inset: 0; display: block; color: #fff7ed; opacity: 0; pointer-events: none; transition: opacity 1.8s ease; }
.hero-slide[aria-hidden="false"] { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide:hover { color: #fff7ed; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, #171922a6 70%, #171922f5); }
.hero-caption { position: absolute; left: 5%; right: 5%; bottom: 7%; z-index: 1; display: grid; gap: 8px; justify-items: start; }
.hero-title { font-size: clamp(32px, 4vw, 58px); font-weight: 800; line-height: 1.1; }
.hero-tagline { font-size: clamp(16px, 1.8vw, 23px); }
.hero-link { margin-top: 6px; color: var(--mint); text-decoration: underline; text-underline-offset: 5px; font-weight: 700; }
.hero-slide:focus-visible { outline: 3px solid var(--mint); outline-offset: -5px; }
.hero-controls { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding-top: 14px; }
.hero-selectors { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-controls button { border: 1px solid #666b7a; background: transparent; color: var(--text); border-radius: 22px; min-height: 44px; padding: 7px 16px; font-size: 14px; font-weight: 700; }
.hero-controls button[aria-pressed="true"] { background: var(--mint); color: #23252d; border-color: var(--mint); }
.hero-controls button:hover { border-color: var(--red); }
.hero-controls .hero-pause { border: 0; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .primary-nav { gap: 24px; }
  .feature-copy { padding: 26px; }
  .featured-game, .featured-game.with-cover { grid-template-columns: 1fr; }
  .with-cover .feature-art img { width: 100%; }
  .game-grid { gap: 24px; }
  .home-links { gap: 32px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 110px; gap: 6px; flex-direction: column; padding-block: 14px 4px; }
  .brand img { width: 110px; }
  .primary-nav { gap: 6px; font-size: 14px; width: 100%; justify-content: center; }
  .dropdown { left: -35px; }
  .studio-intro { padding: 28px 0; }
  .studio-intro h1 { font-size: 23px; }
  .studio-intro p { font-size: 16px; }
  .with-cover .feature-art img { width: 100%; }
  .feature-copy { padding: 26px 24px; }
  .feature-copy h1, .feature-copy h2 { font-size: 33px; }
  .game-tagline { font-size: 18px; }
  .game-grid, .home-links { grid-template-columns: 1fr; gap: 32px; }
  .video-grid { grid-template-columns: 1fr; gap: 30px; }
  .video-card h2 { font-size: 20px; margin-top: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .main-shot { grid-column: auto; }
  .section { padding-block: 36px; }
  .page-heading { padding: 32px 0 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .steam-widget { height: 250px; }
  .footer-inner { flex-direction: column; gap: 14px; }
  .footer-inner > div { gap: 16px 22px; }
  .home-hero { width: calc(100vw - 24px); margin-top: 12px; }
  .hero-images { aspect-ratio: 4 / 3; border-radius: 14px; }
  .hero-caption { left: 6%; right: 6%; bottom: 8%; gap: 6px; }
  .hero-title { font-size: 30px; }
  .hero-tagline { font-size: 16px; }
  .hero-link { font-size: 14px; }
  .hero-controls { align-items: flex-start; gap: 8px; flex-wrap: wrap; }
  .hero-controls button { padding: 7px 12px; font-size: 14px; }
  .hero-controls .hero-pause { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .card-image { transition: none; }
  .button:hover, .card-image:hover { transform: none; }
  .hero-slide { transition: none; }
}
