:root {
  --ink: #171717;
  --paper: #f4f0e7;
  --yellow: #f7df38;
  --red: #ff5748;
  --blue: #4e74ff;
  --line: 2px solid var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: var(--line);
  background:
    radial-gradient(circle at 88% 20%, var(--yellow) 0 4px, transparent 5px),
    radial-gradient(circle at 91% 24%, var(--red) 0 10px, transparent 11px),
    linear-gradient(135deg, var(--paper) 0 67%, #ddd6c8 67% 68%, var(--paper) 68%);
}

.nav {
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand, .nav-link { font-weight: 900; text-decoration: none; }
.brand { font-size: clamp(1.15rem, 2vw, 1.65rem); letter-spacing: -.06em; }
.brand span { color: var(--red); }
.nav-link { font-size: .73rem; letter-spacing: .13em; }

.hero-inner {
  width: min(1180px, 92vw);
  margin: auto;
  padding: 8vh 0 10vh;
}

.eyebrow, .section-kicker, .tag, .number, .open {
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: .08em;
}

.eyebrow { font-size: .75rem; margin-bottom: 2.5rem; }
h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: .82;
  letter-spacing: -.085em;
  text-transform: uppercase;
}
h1 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.lede { max-width: 570px; margin: 2.4rem 0; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.45; }
.cta {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: var(--yellow);
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.cta:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }

.ticker { border-top: var(--line); background: var(--ink); color: var(--paper); padding: .65rem 0; white-space: nowrap; font: 700 .78rem/1 "Courier New", monospace; letter-spacing: .12em; }
.ticker span { display: inline-block; min-width: 100%; text-align: center; }

main { width: min(1180px, 92vw); margin: 0 auto; padding: 8rem 0; }
.intro { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 3rem; }
.section-kicker { font-size: .75rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -.06em; text-align: right; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); border-left: var(--line); }
.card {
  min-height: 480px;
  padding: 1.5rem;
  border-right: var(--line);
  border-bottom: var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { position: relative; z-index: 1; transform: translate(-6px, -6px); box-shadow: 8px 8px 0 var(--ink); }
.card-yellow { background: var(--yellow); }
.card-blue { background: var(--blue); color: #fff; }
.card-red { background: var(--red); }
.number { margin-left: auto; font-size: .75rem; }
.tag { margin-top: auto; font-size: .7rem; }
.card h3 { margin: .8rem 0 1rem; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.card p { min-height: 4.6rem; line-height: 1.45; }
.open { margin-top: 1.4rem; font-size: .76rem; border-top: 1px solid currentColor; padding-top: 1rem; }

.catalog { padding-top: 9rem; }
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.catalog-head h2 { margin-top: 1.25rem; text-align: left; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; padding-bottom: .35rem; }
.filter {
  appearance: none;
  border: var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: .65rem 1rem;
  font: 800 .72rem/1 "Courier New", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter:hover, .filter.active { background: var(--ink); color: var(--paper); }
.archive-list { border-top: var(--line); }
.archive-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: 70px minmax(220px, .9fr) 1fr 38px;
  gap: 1rem;
  align-items: center;
  border-bottom: var(--line);
  text-decoration: none;
  transition: background .15s ease, padding .15s ease;
}
.archive-row:hover { background: var(--yellow); padding: 0 1rem; }
.archive-row span { font: 700 .72rem/1 "Courier New", monospace; }
.archive-row strong { font-size: clamp(1.25rem, 2.5vw, 2rem); letter-spacing: -.04em; text-transform: uppercase; }
.archive-row small { font-size: .9rem; }
.archive-row b { text-align: right; font-size: 1.2rem; }
.archive-row[hidden] { display: none !important; }
.empty { padding: 3rem 0; font: 700 1rem/1.4 "Courier New", monospace; }

.about {
  margin-top: 10rem;
  padding: 3rem 0 0;
  border-top: var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}
.about h2 { text-align: left; }
.about div > p { max-width: 640px; margin: 2rem 0 0 auto; font-size: 1.15rem; line-height: 1.6; }

footer {
  min-height: 150px;
  padding: 2rem 4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: var(--line);
  background: var(--yellow);
}
footer p, footer > a:last-child { font: 800 .72rem/1.3 "Courier New", monospace; letter-spacing: .05em; }
footer > a:last-child { justify-self: end; }

@media (max-width: 820px) {
  .hero { min-height: 760px; }
  .nav-link { display: none; }
  .intro { display: block; }
  h2 { margin-top: 1.2rem; text-align: left; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 400px; }
  .catalog { padding-top: 6rem; }
  .catalog-head { display: block; }
  .filters { justify-content: flex-start; margin-top: 2rem; }
  .archive-row { grid-template-columns: 42px 1fr 24px; padding: 1rem 0; }
  .archive-row small { grid-column: 2; }
  .archive-row b { grid-column: 3; grid-row: 1 / span 2; }
  .about { margin-top: 7rem; grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
