:root {
  color-scheme: light;
  --paper: #faf8f0;
  --ink: #222b21;
  --muted: #505848;
  --line: #dedfd1;
  --accent: #89501f;
  --wash: #efede2;
  --forest: #263d30;
  --gold: #f2cf89;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
.page-intro { display: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid #ac5a20; outline-offset: 4px; }
.wrap { width: min(100% - 3.5rem, 76rem); margin-inline: auto; }
.site-header { min-height: 5.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; z-index: 3; }
.brand { display: inline-flex; gap: .55rem; align-items: center; flex-shrink: 0; font: 700 1.06rem/.94 Georgia, serif; text-decoration: none; text-transform: uppercase; letter-spacing: .035em; }
.brand-mark { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; color: var(--forest); background: #e9eddc; border-radius: .75rem; }
.brand-mark .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.5; }
.site-header nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 1.7rem); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { text-decoration: underline; }
.cart-button { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; background: var(--wash); padding: .35rem .7rem; border: 0; border-radius: 1.4rem; white-space: nowrap; }
#cart-count { display: inline-grid; min-width: 1.4rem; height: 1.4rem; place-items: center; border-radius: 50%; background: var(--forest); color: var(--paper); font-size: .75rem; font-weight: 720; font-variant-numeric: tabular-nums; }
.mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(30rem, 47vw, 39rem); color: var(--paper); background: var(--forest) url('assets/honey-pour-poster.webp') 66% center / cover no-repeat; border-radius: .8rem; overflow: hidden; }
.hero::after { position: absolute; z-index: -1; content: ''; inset: 0; background: linear-gradient(90deg, #132419 0%, #142419ed 28%, #15251987 53%, #13241910 83%); }
.hero-text { max-width: 41rem; padding: clamp(1.6rem, 4.4vw, 4.2rem); }
.eyebrow { margin: 0 0 .85rem; color: var(--accent); font-size: .78rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow, .hero em { color: var(--gold); }
.hero-video { display: block; position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero-video-control { position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 0; border-radius: 50%; color: var(--paper); background: #18251ce8; }
.hero-video-control:hover { background: var(--forest); }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(3rem, 6.4vw, 6.25rem); line-height: .98; letter-spacing: -.055em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; }
h3 { font-size: 1.7rem; line-height: 1.15; }
.lead { max-width: 29rem; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.55; margin: 1.25rem 0 1.5rem; text-wrap: pretty; }
.hero .lead { color: #e5e9dd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem clamp(.75rem, 2.8vw, 1.4rem); line-height: 1.4; text-decoration: none; font-weight: 650; border-radius: .5rem; border: 1px solid transparent; }
.primary { background: var(--forest); color: #fff; }
.hero .primary { color: var(--ink); background: var(--gold); }
.primary:hover, .product-buy button:hover { background: #386047; color: #fff; }
.hero .primary:hover { color: var(--ink); background: #ffe4ab; }
.secondary { border-color: #b7a48d; }
.secondary:hover { background: var(--wash); }
.hero .secondary { background: #f8f6ea16; border: 0; }
.partner-panel .secondary { border-color: #bec8b9; }
.hero .secondary:hover, .partner-panel .secondary:hover { background: #ffffff19; }
.departments { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; margin-top: 1.25rem; }
.category-card { min-width: 0; display: grid; grid-template-rows: 1fr auto; background: var(--wash); border-radius: .35rem; overflow: hidden; text-decoration: none; border: 1px solid var(--line); }
.category-card img { width: 100%; height: auto; display: block; aspect-ratio: 1.28; object-fit: cover; }
.category-card span { font-weight: 650; padding: .7rem .75rem; min-height: 3.15rem; display: flex; align-items: center; }
.category-card:hover { border-color: var(--accent); }
.catalog { padding-block: 2rem 3.5rem; border-top: 1px solid var(--line); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.section-top p { color: var(--muted); margin: .7rem 0 0; }
.catalog-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.text-link { padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .2em; color: var(--accent); font-weight: 650; }
.catalog-controls { margin-bottom: 1.15rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.filters a { padding: .52rem .68rem; border-radius: .26rem; border: 1px solid var(--line); text-decoration: none; font-size: .875rem; }
.filters a[aria-current] { border-color: var(--forest); background: var(--forest); color: white; }
.catalog-selects { display: flex; flex-wrap: wrap; gap: .55rem .95rem; }
.catalog-selects label { display: grid; color: var(--muted); font-size: .875rem; gap: .24rem; }
.catalog-selects select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: .25rem; background: var(--paper); color: var(--ink); font: inherit; padding: .45rem .66rem; }
.catalog-empty { background: var(--wash); padding: 1.15rem; }
.catalog-empty button { border: 0; background: transparent; text-decoration: underline; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.products-list { grid-template-columns: 1fr; }
.products-list .product { display: grid; grid-template-columns: minmax(6.75rem, 27%) 1fr; }
.products-list .product-image { height: 100%; min-height: 8rem; }
.recent-products { margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.product-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .65rem; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .35rem; overflow: hidden; background: #fffaf1; }
.product-visual { position: relative; overflow: hidden; }
.product-open { position: absolute; z-index: 2; inset: 0; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.product-open:focus-visible { outline-offset: -5px; }
.photo-price { position: absolute; z-index: 1; bottom: .7rem; left: .7rem; max-width: calc(100% - 1.4rem); padding: .48rem .7rem; border: 1px solid #e3c292; border-radius: .35rem; background: var(--paper); color: var(--ink); font-weight: 720; font-variant-numeric: tabular-nums; pointer-events: none; }
.product-image { display: block; width: 100%; height: auto; aspect-ratio: 1.28; background-color: var(--wash); object-fit: cover; }
.product[data-product=soap] .product-image { object-position: center 63%; }
.product-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-body p { color: var(--muted); line-height: 1.45; margin: .5rem 0 1.1rem; }
.product-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.product-buy strong { font-size: 1.12rem; white-space: nowrap; }
.product-buy span { display: block; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.product-buy button { min-height: 44px; padding: .5rem .85rem; border: 1px solid var(--accent); color: var(--accent); background: transparent; border-radius: .28rem; }
.apiary { border-top: 1px solid var(--line); padding-block: clamp(1.75rem, 4vw, 3.2rem) 3.5rem; }
.apiary-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.65rem, 1.5vw, 1.15rem); margin-top: 1.35rem; }
.apiary-photo { display: block; overflow: hidden; aspect-ratio: 1.2; border-radius: .45rem; background: var(--wash); cursor: zoom-in; }
.apiary-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.apiary-gallery .apiary-landscape { grid-column: 1 / -1; aspect-ratio: 2.25; object-position: center 63%; }
.apiary-landscape img { object-position: center 63%; }
.apiary-field { object-position: 56% center; }
.apiary-hives { object-position: 67% 49%; }
.apiary-swarm { object-position: 50% 45%; }
.apiary-honeycomb { object-position: 53% 64%; }
.guide { padding-bottom: 3.5rem; }
.guide-content { background: var(--wash); border-radius: .65rem; padding: clamp(1.45rem, 4.2vw, 3rem); }
.guide dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; margin: 1.5rem 0 0; }
dt { font-weight: 700; }
dd { color: var(--muted); margin: .35rem 0 0; line-height: 1.55; }
.honey-notes { margin-top: clamp(1.6rem, 4vw, 2.7rem); }
.honey-notes h3 { margin-bottom: .85rem; }
.honey-notes details { margin-top: .5rem; background: var(--paper); border-radius: .55rem; }
.honey-notes summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; min-height: 3.55rem; padding: .5rem .75rem; font-weight: 650; cursor: pointer; list-style: none; }
.honey-notes summary::-webkit-details-marker { display: none; }
.honey-notes p { margin: 0; padding: 0 .9rem 1rem 3.8rem; max-width: 65ch; color: var(--muted); line-height: 1.55; }
.note-icon { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; color: var(--forest); border-radius: .62rem; background: #ecebda; }
.note-icon .icon { width: 1.75rem; height: 1.75rem; }
.icon-accent { stroke: #a36323; }
.note-plus, .note-minus { width: 1.1rem; height: 1.1rem; color: var(--muted); }
.note-minus, .honey-notes details[open] .note-plus { display: none; }
.honey-notes details[open] .note-minus { display: block; }
.service-section { padding-block: clamp(1.75rem, 4.5vw, 3.75rem); border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.info-grid article, .contact-panel { background: var(--wash); border-radius: .35rem; padding: clamp(1rem, 2.2vw, 1.7rem); }
.info-grid p, .document-list p, .contact-panel p, .partner-panel p { margin: .55rem 0 0; line-height: 1.55; max-width: 48ch; }
.info-grid .text-link { display: inline-block; margin-top: .65rem; }
.document-list details { padding-block: .9rem; border-bottom: 1px solid var(--line); }
.document-list summary { cursor: pointer; font-weight: 680; }
.partner-panel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; align-items: center; border-radius: .35rem; padding: clamp(1.2rem, 4vw, 2.7rem); background: var(--forest); color: var(--paper); }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; align-items: center; }
.contact-panel img { width: 100%; height: auto; aspect-ratio: 2.1; object-fit: cover; border-radius: .28rem; object-position: center 62%; }
.site-footer { padding-block: 2rem; color: var(--paper); background: var(--forest); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.15rem 2rem; }
.footer-grid nav { display: grid; gap: .42rem; align-content: start; }
.footer-grid nav a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid .brand-mark { background: var(--gold); color: var(--forest); }
.footer-grid p { margin: .7rem 0 0; color: #e5e9dd; }
.photo-credits { grid-column: 1/-1; border-top: 1px solid #ffffff3a; padding-top: .7rem; font-size: .875rem; }
.photo-credits summary { cursor: pointer; }
.photo-credits li { margin-block: .35rem; }
.site-footer p, .cart-note { margin: 0; color: var(--muted); font-size: .9rem; }
dialog { padding: 0; color: var(--ink); border: 1px solid var(--line); background: var(--paper); width: min(32rem, 100% - 1.5rem); border-radius: .5rem; max-height: 85dvh; }
dialog::backdrop { background: rgb(39 26 15 / .56); }
#apiary-viewer { width: min(60rem, 100% - 1.5rem); max-height: 94dvh; }
.viewer-shell { position: relative; display: grid; gap: .55rem; padding: .55rem; }
.viewer-shell form { display: flex; justify-content: flex-end; }
.viewer-image { display: block; width: 100%; height: min(63dvh, 37rem); object-fit: contain; background: var(--wash); border-radius: .24rem; }
.viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.viewer-controls button { border: 1px solid var(--line); background: transparent; border-radius: .25rem; min-height: 2.75rem; padding: .4rem .55rem; }
.cart-shell { padding: clamp(1rem, 5vw, 2rem); }
.cart-heading, .cart-total, .cart-line { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.close, .quantity button { border: 1px solid var(--line); background: transparent; border-radius: .25rem; min-width: 2.75rem; height: 2.75rem; }
.close { display: grid; place-items: center; }
.cart-line { border-bottom: 1px solid var(--line); padding-block: .85rem; }
.cart-line span { display: block; margin-top: .2rem; font-size: .9rem; }
.quantity { display: flex; align-items: center; gap: .5rem; }
.cart-total { padding-block: 1rem; }
.cart-note { margin-top: .8rem; }
#product-viewer { width: min(49rem, 100% - 1.5rem); }
.product-sheet { padding: clamp(.8rem, 2vw, 1.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.product-sheet form { grid-column: 1/-1; justify-self: end; }
.sheet-photo { width: 100%; height: auto; max-height: 48vh; aspect-ratio: 1.2; object-fit: cover; border-radius: .25rem; }
#product-format { font-weight: 700; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; top: .25rem; left: .25rem; z-index: 1; background: var(--paper); padding: .6rem; }
@media (prefers-reduced-motion: no-preference) {
  .page-intro { display: grid; position: fixed; z-index: 10; inset: 0; place-items: center; background: var(--paper); pointer-events: none; animation: intro-clear 1.12s both; }
  body:focus-within .page-intro { display: none; }
  .intro-comb { width: 7rem; height: 7rem; position: relative; animation: comb-turn 940ms cubic-bezier(.36,.03,.24,1) both; }
  .intro-comb i { position: absolute; inset: 50% auto auto 50%; width: 2rem; height: 2.25rem; transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #ad652b; }
  .intro-comb i::after { content: ''; position: absolute; inset: 2px; clip-path: inherit; background: var(--cell, #eab656); }
  .intro-comb i:nth-child(2) { --x: -2.13rem; --cell: #f0c77b; }
  .intro-comb i:nth-child(3) { --x: 2.13rem; --cell: #d78a3e; }
  .intro-comb i:nth-child(4) { --x: -1.065rem; --y: -1.78rem; --cell: #f6d9a1; }
  .intro-comb i:nth-child(5) { --x: 1.065rem; --y: -1.78rem; --cell: #e6a14a; }
  .intro-comb i:nth-child(6) { --x: -1.065rem; --y: 1.78rem; --cell: #dc984e; }
  .intro-comb i:nth-child(7) { --x: 1.065rem; --y: 1.78rem; --cell: #f0c77b; }
  html { scroll-behavior: smooth; }
  .hero-text { animation: ease-in 550ms both settle; }
  .product-visual.in-view .product-image, .apiary-photo.in-view { animation: 620ms ease-out both settle; }
  .honey-notes details[open] p { animation: 220ms ease-out both settle; }
  .product-image, .apiary-photo img { transition: scale 420ms ease-out; }
  .photo-price { transition: opacity 180ms ease-out, transform 180ms ease-out; }
  .apiary-photo:focus-visible img, .product:focus-within .product-image { scale: 1.055; }
  .primary, .secondary, .product-buy button, .filters a { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
  dialog[open] { animation: 250ms ease-out both settle; }
  dialog[open]::backdrop { animation: 220ms ease-out both fade-in; }
}
@media (hover: hover) and (pointer: fine) {
  .product .photo-price { opacity: 0; }
  .product-visual:hover .photo-price, .product:focus-within .photo-price { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .product .photo-price { transform: translateY(6px); }
  .product-visual:hover .photo-price, .product:focus-within .photo-price { transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product:hover .product-image, .apiary-photo:hover img { scale: 1.055; }
}
@keyframes settle {
  from { opacity: .48; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-clear {
  0%, 74% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes comb-turn {
  from { transform: rotate(-42deg) scale(.8); }
  to { transform: rotate(318deg) scale(1); }
}
@media (max-width: 52rem) {
  .site-header .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { background: var(--wash); }
  .site-header .mobile-menu nav { display: grid; gap: 0; position: absolute; inset: 100% 0 auto; padding: .65rem 1rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 .75rem 1.25rem #263d3022; }
  .section-top { align-items: start; flex-direction: column; }
  .products { gap: .75rem; }
  .product-buy { flex-wrap: wrap; }
  .apiary-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.25rem; gap: .45rem; }
  .hero { align-items: end; min-height: min(39rem, 76svh); background-position: 57% center; }
  .hero::after { background: linear-gradient(180deg, #14231908 0%, #14231944 22%, #142319b5 49%, #142319f6 85%); }
  .hero-text { padding: 6rem 1.2rem 4.2rem; }
  .hero-video { object-position: 57% center; }
  .hero-video-control { right: .65rem; bottom: .65rem; }
  .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lead { max-width: 24rem; }
  .category-grid { grid-template-columns: repeat(5, 9.5rem); overflow-x: auto; padding: .25rem .25rem .75rem; scroll-snap-type: x mandatory; }
  .category-card { scroll-snap-align: start; }
  .products, .guide dl, .info-grid, .contact-panel, .product-sheet { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1/-1; }
  .apiary-gallery .apiary-landscape { aspect-ratio: 1.5; }
  .product-image { aspect-ratio: 1.45; }
}
@media (max-width: 24rem) {
  .site-header { width: calc(100% - 1.25rem); gap: .3rem; }
  .site-header .brand { gap: .3rem; font-size: .85rem; }
  .site-header .brand-mark { width: 2rem; height: 2rem; }
  .site-header .brand-mark .icon { width: 1.4rem; height: 1.4rem; }
  .site-header .mobile-menu, .site-header .cart-button { font-size: .84rem; }
  .site-header .cart-button { padding-inline: .35rem; }
}
