:root {
  --paper: #fbfaf7;
  --paper-warm: #f3f0e8;
  --ink: #151813;
  --ink-soft: #55584f;
  --sage: #728269;
  --sage-dark: #5c6d55;
  --sage-pale: #e8eee4;
  --line: #d9dbd2;
  --white: #ffffff;
  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Trebuchet MS", Arial, sans-serif;
  --script: "Segoe Print", "Bradley Hand", cursive;
  --container: min(1040px, calc(100vw - 48px));
  --shadow: 0 12px 32px rgba(40, 45, 36, 0.09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.container { width: var(--container); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 9px 14px;
  font-family: var(--sans);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid #ecece7;
}
.header-top {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
}
.header-side-note {
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.31em;
  line-height: 1.75;
  text-transform: uppercase;
  color: #7e8178;
}
.header-side-note--right {
  justify-self: end;
  max-width: 96px;
  font-family: var(--script);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  transform: rotate(-3deg);
}
.wordmark { display: block; width: min(370px, 44vw); text-decoration: none; }
.wordmark img { width: 100%; height: auto; }
.header-nav-row {
  position: relative;
  min-height: 49px;
  display: flex;
  justify-content: center;
  align-items: end;
}
.primary-nav { display: flex; align-items: end; justify-content: center; gap: 41px; }
.primary-nav a {
  position: relative;
  padding: 11px 0 12px;
  font-size: 0.93rem;
  line-height: 1;
  text-decoration: none;
}
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--sage);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button {
  display: none;
  min-height: 42px;
  border: 1px solid var(--sage-dark);
  background: var(--white);
  color: var(--ink);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Shared type and controls */
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.eyebrow {
  margin-bottom: 13px;
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lead { font-size: clamp(1.08rem, 1.8vw, 1.42rem); line-height: 1.5; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--sage-dark);
  background: var(--sage-dark);
  color: var(--white);
  cursor: pointer;
  padding: 10px 22px;
  font-size: 0.91rem;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.button:hover { background: #4b5d46; }
.button:disabled { cursor: wait; opacity: 0.68; }
.button--outline { background: rgba(255,255,255,0.72); color: var(--ink); }
.button--outline:hover { background: var(--white); color: var(--ink); }
.section { padding: 54px 0; }
.section--soft { background: linear-gradient(105deg, #faf9f5, #f0f1ea); }
.section-title {
  position: relative;
  width: fit-content;
  margin: 0 auto 28px;
  padding-inline: 82px;
  text-align: center;
}
.section-title::before,
.section-title::after {
  position: absolute;
  top: 17px;
  width: 50px;
  height: 1px;
  background: #9a9d93;
  content: "";
}
.section-title::before { left: 0; }
.section-title::after { right: 0; }
.section-title h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-title p {
  margin: 6px 0 0;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.29em;
  text-transform: uppercase;
}
.handwritten { font-family: var(--script); font-style: italic; }

/* Homepage */
.home-hero-exact { position: relative; overflow: hidden; background: #e7dfd0; }
.home-hero-exact > img { width: 100%; height: auto; }
.home-hero-copy { position: absolute; z-index: 2; top: 21%; left: 27%; width: 46%; text-align: center; }
.home-hero-copy h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 3.2rem); line-height: 1; }
.home-hero-copy > p { margin: 8px 0 0; font-size: clamp(0.7rem, 1.25vw, 1.15rem); line-height: 1.25; }
.home-hero-actions { display: flex; justify-content: center; gap: clamp(8px, 1.3vw, 16px); margin-top: clamp(11px, 1.5vw, 18px); }
.hero-hotspot { min-width: clamp(122px, 14vw, 170px); min-height: clamp(36px, 4.2vw, 48px); display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--sage-dark); padding: 9px 18px; font-family: var(--serif); font-size: clamp(0.82rem, 1.2vw, 1.08rem); line-height: 1; text-decoration: none; white-space: nowrap; }
.hero-hotspot--recipes { background: var(--sage-dark); color: var(--white); }
.hero-hotspot--books { background: rgba(251,250,247,0.98); color: var(--ink); }
.hero-hotspot:hover { filter: brightness(0.96); }
.hero-hotspot:focus-visible { outline: 3px solid var(--sage-dark); outline-offset: 2px; }
.home-hero-side-note { position: absolute; z-index: 2; left: 4.2%; bottom: 7.5%; margin: 0; color: var(--white); font-family: var(--sans); font-size: clamp(0.48rem, 0.67vw, 0.68rem); font-weight: 700; letter-spacing: 0.34em; line-height: 1.9; text-transform: uppercase; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.food-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.food-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40,45,36,0.14); }
.food-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.food-card-copy { position: relative; min-height: 74px; padding: 13px 43px 14px 17px; }
.food-card-copy .category {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}
.food-card-copy h3 { font-size: 1.27rem; }
.food-card-copy .arrow { position: absolute; right: 16px; bottom: 20px; color: var(--sage-dark); font-size: 1.2rem; }
.food-card-meta { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: #45483f; font-size: 0.79rem; }
.book-band { display: grid; grid-template-columns: 41% 37% 22%; min-height: 300px; background: var(--paper-warm); }
.book-band-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e7eadf, #f5f1e8);
  padding: 10px;
}
.book-band-image img {
  width: auto;
  height: 350px;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 15px 32px rgba(36,40,31,0.18);
}
.book-band-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px; text-align: center; }
.book-band-copy h2 { margin: 7px 0 5px; }
.book-band-copy .author { font-family: var(--sans); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.book-band-copy .coming { margin: 21px 0 10px; font-size: 1.25rem; }
.book-band-copy p:not(.eyebrow):not(.coming):not(.author) { max-width: 340px; }
.book-band-detail { position: relative; overflow: hidden; }
.book-band-detail img { width: 100%; height: 100%; object-fit: cover; }
.mission-strip {
  min-height: 138px;
  display: grid;
  place-items: center;
  background: linear-gradient(rgba(250,249,244,0.68), rgba(250,249,244,0.68)), url("../images/garden-detail.webp") center / cover no-repeat;
  text-align: center;
}
.mission-strip p { max-width: 650px; margin: 0; font-size: 1.23rem; line-height: 1.25; }
.mission-strip small { display: block; margin-top: 18px; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; }
.home-mission-exact { position: relative; overflow: hidden; background: #f2eee4; }
.home-mission-exact > img { width: 100%; height: auto; }
.home-mission-copy { position: absolute; inset: 0 27%; display: grid; place-content: center; justify-items: center; padding: 8px 18px; text-align: center; }
.home-mission-copy p { margin: 0; font-size: clamp(0.8rem, 1.7vw, 1.3rem); line-height: 1.27; }
.home-mission-copy > span { width: 34px; height: 1px; margin: 10px 0 8px; background: #7d8176; }
.home-mission-copy small { font-family: var(--sans); font-size: clamp(0.38rem, 0.72vw, 0.62rem); font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; white-space: nowrap; }

/* Newsletter and footer */
.newsletter-band { background: linear-gradient(90deg, #eff2eb, #f9f8f2); border-top: 1px solid #e3e5de; border-bottom: 1px solid #e3e5de; padding: 22px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1.25fr 0.85fr; align-items: center; gap: 42px; }
.newsletter-copy { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 18px; }
.leaf-mark { color: var(--sage-dark); font-size: 2.4rem; text-align: center; }
.newsletter-copy h2 { margin-bottom: 3px; font-size: 1.65rem; }
.newsletter-copy p { margin: 0; font-size: 0.88rem; }
.newsletter-widget { min-width: 0; width: 100%; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.newsletter-form label { grid-column: 1 / -1; }
.newsletter-form input { min-height: 43px; width: 100%; border: 1px solid #cfd3c8; background: var(--white); padding: 10px 13px; }
.form-status { grid-column: 1 / -1; min-height: 1.25em; margin: 3px 0 0; font-family: var(--sans); font-size: 0.78rem; }
.newsletter-consent { grid-column: 1 / -1; margin: 2px 0 0; color: #61665d; font-family: var(--sans); font-size: 0.68rem; line-height: 1.45; }
.newsletter-consent a { text-decoration: underline; text-underline-offset: 2px; }
.newsletter-success { border-left: 3px solid var(--sage-dark); background: rgba(255, 255, 255, 0.64); padding: 13px 15px; }
.newsletter-success p { margin: 0; font-family: var(--sans); font-size: 0.84rem; line-height: 1.5; }
.newsletter-form .loading[hidden] { display: none; }
.site-footer { background: var(--white); padding: 31px 0 35px; }
.footer-inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 44px; }
.footer-brand img { width: 188px; height: auto; }
.footer-nav { display: flex; justify-content: center; gap: 38px; }
.footer-nav a { font-size: 0.86rem; text-decoration: none; }
.footer-social { display: flex; align-items: center; gap: 17px; font-family: var(--sans); font-weight: 700; }
.footer-social span { min-width: 20px; text-align: center; }
.footer-tagline { margin-left: 18px; border-left: 1px solid #babdb5; padding-left: 22px; font-family: var(--script); color: #777c71; font-size: 0.82rem; line-height: 1.05; transform: rotate(-3deg); }
.footer-legal { display: grid; justify-items: center; gap: 10px; margin-top: 24px; color: #6f736a; font-family: var(--sans); font-size: 0.7rem; text-align: center; }
.footer-legal p { margin: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-legal-links a { text-underline-offset: 3px; }
.footer-legal-links a:hover { color: var(--sage-dark); }

/* Page banners */
.image-banner { position: relative; width: 100%; overflow: hidden; background: var(--paper-warm); }
.image-banner img { width: 100%; height: auto; }
.motto-banner img { width: 100%; height: auto; }
.page-hero {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: linear-gradient(rgba(250,249,245,0.64), rgba(250,249,245,0.64)), url("../images/garden-detail.webp") center / cover no-repeat;
  text-align: center;
}
.page-hero--about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(310px, 31vw, 430px);
  background: var(--paper-warm);
}
.page-hero--about .about-banner-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero--about::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,249,245,0.58), rgba(250,249,245,0.22) 35%, rgba(250,249,245,0.16) 65%, rgba(250,249,245,0.48));
  content: "";
}
.page-hero--about .page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(660px, calc(100vw - 48px));
  background: rgba(250,249,245,0.76);
  box-shadow: 0 12px 36px rgba(38,42,33,0.12);
  padding: 25px 32px 27px;
  backdrop-filter: blur(2px);
}
.page-hero--contact {
  background-image: linear-gradient(rgba(250,249,245,0.66), rgba(250,249,245,0.66)), url("../images/contact-sedum-banner.webp");
}
.page-hero .lead { margin: 10px 0 0; }

/* Recipe index */
.recipe-browser { padding-top: 28px; }
.recipe-browser-title { margin-bottom: 22px; }
.recipe-discovery { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 22px; margin-bottom: 30px; }
.recipe-search-panel, .recipe-finder { border: 1px solid var(--line); background: var(--white); padding: 22px; box-shadow: var(--shadow); }
.recipe-search-panel label, .recipe-finder label { display: block; margin-bottom: 5px; font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.recipe-search-panel p { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.86rem; }
.recipe-search-panel input, .recipe-finder select { width: 100%; min-height: 44px; border: 1px solid #bfc4b7; border-radius: 0; background: var(--white); padding: 9px 11px; color: var(--ink); }
.recipe-finder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; background: linear-gradient(135deg, #f4f4ed, #e9eee4); }
.recipe-finder-heading, .recipe-finder-actions { grid-column: 1 / -1; }
.recipe-finder-heading h3 { margin: 2px 0 8px; font-size: 1.5rem; }
.recipe-finder-heading .eyebrow { margin: 0; }
.recipe-finder-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.text-button { border: 0; background: transparent; color: var(--sage-dark); cursor: pointer; padding: 8px 0; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.filter-group { margin-bottom: 18px; }
.filter-label { margin: 0 0 8px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 0; }
.filters--season { gap: 8px 14px; }
.filter-button, .unit-button { min-height: 42px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; padding: 9px 18px; font-size: 0.89rem; }
.filter-button[aria-pressed="true"], .unit-button[aria-pressed="true"] { border-color: var(--sage-dark); background: var(--sage-dark); color: var(--white); }
.recipes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.recipes-grid .food-card-copy { min-height: 112px; }
.recipes-grid .food-card-copy h3 { font-size: 1.18rem; }
.food-card[hidden] { display: none; }
.recipe-count { margin: 20px 0 16px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.78rem; text-align: center; }
.recipe-empty { margin: 26px 0 0; border: 1px solid var(--line); background: var(--paper-warm); padding: 20px; color: var(--ink-soft); text-align: center; }

/* Recipe detail */
.recipe-title-band { border-bottom: 1px solid var(--line); background: linear-gradient(116deg, #f5f1e7 0%, #fbfaf6 55%, #e7eadf 100%); }
.recipe-title-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.7fr); align-items: end; gap: clamp(34px, 6vw, 82px); padding-top: 42px; padding-bottom: 42px; }
.recipe-title-copy { max-width: 800px; }
.recipe-title-copy h1 { max-width: 780px; margin: 8px 0 16px; color: var(--sage-dark); font-size: clamp(2.5rem, 5.3vw, 4.9rem); line-height: 0.98; }
.recipe-title-copy > p { max-width: 760px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.58; }
.recipe-labels { display: flex; flex-wrap: wrap; gap: 8px; }
.recipe-labels span { border: 1px solid #9aa28d; color: var(--sage-dark); padding: 5px 9px 4px; font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.recipe-facts { margin: 0; border-top: 1px solid #a9ad9f; padding: 0; list-style: none; }
.recipe-facts li { display: grid; grid-template-columns: 95px 1fr; gap: 16px; border-bottom: 1px solid #c8c9c0; padding: 10px 0; }
.recipe-facts strong { font-family: var(--sans); font-size: 0.69rem; letter-spacing: 0.11em; text-transform: uppercase; }
.recipe-facts span { font-size: 0.86rem; }
.recipe-layout { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(250px, 0.95fr); gap: 20px; align-items: start; padding: 32px 0 48px; }
.recipe-article { background: var(--white); box-shadow: var(--shadow); }
.recipe-main-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recipe-serving-image { margin: 0; border-top: 1px solid var(--line); }
.recipe-serving-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recipe-serving-image figcaption { background: #f6f5ef; padding: 10px 18px 12px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.76rem; }
.recipe-process-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.recipe-process-card { overflow: hidden; margin: 0; border: 1px solid var(--line); background: #f6f5ef; }
.recipe-process-card img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.recipe-process-card figcaption { display: grid; gap: 3px; padding: 9px 10px 11px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.7rem; line-height: 1.35; }
.recipe-process-card figcaption strong { color: var(--sage-dark); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.recipe-equipment { display: grid; grid-template-columns: 100px 1fr; gap: 14px; margin: 0; border-bottom: 1px solid var(--line); background: #f6f5ef; padding: 13px 18px; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.4; }
.recipe-equipment strong { color: var(--ink); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.recipe-columns { display: grid; grid-template-columns: 0.92fr 1.08fr; }
.ingredients-panel, .method-panel { padding: 20px 18px 16px; }
.ingredients-panel { border-right: 1px solid var(--line); }
.recipe-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.recipe-panel-head h2 { font-size: 1.8rem; }
.unit-switch { display: inline-grid; grid-template-columns: repeat(2, 1fr); }
.unit-button { min-height: 29px; padding: 4px 13px; font-size: 0.76rem; }
.unit-button + .unit-button { border-left: 0; }
.ingredient-list { margin: 0; padding: 0; list-style: none; }
.ingredient-list li { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 8px; margin-bottom: 7px; font-size: 0.86rem; line-height: 1.3; }
.ingredient-list input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--sage-dark); cursor: pointer; }
.ingredient-list label { display: grid; grid-template-columns: minmax(82px, 0.8fr) minmax(0, 1.35fr); gap: 8px; cursor: pointer; }
.ingredient-list input:checked + label { color: #74786e; text-decoration: line-through; text-decoration-thickness: 1px; }
.ingredient-list strong { font-weight: 400; }
.ingredient-list .ingredient-group { display: block; margin: 16px 0 8px; border-bottom: 1px solid var(--line); padding: 0 0 5px; color: var(--sage-dark); font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.ingredient-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 11px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.72rem; }
.ingredient-tools button, .cook-mode-button, .wake-button, .cook-navigation button { border: 1px solid var(--sage-dark); background: transparent; color: var(--ink); cursor: pointer; padding: 7px 10px; font-family: var(--sans); font-size: 0.72rem; }
.recipe-bruno-sketch { margin: clamp(30px, 4vw, 52px) 0 0; text-align: center; }
.recipe-bruno-sketch img { display: block; width: min(100%, 330px); height: auto; margin: 0 auto; }
.ingredient-tools button:hover, .cook-mode-button:hover, .wake-button:hover, .cook-navigation button:hover { background: var(--sage-pale); }
.cook-mode-button[aria-pressed="true"], .wake-button[aria-pressed="true"] { background: var(--sage-dark); color: var(--white); }
.cook-toolbar { margin: 0 0 16px; border: 1px solid var(--line); background: #f7f7f1; padding: 12px; }
.cook-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.76rem; }
.cook-progress-track { height: 5px; overflow: hidden; background: #dfe3da; }
.cook-progress-track span { display: block; width: 14.285%; height: 100%; background: var(--sage-dark); transition: width 180ms ease; }
.wake-status { display: block; min-height: 1.2em; margin-top: 7px; color: var(--ink-soft); font-family: var(--sans); font-size: 0.7rem; }
.method-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.method-list li { position: relative; min-height: 42px; margin-bottom: 9px; padding-left: 44px; font-size: 0.83rem; line-height: 1.3; counter-increment: steps; }
.method-list li::before { position: absolute; top: -2px; left: 0; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #ece9df; content: counter(steps); font-size: 0.78rem; }
.method-panel.is-cook-mode .method-list li { min-height: 190px; margin: 0; padding: 22px 8px 22px 56px; font-size: 1.08rem; line-height: 1.65; }
.method-panel.is-cook-mode .method-list li::before { top: 22px; width: 36px; height: 36px; background: var(--sage-dark); color: var(--white); content: attr(data-step-number); }
.method-panel.is-cook-mode .recipe-notes,
.method-panel.is-cook-mode .recipe-process-guide { display: none; }
.cook-navigation { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; }
.cook-navigation .button { background: var(--sage-dark); color: var(--white); padding: 10px 18px; font-size: 0.78rem; }
.cook-navigation .button:hover { background: #4b5d46; }
.recipe-notes { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.recipe-notes h3 { margin-bottom: 5px; font-size: 1.42rem; }
.recipe-notes p { font-size: 0.79rem; line-height: 1.28; }
.recipe-note-block + .recipe-note-block { margin-top: 12px; border-top: 1px solid #e2e0d8; padding-top: 10px; }
.recipe-sidebar { display: grid; gap: 18px; }
.side-card { background: var(--white); box-shadow: var(--shadow); text-align: center; }
.side-card img { width: 100%; }
.side-card img.book-cover-thumb {
  width: min(72%, 230px);
  height: auto;
  margin: 24px auto 0;
  box-shadow: 0 14px 28px rgba(36,40,31,0.16);
}
.side-card-copy { padding: 18px 20px 22px; }
.side-card h2 { margin: 6px 0; font-size: 2rem; }
.side-card .author { font-family: var(--sans); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }
.side-card .coming { margin: 19px 0 8px; font-size: 1.17rem; }
.side-card p { font-size: 0.87rem; }
.side-newsletter { background: linear-gradient(135deg, #f4f4ed, #e9eee4); padding: 25px 22px; }
.side-newsletter h2 { margin-bottom: 8px; font-size: 1.55rem; }
.side-newsletter p { font-size: 0.85rem; }
.side-newsletter .newsletter-form { grid-template-columns: 1fr; }
.side-newsletter .newsletter-form .button { width: 100%; }
.related-section { padding: 10px 0 42px; }
.related-section .food-card img { height: 165px; }
.related-section .food-card-copy { min-height: 68px; }

/* Book page */
.book-hero {
  padding: 54px 0 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.9), transparent 28%),
    linear-gradient(112deg, #eef1e9 0%, #faf8f1 56%, #f2eee4 100%);
}
.book-hero-grid { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(48px, 8vw, 100px); }
.book-cover-stage { width: min(380px, 100%); margin: 0 auto; text-align: center; }
.book-cover-stage img { width: 100%; height: auto; aspect-ratio: 1238 / 1650; object-fit: contain; margin-inline: auto; box-shadow: 0 24px 50px rgba(33,38,29,0.18); }
.book-cover-stage figcaption, .book-spread figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.book-hero-copy { max-width: 650px; }
.book-hero-copy h1 { margin-bottom: 8px; color: #4e5c3d; font-size: clamp(3.4rem, 6vw, 5.8rem); }
.book-byline { margin: 0 0 26px; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; }
.book-hero-copy .lead { max-width: 590px; margin-bottom: 18px; }
.book-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px 0;
  border-top: 1px solid #bfc5b8;
  border-bottom: 1px solid #bfc5b8;
}
.book-facts div { padding: 14px 12px 15px; border-right: 1px solid #bfc5b8; }
.book-facts div:first-child { padding-left: 0; }
.book-facts div:last-child { border-right: 0; }
.book-facts dt { color: var(--ink-soft); font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.book-facts dd { margin: 5px 0 0; font-size: 0.94rem; }
.book-inside-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.book-inside-copy { width: min(820px, 100%); margin-inline: auto; text-align: center; }
.book-inside-copy h2 { margin-bottom: 18px; }
.book-spread-gallery { display: grid; gap: 34px; }
.book-spread { width: min(900px, 100%); margin: 0 auto; }
.book-spread img { display: block; width: 100%; height: auto; box-shadow: var(--shadow); }
.finished-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.finished-book-shot { margin: 0; }
.finished-book-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.finished-book-shot figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.book-garden-banner {
  position: relative;
  min-height: clamp(230px, 30vw, 360px);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 24px;
  text-align: center;
}
.book-garden-banner img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.book-garden-banner::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(250,249,244,0.72);
  content: "";
}
.book-garden-banner p { max-width: 650px; margin: 0; font-size: 1.35rem; line-height: 1.3; }
.book-garden-banner small { display: block; margin-top: 18px; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; }

/* Books, About and Contact */
.book-page-grid, .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-grid { display: grid; gap: 38px; }
.book-page-image { box-shadow: var(--shadow); }
.book-page-copy h2, .about-copy h2, .contact-copy h2 { margin-bottom: 18px; }
.chapter-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); }
.chapter-list div { background: var(--white); padding: 15px 16px; }
.chapter-list span { display: block; color: var(--sage-dark); font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.18em; }
.chapter-list strong { font-weight: 400; }
.about-copy { width: min(820px, 100%); margin-inline: auto; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.principle { background: var(--white); border: 1px solid var(--line); padding: 18px; }
.principle span { color: var(--sage-dark); font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.2em; }
.principle h3 { margin: 8px 0 5px; font-size: 1.12rem; }
.principle p { margin: 0; font-size: 0.86rem; }
.contact-aside { background: var(--sage-pale); padding: 30px; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 44px; border: 1px solid #cfd3c8; background: var(--white); padding: 10px 12px; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-help { color: var(--ink-soft); font-family: var(--sans); font-size: 0.72rem; }
.form-status a { text-decoration: underline; text-underline-offset: 2px; }
.prototype-note { margin-top: 18px; border-left: 3px solid var(--sage); background: var(--sage-pale); padding: 11px 14px; font-family: var(--sans); font-size: 0.78rem; }

/* Legal and trust pages */
.legal-hero { min-height: 225px; }
.legal-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.legal-page { width: min(760px, 100%); margin-inline: auto; }
.legal-page > p:first-child { margin-bottom: 28px; }
.legal-meta { color: var(--ink-soft); font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.04em; }
.legal-page h2 { margin: 38px 0 13px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.legal-page h3 { margin: 25px 0 9px; font-size: 1.25rem; }
.legal-page ul { margin: 0 0 1.25em; padding-left: 1.3em; }
.legal-page li + li { margin-top: 8px; }
.legal-page a { color: var(--sage-dark); text-underline-offset: 3px; }
.legal-callout { margin: 28px 0; border-left: 3px solid var(--sage); background: var(--sage-pale); padding: 17px 20px; }
.legal-callout p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .header-side-note { visibility: hidden; }
  .recipe-discovery { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .food-card img { height: clamp(220px, 31vw, 280px); }
  .featured-grid .food-card:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .book-band { grid-template-columns: 1fr 1fr; }
  .book-band-detail { display: none; }
  .recipes-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-title-inner { grid-template-columns: 1fr; gap: 28px; }
  .recipe-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-facts li:nth-child(odd) { padding-right: 20px; }
  .recipe-layout { grid-template-columns: 1fr; }
  .recipe-sidebar { grid-template-columns: repeat(2, 1fr); }
  .book-page-grid, .contact-grid { grid-template-columns: 1fr; }
  .book-hero-grid, .book-inside-grid { grid-template-columns: 1fr; }
  .book-cover-stage img { width: min(330px, 80%); }
  .book-hero-copy { max-width: 720px; margin-inline: auto; text-align: center; }
  .book-facts { text-align: left; }
  .book-inside-copy, .book-spread { order: initial; }
  .book-page-image { width: min(620px, 100%); margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 24px; }
  .footer-nav { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1040px); }
  .header-top { min-height: 78px; grid-template-columns: 1fr auto; }
  .header-side-note { display: none; }
  .wordmark { width: min(300px, 72vw); justify-self: start; }
  .header-nav-row {
    min-height: 52px;
    justify-content: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--sage-pale);
    padding-inline: 14px;
  }
  .menu-button {
    min-width: 126px;
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    background: transparent;
    color: var(--sage-dark);
    padding: 0 18px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    cursor: pointer;
  }
  .menu-button::before {
    width: 19px;
    height: 14px;
    flex: 0 0 19px;
    background: linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px, currentColor 6px 8px, transparent 8px 12px, currentColor 12px 14px);
    content: "";
  }
  .menu-button[aria-expanded="true"]::before {
    background: linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, currentColor 44% 56%, transparent 56%);
  }
  .menu-button:hover { background: rgba(75,84,54,0.08); }
  .menu-button:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: -4px; }
  .primary-nav { position: absolute; top: 52px; right: 0; left: 0; z-index: 40; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(33,38,29,0.12); padding: 8px 20px 20px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { border-bottom: 1px solid var(--line); padding: 14px 2px; }
  .primary-nav a::after { display: none; }
  .section { padding: 42px 0; }
  .section-title { padding-inline: 55px; }
  .section-title::before, .section-title::after { width: 35px; }
  .home-hero-exact > img { min-height: 190px; object-fit: cover; object-position: center; }
  .home-hero-copy { top: 13%; left: 19%; width: 70%; }
  .home-hero-copy h1 { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .home-hero-copy > p { margin-top: 5px; font-size: 0.7rem; }
  .home-hero-actions { gap: 7px; margin-top: 10px; }
  .hero-hotspot { min-width: 0; min-height: 36px; padding: 8px 13px; font-size: 0.78rem; }
  .home-hero-side-note { left: 3.8%; bottom: 4.5%; font-size: 0.42rem; letter-spacing: 0.25em; line-height: 1.55; }
  .featured-grid, .recipes-grid { grid-template-columns: 1fr; }
  .home-mission-exact > img { min-height: 110px; object-fit: cover; }
  .home-mission-copy { inset-inline: 6%; padding: 10px 12px; }
  .home-mission-copy p { font-size: 0.9rem; }
  .home-mission-copy > span { margin: 8px 0 6px; }
  .home-mission-copy small { font-size: 0.46rem; }
  .food-card img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .recipe-title-inner { padding-top: 32px; padding-bottom: 32px; }
  .recipe-title-copy h1 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  .recipe-facts { grid-template-columns: 1fr; }
  .recipe-facts li:nth-child(odd) { padding-right: 0; }
  .featured-grid .food-card:last-child { grid-column: auto; width: 100%; }
  .book-band { grid-template-columns: 1fr; }
  .book-band-image { min-height: 400px; }
  .book-band-copy { padding: 38px 22px; }
  .mission-strip { padding: 30px 22px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 18px; }
  .newsletter-copy { grid-template-columns: 48px 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
  .footer-nav { gap: 18px 26px; }
  .footer-social { flex-wrap: wrap; justify-content: center; }
  .footer-tagline { width: 100%; margin: 8px 0 0; border-left: 0; padding: 0; text-align: center; }
  .image-banner img { min-height: 180px; object-fit: cover; object-position: center; }
  .motto-banner img { min-height: 72px; object-fit: cover; object-position: center; }
  .page-hero--about { min-height: 320px; }
  .page-hero--about .about-banner-image { object-position: 58% center; }
  .page-hero--about .page-hero-copy { width: min(92vw, 620px); padding: 22px 20px 24px; }
  .recipe-discovery, .recipe-finder { grid-template-columns: 1fr; }
  .recipe-finder-heading, .recipe-finder-actions { grid-column: auto; }
  .recipe-finder-actions { align-items: stretch; flex-direction: column; }
  .recipe-finder-actions .button { width: 100%; }
  .filter-label { text-align: left; }
  .filters { justify-content: flex-start; gap: 6px; }
  .recipe-heading-banner img { min-height: 260px; object-fit: cover; object-position: 32% center; }
  .recipe-main-image {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
  .recipe-serving-image img {
    aspect-ratio: 3 / 2;
    object-position: center;
  }
  .recipe-process-guide { grid-template-columns: 1fr; gap: 14px; }
  .recipe-process-card img { height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
  .recipe-columns { grid-template-columns: 1fr; }
  .recipe-equipment { grid-template-columns: 1fr; gap: 5px; }
  .ingredients-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .recipe-bruno-sketch { margin: 18px 0 2px; }
  .recipe-bruno-sketch img { width: min(100%, 280px); }
  .recipe-sidebar { grid-template-columns: 1fr; }
  .chapter-list, .principles, .contact-form { grid-template-columns: 1fr; }
  .book-hero { padding: 40px 0 44px; }
  .book-facts { grid-template-columns: repeat(2, 1fr); }
  .book-facts div:nth-child(2) { border-right: 0; }
  .book-facts div:nth-child(-n+2) { border-bottom: 1px solid #bfc5b8; }
  .book-facts div:nth-child(3) { padding-left: 0; }
  .finished-book-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
