/* Interactive typography on paper, with one solid treatment for primary actions. */
:root {
  --link-ink: #345841;
  --copper: #95502e;
  --line: #c9ccba;
  --button-fill: #224a37;
  --inset: max(5.6vw, calc((100vw - 1376px) / 2));
}
body a { text-decoration-color: #81957c; text-decoration-thickness: .075em; text-underline-offset: .2em; }
body a:hover { text-decoration-color: currentColor; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #a75429; outline-offset: 4px; }
.actions, .hero-actions { gap: 10px 20px; }
.button, .print-action, nav a.nav-visit, .menu {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .73rem 1.15rem; border: 1px solid transparent; border-radius: 100px;
  font: 650 .9375rem/1.25 var(--sans); letter-spacing: -.012em;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button { background: var(--button-fill); color: #fffef4; }
.button:hover { background: #143926; }
.button.secondary, .print-action, nav a.nav-visit, .menu { background: #e9ecdf; color: var(--forest); }
.button.secondary:hover, .print-action:hover, nav a.nav-visit:hover, .menu:hover { background: #d9dfcb; color: #153625; text-decoration: none; }
.button:active, nav a.nav-visit:active, .print-action:active { background: #345840; color: white; }
nav a:not(.nav-visit) { position: relative; text-decoration: none; }
nav a:not(.nav-visit):hover, nav a:not(.nav-visit)[aria-current] { color: var(--copper); text-decoration: none; }
nav a.nav-visit[aria-current] { box-shadow: inset 0 0 0 1px #93a78b; }
.menu { display: none; }
.inline-action, .text-links a, .hero-actions > a:not(.button), .actions > a:not(.button), .section-heading > a, .call-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--link-ink); font: 650 1rem/1.35 var(--sans);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .32em;
}
.inline-action:hover, .text-links a:hover, .actions > a:not(.button):hover, .call-link:hover { color: #824223; }
.inline-action::after, .text-links a::after, .section-heading > a::after, .back-link::before { content: none; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font: 650 .9rem/1.3 var(--sans); color: #5d654d; text-underline-offset: .25em; }
.foot a:not(.brand) { text-decoration: none; }
.foot a:not(.brand):hover { text-decoration: underline; }
.visit-band a { text-decoration-color: #b4bf99; }
@media(min-width:961px) {
  nav a:not(.nav-visit)::after {
    position: absolute; content: ''; inset: auto 18% 4px; height: 2px; background: var(--copper);
    transform: scaleX(0); transition: transform .16s ease;
  }
  nav a:not(.nav-visit):hover::after, nav a:not(.nav-visit)[aria-current]::after { transform: scaleX(1); }
}


.about-body, .board-layout, .book-layout, .recipe-body, .visit-layout { padding-block: clamp(38px, 5.8vw, 86px); }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.about-body h2, .board-layout h2, .visit-layout h2, .recipe-body h2, .book-groups h2 { font-size: clamp(2.1rem,3.5vw,3.45rem); }
.about-body h3 { margin-top: 1.5rem; font-size: 1.55rem; }
.about-body p { margin-top: .8rem; max-width: 58ch; }
.about-body .inline-action { margin-top: .45rem; }
.coop-hero > img { aspect-ratio: 1.95; object-position: center 52%; }
.coop-hero h1 { margin-top: 0; }
.coop-hero .intro { margin-bottom: .6rem; }
.board-band { background: var(--pale); border-block: 1px solid var(--rule); }
.board-layout { display: grid; grid-template-columns: .65fr 1.6fr; gap: 6%; }
.week-label, .recipe-meta { font-weight: 650; color: #526447; font-size: .92rem; }
.board-term { margin: .4rem 0 0; color: #526447; font-size: 1rem; font-weight: 600; }
.board-roster { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 24px; padding: 0; margin: 0; list-style: none; }
.board-roster li { padding: 15px 0 20px; border-top: 1px solid #aebba6; }
.board-roster span { font: 400 clamp(1.24rem,1.65vw,1.65rem)/1.2 var(--display); }
.board-roster small { display: block; margin-top: .3rem; color: var(--text); }
.book-mast, .recipe-top { background: #f0efdf; border-bottom: 1px solid var(--rule); }
.book-mast > div { padding-block: clamp(32px,4.6vw,68px); }
.book-mast h1, .recipe-top h1 { font-size: clamp(3.1rem,6vw,5.8rem); }
.book-mast p, .recipe-top p { margin-top: 14px; color: var(--text); max-width: 52ch; font-size: clamp(1.05rem,1.5vw,1.25rem); }
.visit-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(30px,7vw,100px); }
.status-strip { display: grid; gap: 2px; background: #eaf0e3; border-left: 3px solid #667b50; padding: 13px 19px; margin: 20px 0 26px; }
.status-strip strong { font-size: 1.14rem; }
.status-strip span, .other-days, .email-line, .schedule-changes { font-size: .94rem; }
.status-strip span { color: var(--text); }
.week-label { margin-bottom: 6px; }
.hours-table { border-top: 1px solid var(--rule); }
.hours-table th, .hours-table td { padding: 11px 0; }
.other-days { margin-top: 9px; color: var(--text); }
.schedule-changes { margin-top: 30px; }
.schedule-changes h3 { font-size: 1.6rem; }
.schedule-changes ul { margin: 10px 0; padding-left: 1.25rem; }
.schedule-changes li { margin-top: 5px; }
.schedule-changes p { color: var(--text); }
.visit-location h2 { font-size: clamp(1.9rem,2.8vw,2.6rem); }
.visit-location address { font-style: normal; margin: 12px 0 18px; }
.visit-map { margin: 1.35rem 0 0; }
.visit-map img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.visit-map figcaption { margin-top: .4rem; text-align: right; color: var(--text); font-size: .8rem; }
.email-line { border-top: 1px solid var(--rule); padding-top: 17px; margin-top: 22px; }
/* The co-op's recipe file */
.book-layout { display: grid; grid-template-columns: minmax(160px,.45fr) minmax(0,1.55fr); gap: 6%; align-items: start; }
.contents { position: sticky; top: 24px; border-top: 2px solid var(--forest); }
.contents h2 { font: 700 1rem/1.4 var(--sans); margin: 16px 0 8px; }
.contents a { display: block; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.contents a:hover, .recipe-index a:hover span:first-child { text-decoration: underline; }
.book-groups section { scroll-margin-top: 20px; }
.book-groups section + section { margin-top: 44px; }
.recipe-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; list-style: none; margin: 17px 0 0; padding: 0; }
.recipe-index li { border-top: 1px solid var(--rule); padding: 12px 0 16px; }
.recipe-index a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 39px; text-decoration: none; font: 400 1.5rem/1.2 var(--display); letter-spacing: -.025em; }
.recipe-index p { font-size: .95rem; line-height: 1.45; color: var(--text); }
.recipe-top > div { padding-block: clamp(24px,3.8vw,52px); }
.recipe-top .back-link { margin-bottom: 9px; }
.recipe-meta { margin-top: 12px; }
.recipe-top .actions { margin-top: 21px; }
.recipe-body { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(30px,7vw,105px); align-items: start; }
.recipe-body.with-chart { grid-template-columns: 1.2fr 1fr; }
.recipe-body.ingredients-only { grid-template-columns: minmax(0, 38rem); }
.ingredients { background: var(--pale); padding: clamp(21px,2.8vw,40px); }
.ingredients h2, .method h2, .with-chart h2 { font-size: clamp(1.85rem,2.7vw,2.8rem); }
.ingredients ul { margin: 16px 0 0; padding: 0; list-style: none; }
.ingredients li { padding: 7px 0; border-top: 1px solid var(--rule); }
.recipe-part-title, .mix-ingredients h3 { font-size: 1.2rem; line-height: 1.25; }
.recipe-part-title { margin: 1.25rem 0 0; }
.recipe-part-title + ul, .recipe-part-title + ol { margin-top: .45rem; }
.mix-ingredients p { margin: .5rem 0 0; }
.method ol { padding-left: 1.65em; margin: 18px 0 0; }
.method li { padding-left: .4em; margin-bottom: 13px; max-width: 63ch; }
.method li::marker { font-weight: 700; color: #576c4c; }
.cook-note { border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 15px; font-size: .95rem; color: var(--text); }
.grain-chart { border-collapse: collapse; margin-top: 16px; width: 100%; font-size: .94rem; line-height: 1.4; }
.grain-chart th, .grain-chart td { text-align: left; padding: 8px; border-bottom: 1px solid var(--rule); }
.grain-chart thead th { background: var(--pale); }
@media (min-width:761px) and (max-width:960px) {
  .head { flex-wrap: wrap; gap: 0; }
  .menu { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; color: var(--forest); border: 1px solid var(--rule); background: transparent; }
  nav { display: none; order: 3; width: 100%; padding-bottom: 12px; }
  nav.open { display: flex; justify-content: space-between; gap: 9px; }
}
@media (max-width:760px) {
  .about-body,.visit-layout,.board-layout,.book-layout,.recipe-body,.recipe-body.with-chart { grid-template-columns: minmax(0,1fr); gap: 30px; }
  nav a.nav-visit { align-self: flex-start; margin-top: 7px; }
  .board-roster { grid-template-columns: 1fr 1fr; gap: 0 15px; }
  .board-layout { row-gap: 24px; }
  .about-body h2,.board-layout h2 { font-size: 2.16rem; }
  .about-body h3 { margin-top: 18px; }
  .contents { position: static; }
  .contents > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
  .contents a { font-size: .93rem; min-height: 44px; }
  .recipe-index { grid-template-columns: 1fr; }
  .recipe-index a { min-height: 44px; }
  .recipe-body,.visit-layout,.about-body,.board-layout,.book-layout { padding-block: 32px; }
  .grain-chart { font-size: .86rem; }
  .grain-chart td,.grain-chart th { padding: 6px 3px; }
}
/* The storefront print fills the opening spread. The counter listings repeat its ink colors. */
@media screen {
  .home-lead, .department-intro, .spice-mast { background: #f2f0e3; }
  .home-lead, .department-intro, .spice-mast { overflow: clip; }
  .head { min-height: 84px; }
  .hero, .department-hero, .spice-mast-inner {
    width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: 48% 52%; gap: 0; align-items: stretch;
  }
  .hero-copy, .department-hero > div, .spice-mast-copy {
    align-self: center; padding: clamp(35px,4.6vw,74px) clamp(25px,3.6vw,60px) clamp(35px,4.6vw,74px) var(--inset);
  }
  .hero h1 { font-size: clamp(4.2rem,6.4vw,7.2rem); line-height: .99; }
  .hero .eyebrow { margin-bottom: 18px; font-weight: 650; font-size: .88rem; letter-spacing: .025em; text-transform: none; color: #755137; }
  .hero .eyebrow i { width: 23px; height: 1px; background: #9d603e; }
  .hero .intro { margin: 18px 0 23px; max-width: 34ch; }
  .hero-address { margin-top: 9px; font-size: .91rem; }
  .hero-art, .department-hero > img, .spice-mast-inner > img {
    overflow: hidden; min-width: 0; width: 100%; align-self: stretch;
  }
  .hero-art { position: relative; min-height: clamp(340px,31vw,540px); }
  .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 66%; }
  .department-hero > img, .spice-mast-inner > img {
    height: 100%; min-height: 268px; max-height: 420px; aspect-ratio: auto; object-fit: cover; object-position: 50% 58%;
  }
  .department-hero h1, .spice-mast-copy h1 { font-size: clamp(3.25rem,5.5vw,5.85rem); line-height: 1; margin: 6px 0 12px; }
  .department-hero .intro, .spice-mast-copy > p { font-size: clamp(1.06rem,1.4vw,1.24rem); line-height: 1.5; margin: 0; max-width: 39ch; }
  .coop-hero .inline-action { margin-top: 14px; }
  .coop-hero > img { mix-blend-mode: multiply; object-position: 50% 65%; }
  .visit-hero > img { object-position: 48% 68%; }
  .department-hero .back-link, .spice-mast .back-link { margin-bottom: 4px; }
  .visit-band { background: #1b3e31; }
  .band-inner { padding-block: 22px; grid-template-columns: 1fr 1.5fr .8fr; gap: 22px; }
  .band-label { color: #d3ddc0; font-size: .85rem; text-transform: none; letter-spacing: .015em; }
  .band-inner > div + div { border-color: #576e5d; }
  .band-inner a[href^="tel"] { text-decoration: none; }
  .band-inner a[href^="tel"]:hover { text-decoration: underline; }
  .shelf-directory { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,7vw,110px); align-items: start; padding-block: clamp(54px,7vw,112px); }
  .shelf-intro h2 { line-height: 1; }
  .shelf-intro p { margin: 17px 0 8px; max-width: 34ch; color: var(--text); }
  .counter-list { border-top: 2px solid #76836b; }
  .counter-entry {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(104px,32%); align-items: center; gap: 20px;
    padding-block: clamp(19px,2.2vw,32px); border-bottom: 1px solid var(--line); text-decoration: none;
  }
  .counter-entry h3 { font-size: clamp(1.7rem,2.8vw,2.9rem); line-height: 1.05; }
  .counter-entry p { margin-top: 7px; color: var(--text); font-size: 1rem; max-width: 34ch; line-height: 1.45; }
  .counter-entry img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
  .counter-entry:hover h3, .counter-entry:focus-visible h3, .recipe-index a:hover, .recipe-panel li a:hover { color: var(--copper); }
  .community { background: #eceee0; border-block: 1px solid #d8ddcc; }
  .community-inner { padding-block: clamp(42px,5vw,82px); }
  .community-inner h2 { max-width: 11ch; }
  .board-roster li { padding-block: 17px; }
  .recipe-top, .book-mast { background: linear-gradient(105deg,#f0edde 0%,#f5f4e9 62%,#faf9f2 100%); }
  .status-strip { background: #eef2e6; border-left: 0; border-radius: 0 20px 20px 0; box-shadow: inset 3px 0 #718361; }
  .recipe-index a { display: inline-flex; justify-content: flex-start; }
  .recipe-panel li a { text-decoration: none; }
  .recipe-panel li a:hover { text-decoration: underline; }
  .ingredients { background: #edf0e1; border-radius: 0 32px 6px 6px; }
  .spice-mast .pickup-details summary {
    display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; list-style: none;
    color: var(--link-ink); text-decoration: none; font-weight: 650;
  }
  .pickup-details summary::-webkit-details-marker { display: none; }
  .spice-mast .pickup-details summary::before { content: '+'; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid #b3bca7; border-radius: 50%; line-height: 1; }
  .spice-mast .pickup-details[open] summary::before { content: '−'; }
  .spice-mast .pickup-details summary:hover { color: var(--copper); }
  .catalog-search, .spice-page select { border-radius: 9px; }
  #group-buttons button[aria-pressed="true"] { background: #e5ebdc; color: var(--forest); border-radius: 6px; border-color: transparent; }
  .store-dept { align-items: center; }
  .store-dept img { aspect-ratio: 1.95; object-fit: cover; border-radius: 15% 3px 3px 3px / 36% 3px 3px 3px; }
  .volunteer-sections .panel { background: transparent; border-top: 2px solid #96a388; padding: 23px 0 0; }
  .foot > div a { width: fit-content; }
}
/* Let the text set the row height, including when pickup instructions expand.
   The image fills that row independently of its own intrinsic dimensions. */
@media screen and (min-width:761px) {
  .department-hero, .spice-mast-inner { position: relative; min-height: clamp(268px, 26vw, 420px); }
  .department-hero > img, .spice-mast-inner > img {
    position: absolute; inset: 0 0 0 48%; width: 52%; height: 100%;
    min-height: 0; max-height: none;
  }
}
@media screen and (max-width: 960px) {
  .menu { display: inline-flex; }
  .hero h1 { font-size: clamp(3.4rem,6.7vw,4.6rem); }
}
@media screen and (max-width:760px) {
  .head { min-height: 70px; }
  nav a:not(.nav-visit)[aria-current] { color: #81472b; font-weight: 700; }
  nav a.nav-visit { align-self: flex-start; padding: .7rem 1rem; }
  .hero,.department-hero,.spice-mast-inner { display: flex; flex-direction: column; width: 100%; gap: 0; }
  .hero-copy,.department-hero > div,.spice-mast-copy { width: 100%; padding: 25px 20px 19px; }
  .hero h1 { font-size: clamp(3.38rem,12.5vw,5rem); }
  .hero .intro { margin: 12px 0; max-width: 45ch; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-address { margin-top: 6px; }
  .hero-art { width: 100%; min-height: 0; height: auto; }
  .hero-art img { position: static; display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
  .department-hero > img, .spice-mast-inner > img { display: block; align-self: stretch; width: 100%; min-height: 0; height: clamp(115px,33vw,200px); }
  .visit-hero > img { height: clamp(130px,40vw,225px); }
  .spice-mast-inner > .shelf-photo, .department-hero > .shelf-photo { height: clamp(150px, 44vw, 245px); object-position: center; }
  .department-hero h1,.spice-mast-copy h1 { font-size: clamp(2.85rem,10.1vw,4.25rem); }
  .visit-hero h1 { font-size: clamp(2.4rem,9vw,3.6rem); }
  .department-hero .back-link,.spice-mast .back-link { min-height: 34px; }
  .hero .mobile-today { margin: 1px 0 11px; }
  .band-inner { display: block; padding-block: 15px; }
  .band-inner [data-schedule] { line-height: 1.4; }
  .shelf-directory { grid-template-columns: 1fr; gap: 17px; padding-block: 37px; }
  .shelf-intro h2 br { display: none; }
  .shelf-intro h2 { word-spacing: normal; }
  .shelf-intro p { margin: 10px 0 2px; max-width: 45ch; }
  .counter-entry { grid-template-columns: minmax(0,1fr) minmax(82px,28%); gap: 15px; padding-block: 17px; }
  .counter-entry p { font-size: .94rem; }
  .community-inner h2 { max-width: none; }
  .mobile-today a { color: var(--forest); }
  .volunteer-sections { gap: 27px; }
  #cheese .store-dept > img { grid-row: 1; }
}
@media screen and (min-width:761px) and (max-width:960px),
       screen and (min-width:761px) and (max-height:540px) and (pointer:coarse) and (orientation:landscape) {
  .hero { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { width: 100%; padding: 24px var(--inset); }
  .hero-art { width: 100%; min-height: 0; height: auto; }
  .hero-art img { position: static; height: auto; aspect-ratio: auto; object-fit: contain; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
@media screen and (max-width:960px) {
  html:not(.menu-ready) .menu { display: none; }
  html:not(.menu-ready) nav { display: flex; flex-wrap: wrap; }
}


@media print {
  @page { margin: .55in; }
  .recipe-top, .ingredients { border: 0; background: white; }
  body:has(.recipe-body) { font-size: 10.5pt; line-height: 1.4; }
  body:has(.recipe-body) header, body:has(.recipe-body) footer, .recipe-top .actions, .recipe-top .back-link { display: none !important; }
  .recipe-top > div { padding: 0 0 13pt; border-bottom: 1px solid #879682; }
  .recipe-top h1 { font-size: 27pt; }
  .recipe-top > div::before { content: 'Countryside Co-op · Hackensack, Minnesota'; display: block; font: 10pt var(--sans); margin-bottom: 8pt; }
  .recipe-top p, .recipe-meta { font-size: 10pt; margin-top: 5pt; }
  .recipe-body, .recipe-body.with-chart { display: block; padding: 13pt 0; }
  .recipe-body .ingredients { padding: 0; }
  .recipe-body h2 { font-size: 17pt; break-after: avoid; }
  .recipe-body h3 { font-size: 12pt; break-after: avoid; }
  .recipe-body ul, .recipe-body ol, .grain-chart { margin-top: 6pt; }
  .recipe-body .method { margin-top: 12pt; }
  .ingredients li { padding: 2pt 0; }
  .method li { margin-bottom: 5pt; max-width: none; }
  .recipe-body li, .grain-chart tr { break-inside: avoid; }
  .grain-chart td, .grain-chart th { padding: 3pt 5pt; }
  .cook-note { margin-top: 8pt; padding-top: 6pt; font-size: 9pt; }
  .recipe-top .wrap,.recipe-body.wrap { width: 100%; }
}


/* One set of page links supplies the desktop header and the mobile directory. */
#nav .mobile-page, .menu-only, .menu-mark, .phone-dock { display: none; }

@media screen and (max-width: 960px), screen and (max-height: 540px) and (orientation: landscape) and (pointer: coarse) {
  :root {
    --dock-height: max(3.5rem, 52px);
    --dock-space: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px));
    --header-height: max(4rem, 60px);
    scroll-padding-block: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 8px) calc(var(--dock-space) + 12px);
  }
  body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: var(--dock-space);
  }
  body > header {
    position: sticky; top: 0; z-index: 6;
    background: var(--paper); padding-top: env(safe-area-inset-top, 0px);
  }
  .skip:focus { position: fixed; z-index: 10; top: max(8px, env(safe-area-inset-top, 0px)); }
  .wrap.head {
    width: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) auto;
    align-items: center; gap: 0; margin: 0;
  }
  .head .brand { justify-self: start; margin-left: clamp(12px,4.5vw,32px); min-height: var(--header-height); }
  .head .brand img { width: 40px; height: 40px; }
  .head .brand span { font-size: clamp(1.12rem,4.8vw,1.36rem); }
  .head .brand small { font-size: .62rem; }
  .head #menu-button {
    display: inline-flex; align-items: center; gap: 7px; justify-self: end;
    margin-right: clamp(8px,3vw,24px); min-height: 46px; padding: 8px 10px;
    border: none; background: transparent; border-radius: 4px; color: var(--forest);
    font: 650 1rem/1.2 var(--sans);
  }
  #menu-button .icon { width: 22px; height: 22px; }
  .head #menu-button:hover, .head #menu-button[aria-expanded="true"] { background: #e9ecdf; }
  .head #nav { display: none; }
  .head #nav.open, html:not(.menu-ready) .head #nav {
    display: flex; flex-direction: column; grid-column: 1/-1;
    align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 6px clamp(12px, 3.5vw, 28px) 12px;
    background: var(--paper); color: var(--ink); border-block: 1px solid var(--rule);
    max-height: calc(100vh - var(--header-height) - var(--dock-space) - env(safe-area-inset-top, 0px) - 3px);
    max-height: calc(100dvh - var(--header-height) - var(--dock-space) - env(safe-area-inset-top, 0px) - 3px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    scroll-padding-block: 5px;
  }
  html:not(.menu-ready) .head #menu-button { display: none; }
  html:not(.menu-ready) body > header { position: static; }
  html:not(.menu-ready) .head #nav { max-height: none; }
  .head #nav a {
    display: flex; flex: none; align-items: center; min-height: 52px; padding: 11px 14px;
    color: var(--ink); font: 550 1.1875rem/1.45 var(--sans);
    border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; text-decoration: none;
  }
  .head #nav a::after { content: none; }
  .head #nav a:hover { background: #eff1e7; }
  .head #nav a[aria-current] {
    background: #e6ebdf; color: #17382a; font-weight: 700;
    box-shadow: inset 3px 0 #456548;
  }
  .head #nav a:focus-visible { outline: 3px solid #81472b; outline-offset: -3px; }
  .head #nav .nav-visit { display: none; }
.head #nav.open, html:not(.menu-ready) .head #nav {
    padding: 0 max(18px, calc((100% - 40rem) / 2)) 12px;
    box-shadow: 0 9px 16px -16px #294431;
  }
  .head #nav .wide-word { display: none; }
  .head #nav .menu-only { display: block; }
  .head #nav .menu-mark { display: block; width: 22px; height: 22px; flex: none; color: #566848; }
  .head #nav .visit-first {
    display: flex; align-items: flex-start; gap: 13px; margin: 13px 0 4px; padding: 14px 15px;
    border: 1px solid #cdd4bf; background: #edf0e2; border-radius: 5px;
  }
  .visit-clock { padding-top: 4px; }
  .head #nav .visit-clock .menu-mark { width: 25px; height: 25px; color: #466641; }
  .visit-nav-copy { display: grid; gap: 4px; }
  .visit-nav-name { font: 400 clamp(1.45rem,4.4vw,1.73rem)/1.08 var(--display); letter-spacing: -.025em; }
  .visit-nav-status { display: flex; gap: 0 .5em; flex-wrap: wrap; color: #3c513e; font: 450 1rem/1.4 var(--sans); }
  .visit-nav-status strong { font-weight: 650; }
  .head #nav .menu-counter {
    position: relative; display: grid; grid-template-columns: minmax(0,1fr) clamp(72px,23vw,104px); gap: 12px;
    align-items: center; padding: 12px 2px; min-height: 74px; border-bottom: 1px solid #cfd5c6;
  }
  .menu-counter-copy { font: 400 clamp(1.45rem,4.5vw,1.8rem)/1.12 var(--display); letter-spacing: -.025em; }
  .menu-counter-copy .counter-hint { margin-top: 4px; color: #485747; font: 450 1rem/1.35 var(--sans); letter-spacing: normal; }
  .head #nav .menu-counter::after {
    position: static; content: ''; width: 100%; height: auto; aspect-ratio: 1.72;
    background-size: cover; background-position: center; transform: none; transition: none;
  }
  .head #nav .spices-row::after { background-image: url("assets/spice-counter-print.jpg"); }
  .head #nav .cheese-row::after { background-image: url("assets/cheese-counter-print.jpg"); }
  .head #nav .menu-short { padding: 12px 2px; gap: 13px; min-height: 50px; border-bottom: 0; font-size: 1.125rem; }
  .head #nav .cheese-row + .menu-short { margin-top: 4px; }
  .head #nav a[aria-current] { box-shadow: none; }
  .head #nav .menu-short[aria-current], .head #nav .menu-short:hover {
    text-decoration: none;
  }
  .phone-dock {
    position: fixed; inset: auto 0 0; z-index: 7; display: grid; grid-template-columns: 1fr 1fr;
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    background: #193c2f; color: #fffdf1; box-shadow: 0 -1px 0 #314d39, 0 -3px 12px #1c342415;
  }
  .phone-dock a {
    position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: var(--dock-height); padding: 6px; color: inherit; text-decoration: none;
    font: 650 1rem/1.35 var(--sans); touch-action: manipulation;
  }
  .phone-dock a + a::before { position: absolute; content: ''; left: 0; height: 1.45rem; width: 1px; background: #66816a; }
  .phone-dock .icon { color: #e2d6ae; width: 21px; height: 21px; }
  .phone-dock a:active { background: #335540; }
  .phone-dock a:focus-visible { outline: 2px solid #eed69f; outline-offset: -4px; }
  .editing-field .phone-dock { display: none; }
  .editing-field body > header { position: static; }
  #catalog-controls, .contents { top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 12px); }
  .catalog-search input, .spice-page select { font-size: max(16px,1rem); }
  .hero-actions, .band-inner > div:last-child { display: none; }
  .hero-address { margin-top: 8px; }
  .band-inner { grid-template-columns: 1fr 1.5fr; }
}
@media screen and (max-height:540px) and (max-width:960px), screen and (orientation:landscape) and (pointer:coarse) and (max-height:540px) {
  :root { --dock-height: max(2.9rem,46px); scroll-padding-top: 8px; }
  body > header { position: static; }
}
@media print { .phone-dock { display: none !important; } }


.store-guide h2 { font-size: clamp(2.05rem,3.65vw,3.5rem); }
.pantry-shelves, .pantry-cooking { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(30px,7vw,100px); padding-block: clamp(40px,6vw,88px); }
.pantry-heading p, .pantry-cooking p { max-width: 40ch; margin-top: 14px; }
.pantry-goods { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 30px; margin: 0; }
.pantry-goods > div { border-top: 1px solid #a3ad94; padding-top: 11px; }
.pantry-goods dt, .counter-pair h3 { font: 400 clamp(1.45rem,2vw,2rem)/1.16 var(--display); letter-spacing: -.02em; }
.pantry-goods dd, .counter-pair p { margin: 8px 0 0; color: var(--text); }
.pantry-counters { padding-block: clamp(36px,4.75vw,72px); background: #edf0e2; }
.counter-pair { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4.5vw,70px); }
.counter-pair article { border-top: 1px solid #a9b59e; padding-top: 20px; display: grid; grid-template-columns: minmax(82px,.48fr) 1fr; align-items: start; gap: 17px; }
.counter-pair img { width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; }
.counter-pair .inline-action { margin-top: 2px; }
.pantry-cooking { align-items: start; }
.pantry-reading { display: grid; border-top: 1px solid #a3ad94; }
.pantry-reading > a:not(.inline-action) { font: 400 1.45rem/1.25 var(--display); padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.pantry-reading > a:hover { text-decoration: underline; }
.pantry-reading .inline-action { justify-self: start; }
@media (max-width:760px) {
  .pantry-shelves,.pantry-cooking,.counter-pair { grid-template-columns: 1fr; gap: 22px; }
  .pantry-goods { gap: 17px; }
  .pantry-counters .counter-pair { margin-top: 16px; }
  .counter-pair article { grid-template-columns: clamp(78px,23vw,125px) 1fr; gap: 16px; padding-top: 14px; }
}
@media (max-width:500px) { .pantry-goods { grid-template-columns: 1fr; } }

