@font-face {
  font-family: Russo One;
  src: url("assets/RussoOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #121213;
  --panel: #1b1b1d;
  --ink: #f5efe5;
  --muted: #c0b9af;
  --accent: #ff7447;
  --rule: #343132;
  --display: "Russo One", "Arial Black", sans-serif;
  font-family: system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: normal; color: var(--accent); }
.shell { width: min(100% - 3.5rem, 78rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--canvas);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--rule);
  background: #111113;
}
.header-inner, .footer-inner {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font: 0.95rem var(--display);
  white-space: nowrap;
}
.brand img { border-radius: 0.28rem; }
.brand b { color: var(--accent); font-weight: inherit; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.45rem); }
nav a, .footer-inner a { color: var(--muted); font-size: 0.9rem; font-weight: 650; }
nav a:hover, .footer-inner a:hover { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #a34c32;
  background: #100f10;
}
.hero-art, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-art { z-index: -2; object-fit: cover; object-position: 67% 54%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #100f10 0%, #100f10ed 18%, #100f10ab 36%, #100f101c 61%, transparent 81%),
              linear-gradient(0deg, #100f10d9, transparent 35%);
}
.hero-inner {
  min-height: clamp(38rem, 48vw, 49rem);
  display: grid;
  align-items: center;
  position: relative;
  padding-block: 4rem 5rem;
}
.hero-copy { max-width: 37rem; }
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 1.65rem; height: 2px; background: currentColor; }
h1 {
  width: max-content;
  margin: 1.05rem 0 1.45rem;
  transform: skewX(-8deg);
  transform-origin: left bottom;
  font: clamp(4.3rem, 8.7vw, 8.25rem)/0.84 var(--display);
  letter-spacing: -0.025em;
}
.hero-tagline { font: clamp(1.12rem, 2.1vw, 1.5rem)/1.25 var(--display); }
.hero-description { max-width: 24rem; margin-top: 0.65rem; color: var(--muted); line-height: 1.55; }
.button {
  display: inline-block;
  margin-top: 1.65rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  background: var(--accent);
  color: #171310;
  font-weight: 800;
}
.button:hover { background: #ff956f; }
.art-credit {
  position: absolute;
  right: 0;
  bottom: 1rem;
  color: #e4dad0;
  font-size: 0.78rem;
}

.game { padding-block: clamp(3rem, 6vw, 5.75rem); }
.section-intro {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 1.2rem 3rem;
  align-items: end;
}
.section-intro h2 {
  font: clamp(2.5rem, 5.35vw, 5rem)/0.97 var(--display);
  letter-spacing: -0.022em;
  text-transform: uppercase;
}
.section-intro p { max-width: 27rem; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.gameplay { margin-top: clamp(2.25rem, 5vw, 4rem); scroll-margin-top: 1.25rem; }
.gameplay h3 {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.capture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.capture { overflow: hidden; border: 1px solid var(--rule); border-radius: 0.35rem; background: var(--panel); }
.capture img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #111113;
  border-bottom: 1px solid var(--rule);
}
.capture-copy { padding: 1.1rem; }
.capture h4 { font: 1.14rem var(--display); }
.capture p { margin-top: 0.4rem; color: var(--muted); line-height: 1.5; }
.capture .capture-device { margin-top: 0.75rem; font-size: 0.875rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { min-height: 5rem; font-weight: 700; }
.footer-studio { text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 52rem) {
  .section-intro { grid-template-columns: 1fr; }
  .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.75rem; }
  .hero-inner { align-items: start; min-height: 39rem; padding-top: 2.1rem; }
  .hero-art { top: auto; height: 59%; object-position: 77% 52%; }
  .hero::after {
    background: linear-gradient(180deg, #100f10 40%, #100f10e0 49%, #100f1028 66%, transparent 80%),
                linear-gradient(0deg, #100f10ad, transparent 16%);
  }
  h1 { font-size: clamp(4rem, 17vw, 5.7rem); }
  .hero-description { max-width: 18rem; }
  .button { margin-top: 1.2rem; }
  .capture-grid { grid-template-columns: 1fr; }
}
@media (max-width: 22rem) {
  .brand { font-size: 0.83rem; gap: 0.25rem; }
  nav { gap: 0.65rem; }
  nav a { font-size: 0.875rem; }
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.25rem; }
.hero-secondary { color: var(--ink); font-size: 0.9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 0.25em; }
.hero-secondary:hover { color: var(--accent); }
.feature-section { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-section h3, .download h2 { font: clamp(1.65rem, 3vw, 2.5rem)/1.1 var(--display); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; margin: 1.5rem 0 0; }
.feature-grid div { border-top: 1px solid var(--rule); padding: 1.1rem 0 1.4rem; }
.feature-grid dt { font: 1.08rem/1.3 var(--display); }
.feature-grid dd { margin: 0.45rem 0 0; color: var(--muted); line-height: 1.6; }
.download { background: var(--panel); border-top: 1px solid var(--rule); }
.download-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 4rem); }
.download p { max-width: 34rem; margin-top: 0.5rem; color: var(--muted); }
.store-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-button {
  min-width: 9.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid #635654;
  border-radius: 0.35rem;
  background: #262326;
  color: var(--ink);
  font: 1rem/1.3 var(--display);
  text-align: left;
}
.store-button small { display: block; margin-top: 0.2rem; color: var(--muted); font: 650 0.875rem/1.3 system-ui, sans-serif; }
.footer-inner nav { flex-wrap: wrap; gap: 0.75rem 1.4rem; }
.legal {
  max-width: 45rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  font-size: 1.0625rem;
  line-height: 1.67;
}
.legal h1 { width: auto; margin: 0 0 1.2rem; transform: none; font-size: clamp(2.1rem, 6vw, 4.25rem); line-height: 1.03; }
.legal h2 { margin: 1.9rem 0 0.5rem; font: 1.35rem/1.25 var(--display); }
.legal p + p, .legal li + li { margin-top: 0.7rem; }
.legal ul, .legal ol { padding-inline-start: 1.35rem; }
.legal a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 0.17em; overflow-wrap: anywhere; }
.legal .button { margin: 0.8rem 0 1rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

@media (max-width: 52rem) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 36rem) {
  .header-inner nav { gap: 0.75rem; }
  .hero-actions { column-gap: 0.85rem; }
  .hero-inner .hero-secondary { font-size: 0.875rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; gap: 0.8rem; padding-block: 1.3rem; }
}
@media (max-width: 22rem) {
  .header-inner { gap: 0.5rem; }
  .header-inner nav { gap: 0.5rem; }
  .store-button { min-width: 8.4rem; }
}
