@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap');

@font-face {
  font-family: "Public Audio Display";
  src: url("fonts/public-audio-title.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffdc19;
  --ink: #000000;
  --rule: #000000;
  --accent: #000000;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 14px;
  line-height: 1.35;
}

main { padding: 24px; }

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow, .members, .instagram, .show-detail, .show-number, .shows a { letter-spacing: -0.04em; }
.eyebrow { margin: 0 0 auto; text-transform: uppercase; font-size: 11px; }

h1 {
  margin: 32px 0 24px;
  font-family: "Public Audio Display", Georgia, serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 0.69;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.members { max-width: 360px; margin: 0 0 24px; }
.instagram { color: inherit; text-underline-offset: 3px; }

section { max-width: 1050px; padding-bottom: 42px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; }
h2 { margin: 8px 0 30px; font-size: 12px; font-weight: 500; text-transform: uppercase; }
.section-heading p { margin: 0; font-size: 11px; }

.shows { margin: 0; padding: 0; list-style: none; }
.shows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0 18px; border-top: 1px solid var(--rule); }
.shows li:first-child { border-top: 0; }
.shows li:last-child { border-bottom: 1px solid var(--rule); }
.show-number { color: var(--accent); font-size: 11px; }
.show-name { margin: 0 0 3px; font-size: 22px; line-height: 1; letter-spacing: -0.07em; }
.show-detail { margin: 0; font-size: 11px; }
.shows a { align-self: start; color: inherit; font-size: 11px; text-underline-offset: 3px; white-space: nowrap; }

@media (min-width: 720px) {
  main { padding: 34px 44px; }
}

@media (max-width: 460px) {
  main { padding: 18px; }
  h1 { font-size: 50px; white-space: normal; }
  h1 span { display: block; }
  .shows li { grid-template-columns: minmax(0, 1fr); }
}
