:root {
  color-scheme: light;
  --ink: #22281e;
  --olive: #283224;
  --soft-olive: #495642;
  --gold: #ead29b;
  --paper: #f8f7f1;
  --line: #dfdfd1;
  --muted: #545b4d;
  --serif: Georgia, Cambria, "Times New Roman", serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5; }
a { color: inherit; }
:focus-visible { outline: 3px solid #926522; outline-offset: 4px; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 5rem, 82rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: 0 auto auto 1rem; padding: .7rem 1rem; background: white; transform: translateY(-120%); }
.skip-link:focus { transform: translateY(.4rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.navigation { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 1.5rem/1 var(--serif); letter-spacing: -.045em; white-space: nowrap; }
.brand strong { font-weight: 700; }
.brand-mark { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: 50%; background: var(--olive); color: var(--gold); font: .9rem/1 var(--serif); letter-spacing: -.07em; }
.navigation nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.65rem; }
.navigation nav a { padding-block: .65rem; font-size: .9rem; font-weight: 600; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: .3rem; }
.navigation nav a:hover { text-decoration-color: currentColor; }
.hero { min-height: 30.75rem; margin-top: 1.55rem; display: grid; grid-template-columns: 1fr 1.16fr; overflow: hidden; border-radius: 1rem; background: var(--olive); color: var(--paper); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(2rem, 5.2vw, 5.35rem); padding-right: clamp(1.75rem, 4vw, 4rem); }
.hero h1 { font: 400 clamp(3.5rem, 6.3vw, 6.15rem)/.99 var(--serif); letter-spacing: -.073em; max-width: 8ch; }
.hero h1 em { display: block; color: var(--gold); font-weight: inherit; }
.hero p { margin-top: 1.45rem; color: #f1efe6; max-width: 29ch; font-size: 1.07rem; }
.hero-button { background: var(--gold); color: #23291c; text-decoration: none; border-radius: .4rem; padding: .77rem 1.2rem; font-weight: 700; margin-top: 1.65rem; }
.hero-button:hover { background: #f6e2b5; }
.hero :focus-visible { outline-color: var(--gold); }
.hero-image { width: 100%; height: 100%; min-height: 0; max-height: 36rem; object-fit: cover; object-position: center; }
.affiliate { color: var(--muted); border-bottom: 1px solid var(--line); padding: .8rem 0 1.1rem; font-size: .875rem; }
.section { padding-block: 3.6rem 0; scroll-margin-top: 1.25rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.35rem; }
.section-label { color: var(--soft-olive); margin-bottom: .5rem; font-size: .88rem; font-weight: 700; }
h2 { font: 400 clamp(2rem, 3.8vw, 3.75rem)/1.05 var(--serif); letter-spacing: -.055em; }
.text-link { color: var(--soft-olive); text-decoration: underline; text-underline-offset: .3rem; white-space: nowrap; font-size: .9rem; font-weight: 650; }
button.text-link { border: 0; background: transparent; padding: .45rem 0; }
.products { display: grid; gap: 1rem; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: #fffef9; min-width: 0; }
.product-media { overflow: hidden; background: #ece7da; }
.product-media img { width: 100%; height: auto; aspect-ratio: 1.07; object-fit: cover; object-position: 50% 53%; }
.product--featured .product-media img { aspect-ratio: 1.24; }
.product-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1rem; }
.product--featured .product-copy { padding: 1.18rem; }
.category { color: var(--soft-olive); font-size: .875rem; font-weight: 650; margin-bottom: .35rem; }
.product h3 { font: 400 1.38rem/1.13 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.product--featured h3 { font-size: 1.62rem; }
.product-description { font-size: .95rem; color: var(--muted); margin: .55rem 0 1rem; }
.product-link { margin-top: auto; padding: .58rem .78rem; text-decoration: none; border-radius: .38rem; border: 1px solid #b9c1ae; color: var(--olive); font-size: .875rem; font-weight: 700; }
.product-link:hover { background: #e9eee4; border-color: var(--soft-olive); }
.product--featured .product-link { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.product--featured .product-link:hover { background: var(--soft-olive); }
.catalog-section { padding-bottom: 3.75rem; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { border-radius: 1.5rem; border: 1px solid #c9cdbf; background: transparent; color: var(--olive); padding: .55rem .88rem; font-size: .9rem; font-weight: 650; }
.filters button:hover { border-color: var(--olive); }
.filters button[aria-pressed="true"] { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.search { min-width: min(100%, 15.5rem); }
.search input { width: 100%; padding: .6rem .85rem; color: var(--ink); background: #fffef9; border: 1px solid #c9cdbf; border-radius: .45rem; }
.search input::placeholder { color: #61675b; }
.result-count { margin-block: .85rem 1rem; color: var(--muted); font-size: .875rem; }
.empty { padding: 2rem; background: #efeee6; border-radius: .65rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; }
.footer-content p { font-size: .875rem; color: var(--muted); }

@media (max-width: 67rem) {
  .shell { width: calc(100% - 3rem); }
  .hero { min-height: 26rem; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2rem); }
  .navigation { min-height: 4.1rem; }
  .brand { font-size: 1.25rem; gap: .4rem; }
  .brand-mark { width: 1.85rem; height: 1.85rem; font-size: .8rem; }
  .navigation nav { gap: .7rem; }
  .navigation nav a { font-size: .875rem; }
  .hero { margin-top: 1rem; grid-template-columns: 1fr; border-radius: .75rem; }
  .hero-copy { padding: 1.6rem 1.4rem 1.75rem; }
  .hero h1 { font-size: clamp(2.95rem, 10vw, 4.45rem); max-width: none; }
  .hero h1 em { display: inline; }
  .hero p { margin-top: .9rem; max-width: 34ch; font-size: 1rem; }
  .hero-button { margin-top: 1rem; padding: .65rem 1rem; }
  .hero-image { height: clamp(11rem, 49vw, 19rem); object-position: 50% 56%; }
  .section { padding-top: 2.65rem; }
  .section-heading { margin-bottom: 1.05rem; }
  .section-heading .text-link { display: none; }
  .products { gap: .68rem; }
  .featured-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-copy, .product--featured .product-copy { padding: .75rem; }
  .product h3, .product--featured h3 { font-size: 1.24rem; }
  .product-description { font-size: .9rem; }
  .product-link { width: 100%; padding-inline: .48rem; text-align: center; }
  .catalog-tools { align-items: stretch; flex-direction: column; gap: .7rem; }
  .catalog-section { padding-bottom: 2.65rem; }
}

@media (max-width: 24rem) {
  .product-link { padding-inline: .25rem; font-size: .875rem; }
  .product-copy, .product--featured .product-copy { padding: .6rem; }
}

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