/* Witikko Sauce Co site styles. One stylesheet for every page (was tokens, chrome, home, cream, sauce, cart and mobile, in that order, so the cascade is unchanged). */

/* ===================== tokens ===================== */
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/PlayfairDisplay-Variable.woff2?v=b9372c2ae3") format("woff2"),
       url("/assets/fonts/PlayfairDisplay-Variable.ttf?v=7b75603212") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f4f1eb;
  --cream-soft: #faf8f4;
  --cream-deep: #ebe6dc;
  --ink: #111;
  --ink-soft: rgba(17, 17, 17, 0.48);
  --ink-mute: rgba(17, 17, 17, 0.38);
  --hairline: rgba(17, 17, 17, 0.10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --playfair: "Playfair Display", Georgia, serif;
  --chrome-h: 72px;
  --pad-x: 80px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
body.drawer-open { overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===================== chrome ===================== */
/* Shared chrome: hamburger, cart, mark, drawer */

.chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--chrome-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 40;
}
.chrome--fixed {
  position: fixed;
  background: transparent;
}
.chrome--reveal {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chrome--reveal.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hamburger {
  width: 28px; height: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; height: 1.5px; width: 100%;
  background: #111; border-radius: 1px;
}

.chrome-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.chrome-right--home {
  /* mountain scroll: hamburger only per comps (no mark on overlays) */
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: #111;
  text-decoration: none;
  position: relative;
}
.cart-link svg {
  width: 22px; height: 22px;
  stroke: #111;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: #111;
  color: #f4f1eb;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.cart-count[hidden],
.cart-count:empty { display: none !important; }

.mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.drawer[hidden] { display: none !important; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.35);
}
.drawer-panel {
  position: absolute;
  top: 0; left: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--cream);
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 32px rgba(17,17,17,0.12);
  animation: drawerIn 0.22s ease;
}
@keyframes drawerIn {
  from { transform: translateX(-12px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}
.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin-bottom: 36px;
  padding: 8px 0;
}
.drawer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-links a {
  display: block;
  padding: 14px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  color: #111;
}
@media (hover: hover) {
  .drawer-links a:hover { opacity: 0.7; }
}
.drawer-foot {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #f4f1eb;
  background: #111;
  padding: 12px 22px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.2s ease;
}
.toast.is-visible { opacity: 0.92; }

/* Breadcrumb */
/* Desktop breadcrumb: 12px with AA contrast on the cream page (links
   6.2:1, current 11.6:1). Line height pinned to the old 12px box so the
   page below does not move. */
.breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.68);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: rgba(17,17,17,0.68);
  text-decoration: none;
}
@media (hover: hover) {
  .breadcrumb a:hover { color: #111; }
}
.breadcrumb .sep {
  margin: 0 10px;
  color: rgba(17,17,17,0.62);
}
.breadcrumb .current { color: rgba(17,17,17,0.86); }

@media (max-width: 720px) {
  :root { --chrome-h: 56px; --pad-x: 16px; }
  .chrome { padding: 0 18px; height: 56px; }
  .hamburger { width: 24px; height: 16px; }
  .mark { width: 34px; height: 34px; }
  .cart-link { width: 30px; height: 30px; }
  .cart-link svg { width: 20px; height: 20px; }
  .chrome-right { gap: 12px; }
}

/* ===================== home ===================== */
/* Home: continuous mountain plate scroll: Landing → Menu → About → Contact */

.home-page {
  background: #111;
}

.home-plate {
  position: fixed;
  inset: 0;
  background: url("/assets/plate-clean.jpg?v=6796403724") center center / cover no-repeat;
  background-image: image-set(url("/assets/plate-clean.webp?v=3e9c5c269b") type("image/webp"), url("/assets/plate-clean.jpg?v=6796403724") type("image/jpeg"));
  z-index: 0;
  pointer-events: none;
}
.home-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
}

.home-scroll {
  position: relative;
  z-index: 1;
}

.home-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ==== Landing ==== */
#landing {
  justify-content: center;
  align-items: center;
}
#landing .veil {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.22);
  pointer-events: none;
  z-index: 1;
}
.lockup {
  position: relative;
  z-index: 2;
  width: min(820px, 92vw);
  height: auto;
  aspect-ratio: 820 / 540;
  max-height: 62vh;
  pointer-events: none;
  margin-top: -4vh;
}
.lockup svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cta-slot {
  position: absolute;
  left: 50%;
  bottom: max(12vh, 100px);
  transform: translateX(-50%);
  text-align: center;
  max-width: 420px;
  width: 90%;
  z-index: 3;
}
.cta-slot .cta-line {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #111;
  line-height: 1.45;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 0 18px rgba(255,255,255,0.45);
  margin: 0;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  z-index: 3;
}
.scroll-hint span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
}
.scroll-hint .chev {
  width: 12px; height: 12px;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: rotate(45deg);
}

/* ==== Overlays (Menu / About / Contact) ==== */
.home-section--overlay {
  padding: 96px var(--pad-x) 56px;
}
.home-section--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.42);
  pointer-events: none;
  z-index: 0;
}
#home-about::before { background: rgba(255,255,255,0.40); }
#home-contact::before { background: rgba(255,255,255,0.48); }

.home-section--overlay > * { position: relative; z-index: 2; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(17,17,17,0.14);
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #111;
  margin: 0;
}
.section-meta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}

/* Menu grid on mountain */
.sauce-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-content: start;
}
.tile {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
@media (hover: hover) {
  .tile:hover {
  border-color: rgba(17,17,17,0.22);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 8px 22px rgba(17,17,17,0.08);
}
}
@media (hover: hover) {
  .tile:hover .tile-name {
  text-decoration: underline;
  text-underline-offset: 4px;
}
}
.tile-art {
  height: 255px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.28);
  border-bottom: 1px solid rgba(17,17,17,0.06);
  padding: 4px 6px;
}
.jar-img {
  height: 78%;
  width: auto;
  max-width: 92%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.tile-body {
  padding: 22px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tile-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #111;
  margin: 0;
}
.tile-price {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.78);
  line-height: 1.4;
  margin: 0;
}
.tile-hint {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
}
.footer-note {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-note p {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.footer-note .pickup-only {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #111;
}

/* About overlay */
#home-about .section-header { justify-content: center; }
#home-about .section-title { text-align: center; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  flex: 1;
  align-items: stretch;
  min-height: 0;
}
.copy-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lede {
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.004em;
  color: #111;
  text-align: center;
  margin: 0;
}
.body-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.body-block p {
  font-size: clamp(15px, 1.45vw, 19.5px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.003em;
  color: #111;
  text-align: center;
  margin: 0;
}
.closer-wrap {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(17,17,17,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.closer {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: 0.006em;
  color: #111;
  font-style: italic;
  text-align: center;
  margin: 0;
}
.full-story {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  text-decoration: none;
}
@media (hover: hover) {
  .full-story:hover { color: #111; }
}
.hero-frame {
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(17,17,17,0.07);
  min-height: 320px;
  height: 100%;
}
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  display: block;
  min-height: 320px;
}

/* Contact overlay */
.contact-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 48px;
}
.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 36px;
  border-bottom: 1px solid rgba(17,17,17,0.10);
  text-decoration: none;
  color: inherit;
}
.contact-item:nth-child(even) {
  border-left: 1px solid rgba(17,17,17,0.08);
}
.contact-item:nth-child(n+3) { border-bottom: none; }
@media (hover: hover) {
  .contact-item:hover .contact-value { text-decoration: underline; text-underline-offset: 4px; }
}
.contact-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
}
.contact-value {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #111;
}
.contact-value.email {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 0.02em;
}
/* Desktop contact hint: 12px with AA contrast (about 7:1). Line height
   pinned to the old 10px box so the contact cards keep their size. */
.contact-hint {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.72);
  margin-top: 4px;
}
.contact-foot {
  margin-top: 40px;
  text-align: center;
}
.contact-foot p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}

@media (max-width: 1100px) {
  .sauce-grid { grid-template-columns: repeat(3, 1fr); }
  .tile { min-height: 360px; }
}
@media (max-width: 720px) {
  .home-section--overlay { padding: 72px 16px 32px; }
  .sauce-grid { grid-template-columns: 1fr; gap: 12px; }
  .tile { min-height: 0; flex-direction: row; align-items: center; }
  .tile-art {
    width: 96px; height: 110px; flex-shrink: 0;
    border-bottom: none; border-right: 1px solid rgba(17,17,17,0.06);
  }
  .tile-body { padding: 14px 14px 14px 12px; gap: 6px; }
  .tile-name { font-size: 16px; }
  .tile-hint { padding-top: 4px; }
  .about-layout { grid-template-columns: 1fr; gap: 20px; }
  .hero-frame { min-height: 220px; max-height: 280px; }
  .hero-frame img { min-height: 220px; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-item {
    padding: 22px 20px;
    border-left: none !important;
    border-bottom: 1px solid rgba(17,17,17,0.10) !important;
  }
  .contact-item:last-child { border-bottom: none !important; }
  .lockup { width: min(340px, 88vw); max-height: 50vh; }
  .cta-slot { bottom: 110px; }
  .cta-slot .cta-line { font-size: 14px; }
  #home-menu .section-header { margin-bottom: 20px; }
}

/* ==== Home slideshow section scroll (index.html only: html.home-slides) ====
   Native scroll snap as the base layer; js/home-slides.js moves exactly one
   section per wheel / swipe / key gesture. When any section is taller than
   the viewport the script adds .home-slides--tall and snap relaxes to
   proximity so tall content can never be trapped. */
html.home-slides {
  scroll-snap-type: y mandatory;
}
html.home-slides.home-slides--tall {
  scroll-snap-type: y proximity;
}
/* Menu drawer open: the slideshow leaves keys alone, and proximity snap keeps
   a native arrow key scroll behind the drawer from snapping the page to the
   next section (with mandatory snap, ArrowDown moved a whole section). */
html.home-slides:has(body.drawer-open) {
  scroll-snap-type: y proximity;
}
html.home-slides .home-section {
  /* min-height 100vh with 100dvh override comes from .home-section above */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
@media (prefers-reduced-motion: reduce) {
  html.home-slides { scroll-behavior: auto; }
}

/* ===================== cream ===================== */
/* Cream dedicated pages: /menu /about /contact */

.cream-page {
  background: var(--cream);
  min-height: 100vh;
  color: #111;
}

.cream-page .page {
  position: relative;
  min-height: 100vh;
  padding: 96px var(--pad-x) 56px;
  display: flex;
  flex-direction: column;
}

/* Cream menu tiles: solid cream family (not frosted mountain) */
.cream-page .sauce-grid .tile {
  background: #faf8f4;
  border: 1px solid rgba(17,17,17,0.06);
  backdrop-filter: none;
}
@media (hover: hover) {
  .cream-page .sauce-grid .tile:hover {
  background: #fffdf9;
  border-color: rgba(17,17,17,0.18);
  box-shadow: 0 6px 18px rgba(17,17,17,0.05);
}
}
.cream-page .tile:nth-child(1) .tile-art { background: #e8e2d6; }
.cream-page .tile:nth-child(2) .tile-art { background: #e4ddd0; }
.cream-page .tile:nth-child(3) .tile-art { background: #ddd6c8; }
.cream-page .tile:nth-child(4) .tile-art { background: #e6e0d4; }
.cream-page .tile:nth-child(5) .tile-art { background: #e2dbcf; }
.cream-page .tile-art {
  height: 265px;
  background: #e8e2d6;
}
.cream-page .section-header {
  border-bottom-color: rgba(17,17,17,0.10);
}

/* About cream */
.about-cream .layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.about-cream .section-header { justify-content: center; }
.about-cream .section-title { text-align: center; width: 100%; }
.photo-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.photo-stack .hero-frame {
  background: #ebe6dc;
  border: 1px solid rgba(17,17,17,0.05);
  min-height: 360px;
}
.photo-stack .hero-frame img { min-height: 360px; }
.secondary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.secondary-strip .shot {
  border-radius: 3px;
  overflow: hidden;
  background: #ebe6dc;
  border: 1px solid rgba(17,17,17,0.05);
  aspect-ratio: 4 / 3;
}
.secondary-strip .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Contact cream */
.contact-cream .contact-list {
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-top: 1px solid rgba(17,17,17,0.10);
  border-radius: 0;
}
.contact-cream .contact-item {
  border-bottom: 1px solid rgba(17,17,17,0.10);
  padding: 36px 28px;
}
.contact-cream .contact-item:nth-child(even) {
  border-left: 1px solid rgba(17,17,17,0.08);
}

@media (max-width: 720px) {
  .cream-page .page { padding: 72px 16px 40px; }
  .cream-page .tile-art { height: 110px; width: 96px; }
  .about-cream .layout { grid-template-columns: 1fr; }
  .photo-stack .hero-frame,
  .photo-stack .hero-frame img { min-height: 240px; }
  .contact-cream .contact-item:nth-child(even) { border-left: none; }
}

/* ===================== sauce ===================== */
/* Sauce product pages */

.sauce-page {
  background: var(--cream);
  min-height: 100vh;
}
.sauce-page .page {
  position: relative;
  min-height: 100vh;
  padding: 96px var(--pad-x) 56px;
  display: flex;
  flex-direction: column;
}

.sauce-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  min-height: 0;
}
.jar-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
  background: #ebe6dc;
  border-radius: 4px;
  border: 1px solid rgba(17,17,17,0.05);
  padding: 36px 28px;
}
.jar-col img {
  max-height: 620px;
  height: min(88%, 62vh);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 8px 8px 0;
  max-width: 520px;
}
.product-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #111;
  margin: 0;
}
.taste-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.78);
  font-weight: 500;
  padding: 7px 12px;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
}
.taste-chip .label {
  color: rgba(17,17,17,0.62);
  letter-spacing: 0.14em;
}
.blurb {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.003em;
  color: #111;
  max-width: 440px;
  margin: 0;
}
.ingredients {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 440px;
}
.ingredients-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.ingredients-list {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}
.price {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #111;
}
.price-note {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(17,17,17,0.62);
}
.size-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.size-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.size-options { display: flex; gap: 10px; }
.size-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  color: #111;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.size-btn .sz {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.size-btn .detail {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(17,17,17,0.62);
  text-transform: none;
}
.size-btn.is-selected {
  border-color: #111;
  background: #111;
  color: #f4f1eb;
}
.size-btn.is-selected .detail { color: rgba(244,241,235,0.72); }
.size-btn.is-single {
  flex: 0 1 auto;
  min-width: 220px;
  border-color: #111;
  background: #111;
  color: #f4f1eb;
  cursor: default;
}
.size-btn.is-single .detail { color: rgba(244,241,235,0.72); }

.add-btn {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 36px;
  background: #111;
  color: #f4f1eb;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
  min-width: 220px;
}
@media (hover: hover) {
  .add-btn:hover { background: #2a2a2a; }
}

.pickup-loud {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .sauce-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  .jar-col {
    min-height: 210px;
    height: 210px;
    padding: 12px;
  }
  .jar-col img { height: 92%; max-height: 190px; }
  .info-col { max-width: none; padding: 0; gap: 8px; }
  .add-btn { width: 100%; min-width: 0; }
  .size-btn.is-single { min-width: 0; width: 100%; }
}

/* ===================== cart ===================== */
/* Cart / Checkout / Confirmation */

.cart-page,
.checkout-page,
.confirmation-page {
  background: var(--cream);
  min-height: 100vh;
}
.cart-page .page,
.checkout-page .page,
.confirmation-page .page {
  position: relative;
  min-height: 100vh;
  padding: 96px var(--pad-x) 64px;
  display: flex;
  flex-direction: column;
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17,17,17,0.10);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-title {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #111;
  margin: 0;
  line-height: 1.1;
}
.item-count {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: start;
}
.lines { display: flex; flex-direction: column; }
.line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(17,17,17,0.10);
}
.thumb {
  width: 88px; height: 88px;
  background: #ebe6dc;
  border-radius: 3px;
  border: 1px solid rgba(17,17,17,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb img {
  max-height: 76px;
  max-width: 70px;
  object-fit: contain;
}
.line-info { display: flex; flex-direction: column; gap: 8px; }
.line-name { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; color: #111; }
.line-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
}
.line-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 3px;
  overflow: hidden;
}
.qty button {
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  color: #111;
}
.qty span {
  min-width: 28px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
}
.remove {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (hover: hover) {
  .remove:hover { color: #111; }
}
.line-price {
  font-size: 20px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.aside {
  background: #ebe6dc;
  border: 1px solid rgba(17,17,17,0.05);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* The hidden attribute must win over display:flex (empty cart). */
.aside[hidden] { display: none; }
.aside-title { font-size: 22px; font-weight: 600; color: #111; margin: 0; }
.sub-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sub-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
}
.sub-value { font-size: 28px; }
.aside-note {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #111;
  line-height: 1.45;
  margin: 0;
}
.checkout-btn, .pay-btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  width: 100%;
  background: #111;
  color: #f4f1eb;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (hover: hover) {
  .checkout-btn:hover, .pay-btn:hover, .btn-primary:hover { background: #2a2a2a; }
}
.checkout-btn[aria-disabled="true"],
.pay-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #111;
}
.continue {
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  text-decoration: none;
}
@media (hover: hover) {
  .continue:hover { color: #111; }
}

.cart-empty {
  padding: 48px 0;
  text-align: center;
}
.cart-empty p {
  font-size: 20px;
  margin: 0 0 20px;
}
.cart-empty a.btn-primary {
  width: auto;
  padding: 0 28px;
  display: inline-flex;
}

/* Checkout */
.pickup-banner {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  padding: 9px 16px;
  border: 1.5px solid rgba(17,17,17,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.form-col { display: flex; flex-direction: column; gap: 22px; }
.section-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0 0 4px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
}
.field input {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #111;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 3px;
  padding: 14px 16px;
  outline: none;
  width: 100%;
}
.field input:focus {
  border-color: rgba(17,17,17,0.40);
}
.field.is-invalid input {
  border-color: #8b2e2e;
}
.field-error {
  font-family: var(--sans);
  font-size: 12px;
  color: #8b2e2e;
  margin: 0;
}
.field-error[hidden] { display: none; }
.field input::placeholder { color: rgba(17,17,17,0.62); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-hint {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
  line-height: 1.4;
  margin: -2px 0 0;
}

.summary-col {
  background: #ebe6dc;
  border: 1px solid rgba(17,17,17,0.05);
  border-radius: 4px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.summary-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}
.line-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17,17,17,0.10);
}
.summary-col .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 0;
  border: none;
  grid-template-columns: none;
}
.summary-col .line-name { font-size: 16px; font-weight: 400; }
.summary-col .line-price {
  font-family: var(--sans);
  font-size: 14px;
}
.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.subtotal-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
}
.subtotal-value { font-size: 24px; letter-spacing: 0.01em; }
.tax-note {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
  line-height: 1.4;
  margin: 0;
}
.square-panel {
  margin-top: 4px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 3px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.square-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.square-card-mock {
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 3px;
  padding: 18px 16px;
  background: #fffdf9;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 88px;
}
.square-card-mock[hidden] { display: none; }
.square-card-container {
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 3px;
  padding: 12px 12px 4px;
  background: #fffdf9;
  min-height: 88px;
}
.square-card-container[hidden] { display: none; }
.payment-id-note {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
  margin: 8px 0 0;
  word-break: break-all;
}
.payment-id-note[hidden] { display: none; }
#pay-error:not([hidden]) {
  display: block;
}
.square-card-line {
  height: 12px;
  background: rgba(17,17,17,0.08);
  border-radius: 2px;
}
.square-card-line.short { width: 42%; }
.square-card-line.mid { width: 68%; }
.pay-hint {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
  text-align: center;
  line-height: 1.45;
  margin: 0;
}
.pay-hint[hidden] { display: none; }
.pickup-foot {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(17,17,17,0.62);
  text-align: center;
  line-height: 1.45;
  margin: 0;
}
.stub-note {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
  line-height: 1.4;
  margin: 0;
  padding: 10px 12px;
  background: rgba(17,17,17,0.04);
  border-radius: 3px;
}
.stub-note[hidden] { display: none; }
.empty-note {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.empty-note a { text-decoration: underline; }

/* Confirmation */
.confirm-wrap {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 24px;
}
.confirm-wrap[hidden] { display: none; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
  margin: 0;
}
.confirm-title {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #111;
  margin: 0;
}
.confirm-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  color: #111;
  max-width: 560px;
  margin: 0;
}
.pickup-card {
  background: #ebe6dc;
  border: 1px solid rgba(17,17,17,0.05);
  border-radius: 4px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pickup-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}
.pickup-body {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  margin: 0;
}
.pickup-note {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.62);
  line-height: 1.45;
  margin: 0;
}
.confirm-summary {
  border-top: 1px solid rgba(17,17,17,0.10);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.confirm-summary .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17,17,17,0.08);
  grid-template-columns: none;
}
.confirm-summary .line-name { font-size: 17px; font-weight: 400; }
.confirm-summary .line-price {
  font-family: var(--sans);
  font-size: 14px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}
.total-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.62);
}
.total-value { font-size: 28px; }
.actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  width: auto;
}
.btn-ghost {
  background: transparent;
  color: #111;
  border: 1px solid rgba(17,17,17,0.18);
}
.stub-banner {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  background: rgba(17,17,17,0.06);
  border-radius: 3px;
  margin: 0;
}
.stub-banner[hidden] { display: none; }

@media (max-width: 900px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .field-row { grid-template-columns: 1fr; }
  .line {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }
  .line-price {
    grid-column: 2;
    justify-self: start;
  }
  .thumb { width: 72px; height: 72px; }
  .line-name { font-size: 18px; }
}

/* Shown only when a stored quantity is over 99. */
.cart-limit-note {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: #8a1f11;
  margin: 0 0 12px;
}

/* ===================== mobile ===================== */
/* Mobile build (design/mobile pass-1 + pass-2, SMALL-PHONE-RULES.md).
   Loaded last on every page. Every rule sits inside a phone media query
   (max-width 720px, or a short landscape viewport for the landing only), so
   desktop layouts at 721px and wider with normal heights are unchanged. */

/* Landing: one vertical column sized to the visible height.
   Phones (720px wide or less) and short landscape screens (540px tall or less). */
@media (max-width: 720px), (max-height: 540px) {
  #landing {
    min-height: 100vh;
    min-height: 100svh;
    justify-content: flex-start;
    align-items: center;
    padding: 0 max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  /* Spacer above the lockup (grows most, so the lockup sits a little above center like the comp). */
  #landing::before {
    content: "";
    flex: 5 1 0;
    min-height: 16px;
    order: 0;
  }
  #landing .lockup {
    order: 1;
    flex: none;
    width: min(340px, 88vw, 46vh);
    width: min(340px, 88vw, 46svh);
    height: auto;
    aspect-ratio: 820 / 540;
    max-height: none;
    margin: 0;
  }
  /* CTA: in flow under the lockup. At least 24px under the W; the slot grows
     and keeps the line at its bottom so it sits nearer the cue, as in the comp. */
  #landing .cta-slot {
    order: 2;
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    flex: 3.5 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-width: 340px;
    padding-top: 24px;
  }
  #landing .cta-slot .cta-line { font-size: 14px; letter-spacing: 0.05em; }
  #landing .cta-line .cta-part { white-space: nowrap; }
  /* Spacer between CTA and cue: at least 20px. */
  #landing::after {
    content: "";
    order: 3;
    flex: 1 1 0;
    min-height: 20px;
  }
  #landing .scroll-hint {
    order: 4;
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    flex: none;
  }
}
@media (max-width: 379px) {
  #landing .cta-slot .cta-line { font-size: 13px; letter-spacing: 0.04em; }
}
/* Under 600px visible height: chevron only. html.vh-short is set by nav.js from
   window.innerHeight, which follows Safari's toolbars. */
@media (max-width: 720px) and (max-height: 599px), (max-height: 540px) {
  #landing .scroll-hint span { display: none; }
}
@media (max-width: 720px), (max-height: 540px) {
  html.vh-short #landing .scroll-hint span { display: none; }
}

/* Fixed home chrome: when a tall section is scrolled mid way, content passes
   under the hamburger bar, so the bar gets a soft cream film (nav.js toggles
   .chrome--over-content). At a section top it stays transparent like the comps. */
@media (max-width: 720px), (max-height: 540px) {
  .chrome--fixed {
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
  }
  .chrome--fixed.chrome--over-content {
    background: rgba(244, 241, 235, 0.86);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
  }
}

/* ==== Phones (portrait up to 720px wide, plus short landscape phones up to
   1100px wide, which would otherwise get the tall desktop tiles) ==== */
@media (max-width: 720px), (max-height: 540px) and (max-width: 1100px) {
  /* Chrome: 44x44 hit areas, icons stay where the comps draw them. */
  .chrome {
    height: 56px;
    padding: 0 max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
  }
  .hamburger {
    width: 44px;
    height: 44px;
    padding: 14px 10px;
    flex: none;
  }
  .chrome-right { gap: 4px; padding-right: 10px; }
  .chrome-right--home { padding-right: 0; }
  .cart-link { width: 44px; height: 44px; }
  .cart-link svg { width: 20px; height: 20px; }
  .cart-count { top: 7px; right: 5px; min-width: 14px; height: 14px; font-size: 8px; padding: 0 3px; }
  .mark { width: 34px; height: 34px; }

  /* Drawer: cream, full width, close button where the hamburger was. */
  .drawer-panel {
    width: 100%;
    padding: 6px max(16px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .drawer-close {
    position: relative;
    align-self: flex-start;
    width: 44px;
    height: 44px;
    margin: 0 0 20px;
    padding: 0;
    font-size: 0;
    color: transparent;
    letter-spacing: 0;
    flex: none;
  }
  .drawer-close::before,
  .drawer-close::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 21px;
    width: 24px;
    height: 1.5px;
    background: #111;
    border-radius: 1px;
    transform: rotate(45deg);
  }
  .drawer-close::after { transform: rotate(-45deg); }
  .drawer-links { padding-left: 8px; gap: 8px; }
  .drawer-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 6px 0;
    font-size: 26px;
  }
  .drawer-foot { padding: 24px 0 0 8px; }

  /* Added toast (Design): just below the 56px top bar and the top safe area,
     centered with 16px side margins. cart.js nudges it further down if it
     would ever cover a size button, Add to cart or the cart icon. */
  .toast {
    top: calc(56px + env(safe-area-inset-top, 0px) + 8px);
    bottom: auto;
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
    text-align: center;
    white-space: nowrap;
    font-size: 11px;
    padding: 12px 18px;
  }

  /* Breadcrumb links: 44px hit area without moving the text. */
  /* 12px minimum and WCAG AA (4.5:1) on cream. */
  .breadcrumb {
    font-size: 12px;
    letter-spacing: 0.10em;
    margin: 6px 0 10px;
    line-height: 1.2;
  }
  .breadcrumb a,
  .breadcrumb .sep { color: rgba(17,17,17,0.68); }
  .breadcrumb .current { color: rgba(17,17,17,0.86); }
  .breadcrumb .sep { margin: 0 8px; }
  /* The hit area hangs below the text so it stays 8px clear of the
     hamburger and cart buttons above it. */
  .breadcrumb a {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 2px 8px 0;
    margin: -2px -8px -31px;
    vertical-align: top;
  }

  /* ==== Home overlays (Menu / About / Contact on mountains) ==== */
  .home-section--overlay {
    padding: 64px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left));
  }
  .section-title { font-size: 28px; }
  .section-meta {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-align: right;
    max-width: 58%;
  }
  #home-menu .section-header,
  .cream-page:not(.about-cream):not(.contact-cream) .section-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* Menu rows (home overlay and cream /menu). Rows keep the comp's 128px
     height and ~78% jar fill; on short screens the section grows instead. */
  .sauce-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 0 auto;
  }
  .tile {
    flex: 1 0 128px;
    min-height: 128px;
    flex-direction: row;
    align-items: stretch;
  }
  .tile-art,
  .cream-page .tile-art {
    position: relative;
    width: 96px;
    height: auto;
    flex-shrink: 0;
    padding: 4px;
    border-bottom: none;
    border-right: 1px solid rgba(17, 17, 17, 0.06);
  }
  .tile-art .jar-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 78%;
    width: auto;
    max-width: 88%;
  }
  .tile-body {
    padding: 10px 14px;
    justify-content: center;
    gap: 4px;
    min-width: 0;
  }
  .tile-name { font-size: 16px; line-height: 1.2; }
  .tile-name br { display: none; }
  .tile-price { font-size: 12px; }
  .tile-hint { font-size: 9px; margin-top: 2px; padding-top: 0; }
  .footer-note { margin-top: 12px; flex-wrap: nowrap; }
  .footer-note p { font-size: 10px; letter-spacing: 0.10em; }
  .footer-note .pickup-only { font-size: 10px; letter-spacing: 0.06em; white-space: nowrap; }

  /* About overlay */
  #home-about { padding-top: 60px; padding-bottom: 14px; }
  #home-about .section-header { margin-bottom: 10px; padding-bottom: 8px; }
  #home-about .section-title { font-size: 26px; }
  #home-about .about-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 0 auto;
  }
  #home-about .copy-stack { gap: 8px; }
  #home-about .lede { font-size: 13.5px; line-height: 1.32; }
  #home-about .body-block { gap: 6px; }
  #home-about .body-block p { font-size: 11.5px; line-height: 1.34; }
  #home-about .closer-wrap { margin-top: 2px; padding-top: 8px; gap: 0; }
  #home-about .closer { font-size: 12px; line-height: 1.3; }
  #home-about .photo-col { display: flex; flex-direction: column; flex: 1 0 auto; }
  #home-about .hero-frame {
    position: relative;
    flex: 1 0 220px;
    min-height: 220px;
    max-height: none;
    height: auto;
  }
  #home-about .hero-frame img {
    position: absolute;
    inset: 0;
    min-height: 0;
  }
  /* "Full story" keeps its small type; the link box is 44px tall. */
  .full-story {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 88px;
    font-size: 9px;
    margin-bottom: -10px;
  }

  /* Contact overlay */
  #home-contact { padding: 64px max(18px, env(safe-area-inset-right)) 28px max(18px, env(safe-area-inset-left)); }
  #home-contact .section-header,
  .contact-cream .section-header { margin-bottom: 28px; padding-bottom: 14px; }
  .contact-wrap { padding-bottom: 12px; }
  .contact-item { padding: 22px 20px; gap: 8px; }
  .contact-label { font-size: 10px; }
  .contact-value { font-size: 20px; }
  .contact-value.email { font-size: 15px; font-weight: 500; }
  /* Link hints: 12px minimum and WCAG AA (4.5:1) on the contact cards. */
  .contact-hint { font-size: 12px; line-height: normal; letter-spacing: 0.04em; margin-top: 2px; color: rgba(17,17,17,0.72); }
  .contact-list { grid-template-columns: 1fr; }
  .contact-item,
  .contact-item:nth-child(even),
  .contact-item:nth-child(n+3) {
    border-left: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.10);
  }
  .contact-item:last-child { border-bottom: none; }
  .contact-cream .contact-item:last-child { border-bottom: 1px solid rgba(17, 17, 17, 0.10) !important; }
  .contact-foot { margin-top: 28px; }
  .contact-foot p { font-size: 13px; }

  /* ==== Cream dedicated pages ==== */
  .cream-page .page {
    min-height: 100vh;
    min-height: 100svh;
    padding: 64px max(16px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .contact-cream .page { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .contact-cream .contact-item { padding: 22px 0; }
  .contact-cream .contact-value.email { font-weight: 400; }

  .about-cream .page { padding-top: 60px; }
  .about-cream .section-header { margin-bottom: 8px; padding-bottom: 6px; }
  .about-cream .section-title { font-size: 26px; }
  .about-cream .layout { display: flex; flex-direction: column; gap: 8px; }
  .about-cream .copy-stack { gap: 6px; }
  .about-cream .lede { font-size: 12.5px; line-height: 1.3; }
  .about-cream .body-block { gap: 5px; }
  .about-cream .body-block p { font-size: 10.5px; line-height: 1.32; }
  .about-cream .closer-wrap { margin-top: 2px; padding-top: 6px; }
  .about-cream .closer { font-size: 11px; line-height: 1.28; }
  .photo-stack { gap: 8px; }
  .photo-stack .hero-frame {
    min-height: 0;
    height: auto;
    aspect-ratio: 358 / 272;
  }
  .photo-stack .hero-frame img { min-height: 0; height: 100%; }
  .secondary-strip {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8px;
    height: clamp(120px, 40vw, 190px);
  }
  .secondary-strip .shot { aspect-ratio: auto; height: 100%; }
  .secondary-strip .shot:first-child img { object-position: center 55%; }
  .secondary-strip .shot:last-child img { object-position: center 40%; }

  /* ==== Sauce pages ==== */
  .sauce-page .page {
    min-height: 100vh;
    min-height: 100svh;
    padding: 56px max(16px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .sauce-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: none;
  }
  .jar-col {
    height: 210px;
    min-height: 210px;
    padding: 12px;
    margin-bottom: 12px;
  }
  .jar-col img { height: 92%; max-height: none; }
  .info-col { gap: 8px; padding: 0; max-width: none; }
  .product-title { font-size: 24px; }
  .taste-chip { font-size: 9px; letter-spacing: 0.14em; padding: 5px 10px; gap: 6px; }
  .taste-chip .label { letter-spacing: 0.12em; }
  .blurb { font-size: 13px; line-height: 1.35; max-width: none; }
  .ingredients { gap: 3px; max-width: none; }
  .ingredients-label { font-size: 9px; letter-spacing: 0.14em; }
  .ingredients-list { font-size: 10px; line-height: 1.4; }
  .price-row { gap: 10px; margin-top: 2px; }
  .price { font-size: 24px; }
  .price-note { font-size: 11px; letter-spacing: 0.06em; }
  .size-picker { gap: 6px; margin-top: 0; }
  .size-label { font-size: 9px; letter-spacing: 0.14em; }
  .size-options { gap: 8px; }
  .size-btn { padding: 9px 12px; gap: 2px; min-height: 44px; }
  .size-btn .sz { font-size: 12px; }
  .size-btn .detail { font-size: 11px; }
  .size-btn.is-single { flex: 0 1 auto; min-width: 160px; width: auto; }
  .add-btn { height: 44px; width: 100%; min-width: 0; margin-top: 2px; font-size: 12px; }
  .pickup-loud { margin-top: 8px; text-align: center; }

  /* ==== Cart ==== */
  .cart-page .page,
  .checkout-page .page,
  .confirmation-page .page {
    min-height: 100vh;
    min-height: 100svh;
    padding: 56px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .cart-page .page-header {
    margin: 8px 0 14px;
    padding-bottom: 12px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .cart-page .page-title { font-size: 28px; }
  .item-count { font-size: 10px; }
  .cart-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    flex: 1 0 auto;
  }
  .lines { flex: 1 0 auto; }
  .line {
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }
  .lines .line-price { grid-column: auto; justify-self: end; font-size: 16px; }
  .thumb { width: 72px; height: 72px; }
  .thumb img { max-height: 62px; max-width: 58px; }
  .line-info { gap: 6px; min-width: 0; }
  .line-name { font-size: 16px; }
  .line-meta { font-size: 11px; }
  .line-controls { gap: 8px; margin-top: 0; flex-wrap: wrap; }
  .qty button { width: 44px; height: 44px; font-size: 16px; }
  .qty span { min-width: 24px; font-size: 13px; }
  .remove { min-height: 44px; padding: 0 8px; font-size: 10px; }
  .aside { padding: 18px 16px; gap: 12px; }
  .aside-title { font-size: 18px; }
  .sub-label { font-size: 11px; }
  .sub-value { font-size: 24px; }
  .aside-note { font-size: 12px; letter-spacing: 0.03em; line-height: 1.4; }
  .checkout-btn { height: 48px; font-size: 12px; }
  .continue {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: -4px 0 -10px;
    font-size: 11px;
  }
  /* Empty cart: live copy, centered in the space under the header. */
  .cart-empty:not([hidden]) {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 0 64px;
  }
  .cart-empty:not([hidden]) ~ .cart-layout { flex: 0 0 auto; }
  .cart-empty p { font-size: 18px; }
  .cart-empty a.btn-primary { height: 48px; min-width: 200px; }

  /* ==== Checkout ==== */
  .checkout-page .breadcrumb { margin: 6px 0 6px; }
  .checkout-page .page-header { margin-bottom: 10px; padding-bottom: 10px; }
  .checkout-page .page-title { font-size: 24px; }
  .pickup-banner { margin-top: 6px; font-size: 10px; letter-spacing: 0.12em; padding: 6px 12px; }
  .checkout-layout { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .form-col { gap: 10px; }
  .section-label { font-size: 9px; letter-spacing: 0.14em; margin: 0 0 2px; }
  .field { gap: 4px; }
  .field label { font-size: 10px; letter-spacing: 0.10em; }
  /* 16px input text keeps iOS Safari from zooming on focus. */
  .field input { font-size: 16px; padding: 10px 12px; min-height: 44px; }
  .field-hint { font-size: 10px; letter-spacing: 0.03em; line-height: 1.35; margin: 0; }
  .field-error { font-size: 12px; line-height: 1.35; }
  .field-row { display: flex; flex-direction: column; gap: 10px; }
  .summary-col { padding: 12px 12px 12px; gap: 8px; }
  .summary-title { font-size: 16px; }
  .line-items { gap: 6px; padding-bottom: 8px; }
  .summary-col .line-name { font-size: 14px; line-height: 1.25; }
  .summary-col .line-meta { font-size: 10px; margin-top: 2px; }
  .summary-col .line-price { font-size: 13px; }
  .subtotal-label { font-size: 10px; }
  .subtotal-value { font-size: 20px; }
  .tax-note { font-size: 10px; letter-spacing: 0.03em; line-height: 1.35; }
  .square-panel { padding: 10px; gap: 8px; }
  .square-label { font-size: 9px; letter-spacing: 0.14em; }
  .square-card-mock { padding: 10px; gap: 6px; min-height: 48px; }
  .square-card-line { height: 9px; }
  .square-card-container { padding: 8px 6px; min-height: 88px; }
  /* No lingering tap flash on the main buttons (their own states show progress). */
  .pay-btn, .add-btn, .checkout-btn { -webkit-tap-highlight-color: transparent; }
  /* Square reserves a 16px message line with 11px margins under the card
     fields; collapse it until Square has a message to show. */
  .square-card-container .sq-card-message { margin: 4px 2px 0; }
  .square-card-container .sq-card-message:empty { display: none; }
  .stub-note { font-size: 11px; }
  #pay-error { font-size: 13px; line-height: 1.4; }
  .pay-btn { height: 48px; font-size: 12px; }
  .pickup-foot { font-size: 10px; letter-spacing: 0.04em; line-height: 1.35; }
  .empty-note { font-size: 14px; }
  .empty-note a { display: inline-flex; align-items: center; min-height: 44px; }

  /* ==== Order confirmation ==== */
  .confirmation-page .page { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .confirm-wrap { gap: 16px; padding-top: 18px; flex: 1 0 auto; justify-content: center; }
  .eyebrow { font-size: 10px; letter-spacing: 0.14em; }
  .confirm-title { font-size: 32px; }
  .confirm-lede { font-size: 15px; line-height: 1.4; }
  .pickup-card { padding: 16px; gap: 8px; }
  .pickup-label { font-size: 10px; letter-spacing: 0.14em; }
  .pickup-body { font-size: 15px; line-height: 1.35; }
  .pickup-note { font-size: 11px; letter-spacing: 0.03em; line-height: 1.4; }
  .confirm-summary { padding-top: 14px; gap: 12px; }
  .confirm-summary .summary-title { font-size: 18px; }
  .confirm-summary .line { padding-bottom: 10px; gap: 12px; }
  .confirm-summary .line-name { font-size: 15px; }
  .confirm-summary .line-price { font-size: 13px; }
  .total-label { font-size: 11px; }
  .total-value { font-size: 24px; }
  .actions { flex-direction: column; gap: 8px; margin-top: 6px; }
  .actions .btn-primary,
  .actions .btn-ghost { height: 44px; width: 100%; font-size: 11px; }
  .stub-banner { font-size: 11px; line-height: 1.4; }
}


/* ===================== accessibility and images ===================== */
/* <picture> wrappers add no box, so the <img> inside keeps its old layout. */
picture { display: contents; }

/* Visible keyboard focus everywhere (mouse and touch clicks do not show it). */
:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}
.field input:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
[tabindex="-1"]:focus { outline: none; }

/* Skip link: off screen until it gets keyboard focus. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: #111;
  color: #f4f1eb;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid #f4f1eb;
  outline-offset: 2px;
}

/* Header mark is a link home; it keeps the image's size and place. */
.mark-link { display: block; line-height: 0; }

/* Home: the hidden header shows itself when a keyboard user tabs into it. */
.chrome--reveal:has(:focus-visible) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Branded 404 page */
.notfound-wrap { max-width: 560px; }
.notfound-wrap .confirm-lede { margin-bottom: 28px; }
