@font-face { font-family: Inter; src: url('assets/inter-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('assets/inter-bold.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url('assets/inter-black.ttf') format('truetype'); font-style: normal; font-weight: 900; font-display: swap; }

/* Independent studio palette; OJUJU's in-game theme stays owned by the app. */
:root { --paper: #f4f1e8; --ink: #19211d; --accent: #bd421f; --line: #83877f; --white: #fff; --gutter: clamp(24px, 4vw, 64px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--white); }
.page-width { width: calc(100% - var(--gutter) * 2); max-width: 1440px; margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; padding-block: 28px; }
.wordmark { font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.075em; line-height: 1; }
nav { display: flex; gap: clamp(24px, 5vw, 60px); font-size: 20px; font-weight: 700; }
nav a:hover, .footer a:hover { color: var(--accent); }
.hero { padding-block: 44px 40px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: end; }
h1 { margin: 0; font-size: clamp(50px, 9.15vw, 142px); font-weight: 900; letter-spacing: -.045em; line-height: .93; }
.hero-note { margin: 0 0 0.5em; font-size: clamp(19px, 2vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -.045em; }
.intro { grid-column: 1 / -1; margin: 30px 0 0; font-size: clamp(22px, 3vw, 40px); font-weight: 700; letter-spacing: -.045em; line-height: 1.25; }
.catalogue { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding-block: 18px 22px; font-size: 16px; }
h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.game-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.game { min-width: 0; }
.game-art { position: relative; display: block; overflow: hidden; aspect-ratio: .85; }
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.game-art.ojuju img { object-position: 46% 50%; }
.game-art.neon-rally img { object-position: 50% 52%; }
.game-art.counters img { position: absolute; top: -15%; height: 115%; object-position: 43% 50%; }
.game-art:hover img, .game-art:focus-visible img { transform: scale(1.035); }
.art-action { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 48px; height: 48px; background: var(--paper); color: var(--accent); border-radius: 50%; opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.game-art:hover .art-action, .game-art:focus-visible .art-action { opacity: 1; transform: translateY(0); }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h3 { margin: 26px 0 8px; font-size: clamp(27px, 3.9vw, 55px); font-weight: 900; letter-spacing: -.045em; line-height: 1.06; }
.genre { margin: 0; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.description { margin: 14px 0 16px; min-height: 5em; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; letter-spacing: -.035em; }
.play-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 20px; font-weight: 700; }
.play-link span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.play-link svg { color: var(--accent); width: 21px; height: 21px; transition: transform 180ms ease; }
.play-link:hover svg { transform: translate(3px, -3px); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-block: 32px 40px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; letter-spacing: -.025em; }
.footer p { margin: 0; }
.footer-links { display: flex; align-items: center; gap: 32px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.footer-links svg { width: 18px; height: 18px; color: var(--accent); }
.skip-link { position: absolute; top: 10px; left: 24px; z-index: 10; padding: 12px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.not-found { padding: var(--gutter); }
.not-found a { text-decoration: underline; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-note { display: none; }
  h1 { font-size: 11.5vw; }
  .genre { font-size: 11px; letter-spacing: .07em; }
  .description { min-height: 72px; }
}
@media (max-width: 600px) {
  .header { padding-block: 24px; }
  nav { font-size: 16px; }
  .hero { padding-block: 36px 36px; }
  h1 { font-size: clamp(35px, 11.5vw, 69px); }
  .intro { margin-top: 22px; max-width: 300px; font-size: 22px; }
  .section-heading { padding-block: 18px; }
  .game-shelf { grid-template-columns: 1fr; gap: 40px; }
  .game-art { aspect-ratio: 1.12; }
  h3 { font-size: 38px; margin-top: 20px; }
  .genre { font-size: 12px; }
  .description { min-height: 0; margin: 12px 0; font-size: 17px; }
  .play-link { font-size: 18px; }
  .footer { align-items: start; flex-direction: column; margin-top: 40px; font-size: 14px; padding-block: 24px; }
  .footer-links { gap: 24px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
