@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #0b0d0c;
  --ink-soft: #151816;
  --paper: #e7e9e4;
  --muted: #9fa59f;
  --line: rgba(231, 233, 228, 0.18);
  --accent: #b9e845;
  --accent-dark: #26310c;
  --radius: 0px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; color: var(--paper); background: var(--ink); font-family: "Archivo", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; color: var(--ink); background: var(--accent); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgba(11, 13, 12, .74); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Archivo Black", sans-serif; font-size: 15px; letter-spacing: -.02em; }
.brand-mark { width: 14px; height: 14px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 56% 100%, 0 100%); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .04em; }
.desktop-nav a, .site-footer a { transition: color .2s ease; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--accent); }
.menu-button { display: none; color: var(--paper); background: transparent; border: 0; cursor: pointer; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 100dvh; overflow: clip; contain: paint; display: grid; align-items: end; padding: calc(var(--header-h) + 56px) clamp(20px, 5.5vw, 92px) 58px; isolation: isolate; }
.hero-media, .hero-scrim { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; animation: hero-enter 1.8s cubic-bezier(.16,1,.3,1) forwards; }
.hero-scrim { z-index: -1; background: linear-gradient(90deg, rgba(5,7,6,.94) 0%, rgba(5,7,6,.72) 35%, rgba(5,7,6,.08) 72%), linear-gradient(0deg, rgba(5,7,6,.86) 0%, transparent 42%); }
.hero-copy { width: min(760px, 70vw); padding-bottom: 54px; }
.eyebrow, .game-type, .manifesto-kicker { margin: 0 0 20px; color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: "Archivo Black", "Archivo", sans-serif; font-size: clamp(64px, 10vw, 154px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.hero-intro { max-width: 30ch; margin: 30px 0; color: #d7dbd5; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.65; }
.primary-cta { width: fit-content; min-width: 176px; display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 15px 18px; color: var(--ink); background: var(--accent); font-weight: 800; transition: transform .25s cubic-bezier(.16,1,.3,1), background .2s ease; }
.primary-cta:hover { transform: translateY(-3px); background: #d1f776; }
.primary-cta:active { transform: translateY(1px) scale(.98); }
.hero-index { position: absolute; right: clamp(20px, 4vw, 64px); bottom: 30px; display: flex; gap: 24px; color: rgba(231,233,228,.58); font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: .1em; writing-mode: vertical-rl; }

.section-shell { width: min(1440px, calc(100% - 40px)); margin: 0 auto; }
.games { padding: clamp(100px, 12vw, 180px) 0; }
.section-heading { max-width: 700px; margin-bottom: 72px; }
.section-heading h2, .manifesto h2, .contact h2 { margin: 0; font-family: "Archivo Black", "Archivo", sans-serif; letter-spacing: -.055em; }
.section-heading h2 { font-size: clamp(52px, 7vw, 102px); line-height: .95; }
.section-heading p { margin: 22px 0 0; color: var(--muted); font-size: 17px; }

.game-feature { display: grid; gap: 0; margin-bottom: clamp(100px, 13vw, 190px); }
.game-feature-tall { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: end; }
.game-feature-wide { grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr); align-items: end; }
.game-feature-wide .game-art { grid-column: 2; }
.game-feature-wide .game-info { grid-column: 1; grid-row: 1; padding-left: 0; padding-right: clamp(30px, 5vw, 78px); }
.game-art { position: relative; overflow: hidden; min-height: 620px; background: var(--ink-soft); }
.game-feature-tall .game-art { aspect-ratio: 4 / 5; }
.game-feature-wide .game-art { min-height: 540px; aspect-ratio: 16 / 10; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s cubic-bezier(.16,1,.3,1), filter .5s ease; }
.game-art:hover img { scale: 1.035; filter: contrast(1.06); }
.art-shade { position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.game-info { padding: 42px 0 14px clamp(30px, 5vw, 78px); }
.game-info h3 { max-width: 8ch; margin: 0; font-family: "Archivo Black", sans-serif; font-size: clamp(44px, 5.7vw, 92px); line-height: .88; letter-spacing: -.06em; }
.game-info > p { max-width: 36ch; margin: 34px 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.game-info > a { display: inline-flex; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); font-size: 13px; font-weight: 700; }

.manifesto { padding: 40px 0 clamp(120px, 14vw, 210px); }
.manifesto-grid { display: grid; grid-template-columns: .55fr 1.45fr; column-gap: clamp(30px, 6vw, 100px); }
.manifesto-kicker { padding-top: 18px; }
.manifesto h2 { max-width: 13ch; font-size: clamp(48px, 6.7vw, 104px); line-height: 1.02; }
.manifesto-body { grid-column: 2; max-width: 760px; margin-top: 52px; }
.manifesto-body > p { max-width: 48ch; margin: 0; color: #c9cdc7; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.8; }
.studio-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 64px 0 0; border-top: 1px solid var(--line); }
.studio-facts div { padding: 20px 0; }
.studio-facts dt { margin-bottom: 10px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em; }
.studio-facts dd { margin: 0; font-size: 16px; font-weight: 700; }

.contact { min-height: 78dvh; display: grid; place-items: center; padding: 100px 20px; color: var(--ink); background: var(--accent); }
.contact-inner { width: min(1160px, 100%); }
.contact-inner > p { margin: 0 0 20px; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .06em; }
.contact h2 { max-width: 8ch; font-size: clamp(64px, 11vw, 180px); line-height: .88; }
.primary-cta-dark { margin-top: 54px; color: var(--paper); background: var(--ink); }
.primary-cta-dark:hover { color: var(--ink); background: var(--paper); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 150px; padding: 36px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: .08em; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 24px; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-enter { from { opacity: .4; transform: scale(1.07); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; }
  .menu-lines { width: 18px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 19; display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; background: var(--ink); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: "Archivo Black", sans-serif; font-size: clamp(40px, 12vw, 68px); }
  .hero { padding-inline: 24px; }
  .hero-copy { width: 100%; }
  .hero-index { display: none; }
  .game-feature-tall, .game-feature-wide { grid-template-columns: 1fr; }
  .game-feature-wide .game-art, .game-feature-wide .game-info { grid-column: 1; grid-row: auto; }
  .game-info, .game-feature-wide .game-info { padding: 30px 0 0; }
  .game-art, .game-feature-wide .game-art { min-height: 500px; aspect-ratio: 4 / 5; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-kicker, .manifesto h2, .manifesto-body { grid-column: 1; }
  .manifesto-body { margin-top: 38px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 28px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .site-header { padding-inline: 18px; }
  .brand { font-size: 13px; }
  .menu-button > span:first-child { display: none; }
  .hero { min-height: 100dvh; align-items: end; padding: calc(var(--header-h) + 36px) 18px 36px; }
  .hero-media img { object-position: 67% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(5,7,6,.98) 0%, rgba(5,7,6,.54) 68%, rgba(5,7,6,.1) 100%); }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(58px, 19vw, 88px); }
  .hero-intro { max-width: 24ch; margin-block: 22px; font-size: 15px; }
  .section-shell { width: calc(100% - 36px); }
  .games { padding-block: 96px; }
  .section-heading { margin-bottom: 46px; }
  .game-feature { margin-bottom: 100px; }
  .game-art, .game-feature-wide .game-art { min-height: 430px; }
  .game-info h3 { font-size: 48px; }
  .studio-facts { grid-template-columns: 1fr; }
  .studio-facts div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .contact { min-height: 68dvh; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div { justify-content: flex-start; }
  .site-footer p { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #c8ccc7; --line: rgba(255,255,255,.42); }
}
