@font-face {
  font-family: "Permanent Marker";
  src: url("/assets/fonts/PermanentMarker-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --yellow: #f5b800;
  --yellow-deep: #d99a00;
  --asphalt: #23272e;
  --asphalt-2: #2e333b;
  --steel: #2f4f86;
  --kraft: #c98a4b;
  --ticket: #fbf6ea;
  --ink: #1d2026;
  --ink-soft: #4a4f59;
  --line: #e4dccb;
  --green: #2e8b57;
  --red: #c8322b;
  --radius: 10px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: #f1efe9;
  background: var(--asphalt);
}
img, video { max-width: 100%; display: block; }
a { color: var(--yellow); }
a:focus-visible, button:focus-visible, input:focus-visible, video:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--yellow); color: var(--ink); padding: 8px 12px; }

/* hazard tape, as under the logo */
.tape {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.btn-wishlist {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--yellow-deep);
}
.btn-wishlist:hover { background: #ffc81a; }
.btn-wishlist:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-deep); }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(35,39,46,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.top .brand img { height: 30px; width: auto; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a.nav-link { color: #e9e6df; text-decoration: none; font-weight: 600; display: none; }
.top nav a.nav-link:hover { color: var(--yellow); }
.top nav a.lang-link { color: #e9e6df; text-decoration: none; font-weight: 600; font-size: .9rem; }
.top nav a.lang-link:hover { color: var(--yellow); }
.top .btn { min-height: 40px; padding: 8px 14px; font-size: .95rem; }

/* hero */
.hero {
  position: relative;
  background: var(--asphalt) url("/assets/keyart.jpg") 62% center / cover no-repeat;
  padding: 56px 0 64px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,27,.55) 0%, rgba(20,22,27,.78) 55%, rgba(35,39,46,1) 100%);
}
.hero .wrap { position: relative; }
.hero .logo { width: min(560px, 100%); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.hero h1 {
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  line-height: 1.2;
  margin: 26px 0 12px;
  max-width: 22em;
  text-wrap: balance;
}
.hero .lede { font-size: 1.08rem; color: #e6e3dc; max-width: 36em; margin: 0 0 8px; }
.slogan { font-family: var(--marker); color: var(--yellow); font-size: 1.35rem; margin: 14px 0 26px; transform: rotate(-1.5deg); display: inline-block; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.meta { margin: 18px 0 0; color: #cfcac0; font-size: .95rem; }

/* sections */
section { padding: 64px 0; }
h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.kicker { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 10px; }

/* trailer */
.trailer video, .press-body video {
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.trailer .note { color: #bdb8ae; font-size: .9rem; margin-top: 10px; }

/* why it's fun: alternating rows on concrete */
.why { background: #ece6da; color: var(--ink); }
.why .kicker { color: var(--steel); }
.row { display: grid; gap: 22px; margin-top: 44px; align-items: center; }
.row img, .row video {
  width: 100%; height: auto;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  background: #d8d1c2;
}
.row h3 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 8px; }
.row p { margin: 0; color: #333740; }

/* the contract ticket, from the game's offer card */
.ticket {
  background: var(--ticket);
  color: var(--ink);
  border-radius: var(--radius);
  border-left: 8px solid #8a5cc7;
  padding: 22px 22px 24px;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.ticket .stamp {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red);
  font: 800 .78rem/1 var(--sans);
  letter-spacing: .08em;
  padding: 5px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.ticket h3 { font-size: 1.35rem; margin: 12px 0 6px; }
.ticket p { color: #3a3e47; margin: 0 0 10px; }
.ticket .warn { color: #b8560e; font-weight: 600; }

.syndicate { background: var(--asphalt-2); }
.syndicate .ticket { border-left-color: var(--red); max-width: 640px; }

/* gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 22px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255,255,255,.1); }
.gallery a:hover, .gallery a:focus-visible { border-color: var(--yellow); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* features list */
.features ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.features li {
  background: var(--asphalt-2);
  border-left: 4px solid var(--yellow);
  padding: 12px 14px;
  border-radius: 6px;
}

/* signup */
.signup { background: var(--steel); }
.signup .ticket { border-left-color: var(--yellow); max-width: 620px; }
.signup label { display: block; font-weight: 700; margin: 6px 0 6px; }
.signup input[type=email] {
  width: 100%;
  min-height: 48px;
  font: 1rem var(--sans);
  padding: 10px 12px;
  border: 2px solid #b9b1a0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.signup input[type=email]:focus { border-color: var(--ink); }
.consent { font-size: .9rem; color: #4a4f59; margin: 12px 0 16px; }
.consent a { color: var(--steel); }
.signup .btn-wishlist { width: 100%; }
.thanks { display: none; }
.thanks:target { display: block; }
.thanks .fits {
  display: inline-block;
  background: #e2f2e7; color: var(--green);
  font-weight: 700; padding: 4px 10px; border-radius: 6px;
}

/* closing call */
.closing { text-align: center; }
.closing .slogan { font-size: 1.6rem; }

footer { background: #1a1d22; color: #b7b2a8; padding: 30px 0 40px; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: #e9e6df; }

/* press page */
.press-head { padding: 44px 0 28px; }
.press-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 8px; }
.press-grid { display: grid; gap: 34px; }
.facts {
  background: var(--ticket); color: var(--ink);
  border-radius: var(--radius); padding: 20px 22px;
  align-self: start;
}
.facts h2 { font-size: 1.3rem; margin-bottom: 10px; }
.facts dl { margin: 0; }
.facts dt { font: 700 .76rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }
.facts dd { margin: 3px 0 0; }
.facts a { color: var(--steel); }
.press-body h2 { margin-top: 38px; font-size: 1.5rem; }
.press-body h2:first-child { margin-top: 0; }
.press-body ul { padding-left: 1.2em; }
.press-body li { margin: 4px 0; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.logos { display: grid; gap: 14px; grid-template-columns: 1fr; }
.logos a {
  display: grid; place-items: center; padding: 18px;
  background: repeating-conic-gradient(#3a3f48 0 25%, #30353d 0 50%) 0 0 / 22px 22px;
  border-radius: 8px; min-height: 120px; text-decoration: none;
}
.logos img { max-height: 110px; width: auto; }
.logos span { color: #ddd; font-size: .85rem; margin-top: 8px; }
blockquote.disclosure { margin: 0; padding: 14px 18px; border-left: 4px solid var(--yellow); background: var(--asphalt-2); border-radius: 6px; }

/* A phone's header holds the logo, the language link and the wishlist button on one line. */
@media (min-width: 360px) {
  .top .btn { white-space: nowrap; }
}
@media (max-width: 419px) {
  .top nav { gap: 10px; }
  .top .btn { padding: 8px 10px; }
  .top .brand img { height: 26px; }
}
@media (min-width: 720px) {
  .top nav a.nav-link { display: inline; }
  .hero { padding: 90px 0 110px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .features ul { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .row { grid-template-columns: 1.15fr 1fr; gap: 44px; }
  .row:nth-of-type(even) .media { order: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .press-grid { grid-template-columns: 320px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
