:root {
  color-scheme: dark;
  --bg: #111413;
  --panel: #1a1e1c;
  --text: #f5f0e6;
  --muted: #c4c7bb;
  --accent: #e9ab66;
  --line: #394039;
  --display: Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2, h3 { font-family: var(--display); font-weight: 500; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { font-size: clamp(1.55rem, 3.5vw, 2.65rem); }

.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header, .site-footer { background: #0d100e; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 1rem;
}
.brand, nav a, .footer-inner a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .35rem; font-weight: 850; letter-spacing: .13em; }
.brand > span:last-child { color: var(--muted); }
.brand-mark {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  place-items: center;
  margin-right: .25rem;
  background: var(--accent);
  color: #18120b;
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
nav { display: flex; gap: 1.35rem; font-size: .9rem; }
nav a:hover, .footer-inner a:hover, .text-link:hover { color: var(--accent); }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(28rem, 70svh, 48rem);
  padding-block: 5rem;
  isolation: isolate;
  background: #24251e url("images/ashen-meadow-concept.png") center 48% / cover;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, var(--bg), transparent 28%),
    linear-gradient(90deg, #0e110ff5, #0e110fbf 33%, #0e110f10 85%);
}
.hero h1 { font-size: clamp(3.35rem, 9vw, 8rem); letter-spacing: -.065em; }
.studio-hero h1 { font-weight: 900; }
.game-hero h1 { font-family: var(--display); font-weight: 500; line-height: .88; }
.intro { max-width: 31rem; margin-block: 1.5rem; color: var(--text); font-size: clamp(1rem, 2vw, 1.2rem); }
.eyebrow { margin-bottom: .8rem; color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.art-credit { position: absolute; right: 1.5rem; bottom: 1rem; color: var(--muted); font-size: .75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #18120b;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}
a.button:hover { background: #ffc886; }
.button:disabled { border-color: #54594e; background: #292e28; color: #c4c7bb; cursor: not-allowed; }

.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.game-card, .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.65rem; }
.game-card, .field-card { overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.game-card img { height: 100%; min-height: 16rem; object-fit: cover; }
.card-copy { align-self: center; padding: clamp(1.3rem, 4vw, 3.5rem); }
.card-copy h3 + p { margin-top: .85rem; color: var(--muted); }
.text-link { font-weight: 750; text-underline-offset: .25em; }
.gallery { gap: 1rem; }
.field-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.field-card p:last-child { margin-bottom: 0; }
.launcher-section { padding-top: 0; }
.launcher-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--panel);
  padding: clamp(1.4rem, 5vw, 3.25rem);
}
.launcher-panel h2 { font-size: clamp(1.8rem, 5vw, 3.25rem); }
#launcher-status { margin: .65rem 0 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero { background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, #0e110fed, #0e110f63), linear-gradient(0deg, var(--bg), transparent 28%); }
  .game-card, .gallery { grid-template-columns: 1fr; }
  .game-card img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
}
