:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #252722;
  --muted: #65675e;
  --accent: #b94329;
  --line: #dcded3;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: absolute; top: -80px; left: 24px; padding: 12px; background: var(--paper); z-index: 5; }
.skip-link:focus { top: 12px; }
.site-header, main, footer { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; font-size: 29px; font-weight: 800; letter-spacing: -1.6px; }
.brand-dot { color: var(--accent); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 3px; margin-right: 12px; transform: rotate(-8deg); }
.brand-mark i { width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
.brand-mark i:last-child { border-radius: 50%; background: #7c9067; }
nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
nav a:hover, footer a:hover { color: var(--accent); }
nav span { margin-left: 8px; }
.hero { position: relative; padding: 74px 0 58px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #567440; }
h1 { position: relative; z-index: 1; margin: 27px 0 30px; font-size: clamp(54px, 7.8vw, 104px); line-height: 1.03; letter-spacing: -6px; font-weight: 750; }
h1 span { font-family: Georgia, serif; font-weight: 400; font-style: italic; color: var(--accent); letter-spacing: -5px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero-bottom p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0; }
.browse-link { font-size: 14px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.browse-link span { margin-left: 28px; }
.hero-doodle { position: absolute; right: 46px; top: 119px; font-size: 175px; line-height: 1; color: #c9d3b5; transform: rotate(13deg); }
.games-section { padding-top: 36px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
h2 { font-size: 24px; letter-spacing: -.8px; margin: 0; }
.game-count { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 20px; font: 11px ui-monospace, monospace; letter-spacing: 0; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.game-card { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fffdf8; }
.game-card + .game-card { margin-top: 20px; }
.game-art { position: relative; overflow: hidden; display: block; background: #153e45; min-height: 420px; }
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.game-art:hover img { transform: scale(1.025); }
.art-label { position: absolute; left: 28px; top: 26px; font-size: 10px; letter-spacing: 2px; color: #fff3d5; }
.light-art .art-label { color: var(--ink); font-weight: 700; }
.art-arrow { position: absolute; right: 24px; bottom: 24px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d6e4d877; border-radius: 50%; color: #fff3d5; font-size: 22px; }
.game-details { display: flex; flex-direction: column; align-items: start; padding: 32px 36px; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; font-size: 11px; }
.game-tag { padding: 7px 11px; background: #eeeee4; border-radius: 20px; }
.live-label { display: flex; align-items: center; gap: 6px; color: #456134; }
.game-number { font: 10px ui-monospace, monospace; letter-spacing: 1.8px; color: var(--muted); margin: 40px 0 12px; }
h3 { margin: 0; }
.game-details h3 { font-size: 43px; letter-spacing: -1.7px; line-height: 1.1; }
.game-jp { display: block; margin-top: 6px; font-size: 18px; letter-spacing: 1px; font-weight: 600; color: var(--accent); }
.game-description { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 16px 0 20px; max-width: 350px; }
.game-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 11px; color: var(--muted); }
.game-facts li + li::before { content: "·"; margin-right: 18px; }
.play-button { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; padding: 16px 20px; margin-top: auto; background: var(--ink); color: #fffdf8; border-radius: 8px; font-size: 14px; font-weight: 600; transition: background .15s ease; }
.play-button:hover { background: var(--accent); }
.play-button span { font-size: 20px; }
.next-game { display: flex; align-items: center; gap: 20px; padding: 27px 30px; margin-top: 20px; border: 1px dashed #c5c9ba; border-radius: 14px; }
.next-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; font-size: 25px; color: var(--muted); }
.next-game h3 { font-size: 15px; font-weight: 600; }
.next-game p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.next-note { margin-left: auto; color: var(--muted); font-size: 11px; }
.about { display: flex; align-items: center; gap: 30px; margin-block: 60px; padding: 38px 40px; background: #e9eddf; border-radius: 14px; }
.about-spark { font-size: 60px; color: #63734f; line-height: 1; }
.about h2 { font-size: 22px; }
.about p { max-width: 620px; font-size: 14px; line-height: 1.7; color: #535d48; margin: 10px 0 0; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-brand { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.8px; }
footer p { margin: 0; }
footer a:last-child span { margin-left: 12px; }
@media (max-width: 800px) {
  .site-header, main, footer { width: calc(100% - 48px); }
  h1 { letter-spacing: -3px; }
  h1 span { letter-spacing: -3px; }
  .hero-doodle { font-size: 105px; right: 8px; top: 145px; opacity: .65; }
  .game-details { padding: 28px; }
  .game-card { grid-template-columns: 1fr; }
  .game-art { min-height: 0; aspect-ratio: 1.65; }
  .game-number { margin-top: 28px; }
  .game-description { max-width: none; }
  .section-heading { align-items: start; }
  .section-heading p { max-width: 180px; text-align: right; line-height: 1.6; }
}
@media (max-width: 480px) {
  .site-header { padding-block: 24px; }
  .brand { font-size: 25px; }
  nav { gap: 20px; font-size: 12px; }
  .hero { padding-top: 48px; padding-bottom: 36px; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-doodle { display: none; }
  .hero-bottom { align-items: start; flex-direction: column; }
  .hero-bottom p { font-size: 15px; }
  .section-heading { flex-direction: column; gap: 10px; }
  .section-heading p { text-align: left; max-width: none; }
  .game-details { padding: 25px; }
  .art-label { font-size: 8px; left: 20px; top: 20px; }
  .next-game { gap: 14px; padding: 22px 18px; }
  .next-icon { flex-shrink: 0; }
  .next-note { display: none; }
  .about { align-items: start; gap: 16px; padding: 25px; margin-block: 36px; }
  .about-spark { font-size: 35px; }
  footer { flex-wrap: wrap; gap: 16px; }
  footer p { width: calc(100% - 110px); text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .game-art img, .play-button { transition: none; }
}
