@font-face {
  font-family: Anjoman;
  src: url("font/anjoman/woff2/Anjoman-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Anjoman;
  src: url("font/anjoman/woff2/Anjoman-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #10191f;
  --deep: #0b1116;
  --panel: #1a2a31;
  --warm: #fff2df;
  --soft: #ccd1cf;
  --gold: #f5bf72;
  --edge: #3a484d;
  --mast-height: clamp(4.5rem, 10vh, 6.25rem);
  --mast-height: clamp(4.5rem, 10svh, 6.25rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--mast-height) + .75rem); }
body { margin: 0; background: var(--page); color: var(--warm); font: 400 1.08rem/1.9 Anjoman, Tahoma, sans-serif; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.4; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: .45rem; inset-inline-start: .6rem; z-index: 80; transform: translateY(-180%); border-radius: .35rem; padding: .5rem 1rem; background: var(--gold); color: #20180e; }
.skip-link:focus { transform: none; }
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 45;
  background: linear-gradient(to bottom,rgba(10,19,23,.92),rgba(12,22,26,.69));
  border-bottom: 1px solid rgba(255,230,182,.1);
  color: var(--warm);
}
.masthead[data-solid], .inner-page .masthead { background: #10191ff5; }
.masthead-inner {
  width: min(1200px, calc(100% - 8vw));
  min-height: var(--mast-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}
.brand { display: inline-flex; align-items: center; gap: .62rem; font-weight: 700; font-size: 1.4rem; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.brand img { width: clamp(37px,3.7vw,50px); height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.25vw, 2.2rem); }
.primary-nav > a, .games-menu > summary, .menu-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav > a:hover, .primary-nav a[aria-current], .games-menu > summary:hover { color: var(--gold); }
.games-menu { position: relative; }
.games-menu > summary { gap: .5rem; list-style: none; cursor: pointer; }
.games-menu > summary::-webkit-details-marker { display: none; }
.games-menu > summary::after { content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg); }
.games-menu[open] > summary { color: var(--gold); }
.games-menu[open] > summary::after { transform: translateY(.08rem) rotate(225deg); }
.games-dropdown { position: absolute; top: 100%; inset-inline-start: -.8rem; min-width: 11rem; padding: .35rem; border: 1px solid var(--edge); border-radius: .55rem; background: #122027; box-shadow: 0 .7rem 1.3rem #05090c66; }
.games-dropdown a { display: block; padding: .36rem .75rem; border-radius: .3rem; text-decoration: none; }
.games-dropdown a:is(:hover,:focus-visible) { background: #24363b; color: var(--gold); }
.menu-button { border: 1px solid #87968f88; border-radius: .45rem; background: transparent; padding-inline: .8rem; gap: .55rem; cursor: pointer; }
.menu-icon { width: 1.1rem; height: .65rem; border-block: 2px solid currentColor; }

.studio-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background: #292b22;
}
.studio-hero-art, .studio-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-hero-art { z-index: -2; }
.studio-hero-art img { object-fit: cover; object-position: 50% 45%; }
.studio-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(270deg,rgba(7,15,18,.65),rgba(8,14,17,.29) 24%,transparent 58%), linear-gradient(0deg,rgba(8,15,18,.48),transparent 30%);
}
.hero-inner { width: min(1200px, calc(100% - 8vw)); margin-inline: auto; padding-block: calc(var(--mast-height) + 2rem) clamp(2.5rem,5vh,3.2rem); }
.hero-copy { width: min(40%,28rem); }
.studio-hero h1 { font-size: clamp(2.6rem,3.55vw,3.55rem); line-height: 1.42; color: #fff4e4; text-shadow: 0 3px 7px #071015aa; }
.studio-hero h1 strong { color: #ffdfaa; font-size: 1.16em; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.15rem;
  min-height: 54px; min-width: 166px; padding: .42rem 1.35rem;
  border: 1px solid transparent; border-radius: .45rem; background: var(--gold); color: #231b11;
  font-weight: 700; text-decoration: none;
}
.cta:hover { background: #ffd69b; }
.hero-copy .cta { margin-top: clamp(1.25rem,2.1vw,2.15rem); }
.cta span, .text-link span, .poster-arrow { font-family: Tahoma,sans-serif; }
.section-title, .game-gallery h2, .game-notes h2 { color: var(--gold); font-size: clamp(1.8rem,2.5vw,2.4rem); line-height: 1.45; }
.studio-story { padding-block: clamp(6rem,8.4vw,7.5rem) clamp(3rem,6vw,5.4rem); }
.about-wrap { width: min(1240px, calc(100% - 8vw)); margin-inline: auto; display: grid; grid-template-columns: minmax(0,54.66fr) minmax(0,45.34fr); align-items: center; gap: clamp(2rem,4.1vw,4rem); }
.team-figure {
  position: relative; display: grid; grid-template-rows: minmax(0,1fr) auto;
  aspect-ratio: 997/635; min-width: 0; overflow: hidden;
  padding: clamp(.55rem,1vw,.85rem); border-radius: 1rem .4rem 1rem .4rem;
  background: #e9e4d9; box-shadow: .55rem .55rem 0 #1e3036,0 1.3rem 2.8rem #03080b55;
}
.team-photo { width: 100%; height: 100%; object-fit: contain; background: #dedbd2; border-radius: .4rem .15rem .35rem .15rem; }
.team-figure figcaption { display: flex; align-items: center; justify-content: flex-start; gap: .4rem; padding: .3rem .25rem 0; color: #344449; font-size: .9rem; }
.team-figure figcaption img { width: 22px; height: 22px; }
.story-copy p, .catalog-heading p { margin-block-start: .8rem; color: var(--soft); }
.story-copy p { max-width: 48ch; }
.cta-secondary { margin-top: 1.3rem; min-height: 48px; min-width: 152px; }
.catalog { padding-block: clamp(2.65rem,5vw,4.75rem) clamp(5rem,9vw,8rem); }
.catalog-heading { position: relative; width: min(100%,1065px); margin-inline: auto; border-block-start: 1px solid var(--edge); padding-block-start: clamp(2.5rem,5.5vw,5rem); }
.catalog-heading::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: min(7rem,28%); height: 2px; background: var(--gold); }
.catalog-heading p { max-width: 63ch; }
.poster-grid { margin-top: clamp(2.6rem,6vw,5.4rem); display: grid; grid-template-columns: repeat(2,minmax(0,245px)); justify-content: center; gap: 40px; }
.poster-card { min-width: 0; }
.game-poster {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 1357 / 1920;
  border-radius: 18px;
  background: #16242a; color: #fff5e5; text-decoration: none;
  box-shadow: 6px 12px 22px #04080b77;
}
.poster-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-caption {
  position: absolute; inset: auto 0 0; min-height: 20%;
  display: flex; align-items: center; gap: .6rem; padding: .56rem .75rem;
  border-block-start: 1px solid #e5d9b9b0;
  background: linear-gradient(90deg,#111b22ee,#172831e8); color: #fff3df;
}
.poster-caption img { width: clamp(40px,3.6vw,50px); height: auto; border-radius: .63rem; }
.poster-caption h3 { font-size: 1.37rem; line-height: 1.32; }
.poster-caption p { margin-top: .12rem; font-size: .89rem; line-height: 1.4; color: #dbe0d9; }
.poster-arrow { margin-inline-start: auto; align-self: center; color: var(--gold); font-size: 1.2rem; }
.game-poster:hover .poster-caption { background: #1c333c; }
.store-links { display: flex; align-items: center; justify-content: center; gap: .55rem; }
.store-links a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; border-radius: .35rem; }
.store-links img { display: block; width: 100%; height: auto; }
.store-links a:hover { filter: brightness(1.18); }
.poster-card .store-links { margin-top: .65rem; }
.poster-card .store-links a { flex: 1 1 0; max-width: 158px; }

.contact-band { padding-block: clamp(3.25rem,6.3vw,6rem); border-block: 1px solid var(--edge); background: linear-gradient(120deg,#142127,#21383c 76%,#273d3f); }
.contact-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(2rem,8vw,7rem); }
.contact-intro h2 { color: var(--warm); font-size: clamp(1.8rem,3vw,2.65rem); }
.contact-intro p { margin-top: .65rem; color: #d9dfd9; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; min-height: 44px; color: var(--gold); font-weight: 700; }
.studio-contact { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: .4rem 1rem; font-size: 1rem; }
.studio-contact dt { color: var(--gold); font-weight: 700; }
.studio-contact dd { min-width: 0; overflow-wrap: anywhere; }
.studio-contact address { font-style: normal; }
.studio-contact a { display: inline-block; max-width: 100%; }
.studio-footer { background: #0a1014; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(2.5rem,5vw,4rem); }
.footer-identity p { margin-block: .56rem; color: #b9c2c2; font-size: .94rem; }
.footer-bottom .brand { font-size: 1.18rem; }
.footer-bottom .brand img { width: 34px; }
.footer-terms { font-size: .98rem; }
.footer-trust { flex: 0 0 auto; text-align: center; }
.footer-trust h2 { margin-bottom: .4rem; font-size: .84rem; color: #cbd3d1; }
.seal-frame { display: inline-grid; place-items: center; padding: 5px; background: #fff; border-radius: .45rem; }
.seal-frame a { display: grid; place-items: center; min-width: 88px; min-height: 88px; }
.seal-frame img { width: 88px; height: auto; aspect-ratio: 125 / 136; object-fit: contain; }

.inner-page { padding-block-start: var(--mast-height); }
.game-lead { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: clamp(1.4rem,3.5vw,3.2rem); }
.back-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; color: var(--soft); font-size: .96rem; }
.game-identity { display: flex; align-items: center; gap: 1rem; margin-block: .65rem; }
.game-identity img { width: clamp(55px,5.5vw,75px); height: auto; border-radius: 1rem; }
.game-identity h1 { font-size: clamp(2.3rem,4.8vw,4.35rem); line-height: 1.2; }
.game-identity p { color: var(--gold); }
.game-blurb { max-width: 54ch; color: var(--soft); }
.game-install { width: min(100%,360px); flex: 0 0 min(34%,360px); }
.game-install .store-links { gap: 12px; }
.game-install .store-links a { flex: 1 1 0; min-height: 54px; }
.official-download { display: block; width: fit-content; margin: .6rem auto 0; color: var(--soft); font-size: .95rem; }
.feature-art { width: 100%; overflow: hidden; background: var(--deep); border-block: 1px solid var(--edge); }
.feature-art img { width: 100%; height: auto; }
.game-meta { display: flex; flex-wrap: wrap; gap: 1.1rem clamp(1.6rem,5vw,4.4rem); padding-block: 1.5rem; border-bottom: 1px solid var(--edge); }
.game-meta dt { color: var(--soft); font-size: .9rem; }
.game-meta dd { font-weight: 700; }
.game-notes, .game-gallery { padding-block: clamp(3.2rem,6.5vw,6rem); }
.feature-notes, .shot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.2rem,3.2vw,3rem); margin-top: 1.5rem; }
.feature-notes h3 { margin-bottom: .45rem; font-size: 1.35rem; }
.feature-notes p { color: var(--soft); }
.game-gallery { background: #17252c; }
.shot-grid a { color: var(--warm); }
.shot-grid img { width: 100%; height: auto; object-fit: contain; border-radius: .65rem; }
.shot-grid span { display: block; padding-top: .45rem; font-size: .94rem; }
.page-footer { padding-block: 1.5rem; background: #0a1116; color: #e7e7df; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; }
.legal-page { color-scheme: light; background: #f6f4ee; color: #28373a; }
.terms-content { width: min(48rem,calc(100% - 48px)); margin-inline: auto; padding-block: clamp(2.5rem,5.7vw,5rem); }
.terms-content h1 { font-size: clamp(2rem,4vw,3.55rem); margin-bottom: 1.1rem; }
.terms-content h2 { margin-bottom: .65rem; font-size: 1.45rem; }
.terms-content section { border-top: 1px solid #cad1cb; margin-top: 1.5rem; padding-top: 1.5rem; }
.terms-content p, .terms-content ul { margin-block: .6rem; }
.terms-content ul { padding-inline-start: 1.35rem; }
.terms-content .studio-contact { margin-block: 1rem; }
.terms-content dt, .terms-content a { color: #20536a; }
.legal-page :is(a,summary,button):focus-visible { outline-color: #158496; }
@media (max-width: 900px) {
  .primary-nav { gap: .9rem; }
  .primary-nav > a, .games-menu > summary { font-size: .98rem; }
  .about-wrap { gap: 2rem; }
}
@media (max-width: 767px) {
  :root { --mast-height: clamp(3.9rem,8vh,5rem); --mast-height: clamp(3.9rem,8svh,5rem); }
  .shell, .about-wrap { width: calc(100% - 60px); }
  .masthead-inner { position: relative; width: calc(100% - 40px); }
  .brand { font-size: 1.19rem; }
  .brand img { width: 36px; }
  .primary-nav { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 0; padding: .45rem .75rem; border: 1px solid var(--edge); border-radius: 0 0 .7rem .7rem; background: #132129; max-height: calc(100svh - var(--mast-height) - 10px); overflow-y: auto; }
  .primary-nav > a, .games-menu > summary { width: 100%; min-height: 44px; padding-inline: .45rem; }
  .games-dropdown { position: static; margin-inline: .35rem; padding: .15rem .65rem; border: 0; border-inline-start: 2px solid var(--gold); border-radius: 0; box-shadow: none; background: transparent; }
  .masthead:not([data-enhanced]) { position: relative; background: var(--deep); }
  .masthead:not([data-enhanced]) .masthead-inner { flex-wrap: wrap; padding-block: .45rem; }
  .masthead:not([data-enhanced]) .primary-nav { position: static; display: flex; flex-basis: 100%; flex-wrap: wrap; column-gap: .9rem; max-height: none; border: 0; background: transparent; overflow: visible; }
  .masthead:not([data-enhanced]) .primary-nav > a, .masthead:not([data-enhanced]) .games-menu > summary { width: auto; }
  .inner-page:has(.masthead:not([data-enhanced])) { padding-top: 0; }
  .hero-inner { width: calc(100% - 40px); padding-bottom: clamp(2.35rem,5.7svh,3.2rem); }
  .hero-copy { width: min(90%,21rem); }
  .studio-hero h1 { font-size: clamp(1.875rem,6.8vw,2.5rem); line-height: 1.42; }
  .hero-copy .cta { margin-top: 1rem; }
  .studio-hero-art img { object-position: 50% 45%; }
  .studio-hero::before { background: linear-gradient(0deg,rgba(7,14,18,.92),rgba(8,15,19,.55) 17%,rgba(8,15,19,.06) 38%,transparent 55%); }
  .studio-story { padding-block: clamp(4.75rem,13svh,7.5rem) 3.2rem; }
  .about-wrap, .contact-layout, .feature-notes { grid-template-columns: minmax(0,1fr); }
  .about-wrap { gap: 2rem; }
  .team-figure { width: max(68%,min(100%,210px)); justify-self: end; padding: .42rem; }
  .team-figure figcaption { font-size: .75rem; }
  .team-figure figcaption img { width: 16px; height: 16px; }
  .section-title, .game-gallery h2, .game-notes h2 { font-size: clamp(1.6rem,5.6vw,2rem); }
  .catalog { padding-block: 1.5rem 5rem; }
  .catalog-heading { padding-top: 2.5rem; }
  .poster-grid { grid-template-columns: minmax(0,min(100%,420px)); gap: 40px; margin-top: 2.25rem; }
  .poster-caption { gap: .75rem; padding-inline: 1rem; }
  .poster-caption img { width: 48px; }
  .poster-caption h3 { font-size: 1.58rem; }
  .poster-card .store-links { gap: 12px; }
  .contact-layout { gap: 1.4rem; }
  .footer-bottom { align-items: flex-end; gap: 1rem; }
  .game-lead { flex-direction: column; align-items: stretch; gap: 1rem; }
  .game-install { flex: none; align-self: flex-start; }
  .game-meta { gap: 1rem 1.6rem; }
  .shot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 768px) and (max-aspect-ratio: 1/1) {
  .studio-hero-art img { object-position: 39% center; }
}
@media (max-width: 410px) {
  .footer-bottom { flex-wrap: wrap; }
  .footer-trust { margin-inline-start: auto; }
}
@media (max-width: 360px) {
  .shell, .about-wrap { width: calc(100% - 36px); }
  .shot-grid { grid-template-columns: 1fr; }
  .studio-contact { gap: .3rem .6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .cta, .primary-nav a, .store-links a { transition: background-color .18s, color .18s, filter .18s; }
  .game-poster { transition: transform .2s, box-shadow .2s; }
  @media (hover: hover) { .game-poster:hover { transform: translateY(-4px); box-shadow: 6px 16px 27px #01060999; } }
}
