@font-face {
  font-family: "Lilita One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lilita-one-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
}

:root {
  /* the only three type sizes on the site */
  --fs-sm: 0.9rem;
  --fs-md: 1.2rem;
  --fs-lg: clamp(3rem, 10vw, 5.5rem);
  --bg: #0A0A0A;
  --paper: #171717;
  --ink: #EDEAE4;
  --ink-soft: #A6A199;
  --crust: #E2A63D;
  --brand: #E2653A;
  --field: #8FAE82;
  --rule: rgba(237, 234, 228, 0.16);
  --max: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  /* dark text on the light background; dark surfaces below restore the dark palette */
  --ink: #2a160a;
  --ink-soft: #4a2c14;
  --crust: #6b3508;
  --brabant-red: #d4001a;
  --field: #3d5a2e;
  --rule: rgba(42, 22, 10, 0.3);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
.wordmark {
  font-family: "Lilita One", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

header {
  padding: 28px 0 0;
}

.header-row {
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: block;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  /* text is ~10.8em wide, so this spans the full header width */
  font-size: min(calc((100vw - 72px) / 11), 116px); /* fills the header width, capped at about 1280px */
  text-transform: uppercase;
  text-decoration: none;
  /* Brabant flag: red/white checker, clipped to the text */
  --checker: 0.2em;
  color: transparent;
  background:
    conic-gradient(#d4001a 25%, #fff 0 50%, #d4001a 0 75%, #fff 0) 0 0 / calc(var(--checker) * 2) calc(var(--checker) * 2);
  -webkit-background-clip: text;
  background-clip: text;
  /* thin dark edge so the white squares read against the light crust, plus a soft drop shadow */
  filter: drop-shadow(0 0 1px #2a160a) drop-shadow(0 0 1px #2a160a) drop-shadow(0 5px 6px rgba(42, 22, 10, 0.5));
}

nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  font-size: var(--fs-md);
}

nav a {
  padding: 6px 14px;
  color: var(--ink);
  font-family: "Lilita One", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--brand);
}

.hero-game {
  padding: 60px 0 44px;
}

.game-title {
  font-size: var(--fs-lg);
  line-height: 0.95;
  margin: 0 0 14px;
  color: #FBB100;
  -webkit-text-stroke: 10px #000;
  paint-order: stroke fill;
  stroke-linejoin: round;
}

.game-subtitle {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-md);
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: #000;
  -webkit-text-stroke: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn-steam {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 38px;
  border-radius: 5px;
  background: #1b2838;
  border: 1px solid #2a475e;
  color: #66c0f4;
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.steam-icon {
  width: 30px;
  height: 30px;
  flex: none;
  background-color: #66c0f4;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/steam.svg") no-repeat center / contain;
  mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/steam.svg") no-repeat center / contain;
}

.btn-steam>span {
  display: flex;
  flex-direction: column;
  font-family: "Lilita One", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.btn-steam small {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa8bd;
}

.platform-note {
  margin: 10px 0 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.road-rule {
  border: none;
  border-top: 3px dashed var(--rule);
  margin: 0;
}

section {
  padding: 44px 0;
}


.game .tag {
  color: var(--field);
  font-weight: 500;
  font-size: var(--fs-sm);
  margin: 6px 0 16px;
}

.game p {
  color: var(--ink-soft);
  max-width: 56ch;
}

.game p b {
  color: var(--ink);
  font-weight: 800;
}

.game img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 22px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}

.game ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.game li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-soft);
}

.game li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--brabant-red);
  border-radius: 1px;
  transform: rotate(45deg);
}

.game li.stat {
  font-size: calc(var(--fs-md) * 2 - 8px);
  line-height: 1.35;
  color: var(--ink);
}

.game li.stat::before {
  top: 0.5em;
  width: 0.3em;
  height: 0.3em;
}

.stat-num {
  font-family: "Lilita One", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--brabant-red);
}

.studio h2 {
  font-size: var(--fs-md);
}

.studio p {
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 10px 0 0;
}

.studio .links {
  margin-top: 22px;
}

/* dark surfaces keep the original dark palette */
.links a {
  --ink: #EDEAE4;
  --ink-soft: #A6A199;
  --crust: #E2A63D;
  --field: #8FAE82;
  --rule: rgba(237, 234, 228, 0.16);
  color: var(--ink);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 48px;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.links a:hover {
  border-color: var(--icon-color);
  background: #1d1d1d;
  transform: translateY(-2px);
}

.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
}

.social-icon {
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
}

.social-icon-instagram {
  mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/instagram.svg") no-repeat center / contain;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/instagram.svg") no-repeat center / contain;
}

.social-icon-youtube {
  mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/youtube.svg") no-repeat center / contain;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/youtube.svg") no-repeat center / contain;
}

.social-icon-reddit {
  mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/reddit.svg") no-repeat center / contain;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/reddit.svg") no-repeat center / contain;
}

.social-icon-tiktok {
  mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/tiktok.svg") no-repeat center / contain;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/tiktok.svg") no-repeat center / contain;
}

.icon-instagram {
  --icon-color: #dd2a7b;
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.icon-youtube {
  --icon-color: #ff0000;
  background: #ff0000;
}

.icon-reddit {
  --icon-color: #ff4500;
  background: #ff4500;
}

.icon-tiktok {
  --icon-color: #25f4ee;
  background: #000;
}

.contact-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--brabant-red);
  border-radius: 4px;
  padding: 30px;
}

.contact-card h2 {
  font-size: var(--fs-md);
}

.contact-card>p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 10px 0 24px;
}

.contact-form {
  margin-top: 26px;
  max-width: 420px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid rgba(42, 22, 10, 0.4);
  background: #fffdf8;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: var(--fs-sm);
  resize: vertical;
}

.contact-form textarea {
  min-height: 100px;
}

.contact-form button {
  justify-self: start;
  padding: 10px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: var(--brabant-red);
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
}

.contact-form button:hover {
  background: #a80014;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: default;
}

.form-status-success:not(:empty) {
  padding: 10px 12px;
  border-left: 2px solid var(--field);
  color: var(--ink);
  font-size: var(--fs-sm);
}

.field-error {
  display: block;
  font-size: var(--fs-sm);
  color: #b3001a;
  margin-top: 4px;
}

.field-error:empty {
  display: none;
}

footer.wrap {
  border-top: 1px solid var(--rule);
  padding: 24px 28px 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.notfound {
  padding: 90px 0 60px;
}

.notfound p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 10px 0 0;
}

.notfound a {
  color: var(--crust);
}

.notfound .links a {
  color: var(--ink);
}

.notfound .notfound-follow {
  margin-top: 34px;
  margin-bottom: 14px;
}

/* screenshot gallery + lightbox */
.gallery h2 {
  font-size: var(--fs-md);
}

.gallery p {
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 10px 0 0;
}

.gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--rule);
  cursor: zoom-in;
  background: #000;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery a:hover img {
  transform: scale(1.03);
}

.gallery a span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox img {
  max-width: 96vw;
  max-height: 96vh;
  object-fit: contain;
  cursor: zoom-out;
}

.lightbox button {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: var(--fs-md);
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover {
  background: var(--brand);
}

.lb-close {
  top: 16px;
  right: 16px;
}

.lb-prev {
  left: 16px;
}

.lb-next {
  right: 16px;
}

@media (max-width: 520px) {
  .gallery ul {
    grid-template-columns: 1fr;
  }
}


.hero-shot {
  display: block;
  cursor: zoom-in;
}

/* compact social icons in the header nav */
.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}

.nav-socials a {
  display: inline-flex;
  padding: 8px;
  color: var(--ink);
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-socials a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

.nav-socials .social-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 520px) {
  .nav-socials {
    flex-basis: 100%;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-left: 0;
  }
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brabant-red);
  outline-offset: 1px;
}

/* playful touches */
h1,
h2,
.wordmark {
  font-weight: 400;
  letter-spacing: 0;
}

nav a {
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

nav a:hover {
  background: rgba(212, 0, 26, 0.1);
  color: var(--brabant-red);
  transform: rotate(-3deg) scale(1.05);
}

.game img,
.gallery a,
.contact-card {
  border-radius: 18px;
}

.game li.stat {
  font-weight: 600;
}

.gallery li {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery li:nth-child(odd):hover {
  transform: rotate(-1.5deg) scale(1.02);
}

.gallery li:nth-child(even):hover {
  transform: rotate(1.5deg) scale(1.02);
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
}

.contact-form button {
  border-radius: 999px;
  padding: 10px 26px;
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease;
}

.contact-form button:hover {
  transform: scale(1.06) rotate(-1deg);
}

@media (prefers-reduced-motion: reduce) {
  nav a:hover,
  .gallery li:hover,
  .contact-form button:hover {
    transform: none;
  }
}

.game p b.asterisk,
.game .platform-note,
.game .platform-note b {
  color: var(--brabant-red);
}

/* intro paragraph: bullet-list size minus 8px */
.game p:not(.tag):not(.platform-note) {
  font-size: calc(var(--fs-md) * 2 - 8px);
  line-height: 1.35;
  max-width: none;
}

.game .road-rule {
  margin: 28px 0;
}

.game .hero-shot img {
  margin-top: 0;
}

/* footnote marker: a bullet shaped like an asterisk */
.game .platform-note {
  font-size: calc(var(--fs-sm) + 2px);
  position: relative;
  padding-left: 26px;
}

.game .platform-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: calc(var(--fs-sm) - 2px);
  height: calc(var(--fs-sm) - 2px);
  background: var(--brabant-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cg stroke='black' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M0-8V8M-6.9-4L6.9 4M-6.9 4L6.9-4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cg stroke='black' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M0-8V8M-6.9-4L6.9 4M-6.9 4L6.9-4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
