/* Arcade portal: an ivory, evergreen and brass Art Deco arcade. */
:root {
  color-scheme: light;
  --paper: #f4f0e6;
  --ink: #193d35;
  --muted: #62665a;
  --brass: #896b36;
  --rule: #c9bea4;
  --display: "Poiret One", "Century Gothic", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: #896b3626; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}
::selection { background: var(--ink); color: var(--paper); }
.wrap { max-width: 1200px; margin-inline: auto; padding: 0 40px; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 5;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
h1, h2, h3, p { margin: 0; }

/* A compact masthead; the games are the navigation. */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font: 600 25px/1 var(--body);
  letter-spacing: -.06em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border: 1px solid var(--brass);
  outline: 1px solid var(--brass);
  outline-offset: -4px;
  font: 400 28px/1 var(--display);
  color: var(--brass);
}
.nav-links { display: flex; gap: 28px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.nav-link:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Stepped fan and double rules, drawn as vectors rather than bitmap decoration. */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 34px 0 38px;
  border-bottom: 4px double var(--brass);
}
.hero-copy { min-width: 0; }
.eyebrow, .section-index, .game-top {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { color: var(--brass); }
.hero h1 {
  margin: 9px 0 12px;
  font: 400 clamp(42px, 6.5vw, 78px)/1.05 var(--display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero-note { color: var(--muted); font-size: 14px; }
.deco-fan { width: 138px; height: 104px; flex: none; color: var(--brass); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 30px 0 22px;
}
.section-head h2 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.section-index { color: var(--muted); font-size: 10px; }

/* Open shelves, full-colour previews, no coloured boxes or pill clutter. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; }
.game {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.game-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.game-preview::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #f4f0e63d;
  pointer-events: none;
}
.game-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-preview-animation { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
.game-preview-animation.is-ready { opacity: 1; }
.game-preview-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #e7d7ac80;
  background: #122d28eb;
  color: #f4f0e6;
  font: 500 10px/1 var(--body);
  letter-spacing: .12em;
  cursor: pointer;
}
.game-preview.is-playing .game-preview-badge { opacity: 0; }
.game-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 15px 0 7px; }
.game-genre { color: var(--brass); font-size: 10px; }
.game-number { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.game h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; }
.game p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.game-foot {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.game:hover { border-color: var(--brass); }
.game:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.game:hover .game-foot { color: var(--brass); }

/* A ticket-like invitation, kept secondary to the collection. */
.pass-teaser {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
  padding: 30px 34px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.pass-teaser::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #c4ac7570;
  pointer-events: none;
}
.pass-mark { font: 400 68px/1 var(--display); color: #d6be88; padding-right: 24px; border-right: 1px solid #c4ac7570; }
.pass-copy { flex: 1; min-width: 0; }
.pass-teaser .eyebrow { color: #d6be88; font-size: 10px; }
.pass-teaser h2 { font: 400 36px/1.2 var(--display); margin: 4px 0 7px; }
.pass-teaser p { color: #e0e0d0; font-size: 13px; }
.pass-teaser .game-foot { margin: 0; padding: 0; color: #e0c995; }
.pass-teaser:hover .game-foot { text-decoration: underline; text-underline-offset: 5px; }
.workshop-section { margin-top: 42px; }
.workshop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.game-soon { padding: 18px 0; border-top: 1px solid var(--rule); }
.game-soon .eyebrow { font-size: 10px; color: var(--muted); }
.game-soon h3 { font-size: 19px; font-weight: 500; margin: 5px 0; }
.game-soon p { color: var(--muted); font-size: 13px; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.share-label { margin-right: 8px; color: var(--muted); font-size: 12px; }
.share-btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}
.share-btn:hover, .share-copied { background: var(--ink); color: var(--paper); }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  padding: 20px 0 26px;
  border-top: 4px double var(--brass);
  color: var(--muted);
  font-size: 11px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .wrap { padding-inline: 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(40px, 6.5vw, 64px); }
  .deco-fan { width: 110px; height: 83px; }
  .pass-teaser { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .nav { min-height: 78px; gap: 14px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand-mark { width: 27px; height: 33px; font-size: 24px; }
  .nav-links { gap: 14px; }
  .nav-link { font-size: 12px; }
  .hero { position: relative; padding: 26px 0; }
  .hero h1 { font-size: clamp(34px, 8.9vw, 52px); margin: 12px 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .hero-note { font-size: 12px; }
  .deco-fan { display: none; }
  .section-head { margin: 24px 0 18px; }
  .section-head h2 { font-size: 16px; }
  .section-index { font-size: 9px; letter-spacing: .06em; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .game { padding-bottom: 17px; }
  .game h3 { font-size: 25px; }
  .game p { margin-top: 7px; }
  .game-foot { padding-top: 13px; }
  .pass-teaser { padding: 26px; gap: 16px; margin-top: 30px; }
  .pass-mark { font-size: 52px; padding-right: 16px; }
  .pass-teaser .game-foot { flex-basis: 100%; }
  .workshop-section { margin-top: 32px; }
  .workshop-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-footer { margin-top: 24px; }
}
@media (max-width: 440px) {
  .wrap { padding-inline: 16px; }
  .nav { flex-wrap: wrap; gap: 0; padding: 10px 0; }
  .nav-links { justify-content: space-between; width: 100%; }
  .hero h1 { font-size: 32px; }
}
@media (hover: none) {
  .game-preview.is-playing .game-preview-badge { opacity: 1; background: var(--paper); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .game-preview-animation { display: none; transition: none; }
}

.footer-heart { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--brass); font-size: 20px; text-decoration: none; vertical-align: middle; }
