:root {
  color-scheme: light;
  --paper: #f8f6ee;
  --ink: #212d21;
  --green: #284533;
  --muted: #535c4b;
  --line: #dadccf;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, 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); font: 500 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #40694b; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
h2 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(100% - 96px, 1190px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 2; background: white; padding: .5rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.demo-bar { background: #202d25; color: white; font-size: .76rem; }
.demo-bar .wrap { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; line-height: 1.35; padding-block: 5px; }
.demo-bar a, .footer a:not(.brand) { text-underline-offset: 3px; }
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 79px; border-bottom: 1px solid var(--line); }
.brand { width: fit-content; color: var(--ink); font: 600 clamp(1.34rem, 2.75vw, 1.95rem)/1 var(--serif); letter-spacing: -.055em; text-decoration: none; }
.brand small { font: inherit; opacity: .75; }
.header nav { display: flex; gap: 27px; font-size: .9rem; font-weight: 700; }
.header nav a { text-decoration: none; }
.header nav a:hover { text-decoration: underline; }
.header button { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; width: fit-content; padding: 8px 16px; border: 1px solid var(--green); border-radius: 6px; color: white; background: var(--green); text-decoration: none; font-weight: 700; font-size: .9rem; line-height: 1.35; }
.button:hover { background: #3b5a42; color: white; }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { background: #e2e9da; color: var(--ink); }
.button:disabled, .step:disabled { cursor: default; opacity: .58; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: 47px; align-items: center; padding-block: 45px 54px; }
.hero h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); line-height: .96; }
.hero-media { position: relative; overflow: hidden; border-radius: 8px; }
.hero-media .hero-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-media .hero-motion.has-frame { opacity: 1; }
.motion-toggle { position: absolute; right: 12px; bottom: 12px; min-height: 40px; padding: 7px 11px; border: 1px solid #ffffffa0; border-radius: 6px; color: white; background: #192820de; font: 700 .77rem var(--sans); }
.motion-toggle:focus-visible { outline-color: white; }
.hero img { width: 100%; height: auto; aspect-ratio: 1.37; object-fit: cover; background: #d9dfd2; border-radius: 8px; }
.label { text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 700; margin-bottom: 14px; color: var(--green); }
.hero-copy p:not(.label) { max-width: 346px; color: var(--muted); margin-top: 21px; }
.hero-copy .button { margin-top: 24px; }

.shop { padding-block: 40px 78px; border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 20px; margin-bottom: 23px; }
.section-heading p, .pickup p:not(.label) { color: var(--muted); max-width: 36ch; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product { display: flex; flex-direction: column; background: #fffdf7; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.product img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; background: #e7ddcc; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 20px; }
.product h3 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
.product-note { color: var(--green); font-size: .8rem; font-weight: 700; }
.product-body p:not(.product-note) { color: var(--muted); font-size: .93rem; }
.product-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.pickup { background: #e4e8db; padding-block: 60px; }
.pickup-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 27px; }
.pickup p:not(.label) { margin-top: 13px; }
.footer { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; align-items: center; min-height: 90px; padding-block: 15px; font-size: .9rem; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

dialog { width: min(92vw, 520px); max-height: 90dvh; padding: 23px; color: var(--ink); background: #fffdf7; border: 1px solid var(--line); border-radius: 12px; overflow-y: auto; }
dialog::backdrop { background: #15251991; }
dialog h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.close { flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; line-height: 1; font-size: 1.5rem; color: var(--ink); background: transparent; }
.close:hover, .step:hover { background: #e4e8db; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-items li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 10px; }
.cart-items li span { display: block; font-size: .92rem; }
.stepper { display: flex; align-items: center; gap: 9px; }
.step { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); background: transparent; }
#checkout, #lookup { display: grid; gap: 8px; align-items: start; }
#checkout label, #lookup label { font-weight: 700; }
#checkout select, #lookup input { width: 100%; min-height: 44px; padding: 7px 10px; background: white; color: var(--ink); border: 1px solid #747d70; border-radius: 6px; }
.cart-total { display: flex; justify-content: space-between; gap: 15px; margin-top: 14px; font-size: 1.04rem; }
.note, .error { font-size: .87rem; }
.note { color: var(--muted); }
.error { color: #85262b; }
.error:empty { display: none; }
#receipt-window { margin-block: 9px 13px; }
#receipt-code { overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 52px); }
  .hero { gap: 25px; }
  .product-body { padding: 15px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .header { grid-template-columns: 1fr auto; min-height: 67px; gap: 12px; }
  .header nav { grid-row: 2; grid-column: 1 / -1; padding-bottom: 12px; }
  .hero, .pickup-layout { grid-template-columns: 1fr; gap: 25px; }
  .hero { padding-block: 39px 34px; }
  .hero h1 { max-width: 10ch; }
  .shop { padding-block: 32px 48px; }
  .products { grid-template-columns: 1fr; }
  .product img { aspect-ratio: 1.28; }
  .pickup { padding-block: 40px; }
  dialog { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
