:root {
  color-scheme: dark;
  --background: #11100f;
  --surface: #191715;
  --ink: #f4eee5;
  --muted: #bdb2a6;
  --line: #3b322b;
  --accent: #ff762d;
  --heading: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--background); line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 12px; top: 12px; padding: 8px 14px; background: var(--accent); color: #170c06; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: #11100fe8; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -.035em; }
.brand img { border-radius: 8px; border: 1px solid var(--line); }
nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 36px); }
nav a, .site-footer a { color: var(--muted); text-decoration: none; font-size: .92rem; padding-block: 10px; }
nav a:hover, .site-footer a:hover { color: var(--ink); }
nav .nav-join { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--ink); padding: 7px 13px; border: 1px solid #92502e; white-space: nowrap; font-weight: 700; }
nav .nav-join:hover { background: #38231a; border-color: var(--accent); }
.hero { position: relative; isolation: isolate; background: #0a0908; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { z-index: -1; position: absolute; inset: 0; content: ''; background: repeating-linear-gradient(135deg, transparent 0 100px, #ff9a5b10 100px 101px), radial-gradient(ellipse at 48% 135%, #68290150, transparent 65%); mask-image: linear-gradient(black, #0005); }
.hero-inner { display: grid; justify-items: center; text-align: center; padding-block: clamp(44px, 6.5vw, 82px); }
.hero h1 { width: min(100%, 730px); }
.hero img { width: 100%; height: auto; mix-blend-mode: screen; }
.hero p { max-width: 545px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); margin: 20px 0 26px; }
.button { text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; width: fit-content; padding: 10px 16px; touch-action: manipulation; font-weight: 700; font-size: .9rem; border: 1px solid transparent; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.primary { background: var(--accent); color: #170c06; }
.primary:hover { background: #ff9a64; }
.outline { color: var(--ink); border-color: #6e5142; }
.outline:hover { color: #170c06; background: var(--accent); border-color: var(--accent); }
.games { padding-block: clamp(43px, 7vw, 80px); }
.section-heading { margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
h2 { font: 800 clamp(2.45rem, 5vw, 3.6rem)/.95 var(--heading); text-transform: uppercase; letter-spacing: .01em; }
.game-grid { display: grid; gap: 24px; }
.game { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); align-items: center; min-height: 395px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.game-art { width: 100%; height: 100%; object-fit: cover; background: #2b1716; }
.graves { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); background: #151010; border-top: 2px solid #a64a37; }
.graves-art { position: absolute; inset: 0 0 0 auto; width: 78%; object-position: center 46%; z-index: -2; }
.graves::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #151010 8%, #151010f2 31%, #151010a8 47%, transparent 74%); }
.warriors { border-top: 2px solid #b95e37; }
.warriors-art { object-position: center; }
.game-content { padding: clamp(24px, 5vw, 54px); }
.genre { color: #f3a170; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; font-size: .75rem; }
.game h3 { font: 800 clamp(3.25rem, 7.6vw, 6.5rem)/.86 var(--heading); text-transform: uppercase; margin-block: 11px 16px; }
.warriors h3 { max-width: 7ch; font-size: clamp(3.15rem, 6.5vw, 5.7rem); }
.game-content > p:nth-of-type(2) { max-width: 385px; color: #ded3c8; margin-bottom: 23px; }
.game-actions { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; }
.development { font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.development span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.community { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(22px, 5vw, 45px); margin-bottom: clamp(44px, 7vw, 79px); border: 1px solid #784628; background: radial-gradient(ellipse at 87% 100%, #493020, transparent 68%), #201712; }
.community h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.community p { color: #ded3c8; margin-top: 12px; max-width: 500px; }
.community .button { flex: none; }
.studio { border-block: 1px solid var(--line); background: #151310; }
.studio-inner { display: flex; align-items: flex-start; gap: clamp(16px, 4vw, 33px); padding-block: 41px; }
.studio img { flex: none; border: 1px solid var(--line); }
.studio h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
.studio p { max-width: 625px; color: var(--muted); margin-top: 12px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 16px; font-weight: 600; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; }
  .brand { gap: 7px; font-size: .9rem; }
  .brand img { width: 34px; height: 34px; }
  nav { gap: 13px; }
  nav a { font-size: .86rem; }
  .hero-inner { padding-block: 44px; }
  .hero p { margin-top: 14px; }
  .game { grid-template-columns: 1fr; min-height: 0; }
  .game-art, .graves-art { position: static; aspect-ratio: 16 / 9; width: 100%; height: auto; z-index: auto; }
  .graves::before { content: none; }
  .warriors h3 { max-width: none; }
  .community { align-items: flex-start; flex-direction: column; }
  .studio img { width: 54px; height: 54px; }
}
@media (max-width: 400px) {
  .header-inner { gap: 7px; }
  nav { gap: 8px; }
  nav .nav-join { padding-inline: 8px; }
  nav a { font-size: .77rem; }
  .brand { font-size: .8rem; }
  .wrap { width: calc(100% - 26px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
