@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

.prices-page {
  --ink: #2f2116;
  --accent: #783322;
  --line: #a98449;
  --price-type: Georgia, "Times New Roman", serif;
}

.price-main {
  padding-block: clamp(1.6rem, 5vw, 4rem);
}

:is(.price-sheet, .drawing-prices) {
  max-width: 52rem;
  margin-inline-start: var(--site-text-inset);
}

.prices-page .ink-drift img {
  filter: grayscale(1);
}

.price-sheet h1 {
  font-size: clamp(2.55rem, 7vw, 4.25rem);
  margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
}

.price-sheet h1 em {
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}

.price-table {
  border-collapse: collapse;
  width: 100%;
}

.price-table tr {
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-table th,
.price-table td {
  padding: .65rem 0;
  text-align: left;
}

.price-table tbody {
  font: clamp(1.12rem, 3vw, 1.55rem)/1.3 var(--price-type);
}

.price-table tbody th {
  color: #000;
  font-weight: 400;
}

.price-table tr > :last-child {
  padding-left: 1rem;
  text-align: right;
  white-space: nowrap;
}

.price-table tbody td {
  font-variant-numeric: tabular-nums;
}

.price-table tbody tr:last-child {
  border-bottom: 0;
}

.price-table tbody tr:last-child > * {
  padding-bottom: .2rem;
}

.edition-note {
  color: #000;
  font: clamp(1.2rem, 3vw, 1.45rem)/1.3 "Caveat", "Segoe Print", cursive;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.edition-note cite {
  font: 1rem var(--price-type);
}

.price-paper {
  border-top: 1px solid var(--line);
  font-size: 1rem;
  margin: 0;
  padding-top: .9rem;
}

.drawing-prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .4rem 1rem;
  margin-top: 2rem;
}

.price-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .85rem;
}

.price-divider::before, .price-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.price-divider img {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
  filter: brightness(.6);
}

.drawing-prices h2, .drawing-amount {
  margin: 0;
  font: clamp(1.25rem, 4vw, 1.9rem)/1.2 var(--price-type);
}

.drawing-prices-heading { grid-column: 1 / -1; }
.drawing-amount { font-variant-numeric: tabular-nums; justify-self: end; }
.drawing-format { margin: 0; font: 1rem/1.4 var(--price-type); }
