@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9efdb;
  --ink: #191613;
  --blue: #2147d8;
  --yellow: #ffc830;
  --red: #f4513c;
  --body: "DM Sans", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }

.shell { width: min(100% - 120px, 1240px); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 2px solid var(--ink); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 48px; height: auto; }
.header-inner nav { display: flex; align-items: center; gap: 35px; }
.nav-link, .text-link {
  font-weight: 850;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-underline-offset: 5px;
}
.nav-link { text-decoration: none; }
.nav-link:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 54px;
  padding: 9px 19px 11px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font: 800 23px/1 var(--display);
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
}
.button span { font: 800 .85em/1 var(--body); }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button:disabled { opacity: .7; transform: none; cursor: wait; }
.button:focus-visible { outline-color: var(--ink); }
.shop .button:focus-visible { outline-color: var(--paper); }
.button-small { min-height: 40px; padding: 6px 12px 7px; gap: 12px; font-size: 19px; box-shadow: 3px 3px 0 var(--ink); }
.button-blue { color: white; background: var(--blue); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 48%, #efd6a999, transparent 55%),
    var(--paper);
}
.hero-inner {
  min-height: 626px;
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(35px, 6vw, 96px);
  padding-block: 50px 61px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: block; width: 24px; height: 4px; background: var(--blue); transform: skewX(-17deg); }
.hero h1 { margin: 0 0 20px -7px; width: min(100%, 360px); }
.hero h1 img { width: 100%; height: auto; }
.hero-deck { max-width: 365px; margin: 0 0 25px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 650; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.text-link span { display: inline-block; margin-left: 4px; }
.text-link:hover { color: var(--blue); }

.comic-frame {
  position: relative;
  isolation: isolate;
  margin: 0 12px 12px 0;
  border: 3px solid var(--ink);
  padding: 7px;
  background: var(--paper);
  transform: rotate(-1.2deg);
}
.comic-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 11px -16px -16px 11px;
  border: 3px solid var(--ink);
  background: radial-gradient(circle, #19161365 1px, transparent 1.5px) 0 0 / 5px 5px, var(--blue);
}
.comic-frame picture { display: block; position: relative; border: 2px solid var(--ink); background: #e8b15a; }
.comic-frame img { width: 100%; aspect-ratio: 1.13; height: auto; object-fit: cover; object-position: center 44%; }

.chant { overflow: hidden; display: flex; justify-content: center; background: var(--yellow); border-block: 3px solid var(--ink); }
.chant-track { display: flex; flex: none; gap: 22px; padding-block: 10px 12px; font: 800 clamp(25px, 3vw, 37px)/1 var(--display); letter-spacing: .065em; }
.chant-track span { white-space: nowrap; }
.chant-track b { color: var(--blue); margin-inline: 14px; font-size: .73em; vertical-align: 9%; }

.rules { padding-block: 75px 92px; }
h2 { margin: 0; font: 800 clamp(52px, 7vw, 102px)/.85 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.rules h2 { margin-bottom: 32px; }
.rule-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rule-list li { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: clamp(17px, 2.3vw, 32px); background: #fbf4e7; }
.rule-list li:nth-child(2) { background: var(--yellow); }
.rule-number { display: block; margin-bottom: 18px; color: var(--blue); font: 800 29px/1 var(--display); }
.rule-list h3 { margin: 0 0 10px; font: 800 clamp(27px, 3.5vw, 44px)/.95 var(--display); text-transform: uppercase; }
.rule-list p { margin: 0; line-height: 1.55; max-width: 34ch; }

.shop {
  border-block: 3px solid var(--ink);
  background: radial-gradient(circle, #112d9b 1px, transparent 1.5px) 0 0 / 7px 7px, var(--blue);
  color: var(--paper);
}
.shop-inner { display: grid; grid-template-columns: minmax(200px, .7fr) 1fr; align-items: center; gap: clamp(28px, 8vw, 120px); padding-block: 66px; }
.shop-kit { margin: 0; width: min(100%, 370px); justify-self: center; }
.shop-kit img { width: 100%; height: auto; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.shop-kit figcaption { margin-top: 12px; font-size: 13px; }
.shop-player-count { margin: 19px 0 7px; font: 800 25px/1 var(--display); text-transform: uppercase; }
.shop-description { max-width: 40ch; margin: 0 0 22px; font-size: clamp(17px, 2vw, 22px); }
.shop-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.shop-price { margin: 0; font: 800 28px/1 var(--body); }
.shop-status { margin: 0; font-weight: 700; }
.shop-status:empty { position: absolute; }
.shop-status[data-state="coming-soon"], .shop-status[data-state="sold-out"] {
  display: inline-block;
  margin-top: 0;
  padding: 8px 12px;
  border: 2px solid var(--paper);
  font: 800 22px/1 var(--display);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 70px; gap: 15px; }
.footer-inner span { font: 800 24px/1 var(--display); text-transform: uppercase; }
.footer-inner a { font-size: 13px; text-underline-offset: 4px; }

@media (max-width: 920px) {
  .shell { width: calc(100% - 70px); }
  .hero-inner { min-height: 0; padding-block: 41px 50px; gap: 33px; }
  .hero h1 { width: min(100%, 300px); }
  .hero-actions { gap: 17px; }
  .hero-actions .button { min-height: 46px; font-size: 19px; padding-inline: 12px; gap: 12px; }
  .hero-actions .text-link { font-size: 11px; }
  .comic-frame img { aspect-ratio: .92; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; }
  .brand img { width: 40px; }
  .header-inner nav { gap: 16px; }
  .nav-link { font-size: 11px; }
  .button-small { font-size: 17px; }
  .hero-inner { grid-template-columns: 1fr; gap: 31px; padding-block: 31px 34px; }
  .hero-copy { padding-inline: 3px; }
  .hero h1 { width: min(78vw, 338px); margin: 0 0 16px -4px; }
  .hero-deck { margin-bottom: 19px; }
  .comic-frame { margin: 0 10px 10px 1px; padding: 5px; }
  .comic-frame::before { inset: 8px -12px -12px 8px; }
  .comic-frame img { aspect-ratio: 1.12; }
  .rules { padding-block: 50px 62px; }
  .rules h2 { margin-bottom: 23px; }
  .rule-list { grid-template-columns: 1fr; }
  .rule-list li { padding: 21px; }
  .rule-number { margin-bottom: 11px; }
  .rule-list p { max-width: 44ch; }
  .shop-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 45px; }
  .shop-kit { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
