:root {
  --ink: #161616;
  --muted: #5d6675;
  --paper: #fff9ed;
  --panel: #ffffff;
  --line: #1f1f1f;
  --gold: #f4c542;
  --red: #d92f2f;
  --blue: #116a9f;
  --green: #19866d;
  --shadow: rgba(16, 20, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 106, 159, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(217, 47, 47, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  border-bottom: 3px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--line);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.target {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: end;
  padding: 44px 0 28px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 10px;
  border: 2px solid var(--line);
  background: var(--red);
  color: #fff7da;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1 {
  max-width: 820px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: #313845;
  font-size: clamp(1.03rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.stats {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--line);
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #d7d7d7;
}

.stat:last-child {
  border-bottom: 0;
}

.stat strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 16px;
  padding-top: 18px;
  border-top: 3px solid var(--line);
}

.section-head h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
}

.issue-count {
  color: var(--muted);
  font-weight: 800;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.issue-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--line);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.issue-card:hover,
.issue-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 var(--line);
  outline: 0;
}

.cover-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 3px solid var(--line);
  background: #231817;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.issue-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.issue-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.issue-body h3 {
  font-size: 1.55rem;
  line-height: 1.08;
}

.issue-body p {
  margin: 0;
  color: #303846;
  line-height: 1.45;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 5px 8px;
  border: 2px solid var(--line);
  background: #e8f5f1;
  color: #123f35;
  font-size: 0.75rem;
  font-weight: 900;
}

.empty-state {
  padding: 24px;
  border: 3px dashed var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 800;
}

.footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.issue-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.issue-shell header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--line);
}

.issue-shell nav a {
  color: var(--blue);
  font-weight: 900;
}

.issue-shell article {
  padding: 24px;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--line);
}

.issue-shell p,
.issue-shell li {
  line-height: 1.55;
}

@media (max-width: 760px) {
  .topbar,
  .hero,
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .topbar,
  .section-head {
    display: grid;
  }

  .hero {
    gap: 20px;
    padding-top: 32px;
  }

  .target {
    font-size: 0.82rem;
  }

  .stats {
    width: min(100%, 360px);
  }
}
