/* Hallmark · v2.0.0 · theme: brand · genre: editorial · scope: component · redesign: polish */
/* Critique: keep the object and inscription foremost, with the shop link in the right margin. */
:root {
  --shop-brass: #b4a38b;
  --shop-terracotta: #9b4d2b;
}
#archive dl > div {
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  align-items: baseline;
  padding-block: var(--space-md);
}
#archive dd { font-variant-numeric: tabular-nums; }
#closing .closing-layout {
  grid-template-columns: minmax(0,.7fr) minmax(0,.95fr) minmax(0,.65fr);
  align-items: center;
}
#closing .shop-card {
  display: grid;
  justify-self: end;
  width: min(100%, 248px);
  min-width: 0;
  padding: var(--space-lg);
  border: 1px solid var(--shop-brass);
  border-radius: 2px;
  background: var(--paper);
  color: var(--light-ink);
  font-family: var(--book);
  text-decoration: none;
}
#closing .shop-platform { color: var(--shop-terracotta); font-size: 14px; }
#closing .shop-product { margin-top: var(--space-xs); font-size: clamp(20px,1.7vw,24px); line-height: 1.45; }
#closing .shop-action {
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--shop-brass);
  font-size: 15px;
  color: var(--caption-ink);
}
#closing .shop-card[href]:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; }
@media (hover:hover) {
  #closing .shop-card[href]:hover { border-color: var(--pine); background: var(--white); }
}
@media (prefers-reduced-motion:no-preference) {
  #closing .shop-card[href] { transition: background-color .2s ease, border-color .2s ease; }
}
@media (max-width:760px) {
  #closing .closing-layout { grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: var(--space-lg); }
  #closing .shop-card { grid-column: 1/-1; justify-self: stretch; width: 100%; }
  #closing .shop-action { margin-top: var(--space-md); }
  #archive dl > div { gap: var(--space-sm); }
}
