/* chatham.coop: the co-op's own look, shared with order.chatham.coop. Colors from the logo,
   Berliner Grotesk for display. Phone first. No JavaScript anywhere. */
@font-face {
  font-family: 'Berliner Grotesk';
  src: url('fonts/berliner-grotesk-medium.woff') format('woff');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --olive: #33450D;         /* the logo */
  --olive-deep: #26340A;
  --olive-mid: #55672B;
  --olive-soft: #EEF2DC;
  --sage: #DBE8B3;
  --orange: #EE5D22;        /* the logo: blocks and large type only */
  --orange-ink: #B93C0A;    /* the same, dark enough for small text and white-on-orange */
  --orange-soft: #FCEBDF;
  --brown: #493009;
  --paper: #FBF8F0;
  --card: #FFFFFF;
  --ink: #2B2A1A;
  --muted: #5F5B46;
  --faint: #6E6A55;
  --line: #E6E0CC;
  --display: 'Berliner Grotesk', 'Trebuchet MS', -apple-system, 'Segoe UI', sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --page: 1120px;
  --text: 42rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; width: 100%; max-width: var(--page); margin: 0 auto; padding: 18px 16px 40px; }
a { color: var(--olive); text-underline-offset: 2px; }
a:hover { color: var(--orange-ink); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-synthesis: none; color: var(--olive);
  line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 8px 0 12px; }
h2 { font-size: 1.45rem; margin: 34px 0 8px; }
h3 { font-size: 1.15rem; margin: 22px 0 4px; }
p { margin: 0 0 14px; }
.lead { font-size: 1.12rem; color: var(--brown); }
.fine { color: var(--faint); font-size: 0.88rem; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* ---- the bar: logo, where and when (stays at the top) ---------------------------------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--olive); }
.bar-in { max-width: var(--page); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 16px; }
.mark { display: flex; align-items: center; gap: 12px; flex: none; color: #fff; text-decoration: none; }
.mark:hover { color: #fff; }
.mark img { display: block; height: 54px; width: auto; }
.mark-text { display: none; font-family: var(--display); font-size: 1.02rem; line-height: 1.2; color: var(--sage); }
.bar-hours { margin: 0; text-align: right; color: var(--sage); font-size: 0.8rem; line-height: 1.35; }
.bar-hours a { display: block; color: #fff; font-family: var(--display); font-size: 1rem; text-decoration: none; }
.bar-hours a:hover { color: var(--sage); }
.bar-hours span { display: block; }

/* the row under it (scrolls away) */
.mainnav { background: var(--olive); position: relative; z-index: 20; color: #fff; }
.mainnav-in { max-width: var(--page); margin: 0 auto; display: flex; align-items: center; gap: 0 clamp(12px, 4.5vw, 22px); padding: 0 16px 4px;
  font-family: var(--display); font-size: clamp(0.92rem, 4.3vw, 1.02rem); }
.mainnav a, .mainnav summary { color: #fff; text-decoration: none; display: inline-block; padding: 8px 0 10px; cursor: pointer; white-space: nowrap; }
.mainnav a:hover, .mainnav summary:hover { color: var(--sage); }
.mainnav a.hot { color: #FFC59E; }
.mainnav a.wide { display: none; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ''; width: 17px; height: 12px; border-top: 2px solid; border-bottom: 2px solid;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--olive-deep); box-shadow: 0 12px 24px rgba(30, 30, 10, .35);
  padding: 6px 16px 18px; display: grid; gap: 0 28px; }
.menu-panel h2 { color: var(--sage); font-size: 1rem; margin: 14px 0 2px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a { display: block; padding: 5px 0; white-space: normal; font-size: 1.02rem; }

/* the logo's hand-cut edge, under the olive */
.edge { position: relative; z-index: 10; height: 9px; margin-bottom: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='9' viewBox='0 0 720 9'%3E%3Cpath fill='%2333450D' d='M0 0H720V4Q724 5.2 722.6 4.2Q699.8 3.3 682.9 4.2Q666.6 3.1 645.4 2.1Q636.2 2.3 621.3 3.1Q606.3 5.1 596.5 6.3Q578.4 6.5 556.9 8.2Q532.5 5.3 513 3.4Q501.4 5.5 484.2 6Q466.9 5.1 454.2 5.8Q436.6 5.1 423.7 7.2Q411.3 4.9 395.3 4.7Q387.3 3.8 378.5 3.2Q366 3.3 357.2 2Q339.6 2.3 326.4 1.7Q313.9 3.4 306 5.7Q287.1 6.1 271.7 8Q252.8 5.9 228.2 1.9Q209.3 5.6 192.7 6.9Q181.7 4.9 174.2 3.6Q167 5.7 155.6 6.8Q136.4 7.5 121.9 5Q109.6 4.5 100.8 5.5Q87.3 4.6 70.5 4.7Q48.4 3.6 28.7 5.3Q14.3 4.7 0 4Z'/%3E%3C/svg%3E") repeat-x top left / 720px 9px; }

/* a list of years (Our story) */
.prose ul.years { list-style: none; padding-left: 0; }
.years li { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); margin: 0; }
.years b { font: 400 1.05rem/1.5 var(--display); color: var(--orange-ink); }

/* notices staff post: under the menu on every page (the edge above overlaps 9px) */
.notices { background: var(--orange-ink); color: #fff; padding: 15px 16px 8px; text-align: center; }
.notices p { margin: 0 auto; max-width: var(--text); font: 400 1.08rem/1.3 var(--display); }
.notices p + p { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .35); }
.notices a { display: block; padding: 6px 0; margin: -6px 0; color: #fff; }   /* a taller target for a thumb */
.notices a:hover { color: var(--orange-soft); }
.notices + .preview-note { padding-top: 5px; }
.preview-note { background: #FFF3C9; color: #5C4A00; font-size: 0.82rem; text-align: center; padding: 14px 16px 5px; margin: 0; }
.draft-note { background: #FFF3C9; color: #5C4A00; border-radius: 10px; padding: 10px 14px; font-size: 0.92rem; max-width: var(--text); }

/* ---- footer ------------------------------------------------------------------------------ */
.foot { flex: none; background: var(--olive); color: #fff; margin-top: 24px; }
.foot-in { max-width: var(--page); margin: 0 auto; padding: 28px 16px 30px; display: grid; gap: 18px 36px; font-size: 0.95rem; }
.foot a { color: #fff; }
.foot a:hover { color: var(--sage); }
.foot h2 { color: var(--sage); font-size: 1.08rem; margin: 0 0 4px; }
.foot p { margin: 0 0 3px; }
.foot-logo { height: 96px; width: auto; display: block; }
.foot-fine { grid-column: 1 / -1; color: var(--sage); font-size: 0.85rem; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 12px; }

/* ---- buttons ----------------------------------------------------------------------------- */
.btn { font: 400 1.05rem/1.2 var(--display); border: 0; border-radius: 10px; background: var(--olive); color: #fff; cursor: pointer;
  padding: 12px 20px; text-decoration: none; display: inline-block; text-align: center; min-height: 44px; }
.btn:hover { background: var(--olive-deep); color: #fff; }
.btn.orange { background: var(--orange-ink); }
.btn.orange:hover { background: #A23407; }
.btn.secondary { background: var(--card); color: var(--olive); box-shadow: inset 0 0 0 1px #BDB796; }
.btn.secondary:hover { background: var(--olive-soft); color: var(--olive-deep); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }

/* ---- home -------------------------------------------------------------------------------- */
.hero { background: var(--sage); }
.hero-in { max-width: var(--page); margin: 0 auto; display: grid; }
.hero-text { padding: 30px 16px 26px; }
.eyebrow { font-family: var(--display); color: var(--orange-ink); margin: 0; font-size: 1.05rem; }
.hero h1 { font-size: clamp(2.2rem, 8.6vw, 3.6rem); line-height: 1.04; margin: 6px 0 12px; }
.hero .lead { margin: 0 0 6px; max-width: 30em; }
.hero .btns { margin-bottom: 0; }
.hero-photo { margin: 0; min-height: 210px; position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.band { margin-top: 38px; }
.band > h2 { margin-top: 0; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.band-head h2 { margin: 0 0 10px; }
.band-head a { flex: none; font-size: 0.95rem; }

.welcome { display: grid; gap: 14px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; }
.panel h2, .panel h3 { margin-top: 0; }
.panel.sage { background: var(--olive-soft); border-color: transparent; }
.panel.with-logo { display: grid; grid-template-columns: 1fr 104px; gap: 14px; align-items: center; }
.panel.with-logo img { display: block; border-radius: 8px; }

.dept-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dept-grid a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--olive); color: #fff;
  text-decoration: none; aspect-ratio: 4 / 3; }
.dept-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.dept-grid a:hover img { transform: scale(1.04); }
.dept-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font: 400 1.15rem/1.15 var(--display);
  background: linear-gradient(transparent, rgba(22, 30, 5, .82)); }
.dept-grid .plain { display: grid; place-items: center; text-align: center; background: var(--orange-ink); }
.dept-grid .plain span { position: static; background: none; padding: 12px; font-size: 1.35rem; }

.deal-card { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; background: var(--orange-soft);
  border-radius: var(--radius); padding: 14px; color: var(--ink); text-decoration: none; }
.deal-card:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--orange-ink); }
.deal-card img { display: block; border-radius: 6px; box-shadow: 0 2px 8px rgba(60, 30, 5, .25); }
.deal-card b { display: block; font: 400 1.5rem/1.1 var(--display); color: var(--orange-ink); }
.deal-card .when { display: block; font-family: var(--display); color: var(--olive); margin: 2px 0 6px; }
.deal-card .go { text-decoration: underline; text-underline-offset: 2px; color: var(--olive); }

.pair { display: grid; gap: 14px; }

/* ---- pages ------------------------------------------------------------------------------- */
.crumbs { font-size: 0.88rem; color: var(--faint); margin: 0; }
.crumbs a { color: var(--muted); }
.prose { max-width: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.split { display: grid; gap: 18px 36px; align-items: start; }
.figure { margin: 18px 0; }
.figure img { display: block; border-radius: var(--radius); }
.figure.wide img { width: 100%; }

.photos { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photos a { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.photos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.photos a:hover img { transform: scale(1.04); }

.tags { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; background: var(--olive-soft); border-radius: 999px; color: var(--olive-deep); font-family: var(--display); }

.people { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.people li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; display: grid; }
.people .role { font-size: 0.82rem; color: var(--faint); }
.people .who { font: 400 1.12rem/1.25 var(--display); color: var(--olive); }
.people a { overflow-wrap: anywhere; }

.numbered { list-style: none; counter-reset: n; padding: 0; margin: 18px 0; display: grid; gap: 10px; max-width: var(--text); }
.numbered li { counter-increment: n; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 62px; position: relative; }
.numbered li::before { content: counter(n); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff; font: 400 1.2rem/36px var(--display); text-align: center; }
.numbered h3 { margin: 4px 0 6px; }
.numbered p { margin: 0; font-size: 0.97rem; }

.docs { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; max-width: var(--text); }
.docs a { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; text-decoration: none; font-family: var(--display); font-size: 1.08rem; }
.docs a:hover { border-color: var(--olive); }
.docs a::before { content: 'PDF'; flex: none; font: 600 0.7rem/1 var(--sans); letter-spacing: .04em; background: var(--orange-ink); color: #fff; padding: 6px 7px; border-radius: 5px; }

.bulk { columns: 1; margin: 22px 0; }
.bulk section { break-inside: avoid; margin: 0 0 12px; }
.bulk details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; }
.bulk summary { font: 400 1.2rem/1.2 var(--display); color: var(--olive); padding: 13px 0; cursor: pointer; }
.bulk summary span { font: 0.82rem var(--sans); color: var(--faint); margin-left: 6px; }
.bulk ul { list-style: none; padding: 0 0 12px; margin: 0; columns: 2; column-gap: 18px; font-size: 0.95rem; }
.bulk li { break-inside: avoid; padding: 3px 0; }
.bulk .sub { color: var(--muted); font-size: 0.9rem; margin: -4px 0 8px; }

.makers-head { color: var(--orange-ink); margin: 24px 0 8px; }
.makers { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.makers li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; display: flex; align-items: center; gap: 12px; }
.makers li > div { display: grid; min-width: 0; }
.maker-logo { flex: none; width: 60px; height: 60px; display: grid; place-items: center; }
.maker-logo img { width: 60px; height: 60px; object-fit: contain; }
.makers .who { font: 400 1.12rem/1.25 var(--display); color: var(--olive); }
.makers .who a { text-decoration: none; }
.makers .who a:hover { text-decoration: underline; }
.makers .town { font-size: 0.82rem; color: var(--faint); }
.makers .beers { font-size: 0.93rem; margin-top: 3px; }

.flyer { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.flyer a { display: block; }
.flyer img { display: block; width: 100%; border-radius: 8px; box-shadow: 0 2px 12px rgba(40, 30, 10, .18); }
.menus { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 12px; }
.menus img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; }

.embed { border: 0; width: 100%; height: 68vh; min-height: 420px; border-radius: var(--radius); background: var(--line); display: block; }
.embed.short { height: 320px; min-height: 0; }
.center { text-align: center; }
.empty { text-align: center; padding: 30px 10px 40px; color: var(--muted); }
.empty img { width: 150px; }

/* ---- forms (newsletter, staff) ------------------------------------------------------------ */
.form { display: grid; gap: 14px; max-width: 30rem; margin: 14px 0 24px; }
.form label { display: grid; gap: 4px; font-size: 0.95rem; color: var(--muted); }
.form input[type=text], .form input[type=tel], .form input[type=email], .form input[type=password], .form input[type=date], .form input[type=file], .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); padding: 11px 12px; border-radius: 10px; border: 1px solid #BDB796; background: var(--card); width: 100%; min-height: 46px; }
.form textarea { resize: vertical; line-height: 1.45; }
.form .agreement { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; font-size: 0.93rem; }
.form .agreement summary { font-family: var(--display); color: var(--olive); padding: 12px 0; cursor: pointer; font-size: 1.05rem; }
.form .agreement p { margin: 0 0 10px; color: var(--ink); }
.form .agreement[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.form.wide { max-width: 44rem; }
.form label small { display: block; font-size: 0.86rem; color: var(--faint); line-height: 1.4; margin: -2px 0 2px; }
.form .req { color: var(--orange-ink); }
.form .field-label { margin: 0 0 2px; font-size: 0.95rem; color: var(--muted); }
.form .choices { display: flex; flex-wrap: wrap; gap: 0 18px; }
.form fieldset .form-row, .form fieldset > label { margin-bottom: 10px; }
.docs .when { color: var(--faint); font: 0.86rem var(--sans); margin-left: 6px; }
.openings { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.openings li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.openings b { font: 400 1.1rem/1.25 var(--display); color: var(--olive); margin-right: 6px; }
.tabs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; gap: 6px; }
.tabs a { display: block; padding: 8px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; text-decoration: none; }
.tabs a.on { background: var(--olive); border-color: var(--olive); color: #fff; }
.flyer-rows li.doc-row { grid-template-columns: 1fr; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px 12px; margin: 0; background: var(--card); }
.form legend { font-family: var(--display); color: var(--olive); padding: 0 6px; }
.form .choice { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink); font-size: 1rem; }
.form .choice input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--olive); }
.form > .choice { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.form .btn { justify-self: start; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row input { min-width: 0; }
.trap { position: absolute; left: -5000px; }
.flash { padding: 10px 14px; border-radius: 10px; background: var(--olive-soft); color: var(--olive-deep); margin: 8px 0 14px; max-width: var(--text); }
.flash-error { background: var(--orange-soft); color: var(--orange-ink); }
.link-button { background: none; border: 0; padding: 4px 0; color: var(--orange-ink); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.foot-staff { float: right; color: var(--sage); }
.signout { margin-top: 30px; }

.flyer-rows { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; max-width: var(--text); }
.flyer-rows li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.flyer-rows img { display: block; border-radius: 4px; border: 1px solid var(--line); }
.flyer-rows div { display: grid; gap: 2px; }
.flyer-rows b { font: 400 1.15rem/1.2 var(--display); color: var(--olive); }
.flyer-rows .state { font-size: 0.92rem; color: var(--muted); }
.flyer-rows .state.on { color: var(--orange-ink); font-weight: 600; }

/* the two calendar views: a list on phones, the month on wider screens */
.cal-month { display: none; }

/* ---- the picture viewer (site.js) -------------------------------------------------------- */
html.viewer-open { overflow: hidden; }
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(22, 26, 10, .96); overflow: hidden; }
.viewer::backdrop { background: rgba(22, 26, 10, .96); }
.viewer-stage { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; padding: 56px 8px 52px; -webkit-overflow-scrolling: touch; }
.viewer-stage img { display: block; max-width: 100%; max-height: calc(100dvh - 108px); width: auto; height: auto; border-radius: 4px; background: #fff; cursor: zoom-in; }
.viewer.zoomed .viewer-stage { place-items: start; padding: 56px 0 52px; }
.viewer.zoomed .viewer-stage img { max-width: none; max-height: none; width: max(100%, 1100px); cursor: zoom-out; border-radius: 0; }
.viewer-btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--olive-deep); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.viewer-btn:hover { background: #fff; color: var(--orange-ink); }
.viewer-btn:disabled { opacity: .35; cursor: default; }
.viewer-btn[hidden] { display: none; }
.viewer-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.viewer-close { top: 6px; right: 10px; }
.viewer-prev { left: 10px; bottom: 4px; }
.viewer-next { right: 10px; bottom: 4px; }
.viewer-count { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: #fff; font-family: var(--display); pointer-events: none; }

/* ---- wider screens ----------------------------------------------------------------------- */
@media (min-width: 620px) {
  .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .makers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-panel { grid-template-columns: repeat(3, auto); justify-content: start; padding-left: max(16px, calc((100% - var(--page)) / 2 + 16px)); }
  .foot-in { grid-template-columns: auto 1.3fr 1fr 1fr; }
  .welcome, .pair { grid-template-columns: 1fr 1fr; }
  .flyer.pages-3 { grid-template-columns: repeat(3, 1fr); }
  .bulk { columns: 2; column-gap: 14px; }
  .menus { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 700px) {
  .mark-text { display: block; }
  .mark img { height: 62px; }
  .bar-hours { font-size: 0.88rem; }
}
@media (min-width: 900px) {
  main { padding-top: 26px; }
  .cal-list { display: none; }
  .cal-month { display: block; }
  .viewer-prev, .viewer-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .viewer-prev { left: 16px; }
  .viewer-next { right: 16px; }
  .viewer-stage { padding: 20px 80px 44px; }
  .viewer-stage img { max-height: calc(100dvh - 64px); }
  .viewer.zoomed .viewer-stage { padding: 0; }
  .viewer.zoomed .viewer-stage img { width: max(100%, 1600px); margin: 0 auto; }
  .mainnav a.wide { display: inline-block; }
  .hero-in { grid-template-columns: 1.05fr 1fr; }
  .hero-text { padding: 54px 40px 50px 16px; }
  .hero-photo { min-height: 380px; }
  .split { grid-template-columns: 1.25fr 1fr; }
  .split.even { grid-template-columns: 1fr 1fr; }
  .makers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-card { grid-template-columns: 150px 1fr; padding: 18px; }
  .dept-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dept-grid a { aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  .dept-grid img, .photos img { transition: none; }
}

/* ---- a pressed button says so: it dips when pressed, and shows a spinner while its form is sent ---- */
button:active, .btn:active, .button:active, .add-btn:active { transform: translateY(1px); filter: brightness(.88); }
.is-busy { opacity: .78; cursor: progress; pointer-events: none; }
.is-busy::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .5em; vertical-align: -0.08em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: busy-spin .7s linear infinite; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .is-busy::after { animation-duration: 2.5s; } }
