:root {
  --paper: #eee8d9;
  --paper-2: #e6ddca;
  --ink: #272621;
  --ink-soft: #514b40;
  --ink-faint: #695d4d;
  --night: #20241f;
  --red: #8f292d;
  --red-deep: #722025;
  --gold: #e5ca8a;
  --line: #d3c8b3;
  --radius: 4px;
  --max: 1220px;
}

body {
  background: var(--paper);
  font-size: clamp(1rem, .97rem + .18vw, 1.1rem);
}

.wrap { padding-inline: clamp(22px, 4.5vw, 56px); }
main > section:not(.official-hero), .section-alt > section {
  padding-block: clamp(48px, 7vw, 94px);
}
h2 { text-wrap: balance; }
:where(a, button, input, select):focus-visible {
  outline: 2px solid #a32a37;
  outline-offset: 4px;
}
.on-dark :where(a, button):focus-visible,
.site-header :where(a, button, select):focus-visible,
.site-footer a:focus-visible { outline-color: var(--gold); }

.site-header {
  background: #20241f;
  border-bottom: 1px solid #ffffff19;
  backdrop-filter: none;
}
.site-header .wrap { height: 68px; }
.site-header .brand { color: #f3ecdc; font-size: 1.2rem; }
.site-header .brand small { color: #c9bfa7; letter-spacing: .04em; }
.site-header .brand img { flex: none; }
.site-header .nav { gap: 8px; }
.site-header .nav a { color: #e6dbc2; font-size: .93rem; padding: 10px 12px; }
.site-header .nav a:hover { color: #fff8e6; background: #ffffff0c; }
.site-header .nav a[aria-current="page"] {
  color: #ffe2a2; box-shadow: inset 0 -2px 0 #d3ae67;
}
.site-header .menu-btn, .site-header .lang select {
  min-height: 40px; border-color: #ffffff37; color: #eee3cd; background: #20241f;
}
.site-header .lang::after { border-color: #e7d7b7; }
.site-header .lang option { background: #20241f; color: #eee3cd; }

main > .official-hero {
  --hero-bg: #272a23;
  position: relative;
  padding: 0;
  background: var(--hero-bg);
  color: #f4ebd8;
  border-bottom: 5px solid #988152;
}
.official-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  max-width: 1600px;
  margin-inline: auto;
  min-height: clamp(470px, 41vw, 680px);
}
.official-hero-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(35px, 4.8vw, 76px) clamp(24px, 4.4vw, 72px)
           clamp(38px, 5vw, 84px) clamp(24px, 5.5vw, 88px);
}
.official-game-subtitle, .official-hero .eyebrow {
  color: #e0c892;
  margin: 0 0 .65rem;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: none;
}
.official-hero h1 {
  color: #fff4de;
  margin: 0 0 .23em;
  font-size: clamp(3.15rem, 6.1vw, 6.9rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
:lang(zh) .official-hero h1 { letter-spacing: .12em; }
.official-lead, .official-hero .lead {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, .94rem + .35vw, 1.25rem);
  color: #eee4d0;
  line-height: 1.68;
}
.official-hero .btn-row { margin-top: 1.5rem; gap: 9px 11px; }
.btn {
  min-height: 44px;
  padding: .72em .98em;
  line-height: 1.3;
  justify-content: center;
  font-size: .96rem;
  letter-spacing: 0;
}
.btn-primary { box-shadow: none; }
.btn-primary:hover { background: var(--red-deep); }
.official-release, .official-hero .badge {
  color: #e0c892;
  font-size: .85rem;
  font-weight: 500;
  margin: 1.4rem 0 0;
  padding: .75rem 0 0;
  border: 0;
  border-top: 1px solid #ffffff2e;
  border-radius: 0;
  letter-spacing: 0;
}
.official-hero .badge { margin-top: 1rem; }
.official-hero-art { position: relative; margin: 0; min-width: 0; min-height: 100%; background: #33352c; }
.official-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 53%;
}
.official-game-hero .official-hero-art img { object-position: 59% 48%; }
.official-game-hero .official-hero-copy { padding-block: clamp(38px, 4vw, 68px); }

.official-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}
.official-story-art {
  aspect-ratio: 1.62;
  min-width: 0;
  border-bottom: 3px solid #8c7148;
  background: #454033;
}
.official-story-art img { width: 100%; height: 100%; object-fit: cover; }
.official-story-copy { max-width: 38rem; min-width: 0; }
.official-story-copy h2 { font-size: clamp(1.9rem, 1.35rem + 1.55vw, 2.9rem); }
.official-story-copy p { color: var(--ink-soft); }
.official-story-copy p:last-child { margin-bottom: 0; }

.official-home main > .official-roadmap {
  background: #e6ddca;
  border-block: 1px solid var(--line);
}
.official-roadmap .rm-intro { max-width: 42rem; }
.official-roadmap .rm-grid { gap: clamp(24px, 4vw, 54px); }
.official-roadmap .rm-grid .panel {
  background: transparent;
  border: 0;
  border-top: 1px solid #a28e6d;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0 0;
}
.official-roadmap .rm-list li { align-items: baseline; }
.official-roadmap .rm-when { color: #733238; }
.official-about .studio-tagline {
  color: var(--ink); font-family: var(--serif); font-size: 1.27rem;
}
.official-about .mounted { padding: 0; background: none; box-shadow: none; }
.official-about .mounted .keyline { outline: none; border-bottom: 3px solid #8c7148; }
.official-about .mounted .keyline::after { content: none; }
.official-about .mounted img { aspect-ratio: 1.78; }
.official-home main > .community {
  background: #e9e2d2;
  border-block: 1px solid var(--line);
}
.brushed::after { width: 50px; height: 4px; }
.community .prose { max-width: 1150px; }
.section-alt { background: transparent; }
.letter, .official-game .panel, .official-information .panel {
  background: #f5efe2;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: var(--radius);
}
.letter::before { left: 0; right: auto; width: 54px; height: 3px; }
.letter .field-row input { min-height: 44px; border-color: #a9997e; }
.letter .consent { color: var(--ink-soft); }
.site-footer { background: #20241f; border-top: 1px solid #857556; }
.site-footer .wrap { gap: 30px 50px; }
.site-footer a { color: #eee3ca; }
.site-footer a[aria-current="true"] { color: #ffe2a2; }
.official-information .page-head h1 { margin-bottom: .3em; }
.official-information .policy, .official-information .prose { max-width: 71ch; }

@media (max-width: 1080px) and (min-width: 761px) {
  .official-hero-grid { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); }
}
@media (max-width: 760px) {
  .site-header .wrap { gap: 12px; height: 62px; }
  .site-header .nav { top: 62px; gap: 4px; background: #20241f; border-color: #ffffff37; }
  .site-header .nav a { min-height: 44px; }
  .site-header .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 #d3ae67; }
  .site-header .lang { margin-left: 0; }
  .official-hero-grid { min-height: 0; grid-template-columns: minmax(0,1fr); }
  .official-hero-art { aspect-ratio: 16 / 9; min-height: auto; }
  .official-hero-copy { padding: 34px clamp(22px, 6vw, 46px) 30px; }
  .official-hero h1 { font-size: clamp(2.65rem, 10.5vw, 4.5rem); }
  .official-story-grid { grid-template-columns: minmax(0,1fr); }
  .official-story-copy { grid-row: 1; }
  .official-story-art { aspect-ratio: 1.78; }
  .official-hero .btn-row { margin-top: 1.2rem; }
  .official-release { margin-top: 1.1rem; }
  .official-roadmap .rm-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 420px) {
  .site-header .brand { gap: 6px; }
  .site-header .brand small { display: none; }
  .official-hero .btn-row .btn { max-width: 100%; }
  .official-hero .btn span { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mounted, .mounted img { transition: none; }
}
