:root {
  color-scheme: dark;
  --ink: #f8f1e6;
  --muted: #c7bbaa;
  --paper: #171311;
  --panel: #211a16;
  --line: #5c4a3c;
  --accent: #d19855;
}

* { box-sizing: border-box; }

html {
  background: #0b0908;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34rem),
    linear-gradient(145deg, #17110e 0%, #090807 70%);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

main, footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 56px 0 72px;
}

.hero-copy { padding-left: clamp(0px, 3vw, 36px); }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 { margin: 0; }

.wordmark {
  display: block;
  width: min(82%, 410px);
  height: auto;
  filter: drop-shadow(0 14px 26px #0008);
}

.lead {
  max-width: 38rem;
  margin: 30px 0 28px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.download {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 75%, white);
  border-radius: 4px;
  color: #160d08;
  background: var(--accent);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 20%, transparent);
  font-weight: 800;
  text-decoration: none;
}

.download:hover { filter: brightness(1.08); }
.download:focus-visible { outline: 3px solid white; outline-offset: 4px; }

.details, .footnotes, .launch-note {
  max-width: 38rem;
  color: #9f9385;
  font-size: 0.78rem;
  line-height: 1.55;
}

.details { margin: 14px 0 0; }
.footnotes { margin: 4px 0 0; }
.launch-note { margin: 14px 0 0; }
.footnotes a { text-underline-offset: 0.2em; }

.hero-art {
  position: relative;
  margin: 0;
}

.hero-art::before {
  position: absolute;
  inset: -4%;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  content: "";
  transform: rotate(2deg);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #6b5a4c;
  box-shadow: 0 30px 80px #0009;
}

.jurors, .gameplay, .screenshots, .how {
  padding: clamp(74px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 740px;
  margin: 0 0 clamp(36px, 6vw, 64px);
}

.section-heading.compact { margin-bottom: 32px; }

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.juror-track {
  display: grid;
  grid-auto-columns: minmax(280px, 32%);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 2px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) #2f251f;
  scrollbar-width: thin;
}

.juror-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }

.juror-card {
  min-height: 630px;
  display: grid;
  grid-template-rows: 400px 1fr;
  overflow: hidden;
  border: 1px solid #6b5a4c;
  background: #201a17;
  scroll-snap-align: start;
}

.juror-portrait {
  min-height: 0;
  padding: 18px 18px 0;
  background: #5a8e88;
}

.juror-card:nth-child(6n + 2) .juror-portrait { background: #bd7b42; }
.juror-card:nth-child(6n + 3) .juror-portrait { background: #a85a54; }
.juror-card:nth-child(6n + 4) .juror-portrait { background: #637ca7; }
.juror-card:nth-child(6n + 5) .juror-portrait { background: #aa6f91; }
.juror-card:nth-child(6n) .juror-portrait { background: #c3a044; }

.juror-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.juror-copy { padding: 22px 24px 26px; }

.juror-copy > p {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.juror-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.juror-copy blockquote {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
}

.scroll-note {
  margin: 14px 0 0;
  color: #8f8478;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.gameplay {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(42px, 9vw, 112px);
}

.gameplay .section-heading { margin: 0; }

.gameplay-copy {
  padding-top: 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.48;
}

.gameplay-copy p { margin: 0 0 1.2em; }
.gameplay-copy p:first-child { color: var(--ink); }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #6b5a4c;
  background: #221b17;
  box-shadow: 0 18px 46px #0007;
}

.how ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.how li {
  min-height: 180px;
  padding: 28px;
  background: #171311;
}

.how li span {
  display: block;
  margin: 0 0 36px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.how li strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.how li p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: #8f8478;
  font-size: 0.78rem;
}

footer p { margin: 0; }
footer a { text-underline-offset: 0.2em; }

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy { padding: 0; }
  .hero-art { order: -1; width: min(84vw, 520px); margin: 0 auto; }
  .juror-track { grid-auto-columns: minmax(270px, 82%); }
  .gameplay { grid-template-columns: 1fr; }
  .gameplay-copy { padding-top: 0; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .how ol { grid-template-columns: 1fr; }
  .how li { min-height: 0; }
  .how li span { margin-bottom: 20px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .download { transition: filter 140ms ease, transform 140ms ease; }
  .download:hover { transform: translateY(-2px); }
}
