/* ==========================================================================
   Shredfarmer's Cafe — design system
   Ground and greens are lifted from the cafe's own poster artwork and the lit
   shopfront sign, not invented: cream paper, deep forest green, a clay accent
   picked up from the wood and leather in the dining room.
   Mobile-first; every rule below 720px is the default.
   ========================================================================== */

/* --- typefaces (self-hosted, subsetted; see tools/build_fonts.py) --------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/css/fonts/bricolage-700.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/css/fonts/instrument-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/css/fonts/instrument-700.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/css/fonts/dmmono-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* --- tokens -------------------------------------------------------------- */
:root {
  --bone:        #f6f3eb;
  --paper:       #fffdf7;
  --sand:        #e7e0d0;
  --sand-deep:   #d6cdb8;

  --ink:         #191d18;
  --ink-2:       #4c534a;
  --ink-3:       #666c63;   /* 4.9:1 on --bone; #7b8178 measured 3.6:1 */

  --green:       #165234;
  --green-deep:  #0d3521;
  --green-lit:   #2f8552;
  --green-wash:  #e6efe7;
  --on-wash:     #0d3521;   /* text that sits on --green-wash */
  --on-dark:     #eef0ea;   /* text on the always-dark bands; never flips */

  --clay:        #b0603a;
  --clay-wash:   #f4e7de;

  --font-d: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-b: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-m: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type tops out well below the old build's 7rem hero — headlines should
     lead a page, not shout over it. */
  --t-xs:   0.75rem;
  --t-sm:   0.85rem;
  --t-base: clamp(0.97rem, 0.94rem + 0.16vw, 1.06rem);
  --t-lg:   clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  --t-h3:   clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --t-h2:   clamp(1.4rem, 1.22rem + .82vw, 1.95rem);
  --t-h1:   clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);

  --gap:  .9rem;
  --pad:  clamp(1.05rem, 3.4vw, 1.8rem);
  /* was 2.7-6rem, which left desktop sections floating in whitespace */
  --band: clamp(2.1rem, 4.4vw, 3.6rem);
  --wrap: 1140px;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --line: 1px solid var(--sand);
  --lift: 0 1px 2px rgb(25 29 24 / .04), 0 8px 24px -12px rgb(25 29 24 / .16);
}

/* --- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-b);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.01em; }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 2.5px solid var(--green-lit);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--green); color: var(--bone); }

.u-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: .5rem; left: .5rem; z-index: 200;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--green); color: var(--bone); font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* --- layout -------------------------------------------------------------- */
.wrap {
  width: min(100% - var(--pad) * 2, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { --wrap: 720px; }

.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * .62); }
.band--green { background: var(--green-deep); color: var(--on-dark); }
.band--paper { background: var(--paper); border-block: var(--line); }
.band--dark  { background: #11150f; color: var(--on-dark); }

.band--green a, .band--dark a { color: inherit; }
.band--green h2, .band--dark h2 { color: inherit; }

/* --- type helpers -------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-m);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-2);              /* --ink-3 measured 3.6:1 at this size */
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--green);
  flex: none;
}
.band--green .eyebrow, .band--dark .eyebrow { color: #b3bdb1; }
.band--green .eyebrow::before, .band--dark .eyebrow::before { background: #6fbc8b; }

.lede {
  font-size: var(--t-lg);
  line-height: 1.52;
  color: var(--ink-2);
  max-width: 46ch;
}
.band--green .lede, .band--dark .lede { color: #ccd5cb; }

.prose { max-width: 62ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.15rem; list-style: disc; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--green);
  padding: .2rem 0 .2rem 1.15rem;
  font-family: var(--font-d);
  font-size: var(--t-lg);
  color: var(--ink);
}

.head { max-width: 34ch; margin-bottom: clamp(1.3rem, 2.6vw, 1.9rem); }
.head .lede { margin-top: .9rem; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  min-height: 48px;                 /* thumb-sized on every device */
  padding: .72rem 1.35rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--green { background: var(--green); color: var(--bone); }
.btn--green:hover { background: var(--green-deep); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--green) 70%, transparent); }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { filter: brightness(.93); }
.btn--ghost { border-color: var(--sand-deep); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn--sm { min-height: 40px; padding: .45rem 1rem; }
.band--green .btn--ghost, .band--dark .btn--ghost { border-color: #ffffff52; color: var(--on-dark); }
.band--green .btn--ghost:hover, .band--dark .btn--ghost:hover { background: #ffffff14; border-color: #ffffff80; }
.band--green .btn--green { background: var(--bone); color: var(--green-deep); }

.btnrow { display: flex; flex-wrap: wrap; gap: .65rem; }

.tlink {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--green);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  min-height: 44px;
}
.tlink .ic { transition: transform .22s var(--ease); }
.tlink:hover .ic { transform: translateX(3px); }
.band--green .tlink, .band--dark .tlink { color: #8fd0a5; }

.ic { stroke-width: 1.85; }
.ic--fill { stroke: none; }
.card__ic .ic { stroke-width: 1.85; }

/* --- images -------------------------------------------------------------- */
.ph {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: var(--ratio, 4/5);
  background-image: var(--lqip);
  background-size: cover;
  background-position: center;
}
.ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(0 0 12% 0);
  transition: opacity .55s var(--ease), clip-path .75s var(--ease), transform .75s var(--ease);
  transform: scale(1.035);
}
.ph img.is-in, .no-js .ph img {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: none;
}

/* --- header -------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bone) 93%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.hdr.is-stuck { border-bottom-color: var(--sand); background: color-mix(in srgb, var(--bone) 98%, transparent); }

.hdr__in {
  display: flex; align-items: center; gap: .55rem;
  min-height: 66px;
}

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img {
  width: 72px; height: auto;
  transition: filter .2s var(--ease);
}
.brand__txt {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  line-height: 1.05;
  display: flex; flex-direction: column;
}
.brand__txt i {
  font-family: var(--font-m);
  font-style: normal;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

/* three-state control: follow the system, or pin light / dark */
.theme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: var(--line); border-radius: 100px;
  background: transparent; color: var(--ink-2);
  cursor: pointer; flex: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.theme:hover { border-color: var(--green); color: var(--green); }
.theme:focus-visible { outline: 3px solid var(--green-lit); outline-offset: 2px; }
.theme .ic { width: 18px; height: 18px; }
.theme .ic--moon { display: none; }
:root[data-theme="dark"] .theme .ic--moon { display: block; }
:root[data-theme="dark"] .theme .ic--sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .ic--moon { display: block; }
  :root:not([data-theme="light"]) .theme .ic--sun { display: none; }
}

.nav { display: none; }
.nav ul { display: flex; gap: .25rem; }
.nav a {
  display: block;
  padding: .55rem .8rem;
  border-radius: 100px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: #0000000a; }
.nav a[aria-current] { color: var(--green); background: var(--green-wash); font-weight: 600; }

.hdr__end { display: flex; align-items: center; gap: .5rem; }
.hdr__call { display: none; }

.status {
  display: none;
  align-items: center; gap: .4rem;
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: .3rem .6rem .3rem .5rem;
  border: var(--line);
  border-radius: 100px;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status.is-open i { background: var(--green-lit); box-shadow: 0 0 0 3px #2f855226; }
.status.is-shut i { background: var(--clay); }

.burger { position: relative; width: 44px; height: 44px; border-radius: 10px; }
.burger i {
  position: absolute; left: 50%; top: 50%;
  width: 19px; height: 2px; margin-left: -9.5px; border-radius: 2px;
  background: var(--ink);
  transition: transform .28s var(--ease);
}
.burger i:first-of-type { transform: translateY(-4px); }
.burger i:last-of-type  { transform: translateY(3px); }
.burger[aria-expanded="true"] i:first-of-type { transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type  { transform: rotate(-45deg); }

/* --- mobile sheet -------------------------------------------------------- */
.sheet {
  position: fixed; inset: 62px 0 auto; z-index: 88;
  background: var(--bone);
  border-bottom: var(--line);
  padding: .5rem var(--pad) 1.4rem;
  box-shadow: 0 24px 40px -28px #191d1859;
  animation: sheetIn .26s var(--ease);
}
.sheet[hidden] { display: none; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-10px); } }

.sheet a { display: flex; align-items: center; }
.sheet nav a {
  min-height: 54px;
  font-family: var(--font-d);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.02em;
  border-bottom: var(--line);
}
.sheet nav a[aria-current] { color: var(--green); }
.sheet__foot { display: grid; gap: .55rem; margin-top: 1.1rem; }

/* --- mobile dock --------------------------------------------------------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 92;
  display: grid; grid-template-columns: repeat(4, 1fr);
  /* 94% let headings ghost through behind the labels, which read as grubby
     rather than as glass. Near-opaque, with the blur doing the work only at
     the very edge of the scroll. */
  background: color-mix(in srgb, var(--paper) 99%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: var(--line);
  box-shadow: 0 -1px 0 rgb(0 0 0 / .03), 0 -10px 26px -18px rgb(20 30 20 / .3);
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform .3s var(--ease);
}
@supports not (backdrop-filter: blur(1px)) {
  .dock { background: var(--paper); }
}
.dock.is-down { transform: translateY(110%); }
body:has(#sheet:not([hidden])) .dock { transform: translateY(110%); }
.dock a {
  display: grid; justify-items: center; gap: 4px;
  padding: .6rem .2rem .62rem;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
  -webkit-tap-highlight-color: transparent;
}
.dock a:active { background: var(--green-wash); color: var(--green); }
.dock a[aria-current] { color: var(--green); }
.dock .ic { color: var(--green); stroke-width: 1.9; }
.dock .ic--fill { stroke-width: 0; }

/* --- hero ---------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 6vw, 3.6rem) clamp(2.2rem, 5vw, 3.6rem); overflow: clip; }
.hero__in { display: grid; gap: clamp(1.6rem, 5vw, 2.6rem); }

.hero h1 { margin-bottom: 1rem; }
.hero h1 > span { display: block; }
.js .hero h1 > span { animation: riseIn .75s var(--ease) both; }
.js .hero h1 > span:nth-child(2) { animation-delay: .09s; }
.js .hero h1 > span:nth-child(3) { animation-delay: .18s; }
.js .hero .lede { animation: riseIn .75s var(--ease) .26s both; }
.js .hero .btnrow { animation: riseIn .75s var(--ease) .34s both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lede { max-width: 40ch; }
.hero .btnrow { margin-top: 1.5rem; }

.hero__art { position: relative; }
.hero__art .ph { border-radius: var(--r-lg); box-shadow: var(--lift); }
/* The source photos are 480x853 portraits. Left to fill half a wide column
   they ran to 75-85% of the viewport, which pushed everything else off the
   fold and made an upscaled reel frame the biggest thing on the page. */
@media (min-width: 720px) {
  .hero__art .ph,
  .split__art .ph {
    max-height: min(58vh, 460px);
    margin-inline: auto;
  }
  .hero__art .ph img,
  .split__art .ph img { object-fit: cover; }
}
.hero__art .ph img { animation: settle 1.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.07); } }

.hero__tag {
  position: absolute; left: -.4rem; bottom: 1.1rem;
  display: flex; align-items: center; gap: .55rem;
  background: var(--paper);
  border: var(--line);
  border-radius: 100px;
  padding: .5rem .95rem .5rem .6rem;
  box-shadow: var(--lift);
  font-size: var(--t-xs);
  font-weight: 600;
}
.hero__tag b { font-family: var(--font-d); font-size: .95rem; }
.hero__tag .ic { color: var(--green); }

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--sand);
  border: var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 2rem;
}
.facts div { background: var(--bone); padding: .95rem 1rem; }
.facts dt {
  font-family: var(--font-m); font-size: .63rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
.facts dd {
  font-family: var(--font-d); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.02em; margin-top: .15rem;
}

/* --- ticker -------------------------------------------------------------- */
.ticker {
  position: relative;
  background: var(--green-deep);
  color: #cfdccf;
  overflow: hidden;
  padding-block: .8rem;
}
.ticker__row { display: flex; width: max-content; animation: roll 64s linear infinite; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker span {
  display: flex; align-items: center; gap: 2.1rem;
  padding-inline: 1.05rem;
  font-family: var(--font-m);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after {
  content: ""; width: 5px; height: 5px; border-radius: 1px;
  background: #6fbc8b; transform: rotate(45deg);
}
/* the gradient mask is unreliable across engines, so the fades are painted */
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(52px, 11vw, 150px);
  z-index: 1; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--green-deep) 12%, transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--green-deep) 12%, transparent); }
@keyframes roll { to { transform: translateX(-50%); } }

/* --- cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: .35rem .85rem;
  align-items: start;
}
.card__ic {
  grid-row: 1 / 3;
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-content: center;
  background: var(--green-wash); color: var(--green);
}
.card > :not(.card__ic) { grid-column: 2; }
.card {
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-3px); border-color: var(--sand-deep); box-shadow: var(--lift); }
.card__ic { transition: background .3s, color .3s, transform .35s var(--ease); }
.card:hover .card__ic { background: var(--green); color: var(--bone); transform: rotate(-6deg) scale(1.06); }
.band--green .card:hover .card__ic, .band--dark .card:hover .card__ic { background: #6fbc8b; color: #0b1a11; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.62; }
.band--green .card, .band--dark .card {
  background: #ffffff0f; border-color: #ffffff26;
}
.band--green .card p, .band--dark .card p { color: #c7d0c6; }
.band--green .card__ic, .band--dark .card__ic { background: #ffffff14; color: #8fd0a5; }

/* --- split ---------------------------------------------------------------- */
.split { display: grid; gap: clamp(1.6rem, 5vw, 3rem); align-items: center; }
.split__art .ph { border-radius: var(--r-lg); }

/* --- menu ---------------------------------------------------------------- */
.filter {
  display: flex; gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1);
  padding: .2rem var(--pad) 1rem;
  position: sticky; top: 61px; z-index: 40;
  background: var(--bone);
  box-shadow: 0 10px 12px -10px color-mix(in srgb, var(--ink) 22%, transparent);
}
.filter::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 42px;
  padding: .4rem .95rem;
  border: 1.5px solid var(--sand-deep);
  border-radius: 100px;
  background: var(--bone);
  font-size: var(--t-sm); font-weight: 600;
  white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.chip.is-on { background: var(--green); border-color: var(--green); color: var(--bone); }
.chip__n { font-family: var(--font-m); font-size: .7rem; opacity: .65; }
.filter__empty { color: var(--ink-2); padding-bottom: 1.5rem; }

.course + .course { margin-top: clamp(2.6rem, 6vw, 4rem); }
.course__head { max-width: 48ch; margin-bottom: 1.4rem; }
.course__head h2 { font-size: var(--t-h2); }
.course__head p { color: var(--ink-2); margin-top: .5rem; font-size: var(--t-sm); }

.dishes { display: grid; gap: .8rem; }
.dish {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  padding: .85rem;
  transition: opacity .25s, transform .25s var(--ease), border-color .2s;
}
.dish:hover { border-color: var(--sand-deep); box-shadow: var(--lift); }
.dish__img img { transition: transform .6s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.05); }
.dish:not(:has(.dish__img)) { grid-template-columns: 1fr; }
.dish.is-hid { display: none; }
.dish__img { border-radius: 10px; }
.dish__name {
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem;
  font-size: 1.06rem;
}
.dish__desc { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; margin-top: .3rem; }
.dish__price { margin-left: auto; font-family: var(--font-m); font-size: .9rem; }
.dish__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.dish__tags li {
  font-size: .7rem; font-weight: 600; letter-spacing: .01em;
  padding: .22rem .6rem;
  border-radius: 100px;
  border: 1px solid var(--sand-deep);
  color: var(--ink-2);
}

.dot { width: 13px; height: 13px; border-radius: 3px; display: inline-grid; place-content: center; flex: none; }
.dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.dot--veg { border: 1.6px solid #3f8f4f; }
.dot--veg::after { background: #3f8f4f; }
.dot--nonveg { border: 1.6px solid var(--clay); }
.dot--nonveg::after { background: var(--clay); }

.macro {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-top: .65rem;
}
.macro div {
  display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--font-m); font-size: .72rem;
  background: var(--green-wash); color: var(--on-wash);
  padding: .18rem .5rem; border-radius: 6px;
}
.macro dt { opacity: .7; }
.macro dd { font-weight: 500; }

/* --- scroller (mobile-friendly gallery) ---------------------------------- */
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 66vw;
  gap: .7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  padding-bottom: .4rem;
  overscroll-behavior-x: contain;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller .ph { height: 100%; }

.shot { position: relative; border-radius: var(--r); overflow: hidden; }
.shot .ph img { transition: transform .7s var(--ease), opacity .55s var(--ease), clip-path .75s var(--ease); }
.shot:hover .ph img { transform: scale(1.045); }
/* the caption is an overlay, so it was swallowing clicks meant for the
   controls sitting underneath it */
.shot--clip figcaption { pointer-events: none; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem .9rem .8rem;
  background: linear-gradient(transparent, #0b0f0ccc);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 600;
}

/* --- story chapters ------------------------------------------------------
   The origin story is chronological, so it is set as a timeline: a marker rail
   on the left, the prose in a readable column, and the beats broken apart so
   the page has some rhythm instead of one long ribbon of text floating in a
   wide dark band.
   ------------------------------------------------------------------------ */
.chapters { list-style: none; margin: 0; padding: 0; }

.chapter { position: relative; display: grid; gap: .7rem; }
.chapter + .chapter { margin-top: clamp(2.2rem, 5vw, 3.4rem); }

.chapter__mark {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-m);
}
/* the number and the period sat side by side, so "03" next to "JUNE 2026"
   read as the date 03 June rather than as chapter three */
.chapter__mark::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--sand);
}
.chapter__no {
  font-size: 1.5rem; font-weight: 500;
  color: var(--green);
  line-height: 1;
}
.chapter__when {
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
  padding: .2rem .5rem;
  border: var(--line); border-radius: 100px;
  flex: none;
  white-space: nowrap;
}
.chapter__body > h3 {
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.65rem);
  letter-spacing: -.02em;
  margin: 0 0 .6rem;
}
.chapter__body.prose > h3 { margin-top: 0; }

/* the clip sits inside the reading column as an inset, not a centred island */
.chapter__art { max-width: 380px; margin-top: 1.4rem; }
.chapter__art, .shot--solo { overflow: visible; }
.chapter__art .clip, .shot--solo .clip,
.chapter__art .ph, .shot--solo .ph { border-radius: var(--r); overflow: hidden; }
.chapter__art figcaption,
.shot--solo figcaption {
  position: static; padding: .6rem 0 0;
  background: none; color: var(--ink-2); font-weight: 500;
  line-height: 1.45;
}

/* the three deliberate decisions were a list pretending to be a paragraph */
.builts {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .7rem;
}
.builts li {
  /* --paper on .band--paper is a 3-value difference in dark mode, i.e. no
     card at all; the wash reads as a surface under both schemes */
  background: var(--green-wash);
  border: var(--line);
  border-radius: var(--r);
  padding: 1rem 1.1rem;
}
.builts__n {
  display: block;
  font-family: var(--font-d); font-weight: 700;
  font-size: 1.9rem; line-height: 1;
  color: var(--green);
  letter-spacing: -.03em;
}
.builts b {
  display: block; margin: .3rem 0 .35rem;
  font-size: var(--t-sm); letter-spacing: .01em;
}
.builts p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; margin: 0; }

/* a full-width break between the prose and whatever follows it */
.pull {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: var(--line);
  max-width: 40ch;
}
.pull p {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + .62vw, 1.5rem);
  line-height: 1.32;
  letter-spacing: -.02em;
  color: var(--ink);
}
.pull cite {
  display: block; margin-top: .9rem;
  font-family: var(--font-m); font-style: normal;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}

@media (min-width: 700px) {
  .builts { grid-template-columns: repeat(3, 1fr); }
  .pull { max-width: 34ch; }
}
@media (min-width: 900px) {
  /* marker rail, then the reading column; a hairline joins the beats */
  .chapter {
    grid-template-columns: 160px minmax(0, 60ch);
    gap: 0 2.2rem;
  }
  .chapter__mark {
    flex-direction: column; align-items: flex-start; gap: .45rem;
    position: sticky; top: 6.5rem; align-self: start;
  }
  .chapter__mark::after { display: none; }
  .chapter::before {
    content: ""; position: absolute;
    left: 0; top: 2.6rem; bottom: calc(var(--band) * -.5);
    width: 1px; background: var(--sand);
  }
  .chapter:last-child::before { display: none; }
  .chapter__mark { padding-left: 1.4rem; }
  .chapter::before { left: .4rem; }
  .pull { max-width: 38ch; margin-left: calc(160px + 2.2rem); }
}

@media (min-width: 1120px) {
  /* the art takes the space the reading column does not need */
  .chapter { grid-template-columns: 160px minmax(0, 58ch) minmax(0, 360px); }
  .chapter__art {
    grid-column: 3; grid-row: 1 / span 2;
    align-self: start;
    max-width: none;
    margin: .3rem 0 0;
  }
}

/* --- reviews -------------------------------------------------------------
   Quotes carry a pull line at reading size and the full text underneath, so a
   skim gets the gist and a careful read gets what the person actually wrote.
   ------------------------------------------------------------------------ */
.rev__agg {
  font-size: var(--t-lg); margin-bottom: 1.2rem;
}
.rev__agg strong {
  font-family: var(--font-d); font-size: 1.5em; color: var(--green);
}
.revs {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  margin-top: clamp(1.4rem, 4vw, 2.2rem);
}
.rev {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  padding: clamp(1.1rem, 3.5vw, 1.5rem);
  display: flex; flex-direction: column; gap: .7rem;
}
.stars { display: flex; gap: .12rem; margin: 0; }
.stars svg { width: 15px; height: 15px; fill: #e0a12b; }
.rev__pull {
  margin: 0;
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  line-height: 1.32; letter-spacing: -.01em;
  color: var(--ink);
}
.rev__body {
  margin: 0; font-size: var(--t-sm); line-height: 1.6; color: var(--ink-2);
  /* one guest wrote five paragraphs; without a cap that card sets the height
     of the whole row and the other three sit in white space */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6;
  line-clamp: 6; overflow: hidden;
}
.rev__cut { color: var(--ink-3); }
.rev__by {
  margin-top: auto; padding-top: .6rem; border-top: var(--line);
  display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline;
}
.rev__who { font-weight: 600; font-size: var(--t-sm); }
.rev__meta {
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.rev__src { margin-top: 1.1rem; font-size: var(--t-sm); color: var(--ink-2); }
.rev__src a { color: var(--green); font-weight: 600; border-bottom: 1px solid currentColor; }

@media (min-width: 640px) { .revs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .revs { grid-template-columns: repeat(4, 1fr); } }

/* --- menu jump list ------------------------------------------------------ */
.jump { margin: 1rem 0 1.6rem; }
.jump ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .4rem;
  /* five wrapped rows of section chips pushed the first dish a full screen
     down the page; one scrolling row costs 180px less */
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.jump ul::-webkit-scrollbar { display: none; }
.jump li { flex: none; scroll-snap-align: start; }
@media (min-width: 900px) {
  .jump ul { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.jump a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .8rem;
  border: var(--line); border-radius: 99px;
  font-size: var(--t-sm); font-weight: 500;
  background: var(--paper);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.jump a:hover { border-color: var(--green); color: var(--green); }
.jump a span {
  font-family: var(--font-m); font-size: .64rem; color: var(--ink-3);
}

.dot--unknown { background: var(--ink-3); }

/* a scrolling row of chips looks merely clipped without an edge cue */
.filter, .jump { position: relative; }
.filter::after, .jump::after {
  content: ""; position: absolute; right: calc(var(--pad) * -1); top: 0; bottom: 0;
  width: 2.2rem; pointer-events: none;
  background: linear-gradient(270deg, var(--bone) 18%, transparent);
}
.band--paper .filter::after, .band--paper .jump::after {
  background: linear-gradient(270deg, var(--paper) 18%, transparent);
}
@media (min-width: 900px) {
  .filter::after, .jump::after { display: none; }
}

/* --- acrostic ------------------------------------------------------------
   The initial of each word is set large so a column reads down as SHRED and
   FARMER without the letters being repeated in the markup — a screen reader
   still hears "Strength", not "S, Strength".
   ------------------------------------------------------------------------ */
.acro__wrap {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3.4rem);
  grid-template-areas: "intro" "acro" "credit";
}
.acro__intro  { grid-area: intro; }
.acro         { grid-area: acro; }
.acro__credit { grid-area: credit; }
.acro__intro .lede { margin-top: .9rem; }

/* below 560px let the words decide: single column at 320px, two once they
   fit. Above that it is always exactly two — auto-fit would keep going. */
.acro {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.acro__label {
  font-family: var(--font-m);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 .5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
}

.acro__list { list-style: none; margin: 0; padding: 0; }

.acro__row {
  display: flex;
  align-items: baseline;
  gap: .06em;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  letter-spacing: -.01em;
  color: var(--ink-2);
  padding: .45rem 0;
  border-bottom: var(--line);
  transition: color .22s var(--ease);
}
.acro__row:last-child { border-bottom: 0; }
.acro__row:hover { color: var(--ink); }

.acro__cap {
  font-weight: 700;
  font-size: 1.7em;
  line-height: .8;
  color: var(--green);
  min-width: .72em;
}

.acro__credit {
  margin-top: clamp(1.4rem, 4vw, 1.9rem);
  padding-top: 1rem;
  border-top: var(--line);
  font-size: var(--t-sm);
  color: var(--ink-2);
  max-width: 42ch;
}
.acro__credit a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* rows arrive one after another, but only where the reveal is armed at all —
   with JS off or motion reduced they are simply already there */
.acro__col.rv-armed .acro__row { opacity: 0; transform: translateY(6px); }
.acro__col.rv-armed.is-in .acro__row {
  opacity: 1; transform: none;
  transition: opacity .45s var(--ease) calc(var(--i) * 65ms),
              transform .45s var(--ease) calc(var(--i) * 65ms),
              color .22s var(--ease);
}

@media (min-width: 560px) {
  .acro { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .acro__wrap {
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas: "intro acro" "credit acro";
    gap: clamp(1.4rem, 3vw, 2rem) clamp(3rem, 7vw, 5.5rem);
    align-content: center;
  }
  .acro__credit { align-self: start; }
}

/* --- clips in a scroller ------------------------------------------------- */
/* The clip card is the still card with a <video> where the <picture> goes, so
   both sit in one scroller without the row height jumping between them. */
.shot--clip .clip {
  position: relative;
  aspect-ratio: var(--ratio, 4/5);
  background: var(--ink);
  border-radius: inherit;
  overflow: hidden;
}
.shot--clip .clip__v {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
.clip__btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border: 0; padding: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* the hit area is the whole card; only the disc is drawn */
.clip__btn::before {
  content: "";
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #0b0f0c66;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #ffffff40;
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
}
.clip__i {
  position: absolute;
  width: 17px; height: 17px;
  fill: currentColor;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.clip__i--play  { transform: translateX(1px); }
.ic--sound, .ic--mute { transition: opacity .2s var(--ease); }
.clip__btn[aria-pressed="true"] .clip__i--play,
.clip__btn:not([aria-pressed="true"]) .clip__i--pause { opacity: 0; }
.clip__btn:hover::before { background: #0b0f0c99; transform: scale(1.08); }
.clip__btn:focus-visible { outline: 3px solid var(--green-lit); outline-offset: -5px; }

/* while it is playing the control recedes, and comes back on approach */
.shot--clip.is-playing .clip__btn::before { opacity: 0; }
.shot--clip.is-playing .clip__btn:hover::before,
.shot--clip.is-playing .clip__btn:focus-visible::before { opacity: 1; }
.shot--clip.is-playing .clip__i { opacity: 0; }
.shot--clip.is-playing .clip__btn:hover .clip__i--pause,
.shot--clip.is-playing .clip__btn:focus-visible .clip__i--pause { opacity: 1; }

/* outside a scroller a portrait clip has no column to constrain it */
.shot--solo { max-width: 330px; margin: 1.9rem auto 0; }
.shot--solo figcaption {
  position: static; padding: .7rem 0 0;
  background: none; color: var(--ink-2); font-weight: 500;
}

/* sound is opt-in per clip; muted autoplay is the only kind browsers allow
   anyway, so this is a real choice rather than a fake one */
.clip__sound {
  position: absolute; left: .55rem; bottom: .55rem;
  z-index: 2;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #ffffff40;
  background: #0b0f0c8c;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s var(--ease), background .2s var(--ease);
}
.shot--clip.is-playing .clip__sound,
.clip__sound:focus-visible { opacity: 1; }
.clip__sound:hover { background: #0b0f0cc4; }
.clip__sound:focus-visible { outline: 3px solid var(--green-lit); outline-offset: 2px; }
.clip__sound .ic { position: absolute; width: 15px; height: 15px; }
.clip__sound[aria-pressed="true"] .ic--mute,
.clip__sound:not([aria-pressed="true"]) .ic--sound { opacity: 0; }
@media (hover: none) { .shot--clip .clip__sound { opacity: 1; } }

.clip__tag {
  position: absolute; top: .6rem; right: .6rem;
  z-index: 2;
  font-family: var(--font-m); font-size: .6rem;
  letter-spacing: .08em;
  padding: .2rem .42rem;
  border-radius: 99px;
  background: #0b0f0c8c;
  color: #fff;
  transition: opacity .3s var(--ease);
}
.shot--clip.is-playing .clip__tag { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .clip__btn::before, .clip__i { transition: none; }
  .shot--clip.is-playing .clip__btn::before,
  .shot--clip.is-playing .clip__i { opacity: 1; }   /* control stays put */
}

/* --- calculator ---------------------------------------------------------- */
.calc {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--lift);
}
.calc__grid { display: grid; gap: .75rem; }
.field { display: grid; gap: .4rem; }
.field > span {
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
}
.field input, .field select {
  font: inherit;
  min-height: 46px;
  padding: .6rem .85rem;
  border: 1.5px solid var(--sand-deep);
  border-radius: 10px;
  background: var(--bone);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--green); }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: .3rem; }
.seg button {
  min-height: 44px;
  padding: .45rem .55rem;
  border: 1.5px solid var(--sand-deep);
  border-radius: 10px;
  background: var(--bone);
  font-size: var(--t-sm); font-weight: 600;
}
.seg button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--bone); }

.calc__out {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: var(--line);
}
.calc__nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.calc__nums div {
  background: var(--green-wash); border-radius: 12px; padding: .65rem .75rem;
}
.calc__nums dt {
  font-family: var(--font-m); font-size: .6rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--green);
  white-space: nowrap;
}
.calc__nums dd {
  font-family: var(--font-d); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -.03em; color: var(--on-wash); margin-top: .1rem;
}
.calc__nums dd { display: flex; align-items: baseline; gap: .18rem; }
.calc__nums dd small { font-size: .8rem; font-weight: 500; opacity: .7; }
.calc__note { font-size: var(--t-xs); color: var(--ink-3); margin-top: .8rem; }

/* On a desktop the form was a tall single column with the answer pushed off
   the bottom of the screen — inputs and result now sit side by side so a
   change and its effect are visible at the same time. */
@media (min-width: 920px) {
  .calc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
    gap: 1.3rem 1.6rem;
    align-items: start;
  }
  /* form and day split stack down the left; numbers, actions and the caveat
     run down the right as one rail, so neither column strands empty space */
  .calc__grid { grid-column: 1; grid-row: 1; align-content: start; }
  .calc .day  { grid-column: 1; grid-row: 2; margin-top: 0; align-self: start; }
  .calc__out {
    grid-column: 2; grid-row: 1 / span 2;
    align-self: start;
    margin-top: 0; padding-top: 0; border-top: 0;
    display: flex; flex-direction: column; gap: 1.1rem;
  }
  .calc__out > * { margin-top: 0; }
  .calc__nums { grid-template-columns: repeat(2, 1fr); }
}

/* --- FAQ ----------------------------------------------------------------- */
.qas { border-top: var(--line); }
.qa { border-bottom: var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0;
  min-height: 56px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__x {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round;
  transition: transform .28s var(--ease);
}
.qa[open] .qa__x { transform: rotate(135deg); }
.qa__a { padding-bottom: 1.1rem; }
.qa__a p { color: var(--ink-2); max-width: 62ch; }

/* --- journal ------------------------------------------------------------- */
.posts { display: grid; gap: 1.1rem; }
.post {
  display: grid; gap: .9rem;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, transform .25s var(--ease);
}
.post:hover { border-color: var(--sand-deep); transform: translateY(-3px); box-shadow: var(--lift); }
.post .ph img { transition: transform .7s var(--ease), opacity .55s var(--ease), clip-path .75s var(--ease); }
.post:hover .ph img { transform: scale(1.04); }
.post__body { padding: 0 1.2rem 1.3rem; display: grid; gap: .5rem; }
.post__meta {
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.post h2, .post h3 { font-size: 1.18rem; }
.post p { color: var(--ink-2); font-size: var(--t-sm); }

.artmeta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  font-family: var(--font-m); font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 1.4rem; margin-bottom: 1.8rem;
  border-bottom: var(--line);
}

/* --- misc ---------------------------------------------------------------- */
.quote {
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.02em;
  max-width: 22ch;
}
.quote + .quote__by {
  margin-top: 1rem;
  font-family: var(--font-m); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.band--green .quote__by, .band--dark .quote__by { color: #a6b0a4; }

.steps { counter-reset: s; display: grid; gap: 1.1rem; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem;
  align-items: start;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-m); font-size: .8rem;
  color: var(--green); padding-top: .15rem;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-2); font-size: var(--t-sm); margin-top: .25rem; }
.band--green .steps p, .band--dark .steps p { color: #c7d0c6; }
.band--green .steps li::before, .band--dark .steps li::before { color: #8fd0a5; }

.checks { display: grid; gap: .55rem; }
.checks li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .6rem; align-items: start; }
.checks .ic { color: var(--green); margin-top: .22rem; }
.band--green .checks .ic, .band--dark .checks .ic { color: #8fd0a5; }

.note {
  background: var(--clay-wash);
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.15rem;
  font-size: var(--t-sm);
  color: #7a4326;
}

.cta {
  display: grid; gap: 1.2rem;
  text-align: left;
}

/* --- cross-document view transitions --------------------------------------
   A multi-page static site gets to feel like an app for two lines: supporting
   browsers cross-fade between navigations while the header, dock and footer
   stay put. Everywhere else this is inert. */
@view-transition { navigation: auto; }

.hdr  { view-transition-name: hdr; }
.dock { view-transition-name: dock; }
.foot { view-transition-name: foot; }

::view-transition-old(root) { animation: vtOut .22s var(--ease) both; }
::view-transition-new(root) { animation: vtIn  .32s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

/* --- reveal animation ----------------------------------------------------
   `.rv` alone is visible. JS arms the hidden state only once it knows it can
   also un-hide it, so a script error or a blocked file can never leave the
   page with invisible sections. */
.rv-armed { opacity: 0; transform: translateY(14px); }
.rv-armed.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* --- responsive ---------------------------------------------------------- */
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .calc__nums { grid-template-columns: repeat(4, 1fr); }
}
/* ...but once the estimator is side by side, four across is far too narrow */
@media (min-width: 920px) {
  .calc__nums { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 560px) {
  .scroller { grid-auto-columns: 40vw; }
  .dish { grid-template-columns: 120px 1fr; }
  .cta { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 720px) {
  .card { grid-template-columns: 1fr; gap: .55rem; padding: 1.4rem; }
  .card__ic { grid-row: auto; margin-bottom: .2rem; }
  .card > :not(.card__ic) { grid-column: 1; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 1.15fr 1fr; }
  .hero__in { grid-template-columns: 1.06fr .94fr; align-items: center; }
  .scroller { grid-auto-columns: 30vw; }
}

@media (min-width: 900px) {
  .filter {
    margin-inline: 0;
    padding-inline: 0;
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: none;
    border-bottom: var(--line);
    padding-bottom: .85rem;
  }
  .scroller {
    grid-auto-flow: row;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: var(--gap);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .nav { display: block; }
  .burger { display: none; }
  .hdr__call, .status { display: flex; }
  .dock { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-top: 6rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .posts--3 { grid-template-columns: repeat(3, 1fr); }
  .scroller { grid-auto-columns: 24vw; }
  .filter { top: 62px; }
}

@media (min-width: 1040px) {
  .dishes { grid-template-columns: repeat(2, 1fr); }
}

/* --- dark mode ----------------------------------------------------------- */
/* --- dark theme ----------------------------------------------------------
   Declared twice on purpose. The media query serves visitors who never touch
   the toggle; the attribute serves the ones who do. Without the second copy
   the button set data-theme and nothing on the page changed.
   ------------------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bone:   #11150f;
    --paper:  #171c15;
    --sand:   #2a3126;
    --sand-deep: #3b4436;
    --ink:    #eef0ea;
    --ink-2:  #a8b0a4;
    --ink-3:  #7e867a;
    --green:      #6fbc8b;
    --green-deep: #0d1a12;
    --green-lit:  #86d3a2;
    --green-wash: #1b2a1f;
    --on-wash:    #9adcb4;
    --clay:       #d98a5f;
    --clay-wash:  #2b1d14;
    --lift: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px -14px rgb(0 0 0 / .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
    --bone:   #11150f;
    --paper:  #171c15;
    --sand:   #2a3126;
    --sand-deep: #3b4436;
    --ink:    #eef0ea;
    --ink-2:  #a8b0a4;
    --ink-3:  #7e867a;
    --green:      #6fbc8b;
    --green-deep: #0d1a12;
    --green-lit:  #86d3a2;
    --green-wash: #1b2a1f;
    --on-wash:    #9adcb4;
    --clay:       #d98a5f;
    --clay-wash:  #2b1d14;
    --lift: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px -14px rgb(0 0 0 / .8);
}

/* the same component overrides, for each way of arriving at dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band--green { background: #0d2417; }
  :root:not([data-theme="light"]) .band--paper { background: #141810; }
  :root:not([data-theme="light"]) .band--dark { background: #0d100b; }
  :root:not([data-theme="light"]) .ticker { background: #0b1a11; color: #b6c6b6; }
  :root:not([data-theme="light"]) .ticker::before { background: linear-gradient(90deg, #0b1a11 12%, transparent); }
  :root:not([data-theme="light"]) .ticker::after { background: linear-gradient(270deg, #0b1a11 12%, transparent); }
  :root:not([data-theme="light"]) .band--green .btn--green { background: var(--green); color: #08130c; }
  :root:not([data-theme="light"]) .note { color: #e7c0a5; }
  :root:not([data-theme="light"]) .dot--veg { border-color: #6fbc8b; }
  :root:not([data-theme="light"]) .dot--veg::after { background: #6fbc8b; }
  :root:not([data-theme="light"]) .shot:not(.chapter__art):not(.shot--solo) figcaption { background: linear-gradient(transparent, #000000d9); }
}
:root[data-theme="dark"] .band--green { background: #0d2417; }
:root[data-theme="dark"] .band--paper { background: #141810; }
:root[data-theme="dark"] .band--dark { background: #0d100b; }
:root[data-theme="dark"] .ticker { background: #0b1a11; color: #b6c6b6; }
:root[data-theme="dark"] .ticker::before { background: linear-gradient(90deg, #0b1a11 12%, transparent); }
:root[data-theme="dark"] .ticker::after { background: linear-gradient(270deg, #0b1a11 12%, transparent); }
:root[data-theme="dark"] .band--green .btn--green { background: var(--green); color: #08130c; }
:root[data-theme="dark"] .note { color: #e7c0a5; }
:root[data-theme="dark"] .dot--veg { border-color: #6fbc8b; }
:root[data-theme="dark"] .dot--veg::after { background: #6fbc8b; }
:root[data-theme="dark"] .shot:not(.chapter__art):not(.shot--solo) figcaption { background: linear-gradient(transparent, #000000d9); }


/* the green mark all but disappears on the dark ground */
:root[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { filter: brightness(0) invert(1); }
}

/* --- motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .rv-armed { opacity: 1; transform: none; }
  .ph img { opacity: 1; clip-path: none; transform: none; }
  .js .hero h1 > span, .js .hero .lede, .js .hero .btnrow { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .ph img { opacity: 1; }
  .ticker__row { animation: none; }
}

@media print {
  .hdr, .dock, .sheet, .ticker, .filter { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --- footer -------------------------------------------------------------- */
.foot {
  background: var(--green-deep);
  color: #d8e0d6;
  padding-block: clamp(2.6rem, 6vw, 4rem) 1.6rem;
  margin-bottom: 68px;                 /* clears the mobile dock */
}
.foot a { color: inherit; }
.foot a:hover { color: #fff; }

.foot__top { display: grid; gap: 2rem; }
.foot__brand img { width: 78px; filter: brightness(0) invert(1); opacity: .92; }
.foot__line {
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: #a3b2a1; margin-top: .8rem;
}

.foot__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
.foot__nav h2 {
  font-family: var(--font-m); font-size: .66rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #9fae9d;
  margin-bottom: .6rem;
}
.foot__nav li a { display: block; padding: .38rem 0; font-size: var(--t-sm); }

.foot__addr {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid #ffffff1f;
  display: grid; gap: .3rem;
}
.foot__addr address { font-style: normal; font-size: var(--t-sm); color: #b9c4b7; }
.foot__addr p { font-size: var(--t-sm); color: #8b9a89; }

.foot__end {
  margin-top: 1.6rem; padding-top: 1.1rem;
  border-top: 1px solid #ffffff14;
  display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between;
  font-size: var(--t-xs); color: #a3b2a1;
}
.foot__end a {
  border-bottom: 1px solid #ffffff33;
  display: inline-block; padding-block: .45rem;   /* a real target, not a 16px sliver */
}

@media (min-width: 720px) {
  .foot__top { grid-template-columns: 1fr 2fr; gap: 3rem; }
  .foot__nav { grid-template-columns: repeat(3, 1fr); }
  .foot__addr { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 900px) { .foot { margin-bottom: 0; } }

/* --- house signature marker ---------------------------------------------- */
.dish.is-sig { border-color: color-mix(in srgb, var(--green) 34%, var(--sand)); }
.dish__sig {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .6rem;
  font-family: var(--font-m);
  font-size: .64rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--green);
}
.dish__sig .ic { stroke-width: 1.7; }

/* --- the estimator's day plan -------------------------------------------- */
.day {
  margin-top: 1.4rem;
  border: var(--line);
  border-radius: var(--r);
  background: var(--bone);
  padding: 1.05rem 1.1rem 1.15rem;
}
.day__h {
  display: flex; align-items: center; gap: .5rem;
  font-size: .95rem; margin-bottom: .8rem;
}
.day__h .ic { color: var(--green); }
.day__list { display: grid; gap: 1px; background: var(--sand); border-radius: 10px; overflow: hidden; }
.day__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  background: var(--paper);
  padding: .65rem .8rem;
}
.day__when { font-weight: 600; font-size: var(--t-sm); min-width: 0; }
.day__n { font-family: var(--font-m); font-size: .76rem; color: var(--ink-2);
          text-align: right; white-space: nowrap; }
.day__n b { color: var(--green); font-weight: 500; }
.day__note { font-size: var(--t-xs); color: var(--ink-3); margin-top: .75rem; }

.calc__acts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.calc__acts .btn { flex: 1 1 auto; }
#calc-status:empty { display: none; }
#calc-status { color: var(--green); font-weight: 600; }

@media print {
  .calc__grid, .calc__acts, .day__note, .hero, .band--green, .band--dark { display: none !important; }
  .calc { border: 0; box-shadow: none; padding: 0; }
  .calc__out { display: block !important; }
  .band { padding-block: 0; }
}
