:root {
  color-scheme: light;
  --cream: #f3f1ec;
  --warm: #f5f2ec;
  --ink: #1c2e22;
  --muted: #5a635e;
  --green: #6baa52;
  --green-dark: #2f5d34;
  --mauve: #8b5574;
  --rose: #b48ea3;
  --rose-light: #f2e9ee;
  --border: #d5d0c7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(40px, 4.6vw, 64px);
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
}
h3 {
  font-size: 24px;
}
p {
  overflow-wrap: anywhere;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--mauve);
  outline-offset: 4px;
}
input,
select {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  padding: 10px 13px;
}
input[type="search"] {
  min-width: 0;
}
select {
  padding-right: 32px;
}
.select-control {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}
.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fffefc;
  text-align: left;
  line-height: 1.4;
}
.select-trigger > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-trigger:hover {
  border-color: var(--rose);
}
.select-trigger:focus-visible {
  outline: 2px solid var(--mauve);
  outline-offset: 2px;
}
.select-trigger[data-state="open"] {
  border-color: var(--mauve);
}
.select-chevron,
.select-check {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--mauve);
}
.select-chevron .icon,
.select-check .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.select-menu {
  z-index: 50;
  min-width: var(--radix-select-trigger-width);
  max-width: calc(100vw - 24px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fffefc;
  color: var(--ink);
  box-shadow:
    0 8px 28px #1c2e221a,
    0 2px 6px #1c2e2208;
  font: 14px/1.4 var(--sans);
}
.select-options {
  padding: 5px;
  max-height: min(320px, var(--radix-select-content-available-height));
  overscroll-behavior: contain;
}
.select-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 36px 10px 11px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  outline: none;
}
.select-option[data-state="checked"] {
  color: var(--mauve);
  background: #f8f2f5;
  font-weight: 600;
}
.select-option[data-highlighted] {
  color: var(--ink);
  background: var(--rose-light);
}
.select-check {
  position: absolute;
  right: 10px;
}
input[type="checkbox"] {
  accent-color: var(--green-dark);
}
[hidden] {
  display: none !important;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 23px;
  background: var(--green);
  border: 1px solid transparent;
  color: #10230d;
  border-radius: 5px;
  font-weight: 550;
  line-height: 1.35;
  text-align: center;
}
.button:hover {
  background: #7eb966;
  text-decoration: none;
}
.button.secondary {
  background: var(--rose-light);
  border-color: #d7bfcf;
  color: var(--ink);
}
.button.secondary:hover {
  background: #e9dae3;
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mauve);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button {
  background: none;
  padding: 0;
  border: 0;
  font: inherit;
  min-height: 36px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
}
.muted,
.availability {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.14em;
  color: #71685a;
  margin-bottom: 18px;
}
.eyebrow.mauve {
  color: var(--mauve);
}
.lead {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}
.section-heading .text-link {
  flex-shrink: 0;
}
.container {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--warm);
}
.header-inner {
  max-width: 1384px;
  min-height: 88px;
  padding: 14px 36px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand img {
  border-radius: 8px;
  width: 42px;
  height: 42px;
}
.brand:hover {
  text-decoration: none;
}
.desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 26px;
  flex: 1;
  font-size: 13px;
  align-self: stretch;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
.desktop-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rose);
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.header-app {
  white-space: nowrap;
  font-size: 13px;
  padding: 10px 20px;
  min-height: 42px;
}
.language-picker {
  position: relative;
  font-size: 13px;
}
.language-picker summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  min-height: 44px;
  white-space: nowrap;
}
.language-picker summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.chevron {
  font-size: 16px;
  margin-left: 2px;
}
.language-picker ul {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 20;
  list-style: none;
  padding: 8px;
  margin: 0;
  width: 180px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 8px 25px #1c2e2214;
  border-radius: 6px;
}
.language-picker a {
  display: block;
  padding: 9px 12px;
  border-radius: 3px;
}
.language-picker a:hover,
.language-picker a[aria-current="true"] {
  background: var(--rose-light);
  text-decoration: none;
}
.mobile-menu {
  display: none;
  position: relative;
}
.mobile-menu summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  list-style: none;
}
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 45px;
  width: 240px;
  z-index: 15;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 8px 25px #1c2e2214;
}
.mobile-menu a {
  display: block;
  padding: 12px;
}
.landing-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  background: url("/assets/ingredients-hero.webp") right center/75% auto
    no-repeat;
  margin: 0 -36px;
  padding: 0 36px;
  isolation: isolate;
}
.landing-hero .hero-copy {
  padding: 48px 0;
  max-width: 650px;
  z-index: 1;
}
.landing-hero h1 {
  max-width: 610px;
  margin-bottom: 20px;
}
.landing-hero .lead {
  max-width: 560px;
  margin-bottom: 24px;
}
.store-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.store-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid #252525;
  border-radius: 6px;
  background: #0d0e0d;
  color: white;
  max-width: 205px;
  line-height: 1.2;
}
.store-link svg {
  width: 26px;
  height: 30px;
  flex: 0 0 auto;
}
.store-link span {
  font-size: 14px;
  max-width: 136px;
}
.store-link:hover {
  text-decoration: none;
  background: #282c28;
}
.explore-link {
  margin: 20px 0 13px;
}
.hero-art {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 30px 40px;
}
.phone {
  width: 224px;
  border: 7px solid #22251f;
  border-radius: 31px;
  background: #22251f;
  box-shadow:
    0 0 0 2px #beb7aa,
    0 22px 32px #1c2e2230;
  overflow: hidden;
  transform: rotate(3deg);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 23px;
}
.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.how-step + .how-step {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.how-step .icon {
  width: 33px;
  height: 33px;
  color: var(--mauve);
  margin-top: 4px;
}
.how-step h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 2px 0 7px;
}
.how-step p {
  font-size: 14px;
  color: var(--muted);
  max-width: 230px;
}
.step-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--mauve);
  font-size: 15px;
}
.landing-recipes {
  padding: 40px 0 18px;
}
.app-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 7px;
  background: var(--rose-light);
  margin: 40px 0 24px;
  padding: 18px 28px;
  min-height: 130px;
}
.app-banner > img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  align-self: flex-end;
  margin-top: -30px;
  margin-bottom: -18px;
}
.app-banner > div:not(.store-links) {
  flex: 1;
}
.app-banner h2 {
  font-size: 30px;
  max-width: 550px;
}
.app-banner p {
  font-size: 14px;
  margin-top: 8px;
  color: var(--muted);
}
.app-banner .store-links {
  flex: 0 0 auto;
  gap: 10px;
}
.app-banner .store-link {
  max-width: 170px;
  padding: 8px 10px;
}
.app-banner .store-link span {
  font-size: 12px;
}
.site-footer {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer .brand {
  font-size: 22px;
  color: var(--ink);
  gap: 9px;
}
.site-footer .brand img {
  width: 28px;
  height: 28px;
}
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}
.site-footer small {
  white-space: nowrap;
}
.discovery-hero {
  margin: 0 -36px;
  padding: 46px 36px 38px;
  min-height: 340px;
  background: url("/assets/ingredients-hero.webp") right center/65% auto
    no-repeat;
}
.discovery-hero .hero-copy {
  width: 64%;
  max-width: 730px;
}
.discovery-hero h1 {
  max-width: 640px;
  font-size: clamp(40px, 4.4vw, 60px);
  margin-bottom: 16px;
}
.discovery-hero .lead {
  margin-bottom: 24px;
}
.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
}
.search-input {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
}
.search-input > .icon {
  position: absolute;
  left: 16px;
  color: var(--muted);
  pointer-events: none;
}
.search-input input {
  width: 100%;
  padding: 14px 14px 14px 48px;
  height: 54px;
  background: #fffefc;
  font-size: 16px;
}
.search-form > .button {
  min-width: 116px;
}
.search-form > .button > .icon {
  display: none;
}
.category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  padding: 8px 0 0;
  scrollbar-width: thin;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 16px 20px 17px;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.chip .icon {
  color: var(--mauve);
}
.chip.active {
  background: var(--rose-light);
  border-bottom-color: var(--rose);
  border-radius: 5px 5px 0 0;
}
.chip:hover {
  background: var(--rose-light);
  text-decoration: none;
}
.discovery {
  padding: 32px 0 12px;
}
.results-heading h2 {
  font-size: 36px;
}
.result-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.filter-button {
  min-height: 43px;
  padding: 9px 18px;
  font-size: 14px;
}
.filter-button .icon {
  color: var(--mauve);
}
.sort-form {
  display: flex;
  gap: 8px;
}
.sort-form select,
.sort-form .select-trigger {
  min-width: 160px;
  background: #fffefc;
  font-size: 14px;
  min-height: 43px;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}
.recipe-card {
  min-width: 0;
}
.recipe-card > a {
  display: block;
}
.recipe-card > a:hover {
  text-decoration: none;
}
.recipe-card > a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.recipe-photo {
  position: relative;
  aspect-ratio: 1.48;
  overflow: hidden;
  background: #e6e3da;
  border-radius: 7px;
}
.recipe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.3s;
}
.recipe-card > a:hover .recipe-photo img {
  transform: scale(1.025);
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa693;
  background: radial-gradient(ellipse at 50% 60%, #ece8de, #e2ded3);
}
.photo-placeholder .icon {
  width: 62px;
  height: 62px;
  opacity: 0.65;
  stroke-width: 1;
}
.recipe-photo:not(.no-photo) .photo-placeholder {
  visibility: hidden;
}
.card-body {
  padding: 12px 0 0;
}
.card-body h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.17;
  margin-bottom: 9px;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--ink);
}
.card-meta span + span:before {
  content: "·";
  margin-right: 2px;
}
.card-eyebrow {
  font-size: 13px;
  color: #96502d;
  margin-top: 8px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  font-size: 14px;
}
.search-header {
  padding: 30px 0 24px;
}
.search-header .hero-copy {
  max-width: 100%;
}
.search-header h1 {
  font-size: 48px;
  margin: 10px 0 14px;
  max-width: 1000px;
}
.search-header .lead {
  display: none;
}
.search-header .search-form {
  max-width: 100%;
  margin-top: 24px;
}
.search-header + .category-chips {
  display: none;
}
.search-header ~ .discovery {
  padding-top: 0;
}
.search-header ~ .discovery .results-heading h2 {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
}
.result-count {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.active-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -5px 0 25px;
  font-size: 13px;
}
.filter-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--rose-light);
  padding: 7px 12px;
  border: 1px solid #ddc9d5;
  border-radius: 5px;
}
.filter-chip .icon {
  width: 16px;
  height: 16px;
}
.filter-dialog {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 460px;
  width: calc(100% - 36px);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 20px 80px #1c2e2230;
  max-height: 90dvh;
}
.filter-dialog::backdrop {
  background: #12221bbb;
  backdrop-filter: blur(2px);
}
.dialog-inner {
  padding: 24px;
}
.dialog-inner h2 {
  font-size: 30px;
}
.dialog-inner .section-heading {
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.field select,
.field .select-control {
  width: 100%;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.dialog-actions .button {
  flex: 1;
  max-width: 270px;
}
.filter-fallback form {
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--cream);
}
.empty-state {
  padding: 64px 20px 80px;
  text-align: center;
  max-width: 700px;
  margin: auto;
}
.empty-state h2 {
  font-size: 38px;
  margin: 20px 0 15px;
}
.empty-state p {
  margin: 18px auto 24px;
  max-width: 540px;
  color: var(--muted);
}
.empty-state .button {
  margin: 0 10px 15px;
}
.empty-state > .text-link {
  margin: 0 10px;
}
.empty-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--mauve);
}
.empty-mark .icon {
  width: 38px;
  height: 38px;
}
.error-state h1 {
  font-size: 48px;
}
.recipe-detail {
  padding-top: 25px;
}
.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--mauve);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 22px;
}
.recipe-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.recipe-title {
  padding: 12px 0 0;
}
.recipe-category {
  color: #96502d;
  margin-bottom: 14px;
}
.recipe-title h1 {
  font-size: clamp(38px, 4.3vw, 58px);
  margin-bottom: 18px;
}
.recipe-title .lead {
  font-size: 22px;
  margin-bottom: 24px;
}
.creator {
  font-size: 14px;
  margin-bottom: 5px;
}
.source-language {
  font-size: 13px;
  color: var(--muted);
}
.recipe-facts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
  font-size: 14px;
}
.recipe-facts > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.recipe-facts dd {
  margin: 0;
}
.recipe-facts .icon {
  color: var(--mauve);
  width: 25px;
  height: 25px;
}
.recipe-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.recipe-actions .button {
  min-width: 160px;
}
.recipe-actions .secondary .icon {
  color: var(--mauve);
}
.share-link {
  margin-top: 14px;
  font-size: 13px;
  color: var(--mauve);
}
.share-link summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 36px;
}
.share-link label {
  display: block;
  margin: 10px 0;
}
.copy-row {
  display: flex;
  gap: 8px;
}
.copy-row input {
  min-width: 0;
  flex: 1;
  font-size: 13px;
}
.copy-row .button {
  padding: 8px 12px;
  font-size: 13px;
}
.share-status {
  min-height: 22px;
  font-size: 13px;
  color: var(--green-dark);
  margin-top: 4px;
}
.detail-photo .recipe-photo {
  aspect-ratio: 1.2;
}
.recipe-sections {
  margin: 30px 0 24px;
  border-block: 1px solid var(--border);
  display: flex;
  gap: 24px;
  overflow-x: auto;
}
.recipe-sections a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px 20px;
  font-size: 14px;
  white-space: nowrap;
}
.recipe-sections .icon {
  color: var(--mauve);
}
.recipe-sections a:first-child {
  border-bottom: 3px solid var(--rose);
}
.recipe-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.ingredients-panel {
  background: #ffffffaa;
  border: 1px solid #dedbd4;
  border-radius: 6px;
  padding: 24px;
  scroll-margin-top: 20px;
}
.ingredients-panel h2 {
  font-size: 34px;
}
.ingredients-panel .section-heading {
  gap: 10px;
  margin-bottom: 5px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.measurement select,
.measurement .select-trigger {
  max-width: 160px;
  background: #fffdf9;
  font-size: 13px;
  min-height: 39px;
  padding: 8px 28px 8px 10px;
}
.measurement .select-trigger {
  padding-right: 10px;
}
.ingredient-count {
  margin-bottom: 5px;
}
.ingredients {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.ingredients li + li {
  border-top: 1px solid #e7e3de;
}
.ingredients label {
  display: grid;
  grid-template-columns: 20px minmax(65px, auto) 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  font-size: 14px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.ingredients input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  transform: translateY(3px);
  cursor: pointer;
}
.ingredients strong {
  font-weight: 600;
}
.ingredients label:has(input:checked) {
  color: #858a81;
  text-decoration: line-through;
}
.method-column {
  min-width: 0;
}
.method-column h2 {
  font-size: 36px;
  margin: 12px 0 24px;
}
.method {
  list-style: none;
  padding: 0;
  margin: 0;
}
.method li {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.method .step-number {
  width: 49px;
  height: 49px;
  font-size: 23px;
  font-weight: 500;
}
.method p {
  font-size: 16px;
  line-height: 1.7;
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}
.nutrition {
  margin-top: 32px;
}
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fffefb;
}
.nutrition-grid > div {
  text-align: center;
  padding: 17px 8px;
  min-width: 0;
}
.nutrition-grid > div + div {
  border-left: 1px solid var(--border);
}
.nutrition-grid strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}
.nutrition-grid small {
  font-size: 12px;
  font-family: var(--sans);
}
.nutrition-grid span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.nutrition .muted {
  font-size: 12px;
  margin-top: 12px;
}
.consent-banner {
  position: fixed;
  z-index: 40;
  bottom: 20px;
  left: 20px;
  width: min(490px, calc(100% - 40px));
  padding: 24px;
  background: #fffefc;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 50px #1c2e2226;
}
.consent-banner h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.consent-banner p {
  font-size: 13px;
  color: var(--muted);
}
.consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.consent-actions .button {
  font-size: 13px;
  flex: 1;
  padding: 10px;
}
.consent-banner .notice-link {
  font-size: 12px;
  margin-top: 10px;
}
@media (max-width: 1200px) {
  .header-category {
    display: none !important;
  }
  .landing-hero h1 {
    font-size: 54px;
  }
  .app-banner {
    gap: 20px;
    padding: 18px 20px;
  }
  .app-banner h2 {
    font-size: 27px;
  }
  .app-banner .store-links {
    max-width: 180px;
  }
  .recipe-intro {
    gap: 30px;
  }
  .recipe-content {
    gap: 28px;
  }
  .card-body h3 {
    font-size: 22px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer nav {
    margin-left: 0;
  }
  .site-footer small {
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  .container,
  .site-footer {
    width: calc(100% - 40px);
  }
  .header-inner {
    padding: 12px 20px;
    min-height: 76px;
    gap: 20px;
  }
  .brand {
    font-size: 27px;
    gap: 9px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .desktop-nav {
    display: none;
  }
  .header-controls {
    gap: 18px;
  }
  .mobile-menu {
    display: block;
  }
  .header-app {
    display: none;
  }
  .landing-hero {
    margin: 0 -20px;
    padding: 0 20px;
    grid-template-columns: 1.2fr 1fr;
    background-size: auto 100%;
  }
  .landing-hero h1 {
    font-size: 46px;
  }
  .landing-hero .lead {
    font-size: 20px;
  }
  .hero-art {
    padding: 25px 0 25px 25px;
  }
  .phone {
    width: 195px;
  }
  .how-it-works {
    gap: 16px;
  }
  .how-step {
    gap: 10px;
    flex-wrap: wrap;
  }
  .how-step + .how-step {
    padding-left: 16px;
  }
  .how-step h2 {
    font-size: 19px;
  }
  .how-step p {
    font-size: 13px;
  }
  .how-step .step-number {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .how-step .icon {
    width: 28px;
    height: 28px;
    margin: 0;
  }
  .discovery-hero {
    margin: 0 -20px;
    padding: 36px 20px;
    background-size: auto 100%;
  }
  .discovery-hero .hero-copy {
    width: 70%;
  }
  .discovery-hero h1 {
    font-size: 46px;
  }
  .discovery-hero .lead {
    font-size: 20px;
  }
  .recipe-grid {
    gap: 25px 18px;
  }
  .card-body h3 {
    font-size: 20px;
  }
  .chip {
    padding: 14px 16px;
    font-size: 13px;
  }
  .recipe-intro {
    gap: 24px;
    grid-template-columns: 1fr 1fr;
  }
  .recipe-title h1 {
    font-size: 40px;
  }
  .recipe-title .lead {
    font-size: 19px;
  }
  .recipe-actions .button {
    font-size: 13px;
    min-width: 0;
    padding: 11px 18px;
  }
  .recipe-facts {
    gap: 14px;
    font-size: 12px;
  }
  .recipe-content {
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
  }
  .ingredients-panel {
    padding: 18px;
  }
  .ingredients-panel h2 {
    font-size: 30px;
  }
  .ingredients label {
    gap: 10px;
    grid-template-columns: 18px minmax(50px, auto) 1fr;
    font-size: 13px;
  }
  .recipe-sections {
    gap: 12px;
  }
  .recipe-sections a {
    padding-inline: 12px;
  }
  .app-banner > img {
    width: 86px;
    height: 100px;
  }
  .app-banner h2 {
    font-size: 25px;
  }
  .app-banner .store-links {
    max-width: 160px;
  }
  .app-banner .store-link {
    width: 100%;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .container,
  .site-footer {
    width: calc(100% - 32px);
  }
  .header-inner {
    padding: 10px 16px;
    min-height: 72px;
    gap: 10px;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .header-controls {
    gap: 12px;
  }
  .language-picker {
    font-size: 11px;
  }
  .language-picker summary {
    gap: 4px;
  }
  .language-picker .icon {
    width: 17px;
    height: 17px;
  }
  .language-picker .chevron {
    font-size: 13px;
  }
  .mobile-menu .icon {
    width: 22px;
  }
  .landing-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: none;
    margin: 0 -16px;
    padding: 0;
    min-height: 0;
  }
  .landing-hero .hero-copy {
    padding: 30px 22px 10px;
    max-width: none;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }
  .landing-hero h1 {
    font-size: 43px;
    max-width: 470px;
    margin-bottom: 16px;
    line-height: 1.04;
  }
  .landing-hero .lead {
    font-size: 19px;
    margin-bottom: 20px;
    max-width: 450px;
  }
  .store-links {
    gap: 10px;
  }
  .store-link {
    min-height: 46px;
    padding: 8px 11px;
    max-width: calc(50% - 5px);
    gap: 8px;
    flex: 1;
  }
  .store-link svg {
    width: 22px;
    height: 27px;
  }
  .store-link span {
    font-size: 12px;
  }
  .explore-link {
    margin: 18px 0 12px;
    font-size: 13px;
  }
  .availability {
    font-size: 12px;
  }
  .hero-art {
    padding: 14px 0 22px;
    min-height: 310px;
    background: url("/assets/ingredients-hero.webp") center/cover;
  }
  .phone {
    width: 151px;
    border-width: 5px;
    border-radius: 25px;
    transform: rotate(2deg);
    box-shadow:
      0 0 0 2px #beb7aa,
      0 12px 20px #1c2e2220;
  }
  .phone img {
    border-radius: 20px;
  }
  .how-it-works {
    grid-template-columns: 1fr;
    padding: 0 4px;
    gap: 0;
  }
  .how-step {
    flex-wrap: nowrap;
    padding: 22px 0;
    gap: 17px;
    align-items: flex-start;
  }
  .how-step + .how-step {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid #e4e0d9;
  }
  .how-step h2 {
    font-size: 20px;
    margin: 0 0 6px;
  }
  .how-step p {
    font-size: 13px;
    max-width: 280px;
  }
  .how-step .step-number {
    width: 34px;
    height: 34px;
  }
  .how-step .icon {
    width: 31px;
    height: 31px;
  }
  .landing-recipes {
    padding: 28px 0 0;
  }
  .section-heading {
    gap: 15px;
    margin-bottom: 18px;
  }
  .landing-recipes .section-heading {
    align-items: flex-end;
  }
  .landing-recipes h2 {
    font-size: 29px;
    max-width: 240px;
  }
  .landing-recipes .text-link {
    font-size: 11px;
    max-width: 120px;
    flex-shrink: 1;
  }
  .landing-recipes .text-link .icon {
    width: 15px;
  }
  .landing-recipes .recipe-grid {
    grid-template-columns: 1fr;
  }
  .landing-recipes .recipe-photo {
    aspect-ratio: 1.65;
  }
  .landing-recipes .card-body h3 {
    font-size: 23px;
  }
  .app-banner {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
    padding: 20px 18px 18px;
    min-height: 0;
  }
  .app-banner > img {
    width: 66px;
    height: 82px;
    margin: 0;
    align-self: center;
  }
  .app-banner > div:not(.store-links) {
    flex: 1;
    min-width: 160px;
  }
  .app-banner h2 {
    font-size: 25px;
  }
  .app-banner p {
    font-size: 12px;
    margin-top: 7px;
  }
  .app-banner .store-links {
    max-width: none;
    flex: 1 0 100%;
    gap: 10px;
  }
  .app-banner .store-link {
    max-width: calc(50% - 5px);
    width: auto;
  }
  .site-footer {
    gap: 14px 20px;
    padding-bottom: 24px;
  }
  .site-footer .brand {
    font-size: 23px;
  }
  .site-footer .brand img {
    width: 29px;
    height: 29px;
  }
  .site-footer small {
    font-size: 11px;
  }
  .site-footer nav {
    width: 100%;
    gap: 12px 20px;
    font-size: 12px;
  }
  .discovery-hero {
    margin: 0 -16px;
    padding: 30px 22px 24px;
    background: none;
    min-height: 0;
  }
  .discovery-hero .hero-copy {
    width: 100%;
    max-width: none;
  }
  .discovery-hero h1 {
    font-size: 39px;
    max-width: 400px;
    margin-bottom: 12px;
  }
  .discovery-hero .lead {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .search-input input {
    height: 48px;
    padding: 12px 12px 12px 42px;
    font-size: 14px;
  }
  .search-input > .icon {
    left: 13px;
    width: 20px;
    height: 20px;
  }
  .search-form > .button {
    width: 48px;
    min-width: 48px;
    padding: 10px;
  }
  .search-form > .button > span {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .search-form > .button > .icon {
    display: block;
    width: 22px;
    height: 22px;
  }
  .category-chips {
    margin: 0 -16px;
    padding: 0 16px;
    gap: 0;
  }
  .chip {
    padding: 13px 11px 12px;
    font-size: 12px;
    gap: 7px;
  }
  .chip .icon {
    width: 18px;
    height: 18px;
  }
  .discovery {
    padding-top: 24px;
  }
  .results-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    margin-bottom: 17px;
  }
  .results-heading h2 {
    font-size: 29px;
  }
  .result-controls {
    justify-content: space-between;
    gap: 12px;
  }
  .filter-button {
    font-size: 12px;
    min-height: 38px;
    padding: 8px 13px;
  }
  .filter-button .icon {
    width: 18px;
    height: 18px;
  }
  .sort-form select,
  .sort-form .select-trigger {
    font-size: 12px;
    min-width: 137px;
    min-height: 38px;
    padding: 8px 28px 8px 12px;
  }
  .sort-form .select-trigger {
    padding-right: 12px;
  }
  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 14px;
  }
  .recipe-photo {
    aspect-ratio: 1.05;
    border-radius: 5px;
  }
  .card-body {
    padding-top: 9px;
  }
  .card-body h3 {
    font-size: 18px;
    line-height: 1.14;
    margin-bottom: 7px;
  }
  .card-meta {
    font-size: 10px;
    gap: 5px;
  }
  .card-meta span {
    gap: 4px;
  }
  .card-meta .icon {
    width: 13px;
    height: 13px;
  }
  .card-eyebrow {
    font-size: 11px;
    margin-top: 6px;
  }
  .pagination {
    font-size: 11px;
    gap: 8px;
    margin-top: 28px;
  }
  .pagination .button {
    font-size: 12px;
    padding: 8px 13px;
    min-height: 38px;
  }
  .search-header {
    padding: 23px 0 20px;
  }
  .search-header .eyebrow {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .search-header h1 {
    font-size: 36px;
    line-height: 1.1;
    margin-top: 0;
  }
  .search-header .search-form {
    margin-top: 18px;
  }
  .search-header ~ .discovery .results-heading {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .search-header ~ .discovery .results-heading > div:first-child {
    width: 100%;
  }
  .search-header ~ .discovery .result-controls {
    width: 100%;
  }
  .search-header ~ .discovery .results-heading h2 {
    display: none;
  }
  .result-count {
    margin-top: 0;
  }
  .active-filters {
    gap: 8px;
    margin: 0 0 20px;
    font-size: 11px;
  }
  .filter-chip {
    gap: 8px;
    padding: 6px 10px;
  }
  .filter-chip .icon {
    width: 14px;
    height: 14px;
  }
  .filter-dialog {
    margin: auto 0 0;
    width: 100%;
    max-width: none;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    max-height: 92dvh;
  }
  .dialog-inner {
    padding: 22px 22px 30px;
  }
  .dialog-inner h2 {
    font-size: 29px;
  }
  .field {
    margin-bottom: 24px;
  }
  .empty-state {
    padding: 40px 14px 50px;
  }
  .empty-state h2 {
    font-size: 31px;
  }
  .empty-state p {
    font-size: 14px;
  }
  .error-state h1 {
    font-size: 38px;
  }
  .recipe-detail {
    padding-top: 20px;
  }
  .back-link {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .recipe-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .detail-photo {
    order: -1;
    width: 100%;
  }
  .detail-photo .recipe-photo {
    aspect-ratio: 1.55;
  }
  .recipe-title {
    padding: 0;
  }
  .recipe-category {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .recipe-title h1 {
    font-size: 39px;
    line-height: 1.06;
    margin-bottom: 16px;
  }
  .recipe-title .lead {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .creator {
    font-size: 13px;
  }
  .source-language {
    font-size: 12px;
  }
  .recipe-facts {
    font-size: 12px;
    gap: 22px;
    margin: 22px 0;
  }
  .recipe-facts .icon {
    width: 23px;
    height: 23px;
  }
  .recipe-actions {
    gap: 10px;
  }
  .recipe-actions .button {
    flex: 1;
    font-size: 13px;
    padding: 12px 10px;
  }
  .share-link {
    font-size: 12px;
    margin-top: 10px;
  }
  .share-status {
    min-height: 0;
  }
  .share-status:empty {
    display: none;
  }
  .recipe-sections {
    margin: 24px 0 20px;
    gap: 0;
    justify-content: space-between;
  }
  .recipe-sections a {
    padding: 12px 8px;
    gap: 6px;
    font-size: 11px;
    min-height: 54px;
    white-space: normal;
  }
  .recipe-sections .icon {
    width: 20px;
    height: 20px;
  }
  .recipe-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .ingredients-panel {
    padding: 20px;
  }
  .ingredients-panel h2 {
    font-size: 31px;
  }
  .ingredients-panel .section-heading {
    align-items: center;
  }
  .ingredients-panel .muted {
    font-size: 12px;
  }
  .ingredients label {
    font-size: 14px;
    padding: 13px 0;
    grid-template-columns: 18px minmax(65px, auto) 1fr;
    gap: 14px;
  }
  .method-column h2 {
    font-size: 33px;
    margin-top: 4px;
  }
  .method li {
    gap: 17px;
    padding-bottom: 22px;
    margin-bottom: 22px;
  }
  .method p {
    font-size: 15px;
    padding-top: 3px;
  }
  .method .step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .nutrition-grid strong {
    font-size: 23px;
  }
  .nutrition-grid small {
    font-size: 10px;
  }
  .nutrition-grid span {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .nutrition-grid > div {
    padding: 14px 5px;
  }
  .consent-banner {
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }
  .consent-banner h2 {
    font-size: 24px;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-controls {
    gap: 8px;
  }
  .language-picker summary > span:not(.chevron) {
    max-width: 57px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .landing-hero h1 {
    font-size: 38px;
  }
  .recipe-facts {
    gap: 12px;
  }
  .recipe-sections a {
    font-size: 10px;
  }
  .store-link span {
    font-size: 11px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-meta {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .app-banner,
  .back-link,
  .recipe-actions,
  .share-link,
  .share-status,
  .recipe-sections,
  .consent-banner,
  .skip-link {
    display: none !important;
  }
  body {
    background: white;
    font-size: 12px;
  }
  .container {
    width: 100%;
  }
  .recipe-intro {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .recipe-title h1 {
    font-size: 32px;
  }
  .recipe-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
  }
  .ingredients-panel {
    padding: 12px;
  }
  .method li {
    break-inside: avoid;
  }
}
/* Blend the editorial photograph into the warm page background. */
@media (min-width: 641px) {
  .landing-hero {
    background-image:
      linear-gradient(
        90deg,
        var(--cream) 0%,
        var(--cream) 23%,
        transparent 62%
      ),
      url("/assets/ingredients-hero.webp");
    background-size:
      100% 100%,
      75% auto;
    background-position:
      center,
      right center;
    background-repeat: no-repeat;
  }
  .discovery-hero {
    background-image:
      linear-gradient(
        90deg,
        var(--cream) 0%,
        var(--cream) 29%,
        transparent 67%
      ),
      url("/assets/ingredients-hero.webp");
    background-size:
      100% 100%,
      65% auto;
    background-position:
      center,
      right center;
    background-repeat: no-repeat;
  }
}
.discovery-hero h1 span {
  display: block;
}
.app-banner > img {
  mix-blend-mode: multiply;
}
.desktop-filters {
  display: none;
}
.search-header .search-form {
  margin: 0 0 24px;
}
@media (min-width: 641px) {
  .search-header ~ .discovery .results-heading {
    display: block;
  }
  .search-header ~ .discovery .results-heading h2 {
    display: none;
  }
  .search-header ~ .discovery .result-controls {
    margin-top: 20px;
    align-items: flex-end;
  }
  .search-header ~ .discovery .filter-button {
    display: none;
  }
  .desktop-filters {
    display: flex;
    flex: 1;
    gap: 20px;
    align-items: flex-end;
  }
  .desktop-filters .field {
    flex: 1;
    margin: 0;
    min-width: 0;
  }
  .desktop-filters .button {
    font-size: 13px;
    min-height: 44px;
    padding: 10px 12px;
  }
  .search-header ~ .discovery .sort-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
  }
  .search-header ~ .discovery .sort-form .sr-only {
    position: static;
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
  }
  .search-header ~ .discovery .filter-fallback {
    display: none;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .desktop-filters {
    gap: 12px;
    flex-wrap: wrap;
  }
  .desktop-filters .field {
    min-width: 100px;
  }
  .desktop-filters .button {
    width: 100%;
  }
  .search-header ~ .discovery .result-controls {
    align-items: start;
  }
  .search-header ~ .discovery .sort-form select,
  .search-header ~ .discovery .sort-form .select-trigger {
    min-width: 125px;
  }
}
