@font-face {
  font-family: Instrument;
  src: url('assets/instrument-serif.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url('assets/instrument-serif-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #faf7ef;
  --ink: #26251e;
  --red: #ad3524;
  --line: #c6c1b1;
  --muted: #625e54;
  --serif: Instrument, Georgia, serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 var(--sans);
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #135d85;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1320px, calc(100% - clamp(40px, 9.6vw, 156px)));
  margin-inline: auto;
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  font: italic 38px/0.95 var(--serif);
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.paper-mark {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 23px;
  transform: rotate(-10deg);
  border: 2px solid var(--red);
  background: var(--paper);
  box-shadow:
    2px 2px 0 var(--paper),
    3px 3px 0 var(--red);
}
.paper-mark:before {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 3px;
  height: 4px;
  background: var(--red);
}
.paper-mark:after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10px;
  height: 6px;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}
.mast nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-link,
footer button {
  font-size: 14px;
  padding: 8px 0;
}
.nav-link:hover,
footer button:hover,
.shuffle-line button:hover {
  color: var(--red);
}
.saved-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.saved-nav #saved-count {
  font: 11px var(--mono);
  padding: 3px 5px;
  border-radius: 2px;
  background: #ede8da;
}
.bookmark {
  display: inline-block;
  width: 12px;
  height: 15px;
  background: currentColor;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    50% 74%,
    0 100%,
    0 0,
    1.5px 1.5px,
    1.5px 83%,
    50% 60%,
    calc(100% - 1.5px) 83%,
    calc(100% - 1.5px) 1.5px,
    1.5px 1.5px
  );
}
[aria-pressed='true'] .bookmark {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
  color: var(--red);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5%;
  align-items: center;
  min-height: clamp(340px, 28.8vw, 425px);
  padding: 22px 0 21px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.kicker,
.dateline,
.meta,
.date-fields label,
.paper-label,
.intro-date {
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  margin: 0 0 14px;
}
.inkline {
  width: 25px;
  height: 2px;
  background: currentColor;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(72px, 7.55vw, 114px);
  line-height: 0.98;
  letter-spacing: -0.046em;
  margin: 0 0 16px;
  white-space: nowrap;
}
h1 em {
  color: var(--red);
  font-weight: 400;
}
.intro {
  max-width: 430px;
  font-size: clamp(17px, 1.33vw, 20px);
  line-height: 1.45;
  margin: 0 0 26px;
}
.hero-art {
  height: clamp(270px, 24vw, 345px);
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.17);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.date-form,
.date-fields {
  display: flex;
  align-items: stretch;
}
.date-form {
  gap: 10px;
}
.date-fields {
  border: 1px solid #8b8779;
  border-radius: 3px;
  background: #fffdf6;
  padding: 5px 0;
  min-height: 51px;
}
.date-fields label {
  padding: 0 10px 0 13px;
  display: grid;
  align-content: center;
  gap: 1px;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.2;
}
.date-fields label + label {
  border-left: 1px solid var(--line);
}
.date-fields input,
.date-fields select,
.type-select select {
  border: 0;
  background-color: transparent;
  border-radius: 0;
  color: var(--ink);
  font: 15px/1.3 var(--sans);
  text-transform: none;
  letter-spacing: 0;
  min-height: 22px;
}
.date-fields select,
.type-select select {
  appearance: none;
  cursor: pointer;
  padding: 0 21px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23363329' stroke-width='1.4'/%3E%3C/svg%3E");
  background-position: right 1px center;
  background-repeat: no-repeat;
}
.date-fields input {
  width: 54px;
  padding: 0;
  appearance: textfield;
}
.date-fields input::-webkit-inner-spin-button {
  appearance: none;
}
.ink-button,
.shop-button {
  padding: 0 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font: 600 14px var(--sans);
  color: var(--paper);
  background: var(--ink);
  border-radius: 3px;
  text-decoration: none;
}
.ink-button {
  white-space: nowrap;
}
.ink-button:hover,
.shop-button:hover {
  background: var(--red);
}
.ink-button span {
  font-size: 20px;
  line-height: 1;
}
.shuffle-line {
  margin-top: 10px;
}
.shuffle-line button {
  padding: 4px 0;
  font: 12px var(--sans);
  color: var(--muted);
}
.shuffle-line span {
  font: 18px/1 var(--sans);
  padding-right: 4px;
  color: var(--red);
}
.results {
  border-top: 3px double var(--ink);
  padding: 23px 0 43px;
  scroll-margin-top: 12px;
}
.results:focus:not(:focus-visible) {
  outline: 0;
}
.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
}
.results-heading .kicker,
.elsewhere .kicker {
  margin: 0 0 5px;
}
.results h2,
.elsewhere h2,
dialog h2 {
  font-size: clamp(39px, 4vw, 61px);
  line-height: 1.03;
  letter-spacing: -0.034em;
  margin: 0;
}
.dateline {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 5px;
}
.toolbar,
.filters {
  display: flex;
  align-items: center;
  gap: 7px;
}
.toolbar {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.filters {
  flex-wrap: wrap;
}
.filters button {
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  line-height: 1.5;
  white-space: nowrap;
}
.filters button small {
  font: 10px var(--mono);
  margin-left: 4px;
  opacity: 0.8;
}
.filters button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.filters button:hover {
  border-color: var(--ink);
}
.type-select select {
  font-size: 13px;
  max-width: 100%;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}
.find {
  min-width: 0;
  position: relative;
}
.cover-button {
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}
.art {
  height: clamp(180px, 19.2vw, 280px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background: var(--mount, #ddd8bf);
}
.art:before {
  position: absolute;
  inset: 0;
  content: '';
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQImWNgYGD4z8DAwMDAxAAFAAwBAQAL2d0TAAAAAElFTkSuQmCC');
  opacity: 0.022;
  pointer-events: none;
}
.art img {
  position: relative;
  display: block;
  max-width: 78%;
  width: auto;
  height: 83%;
  object-fit: contain;
  filter: drop-shadow(3px 6px 4px #26251e3a);
  transform: rotate(-3deg);
  transition: transform 0.22s ease-out;
}
.cover-button:hover .art img {
  transform: translateY(-3px) rotate(-1deg);
}
.save-card {
  position: absolute;
  right: 9px;
  top: 9px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #b6b0a3;
  border-radius: 50%;
}
.save-card:hover {
  border-color: var(--ink);
}
.save-card .bookmark {
  width: 12px;
  height: 16px;
}
.ticket {
  width: 70%;
  padding: 14px 12px 18px;
  text-align: center;
  background: #fffae9;
  color: var(--ink);
  transform: rotate(-4deg);
  box-shadow: 2px 4px 5px #28251e36;
  border-block: 4px double currentColor;
  max-height: 90%;
  overflow: hidden;
}
.ticket strong {
  display: block;
  font: italic clamp(27px, 3vw, 48px) / 1 var(--serif);
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.ticket small {
  display: block;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.meta {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.075em;
  color: var(--muted);
  margin: 12px 0 4px;
}
.meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8c887c;
}
.meta .exact {
  color: var(--red);
}
.card-title {
  padding: 0;
  text-align: left;
  font: clamp(27px, 2.65vw, 40px) / 1.05 var(--serif);
  letter-spacing: -0.03em;
}
.card-title:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.card-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.empty {
  border-block: 1px solid var(--line);
  padding: 30px 4px;
  color: var(--muted);
}
.empty button {
  color: var(--red);
  text-decoration: underline;
}
.elsewhere {
  border-top: 1px solid var(--ink);
  padding: 33px 0 45px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  align-items: start;
}
.elsewhere h2 {
  font-size: 42px;
}
.elsewhere a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--ink);
  font-size: 14px;
}
.elsewhere a:hover {
  text-decoration: underline;
}
.elsewhere a span {
  color: var(--red);
}
footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand.small {
  font-size: 27px;
}
footer button {
  color: var(--muted);
  font-size: 12px;
}
dialog {
  max-width: min(540px, calc(100vw - 26px));
  width: 100%;
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid var(--ink);
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 16px 70px #23201733;
}
dialog::backdrop {
  background: #29271ec1;
}
.close {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 12px;
  font: 30px/1 var(--sans);
  padding: 3px 7px;
}
dialog h2 {
  font-size: 46px;
  margin: 12px 0 6px;
}
dialog h3 {
  font: 27px var(--serif);
  margin: 18px 0 5px;
}
dialog p {
  margin: 8px 0 14px;
  line-height: 1.5;
}
dialog .art {
  height: 190px;
  margin: 6px -8px 20px;
}
.detail-links {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.detail-links a {
  display: block;
  padding: 6px 0;
  color: var(--red);
}
.detail-links a.shop-button {
  display: inline-flex;
  padding: 13px 17px;
  margin: 8px 0;
  color: var(--paper);
}
.affiliate-note,
.detail-sub {
  font-size: 13px;
  color: var(--muted);
}
.source-list {
  font-size: 14px;
}
.skip,
.sr-only {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  z-index: 5;
  clip-path: none;
  width: auto;
  height: auto;
  left: 12px;
  top: 12px;
  padding: 5px;
  background: var(--paper);
}
@media (min-width: 1450px) {
  .hero {
    gap: 5%;
  }
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 52px);
  }
  .hero {
    gap: 2%;
    grid-template-columns: 1.2fr 1fr;
    min-height: 365px;
  }
  .hero-art {
    height: 265px;
  }
  .date-fields label {
    padding-inline: 8px;
  }
  .ink-button {
    padding-inline: 13px;
  }
  .cards {
    gap: 24px 14px;
  }
  .art {
    height: 200px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 36px);
  }
  .mast {
    height: 63px;
  }
  .brand {
    font-size: 31px;
    gap: 9px;
  }
  .mast nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr 0.8fr;
    align-items: start;
    gap: 0;
    padding: 25px 0;
    min-height: 0;
  }
  .hero-copy {
    display: contents;
  }
  .hero .kicker {
    grid-column: 1;
    margin: 0;
    align-self: end;
  }
  .hero h1 {
    grid-column: 1;
    font-size: clamp(53px, 9vw, 68px);
    white-space: normal;
    line-height: 0.98;
    margin: 9px 0;
  }
  .hero h1 em {
    white-space: nowrap;
  }
  .intro {
    grid-column: 1;
    max-width: 305px;
    font-size: 15px;
    margin: 0;
    align-self: start;
  }
  .hero-art {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;
    height: clamp(118px, 23vw, 185px);
    margin-left: 0;
  }
  .date-form {
    grid-column: 1/-1;
    margin-top: 19px;
  }
  .shuffle-line {
    grid-column: 1/-1;
    margin: 7px 0 0;
  }
  .date-fields {
    min-height: 47px;
  }
  .date-fields label {
    padding-inline: 11px;
  }
  .ink-button {
    padding-inline: 16px;
  }
  .results {
    padding-top: 19px;
  }
  .results-heading {
    margin-bottom: 14px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }
  .filters button {
    font-size: 12px;
    padding: 5px 9px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .art {
    height: clamp(155px, 28vw, 200px);
  }
  .card-desc {
    font-size: 13px;
  }
  .dateline {
    font-size: 10px;
  }
  .elsewhere {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .elsewhere h2 {
    font-size: 35px;
  }
}
@media (max-width: 430px) {
  .about-link {
    max-width: 55px;
    line-height: 1.1;
  }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero h1 {
    font-size: 55px;
    max-width: 185px;
  }
  .hero .kicker {
    font-size: 9px;
    gap: 6px;
  }
  .inkline {
    width: 14px;
  }
  .intro {
    font-size: 14px;
  }
  .date-form {
    gap: 7px;
  }
  .date-fields {
    flex: 1;
  }
  .date-fields label {
    padding-inline: 7px;
    flex: 1;
  }
  .date-fields input {
    width: 47px;
  }
  .ink-button {
    font-size: 13px;
    gap: 6px;
    padding-inline: 10px;
  }
  .meta {
    font-size: 8px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .results h2 {
    font-size: 36px;
  }
  .art {
    height: 145px;
  }
  .ticket {
    width: 81%;
    padding: 9px 5px;
  }
  .card-title {
    font-size: 25px;
  }
  .save-card {
    width: 29px;
    height: 29px;
    right: 5px;
    top: 5px;
  }
  .type-select {
    margin-left: auto;
  }
  .filters {
    gap: 4px;
  }
  .filters button {
    font-size: 11px;
    padding: 4px 7px;
  }
  .filters button small {
    margin-left: 2px;
  }
  .dateline {
    font-size: 9px;
  }
  dialog {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-width: 370px) {
  .date-fields label {
    padding-inline: 5px;
  }
  .date-fields input {
    width: 39px;
  }
  .date-fields select {
    padding-right: 14px;
  }
  .date-form .ink-button {
    font-size: 12px;
    gap: 3px;
    padding-inline: 8px;
  }
  .date-form .ink-button span {
    font-size: 15px;
  }
}

.strip-find {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 2fr);
  align-items: center;
  gap: 20px;
  padding: 18px 46px 18px 20px;
  border-block: 1px solid var(--line);
  background: #f1ecdf;
}
.strip-find .cover-button { grid-area: 1 / 2; }
.strip-find .find-caption { grid-area: 1 / 1; }
.strip-find .meta { margin-top: 0; }
.strip-credit { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--muted); }
.art.strip-art { height: auto; background: transparent; overflow: visible; }
.strip-art:before { display: none; }
.strip-art img, .cover-button:hover .strip-art img {
  width: 100%;
  max-width: 900px;
  height: auto;
  max-height: none;
  transform: none;
  filter: none;
  object-fit: contain;
}
dialog:has(.strip-art) { width: min(1000px, calc(100vw - 26px)); max-width: none; }
dialog .strip-art { margin: 14px 0 18px; }
@media (max-width: 700px) {
  .strip-find { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 10px; padding: 12px 10px; }
  .strip-find .find-caption { padding-right: 32px; }
  .strip-credit { margin-top: 4px; }
}

.strip-art, .strip-art img, .strip-find .cover-button { min-width: 0; }
dialog .strip-art img { max-height: 58dvh; object-fit: contain; }

.browsing-covers .hero { display: none; }
.browsing-covers .results { padding-top: 42px; }
.nav-link { text-decoration: none; }
.buy-options { display: inline-block; margin-top: 8px; padding: 3px 0; font-size: 13px; color: var(--red); }
.detail-links .listing-note { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.detail-links .buy-heading { margin: 18px 0 5px; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
  .mast .about-link { display: none; }
  .browsing-covers .toolbar { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .browsing-covers .filters { flex-wrap: wrap; }
}
