/* Layout: logo nav, hero with big logo mark, cinematic featured game, grid for the rest, "more on the way" strip, studio + contact. Palette comes from the logo: signal cyan and silver on deep ink-blue. */
:root {
  --bg: #08121B;
  --surface: #0F1D2A;
  --ink: #F2F6F9;
  --muted: #94A7B5;
  --line: #1B2F40;
  --accent: #39C3EF;
  --accent-ink: #04202B;
  --accent-text: #39C3EF;
  --silver: #CCCCCC;
  --soft: #12303F;
  --glow: rgba(57, 195, 239, 0.20);
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F2F6F9; --surface: #FFFFFF; --ink: #0A1B26; --muted: #4F6575; --line: #D5E0E7;
    --accent-text: #0A7DA6; --silver: #9AA9B3; --soft: #DCEFF7; --glow: rgba(57, 195, 239, 0.28);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F2F6F9; --surface: #FFFFFF; --ink: #0A1B26; --muted: #4F6575; --line: #D5E0E7;
  --accent-text: #0A7DA6; --silver: #9AA9B3; --soft: #DCEFF7; --glow: rgba(57, 195, 239, 0.28);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  padding-inline: 20px; padding-block: 0 40px;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1180px; margin-inline: auto; min-width: 0; }
.logo { display: block; width: 100%; height: auto; overflow: visible; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.brand .logo { width: 34px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a.pill { color: var(--accent-ink); background: var(--accent); padding: 8px 18px; border-radius: 999px; font-weight: 600; }
.nav a.pill:hover { color: var(--accent-ink); filter: brightness(1.08); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 64px 72px; }
.hero::before { content: ""; position: absolute; right: -4%; top: 50%; width: min(620px, 80vw); aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero > * { position: relative; min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 18px; }
h1 { font-family: var(--font-display); font-weight: 750; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.lead { margin: 22px 0 0; color: var(--muted); max-width: 44ch; font-size: 1.15rem; }
.hero .actions { margin-top: 30px; }
.mark { justify-self: center; width: min(100%, 340px); }

.btn { display: inline-block; font: 600 15px var(--font-body); padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* catalog */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 8px 24px; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 14px var(--font-body); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.status { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--accent-text); }
.status.live { background: var(--accent); color: var(--accent-ink); }

.cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: var(--soft); }
.grid .cover { border-radius: 10px; }

/* featured: full-bleed art with the text on top. The scrim keeps the text readable in both themes. */
.featured { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 56vw, 560px); border-radius: 18px; overflow: hidden; background: #0B2A3D; isolation: isolate; }
.featured .cover { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; z-index: -2; }
.featured::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 16, 25, 0.95) 0%, rgba(4, 16, 25, 0.72) 38%, rgba(4, 16, 25, 0.1) 72%); }
.featured .body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px, 4vw, 44px); max-width: 640px; color: #F2F6F9; }
.featured .status { background: rgba(255, 255, 255, 0.16); color: #F2F6F9; backdrop-filter: blur(6px); }
.featured .status.live { background: #39C3EF; color: #04202B; }
.featured h3 { font-family: var(--font-display); font-weight: 750; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.featured .tagline { color: #C5D3DC; font-size: 1.1rem; max-width: 42ch; }
.featured .facts { color: #9FB4C2; font-size: 14px; }
.featured .btn { border-color: rgba(255, 255, 255, 0.5); color: #F2F6F9; }
.featured .btn.primary { background: #39C3EF; border-color: #39C3EF; color: #04202B; }

.tagline { margin: 0; color: var(--muted); }
.facts { margin: 0; font-size: 14px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; margin-top: 22px; }
.card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 22px; min-width: 0; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card > :not(.cover) { padding-inline: 8px; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.card .year { font-size: 14px; color: var(--muted); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.card .actions { margin-top: 4px; }
.card .btn { padding: 9px 18px; font-size: 14px; }

.more { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding: 26px 30px; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--muted); }
.more strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); display: block; letter-spacing: -0.015em; }
.more .logo { width: 44px; opacity: 0.55; }

/* studio + contact */
.studio { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; margin-top: 96px; padding-block: 56px; border-top: 1px solid var(--line); align-items: start; }
.studio .big { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.025em; margin: 14px 0 0; text-wrap: balance; }
.studio .big em { font-style: normal; color: var(--accent-text); }
.contact p { margin: 14px 0 0; color: var(--muted); }
.mail { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.mail span { font-weight: 500; user-select: all; }
.mail button { font: 600 13px var(--font-body); padding: 8px 16px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .brand { font-size: 17px; color: var(--ink); }
footer .brand .logo { width: 24px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 36px 48px; }
  .mark { order: -1; width: 120px; justify-self: start; }
  .studio { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 64px; }
  .nav { gap: 18px; }
  .more { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .card { transition: none; } .btn:hover, .card:hover { transform: none; } }
