@font-face {
  font-family: "PanicHand";
  src: url("/assets/Panic-Hand.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "MilkRun";
  src: url("/assets/milkrun.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fffdfa;
  --ink: #111111;
  --muted: #5f5a55;
  --line: rgba(0, 0, 0, 0.12);
  --red: #d4514f;
  --green: #2d7c52;
  --blue: #286e9e;
  --cream: #f7f1e8;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-head {
  width: min(1880px, calc(100% - 56px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 176px;
  height: auto;
  display: block;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-family: "MilkRun", system-ui, sans-serif;
  font-size: 15px;
}

.jump-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  text-decoration: none;
  background: #ffffff;
}

main {
  width: min(1880px, calc(100% - 56px));
  margin: 34px auto 56px;
}

.laminate {
  border: 9px solid rgba(0, 0, 0, 0.045);
  border-radius: 6px;
  padding: 42px 34px 34px;
  margin: 0 auto 34px;
  background: #ffffff;
  font-family: "MilkRun", system-ui, sans-serif;
}

.header-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, auto) minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}

.nums {
  display: flex;
  gap: 12px;
}

.nums.left {
  justify-self: start;
}

.nums.right {
  justify-self: end;
}

.marker-num {
  width: clamp(52px, 4.5vw, 86px);
  height: clamp(60px, 5.2vw, 96px);
  object-fit: contain;
  display: block;
}

.board-title {
  text-align: center;
  min-width: 0;
}

.board-title h1 {
  margin: 0;
  color: var(--red);
  font-family: "PanicHand", sans-serif;
  font-size: clamp(64px, 6.2vw, 118px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.board-title h1 sup {
  color: var(--red);
  font-family: "PanicHand", sans-serif;
  font-size: 0.36em;
  margin-left: 0.08em;
  vertical-align: super;
}

.board-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: "MilkRun", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.board-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
}

.stat {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.stat strong {
  font-family: "PanicHand", sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.sheet-jump {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.sheet-jump a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  text-decoration: none;
  background: #ffffff;
}

.song-panel {
  margin: 0;
}

.song-panel summary {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  text-decoration: underline;
  list-style: none;
}

.song-panel summary::-webkit-details-marker {
  display: none;
}

.song-panel summary::after {
  content: "+";
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  display: none;
}

.song-panel[open] summary::after {
  content: "-";
}

.song-panel summary em {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  display: none;
}

.songs.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(46px, 7vw, 144px);
}

.songs .col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rotation-song {
  display: block;
  min-height: 27px;
  margin: 0 0 6px;
  font-size: clamp(19px, 1.25vw, 27px);
  text-transform: uppercase;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.marker-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 1;
}

.marker-text {
  position: relative;
  z-index: 1;
}

.marker-mask {
  position: absolute;
  left: -0.42em;
  right: -0.12em;
  top: 50%;
  height: 1.2em;
  transform: translateY(-70%);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.marker-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: multiply;
}

sup {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
}

.date-sup {
  margin-left: 7px;
}

.hand-addon {
  font-family: "PanicHand", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
}

.spacer {
  visibility: hidden;
}

.setlist-section,
.tour-date-section {
  width: min(1180px, 100%);
  margin: 36px auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 4px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-family: "PanicHand", sans-serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  color: var(--red);
  letter-spacing: 0;
}

.section-heading span {
  color: var(--muted);
  font-family: "MilkRun", system-ui, sans-serif;
  font-size: 15px;
}

.setlist-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 14px;
}

.setlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.setlist-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
}

.setlist-image {
  margin: 0 0 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.setlist-feature .setlist-image {
  margin: 0;
}

.setlist-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.setlist-text {
  min-width: 0;
}

.setlist-text h3 {
  margin: 0;
  font-family: "PanicHand", sans-serif;
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0;
}

.setlist-text .venue {
  margin: 3px 0 10px;
  color: var(--muted);
  font-family: "MilkRun", system-ui, sans-serif;
}

.setlist-text p {
  margin: 8px 0;
  line-height: 1.35;
}

.setlist-text strong {
  color: var(--red);
}

.notes {
  margin: 10px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.tour-dates {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}

.tour-dates li {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 76px 120px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.tour-dates li span {
  font-family: "MilkRun", system-ui, sans-serif;
}

.tour-dates li strong {
  font-weight: 700;
}

.tour-dates li em {
  color: var(--muted);
  font-style: normal;
}

.tour-dates li.is-posted span {
  color: var(--green);
}

.site-foot {
  width: min(1880px, calc(100% - 56px));
  margin: 0 auto 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

@media (max-width: 900px) {
  .site-head,
  .section-heading,
  .site-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-row {
    grid-template-columns: 1fr;
  }

  .nums.left,
  .nums.right {
    justify-self: center;
  }

  .board-title h1 {
    font-size: 46px;
  }

  .songs.grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-ledger,
  .setlist-feature,
  .setlist-grid {
    grid-template-columns: 1fr;
  }

  .tour-dates {
    columns: 1;
  }
}

@media (max-width: 560px) {
  main,
  .site-head,
  .site-foot {
    width: min(100% - 20px, 1180px);
  }

  .brand-logo {
    width: 148px;
  }

  .laminate {
    padding: 13px 12px 18px;
  }

  .board-title h1,
  .section-heading h2 {
    font-size: 36px;
  }

  .board-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sheet-jump {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0 -4px 8px;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .sheet-jump a {
    flex: 1 1 42%;
    justify-content: center;
  }

  .song-panel {
    border-bottom: 1px solid var(--line);
  }

  .song-panel summary {
    min-height: 44px;
    margin: 4px 0;
  }

  .song-panel summary::after,
  .song-panel summary em {
    display: inline;
  }

  .songs.grid4 {
    grid-template-columns: 1fr;
  }

  .tour-dates li {
    grid-template-columns: 72px 1fr;
  }

  .tour-dates li em {
    grid-column: 2;
  }
}
