@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--frontend-design--2026-10-17T20-26-07-865Z/assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--frontend-design--2026-10-17T20-26-07-865Z/assets/fonts/courier-prime-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--frontend-design--2026-10-17T20-26-07-865Z/assets/fonts/courier-prime-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--frontend-design--2026-10-17T20-26-07-865Z/assets/fonts/courier-prime-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --green: #20352a;
  --green-deep: #14231b;
  --paper: #efe6d2;
  --paper-light: #f6efdf;
  --paper-mid: #e7dcc3;
  --paper-deep: #d9c9a7;
  --ink: #1c251f;
  --muted: #4f594e;
  --clay: #b14a2c;
  --clay-deep: #8e331c;
  --cobalt: #2c58b0;
  --marigold: #e7b33a;
  --sage: #8eaa8a;
  --rule: rgba(28, 37, 31, 0.32);
  --focus: #1e53c4;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--green);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-head :focus-visible,
.hero :focus-visible,
.site-foot :focus-visible {
  outline-color: #f2c94c;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 60;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-head {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(239, 230, 210, 0.24);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.wordmark-name {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: -0.055em;
}

.wordmark-note {
  font-family: var(--type);
  font-size: 11.5px;
  color: rgba(239, 230, 210, 0.64);
  letter-spacing: 0.01em;
}

.head-date {
  margin: 0 0 0 auto;
  font-family: var(--type);
  font-size: 12px;
  color: rgba(239, 230, 210, 0.72);
}

.apron-chip {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  font-family: var(--type);
  font-size: 11.5px;
  border: 1px solid rgba(239, 230, 210, 0.34);
  color: var(--paper);
  background: rgba(239, 230, 210, 0.05);
  white-space: nowrap;
}

.apron-chip .pin-icon {
  color: var(--marigold);
}

.pin-icon {
  width: 13px;
  height: 13px;
  flex: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 40px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  align-items: center;
}

.catalogue-tag {
  margin: 0 0 24px;
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid rgba(239, 230, 210, 0.38);
  width: fit-content;
  font-family: var(--type);
  font-size: 11px;
  color: rgba(239, 230, 210, 0.82);
}

.catalogue-tag span {
  padding: 6px 11px;
  border-right: 1px solid rgba(239, 230, 210, 0.3);
}

.catalogue-tag span:last-child {
  border-right: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 98px);
  font-weight: 800;
  font-stretch: 79%;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-wrap: balance;
}

.hero-lede {
  max-width: 48ch;
  margin: 26px 0 28px;
  font-size: 17.5px;
  line-height: 1.56;
  color: rgba(239, 230, 210, 0.79);
}

.hero-jump {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--marigold);
}

.hero-jump svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.hero-jump:hover svg {
  transform: translateY(3px);
}

.hero-photo {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 480px;
  transform: rotate(1.1deg);
}

.photo-mat {
  position: relative;
  padding: 11px;
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(10, 20, 14, 0.32);
}

.photo-mat img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.tape {
  position: absolute;
  width: 76px;
  height: 24px;
  background: rgba(233, 220, 193, 0.7);
  border-left: 1px solid rgba(28, 37, 31, 0.15);
  border-right: 1px solid rgba(28, 37, 31, 0.15);
  box-shadow: 0 1px 2px rgba(28, 37, 31, 0.15);
  pointer-events: none;
}

.tape-a {
  top: -11px;
  left: 30px;
  transform: rotate(-6deg);
}

.tape-b {
  right: 24px;
  bottom: -12px;
  transform: rotate(4deg);
}

.hero-photo figcaption {
  margin: 12px 0 0 11px;
  font-family: var(--type);
  font-size: 11px;
  color: rgba(239, 230, 210, 0.58);
}

/* ---------- The drawer ---------- */

.drawer {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  padding: 48px 40px 34px;
  box-shadow: inset 0 18px 30px rgba(8, 18, 12, 0.2), inset 0 -1px 0 rgba(28, 37, 31, 0.2);
  scroll-margin-top: 0;
}

.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23p)' opacity='.16'/%3E%3C/svg%3E");
}

.drawer > * {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.drawer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}

.drawer-kicker {
  margin: 0 0 6px;
  font-family: var(--type);
  font-size: 12px;
  color: var(--muted);
}

.drawer h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 800;
  font-stretch: 82%;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.drawer-note {
  margin: 0;
  max-width: 45ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Controls ---------- */

.controls {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.78fr) minmax(0, 0.78fr);
  gap: 18px;
  align-items: end;
  padding: 22px 0 15px;
}

.control {
  min-width: 0;
}

.control label,
.control-label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.search-wrap,
.select-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.control input,
.control select {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15.5px;
}

.control input {
  padding: 0 14px 0 42px;
}

.control input::placeholder {
  color: #6c7468;
  opacity: 1;
}

.control input:focus {
  background: #fffaf0;
}

.control select {
  appearance: none;
  padding: 0 42px 0 13px;
  font-weight: 600;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.apron-toggle {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  text-align: left;
}

.apron-toggle:hover {
  background: #ead9b4;
}

.apron-toggle[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.apron-toggle .pin-icon {
  width: 15px;
  height: 15px;
  color: var(--clay);
}

.apron-toggle[aria-pressed="true"] .pin-icon {
  color: var(--marigold);
}

.toggle-count {
  margin-left: auto;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  font-family: var(--type);
  font-size: 11.5px;
  line-height: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

/* ---------- Results line ---------- */

.results-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

.results-line p {
  margin: 0;
}

#result-count {
  font-family: var(--type);
  font-size: 12.5px;
  color: var(--muted);
}

.tally {
  font-family: var(--type);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clay-deep);
  text-align: right;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 30px;
}

.specimen-card {
  --tilt: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 15px 16px;
  background: var(--paper-mid);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(28, 37, 31, 0.14);
  transform: rotate(var(--tilt));
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.specimen-card:nth-child(3n + 1) {
  --tilt: -0.3deg;
}

.specimen-card:nth-child(3n + 2) {
  --tilt: 0.22deg;
}

.specimen-card:nth-child(3n) {
  --tilt: 0.4deg;
}

.specimen-card:hover {
  transform: translateY(-3px) rotate(0deg);
  box-shadow: 7px 9px 0 rgba(28, 37, 31, 0.18);
}

.specimen-card.is-saved {
  border-color: var(--clay-deep);
  box-shadow: 5px 6px 0 rgba(142, 51, 28, 0.28);
}

.card-enter {
  animation: card-settle 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes card-settle {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.card-tab {
  position: absolute;
  top: -16px;
  left: 14px;
  z-index: 2;
  padding: 5px 26px 5px 11px;
  background: var(--tab, var(--paper-deep));
  color: var(--tab-ink, var(--ink));
  font-family: var(--type);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}

.specimen-card[data-category="Baking"] {
  --tab: #e6b437;
  --tab-ink: #1c251f;
}

.specimen-card[data-category="Ceramics"] {
  --tab: #a54427;
  --tab-ink: #fff4e2;
}

.specimen-card[data-category="Floristry"] {
  --tab: #47663f;
  --tab-ink: #f4f2e2;
}

.specimen-card[data-category="Painting"] {
  --tab: #2c58b0;
  --tab-ink: #f5f0df;
}

.card-photo {
  position: relative;
  margin: 0;
}

.card-photo img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  border: 1px solid var(--ink);
  filter: saturate(0.92) contrast(1.02);
}

.card-photo .tape {
  top: -8px;
  left: 20px;
  width: 64px;
  height: 20px;
  transform: rotate(-5deg);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 2px 0;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 750;
  font-stretch: 85%;
  letter-spacing: -0.032em;
  line-height: 1.02;
  text-wrap: balance;
}

.card-price {
  margin: 2px 0 0;
  font-family: var(--type);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.card-desc {
  margin: 10px 0 15px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}

.card-meta {
  margin: 0 0 17px;
  padding-top: 11px;
  border-top: 1px dashed rgba(28, 37, 31, 0.4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.card-meta div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.card-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.card-meta dd {
  margin: 0;
  font-family: var(--type);
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 37, 31, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.saved-tag {
  display: none;
  align-items: center;
  gap: 5px;
  font-family: var(--type);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--clay-deep);
}

.specimen-card.is-saved .saved-tag {
  display: inline-flex;
}

.saved-tag .pin-icon {
  width: 12px;
  height: 12px;
}

.open-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease;
}

.open-card:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Empty state ---------- */

.empty-state {
  padding: 42px 0 30px;
}

.empty-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 38px 32px;
  text-align: center;
  background: var(--paper-light);
  border: 1.5px dashed rgba(28, 37, 31, 0.55);
}

.empty-drawing {
  width: 110px;
  height: auto;
  margin: 0 auto 12px;
  color: var(--ink);
}

.empty-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 750;
  font-stretch: 85%;
  letter-spacing: -0.035em;
}

.empty-card p {
  max-width: 42ch;
  margin: 10px auto 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.button-secondary {
  min-height: 44px;
  padding: 11px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.button-secondary:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
}

/* ---------- Footers ---------- */

.drawer-foot {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
}

.drawer-foot p {
  margin: 0;
  font-family: var(--type);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.site-foot {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 40px 42px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  font-family: var(--type);
  font-size: 11.5px;
  color: rgba(239, 230, 210, 0.62);
}

.site-foot p {
  margin: 0;
}

.site-foot p:last-child {
  margin-left: auto;
}

.foot-mark {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.site-foot a {
  color: var(--paper);
}

/* ---------- Detail dialog ---------- */

.detail-dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.detail-dialog[open] {
  display: grid;
  place-items: center;
}

.detail-dialog::backdrop {
  background: rgba(13, 25, 18, 0.75);
  backdrop-filter: blur(2px);
}

.detail-sheet {
  position: relative;
  width: min(1020px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  max-height: calc(100dvh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 14px 18px 0 rgba(5, 13, 8, 0.3);
  overflow: hidden;
  animation: pull-card 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pull-card {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(0.35deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.detail-dialog[open]::backdrop {
  animation: dim-in 220ms ease both;
}

@keyframes dim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
}

.detail-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.detail-close svg {
  width: 13px;
  height: 13px;
}

.detail-photo {
  position: relative;
  min-height: 100%;
  background: var(--green-deep);
  overflow: hidden;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.detail-tape {
  top: 18px;
  left: 18px;
  width: 84px;
  height: 25px;
  transform: rotate(-5deg);
}

.photo-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 6px 9px;
  background: rgba(239, 230, 210, 0.9);
  color: var(--ink);
  font-family: var(--type);
  font-size: 10px;
  line-height: 1.35;
}

.detail-content {
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  padding: 42px 45px 38px;
  overscroll-behavior: contain;
}

.detail-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-right: 110px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.detail-category {
  display: inline-block;
  padding: 5px 22px 5px 10px;
  background: var(--tab, var(--paper-deep));
  color: var(--tab-ink, var(--ink));
  font-family: var(--type);
  font-size: 11.5px;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

.detail-accession {
  font-family: var(--type);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.detail-content h2 {
  margin: 16px 0 10px;
  font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 800;
  font-stretch: 81%;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.detail-body {
  max-width: 48ch;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.58;
  color: #38443a;
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.detail-facts div {
  padding: 11px 14px 11px 0;
  border-bottom: 1px dashed rgba(28, 37, 31, 0.25);
}

.detail-facts div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px dashed rgba(28, 37, 31, 0.25);
}

.detail-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.detail-facts dt {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.detail-facts dd {
  margin: 2px 0 0;
  font-family: var(--type);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

#detail-price {
  color: var(--clay-deep);
}

.detail-save-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.save-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 13px 19px;
  border: 1.5px solid var(--clay-deep);
  border-radius: 0;
  background: var(--clay-deep);
  color: var(--paper-light);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}

.save-button:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.save-button .pin-icon {
  width: 16px;
  height: 16px;
}

.save-button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.save-button[aria-pressed="true"] .pin-icon {
  color: var(--marigold);
}

.save-note {
  flex: 1;
  min-width: 180px;
  max-width: 30ch;
  margin: 0;
  font-family: var(--type);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero {
    gap: 40px;
  }

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

  .detail-content {
    padding: 38px 32px 34px;
  }

  .detail-meta-top {
    margin-right: 96px;
  }
}

@media (max-width: 860px) {
  .site-head {
    padding: 17px 22px;
    gap: 16px;
  }

  .wordmark-name {
    font-size: 30px;
  }

  .wordmark-note {
    display: none;
  }

  .head-date {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 38px 22px 48px;
  }

  .hero-photo {
    justify-self: start;
    max-width: 520px;
    transform: rotate(0.7deg);
  }

  .hero-lede {
    max-width: 50ch;
  }

  .drawer {
    padding: 36px 22px 28px;
  }

  .drawer-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
  }

  .control-search {
    grid-column: 1 / -1;
  }

  .card-photo img {
    height: 220px;
  }

  .detail-sheet {
    width: calc(100vw - 36px);
    height: calc(100vh - 36px);
    height: calc(100dvh - 36px);
    grid-template-columns: 1fr;
    grid-template-rows: 240px minmax(0, 1fr);
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    overflow: hidden;
  }

  .detail-photo {
    min-height: 240px;
    height: 240px;
  }

  .detail-photo img {
    min-height: 240px;
    height: 240px;
  }

  .detail-content {
    max-height: none;
    overflow-y: auto;
    padding: 26px 24px 30px;
  }

  .detail-meta-top {
    margin-right: 0;
    padding-right: 0;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-head {
    padding: 15px 18px;
  }

  .apron-chip {
    font-size: 10.5px;
    padding: 6px 9px;
  }

  .site-head .pin-icon {
    width: 12px;
    height: 12px;
  }

  .hero {
    padding: 28px 18px 36px;
    gap: 28px;
  }

  .catalogue-tag {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .catalogue-tag span {
    padding: 5px 8px;
  }

  .catalogue-tag span:nth-child(2) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 58px);
  }

  .hero-lede {
    font-size: 15.5px;
    line-height: 1.5;
    margin: 18px 0 20px;
  }

  .photo-mat {
    padding: 8px;
  }

  .hero-photo .photo-mat img {
    aspect-ratio: 16 / 9;
  }

  .hero-photo figcaption {
    margin-top: 9px;
  }

  .drawer {
    padding: 30px 18px 24px;
  }

  .drawer h2 {
    font-size: 39px;
  }

  .controls {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 18px;
  }

  .control-search {
    grid-column: auto;
  }

  .control input,
  .control select,
  .apron-toggle {
    height: 52px;
  }

  .results-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tally {
    text-align: left;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 32px;
  }

  .specimen-card {
    --tilt: 0deg;
    transform: none;
  }

  .specimen-card:nth-child(n) {
    --tilt: 0deg;
  }

  .card-photo img {
    height: 210px;
  }

  .card-title {
    font-size: 27px;
  }

  .drawer-foot {
    flex-direction: column;
    gap: 6px;
  }

  .site-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 26px 18px 34px;
  }

  .site-foot p:last-child {
    margin-left: 0;
  }

  .detail-sheet {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: 205px minmax(0, 1fr);
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    box-shadow: none;
  }

  .detail-content {
    overflow-y: auto;
    padding: 24px 20px 34px;
  }

  .detail-photo {
    height: 205px;
    min-height: 205px;
  }

  .detail-photo img {
    height: 205px;
    min-height: 205px;
  }

  .detail-tape {
    top: 12px;
    left: 12px;
  }

  .photo-note {
    left: 12px;
    bottom: 12px;
  }

  .detail-close {
    top: 12px;
    right: 12px;
  }

  .detail-content h2 {
    font-size: 40px;
  }

  .detail-body {
    font-size: 16px;
  }

  .detail-facts div {
    padding: 9px 10px 9px 0;
  }

  .detail-facts div:nth-child(even) {
    padding-left: 12px;
  }

  .detail-save-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .save-note {
    max-width: 38ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .specimen-card,
  .specimen-card:nth-child(n) {
    transform: none;
  }

  .specimen-card:hover {
    transform: none;
  }

  .hero-jump:hover svg {
    transform: none;
  }
}
