[hidden]{display:none !important}

:root {
  --newsprint: #F7F3EA;
  --ink: #161616;
  --rule: #B42318;
  --hair: rgba(22, 22, 22, 0.18);
  --serif: "Old Standard TT", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  background: var(--newsprint);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; }

a { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--rule);
  outline-offset: 2px;
}

::selection { background: var(--rule); color: var(--newsprint); }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rule);
}

.masthead { padding-top: 0.85rem; }

.mast-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
  padding-bottom: 0.7rem;
}

.issue {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.mast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-left: auto;
}

.mast-actions button,
#btn-logout {
  font: 700 0.78rem/1 var(--sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

#btn-signup {
  background: var(--rule);
  color: var(--newsprint);
  border-color: var(--rule);
}

#player-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ink);
  padding: 0.15rem 0.15rem 0.15rem 0.65rem;
}

#player-name { font-weight: 700; }

#btn-logout {
  background: var(--ink);
  color: var(--newsprint);
  border: 0;
}

.nameplate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.35rem 0 0.75rem;
}

.nameplate img { width: 56px; height: 56px; }

.brand { margin: 0; }

.brand a {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  line-height: 0.9;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.tagline { margin: 0.2rem 0 0; font-size: 0.95rem; }

.rule-ink { height: 3px; background: var(--ink); }
.rule-red { height: 2px; background: var(--rule); }

.mast-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.3rem;
  padding: 0.55rem 0;
}

.mast-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mast-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rule); }

main { padding: 1.35rem 0 2.5rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.02; }

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 18ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.hero-grid > img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 4px solid var(--rule);
}

.lede > p:first-child::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 5rem;
  line-height: 0.72;
  padding: 0.08em 0.08em 0 0;
  color: var(--rule);
  font-weight: 700;
}

.lede p { margin: 0 0 0.85rem; }

.pull {
  margin: 0.4rem 0 0;
  padding: 0.55rem 0 0.55rem 0.8rem;
  border-left: 3px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.25;
}

.paper-cols {
  margin-top: 1.3rem;
  column-count: 3;
  column-gap: 1.5rem;
  column-rule: 1px solid var(--hair);
}

.paper-cols p { margin: 0 0 0.8rem; break-inside: avoid; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.8rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.facts article { padding: 0.95rem 1rem 1.05rem; min-width: 0; }

.facts article + article { border-left: 1px solid var(--rule); }

.fact-num {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 1.05;
}

.facts h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.35rem;
}

.facts p { margin: 0; }

.section-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.clip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  border: 1px solid var(--ink);
  padding: 0.75rem 0.75rem 0.9rem;
  background: var(--newsprint);
}

.clip img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--rule);
}

.clip h3 { margin: 0; font-size: 1.85rem; }

.clip p { margin: 0; flex: 1; }

a.play-link {
  align-self: flex-start;
  margin-top: 0.35rem;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--newsprint);
  background: var(--ink);
  padding: 0.55rem 0.85rem;
  border-bottom: 3px solid var(--rule);
}

a.play-link:hover { background: var(--rule); }

.how { margin-top: 2rem; }

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.4rem;
  align-items: start;
}

.story-fig { margin: 0; }

.story-fig img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px solid var(--rule);
}

.story-fig figcaption,
.band figcaption {
  margin-top: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--hair);
}

.steps li:last-child { border-bottom: 1px solid var(--hair); }

.step-no {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--rule);
}

.steps h3 { margin: 0 0 0.25rem; font-size: 1.45rem; }

.steps p { margin: 0; }

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.2rem;
  border-top: 4px solid var(--ink);
}

.features article {
  min-width: 0;
  padding: 0.9rem 0.9rem 0.2rem 0;
}

.features article + article {
  padding-left: 0.9rem;
  border-left: 1px solid var(--hair);
}

.features h3 { margin: 0 0 0.35rem; font-size: 1.3rem; }

.features p { margin: 0 0 0.8rem; }

.band { margin-top: 2rem; }

figure.band.wrap {
  margin-left: auto;
  margin-right: auto;
}

.band img {
  width: 100%;
  height: min(42vw, 380px);
  object-fit: cover;
  display: block;
}

.page-kicker { margin-bottom: 0.4rem; }

.page h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 16ch;
}

.dateline { margin: 0 0 1.1rem; font-size: 0.92rem; }

.columns {
  column-count: 2;
  column-gap: 2.2rem;
  column-rule: 1px solid var(--hair);
}

.columns p { margin: 0 0 1rem; break-inside: avoid; }

#contact-form {
  display: grid;
  gap: 0.35rem;
  max-width: 36rem;
  margin-top: 1.4rem;
}

label { font-weight: 700; font-size: 0.92rem; }

input, textarea {
  width: 100%;
  max-width: 100%;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.6rem 0.7rem;
  font: inherit;
}

textarea { min-height: 8rem; resize: vertical; }

.check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400;
  margin-top: 0.35rem;
}

.check input { width: auto; margin-top: 0.28rem; }

#contact-form button,
.modal-panel button[type="submit"],
.gate-actions button,
#cookie-accept {
  justify-self: start;
  margin-top: 0.45rem;
  cursor: pointer;
  background: var(--ink);
  color: var(--newsprint);
  border: 0;
  border-bottom: 3px solid var(--rule);
  font: 700 0.8rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 0.9rem;
}

#age-no {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

#login-error, #signup-error, #age-denied {
  color: var(--rule);
  font-weight: 700;
  margin: 0.3rem 0 0;
}

#contact-ok {
  max-width: 36rem;
  margin: 1rem 0 0;
  padding: 0.2rem 0 0.2rem 0.8rem;
  border-left: 4px solid var(--rule);
  font-weight: 700;
}

.site-footer {
  background: var(--ink);
  color: var(--newsprint);
  padding: 2rem 0 5.5rem;
}

.footer-grid {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.15fr;
  gap: 1.4rem;
}

.footer-brand {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 0.7rem;
  align-items: center;
  min-width: 0;
}

.footer-brand img { width: 40px; height: 40px; grid-row: 1; grid-column: 1; }

.footer-brand strong { grid-column: 2; }

.footer-brand p { grid-column: 1 / -1; margin: 0.7rem 0 0; }

.footer-grid nav,
.footer-grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.site-footer h2 {
  margin: 0 0 0.25rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rule);
}

.site-footer a {
  color: var(--newsprint);
  overflow-wrap: anywhere;
}

.site-footer p { overflow-wrap: anywhere; }

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--rule);
  font-weight: 700;
}

.footer-base {
  width: min(1080px, calc(100% - 2rem));
  margin: 1.2rem auto 0;
  padding-top: 0.8rem;
  border-top: 2px solid var(--rule);
  font-size: 0.92rem;
}

.footer-base a { color: var(--newsprint); }

#age-gate, #login-modal, #signup-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(22, 22, 22, 0.46);
  display: grid;
  place-items: center;
  padding: 1rem;
}

#login-modal, #signup-modal { z-index: 60; }

.gate-panel, .modal-panel {
  width: min(440px, 100%);
  background: var(--newsprint);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-top: 6px solid var(--rule);
  padding: 1.05rem 1.1rem 1.15rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.modal-panel { position: relative; }

.modal-x {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.gate-panel h2, .modal-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 2rem;
  padding-right: 3.2rem;
}

.gate-panel p, .modal-panel p { margin: 0 0 0.7rem; }

.gate-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.modal-panel form { display: grid; gap: 0.35rem; }

#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  justify-content: flex-start;
  background: var(--ink);
  color: var(--newsprint);
  padding: 0.8rem 1rem;
}

#cookie-banner p { margin: 0; flex: 1 1 16rem; }
#cookie-accept { margin: 0 0 0 auto; }

#cookie-banner a { color: var(--newsprint); }

@media (max-width: 900px) {
  .hero-grid, .how-grid, .card-row { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .features article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .features article:nth-child(3),
  .features article:nth-child(4) { border-top: 1px solid var(--hair); }
  .paper-cols { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band img { height: auto; max-height: 280px; }
}

@media (max-width: 640px) {
  .facts, .features, .columns, .footer-grid { grid-template-columns: 1fr; column-count: 1; }
  .facts article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .features article { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); }
  .features article:first-child { border-top: 0; }
  .mast-actions { margin-left: 0; }
}
