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

:root {
  --night: #111522;
  --cream: #f2ebdf;
  --white: #fcf3e5;
  --gold: #eacb91;
  --muted: #c2bbbc;
  --line: #50483d;
  --display: Cinzel, Georgia, serif;
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: var(--white);
  background: var(--night);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--display); }
h2 { font-size: clamp(2rem, 5.2vw, 4.1rem); line-height: 1.06; letter-spacing: -.045em; }
p { line-height: 1.65; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; background: var(--night); padding: .75rem; }
.site-header { border-bottom: 1px solid #ffffff1c; position: relative; z-index: 1; }
.header-inner, .footer-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wordmark { font-family: var(--display); font-size: 1.08rem; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; white-space: nowrap; }
.star { color: var(--gold); font-family: Georgia, serif; }
.wordmark .star { font-size: 1.5em; }
nav { display: flex; gap: clamp(.75rem, 3vw, 2.1rem); align-items: center; }
nav a { color: var(--white); font-size: .88rem; text-decoration: none; white-space: nowrap; }
nav a:hover, .text-link:hover { color: var(--gold); }
.nav-playtest { color: var(--gold); border: 1px solid #ac8b56; padding: .53rem .95rem; }
.nav-playtest:hover { background: #ffffff11; }

.hero { isolation: isolate; position: relative; overflow: hidden; }
.hero-art { position: absolute; inset: 0 0 0 27%; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #111522ec, #11152212 32%, transparent 64%, #11152222),
              linear-gradient(90deg, #111522 25%, #111522f5 34%, #111522a8 53%, #11152200 84%);
}
.hero-inner { min-height: clamp(31rem, 45vw, 45rem); display: grid; align-items: center; position: relative; padding-block: 4rem 6rem; }
.hero-copy { width: fit-content; max-width: 100%; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--gold); font-size: .72rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 8.4vw, 7.25rem); line-height: 1.09; letter-spacing: -.06em; margin: .75rem 0 .92rem; text-shadow: 0 2px 24px #1115226e; }
.hero-lede { color: #eee5db; font-size: clamp(1.04rem, 2vw, 1.29rem); max-width: 26rem; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.35rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; gap: 1.2rem; background: var(--gold); color: #1e190f; text-decoration: none; padding: .85rem 1.17rem; font-size: .91rem; font-weight: 680; }
.button:hover { background: #f8dfa9; }
.button:focus-visible { outline-color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration-color: #eacb9199; text-underline-offset: .25em; font-size: .9rem; }
.art-caption { position: absolute; right: 0; bottom: 1.55rem; color: #f9e7ce; font-size: .75rem; letter-spacing: .06em; }

.game-section { background: var(--cream); color: #24212a; color-scheme: light; padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1.4rem 4rem; margin-bottom: clamp(1.7rem, 4vw, 3rem); }
.section-heading > p { max-width: 30rem; color: #574b47; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.35rem); }
.feature { min-width: 0; }
.feature img { aspect-ratio: 1.85; height: auto; object-fit: cover; border: 1px solid #cab395; }
.feature figcaption { border-bottom: 1px solid #cbbb9e; padding-block: 1rem 1.25rem; }
.feature h3, .steps h3 { font-family: var(--display); font-size: 1.2rem; line-height: 1.35; }
.feature p { color: #574b47; font-size: .94rem; margin-top: .25rem; }

.playtest-section { background: radial-gradient(ellipse at 4% 12%, #24283b, transparent 62%), var(--night); padding-block: clamp(3.45rem, 7vw, 6.5rem); }
.playtest-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); }
.playtest-intro h2 { margin: .75rem 0 1rem; }
.playtest-intro > p:last-child { color: var(--muted); max-width: 24rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; padding-block: 1.14rem; border-top: 1px solid var(--line); counter-increment: steps; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(steps); font-family: var(--display); color: var(--gold); font-size: 1.05rem; border: 1px solid var(--line); width: 1.95rem; height: 1.95rem; display: grid; place-items: center; }
.steps p { color: var(--muted); margin-top: .35rem; font-size: .94rem; }
.site-footer { border-top: 1px solid #ffffff1c; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 2.25rem); }
  .header-inner, .footer-inner { min-height: 65px; }
  .hero-inner { min-height: 36rem; align-items: end; padding-block: 15rem 4rem; }
  .hero-art { inset: 0; }
  .hero-art img { object-position: 62% 43%; }
  .hero::after { background: linear-gradient(0deg, #111522 5%, #111522ed 38%, #11152221 83%); }
  .art-caption { bottom: .95rem; }
  .section-heading, .playtest-inner { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .features { grid-template-columns: 1fr; gap: 1.5rem; }
  .wordmark { font-size: .92rem; }
  .nav-playtest { padding-inline: .55rem; }
}
