@charset "UTF-8";

@font-face {
  font-family: "Bitter";
  src: url("assets/fonts/bitter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --paper: #f8f6f0;
  --ink: #292622;
  --muted: #706b63;
  --line: #d9d3c9;
  --accent: #a43c2b;
  --heading: "Bitter", Georgia, serif;
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, select { font: inherit; color: inherit; }
button, select, a { touch-action: manipulation; }
button, select { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: calc(100% - 96px); max-width: 1200px; margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 12px 20px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 12px; }

/* A personal masthead, without a separate logo or promotional tagline. */
.site-header .header-inner { border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--heading); font-size: 19px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.brand-caption { display: block; margin-top: 3px; font-family: "Source Sans 3", sans-serif; font-size: 13px; font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 32px; font-size: 15px; }
nav a { padding-block: 10px; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.intro { padding: 58px 0 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.intro h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.12; letter-spacing: -.045em; }
.intro-note { font-size: 18px; line-height: 1.65; color: var(--muted); padding-bottom: 6px; }

/* The upcoming game is presented as artwork with an adjacent caption. */
.feature { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); align-items: center; gap: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature-art img { aspect-ratio: 1671 / 941; object-fit: contain; }
.feature-copy { padding-block: 8px; }
.project-note { font-size: 15px; color: var(--accent); margin-bottom: 18px; }
.feature h2 { font-size: clamp(30px, 3.1vw, 40px); margin-bottom: 19px; }
.feature-description { font-size: 17px; line-height: 1.65; }
.release-note { margin-top: 20px; color: var(--muted); font-size: 15px; }
.privacy-link { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--muted); }

.catalog { padding-top: 76px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { font-size: 36px; }
.section-heading > p { font-size: 14px; color: var(--muted); }
.catalog-controls { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; margin-bottom: 34px; }
.platform-filters { display: flex; gap: 23px; flex-wrap: wrap; }
.filter-button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); padding: 9px 0 7px; min-height: 42px; font-size: 15px; }
.filter-button:hover { color: var(--accent); }
.filter-button[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }
.select-filters { display: flex; gap: 20px; align-items: center; }
.select-filters label { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 13px; color: var(--muted); }
select { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background-color: transparent; font-size: 14px; padding: 8px 19px 8px 0; min-height: 42px; color: var(--ink); }
.game-group { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 24px; margin-top: 40px; }
.game-group + .game-group { padding-top: 36px; border-top: 1px solid var(--line); }
.group-heading h3 { font-size: 29px; color: var(--accent); }
.group-heading > span { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; min-width: 0; }
.game-card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 24px; }
.game-art { overflow: hidden; }
.game-art img { aspect-ratio: 16 / 9; object-fit: cover; }
.game-art img[src$="football-referee-simulator.jpg"] { object-position: right center; }
.game-copy { padding-top: 18px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.game-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.game-copy h4 { font-size: 27px; }
.game-description { font-size: 16px; line-height: 1.6; margin-top: 11px; margin-bottom: 18px; }
.store-links { list-style: none; display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 0; margin: auto 0 0; padding: 0; }
.store-links li { display: flex; align-items: center; }
.store-links li + li::before { content: "/"; color: var(--line); margin-right: 14px; }
.store-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.store-links a:hover { color: var(--ink); }
.game-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; font-size: 12px; color: var(--muted); }
.game-grid > .game-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.game-grid > .game-card:only-child .game-copy { padding-top: 0; height: 100%; }
.catalog-note { margin: 32px 0 0 118px; font-size: 12px; color: var(--muted); }
.empty-state { padding: 56px 0; border-bottom: 1px solid var(--line); }
.empty-state h3 { font-size: 25px; }
.empty-state p { color: var(--muted); margin-top: 12px; }
.button { display: inline-block; border: 0; border-bottom: 1px solid currentColor; padding: 8px 0; background: none; color: var(--accent); min-height: 42px; }
.empty-state .button { margin-top: 16px; }

.contact-strip { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 68px; padding-block: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.contact-strip h2 { font-size: 25px; }
.contact-strip > a { color: var(--accent); font-size: 17px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px 32px; color: var(--muted); font-size: 13px; }
.site-footer > div { display: flex; gap: 26px; }

/* Documents share the typography and navigation, with a quieter reading width. */
.document-layout { max-width: 840px; margin: 52px auto 72px; }
.document-intro { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.eyebrow { font-size: 14px; color: var(--muted); }
.document-intro h1 { font-size: 45px; margin-top: 10px; }
.document-subtitle { font-family: var(--heading); font-size: 22px; margin-top: 14px; }
.document-date { font-size: 14px; color: var(--muted); margin-top: 14px; }
.document-body { max-width: 730px; font-size: 17px; line-height: 1.8; }
.document-body h2 { font-size: 24px; margin: 32px 0 14px; }
.document-body p { margin-bottom: 16px; }
.document-body ul { padding-left: 22px; margin: 0 0 20px; }
.document-body li { padding-left: 4px; margin-bottom: 8px; }
.document-body a { color: var(--accent); overflow-wrap: anywhere; }
.document-footer { border-top: 1px solid var(--line); }
.support-card { max-width: 630px; margin-top: 28px; }
.support-card h2 { font-size: 27px; }
.support-card p { margin-top: 16px; }
.support-card .email-link { display: inline-block; font-size: clamp(16px, 2.6vw, 22px); color: var(--accent); margin-top: 22px; overflow-wrap: anywhere; }
.support-card .support-note { font-size: 14px; color: var(--muted); margin-top: 28px; }
.back-home { display: inline-block; font-size: 14px; color: var(--muted); margin-top: 30px; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .feature { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 30px; }
  .feature h2 { font-size: 33px; }
  .feature-description { font-size: 16px; }
  .project-note { margin-bottom: 12px; font-size: 14px; }
  .release-note, .privacy-link { margin-top: 15px; }
  .catalog-controls { flex-wrap: wrap; gap: 10px 30px; }
  .game-group { grid-template-columns: 75px minmax(0, 1fr); gap: 20px; }
  .game-grid, .game-grid > .game-card:only-child { gap: 28px; }
  .game-copy h4 { font-size: 24px; }
  .catalog-note { margin-left: 95px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 90px; }
  .brand { font-size: 17px; }
  .brand-caption { font-size: 12px; }
  nav { gap: 22px; font-size: 14px; }
  .intro { padding-block: 38px; align-items: flex-start; }
  .intro h1 { font-size: 45px; }
  .intro-note { font-size: 16px; max-width: 225px; padding-top: 6px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .feature-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 32px; padding: 0; }
  .project-note { grid-column: 1; margin-bottom: 10px; }
  .feature h2 { grid-column: 1; font-size: 34px; margin-bottom: 0; }
  .feature-description { grid-column: 2; grid-row: 1 / 4; }
  .release-note { grid-column: 1; }
  .privacy-link { grid-column: 2; grid-row: 4; justify-self: start; margin-top: 8px; }
  .catalog { padding-top: 56px; }
  .section-heading h2 { font-size: 31px; }
  .catalog-controls { gap: 12px; }
  .select-filters { gap: 20px; width: 100%; justify-content: space-between; }
  .game-group { display: block; margin-top: 30px; }
  .group-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
  .group-heading > span { margin: 0; }
  .game-grid, .game-grid > .game-card:only-child { gap: 24px; }
  .game-copy h4 { font-size: 25px; }
  .catalog-note { margin-left: 0; }
  .document-layout { margin-block: 36px 52px; }
  .document-intro h1 { font-size: 38px; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; padding-block: 20px 14px; gap: 16px; }
  .brand { font-size: 18px; }
  nav { width: 100%; gap: 25px; }
  nav a { padding-block: 4px; }
  .intro { display: block; padding-block: 32px 28px; }
  .intro h1 { font-size: clamp(34px, 9vw, 47px); }
  .intro-note { font-size: 16px; padding: 0; margin-top: 20px; max-width: none; }
  .feature { gap: 22px; }
  .feature-copy { display: block; }
  .feature h2 { font-size: 33px; margin-bottom: 15px; }
  .project-note { margin-bottom: 8px; }
  .feature-description { font-size: 16px; }
  .release-note { margin-top: 14px; }
  .privacy-link { margin-top: 12px; }
  .catalog { padding-top: 48px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading > p { margin-top: 8px; }
  .platform-filters { width: 100%; gap: 24px; }
  .filter-button { font-size: 14px; }
  .select-filters { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
  .select-filters label { display: grid; gap: 0; }
  .select-filters select { width: 100%; min-width: 0; }
  .game-grid { grid-template-columns: 1fr; gap: 36px; }
  .game-grid > .game-card:only-child { display: flex; gap: 0; }
  .game-grid > .game-card:only-child .game-copy { padding-top: 18px; }
  .game-card + .game-card { border-top: 1px solid var(--line); padding-top: 28px; }
  .game-copy h4 { font-size: 26px; }
  .game-description { margin-bottom: 12px; }
  .game-footer { gap: 8px; flex-wrap: wrap; }
  .catalog-note { margin-top: 26px; }
  .contact-strip { display: block; margin-top: 40px; padding-block: 25px; }
  .contact-strip h2 { font-size: 24px; margin-bottom: 10px; }
  .site-footer { flex-wrap: wrap; gap: 12px; }
  .document-intro h1 { font-size: 34px; }
  .document-body { font-size: 16px; }
  .document-body h2 { font-size: 23px; }
}
