/* NXN Technologies LLC: neutral black and white, Cinderwing red as the only accent. System fonts only. */
:root {
  --bg: #ffffff;
  --text: #111114;
  --muted: #55555e;
  --line: #e2e2e6;
  --dark: #0a0a0b;
  --accent: #c81e26;      /* Cinderwing red, darkened slightly for text contrast on white */
  --accent-bright: #e0242c;
  --wrap: 1080px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #9c141b; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 740px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--dark); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; font-weight: 750; letter-spacing: 0.02em; }
.mark { width: 30px; height: 30px; flex: none; }
.brand small { font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; font-weight: 550; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent-bright); }

.hero { padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 650; color: var(--accent); margin-bottom: 1rem; }
.hero p.lede { font-size: 1.25rem; color: var(--muted); max-width: 40ch; }
.rule { width: 56px; height: 3px; background: var(--accent-bright); border: 0; margin: 1.8rem 0 0; }

.section { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--muted); }

.game {
  display: grid; grid-template-columns: 1.25fr 1fr; background: var(--dark); color: #e8ecf4;
  text-decoration: none; overflow: hidden; border-top: 3px solid var(--accent-bright);
}
.game:hover { color: #fff; }
.game:hover .cta { text-decoration: underline; }
.game img.art { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.game .body { padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.game .wordmark { width: min(300px, 100%); margin: 0 0 1rem -0.3rem; }
.game p { color: #c4c8d0; }
.game .meta { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: #a8a8b0; margin-bottom: 1.2rem; }
.game .cta { color: #ff6068; font-weight: 650; }
@media (max-width: 760px) { .game { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact-list li { border: 1px solid var(--line); border-top: 3px solid var(--text); padding: 1.1rem 1.2rem; }
.contact-list strong { display: block; margin-bottom: 0.2rem; }

.page-head { padding: clamp(3rem, 7vw, 5rem) 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-head p { color: var(--muted); margin: 0; }
.doc { padding-bottom: 4rem; }
.doc h2 { font-size: 1.4rem; margin-top: 2rem; }
.doc ul { padding-left: 1.2rem; }

.site-footer { background: var(--dark); color: #a8a8b0; padding: 2.2rem 0; font-size: 0.95rem; border-top: 3px solid var(--accent-bright); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0; padding: 0; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }
