:root {
  color-scheme: dark;
  --bg: #080809;
  --panel: #101012;
  --ink: #f4f0ea;
  --muted: #aaa5a0;
  --line: rgba(255,255,255,.13);
  --red: #f1323d;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 7%, rgba(241,50,61,.1), transparent 34rem),
    var(--bg);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 64px), 1180px);
  min-height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 950;
  letter-spacing: -.055em;
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 46px); }
nav a {
  position: relative;
  color: #c8c3be;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}
nav a:hover, nav a:focus-visible, nav a.active { color: #fff; }
nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
}

main { overflow: hidden; }

.home-main {
  width: min(calc(100% - 64px), 1180px);
  margin: 0 auto;
  padding: clamp(74px, 10vw, 126px) 0 110px;
}

.home-hero {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-intro h1,
.page-intro h1,
.about-copy h1 {
  margin: 0;
  font-size: clamp(68px, 8.6vw, 112px);
  font-weight: 950;
  line-height: .82;
  letter-spacing: -.075em;
}

.home-intro > p:last-child {
  max-width: 510px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
}

.home-portrait {
  position: relative;
  height: 590px;
  min-width: 0;
  overflow: hidden;
  align-self: end;
  background: #090a0d;
}

.home-portrait::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg), transparent 18%, transparent 88%, var(--bg)),
    linear-gradient(180deg, var(--bg), transparent 14%, transparent 72%, var(--bg));
  content: "";
  pointer-events: none;
}

.home-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: contrast(1.04) saturate(.92);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.direction-card {
  position: relative;
  display: flex;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px);
  align-items: flex-end;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
  isolation: isolate;
  transition: border-color 160ms ease, transform 160ms ease;
}

.direction-card:hover,
.direction-card:focus-visible {
  border-color: rgba(255,255,255,.45);
  transform: translateY(-4px);
}

.music-card {
  background:
    linear-gradient(145deg, rgba(241,50,61,.3), transparent 58%),
    #151114;
}
.games-card {
  background:
    radial-gradient(circle at 78% 18%, rgba(241,50,61,.22), transparent 38%),
    linear-gradient(145deg, #141416, #0c0c0e);
}

.direction-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.62));
  content: "";
}

.card-copy { position: relative; z-index: 2; width: 100%; }
.card-copy p {
  margin: 0 0 13px;
  color: #c0bbb6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-copy h2 {
  margin: 0 0 30px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .84;
  letter-spacing: -.065em;
}
.card-copy span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.card-copy b { font-size: 24px; font-weight: 400; }

.card-backdrop {
  position: absolute;
  top: 30px;
  right: -12px;
  color: transparent;
  font-size: clamp(76px, 10vw, 132px);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: 1;
  opacity: .12;
  -webkit-text-stroke: 1px #fff;
  user-select: none;
}

.inner-main {
  width: min(calc(100% - 64px), 1180px);
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) 0 120px;
}

.page-intro { max-width: 820px; margin-bottom: 64px; }
.page-intro h1 { font-size: clamp(76px, 12vw, 150px); }
.page-intro > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.game-catalog { display: grid; }
.game-entry {
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(360px, .95fr) 1.05fr;
  border: 1px solid var(--line);
  background: #101012;
}
.game-entry-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(241,50,61,.18), transparent 50%),
    #0a0a0c;
}
.game-entry-art img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 610px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}
.game-entry-copy {
  display: flex;
  padding: clamp(40px, 7vw, 84px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.game-entry-copy h2 {
  margin: 0;
  font-size: clamp(54px, 7vw, 88px);
  line-height: .94;
  letter-spacing: -.045em;
}
.game-entry-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.entry-actions { display: flex; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { color: #080809; background: #fff; border-color: #fff; }

.about-layout {
  display: flex;
  min-height: 600px;
  align-items: center;
}
.about-copy { width: 100%; }
.about-copy h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(64px, 11vw, 138px);
}
.about-copy .large-copy {
  max-width: 920px;
  margin: 42px 0 54px;
  color: var(--ink);
  font-size: clamp(25px, 3.3vw, 40px);
  font-weight: 800;
  line-height: 1.22;
}
.about-columns {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.about-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

footer {
  display: grid;
  width: min(calc(100% - 64px), 1180px);
  min-height: 116px;
  margin: 0 auto;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #88837e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
footer strong { color: var(--ink); font-size: 17px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 820px) {
  .site-header {
    width: min(calc(100% - 36px), 1180px);
    min-height: 80px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 15px 0;
  }
  nav { width: 100%; justify-content: space-between; gap: 18px; }
  nav a { font-size: 10px; }
  nav a.active::after { bottom: -7px; }
  .home-main, .inner-main { width: min(calc(100% - 36px), 1180px); }
  .home-main { padding-top: 70px; padding-bottom: 72px; }
  .home-hero { grid-template-columns: 1fr; gap: 34px; margin-bottom: 48px; }
  .home-intro > p:last-child { max-width: 560px; margin: 0; }
  .home-intro > p:last-child { margin-top: 28px; }
  .home-portrait { width: 100%; height: 500px; }
  .home-portrait::after {
    background:
      linear-gradient(0deg, var(--bg), transparent 24%),
      linear-gradient(180deg, var(--bg), transparent 12%),
      linear-gradient(90deg, var(--bg), transparent 10%, transparent 90%, var(--bg));
  }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 340px; }
  .game-entry { grid-template-columns: 1fr; }
  .game-entry-art { min-height: 520px; }
  .game-entry-copy { border-top: 1px solid var(--line); border-left: 0; }
  .about-layout { min-height: auto; }
  footer {
    width: min(calc(100% - 36px), 1180px);
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 34px 0;
  }
}

@media (max-width: 520px) {
  .home-intro h1 { font-size: clamp(58px, 20vw, 84px); }
  .home-portrait { height: 410px; }
  .page-intro h1 { font-size: clamp(68px, 24vw, 106px); }
  .direction-card { min-height: 300px; padding: 28px 24px; }
  .card-backdrop { top: 25px; font-size: 76px; }
  .game-entry-art { min-height: 410px; }
  .game-entry-copy { padding: 36px 24px 42px; }
  .game-entry-copy h2 { font-size: clamp(46px, 16vw, 66px); line-height: .96; }
  .button { width: 100%; }
  .entry-actions { width: 100%; }
  .about-copy h1 { font-size: clamp(48px, 16vw, 74px); }
  .about-copy .large-copy { margin: 32px 0 40px; }
  .about-columns { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
