/* Maple St. Market, sample site.
   Accent fir #2F4A3E has one job: "take it home". Add to bag, the bag count,
   the main shop button and the open-now dot. Nothing else is fir. */

@font-face { font-family: "Sentient"; src: url("/demos/retail/fonts/sentient-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("/demos/retail/fonts/sentient-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("/demos/retail/fonts/sentient-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Synonym"; src: url("/demos/retail/fonts/synonym-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Synonym"; src: url("/demos/retail/fonts/synonym-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Synonym"; src: url("/demos/retail/fonts/synonym-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #F4F0E8;
  --panel: #ECE6DA;
  --card: #E7E0D3;
  --ink: #23201B;
  --muted: #5F574D;
  --line: rgba(35, 32, 27, .14);
  --line-strong: rgba(35, 32, 27, .28);
  --fir: #2F4A3E;
  --fir-hover: #253C32;
  --on-fir: #F4F0E8;

  --serif: "Sentient", Georgia, "Times New Roman", serif;
  --sans: "Synonym", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(64px, 8vw, 112px);
  --max: 1320px;
  --r: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: rgba(35, 32, 27, .4); text-decoration-skip-ink: auto; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; text-rendering: optimizeLegibility; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 51;
  height: var(--nav-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.top.is-glass {
  background: rgba(244, 240, 232, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.top .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.mark { font-family: var(--serif); font-size: 1.375rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; line-height: 1; }
.links { display: flex; gap: 28px; margin: 0 auto; list-style: none; padding: 0; }
.links a { text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.links a:hover, .links a[aria-current="page"] { background-size: 100% 1px; }
.top-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.links + .top-right { margin-left: 0; }
.phone { text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 10px 6px; white-space: nowrap; }
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-size: .9375rem; font-weight: 500;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.bag-btn:hover { background: rgba(35, 32, 27, .05); border-color: var(--ink); }
.bag-btn svg { width: 18px; height: 18px; }
.bag-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--fir); color: var(--on-fir); font-size: .8125rem; font-weight: 600;
  display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
  transition: transform .3s var(--ease);
}
.bag-count.bump { transform: scale(1.18); }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-fir { background: var(--fir); color: var(--on-fir); }
.btn-fir:hover { background: var(--fir-hover); }
.btn-line { border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: rgba(35, 32, 27, .04); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.text-link span:first-child { text-decoration: underline; text-decoration-color: rgba(35,32,27,.35); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.text-link:hover span:first-child { text-decoration-color: currentColor; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 64px)); }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { font-size: clamp(2.125rem, 1.2rem + 3vw, 3.625rem); line-height: 1.06; letter-spacing: -.022em; max-width: 15ch; }
.hero-side { padding-bottom: .35em; }
.hero-side p { color: var(--muted); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-photo { margin-top: clamp(32px, 4vw, 56px); }
.hero-photo img { width: 100%; height: clamp(360px, 46vw, 660px); object-fit: cover; object-position: 50% 62%; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open .dot { background: var(--fir); }
.facts .sep { color: var(--line-strong); }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.head h2, .h2 { font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.12; letter-spacing: -.018em; }
.head p { color: var(--muted); max-width: 46ch; margin-top: 10px; }

/* products */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.product { display: flex; flex-direction: column; min-width: 0; }
.product .ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--card); }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .ph img { transform: scale(1.03); }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(244, 240, 232, .92); color: var(--ink); font-size: .8125rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.product h3 { font-size: 1.1875rem; line-height: 1.25; margin-top: 16px; letter-spacing: -.005em; }
.product .detail { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.product .buy { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 500; font-variant-numeric: tabular-nums; }
.add {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fir); background: transparent; color: var(--fir);
  font-size: .9375rem; font-weight: 500; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.add:hover, .add.is-added { background: var(--fir); color: var(--on-fir); }

/* shelves list */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.split-intro p { color: var(--muted); margin-top: 14px; max-width: 40ch; }
.split-intro .text-link { margin-top: 24px; }
.shelves { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.shelves li { border-bottom: 1px solid var(--line); }
.shelves a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 16px 0; text-decoration: none; }
.shelves img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--card); }
.shelves strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
.shelves span.d { display: block; color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.shelves .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.shelves a:hover .go { border-color: var(--ink); background: rgba(35, 32, 27, .05); }
.shelves .go svg { width: 16px; height: 16px; }

/* story */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.story .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.story .ph img { width: 100%; height: 100%; object-fit: cover; }
.story-text { max-width: 460px; }
.story-text p { margin-top: 16px; color: var(--muted); }
.story-text p:first-of-type { margin-top: 18px; }
.story-text .text-link { margin-top: 26px; }

/* pickup and gift cards */
.band { background: var(--panel); }
.services { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.services .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; background: var(--card); }
.services .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc { padding: 22px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
.svc p { color: var(--muted); margin-top: 8px; max-width: 46ch; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.amount {
  min-height: 44px; min-width: 64px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; font-size: .9375rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.amount[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.gift-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }

/* reviews */
.rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.stars { letter-spacing: 2px; color: var(--ink); font-size: .9375rem; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.quote { border-top: 1px solid var(--ink); padding-top: 22px; margin: 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; letter-spacing: -.005em; text-indent: -.42em; }
.quote figcaption { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 500; }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.visit .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.visit .ph img { width: 100%; height: 100%; object-fit: cover; }
.visit-text { max-width: 560px; }
.addr { font-size: 1.125rem; margin-top: 14px; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin-top: 24px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 600; }
.maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.pill:hover { border-color: var(--ink); background: rgba(35, 32, 27, .04); }
.small-note { color: var(--muted); font-size: .9375rem; margin-top: 18px; max-width: 48ch; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 24px 48px; }
.foot .mark { font-size: 1.5rem; }
.foot p { color: var(--muted); font-size: .9375rem; margin-top: 10px; max-width: 36ch; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9375rem; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.credit { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: .875rem; }
.credit a { color: var(--muted); }

/* ---------- page headers (shop, visit) ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.125rem, 1.2rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -.022em; }
.page-head p { color: var(--muted); max-width: 54ch; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; font-size: .9375rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .n { font-variant-numeric: tabular-nums; opacity: .6; font-size: .8125rem; }
.shop-grid { padding-top: 8px; }
.product[hidden] { display: none; }
.count-line { color: var(--muted); font-size: .9375rem; margin: 0 0 20px; }

/* gift card object */
.giftcard { position: absolute; inset: 0; display: grid; place-items: center; background: #D9CCB4; }
.giftcard .card-face {
  width: 72%; aspect-ratio: 1.6; border-radius: 10px; background: var(--paper);
  box-shadow: 0 1px 0 rgba(35,32,27,.08), 0 18px 30px -18px rgba(35,32,27,.45);
  display: flex; flex-direction: column; justify-content: space-between; padding: 8% 9%;
  transform: rotate(-4deg);
}
.giftcard .card-face span { font-family: var(--serif); font-size: clamp(.95rem, 1.6vw, 1.25rem); line-height: 1.1; }
.giftcard .card-face small { font-size: .8125rem; color: var(--muted); }

/* visit page */
.about-pics { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); align-items: end; }
.about-pics .ph { border-radius: var(--r); overflow: hidden; background: var(--card); }
.about-pics .ph img { width: 100%; height: 100%; object-fit: cover; }
.about-pics .a { aspect-ratio: 4 / 5; }
.about-pics .b { aspect-ratio: 4 / 5; }
.prose { max-width: 620px; }
.prose p { margin-top: 16px; color: var(--muted); }
.prose p:first-child { margin-top: 0; }
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }

/* ---------- bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(35, 32, 27, .38); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100%); background: var(--paper); box-shadow: -1px 0 0 var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.bag.open { transform: none; visibility: visible; }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 1.5rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.bag-items { flex: 1; overflow-y: auto; padding: 8px 24px; list-style: none; margin: 0; }
.bag-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-items img, .bag-items .gc { width: 64px; height: 80px; border-radius: 8px; object-fit: cover; background: #D9CCB4; }
.bag-items .nm { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.25; }
.bag-items .pr { color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; margin-top: 8px; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 1.0625rem; border-radius: 50%; }
.qty span { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.rm { border: 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 10px 0 10px 8px; align-self: start; }
.bag-empty { padding: 40px 24px; color: var(--muted); }
.bag-empty a { color: var(--ink); }
.bag-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-weight: 500; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.bag-foot .small-note { margin-top: 8px; }
.bag-foot .btn { width: 100%; margin-top: 16px; }
.bag-msg { margin-top: 14px; font-size: .9375rem; color: var(--ink); background: var(--panel); border-radius: 10px; padding: 12px 14px; }
.bag-msg[hidden] { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 55;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 10px 10px 10px 20px;
  display: flex; align-items: center; gap: 14px; font-size: .9375rem; max-width: calc(100vw - 32px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; font-weight: 500; font-size: .875rem; white-space: nowrap; }
.toast .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- phone menu + bottom bar ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 50; background: var(--paper);
  padding: calc(var(--nav-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.sheet.open { opacity: 1; visibility: visible; }
.sheet ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sheet li { border-bottom: 1px solid var(--line); }
.sheet ol a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; text-decoration: none; letter-spacing: -.015em; }
.sheet ol a small { font-family: var(--sans); font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 20px; }
.sheet .sheet-facts { margin-top: 28px; color: var(--muted); font-size: 1rem; }
.sheet .sheet-facts p + p { margin-top: 6px; }
.sheet .btn { margin-top: 24px; }
html.js .sheet ol li { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
html.js .sheet.open ol li { opacity: 1; transform: none; }
html.js .sheet.open ol li:nth-child(2) { transition-delay: .04s; }
html.js .sheet.open ol li:nth-child(3) { transition-delay: .08s; }
html.js .sheet.open ol li:nth-child(4) { transition-delay: .12s; }
html.js .sheet.open ol li:nth-child(5) { transition-delay: .16s; }

.dock { display: none; }

/* ---------- reveals ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .links { gap: 20px; }
  .phone { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-new .product:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .links { display: none; }
  .links + .top-right { margin-left: auto; }
  .phone { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
  .menu-btn svg { width: 18px; height: 18px; }
  .bag-btn .bag-word { display: none; }
  .bag-btn { padding: 0 12px; }
  .mark { font-size: 1.25rem; }
  .hero-row, .split, .story, .services, .visit, .about-pics { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .hero-side { padding-bottom: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-new .product:nth-child(4) { display: flex; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .story .ph, .visit .ph { aspect-ratio: 4 / 3.6; }
  .visit .ph { order: 2; }
  .story-text, .visit-text { max-width: none; }
  .about-pics .b { display: none; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.2fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(244, 240, 232, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 -1px 0 var(--line);
  }
  .dock a { min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 500; font-size: .9375rem; border: 1px solid var(--line-strong); white-space: nowrap; }
  .dock a.call { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .hero-photo img { height: auto; aspect-ratio: 4 / 4.6; }
  .facts { gap: 6px 16px; }
  .facts .sep { display: none; }
  .facts > * { flex: 1 1 100%; }
  .actions .btn { flex: 1 1 auto; }
  .grid { gap: 28px 14px; }
  .product h3 { font-size: 1.0625rem; }
  .product .detail { font-size: .875rem; }
  .product .buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .add { width: 100%; }
  .shelves a { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; }
  .shelves img { width: 60px; height: 60px; }
  .shelves strong { font-size: 1.1875rem; }
  .shelves .go { width: 36px; height: 36px; }
  .quote blockquote { font-size: 1.125rem; }
  .foot-row { flex-direction: column; }
}
@media (max-width: 360px) {
  .mark { font-size: 1.125rem; }
  .top .wrap { gap: 12px; }
  .top-right { gap: 6px; }
  .dock { grid-template-columns: 1fr 1fr 1.5fr; gap: 6px; padding-left: 8px; padding-right: 8px; }
  .dock a { font-size: .875rem; }
}
