@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #202a22;
  --text: #333c32;
  --muted: #555e52;
  --accent: #91492e;
  --cream: #f6f3e9;
  --paper: #fdfcf8;
  --blush: #f4e8e1;
  --apricot: #f4efe3;
  --sage: #e7ecdf;
  --gold: #efce89;
  --line: #dfdfd1;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--text); font: 400 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); line-height: 1.08; }
h1, h2 { font-weight: 650; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.55rem); }
a { color: var(--ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
#main:focus { outline: none; }
.shell { width: min(100% - clamp(2rem, 9.2vw, 9rem), 76rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; transform: translateY(-160%); padding: .75rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 2; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-layout { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5rem; }
.logo { display: inline-flex; align-items: center; gap: .56rem; color: var(--ink); text-decoration: none; font: 700 1.38rem/1 var(--display); font-weight: 700; letter-spacing: -.07em; line-height: 1; white-space: nowrap; }
.wordmark-end { color: var(--accent); }
.brand-mark { position: relative; flex: none; display: block; width: 2.02rem; height: 2.02rem; border-radius: 50%; background: var(--ink); }
.brand-mark::after { content: ""; display: block; position: absolute; width: 1.5px; height: .7rem; left: calc(50% - .75px); top: .99rem; background: var(--gold); }
.brand-mark i { position: absolute; width: .44rem; height: .67rem; background: var(--gold); border-radius: 75% 0 75% 0; top: .72rem; }
.brand-mark i:nth-child(1) { left: .43rem; transform: rotate(-82deg); }
.brand-mark i:nth-child(2) { left: .8rem; top: .35rem; transform: rotate(-40deg); }
.brand-mark i:nth-child(3) { right: .43rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.35rem, 3.3vw, 3rem); }
.desktop-nav a, .mobile-nav nav a { color: var(--ink); font-size: .97rem; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav [aria-current], .mobile-nav [aria-current] { text-decoration: underline; text-underline-offset: .43em; }
.button { min-height: 3.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .72rem 1.2rem; border: 1px solid var(--ink); border-radius: .37rem; background: var(--ink); color: white; text-decoration: none; text-align: center; font-size: .97rem; font-weight: 700; line-height: 1.3; transition: background .15s ease, color .15s ease; }
.button:hover { background: #344735; }
.button-small { min-height: 2.65rem; padding: .52rem .9rem; font-size: .9rem; }
.button-outline, .header-cta { background: transparent; color: var(--ink); }
.button-outline:hover, .header-cta:hover { background: var(--ink); color: white; }
.button-light { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.button-light:hover { color: var(--ink); background: #ffdf9a; }
.search-icon { display: inline-block; flex: 0 0 auto; position: relative; width: .8em; height: .8em; margin-right: .1em; border: 1.6px solid currentColor; border-radius: 50%; }
.search-icon::after { position: absolute; content: ""; width: .38em; height: 1.6px; background: currentColor; right: -.28em; bottom: -.11em; transform: rotate(45deg); }
.mobile-nav { display: none; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .115em; line-height: 1.4; text-transform: uppercase; }
.hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.8rem, 4.35vw, 4.1rem); padding-block: clamp(2.1rem, 3.8vw, 3.4rem); align-items: center; }
.hero-copy h1 { max-width: 12ch; font-size: clamp(3.25rem, 5.45vw, 5.5rem); line-height: .97; margin-bottom: 1.15rem; letter-spacing: -.062em; text-wrap: balance; }
.hero-intro { max-width: 29rem; font-size: clamp(1.03rem, 1.35vw, 1.18rem); color: var(--muted); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.hero-quiz-link {
  display: inline-grid;
  grid-template-columns: 4.15rem minmax(0, 1fr) 1.9rem;
  align-items: center;
  gap: .62rem;
  max-width: 100%;
  min-height: 3.8rem;
  margin-top: .9rem;
  padding: .32rem .65rem .32rem .4rem;
  border: 1px solid #74482d;
  border-radius: .85rem;
  background: #f7d680;
  box-shadow: 0 .23rem 0 #74482d;
  color: var(--ink);
  text-decoration: none;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.hero-quiz-link:hover { background: #ffe39d; box-shadow: 0 .33rem 0 #74482d; }
.hero-quiz-link:active { box-shadow: 0 .08rem 0 #74482d; }
.hero-quiz-art { position: relative; height: 3rem; }
.hero-quiz-art::before, .hero-quiz-art::after {
  position: absolute;
  width: 2.55rem;
  height: 2.55rem;
  background: center / contain no-repeat;
  content: "";
  transition: transform .18s ease-out;
}
.hero-quiz-art::before { left: 0; bottom: .05rem; background-image: url("./face-off/167755.png"); transform: rotate(-13deg); z-index: 1; }
.hero-quiz-art::after { right: 0; top: 0; background-image: url("./face-off/169967.png"); transform: rotate(15deg); }
.hero-quiz-label { display: grid; gap: .1rem; line-height: 1.2; }
.hero-quiz-label strong { font: 760 1.18rem/1.12 var(--display); letter-spacing: -.02em; }
.hero-quiz-label > span { font-size: .875rem; color: #5c4028; }
.hero-quiz-play { display: grid; width: 1.9rem; height: 1.9rem; place-items: center; border-radius: 50%; background: #2d4835; color: white; }
.hero-quiz-play::before { width: .57rem; height: .68rem; margin-left: .1rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); content: ""; }
@media (prefers-reduced-motion: no-preference) {
  .hero-quiz-link:hover { transform: translateY(-2px); }
  .hero-quiz-link:active { transform: translateY(2px); }
  .hero-quiz-link:hover .hero-quiz-art::before { transform: translate(-.09rem, -.1rem) rotate(-19deg); }
  .hero-quiz-link:hover .hero-quiz-art::after { transform: translate(.09rem, -.16rem) rotate(21deg); }
}
.hero-visual { border-radius: .4rem; background: var(--sage); aspect-ratio: 1.48; overflow: hidden; }
.hero-visual img, .intro-image img, .topic-image img, .guide-card-image img, .article-photo img, .food-feature img { width: 100%; height: 100%; object-fit: cover; }
img.photo-fruit { object-position: center 51%; }
img.photo-legumes { object-position: center 71%; }
img.photo-oats { object-position: center 62%; }
img.photo-produce { object-position: center 39%; }
.home-rankings { border-bottom: 1px solid var(--line); }
.food-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; }
.food-feature { display: grid; align-content: start; gap: .23rem; color: var(--ink); text-decoration: none; }
.food-feature > div { aspect-ratio: 1.55; margin-bottom: .34rem; overflow: hidden; border-radius: .32rem; background: var(--cream); }
.food-feature strong { font: 650 1.26rem/1.16 var(--display); letter-spacing: -.022em; }
.food-feature span { color: var(--muted); font-size: .9rem; }
.food-feature:hover strong { text-decoration: underline; text-underline-offset: .15em; }
.face-off { background: #f3e9d1; border-bottom: 1px solid #e3d4b5; scroll-margin-top: .65rem; }
.face-off-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.3rem, 4.4vw, 4rem); padding-block: clamp(2.15rem, 4.4vw, 4rem); }
.face-off-intro { display: grid; grid-template-areas: "heading" "copy" "art"; gap: .65rem; min-width: 0; }
.face-off-heading { grid-area: heading; }
.face-off-heading .eyebrow { margin-bottom: .5rem; }
.face-off-heading h2 { max-width: 14ch; color: #263c2b; }
.face-off-copy { grid-area: copy; }
.face-off-copy p { margin-bottom: .45rem; color: var(--muted); }
.face-off-art { grid-area: art; width: min(100%, 24rem); }
.face-off-art img { width: 100%; }
.face-off-panel { min-width: 0; padding: clamp(.85rem, 2.7vw, 1.75rem); border: 1px solid #455a40; border-radius: 1rem; background: #fffcf3; box-shadow: .35rem .38rem 0 #d9c9a6; }
.face-off-mode-note, .face-off-unit { margin-top: .35rem; color: var(--muted); font-size: .9rem; }
.face-off-progress { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .75rem; margin: 1rem 0 .38rem; color: var(--ink); font-size: .92rem; font-weight: 650; }
.face-off-progress [data-score] { background: #f6d882; padding: .2rem .65rem; border-radius: 1rem; font-variant-numeric: tabular-nums; }
.face-off-meter { display: block; appearance: none; width: 100%; height: .35rem; margin-bottom: .85rem; border: 0; border-radius: 1rem; overflow: hidden; background: #ede2cb; }
.face-off-meter::-webkit-progress-bar { background: #ede2cb; }
.face-off-meter::-webkit-progress-value { background: var(--accent); }
.face-off-meter::-moz-progress-bar { background: var(--accent); }
.face-off-choices, .face-off-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.face-off-choice { display: grid; align-content: start; gap: .19rem; min-height: 6.6rem; padding: clamp(.6rem, 1.7vw, 1.05rem); border: 1px solid #8b9b7d; border-radius: .7rem; background: #e8efd9; color: var(--ink); text-align: left; box-shadow: 0 .17rem 0 #bbc8a9; transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease; }
.face-off-choice:nth-child(2) { background: #f9e7d3; border-color: #b58c69; box-shadow: 0 .17rem 0 #dcc39d; }
.face-off-choice-art { justify-self: center; width: clamp(4rem, 12vw, 5.35rem); aspect-ratio: 1; object-fit: contain; margin-bottom: .25rem; }
.face-off-choice strong { font: 650 clamp(1.12rem, 1.9vw, 1.45rem)/1.1 var(--display); letter-spacing: -.02em; }
.face-off-choice span { font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.face-off-choice .face-off-serving { margin-top: .12rem; font-weight: 600; color: var(--ink); }
.face-off-choice:not(:disabled):hover { border-color: var(--ink); box-shadow: 0 .28rem 0 #cfbb95; transform: translateY(-2px); }
.face-off-choice:not(:disabled):active { box-shadow: none; transform: translateY(2px); }
.face-off-choice:disabled { cursor: default; box-shadow: none; background: var(--paper); border-color: var(--line); }
.face-off-choice[data-result="higher"] { background: #e0eccb; border-color: #53694e; }
.face-off-choice[data-result="picked"] { background: #f7e0d9; border-color: var(--accent); }
.face-off-reveal, .face-off-finish { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.face-off-reveal h3, .face-off-finish h3 { font-size: clamp(1.22rem, 2.3vw, 1.65rem); font-weight: 650; }
.face-off-outcomes { margin: .7rem 0 .9rem; padding: 0; list-style: none; }
.face-off-outcome { display: grid; align-content: start; gap: .3rem; padding: .65rem; background: var(--cream); border-radius: .52rem; font-size: .9rem; }
.face-off-outcome > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .45rem; color: var(--ink); }
.face-off-outcome [data-value] { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.face-off-track { display: block; height: .38rem; border-radius: 1rem; overflow: hidden; background: var(--line); }
.face-off-track > span { display: block; height: 100%; border-radius: inherit; background: #53694e; }
.face-off-outcome a { width: fit-content; }
.face-off-finish .button { margin-top: .75rem; }
.ranking-all { --ranking-tint: var(--apricot); }
.ranking-fruit { --ranking-tint: var(--blush); }
.ranking-vegetable { --ranking-tint: var(--sage); }
.home-section, .guide-list { padding-block: clamp(2.8rem, 4.3vw, 4.5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.55rem; }
.section-heading .eyebrow { margin-bottom: .52rem; }
.section-link { font-weight: 700; flex-shrink: 0; }
.topic-grid, .guide-grid, .snack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.55rem); }
.topic-card, .guide-card { display: block; color: inherit; text-decoration: none; border-radius: .56rem; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .15s ease; }
.topic-card:hover, .guide-card:hover { box-shadow: 0 .38rem 1.25rem #202a2212; }
.topic-card:hover h3, .guide-card:hover h3 { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: .07em; }
.topic-image { aspect-ratio: 1.78; }
.topic-fruit { --tint: var(--blush); }
.topic-legumes { --tint: var(--apricot); }
.topic-grains { --tint: var(--sage); }
.topic-card { background: var(--paper); }
.topic-copy { padding: 1.15rem 1.35rem 1.3rem; }
.topic-copy h3, .guide-card h3 { font: 650 clamp(1.47rem, 2.4vw, 2.13rem)/1.08 var(--display); letter-spacing: -.037em; }
.topic-copy p, .guide-card-copy > p:last-child { margin-top: .52rem; color: var(--muted); }
.guide-section { border-block: 1px solid var(--line); background: var(--cream); }
.guide-card { background: var(--paper); }
.guide-card-image { aspect-ratio: 1.83; background: var(--apricot); }
.guide-card-copy { padding: 1.1rem 1.3rem 1.4rem; }
.guide-card-copy .eyebrow { margin-bottom: .7rem; letter-spacing: .055em; }
.dot { display: inline-block; width: .25rem; height: .25rem; border-radius: 50%; background: currentColor; vertical-align: .18em; margin-inline: .35em; }
.read-time { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; white-space: nowrap; }
.industry-section { padding-block: 3rem; }
.industry-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.6rem, 4.8vw, 3.5rem); border-radius: .6rem; background: var(--ink); color: white; }
.industry-banner .eyebrow { color: var(--gold); margin-bottom: .55rem; }
.industry-banner h2 { color: white; }
.industry-banner h2 + p { margin-top: .75rem; color: #e7eddc; }
.industry-banner .button { flex-shrink: 0; }
.site-footer { background: var(--cream); border-top: 1px solid var(--line); }
.footer-layout { display: flex; align-items: start; justify-content: space-between; gap: 1.8rem; padding-block: 2.6rem 2.1rem; }
.footer-layout p { margin-top: .65rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.55rem; }
.footer-links a { font-weight: 600; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: .88rem; }

.page-intro { padding-block: 1.2rem clamp(1.9rem, 4.2vw, 3.35rem); background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumbs { font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.65rem; padding: 0; }
.breadcrumbs li + li::before { content: "/"; display: inline-block; margin-right: .45rem; color: var(--accent); }
.page-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: center; gap: 2rem; }
.page-intro-layout > :only-child { grid-column: 1 / -1; }
.page-intro h1, .not-found h1 { font-size: clamp(2.55rem, 5.5vw, 5rem); line-height: .99; margin: .6rem 0 .85rem; }
.intro-copy { color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.24rem); max-width: 45rem; }
.intro-image { aspect-ratio: 1.7; overflow: hidden; border-radius: .56rem; background: var(--apricot); }
.category-tabs { display: flex; flex-wrap: wrap; gap: .58rem; margin-top: 1.6rem; }
.category-tabs a { border-radius: 2rem; border: 1px solid var(--line); background: var(--cream); font-weight: 600; padding: .43rem .9rem; text-decoration: none; }
.category-tabs a:hover { border-color: var(--accent); }
.category-tabs [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.snack-article-link {
  display: grid;
  grid-template-columns: clamp(4rem, 14vw, 7.5rem) minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  padding: .38rem .85rem .38rem .38rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--blush);
  text-decoration: none;
}
.snack-article-link img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: .3rem; }
.snack-article-link > span { display: grid; gap: .19rem; }
.snack-article-link strong { font: 700 clamp(1.05rem, 2vw, 1.28rem)/1.15 var(--display); letter-spacing: -.02em; }
.snack-article-link span span { color: var(--muted); font-size: .875rem; }
.snack-article-link:hover { border-color: var(--accent); }
.snack-article-link:hover strong { text-decoration: underline; }
.ranking-section { padding-bottom: 3.5rem; }
.ranking-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-block: 1.5rem; }
.ranking-navigation > a { font-size: .94rem; font-weight: 600; }
.ranking-tabs { margin: 0; }
.ranking-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem 1.2rem; margin-bottom: 1rem; }
.ranking-toolbar h2 { font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
.ranking-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1rem; }
.ranking-group { display: grid; gap: .28rem; color: var(--ink); font-size: .9rem; font-weight: 700; }
.ranking-group select { min-height: 2.67rem; width: 100%; padding: .43rem .62rem; border: 1px solid var(--line); background-color: var(--cream); color: var(--ink); border-radius: .38rem; font-weight: 500; }
.ranking-sort { padding: 0; margin: 0; min-width: 0; border: 0; color: var(--ink); }
.ranking-sort legend { margin-bottom: .28rem; padding: 0; font-weight: 700; font-size: .9rem; }
.ranking-sort > div { display: inline-flex; gap: .18rem; padding: .22rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--cream); }
.ranking-sort label { position: relative; }
.ranking-sort label span { display: block; padding: .55rem .72rem; border-radius: .29rem; text-align: center; font-size: .9rem; line-height: 1.35; }
.ranking-sort input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ranking-sort input:checked + span { background: var(--ink); color: white; font-weight: 700; }
.ranking-sort input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ranking-table { background: var(--paper); }
.ranking-table :is(th, td) { padding: .68rem clamp(.55rem, 1.45vw, 1.1rem); }
.ranking-table thead { background: var(--ranking-tint); }
.ranking-table thead th { font-size: .93rem; }
.ranking-table tbody tr:nth-child(odd) { background: white; }
.ranking-table .ranking-position { width: 4rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ranking-table .ranking-food { min-width: 10rem; font-weight: 700; }
.ranking-prep, .ranking-measure { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.ranking-value { font-variant-numeric: tabular-nums; }
.ranking-value strong { white-space: nowrap; color: var(--ink); }
.ranking-table .ranking-source { font-size: .92rem; white-space: nowrap; }
.ranking-section[data-sort="weight"] .ranking-weight,
.ranking-section[data-sort="portion"] .ranking-portion { background: var(--ranking-tint); }
.ranking-section [aria-sort="descending"] { text-decoration: underline; text-underline-offset: .25em; }
.ranking-mobile-label { display: none; }
.ranking-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ranking-method { margin-top: 2rem; }
.pairing-page { padding-bottom: 3.5rem; }
.pairing-list-heading { margin-bottom: 1rem; font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
.pairing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.pairing-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .45rem; background: white; }
.pairing-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .6rem 1rem; padding: 1.15rem 1.2rem; background: var(--sage); }
.pairing-heading h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 650; letter-spacing: -.025em; }
.pairing-heading p { display: grid; justify-items: end; color: var(--ink); white-space: nowrap; }
.pairing-heading strong { font: 700 1.63rem/1 var(--display); }
.pairing-heading span { color: var(--muted); font-size: .85rem; }
.pairing-card table { font-size: .95rem; }
.pairing-card thead { background: var(--paper); }
.pairing-card :is(th, td) { padding: .58rem .55rem; vertical-align: top; }
.pairing-card tr > :first-child { padding-left: 1.2rem; }
.pairing-card tr > :last-child { padding-right: 1.2rem; text-align: right; }
.pairing-card tbody th a { font-weight: 550; }
.pairing-fiber { white-space: nowrap; font-weight: 650; font-variant-numeric: tabular-nums; }
.pairing-prep { padding: .88rem 1.2rem 1.1rem; margin-top: auto; color: var(--muted); }
.finder-section { padding-block: clamp(1.85rem, 4vw, 3.15rem) 3rem; scroll-margin-top: .75rem; }
.section-copy, .directory-footnote { color: var(--muted); margin-top: .54rem; }
.filters { display: grid; grid-template-columns: minmax(10rem, 1.6fr) repeat(auto-fit, minmax(8rem, 1fr)); align-items: end; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--cream); }
.filters label { display: grid; gap: .3rem; font-size: .9rem; color: var(--ink); font-weight: 700; }
.filters input, .filters select { min-height: 2.75rem; border: 1px solid #bfaaa9; background-color: var(--paper); color: var(--ink); border-radius: .33rem; width: 100%; padding: .46rem .58rem; font-weight: 500; font-size: 1rem; }
.filters select, .ranking-group select { appearance: none; padding-right: 1.65rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23202a22' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: .8rem; background-position: right .57rem center; }
.search-field > span { position: relative; display: block; }
.search-field .search-icon { position: absolute; top: 1rem; left: .7rem; pointer-events: none; }
.filters .search-field input { padding-left: 2rem; }
.result-tools { display: flex; gap: .8rem; align-items: center; justify-content: space-between; min-height: 3.9rem; color: var(--muted); font-size: .95rem; }
.result-tools > div { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.text-button { border: 0; background: none; color: var(--ink); text-decoration: underline; font-weight: 650; padding: .45rem .25rem; }
.snack-grid { list-style: none; padding: 0; margin: 0; }
.snack-card { border: 1px solid var(--line); border-radius: .55rem; background: white; min-width: 0; }
.snack-card article { display: flex; flex-direction: column; height: 100%; padding: 1.1rem; }
.snack-card-top { display: flex; justify-content: space-between; align-items: center; gap: .55rem; margin-bottom: .75rem; }
.category-tag { padding: .17rem .5rem; border-radius: .2rem; color: var(--ink); background: var(--tint); font-weight: 650; font-size: .86rem; }
.type-label, .maker { color: var(--muted); font-size: .89rem; }
.snack-card h3 { font-size: 1.23rem; }
.maker { margin-top: .2rem; }
.fiber-line { display: flex; gap: .6rem; align-items: center; margin-top: .72rem; color: var(--ink); font-size: .91rem; line-height: 1.23; }
.fiber-line strong { font: 500 2.8rem/1 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.fiber-line strong span { font-size: 1.4rem; }
.portion { color: var(--muted); font-size: .85rem; }
.snack-note { margin-block: .62rem .7rem; }
.snack-card-bottom { display: flex; gap: .6rem; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .55rem; border-top: 1px solid var(--line); font-size: .9rem; }
.compare-label { display: inline-flex; align-items: center; gap: .26rem; min-height: 2rem; cursor: pointer; font-weight: 600; }
.compare-label input { accent-color: var(--ink); width: 1rem; height: 1rem; margin: 0; }
.compare-label:has(:disabled) { opacity: .63; cursor: default; }
.directory-footnote { margin-top: 1.1rem; }
.empty { padding: 1.2rem; background: var(--blush); border-radius: .5rem; }
.comparison { width: min(100% - 1.5rem, 47rem); max-height: calc(100% - 2rem); margin: auto; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .6rem; background: var(--paper); color: var(--text); }
.comparison::backdrop { background: #171f17c4; }
.comparison-header { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .5rem; }
.comparison h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.table-wrap { overflow-x: auto; margin-block: 1rem; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--ink); }
thead { background: var(--blush); }
.category-notes, .about-layout { padding-block: 1rem 3.5rem; }
.about-layout { padding-top: 2.5rem; }
.guide-list h2 { margin-bottom: 1.15rem; }
.guide-list .guide-grid + h2 { margin-top: 2.7rem; }
.industry-check { padding-bottom: 3.5rem; }
.industry-check-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 1rem 2.5rem; padding: clamp(1.3rem, 4vw, 2.9rem); border-radius: .55rem; background: var(--apricot); }
.industry-check-layout ul { margin: 0; padding-left: 1.25rem; }
.industry-check-layout li + li { margin-top: .55rem; }
.industry-check-layout .button { margin-top: 1.1rem; }
.article-heading { max-width: 60rem; }
.byline { margin-top: .8rem; font-size: .92rem; color: var(--muted); }
.article-photo { aspect-ratio: 2.65; margin-top: 1.7rem; border-radius: .55rem; overflow: hidden; background: var(--apricot); }
.article-photo.article-photo-full { aspect-ratio: auto; }
.article-photo-full img { height: auto; }
a.article-photo { display: block; }
a.article-photo:hover img { opacity: .94; }
.article-layout { display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 45rem); align-items: start; gap: 2rem 3.75rem; padding-block: 2rem 3.7rem; }
.contents { border: 1px solid var(--line); background: var(--cream); border-radius: .55rem; padding: .85rem 1rem; }
.contents ol { margin: .4rem 0 0; padding-left: 1.2rem; font-size: .93rem; }
.contents li + li { margin-top: .4rem; }
.prose { max-width: 46rem; }
.prose h2 { margin: 1.45rem 0 .52rem; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose .eyebrow + h2 { margin-top: .38rem; }
.prose section + section { margin-top: 1.75rem; }
.prose h3 { margin: 1rem 0 .4rem; }
.prose p + p { margin-top: .7rem; }
.label-comparison { container-type: inline-size; margin-block: 1rem; }
.label-table { font-size: .91rem; line-height: 1.35; }
.label-table :is(th, td) { vertical-align: top; }
.label-table th[scope="row"] { width: 31%; }
.label-pack { display: block; color: var(--muted); font-weight: 400; }
.label-table a { display: inline-block; margin-top: .22rem; font-size: .85rem; font-weight: 500; }
.label-mobile-heading { display: none; }
.label-notes { font-size: .92rem; color: var(--muted); }
.references { margin-top: 1.75rem; border-top: 1px solid var(--line); padding-top: .85rem; overflow-wrap: anywhere; }
.references ul { padding-left: 1.2rem; }
.not-found { padding-block: 3.8rem 5rem; }
.not-found .button { margin-top: 1.15rem; }

@container (max-width: 37rem) {
  .label-table { display: block; }
  .label-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .label-table tbody { display: grid; gap: .65rem; }
  .label-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; padding: .8rem; border: 1px solid var(--line); border-radius: .5rem; background: white; }
  .label-table tbody :is(th, td) { padding: 0; border: 0; }
  .label-table th[scope="row"] { grid-column: 1 / -1; width: auto; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
  .label-mobile-heading { display: block; color: var(--muted); font-size: .8rem; }
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.5rem; }
  .hero-visual { aspect-ratio: 1.12; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .search-field { grid-column: span 2; }
  .snack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .header-layout { min-height: 4.1rem; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { min-height: 2.65rem; display: flex; align-items: center; border: 1px solid var(--ink); border-radius: .35rem; color: var(--ink); padding: .35rem .8rem; font-weight: 700; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; display: grid; gap: .25rem; top: calc(100% - .15rem); left: 0; right: 0; background: var(--cream); padding: .6rem; border: 1px solid var(--line); border-radius: .4rem; box-shadow: 0 .5rem 1.5rem #202a2226; }
  .mobile-nav nav a { padding: .45rem .6rem; }
}
@media (max-width: 720px) {
  .food-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .face-off-layout { grid-template-columns: minmax(0, 1fr); }
  .face-off-intro { grid-template-areas: "heading art" "copy copy"; grid-template-columns: minmax(0, 1fr) minmax(5rem, .58fr); align-items: center; gap: .3rem .52rem; }
  .face-off-art { justify-self: end; max-width: 11rem; }
  .pairing-grid { grid-template-columns: minmax(0, 1fr); }
  .ranking-table { display: block; background: transparent; }
  .ranking-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ranking-table tbody { display: grid; gap: .65rem; }
  .ranking-table tbody tr { display: grid; grid-template-columns: 1.45rem minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: .48rem .56rem; border: 1px solid var(--line); border-radius: .5rem; padding: .7rem; background: white; }
  .ranking-table :is(td, th) { padding: 0; border: 0; }
  .ranking-table .ranking-position { width: auto; grid-area: 1 / 1; }
  .ranking-table .ranking-food { grid-area: 1 / 2 / 2 / -1; min-width: 0; }
  .ranking-table .ranking-value { padding: .39rem .35rem; border-radius: .26rem; }
  .ranking-weight { grid-area: 2 / 2; }
  .ranking-portion { grid-area: 2 / 3; }
  .ranking-source { grid-area: 3 / 2 / 4 / -1; }
  .ranking-mobile-label { display: block; color: var(--muted); font-size: .875rem; line-height: 1.2; }
}
@media (max-width: 680px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 2rem; }
  .hero-copy h1 { font-size: clamp(3.15rem, 10.5vw, 4.4rem); margin-block: .8rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-visual { aspect-ratio: 1.435; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; margin-bottom: 1.1rem; }
  .topic-grid, .guide-grid, .snack-grid { grid-template-columns: minmax(0, 1fr); }
  .topic-card { display: grid; grid-template-columns: minmax(6rem, .8fr) minmax(0, 1fr); }
  .topic-image { aspect-ratio: auto; min-height: 6.65rem; }
  .topic-copy { padding: .85rem; }
  .topic-copy h3 { font-size: 1.45rem; }
  .topic-copy p { margin-top: .3rem; }
  .industry-banner, .footer-layout { flex-direction: column; align-items: start; gap: 1rem; }
  .page-intro-layout, .article-layout, .industry-check-layout { grid-template-columns: minmax(0, 1fr); }
  .page-intro-layout { gap: 1.15rem; }
  .intro-image { aspect-ratio: 2; }
  .article-photo { aspect-ratio: 1.65; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-tools { min-height: 3.6rem; }
}
@media (max-width: 355px) {
  .header-layout { gap: .55rem; }
  .logo { font-size: 1.17rem; letter-spacing: -.055em; }
  .mobile-nav summary { padding-inline: .6rem; }
  .food-feature strong { font-size: 1.14rem; }
  .face-off-mode label span { padding-inline: .5rem; }
  .pairing-heading, .pairing-prep { padding-inline: .78rem; }
  .pairing-card tr > :first-child { padding-left: .78rem; }
  .pairing-card tr > :last-child { padding-right: .78rem; }
  .hero-copy h1 { font-size: 2.8rem; }
  .topic-card { grid-template-columns: 1fr; }
  .topic-image { aspect-ratio: 2.4; }
  .snack-card-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
