/* Seasonal — base.css
   Shared styles for all editions.
   Monthly palette variables are defined in edition-specific CSS files (e.g. july.css).
   Illustrations: inline SVGs in this prototype are original provisional artwork,
   not commissioned botanical plates. They are designed to test scale, placement,
   and visual register and are intended to be replaced. */

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.6;
}

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.025em;
  margin-top: 0;
}
h1 {
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  line-height: .84;
  letter-spacing: -.055em;
  margin: 0 0 20px;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; margin: 8px 0 14px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin: 4px 0 8px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.sans {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eyebrow, .section-label {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--muted);
}

/* ─── Layout ─────────────────────────────────────────── */
.page {
  width: min(1160px, calc(100% - 32px));
  margin: 24px auto 80px;
}

.page--ingredient {
  width: min(860px, calc(100% - 32px));
}

/* ─── Masthead ───────────────────────────────────────── */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px 20px;
  flex-wrap: wrap;
}
.brand {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}
.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .88rem;
  color: var(--muted);
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  padding: 54px 0 28px;
  align-items: end;
}
.dek {
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  color: #39453e;
  line-height: 1.35;
  margin: 0;
  max-width: 680px;
}
.month-card {
  background: var(--primary);
  color: #fff;
  padding: 26px;
  min-height: 240px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.month-card .eyebrow { color: rgba(255,255,255,.7); }
.month-card .big {
  font-size: 3rem;
  line-height: .98;
  margin: 14px 0 6px;
}
/* Stacked on desktop; collapses to one line on mobile, where three lines of
   3rem type pushed the first useful thing on the page below the fold. */
.month-card-item { display: block; }
.month-card-sep  { display: none; }
.month-card .sub {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .88rem;
  opacity: .85;
}

/* ─── Grid ───────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 20px;
  /* Cards take their natural height. Stretching a 40-word aside to match a
     recipe beside it produced large empty panels that read as a mistake. */
  align-items: start;
}

/* ─── Running header ─────────────────────────────────── */
/* Sits in flow below the hero, then pins once scrolled past. No JS. */
.jump-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 26px 0 4px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.jump-bar-inner {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
  /* Fades the last link where the row scrolls; invisible when it all fits,
     since the fade resolves to the page background either way. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
}
.jump-bar-inner::-webkit-scrollbar { display: none; }
.jump-bar a {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.jump-bar a:hover { color: var(--primary); }

/* Keep a jumped-to heading clear of the pinned bar. */
.grid > [id] { scroll-margin-top: 62px; }

/* ─── Sections ───────────────────────────────────────── */
/* The default treatment: a rule, a label, and content. Reserved cards are the
   exception — see .card below. Modelled on Field Notes, which was the most
   readable block on the page precisely because it was never boxed. */
.section {
  padding: 34px 0 10px;
  border-top: 1px solid var(--line);
}
.section > h2 { margin-bottom: 10px; }
.section-dek {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .92rem;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 20px;
}
/* Short editorial asides: full width, but held to a readable measure. */
.section--aside > h2,
.section--aside > p {
  max-width: 40ch;
}
.section--aside > p {
  font-size: 1.02rem;
  color: #3d4842;
}
/* One-line summary in a block whose full version lives on its own page. */
.linkout-line {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .9rem;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 62ch;
  margin-bottom: 14px;
}

/* ─── Cards ──────────────────────────────────────────── */
/* Only for material that genuinely isn't prose: the shopping list you scan in
   a store, and the month card. */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
}
.card p { color: #3d4842; }

.card--dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.card--dark p { color: #dce7df; }
.card--dark .section-label { color: rgba(255,255,255,.55); }

.card--cream { background: var(--cream); border-color: var(--cream); }
.card--warm  { background: #e9ddc7; border-color: #e0d3ba; }

/* ─── Column spans ───────────────────────────────────── */
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-12 { grid-column: 1 / -1; }

/* ─── Basket ingredient tiles ────────────────────────── */
.basket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.ingredient-tile {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 14px;
  text-decoration: none;
  background: #fffaf2;
  display: block;
  transition: border-color .15s;
}
.ingredient-tile:hover { border-color: var(--primary); }
.ingredient-tile strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: .97rem;
}
.ingredient-tile span {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.4;
}

/* ─── Confidence score ───────────────────────────────── */
.score-number {
  font-size: 5rem;
  line-height: 1;
  margin: 12px 0 6px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  margin: 5px 5px 0 0;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .8rem;
}
.score-note {
  margin-top: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .8rem;
  opacity: .65;
  line-height: 1.4;
}

/* ─── Hero thesis ────────────────────────────────────── */
.thesis {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 10px;
}

/* ─── Shopping card ──────────────────────────────────── */
.bring-home-heading h2 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.bring-home-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bring-home-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .88rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.bring-home-name {
  font-weight: 600;
}
.bring-home-qty {
  text-align: right;
  opacity: .75;
  white-space: nowrap;
}
.bring-home-note {
  grid-column: 1 / -1;
  font-size: .78rem;
  opacity: .65;
}
/* Revealed only below 860px, where the basket tile grid is hidden and this
   list carries both jobs. See the merge rule in the responsive block. */
.bring-home-uses {
  display: none;
  grid-column: 1 / -1;
  font-size: .78rem;
  opacity: .8;
}

/* ─── Field notes ────────────────────────────────────── */
/* Separators sit on top of each note rather than between them, so any number
   of notes tiles cleanly without last-child special cases. */
.field-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 0;
  margin-top: 20px;
}
.field-note {
  padding: 22px 28px 22px 0;
  border-top: 1px solid var(--line);
}
.field-note:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.field-note-name {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.field-note-body {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ─── Meal transformations ───────────────────────────── */
.transformations {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
}
.transformation-row {
  display: grid;
  grid-template-columns: 140px 24px 1fr auto;
  align-items: baseline;
  gap: 0 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.transformation-row:last-child { border-bottom: none; }
.transformation-meal {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.transformation-arrow {
  color: var(--muted);
  font-size: .9rem;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.transformation-change {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .93rem;
  color: #3d4842;
}
.transformation-result {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  text-align: right;
  font-style: italic;
  white-space: nowrap;
}

/* ─── Week buckets ───────────────────────────────────── */
.week-buckets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 22px;
}
.week-bucket-label {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
}
.week-meal {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.week-meal:last-child { border-bottom: none; }
.week-meal-name {
  display: block;
  font-family: Georgia, serif;
  font-size: .97rem;
  color: var(--ink);
}
.week-meal-note {
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .83rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── Two-column recipe layout ───────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.two-col strong {
  display: block;
  margin-bottom: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.two-col ul { margin: 0; padding-left: 18px; }
.two-col li { font-size: .95rem; margin-bottom: 4px; }
.two-col p {
  font-size: .95rem;
  color: #3d4842;
  line-height: 1.55;
}

/* ─── House drink ────────────────────────────────────── */
.drink-intro {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 18px;
}
.drink-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 4px;
}
.drink-method {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .93rem;
  color: #3d4842;
  line-height: 1.55;
  margin: 6px 0 0;
}
.drink-try { margin-top: 0; }
.drink-try-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.drink-try-row:last-child { border-bottom: none; }
.drink-try-change {
  display: block;
  font-family: Georgia, serif;
  font-size: .97rem;
  color: var(--ink);
}
.drink-try-context {
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .84rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

/* ─── Pull quote ─────────────────────────────────────── */
.pull-quote {
  margin: 36px 0 0;
  padding: 36px 0 12px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
}

/* ─── Ingredient index page ──────────────────────────── */
.ingredient-index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;                   /* hairline grid between tiles */
  margin-top: 24px;
  border: 1px solid var(--line);
}
.ingredient-index-tile {
  padding: 24px 20px;
  text-decoration: none;
  background: var(--paper);
  display: block;
  border: none;
}
.ingredient-index-tile:hover { background: var(--bg); }
.ingredient-index-tile strong {
  display: block;
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.ingredient-index-tile .why {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ─── Individual ingredient page ─────────────────────── */

/*
 * Illustration slot — hidden by default.
 * When commissioned artwork is ready, place the <img> or <svg> inside
 * .illustration-slot and set the rule below to display:block in the
 * edition CSS (e.g. july.css). No template changes required.
 */
.illustration-slot {
  display: none;
}

.ingredient-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
  max-width: 760px;
}
.ingredient-header .section-label {
  margin-bottom: 10px;
}
.ingredient-header h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 16px;
  line-height: .88;
  letter-spacing: -.04em;
}
.ingredient-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 36px;
}
.ingredient-main section {
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.ingredient-main section:first-child { border-top: none; padding-top: 0; }
.ingredient-sidebar section {
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.ingredient-sidebar section:first-child { border-top: none; padding-top: 0; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.checklist li {
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .93rem;
  line-height: 1.4;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.back-link {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.back-link:hover { color: var(--ink); }

/* ─── Individual meal page ───────────────────────────── */
.page--meal { width: min(860px, calc(100% - 32px)); }

.meal-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}
.meal-header h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 16px;
  line-height: .88;
  letter-spacing: -.04em;
}
.meal-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 36px;
}
/* Pages with no sidebar (the drink, the weekend meal) run one full column
   rather than leaving the sidebar's third of the page empty. */
.meal-body--solo { grid-template-columns: minmax(0, 1fr); }
.meal-main section {
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.meal-main section:first-child { border-top: none; padding-top: 0; }
.meal-sidebar section {
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.meal-sidebar section:first-child { border-top: none; padding-top: 0; }
.meal-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* July adds — anchor + options structure */
.meal-adds-group { margin-bottom: 4px; }
.meal-adds-sublabel {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 2px;
}
.meal-adds-group:first-child .meal-adds-sublabel { margin-top: 0; }

/* Field notes sidebar — titles only */
.meal-field-notes-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.meal-field-note-title {
  font-family: Georgia, serif;
  font-size: .93rem;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.meal-field-note-title:last-child { border-bottom: none; }

/* Variations */
.meal-variations { margin-top: 10px; }
.meal-variation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.meal-variation:last-child { border-bottom: none; }
.meal-variation-ingredients {
  font-family: Georgia, serif;
  font-size: .97rem;
  color: var(--ink);
}
.meal-variation-context {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .84rem;
  color: var(--muted);
  font-style: italic;
  text-align: right;
  white-space: nowrap;
}

/* Field note excerpts in meal sidebar */
.meal-field-note {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.meal-field-note:last-child { border-bottom: none; }
.meal-field-note-name {
  font-family: Georgia, serif;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.meal-field-note-body {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* Transformation row links */
.transformation-meal a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--primary);
}
.transformation-meal a:hover { color: var(--primary); }

/* ─── House Flavor ───────────────────────────────────── */
.house-flavor-section {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}
.house-flavor-section .section-label { margin-bottom: 4px; }
.house-flavor-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 6px;
}
.house-flavor-tagline {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .97rem;
  color: var(--muted);
  margin: 0 0 16px;
  font-style: italic;
}
.house-flavor-card-uses {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.house-flavor-card-uses li {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .93rem;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}
.house-flavor-card-uses li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.house-flavor-cta {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .93rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.house-flavor-cta:hover { text-decoration: underline; }

/* House Flavor — two-jar layout */
.house-flavor-two-lives {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--ink);
  margin: 0 0 28px;
  line-height: 1.4;
}
.house-flavor-two-jars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.house-flavor-jar {
  padding-bottom: 8px;
}
.house-flavor-jar-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: normal;
  margin: 0 0 6px;
}
@media (max-width: 600px) {
  .house-flavor-two-jars {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}

/* House Flavor — full page */
.house-flavor-method {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .97rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 16px 0 12px;
}
.house-flavor-storage {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 32px;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.house-flavor-uses { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.house-flavor-use {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.house-flavor-use:first-child { border-top: none; padding-top: 0; }
.house-flavor-use-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.house-flavor-use-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.house-flavor-use-action {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
  white-space: nowrap;
}
.house-flavor-use-context {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.house-flavor-meal-link { color: var(--primary); text-decoration: none; }
.house-flavor-meal-link:hover { text-decoration: underline; }
.house-flavor-sidebar-link { color: var(--primary); text-decoration: none; }
.house-flavor-sidebar-link:hover { text-decoration: underline; }

/* ─── Footer ─────────────────────────────────────────── */
footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1000px) {
  .ingredient-index-grid { grid-template-columns: repeat(2, 1fr); }
  /* Four tiles inside a narrowed col-8 wrap to three or four lines each.
     Two columns keeps the tiles legible until the merge takes over at 860px. */
  .basket-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 16px; gap: 18px; }
  .month-card { min-height: 0; padding: 18px 20px; }
  .month-card .big { font-size: 1.85rem; line-height: 1.12; margin: 8px 0 5px; }
  .month-card-item { display: inline; }
  .month-card-sep  { display: inline; opacity: .5; }

  .grid > [id] { scroll-margin-top: 52px; }
  .col-8, .col-7, .col-5, .col-4, .col-12 { grid-column: 1 / -1; }

  /* ── The basket merge ──────────────────────────────
     Stacked into one column, the tile grid and the shopping list became the
     same eight ingredients listed twice in a row — over two phone screens of
     repetition. Below this breakpoint the tiles are dropped and each shopping
     row grows a uses line, so one list answers both what to buy and what for.
     The side-by-side pairing is kept above 860px, where it reads as intended. */
  #basket .basket-grid { display: none; }
  #basket { padding-bottom: 0; }
  .bring-home-uses { display: block; }
  .bring-home-row { gap: 3px 10px; padding-bottom: 11px; }
  /* The basket section heading above now introduces this list, so the card's
     own heading would be the second of two stacked headings saying one thing. */
  .bring-home-heading { display: none; }
  .card--dark { margin-top: 4px; }

  .basket-grid { grid-template-columns: repeat(2, 1fr); }
  .week-buckets { grid-template-columns: 1fr; gap: 24px; }
  .two-col { grid-template-columns: 1fr; }
  .ingredient-body { grid-template-columns: 1fr; }
  .transformation-row { grid-template-columns: 1fr; gap: 2px; }
  .transformation-arrow { display: none; }
  .transformation-result { text-align: left; }
  .field-notes { grid-template-columns: 1fr; }
  .field-note,
  .field-note:nth-child(even) {
    padding: 20px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .section { padding-top: 28px; }
  .meal-body { grid-template-columns: 1fr; }
  .meal-index-grid { grid-template-columns: 1fr; }
  .meal-variation { grid-template-columns: 1fr; gap: 2px; }
  .meal-variation-context { text-align: left; white-space: normal; }
  .drink-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ingredient-index-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .ingredient-index-grid { grid-template-columns: 1fr; }
  .basket-grid { grid-template-columns: 1fr; }
}

/* ─── Publication homepage ───────────────────────────────── */
.page--home .masthead {
  border-bottom: none;
}
.pub-intro {
  max-width: 680px;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.pub-headline {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.03em;
  margin-bottom: 32px;
}
.pub-body {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 560px;
}
.pub-edition-card {
  padding-bottom: 80px;
}
.edition-entry {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 16px;
  max-width: 600px;
}
.edition-entry:hover .edition-entry-cta {
  opacity: 1;
}
.edition-entry-month {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .88;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.edition-entry-location {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.edition-entry-note {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 480px;
}
.edition-entry-cta {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .9rem;
  color: var(--primary);
  opacity: .75;
  transition: opacity .15s;
}
.pub-next {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 600px;
}
.pub-next-month {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 8px 0 4px;
  color: var(--muted);
}
.pub-next-status {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  opacity: .7;
}

/* ─── Past editions (archive) ────────────────────────── */
.pub-past {
  /* Matches .pub-intro's measure so both full-width rules line up. */
  max-width: 680px;
  border-top: 1px solid var(--line);
  padding: 40px 0 80px;
}
.past-edition-list {
  margin-top: 20px;
  max-width: 600px;
}
.past-edition {
  display: grid;
  grid-template-columns: minmax(0, 7rem) 1fr;
  align-items: baseline;
  gap: 4px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.past-edition:first-child {
  border-top: 1px solid var(--line);
}
.past-edition-month {
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--muted);
  transition: color .15s;
}
.past-edition:hover .past-edition-month {
  color: var(--primary);
}
.past-edition-taste {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.past-edition-sub {
  grid-column: 2;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: .8;
}
.pub-past-note {
  margin-top: 20px;
  max-width: 480px;
  font-size: .9rem;
  color: var(--muted);
  opacity: .75;
}
@media (max-width: 560px) {
  .past-edition {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .past-edition-sub {
    grid-column: 1;
  }
}
