:root {
  color-scheme: dark;
  --bg: #111719;
  --panel: #182123;
  --text: #fbf6e9;
  --muted: #c1c7c2;
  --line: #344043;
  --accent: #ffd27d;
  font-family: "Segoe UI", "Microsoft YaHei", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
.frame { width: min(100% - 64px, 1312px); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 0; left: 0; padding: 10px 18px; background: var(--bg); transform: translateY(-110%); }
.skip:focus { transform: none; }
.bar { background: #12191bea; border-bottom: 1px solid var(--line); }
.bar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.13rem; font-weight: 750; white-space: nowrap; }
.seal { width: 36px; height: 36px; background: var(--text); object-fit: contain; border-radius: 4px; }
.bar nav, .languages { display: flex; align-items: center; gap: clamp(12px, 2.1vw, 36px); }
.bar nav a { font-size: .95rem; font-weight: 650; white-space: nowrap; }
.bar nav a:hover, .footer a:hover { color: var(--accent); }
.languages { gap: 5px; }
.languages a { font-size: .875rem; color: var(--muted); padding: 7px 9px; border-radius: 4px; white-space: nowrap; }
.languages a[aria-current="page"] { color: var(--accent); background: #30302a; }
.hero { position: relative; display: grid; min-height: clamp(580px, 75vh, 820px); align-items: end; isolation: isolate; overflow: hidden; background: #172633; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 59% 48%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b151bea, #0b151b9e 35%, transparent 80%), linear-gradient(0deg, #111719 0%, #0c161873 23%, transparent 61%); }
.hero-inner { padding-block: 110px clamp(58px, 9vh, 98px); }
.status { font-size: .93rem; color: var(--accent); font-weight: 750; letter-spacing: .08em; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
.hero h1 { margin-top: 20px; max-width: 790px; font-size: clamp(3.5rem, 7.4vw, 7.4rem); font-weight: 900; letter-spacing: -.045em; text-wrap: balance; }
:lang(en) > body .hero h1 { max-width: 710px; }
.subtitle { font-size: clamp(1.15rem, 2.2vw, 1.9rem); color: #f0ddba; font-weight: 620; margin-top: 15px; }
.intro { margin-top: 23px; font-size: 1.06rem; line-height: 1.75; max-width: 39ch; color: #f4f0e6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 46px; padding: 10px 19px; border: 1px solid transparent; border-radius: 3px; font-size: .96rem; font-weight: 750; }
.button:hover { filter: brightness(1.1); }
.primary { color: #1d1710; background: var(--accent); }
.secondary { border-color: #b4afb1; background: #131b20ad; }
.game { padding-block: 61px 77px; }
.section-head { display: grid; grid-template-columns: 1fr minmax(250px, .87fr); align-items: end; gap: 24px 64px; padding-bottom: 28px; }
.section-head .status { margin-bottom: 11px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.23rem); letter-spacing: -.025em; }
.section-head > p, .studio p, .application > p { line-height: 1.75; color: var(--muted); font-size: 1.05rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { padding: 22px; }
figcaption h3 { font-size: 1.22rem; margin-bottom: 9px; }
figcaption p { color: var(--muted); line-height: 1.65; }
.studio { background: var(--panel); border-block: 1px solid var(--line); }
.studio-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 90px; padding-block: 55px; }
.studio p { margin-top: 14px; max-width: 51ch; }
.studio .button { margin-top: 22px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; min-height: 90px; padding-block: 20px; color: var(--muted); }
.application { max-width: 820px; min-height: 70vh; padding-block: 80px 48px; }
.application h1 { font-size: clamp(2rem, 5vw, 4.8rem); margin-bottom: 27px; }
.application p + p { margin-top: 18px; }
.application dl { margin: 30px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.application dt { font-weight: 750; }
.application dd { margin: 7px 0 0; color: var(--muted); }

@media (max-width: 740px) {
  .frame { width: calc(100% - 32px); }
  .bar-inner { padding-block: 11px 7px; flex-wrap: wrap; gap: 9px 12px; }
  .bar nav { order: 1; width: 100%; padding-block: 8px 5px; }
  .bar nav, .languages { justify-content: space-between; }
  .hero { min-height: 590px; }
  .hero > img { object-position: 61% 36%; }
  .hero::after { background: linear-gradient(0deg, #111719 1%, #0d171cce 33%, #09141920 81%); }
  .hero-inner { padding-block: 120px 47px; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 4.25rem); }
  .intro { margin-top: 14px; }
  .gallery, .studio-inner, .section-head { grid-template-columns: 1fr; }
  .game { padding-block: 45px 55px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
