:root {
  --paper: #fbf5ec;
  --surface: #fffdf9;
  --ink: #191714;
  --muted: #6f6a62;
  --line: #ded5c8;
  --brand: #b4462d;
  --brand-dark: #87331f;
  --green: #285f4d;
  --yellow: #f0bd3c;
  --max: 1180px;
  --reading: 760px;
  --radius: 6px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

/* Explicit season states; unknown values render no label. */
.card-meta--season {
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.card-meta--in_season {
  color: #2f6b3a;
}

.card-meta--out_of_season,
.card-meta--not_seasonal {
  color: var(--muted, #6f6a62);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}

body.menu-is-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 0.45em;
  font-size: clamp(2.55rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 0.7em;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: 106px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  color: var(--brand);
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.primary-navigation ul,
.site-footer ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 26px;
  list-style: none;
}

.primary-navigation a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before {
  position: absolute;
  top: -8px;
}

.menu-toggle__lines::after {
  position: absolute;
  top: 8px;
}

.home-hero {
  display: grid;
  min-height: 510px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.home-hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.2rem;
}

.eyebrow,
.card-meta {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.button--primary {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.button--primary:hover {
  background: var(--brand-dark);
}

.content-band {
  padding-block: 78px;
}

.content-band--tinted {
  border-block: 1px solid var(--line);
  background: #f1eee5;
}

.section-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > a {
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card-grid--ingredients {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-group {
  padding-bottom: 72px;
}

.guide-group > h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.guide-main,
.page-main {
  padding-block: 52px 84px;
}

.guide-article,
.page-article {
  max-width: 960px;
}

.guide-header,
.page-article > h1,
.page-article > .eyebrow {
  max-width: var(--reading);
  margin-inline: auto;
}

.guide-byline {
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs {
  display: flex;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.guide-content,
.page-content {
  max-width: var(--reading);
  margin-inline: auto;
}

.guide-content .prose-block,
.page-content {
  margin-bottom: 52px;
}

.guide-content p,
.page-content p,
.page-content li {
  line-height: 1.75;
}

.guide-related {
  width: min(100vw - 48px, var(--max));
  margin-block: 58px;
  margin-inline: 50%;
  transform: translateX(-50%);
}

.guide-inline-media {
  margin-block: 44px;
}

.guide-inline-media figcaption,
.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.page-content th,
.page-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eee7db;
}

.content-card__media img,
.media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  background: #eee7db;
}

.content-card__body {
  padding: 22px;
}

.content-card__body h3 {
  margin-bottom: 10px;
}

.content-card__body h3 a {
  text-decoration: none;
}

.content-card__body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.archive-main,
.generic-main,
.error-page,
.recipe-main,
.ingredient-main {
  padding-block: 60px 100px;
}

.archive-header {
  margin-bottom: 44px;
}

.archive-header p:last-child {
  max-width: 700px;
}

.archive-header--hub {
  max-width: 820px;
}

.archive-header--hub .breadcrumbs {
  display: flex;
  margin-bottom: 34px;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-links {
  display: flex;
  margin-top: 42px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.hub-links--all {
  margin-top: -18px;
  margin-bottom: 34px;
}

.hub-links a {
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 3px;
}

.recipe-discovery {
  margin-bottom: 44px;
  padding-block: 28px;
  border-block: 1px solid var(--line);
}

.recipe-discovery h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.recipe-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(140px, 1fr));
  align-items: end;
  gap: 18px;
}

.recipe-filter-form label,
.recipe-filter-details summary {
  font-size: 0.82rem;
  font-weight: 700;
}

.recipe-filter-form input[type="search"],
.recipe-filter-form select {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.recipe-filter-details,
.filter-toggle,
.recipe-filter-form .button-row {
  grid-column: 1 / -1;
}

.recipe-filter-details {
  padding-top: 4px;
}

.recipe-filter-details summary {
  cursor: pointer;
}

.recipe-filter-details p {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-checkboxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px 16px;
}

.filter-checkboxes label,
.filter-toggle {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.result-count {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.matcher-header {
  max-width: 760px;
  text-align: center;
}

.matcher-header p:last-child {
  margin-inline: auto;
}

.matcher-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 34px;
}

.matcher-form {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgb(21 17 14 / 5%);
}

.matcher-form__heading,
.matcher-results__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.matcher-form__heading h2,
.matcher-results__header h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.matcher-search {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
}

.matcher-selected {
  margin-top: 18px;
  font-size: 0.9rem;
}

.matcher-selected p {
  margin: 4px 0 0;
  color: var(--muted);
}

.matcher-staples {
  margin-block: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.matcher-staples legend {
  padding-inline: 4px;
}

.matcher-staples label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.matcher-staples label + label {
  margin-top: 10px;
}

.matcher-staples small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.matcher-staples p {
  display: flex;
  margin: 10px 0 0 26px;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
}

.matcher-ingredients {
  max-height: 48vh;
  overflow-y: auto;
  padding-right: 8px;
}

.matcher-ingredients details {
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
}

.matcher-ingredients summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.matcher-chips {
  display: flex;
  padding-top: 10px;
  flex-wrap: wrap;
  gap: 7px;
}

.matcher-chips label {
  cursor: pointer;
}

.matcher-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.matcher-chips span {
  display: block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
}

.matcher-chips label:has(input:checked) span {
  color: var(--accent);
  border-color: var(--accent);
  background: #fff1ec;
  font-weight: 700;
}

.matcher-chips input:focus-visible + span {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.matcher-actions {
  margin-top: 22px;
}

.matcher-empty {
  padding: 44px 30px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.matcher-results__header {
  margin-bottom: 20px;
}

.matcher-results__header p {
  max-width: 290px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.matcher-result {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.matcher-result__image img,
.matcher-result__image .media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.matcher-result > div {
  padding: 20px;
}

.matcher-result h3 {
  margin-bottom: 7px;
  font-size: 1.45rem;
}

.matcher-result h3 a {
  text-decoration: none;
}

.matcher-result__signal {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.matcher-result__missing {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 42px;
  align-items: center;
  gap: 18px;
}

.pagination a:last-child {
  justify-self: end;
}

.breadcrumbs {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
}

.recipe,
.ingredient-detail {
  max-width: 980px;
}

.recipe-header,
.ingredient-detail > header {
  max-width: 820px;
  margin-bottom: 42px;
}

.recipe-intro {
  max-width: 760px;
  font-size: 1.22rem;
}

.recipe-facts {
  display: flex;
  margin: 28px 0 0;
  flex-wrap: wrap;
  gap: 10px;
}

.recipe-facts div {
  display: flex;
  padding: 8px 13px;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.84rem;
}

.recipe-facts dt::after {
  content: ":";
}

.recipe-facts dd {
  margin: 0;
  font-weight: 700;
}

.hero-media {
  width: 100%;
  margin: 0 0 56px;
}

.hero-media img,
.hero-media .media-placeholder {
  width: 100%;
  max-height: 720px;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-media figcaption,
.image-credit {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.35fr);
  gap: 70px;
  align-items: start;
}

.recipe-ingredients {
  position: sticky;
  top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ingredients-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.ingredients-heading h2 {
  font-size: 1.75rem;
}

.portion-control label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portion-control input {
  width: 74px;
  min-height: 42px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.recipe-ingredients h3 {
  margin: 24px 0 8px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.ingredient-list li {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.ingredient-amount {
  font-weight: 800;
}

.ingredient-note {
  color: var(--muted);
}

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

.method-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  padding-block: 0 34px;
  gap: 18px;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 50%;
  background: var(--ink);
  place-items: center;
  font-weight: 800;
}

.method-list h3 {
  margin-bottom: 8px;
}

.editorial-block,
.prose-block,
.nutrition,
.author-box,
.related {
  max-width: var(--reading);
  margin-top: 64px;
}

.editorial-block {
  padding: 32px;
  border-block: 1px solid #d7cda7;
  background: #faf3d8;
}

.nutrition {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nutrition h2,
.nutrition .data-credit {
  padding-inline: 24px;
}

.nutrition h2 {
  padding-top: 24px;
  font-size: 1.8rem;
}

.nutrition dl {
  margin: 0;
}

.nutrition dl div {
  display: flex;
  padding: 13px 24px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.nutrition dd {
  margin: 0;
  font-weight: 800;
}

.data-credit {
  padding-block: 18px;
  margin: 0;
  color: var(--muted);
  background: #f7f1e8;
  font-size: 0.76rem;
}

.author-box {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ingredient-aliases {
  color: var(--muted);
}

.editor-warning {
  padding: 12px;
  border: 2px solid #aa3020;
  background: #fff;
}

.error-page {
  min-height: 56vh;
}

.site-footer {
  padding: 58px 24px 28px;
  color: #fff;
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  width: min(100%, var(--max));
  margin-inline: auto;
  grid-template-columns: 1fr auto;
  gap: 48px;
}

.site-footer__inner > div {
  max-width: 480px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #fff;
}

.site-footer__copyright {
  width: min(100%, var(--max));
  margin: 42px auto 0;
  color: #aaa59e;
  font-size: 0.78rem;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .matcher-layout {
    grid-template-columns: 1fr;
  }

  .matcher-form {
    position: static;
  }

  .recipe-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-checkboxes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid,
  .card-grid--ingredients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recipe-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .recipe-ingredients {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .shell,
  .site-header__inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header__inner {
    min-height: 88px;
  }

  .site-logo {
    font-size: 2.35rem;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    z-index: 40;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 0;
  }

  .primary-navigation a {
    display: block;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
  }

  .home-hero {
    min-height: 470px;
  }

  .content-band {
    padding-block: 56px;
  }

  .section-heading {
    align-items: center;
  }

  .card-grid,
  .card-grid--ingredients {
    grid-template-columns: 1fr;
  }

  .recipe-filter-form,
  .filter-checkboxes {
    grid-template-columns: 1fr;
  }

  .hub-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .matcher-form {
    padding: 20px;
  }

  .matcher-ingredients {
    max-height: none;
  }

  .matcher-results__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .matcher-results__header p {
    text-align: left;
  }

  .matcher-result {
    grid-template-columns: 1fr;
  }

  .matcher-result__image img,
  .matcher-result__image .media-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .archive-main,
  .generic-main,
  .error-page,
  .recipe-main,
  .ingredient-main {
    padding-block: 36px 72px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }

  .recipe-facts {
    gap: 7px;
  }

  .hero-media {
    margin-bottom: 42px;
  }

  .recipe-ingredients {
    padding: 22px;
  }

  .method-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .step-number {
    width: 38px;
    height: 38px;
  }

  .editorial-block {
    padding: 24px;
  }

  .pagination {
    grid-template-columns: 1fr 1fr;
  }

  .pagination span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.recipe-stream-separator,
.recipe-stream-continuation {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.recipe-stream-separator {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.recipe-stream-separator a {
  color: var(--tomato);
  font-weight: 700;
}

.recipe-stream-continuation {
  padding-bottom: 72px;
  text-align: center;
}

.recipe-stream-continuation h2 {
  margin-bottom: 24px;
}

.recipe-stream-status {
  min-height: 1.5em;
  margin-top: 16px;
  color: var(--muted);
}

.sponsor-disclosure {
  display: inline-flex;
  margin: 8px 0 0 8px;
  vertical-align: middle;
}

.sponsor-link {
  color: var(--tomato);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--tomato) 35%, transparent);
  text-underline-offset: 3px;
}

.sponsor-intro {
  margin-block: 48px;
  padding-block: 28px;
  border-block: 1px solid var(--line);
}

.sponsor-intro h2 {
  max-width: 24ch;
}

.sponsor-intro p:not(.eyebrow) {
  max-width: 68ch;
}

.cookie-consent {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(calc(100% - 40px), 560px);
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 48px rgb(21 17 14 / 18%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 20px 14px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  border-color: var(--tomato);
  background: var(--tomato);
  color: #fff;
}

.button-link--secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tomato);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-settings-control {
  margin-top: 32px;
}

.editorial-form {
  display: grid;
  gap: 14px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.editorial-form label:not(.check-control) {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 750;
}

.editorial-form input[type="text"],
.editorial-form input[type="file"],
.editorial-form textarea,
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.editorial-form textarea {
  resize: vertical;
}

.field-help,
.form-privacy,
.waitlist-consent {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-control {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.check-control input {
  flex: 0 0 auto;
  margin-top: 5px;
}

.rights-control,
.form-notice,
.form-status {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.form-status {
  margin-top: 28px;
  color: var(--forest);
  font-weight: 700;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer__inner {
  grid-template-columns: minmax(0, 0.8fr) minmax(180px, 0.7fr) minmax(280px, 1.2fr);
}

.footer-waitlist h2 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
}

.footer-waitlist,
.waitlist-form,
.waitlist-form__row,
.waitlist-form input[type="email"] {
  min-width: 0;
}

.waitlist-form {
  margin-top: 16px;
}

.waitlist-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.waitlist-consent {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }

  .cookie-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-form {
    padding: 20px;
  }

  .waitlist-form__row {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .recipe-stream-separator {
    align-items: flex-start;
    flex-direction: column;
  }
}
