@font-face {
  font-family: DM Sans;
  src: url("./dm-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("./dm-sans-semibold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: DM Serif;
  src: url("./dm-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #243b3a;
  --muted: #526460;
  --line: #d9dfd5;
  --orange: #fb8b53;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.75 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #196c83;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.header {
  max-width: 1344px;
  margin: auto;
  min-height: 100px;
  padding: 24px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand span {
  color: #c84d24;
  margin-left: -7px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 23px;
  border-radius: 8px;
  background: var(--orange);
  color: #203431;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.4;
  min-height: 48px;
}
.button:hover {
  background: #ff9c69;
}
.compact {
  font-size: 15px;
  padding: 12px 18px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.hero {
  max-width: 1280px;
  padding: 54px 40px 52px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 68px;
}
.hero h1 {
  font:
    400 clamp(38px, 4.2vw, 61px) / 1.08 "DM Serif",
    serif;
  letter-spacing: -1.1px;
  margin: 22px 0;
}
.dek {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 540px;
}
.byline {
  font-size: 13px;
  color: var(--muted);
  margin: 26px 0 12px;
}
.byline span {
  margin: 0 8px;
}
.home-link {
  font-weight: 600;
  font-size: 15px;
}
.game-art {
  margin: 0;
}
.scene {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #d0c8b4;
}
.background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait {
  position: absolute;
  bottom: 0;
  right: -1%;
  width: 61%;
  height: 76%;
  object-fit: contain;
  object-position: bottom;
}
.place {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  width: fit-content;
  max-width: calc(100% - 32px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 5px;
  background: #faf8f3ed;
}
.game-art figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  padding: 12px 3px;
}
.game-art figcaption span {
  display: block;
}
.reading-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 40px 64px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 240px minmax(0, 700px);
  gap: 70px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 28px;
}
.toc ol {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.toc li {
  margin: 0 0 15px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}
.article {
  min-width: 0;
}
.article > p:first-child {
  font-size: 21px;
  line-height: 1.65;
  margin-top: 0;
}
.article h2 {
  font:
    400 34px/1.2 "DM Serif",
    serif;
  margin: 48px 0 20px;
  letter-spacing: -0.3px;
}
.article h3 {
  font-size: 21px;
  margin-top: 32px;
}
.article p {
  margin: 20px 0;
}
.article li {
  margin: 12px 0;
}
.article strong {
  font-weight: 700;
}
.article a {
  color: #23624e;
}
.article blockquote {
  margin: 28px 0;
  padding: 10px 26px;
  border-left: 4px solid #de8658;
  background: #f0f1e8;
  border-radius: 0 10px 10px 0;
}
.article blockquote p {
  line-height: 1.85;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}
.article th,
.article td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  min-width: 130px;
}
.article th {
  background: #e9eee5;
  font-weight: 700;
}
.article tr:last-child td {
  border-bottom: 0;
}
.cta {
  max-width: 1080px;
  margin: 0 auto 64px;
  background: #243f39;
  color: var(--paper);
  border-radius: 18px;
  padding: 55px 64px;
}
.cta h2 {
  font:
    400 43px/1.15 "DM Serif",
    serif;
  max-width: 650px;
  margin: 18px 0;
}
.cta > p {
  max-width: 620px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}
.small {
  font-size: 13px;
  color: #d7e2d4;
}
.related {
  max-width: 1080px;
  margin: 0 auto 64px;
}
.related h2 {
  font:
    400 30px/1.2 "DM Serif",
    serif;
}
.related ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.related li {
  border-top: 1px solid var(--line);
}
.related a {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  line-height: 1.5;
}
.related a:hover {
  text-decoration: underline;
}
footer {
  max-width: 1280px;
  padding: 30px 40px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
footer nav {
  display: flex;
  gap: 24px;
}
@media (min-width: 900px) {
  .reading-layout aside {
    position: sticky;
    top: 28px;
  }
}
@media (max-width: 900px) {
  .hero {
    gap: 30px;
    padding-top: 28px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 780px;
  }
  .toc ol {
    columns: 2;
  }
  .cta,
  .related {
    margin-left: 32px;
    margin-right: 32px;
  }
  .cta {
    padding: 36px;
  }
  .header {
    padding: 22px 32px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .header {
    padding: 20px;
    gap: 12px;
    min-height: 84px;
  }
  .brand {
    font-size: 19px;
    gap: 5px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .brand span {
    margin-left: -4px;
  }
  .compact {
    padding: 10px 12px;
    font-size: 13px;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 22px 28px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .dek {
    font-size: 17px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .scene {
    aspect-ratio: 1.15/1;
  }
  .reading-layout {
    padding: 28px 22px 44px;
  }
  .toc ol {
    columns: 1;
  }
  .toc li {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .article > p:first-child {
    font-size: 19px;
  }
  .article h2 {
    font-size: 30px;
    margin-top: 36px;
  }
  .article blockquote {
    padding: 8px 17px;
  }
  .article th,
  .article td {
    padding: 10px;
    min-width: 100px;
    font-size: 14px;
  }
  .cta,
  .related {
    margin-left: 20px;
    margin-right: 20px;
  }
  .cta {
    padding: 30px 24px;
    margin-bottom: 40px;
  }
  .cta h2 {
    font-size: 34px;
  }
  .cta-actions {
    gap: 20px;
  }
  .related ul {
    grid-template-columns: 1fr;
  }
  .related h2 {
    font-size: 28px;
  }
  footer {
    padding: 24px 22px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
