@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #151112;
  --surface: #201719;
  --text: #f7eee9;
  --muted: #c7b5b2;
  --accent: #ffa295;
  --border: #574044;
  --display: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--text);
  font: 1rem/1.65 Inter, system-ui, sans-serif;
}
main { flex: 1; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1; }
h1 { font-size: clamp(4.25rem, 8.2vw, 8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.65rem, 5.6vw, 4.2rem); letter-spacing: -.035em; }
h3 { font-size: 1.075rem; line-height: 1.32; }
a { color: var(--accent); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1152px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 4; inset: 6px auto auto 8px; padding: .5rem .9rem; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; white-space: nowrap; font: 700 1.75rem/1 var(--display); }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(.7rem, 3vw, 2rem); }
.header-inner nav a, .footer-inner nav a { color: var(--muted); font-size: .875rem; text-decoration: none; }
.header-inner nav a:hover, .footer-inner nav a:hover { color: var(--accent); text-decoration: underline; }
.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 36%, #432327 0, #211619 43%, var(--ink) 78%);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(3rem, 8vw, 6.4rem); }
.eyebrow { color: var(--accent); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: .8rem; }
.lead { color: var(--muted); max-width: 37ch; margin-top: 1.15rem; font-size: clamp(1rem, 1.5vw, 1.125rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .58rem 1rem; border: 1px solid transparent; border-radius: 4px; font-size: .86rem; font-weight: 700; text-decoration: none; }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: #ffc3b9; }
.button-secondary { color: var(--text); border-color: #876a6b; }
.button-secondary:hover { background: #ffffff0c; border-color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: .6rem 1.45rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--border); font-size: .81rem; }
.facts dt { color: var(--muted); }
.facts dd, .edition dd { margin: 0; font-weight: 600; }
.trailer { min-width: 0; padding: .55rem; background: #2a1a1d; border: 1px solid #7f5357; border-radius: 6px; box-shadow: 0 1rem 4rem #13060773; }
.trailer-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.trailer-frame img { width: 100%; height: 100%; object-fit: cover; }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: flex; gap: .65rem; align-items: center; white-space: nowrap; color: var(--text); background: #201416f5; border: 1px solid #bc8987; border-radius: 3px; padding: .65rem .9rem; font-size: .84rem; text-decoration: none; font-weight: 700; }
.trailer-play[hidden] { display: none; }
.trailer-play:hover { background: #42272b; }
.play-mark { border-left: .65rem solid var(--accent); border-block: .4rem solid transparent; }
figcaption { color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .125rem .8rem; padding: .55rem .2rem .1rem; font-size: .75rem; }
.section { padding-block: clamp(3.8rem, 7vw, 5.7rem); scroll-margin-top: 1rem; }
.intro { max-width: 63ch; margin-top: .85rem; }
.section p, .site-footer p, .legal p { color: var(--muted); }
.gameplay-screenshot {
  max-width: 56rem;
  margin: 1.75rem auto 0;
  padding: .55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.gameplay-screenshot img { width: 100%; height: auto; }
.gameplay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style-position: inside; padding: 0; margin: 1.75rem 0 0; }
.gameplay-grid li { background: var(--surface); border: 1px solid var(--border); padding: 1.3rem 1.35rem; border-radius: 5px; }
.gameplay-grid li::marker { color: var(--accent); font-weight: 700; }
.gameplay-grid h3 { display: inline; }
.gameplay-grid p, .hint p, .faq p, .edition p, .legal p { margin-top: .65rem; }
.gameplay-note { margin-top: 2rem; max-width: 75ch; }
.gameplay-note p, .hint-note p { margin-top: .4rem; }
.chapter {
  background: #281b1e;
  border-block: 1px solid var(--border);
}
.chapter-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(1.6rem, 6vw, 5rem); align-items: start; }
.hint-note { margin-top: 1.65rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--accent); }
.hint { padding-block: 1rem; border-bottom: 1px solid var(--border); }
.hint:first-child { padding-top: 0; }
.hint details { margin-top: .65rem; padding: .45rem .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.hint summary { color: var(--accent); font-weight: 700; cursor: pointer; min-height: 33px; padding-block: .2rem; }
.hint details p { margin-block: .25rem .5rem; }
.steam { background: var(--surface); }
.steam-grid, .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.edition { display: flex; flex-direction: column; align-items: flex-start; background: var(--ink); border: 1px solid var(--border); border-radius: 5px; padding: 1.4rem; }
.edition dl { width: 100%; padding-top: .6rem; margin: auto 0 1.05rem; font-size: .86rem; }
.edition dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .5rem; padding-block: .35rem; border-bottom: 1px solid var(--border); }
.edition dt { color: var(--muted); }
.content-note { margin-top: 1.4rem; max-width: 75ch; }
.faq-grid { column-gap: 2.25rem; }
.faq-grid article { padding: .9rem 0 1.1rem; border-bottom: 1px solid var(--border); }
.site-footer { padding-block: 2rem; border-top: 1px solid var(--border); background: #1c1517; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 1.4rem; }
.site-footer p { margin-top: .45rem; font-size: .82rem; }
.legal { max-width: 74ch; padding-block: 3.5rem 5rem; }
.legal h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
.legal h2 { font-size: 2rem; line-height: 1.15; margin-top: 1.6rem; }
.legal .button { margin-top: 1.2rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy .lead { max-width: 55ch; }
  .gameplay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 630px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner, .footer-inner { flex-direction: column; align-items: start; }
  .header-inner { padding-block: .9rem; gap: .65rem; }
  .header-inner nav a { display: inline-flex; align-items: center; min-height: 36px; }
  .chapter-grid, .steam-grid, .faq-grid { grid-template-columns: 1fr; }
}
