:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --ink: #1c1612;
  --muted: #5c534b;
  --line: rgba(28, 22, 18, 0.14);
  --blue: #0d4eae;
  --blue-deep: #08367a;
  --plum: #241433;
  --plum-2: #321c48;
  --lime: #d6f26a;
  --graphite: #12161c;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.25rem;
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.mark {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.site-nav a:hover {
  background: var(--paper-2);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-weight: 600;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid,
.split,
.contact-grid,
.games,
.shelf,
.pair,
.arcade-head,
.game {
  min-width: 0;
}

.hero-grid > *,
.split > *,
.contact-grid > *,
.shelf-card,
.frame,
.game > a,
.game > div {
  min-width: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: end;
}

.kicker,
.index {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 5.4rem);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.lede,
.chapter p,
.contact p {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  font-size: 1.15rem;
}

.jump {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.jump a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  padding: 0.45rem;
  border-radius: 1rem;
}

.jump a:hover {
  background: var(--paper-2);
}

.jump img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  object-fit: cover;
  background: white;
}

.jump span {
  display: grid;
  font-weight: 600;
}

.jump small {
  font-weight: 400;
  color: var(--muted);
}

.shelf {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 0.75rem;
  align-items: end;
}

.shelf-card {
  position: relative;
  display: block;
  border-radius: 1.1rem;
  overflow: hidden;
  text-decoration: none;
  background: #ddd;
}

.shelf-card img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center top;
}

.shelf-card:first-child img {
  height: 26rem;
  object-position: left center;
}

.shelf-card span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  background: rgba(28, 22, 18, 0.82);
  color: var(--paper);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.chapter,
.arcade,
.contact {
  scroll-margin-top: 4.5rem;
}

.shelf-trim {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  height: 22rem;
  padding: 1.1rem 1.1rem 3.4rem;
  background:
    radial-gradient(circle at 18% 12%, #31415f 0%, transparent 46%),
    #161b22;
  color: white;
}

.shelf-trim img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border-radius: 1rem;
  background: white;
}

.shelf-trim strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 9ch;
}

.chapter {
  padding: 5rem 0;
}

.folio {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #f5f8ff;
}

.snook {
  background: var(--plum);
  color: #f7f1ea;
  padding-bottom: 0;
}

.trim {
  background: var(--graphite);
  color: #eef2f6;
}

.folio .lede,
.folio p,
.snook p,
.trim p,
.folio .points,
.snook .points,
.trim .points {
  color: rgba(255, 255, 255, 0.86);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.snook .split {
  align-items: start;
}

.points {
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding: 0.45rem 0 0.45rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.price {
  font-weight: 600;
  color: white !important;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.btn,
.game a,
.contact-card a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-light {
  background: white;
  color: var(--ink);
}

.btn-lime {
  background: var(--lime);
  color: #1c1612;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: white;
}

.btn:hover,
.game a:hover,
.contact-card a:hover {
  transform: translateY(-1px);
}

.frame,
.pair figure {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.arcade {
  margin-top: 4rem;
  background: var(--plum-2);
  padding: 4rem 0 4.5rem;
}

.arcade-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.arcade-head h2 {
  max-width: 16ch;
}

.arcade-head p:last-child {
  max-width: 40rem;
}

.games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.game {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
}

.game > a img,
.game > .game-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 14rem;
}

.game > .game-icon {
  object-fit: cover;
  padding: 0;
}

.game > div {
  padding: 1.1rem 1.15rem 1.2rem;
}

.game h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.55rem;
}

.game .game-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
}

.game > .game-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
  min-height: 14rem;
  object-fit: cover;
  background: #1a1028;
}

.game .meta {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7) !important;
}

.game a {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.contact h2 {
  max-width: 12ch;
}

.contact-card {
  background: white;
  border-radius: 1.3rem;
  padding: 1.4rem 1.4rem 1.1rem;
  box-shadow: 0 16px 40px rgba(28, 22, 18, 0.06);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.mail {
  display: inline-block;
  margin: 0.3rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0;
  border-top: 1px solid var(--line);
}

.contact-card li {
  border-bottom: 1px solid var(--line);
}

.contact-card li a {
  display: flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .games,
  .arcade-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .arcade-head {
    align-items: start;
  }

  .shelf {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .shelf-card:not(.shelf-trim) img,
  .shelf-card:first-child img {
    height: 14rem;
  }

  .game {
    grid-template-columns: 7.5rem 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.6rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .shelf,
  .pair,
  .game {
    grid-template-columns: 1fr;
  }

  .shelf-card:not(.shelf-trim) img,
  .shelf-card:first-child img {
    height: 16rem;
  }

  .shelf-trim {
    height: auto;
    min-height: 16rem;
  }

  .shelf-trim img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .game > a img,
  .game > .game-icon {
    max-height: 18rem;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .game a:hover,
  .contact-card a:hover {
    transform: none;
  }
}
