@font-face {
  font-family: 'DM Serif Display';
  src: url('assets/dm-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fcfaf3;
  --forest: #242e23;
  --leaf: #354431;
  --muted: #555b4c;
  --gold: #f4bd50;
  --line: #dedbd0;
  --serif: 'DM Serif Display', Georgia, serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--forest); font: 1rem/1.55 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h2 { font-size: clamp(2.55rem, 5.3vw, 4.15rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.55rem, 2.45vw, 2rem); letter-spacing: -.03em; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ba671b; outline-offset: 4px; }
.hero :focus-visible, .contact :focus-visible { outline-color: #fff4bf; }
.wrap { width: min(100% - 5rem, 75rem); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .7rem 1rem; background: white; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 2.95rem;
  padding: .64rem 1.13rem; border: 1px solid transparent; border-radius: .42rem;
  font-weight: 680; text-decoration: none; text-align: center;
}
.button-outline { border-color: #96a093; }
.button-outline:hover { background: #e9eddf; }
.button-gold { background: var(--gold); color: #282618; }
.button-gold:hover { background: #ffd47c; }
.button-light-outline { border-color: #8a9380; color: #fffdf5; }
.button-light-outline:hover { background: #3b4938; }

.header { background: var(--cream); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.7rem; min-height: 5.6rem; }
.brand { width: fit-content; }
.brand img { width: 7.65rem; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(1rem, 3.7vw, 3.25rem); }
.header nav a { padding: .65rem .1rem; font-weight: 650; text-decoration: none; }
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.header-contact { justify-self: end; }

.hero { background: var(--forest); color: #fffaf0; }
.hero-inner { display: grid; grid-template-columns: .91fr 1.09fr; align-items: stretch; min-height: 33rem; }
.hero-copy { align-self: center; padding: 4rem 2.2rem 4rem 0; }
.eyebrow { font-size: .87rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
.hero .eyebrow { color: #ffd47c; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 6rem); letter-spacing: -.063em; }
.hero h1 span { color: #f7bd54; }
.intro { max-width: 28rem; margin-top: 1.34rem; color: #e6e9da; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.showcase {
  position: relative; overflow: hidden; isolation: isolate; min-height: 29rem; margin-block: 1.25rem;
  border-radius: .65rem; background: radial-gradient(ellipse at 52% 31%, #ffe4a0, #efb44b 73%, #da8e33);
}
.showcase-ring {
  position: absolute; z-index: -1; top: 13%; left: 24%; width: 55%; aspect-ratio: 1;
  border: 1px solid #8b581843; border-radius: 50%; box-shadow: 0 0 0 18px #b36b1621, 0 0 0 37px #b36b1612;
}
.showcase img { position: absolute; height: auto; filter: drop-shadow(.65rem .95rem .7rem #62370d55); }
.hero-honey { width: 39%; max-width: 15.8rem; left: 20%; bottom: 15%; }
.hero-eggs { width: 68%; right: 4%; bottom: 4%; }

.catalog { padding-block: clamp(3.5rem, 7vw, 6rem); }
.catalog-heading { display: flex; justify-content: space-between; gap: 1.2rem 2rem; align-items: end; flex-wrap: wrap; margin-bottom: 1.8rem; }
.catalog-heading p { margin-top: .65rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button {
  cursor: pointer; min-height: 2.75rem; padding: .4rem .85rem; border: 1px solid #aaa99b;
  border-radius: 10rem; background: transparent; color: var(--forest); font-weight: 670;
}
.filters button:hover { border-color: var(--forest); background: #eaeddf; }
.filters button[aria-pressed='true'] { border-color: var(--leaf); background: var(--leaf); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.product { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .65rem; background: #fffdf8; }
.product-photo { display: grid; place-items: center; aspect-ratio: 1.53; overflow: hidden; background: #eee9dd; }
.product-photo img { height: 100%; width: 100%; object-fit: contain; }
.product-photo.cutout { position: relative; }
.product-photo.cutout img { height: auto; width: auto; position: absolute; filter: drop-shadow(.3rem .5rem .4rem #51422936); }
.product-photo.honey { background: #f5e4b8; }
.product-photo.honey img { max-height: 90%; max-width: 72%; }
.product-photo.eggs { background: #e4e9d9; }
.product-photo.eggs img { width: 88%; }
.product-info { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1rem 1.22rem 1.15rem; }
.product-format { margin-block: .24rem; color: var(--muted); font-size: .92rem; }
.product-actions { display: flex; width: 100%; justify-content: space-between; gap: .55rem; align-items: center; margin-top: auto; padding-top: .7rem; }
.price { font-weight: 750; font-size: 1.07rem; white-space: nowrap; }
.order-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 5rem;
  padding: .3rem .75rem; border: 1px solid #adb5a4; border-radius: .36rem; font-weight: 670; text-decoration: none;
}
.order-link:hover { border-color: var(--forest); background: #edf0e5; }

.farm { padding-block: clamp(3.5rem, 6.8vw, 6rem); background: #e9eadb; }
.farm-inner { display: grid; grid-template-columns: 1fr 1.26fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
.farm .eyebrow { margin-bottom: .8rem; color: #4b5c3f; }
.farm-copy p:not(.eyebrow) { max-width: 31rem; margin-block: .9rem 1.25rem; color: #464d3e; }
.farm-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.farm-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .42rem; }
.farm-photos figcaption { margin-top: .4rem; color: #425039; font-size: .92rem; }

.contact { padding-block: clamp(2.9rem, 6vw, 4.6rem); background: var(--forest); color: #fffaf0; }
.contact-inner { display: flex; justify-content: space-between; gap: 1.4rem 2.5rem; align-items: center; flex-wrap: wrap; }
.contact h2 { font-size: clamp(2.45rem, 4.3vw, 3.65rem); }
.contact p { margin-top: .6rem; color: #e6e9da; }
.contact-actions { display: grid; justify-items: center; gap: .6rem; }
.contact-catalog { display: inline-flex; min-height: 2.75rem; align-items: center; color: #fffaf0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; min-height: 5.25rem; padding-block: .8rem; }
.footer strong { margin-right: .7rem; }
.footer span { color: var(--muted); }

@media (max-width: 880px) {
  .wrap { width: min(100% - 3rem, 75rem); }
  .hero-inner { min-height: 27rem; }
  .showcase { min-height: 23rem; }
  .hero-copy { padding-block: 3rem; }
  .product-grid { gap: .85rem; }
  .product-info { padding-inline: .85rem; }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0 1rem; padding-top: .55rem; }
  .brand img { width: 6.6rem; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; padding-top: .2rem; }
  .header-contact { grid-row: 1; grid-column: 2; min-height: 2.75rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.7rem 0 .3rem; }
  .hero h1 { font-size: clamp(2.9rem, 10vw, 4.65rem); }
  .hero-actions { margin-top: 1.25rem; }
  .showcase { min-height: auto; aspect-ratio: 1.35; margin-block: 1.55rem 1rem; }
  .hero-honey { width: 36%; max-height: 88%; object-fit: contain; }
  .hero-eggs { width: 65%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .farm-inner { grid-template-columns: 1fr; }
  .farm-copy p:not(.eyebrow) { margin-bottom: 1.1rem; }
  .contact-actions { justify-items: start; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 365px) {
  .hero-actions .button { padding-inline: .72rem; }
}

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