@font-face {
  font-family: Barlow;
  src: url("/assets/barlow-condensed.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --navy: #141824;
  --low: #222637;
  --paper: #f4efe7;
  --ink: #1d222e;
  --soft: #515666;
  --gold: #ffc783;
  --line: #d9d0c3;
  --sans: DM, system-ui, sans-serif;
  --display: Barlow, "Arial Narrow", Impact, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #bf6223;
  outline-offset: 5px;
}
.site-header :focus-visible,
.hero :focus-visible,
.community :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}
img {
  display: block;
  max-width: 100%;
}
button,
select,
textarea {
  font: inherit;
}
.shell {
  width: min(100% - 96px, 1280px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 10;
  left: 1rem;
  top: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.65rem 1rem;
  transform: translateY(-250%);
}
.skip:focus {
  transform: translateY(0);
}
.skip:not(:focus) {
  clip-path: inset(50%);
  pointer-events: none;
}
.site-header {
  background: var(--navy);
  color: var(--paper);
}
.nav,
.nav nav,
.brand {
  display: flex;
  align-items: center;
}
.nav {
  min-height: 76px;
  justify-content: space-between;
  gap: 1rem;
}
.nav nav {
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 650;
}
.nav nav a:hover,
.footer-inner nav a:hover {
  color: var(--gold);
}
.nav-idea {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #687084;
  padding: 0.56rem 0.95rem;
  border-radius: 5px;
}
.brand {
  font-size: 1.38rem;
  letter-spacing: -0.065em;
  font-weight: 700;
  white-space: nowrap;
}
.brand > span:last-child {
  color: var(--gold);
}
.brand-mark {
  width: 23px;
  height: 24px;
  margin-right: 9px;
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  transform: skew(-13deg);
  padding: 0 2px 3px;
}
.brand-mark i {
  width: 5px;
  height: 9px;
  background: var(--gold);
  border-radius: 1px 1px 0 0;
}
.brand-mark i:nth-child(2) {
  height: 14px;
}
.brand-mark i:nth-child(3) {
  height: 19px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #292a38;
  color: #fff8ed;
}
.hero-image,
.hero-image img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image img {
  object-fit: cover;
  object-position: center 59%;
}
.hero-image {
  z-index: -2;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(17, 20, 31, 0.95),
      rgba(17, 20, 31, 0.74) 28%,
      rgba(17, 20, 31, 0.22) 62%,
      transparent 85%
    ),
    linear-gradient(0deg, rgba(15, 17, 26, 0.69), transparent 40%);
}
.hero-inner {
  min-height: clamp(515px, 49vw, 675px);
  display: flex;
  align-items: center;
  position: relative;
  padding-block: 60px 75px;
}
.hero-content {
  max-width: 690px;
}
.hero-tag {
  margin: 0 0 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.hero-tag > span {
  width: 18px;
  height: 2px;
  background: var(--gold);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  line-height: 0.97;
  letter-spacing: -0.014em;
}
h1 {
  font-size: clamp(5.2rem, 9vw, 10rem);
}
.hero-copy {
  margin: 1.2rem 0 1.6rem;
  max-width: 380px;
  font-size: clamp(1rem, 1.48vw, 1.3rem);
  color: #fff3e5;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: 0.76rem 1.2rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.3;
}
.button-gold {
  background: var(--gold);
  color: #1b1b25;
}
.button-gold:hover {
  background: #ffe0b7;
}
.button-dark {
  background: var(--navy);
  color: #fff9ed;
}
.button-dark:hover {
  background: #343a4f;
}
.hero-credit {
  position: absolute;
  right: 0;
  bottom: 20px;
  margin: 0;
  text-align: right;
  display: grid;
  line-height: 1.35;
  font-size: 0.75rem;
  color: #fff3e8;
  text-shadow: 0 1px 4px #141824;
}
.hero-credit strong {
  font-size: 0.95rem;
}
.hero-credit:hover:is(a) {
  text-decoration: underline;
}
.library,
.article-section {
  background: var(--paper);
  padding: 65px 0 78px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 27px;
}
.section-heading p {
  margin: 0 0 0.13rem;
  color: var(--soft);
}
h2 {
  font-size: clamp(2.75rem, 5.5vw, 5.05rem);
}
h3 {
  font-size: clamp(2.35rem, 4vw, 3.9rem);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.game-card {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-visual {
  display: block;
  position: relative;
  overflow: hidden;
  background: #292a38;
  aspect-ratio: 1.95;
}
.card-image,
.card-image img {
  width: 100%;
  height: 100%;
  display: block;
}
.card-image img {
  object-fit: cover;
  object-position: center 57%;
}
.art-note {
  position: absolute;
  right: 0.7rem;
  bottom: 0.64rem;
  color: #fff9ef;
  background: #171a26;
  padding: 0.2rem 0.48rem;
  font-size: 0.69rem;
  border-radius: 3px;
}
.card-content {
  padding: 22px 27px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-content .genre {
  margin: 0 0 0.48rem;
  font-weight: 700;
  color: #7c472b;
  font-size: 0.83rem;
}
.card-content > p:not(.genre) {
  margin: 0.75rem 0 1.12rem;
  max-width: 45ch;
  color: var(--soft);
}
.card-content h3 a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.actions {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.text-link,
.back {
  font-weight: 700;
  font-size: 0.9rem;
}
.text-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.community {
  color: var(--paper);
  background: #282c3e;
  padding: 69px 0 74px;
}
.community-grid,
.article-grid,
.form-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(28px, 8vw, 120px);
}
.community h2 {
  font-size: clamp(2.65rem, 4.7vw, 4.65rem);
}
.community p {
  color: #e5dfd8;
  margin: 1rem 0 1.5rem;
}
.community .faq h2,
.article-grid aside h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
details {
  border-top: 1px solid var(--line);
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.community details {
  border-color: #565b70;
}
summary {
  cursor: pointer;
  min-height: 47px;
  padding: 0.7rem 0.1rem;
  font-weight: 700;
}
details p,
.community details p {
  margin: 0 0 1rem;
  padding: 0 0.1rem;
  max-width: 52ch;
}
.site-footer {
  background: var(--navy);
  color: #ede7df;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.8rem;
  padding-block: 28px;
}
.footer-inner p {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: #ccc5bf;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
}
.footer-inner small {
  color: #ccc5bf;
}
.game-hero .hero-inner {
  min-height: clamp(430px, 42vw, 620px);
}
.game-hero h1 {
  font-size: clamp(4.8rem, 10vw, 9rem);
}
.back {
  display: inline-block;
  margin-bottom: 1.35rem;
}
.back:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.play-note {
  margin: 0.65rem 0 0;
  font-size: 0.83rem;
}
.article-grid article {
  max-width: 68ch;
}
.intro {
  font-size: 1.14rem;
}
.article-grid h3 {
  font-size: 2.1rem;
  margin-top: 1.65rem;
}
.article-grid section p {
  margin: 0.7rem 0 0;
}
.article-grid aside {
  align-self: start;
  border-top: 3px solid #a25a32;
  padding-top: 1rem;
}
.article-grid aside > a {
  display: inline-block;
  margin-top: 1.15rem;
}
.subpage {
  min-height: 60vh;
}
.subpage h1 {
  font-size: clamp(4.3rem, 7vw, 7.2rem);
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: 2.25rem;
  margin-top: 1.6rem;
}
.idea-form {
  position: relative;
  align-self: start;
  padding: clamp(20px, 3vw, 35px);
  border: 1px solid var(--line);
  background: #fffaf2;
  border-radius: 8px;
}
.idea-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.idea-form :is(select, textarea) {
  width: 100%;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid #877d72;
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
}
.idea-form select {
  margin-bottom: 1.1rem;
}
.idea-form textarea {
  resize: vertical;
}
.field-help,
.form-status {
  font-size: 0.82rem;
  margin: 0.3rem 0 1rem;
  color: var(--soft);
}
.form-status {
  font-weight: 700;
  margin: 0;
}
.form-status:not(:empty) {
  margin-top: 0.65rem;
}
.honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 52px);
  }
  .nav nav {
    gap: 1.15rem;
  }
  .community-grid,
  .article-grid,
  .form-grid {
    gap: 40px;
  }
  .card-content {
    padding-inline: 20px;
  }
}
@media (max-width: 740px) {
  .shell {
    width: calc(100% - 36px);
  }
  .nav {
    min-height: 63px;
  }
  .brand {
    font-size: 1.14rem;
  }
  .brand-mark {
    margin-right: 6px;
  }
  .nav nav {
    gap: 0.75rem;
    font-size: 0.77rem;
  }
  .nav-idea {
    padding: 0.42rem 0.5rem;
    gap: 0.3rem;
    white-space: nowrap;
  }
  .nav-idea span {
    display: none;
  }
  .hero-inner {
    min-height: 585px;
    align-items: end;
    padding-block: 60px 75px;
  }
  .hero-image img {
    object-position: center;
  }
  .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(17, 20, 31, 0.98),
        rgba(17, 20, 31, 0.82) 30%,
        rgba(17, 20, 31, 0.18) 71%,
        transparent
      ),
      linear-gradient(90deg, rgba(17, 20, 31, 0.12), transparent);
  }
  .hero h1 {
    font-size: clamp(4.45rem, 13vw, 7.5rem);
  }
  .hero-copy {
    margin: 0.85rem 0 1.2rem;
    max-width: 29ch;
  }
  .hero-credit {
    bottom: 13px;
    right: 0;
  }
  .hero-credit strong {
    display: none;
  }
  .game-hero .hero-inner {
    min-height: 485px;
  }
  .game-hero .back {
    margin-bottom: 0.85rem;
  }
  .library,
  .article-section,
  .community {
    padding: 43px 0 51px;
  }
  .section-heading {
    display: block;
    margin-bottom: 18px;
  }
  .section-heading p {
    margin: 0.55rem 0 0;
  }
  .game-grid,
  .community-grid,
  .article-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .game-grid {
    gap: 16px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 1rem;
    align-items: start;
  }
  .footer-inner small {
    width: 100%;
  }
}
@media (max-width: 355px) {
  .nav nav > a:first-child {
    display: none;
  }
  .actions {
    gap: 0.65rem;
  }
  .button {
    padding-inline: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
