:root {
  --pine: #152b25;
  --ink: #20372d;
  --cream: #f5edda;
  --muted: #d1c9af;
  --serif: Georgia, 'Songti SC', 'STSong', 'Noto Serif CJK SC', SimSun, serif;
  font: 100%/1.65 system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--cream);
  background: var(--pine);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #db842e; outline-offset: 4px; }
.shell { width: min(72rem, calc(100% - clamp(2.4rem, 8vw, 8rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: .5rem; left: .5rem; padding: .45rem .85rem; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
header { background: #122720; border-bottom: 1px solid #7e805c; }
.topbar, .footer-inner, .footer-inner > div, nav { display: flex; align-items: center; }
.topbar, .footer-inner { justify-content: space-between; gap: 1rem; }
.topbar { min-height: 4.3rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: bold 1.1rem/1.12 var(--serif); text-decoration: none; }
.brand img { width: 2.25rem; border-radius: .35rem; }
nav, .footer-inner > div { gap: clamp(.8rem, 2.5vw, 2rem); }
nav a, footer a { font-size: .94rem; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.language { padding: .2rem .7rem; border: 1px solid #7e876e; border-radius: .28rem; white-space: nowrap; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 4px solid #ad8d58; background: #1d332a; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url('pass.webp') center 46% / cover; }
.hero::after { background: linear-gradient(90deg, #10261ff7 0%, #142a23f0 27%, #192e23c9 49%, #172b1e4a 81%), linear-gradient(0deg, #132b23b8, transparent 42%); }
.hero-inner { display: grid; align-items: center; grid-template-columns: 1.2fr .9fr; column-gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(2rem, 4.4vw, 4rem); }
.hero-copy { padding-block: 1rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: #f0d5a2; letter-spacing: .08em; font-size: .95rem; font-weight: 650; }
.eyebrow::before { content: ''; width: 2rem; height: 2px; background: #c89b5c; }
h1, h2, h3, .lead { font-family: var(--serif); }
h1 { margin: .18em 0 .25em; font-size: clamp(4rem, 7.9vw, 7.3rem); line-height: 1.12; font-weight: 700; letter-spacing: .035em; }
:lang(en) h1 { font-size: clamp(3.7rem, 6.6vw, 6.5rem); letter-spacing: -.05em; line-height: .99; text-wrap: balance; }
.lead { font-size: clamp(1.35rem, 2.25vw, 2rem); line-height: 1.36; font-weight: 600; text-wrap: balance; }
.intro { max-width: 31em; margin-top: 1rem; color: #dedec9; font-size: 1.08rem; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.platforms { margin-top: .85rem; color: #d5cfb6; font-size: .9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; padding: .55rem 1.15rem; background: #ecd7aa; border: 1px solid #ecd7aa; color: #26392b; border-radius: .25rem; font-size: .98rem; font-weight: 650; text-decoration: none; }
.button:hover { background: #fff1d3; }
.button.secondary { background: #192e25c7; border-color: #9a9b7a; color: #f3e3c3; }
.button.secondary:hover { background: #354b39; }
.opening-board { width: min(100%, 21rem); justify-self: center; }
.opening-board img { width: 100%; border: 2px solid #ba9a64; border-radius: .35rem; box-shadow: 0 15px 42px #06170c94; }
.opening-board figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .62rem .8rem; margin: .5rem -.05rem 0; background: #142820ea; color: #f1dfc0; font-size: .86rem; }
.opening-board figcaption span:last-child { color: #e3c38b; font-weight: 600; white-space: nowrap; }
.paper, .screens { padding-block: clamp(3.4rem, 7vw, 6rem); }
.paper { background: #f3ebd9; color: var(--ink); }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.section-intro { max-width: 46rem; margin-top: .9rem; line-height: 1.8; color: #495441; }
.roster { margin-top: clamp(1.8rem, 3vw, 2.8rem); display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(.75rem, 1.7vw, 1.5rem); padding: 0; list-style: none; }
.roster img { width: 100%; border: 1px solid #746c4c; }
h3 { font-size: 1.55rem; line-height: 1.24; }
.roster h3 { margin: .7rem 0 .35rem; }
.roster p, .book-grid p { color: #495441; }
.screens { background: #20382e; }
.gallery { margin-top: 2rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem, 4vw, 4rem); }
.gallery figure { min-width: 0; }
.gallery a { display: grid; place-items: center; border: 1px solid #53624b; background: #172d24; padding: clamp(.7rem, 2vw, 1.5rem); border-radius: .3rem; }
.gallery a:hover { border-color: #ddc496; }
.gallery img { width: min(100%, 13.8rem); box-shadow: 0 6px 16px #0b1c156b; }
.gallery h3 { margin: .85rem 0 .25rem; }
.gallery p { color: #d3d5bd; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.4rem, 6vw, 5rem); margin-top: 1.8rem; }
.book-grid article { border-top: 1px solid #b5aa87; padding-top: 1.3rem; }
.book-grid p { margin-top: .55rem; }
footer { background: #142820; }
.footer-inner { padding-block: 1.6rem; }
@media (max-width: 55rem) {
  .hero-inner { grid-template-columns: 1.1fr .85fr; gap: 1.5rem; }
  .roster { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 1.5rem; }
}
@media (max-width: 42rem) {
  .topbar { min-height: 3.65rem; gap: .65rem; }
  .support-link { display: none; }
  .brand { font-size: .98rem; gap: .42rem; }
  .brand img { width: 1.8rem; }
  nav a { font-size: .875rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.7rem; padding-block: 2.35rem 1.5rem; }
  .hero-copy { padding-block: 0; }
  .hero::before { background-position: 60% center; }
  .hero::after { background: linear-gradient(180deg, #11281ff2 12%, #132a21dc 42%, #162a2052 82%, #172c23bd); }
  h1 { font-size: clamp(3.4rem,13vw,5.7rem); }
  :lang(en) h1 { font-size: clamp(3.25rem,11.6vw,4.7rem); max-width: 10em; }
  .intro { font-size: 1rem; }
  .actions { margin-top: 1.2rem; }
  .opening-board { width: min(78%, 18rem); }
  .roster { grid-template-columns: 1fr; gap: 0; }
  .roster li { display: grid; grid-template-columns: clamp(4.9rem, 20vw, 7rem) 1fr; gap: 1rem; align-items: center; padding-block: .8rem; border-top: 1px solid #c7bda0; }
  .roster h3 { margin-top: 0; }
  .gallery { grid-template-columns: 1fr; gap: 1.4rem; }
  .gallery figure { display: grid; grid-template-columns: minmax(6.8rem, 39%) 1fr; gap: 1.2rem; align-items: center; }
  .gallery a { padding: .55rem; }
  .gallery h3 { margin: 0 0 .4rem; }
  .book-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > div { flex-wrap: wrap; }
}
@media (max-width: 24rem) {
  .shell { width: calc(100% - 1.8rem); }
  :lang(en) .topbar .brand { max-width: 7rem; }
  nav { gap: .6rem; }
  .language { padding: .16rem .45rem; }
}
