:root {
  color-scheme: light;
  --ink: #1c2520;
  --paper: #f7f6f1;
  --green: #264537;
  --line: #d7dad1;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #987434; outline-offset: 3px; }
.wrap { width: min(91%, 1300px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { font: 700 2rem/1 Georgia, serif; text-decoration: none; letter-spacing: -.05em; }
.brand span { color: #947035; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: 34px 70px; }
.hero-image { display: block; width: 100%; height: clamp(320px, 43vw, 610px); object-fit: cover; background: #d9dfd0; }
.eyebrow { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
h1 { margin: .25em 0; font-size: clamp(3rem, 6vw, 6.4rem); }
h2 { font-size: clamp(2.4rem, 4vw, 4.1rem); margin: .25em 0 .55em; }
.lead { color: #46534a; max-width: 35ch; margin: 0 0 28px; font-size: 1.125rem; }
button, input, select { font: inherit; }
.button, .outline { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 18px; border: 1px solid var(--green); border-radius: 2px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.button { background: var(--green); color: white; }
.outline { color: var(--green); background: transparent; }
.outline[aria-pressed="true"] { background: var(--green); color: white; }
.catalogue, .sources { padding-block: 46px 58px; border-top: 1px solid var(--line); scroll-margin-top: 14px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: end; gap: 12px; }
.filters label { display: grid; gap: 6px; min-width: 0; }
input, select { width: 100%; min-height: 46px; border: 1px solid #aeb8ad; border-radius: 2px; background: #fff; padding: 8px 12px; color: var(--ink); }
#status { color: #46534a; margin-top: 25px; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); padding: 22px; background: #fff; }
.card h3 { margin: 0; font-size: 1.6rem; }
.card footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.sources ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; }
body > footer { border-top: 1px solid var(--line); padding-block: 24px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-block: 42px; }
  .hero-image { height: 330px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: span 2; }
}
@media (max-width: 480px) { .bar nav { display: none; } }
.card-photo { display: block; width: calc(100% + 44px); aspect-ratio: 4 / 3; object-fit: cover; margin: -22px -22px 18px; }
.card-source { color: #46534a; margin: 8px 0 0; font-size: .9rem; }
