/* ---------- tokens ---------- */
:root {
  --parchment:    #f4ecd8;
  --parchment-2:  #ebe1c7;
  --ink:          #2e2a24;
  --ink-soft:     #5a5145;
  --moss:         #5d6e3f;
  --moss-deep:    #3e5238;
  --rust:         #c95c2c;
  --rust-deep:    #a8481f;
  --rule:         rgba(46, 42, 36, 0.12);

  --measure: 36rem;
  --wrap:    72rem;
  --radius:  10px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Source Serif Pro", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--parchment);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.14  0 0 0 0 0.10  0 0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--moss-deep); text-decoration: none; }
a:hover { color: var(--rust); }

h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 1.25rem; }
p  { margin: 0 0 1rem; max-width: var(--measure); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- banner-hero (full first screen) ---------- */
.banner-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  background: #1a1410;
}
.banner-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: 4.5rem 1.5rem 2.25rem;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.55), transparent);
}
.banner-hero-overlay .release {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: rgba(255, 247, 236, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 120ms ease;
}
.btn-primary {
  background: var(--rust);
  color: #fff7ec;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 -2px 0 rgba(0,0,0,0.08);
}
.btn-primary:hover {
  background: var(--rust-deep);
  color: #fff7ec;
}

/* ---------- generic sections ---------- */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--rule);
}
.section-alt {
  background: var(--parchment-2);
}
.section-title { margin-bottom: 2rem; }

/* ---------- how to play ---------- */
.steps {
  list-style: none;
  margin: 0 0 2.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1rem 1.25rem;
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.steps p { margin: 0; }
.step-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--moss);
}

/* ---------- trailer ---------- */
.trailer {
  margin: 2.75rem auto 0;
  max-width: 60rem;
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.trailer video {
  width: 100%;
  height: auto;
  display: block;
}
.trailer-hint {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 0.5rem 0 0;
  padding: 0 0.75rem 0.5rem;
  max-width: none;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--parchment-2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-nav { display: flex; gap: 1rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--ink-soft);
  transition: color 120ms ease, background-color 120ms ease;
}
.social-link:hover {
  color: var(--rust);
  background: rgba(201, 92, 44, 0.08);
}
.social-link .icon {
  width: 18px;
  height: 18px;
  display: block;
}
.contact, .copyright { margin: 0; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: start;
  }
}

/* ---------- a11y ---------- */
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 4px;
}
