:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090a0b;
  color: #f1eee8;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #090a0b; }
a { color: inherit; }
.site-header, main, footer { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.site-header { min-height: clamp(8rem, 13vw, 10.5rem); display: flex; align-items: center; justify-content: center; }
.wordmark { display: inline-flex; width: clamp(18rem, 36vw, 30rem); color: #f1eee8; text-decoration: none; }
.wordmark img { display: block; width: 100%; height: auto; }
main { flex: 1; padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(4rem, 8vw, 7rem); }
.intro { max-width: 54rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 1.1rem; font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: .92; letter-spacing: -.06em; }
.intro > p:last-child { margin-bottom: 0; color: #aeb4b8; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.intro > p:last-child a { color: #f1eee8; text-underline-offset: .2em; }
h2 { margin-bottom: 1rem; color: #8e969b; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.wiki-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.wiki-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; overflow: hidden; border: 1px solid #2b3034; border-radius: 1rem; background: #0d1012; text-decoration: none; box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .16); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.wiki-row:hover, .wiki-row:focus-visible { transform: translateY(-.25rem); border-color: #d87532; background: #101416; box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .32); outline: none; }
.wiki-row img { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 460 / 215; object-fit: cover; border-bottom: 1px solid #2b3034; transition: transform 280ms ease, filter 280ms ease; }
.wiki-row:hover img, .wiki-row:focus-visible img { transform: scale(1.018); filter: saturate(1.05) contrast(1.02); }
.wiki-copy { min-width: 0; min-height: 8.8rem; display: grid; align-content: start; gap: .5rem; padding: 1.35rem 0 1.5rem 1.5rem; }
.wiki-copy strong { font-size: clamp(1.2rem, 2.1vw, 1.48rem); line-height: 1.2; }
.wiki-copy > span { color: #adb3b7; line-height: 1.5; }
.arrow { display: flex; align-items: center; padding: 0 1.4rem 0 1rem; color: #df7c37; transition: transform 180ms ease; }
.arrow svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wiki-row:hover .arrow, .wiki-row:focus-visible .arrow { transform: translateX(.25rem); }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid #292d30; color: #858d92; font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
footer a:hover, footer a:focus-visible { color: #f1eee8; }
footer p { margin: 0; }
.info-page { max-width: 44rem; }
.info-page h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); }
.info-page h2 { margin-top: 2.5rem; color: #f1eee8; font-size: 1.1rem; letter-spacing: 0; text-transform: none; }
.info-page p { color: #b5babd; font-size: 1.05rem; line-height: 1.75; }
.info-page a { text-underline-offset: .2em; }
@media (max-width: 38rem) {
  .site-header, main, footer { width: min(100% - 1.5rem, 76rem); }
  .site-header { min-height: 7rem; }
  .wordmark { width: min(80vw, 20rem); }
  main { padding: 1rem 0 3rem; }
  .wiki-grid { grid-template-columns: 1fr; gap: 1rem; }
  .wiki-copy { min-height: 0; padding: 1.15rem 0 1.3rem 1.15rem; }
  .wiki-copy strong { font-size: 1.15rem; }
  .arrow { padding-right: 1.15rem; }
  footer { flex-direction: column; gap: 1rem; }
}

@media (min-width: 38.001rem) and (max-width: 58rem) {
  .wiki-copy { min-height: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wiki-row, .wiki-row img, .arrow { transition: none; }
  .wiki-row:hover, .wiki-row:focus-visible, .wiki-row:hover img, .wiki-row:focus-visible img { transform: none; }
}
