:root {
  color-scheme: light;
  --pine: #19372e;
  --pine-deep: #12271f;
  --paper: #f4f1e9;
  --cream: #fffdf8;
  --ink: #23362e;
  --muted: #63746b;
  --line: #d6dbd1;
  --clay: #b26343;
  font: 16px/1.5 Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, input { font: inherit; }
.skip { position: absolute; left: -9999px; top: .8rem; z-index: 10; padding: .6rem 1rem; background: var(--cream); color: var(--pine); }
.skip:focus { left: .8rem; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.site-header { background: var(--pine); color: var(--cream); }
.header-inner { max-width: 1280px; min-height: 83px; margin: auto; padding: 1rem clamp(1.25rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #b7c8b7; border-radius: 50%; font: 700 .95rem Georgia, serif; letter-spacing: -.08em; }
.brand-mark span { transform: translateX(-.05rem); }
.brand-name { font: 700 1.22rem/.95 Georgia, serif; letter-spacing: -.035em; }
.brand-name small { display: block; margin-top: .24rem; font: 600 .58rem/1 Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; }
.header-label { display: flex; align-items: center; gap: .75rem; color: #d4ded2; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }
.header-line { display: inline-block; width: 26px; height: 1px; background: #91aa98; }

main { max-width: 1280px; margin: auto; padding: 0 clamp(1.25rem, 4vw, 3.5rem); }
.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); min-height: 465px; border-bottom: 1px solid var(--line); }
.hero-copy { align-self: center; padding: 3.5rem clamp(1.5rem, 4vw, 4.5rem) 3.5rem 0; }
.eyebrow { margin: 0 0 1.2rem; color: var(--clay); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0 0 1.35rem; font: 400 clamp(3.25rem, 5vw, 5.5rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.hero h1 em { font-weight: 400; color: var(--clay); }
.hero-copy > p:not(.eyebrow) { max-width: 37rem; margin: 0; color: #4a5d51; font-size: 1rem; line-height: 1.72; }
.hero-link { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.8rem; padding-bottom: .35rem; border-bottom: 1px solid var(--pine); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-link span { color: var(--clay); font-size: 1.1rem; }
.hero-image { position: relative; min-height: 465px; margin: 0; overflow: hidden; background: #b7c0b3; }
.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: .7rem 1.2rem; background: rgba(18, 39, 31, .84); color: #fffdf8; font-size: .74rem; letter-spacing: .05em; }

.catalog { padding: clamp(3.5rem, 7vw, 6rem) 0 5.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.section-heading .eyebrow { margin-bottom: .5rem; }
h2 { margin: 0; font: 400 clamp(2.2rem, 3.8vw, 3.4rem)/1.05 Georgia, serif; letter-spacing: -.05em; }
.section-count { margin: 0 0 .4rem; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.search { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--cream); box-shadow: 0 11px 28px rgba(29, 52, 38, .045); scroll-margin-top: 1.5rem; }
.search label { display: block; margin-bottom: .25rem; font-size: 1.06rem; font-weight: 700; }
.search-copy p { margin: 0; color: var(--muted); font-size: .88rem; }
.search-copy strong { color: var(--pine); }
.search-controls { display: flex; gap: .5rem; }
.search input { flex: 1; min-width: 0; padding: .86rem .9rem; border: 1px solid #829488; border-radius: 0; background: #fff; color: var(--ink); }
.search input::placeholder { color: #8b9a90; }
.search button { min-width: 112px; border: 1px solid var(--pine); border-radius: 0; background: var(--pine); color: var(--cream); font-weight: 700; cursor: pointer; }
.search button:hover { background: var(--pine-deep); }
.search button span { margin-left: .5rem; font-size: 1.1rem; }
.search-help { margin: .85rem 0 2rem; color: var(--muted); font-size: .8rem; }
.notice { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-left: 3px solid var(--clay); background: #f9e9de; color: #673d2a; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product { position: relative; min-width: 0; min-height: 175px; padding: 1.45rem 1.5rem 1.55rem; border: 1px solid var(--line); background: var(--cream); }
.product-ref { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-ref strong { color: var(--clay); font-size: .79rem; white-space: nowrap; }
.product h3 { margin: 0 0 .35rem; font: 400 1.55rem/1.15 Georgia, serif; letter-spacing: -.035em; }
.product p { margin: 0; color: #536458; font-size: .88rem; line-height: 1.56; overflow-wrap: anywhere; }
.empty { padding: 1.6rem; border: 1px solid var(--line); background: var(--cream); color: var(--muted); }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.5rem max(clamp(1.25rem, 4vw, 3.5rem), calc((100vw - 1280px) / 2 + 3.5rem)) 2rem; border-top: 1px solid #3d594b; background: var(--pine); color: #d4ded2; font-size: .75rem; }
.footer-brand { color: var(--cream); font: 700 1rem Georgia, serif; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.5rem 0; }
  .hero-image { min-height: 255px; }
  .search { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media (max-width: 620px) {
  .header-inner { min-height: 72px; }
  .header-label { display: none; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 3.3rem); }
  .hero-copy { padding: 1.8rem 0 2rem; }
  .hero-copy > p:not(.eyebrow) { font-size: .94rem; line-height: 1.55; }
  .hero-link { margin-top: 1.1rem; }
  .hero-image { min-height: 175px; }
  .catalog { padding-top: 2rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-count { margin: 0; }
  .results { grid-template-columns: 1fr; }
  .search-controls { flex-direction: column; }
  .search button { min-height: 48px; }
}
