:root {
  color-scheme: light;
  --ink: #30221c;
  --muted: #655047;
  --accent: #813f2c;
  --line: #dbc8b8;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: #fff9f2;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ba612d; outline-offset: 4px; }
.wrap { width: min(100% - 2rem, 1120px); margin-inline: auto; }
.site-header, nav { display: flex; align-items: center; gap: 1.25rem; }
.site-header { min-height: 76px; justify-content: space-between; flex-wrap: wrap; padding-block: .7rem; }
.site-header a { text-decoration: none; }
nav a { padding-block: .5rem; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.brand, h1, h2, h3 { font-family: Georgia, serif; }
.brand { font-size: 1.45rem; font-weight: bold; }
.brand em { color: var(--accent); }
.hero { display: grid; align-items: center; position: relative; isolation: isolate; background: #3b2319; color: #fff8ef; min-height: clamp(390px, 34.19vw, 690px); }
.hero img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; z-index: -2; }
.hero::before { content: ""; background: linear-gradient(90deg, #24130dec, #24130d75 49%, transparent 78%); z-index: -1; }
.hero-copy { width: min(100% - 2rem, 1120px); margin-inline: auto; padding-block: 2.5rem; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .17em; margin: 0 0 .65rem; }
h1, h2, h3 { line-height: 1.06; margin: 0; }
h1 { font-size: clamp(3rem, 6vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.45rem; }
.hero-copy > p:not(.eyebrow) { max-width: 25rem; font-size: 1.12rem; }
.button, .filters button .button, .filters button, .filters a{ display: inline-block; padding: .65rem 1rem; min-height: 44px; font: inherit; font-weight: 700; border-radius: .65rem; }
.button { background: var(--accent); color: white; text-decoration: none; }
.button:hover { filter: brightness(.9); }
.hero-button { background: #fff0de; color: var(--ink); }
.shop { padding-block: 2.5rem 3.5rem; scroll-margin-top: 1rem; }
.shop .eyebrow { color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.4rem; }

.filters button,
.filters a {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.filters button:hover,
.filters a:hover {
  border-color: var(--accent);
}
.filters button[aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
#results, .card p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 1.15rem; }
.card { background: white; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.card img, .placeholder { width: 100%; aspect-ratio: 6 / 5; display: block; }
.card img { object-fit: contain; background: #fff9f2; }
.placeholder { display: grid; place-items: center; background: radial-gradient(ellipse at top, #f9eee3, #e9d2be); color: var(--muted); padding: 1rem; }
.card-copy { padding: 1.15rem; }
.card-copy .eyebrow { margin-bottom: .5rem; }
.card-copy p:last-child { margin-bottom: 0; }
footer { background: #35251e; color: #fff2e4; padding-block: 1.6rem; }
footer p { margin: .35rem 0 0; }
@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero img { position: static; height: auto; aspect-ratio: 2 / 1; object-position: 72% center; }
  .hero::before { display: none; }
  .hero-copy { padding-block: 1.5rem 2rem; }
  .hero-copy h1 br { display: none; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /*======================
     ALIGN BUTTON 
  =======================*/
}
#products > * {
  display: flex;
  flex-direction: column;
}

#products .card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#products .card-copy > p:has(> a.button):not(p:has(> a.button) ~ p) {
  margin-top: auto;
}
.filters a {
  text-decoration: none;
}