:root {
  --ink: #172017;
  --ink-soft: #536053;
  --paper: #f2f0e6;
  --paper-deep: #e7e4d7;
  --forest: #0d170f;
  --forest-2: #142419;
  --moss: #9bb37a;
  --acid: #d7ed78;
  --line: rgba(23, 32, 23, 0.16);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --page: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
::selection { color: var(--forest); background: var(--acid); }

.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;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--forest);
  background: var(--acid);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 82px;
  padding: 0 34px;
  color: #f7f7ed;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: background .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(10, 20, 12, 0.86);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}
.brand > span:last-child { display: grid; }
.brand b { font-family: var(--serif); font-size: 22px; letter-spacing: .16em; }
.brand small { margin-top: -2px; font-size: 8px; letter-spacing: .28em; opacity: .7; }
.brand-mark { position: relative; display: block; width: 25px; height: 32px; }
.brand-mark::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  width: 1px;
  height: 25px;
  background: currentColor;
  transform: rotate(8deg);
  transform-origin: bottom;
}
.brand-mark i {
  position: absolute;
  width: 10px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 100% 0 100% 0;
}
.brand-mark i:first-child { left: 3px; top: 1px; transform: rotate(-31deg); }
.brand-mark i:last-child { right: 0; top: 9px; transform: rotate(55deg); }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a {
  position: relative;
  color: inherit;
  font-size: 13px;
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.site-header nav a:hover { opacity: 1; }
.site-header nav a:hover::after { transform: scaleX(1); }
.map-link {
  justify-self: end;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font-size: 13px;
  cursor: pointer;
}
.map-link span { display: inline-block; margin-left: 8px; transition: transform .25s ease; }
.map-link:hover span { transform: translate(3px, -3px); }

.site-record-link {
  position: fixed;
  z-index: 29;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px 11px 16px;
  color: #f4f4ed;
  background: var(--forest-2);
  border: 1px solid rgba(244, 244, 237, .3);
  box-shadow: 0 10px 28px rgba(13, 23, 15, .22);
  font-size: 13px;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.site-record-link span { color: var(--acid); font-size: 17px; line-height: .8; }
.site-record-link:hover { background: var(--forest); transform: translateY(-2px); }
.food-log-toast {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: min(400px, calc(100vw - 44px));
  padding: 13px 14px 13px 16px;
  color: var(--ink);
  background: #f7f6ed;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(13, 23, 15, .16);
  font-size: 13px;
}
.food-log-toast[hidden] { display: none; }
.food-log-toast a { color: var(--ink); font-size: 12px; text-decoration: none; border-bottom: 1px solid currentColor; }
.food-log-toast button { padding: 0; color: var(--ink-soft); background: transparent; border: 0; cursor: pointer; font-size: 18px; line-height: 1; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #f4f2e7;
  background: var(--forest);
}
.hero-media {
  position: absolute;
  inset: -4%;
  background-image: url("./assets/hero-vegetables.webp");
  background-position: 72% 52%;
  background-size: cover;
  transform: translateY(var(--hero-shift, 0px)) scale(1.04);
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 15, 8, .98) 0%, rgba(7, 15, 8, .91) 34%, rgba(7, 15, 8, .47) 61%, rgba(7, 15, 8, .08) 100%),
    linear-gradient(0deg, rgba(7, 15, 8, .72) 0%, transparent 33%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: var(--page);
  min-height: 100svh;
  margin: auto;
  padding: 116px 0 82px;
}
.kicker {
  margin: 0 0 22px;
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .65;
}
.hero-brand {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 112px);
  line-height: .82;
  letter-spacing: .13em;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.3vw, 69px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.hero-copy {
  max-width: 550px;
  margin: 26px 0 0;
  color: rgba(244, 242, 231, .72);
  font-size: 16px;
  line-height: 1.9;
}
.hero-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(650px, 100%);
  margin-top: 38px;
  padding: 7px 7px 7px 20px;
  background: rgba(243, 242, 231, .96);
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .26);
}
.search-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: .55;
}
.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(46deg);
}
.hero-search { color: var(--ink); }
.hero-search input,
.inline-search input {
  min-width: 0;
  padding: 12px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
}
.hero-search button,
.primary-button {
  padding: 13px 22px;
  color: var(--forest);
  background: var(--acid);
  border: 0;
  cursor: pointer;
}
.hero-prompts { display: flex; align-items: center; gap: 18px; margin-top: 15px; font-size: 11px; }
.hero-prompts span { opacity: .45; }
.hero-prompts button {
  padding: 0 0 3px;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .36);
  cursor: pointer;
  opacity: .72;
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: inherit;
  font-size: 9px;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  opacity: .58;
}
.scroll-cue i { width: 1px; height: 25px; background: currentColor; animation: scrollPulse 1.8s ease-in-out infinite; }
.image-credit { position: absolute; z-index: 2; right: 26px; bottom: 26px; margin: 0; font-size: 9px; opacity: .38; }

.hero-enter { opacity: 0; transform: translateY(22px); animation: heroIn .8s cubic-bezier(.2,.72,.2,1) forwards; }
.hero-enter:nth-child(2) { animation-delay: .1s; }
.hero-enter:nth-child(3) { animation-delay: .2s; }
.hero-enter:nth-child(4) { animation-delay: .3s; }
.hero-enter:nth-child(5) { animation-delay: .4s; }
.hero-enter:nth-child(6) { animation-delay: .5s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.45); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

.section-pad { width: var(--page); margin: auto; padding: 130px 0; }
.section-heading,
.explore-heading,
.planner-heading,
.blend-heading,
.meal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 80px;
  align-items: end;
}
.section-heading h2,
.explore-heading h2,
.planner-heading h2,
.blend-heading h2,
.meal-heading h2,
.nutrient-intro h2,
.season-content h2,
.principle h2,
.map-content h2,
.map-dialog h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(37px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.05em;
}
.section-heading > p,
.explore-heading > p,
.planner-heading > p,
.blend-heading > p,
.meal-heading > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.daily-workspace {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 72px;
  margin-top: 76px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.progress-wrap { position: sticky; top: 110px; display: flex; align-items: center; gap: 30px; align-self: start; }
.progress-ring {
  position: relative;
  display: grid;
  flex: 0 0 142px;
  width: 142px;
  height: 142px;
  place-items: center;
  background: conic-gradient(var(--ink) var(--progress), rgba(23, 32, 23, .1) 0);
  border-radius: 50%;
  transition: background .5s ease;
}
.progress-ring::before { content: ""; position: absolute; width: 126px; height: 126px; background: var(--paper); border-radius: 50%; }
.progress-ring div { position: relative; display: flex; align-items: baseline; }
.progress-ring strong { font-family: var(--serif); font-size: 48px; font-weight: 400; }
.progress-ring span { color: var(--ink-soft); font-size: 13px; }
.progress-label { margin: 0 0 10px; color: var(--ink-soft); font-size: 11px; letter-spacing: .15em; }
.progress-wrap h3 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.progress-wrap > div:last-child > p:last-child { max-width: 250px; margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.daily-groups { display: grid; }
.daily-groups label {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .25s ease, opacity .25s ease;
}
.daily-groups label:first-child { border-top: 1px solid var(--line); }
.daily-groups label:hover { padding-left: 8px; }
.daily-groups input { position: absolute; opacity: 0; }
.group-index { color: var(--ink-soft); font-size: 11px; }
.daily-groups b, .daily-groups small { display: block; }
.daily-groups b { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.daily-groups small { margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
.daily-groups label::after {
  content: "";
  position: absolute;
  right: 3px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(23, 32, 23, .28);
  border-radius: 50%;
  transition: background .25s ease, border-color .25s ease;
}
.daily-groups label:has(input:checked) { opacity: .55; }
.daily-groups label:has(input:checked)::after { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 5px var(--paper); }

.food-log { padding: 0 0 74px; background: var(--paper); }
.food-log-disclosure { width: var(--page); margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.food-log-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 22px; align-items: center; padding: 30px 0; cursor: pointer; list-style: none; }
.food-log-summary::-webkit-details-marker { display: none; }
.food-log-summary-copy { display: grid; gap: 7px; }
.food-log-summary-copy > span:last-child { display: flex; align-items: baseline; gap: 20px; }
.food-log-summary h2 { margin: 0; font-family: var(--serif); font-size: clamp(29px, 3vw, 42px); font-weight: 400; letter-spacing: -.05em; }
.food-log-summary p { margin: 0; max-width: 360px; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.food-log-summary-action { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 10px; letter-spacing: .1em; white-space: nowrap; }
.food-log-summary-action i { width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.food-log-close-label { display: none; }
.food-log-disclosure[open] .food-log-open-label { display: none; }
.food-log-disclosure[open] .food-log-close-label { display: inline; }
.food-log-disclosure[open] .food-log-summary-action i { transform: rotate(225deg) translateY(-2px); }
.food-log-summary-count { min-width: 42px; padding-left: 20px; color: var(--ink); border-left: 1px solid var(--line); font-family: var(--serif); font-size: 17px; text-align: right; white-space: nowrap; }
.food-log-content { padding-bottom: 66px; }
.food-log-profile { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.food-log-profile-field { display: grid; gap: 9px; min-width: min(360px, 100%); color: var(--ink-soft); font-size: 10px; letter-spacing: .12em; }
.food-log-profile-field input { width: 100%; padding: 7px 0; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line); outline: none; font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
.food-log-profile-field input:focus { border-color: var(--ink); }
.food-log-profile-note { display: flex; align-items: center; gap: 12px; max-width: 370px; color: var(--ink-soft); }
.food-log-profile-note > span:last-child { display: grid; gap: 5px; }
.food-log-profile-note b { color: var(--ink); font-family: var(--serif); font-size: 16px; font-weight: 400; }
.food-log-profile-note small { font-size: 10px; line-height: 1.6; }
.profile-dot { display: block; width: 10px; height: 10px; flex: 0 0 10px; background: var(--acid); border: 1px solid var(--ink); border-radius: 50%; }
.food-log-workspace { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 58px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.food-log-form { min-width: 0; }
.food-log-form-heading, .food-log-analysis-top, .food-log-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.food-log-form-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.food-log-form-heading h3, .food-log-analysis-top h3, .food-log-history-heading h3 { margin: 0; font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -.04em; }
.food-log-form-heading > span, .food-log-history-heading > span { color: var(--ink-soft); font-size: 10px; letter-spacing: .12em; }
.food-log-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.food-log-field { display: grid; gap: 8px; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.food-log-field input, .food-log-field textarea, .food-log-field select, .food-log-analysis-top input { width: 100%; padding: 11px 12px; color: var(--ink); background: rgba(255,255,255,.42); border: 1px solid var(--line); border-radius: 0; outline: none; font-size: 12px; letter-spacing: 0; resize: vertical; }
.food-log-field input:focus, .food-log-field textarea:focus, .food-log-field select:focus, .food-log-analysis-top input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 2px rgba(215,237,120,.3); }
.food-log-dish { display: grid; grid-template-columns: 28px 1fr 1.45fr; gap: 14px; align-items: start; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.food-log-out-fields { margin-top: 20px; padding: 18px 0 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.food-log-out-fields[hidden] { display: none; }
.food-log-out-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.food-log-out-heading span { color: var(--ink); font-family: var(--serif); font-size: 19px; }
.food-log-out-heading small { color: var(--ink-soft); font-size: 10px; }
.food-log-form.is-eating-out .food-log-dish-secondary { display: none; }
.food-log-form.is-eating-out .food-log-form-heading > span { color: var(--forest-2); }
.food-log-dish-index { padding-top: 11px; color: var(--ink-soft); font-size: 10px; }
.food-log-form > .food-log-field { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.food-log-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.text-arrow-button { padding: 0 0 7px; color: var(--forest-2); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 12px; }
.text-arrow-button span { display: inline-block; margin-left: 12px; transition: transform .2s ease; }
.text-arrow-button:hover span { transform: translateX(4px); }
.food-log-cancel, .food-log-history-actions button { padding: 0; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer; font-size: 10px; }
.food-log-cancel:hover, .food-log-history-actions button:hover { color: var(--ink); border-color: var(--ink); }
.food-log-form-actions p { flex: 1 1 180px; margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.food-log-analysis { min-height: 392px; padding: 2px 0 0 48px; color: var(--ink); border-left: 1px solid var(--line); }
.food-log-analysis .kicker { color: var(--ink-soft); }
.food-log-analysis-top { align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.food-log-analysis-top > label { display: grid; gap: 7px; min-width: 142px; color: var(--ink-soft); font-size: 9px; }
.food-log-analysis-top input { padding: 8px 9px; color: var(--ink); background: transparent; border-color: var(--line); }
.food-log-summary-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; padding: 24px 0 17px; color: var(--ink-soft); font-size: 11px; }
.food-log-summary-line strong { color: var(--forest-2); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.food-log-day-list { padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.food-log-day-list ul { margin: 0; padding: 0; list-style: none; }
.food-log-day-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 10px 0; color: var(--ink); border-top: 1px solid var(--line); }
.food-log-day-list li > span { color: var(--forest-2); font-size: 10px; }
.food-log-day-list li > div { display: grid; gap: 4px; min-width: 0; }
.food-log-day-list li b { font-family: var(--serif); font-size: 15px; font-weight: 400; }
.food-log-day-list li small { overflow: hidden; color: var(--ink-soft); font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.food-log-group-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 23px; }
.food-log-group-list span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; color: var(--ink-soft); border: 1px solid var(--line); font-size: 10px; }
.food-log-group-list span.is-present { color: var(--forest-2); border-color: var(--forest-2); }
.food-log-group-list i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: .8; }
.food-log-group-list .is-missing i { background: transparent; border: 1px solid currentColor; }
.food-log-highlights, .food-log-missing { padding-top: 20px; border-top: 1px solid var(--line); }
.food-log-analysis h4 { margin: 0 0 12px; color: var(--ink-soft); font-size: 10px; font-weight: 400; letter-spacing: .14em; }
.food-log-highlights > div { display: flex; flex-wrap: wrap; gap: 7px; }
.food-log-highlights span { padding: 6px 8px; color: var(--forest-2); border: 1px solid rgba(23,32,23,.3); font-size: 10px; }
.food-log-highlights p, .food-log-unrecognized, .food-log-empty-analysis p { margin: 12px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.food-log-missing ul { margin: 0; padding: 0; list-style: none; }
.food-log-missing li { display: grid; grid-template-columns: 135px 1fr; gap: 14px; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.65; }
.food-log-missing li b { color: var(--forest-2); font-weight: 400; }
.food-log-complete { display: grid; gap: 9px; margin-top: 20px; padding: 15px 0 0 14px; border-top: 1px solid var(--line); border-left: 2px solid var(--forest-2); color: var(--forest-2); font-size: 11px; line-height: 1.7; }
.food-log-complete span { color: var(--ink-soft); }
.food-log-empty-analysis { display: grid; min-height: 295px; align-content: center; color: var(--ink); }
.food-log-empty-analysis strong { color: var(--forest-2); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.food-log-history { margin-top: 62px; padding-top: 27px; border-top: 1px solid var(--line); }
.food-log-history-heading { align-items: baseline; padding-bottom: 18px; }
.food-log-history-row { display: grid; grid-template-columns: 145px minmax(0, 1fr) auto; gap: 24px; align-items: center; min-height: 84px; padding: 15px 0; border-top: 1px solid var(--line); }
.food-log-history-date { display: grid; gap: 5px; color: var(--ink-soft); font-size: 10px; }
.food-log-history-date b { color: var(--ink); font-family: var(--serif); font-size: 17px; font-weight: 400; }
.food-log-history-main { min-width: 0; }
.food-log-history-main h4 { margin: 0 0 5px; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.food-log-history-main p { margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 10px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.food-log-history-actions { display: flex; gap: 15px; }
.food-log-history-empty { margin: 0; padding: 24px 0; color: var(--ink-soft); font-size: 11px; }

.nutrient-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10vw;
  padding: 112px max(32px, calc((100vw - 1240px) / 2));
  color: #f0f2e8;
  background: var(--forest);
}
.nutrient-intro h2 { max-width: 560px; font-size: clamp(34px, 3.8vw, 58px); }
.nutrient-intro > p:last-child { max-width: 480px; margin: 26px 0 0; color: rgba(240, 242, 232, .58); font-size: 13px; line-height: 1.9; }
.nutrient-explorer { min-width: 0; }
.nutrient-group-tabs { display: flex; flex-wrap: wrap; gap: 0 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.nutrient-group-tabs button { padding: 14px 0 11px; color: rgba(255, 255, 255, .48); background: none; border: 0; border-bottom: 1px solid transparent; font-size: 10px; letter-spacing: .04em; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.nutrient-group-tabs button:hover, .nutrient-group-tabs button.active { color: var(--acid); border-color: var(--acid); }
.nutrient-group-summary { min-height: 38px; margin: 16px 0 24px; color: rgba(240, 242, 232, .56); font-size: 11px; line-height: 1.7; }
.nutrient-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); }
.nutrient-list button {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  padding: 22px 0;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: color .2s ease, padding .2s ease;
}
.nutrient-list button:nth-child(odd) { padding-right: 22px; border-right: 1px solid rgba(255, 255, 255, .15); }
.nutrient-list button:nth-child(even) { padding-left: 22px; }
.nutrient-list button:hover { color: var(--acid); }
.nutrient-list button.active { color: var(--acid); }
.nutrient-list span { grid-row: 1 / 3; color: rgba(255, 255, 255, .38); font-size: 10px; }
.nutrient-list b { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.nutrient-list small { margin-top: 3px; color: rgba(255, 255, 255, .44); font-size: 10px; }

.explorer { padding-bottom: 160px; }
.explore-tools { margin-top: 72px; border-top: 1px solid var(--line); }
.inline-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line);
}
.inline-search .search-icon { margin-left: 4px; }
.inline-search input { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 32px); }
.inline-search button { padding: 8px 0 8px 18px; color: var(--ink-soft); background: none; border: 0; cursor: pointer; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-row button {
  padding: 5px 0;
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  font-size: 12px;
  cursor: pointer;
}
.filter-row button.active { color: var(--ink); border-color: var(--ink); }
.region-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 15px 0 2px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.region-row > span { margin-right: 4px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.region-row button { padding: 4px 0; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid transparent; font-size: 11px; cursor: pointer; }
.region-row button:hover, .region-row button.active { color: var(--ink); border-color: var(--ink); }
.dietary-row { align-items: baseline; }
.dietary-row small { margin-left: auto; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.query-note { margin-top: 24px; padding: 16px 20px; color: var(--forest); background: rgba(215, 237, 120, .47); font-size: 13px; line-height: 1.7; }
.sort-status { display: flex; align-items: center; min-height: 22px; margin-top: 22px; color: var(--ink-soft); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.ingredient-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 54px; column-gap: 72px; }
.ingredient-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 146px;
  padding: 26px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}
.ingredient-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.ingredient-orb {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.8);
  background: var(--orb);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.ingredient-card:hover .ingredient-orb { transform: scale(1.1) rotate(-5deg); }
.ingredient-main > span { color: var(--ink-soft); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.ingredient-main h3 { margin: 7px 0 8px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.ingredient-main p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.ingredient-side { display: flex; align-items: center; gap: 18px; }
.ingredient-metric { display: grid; min-width: 88px; justify-items: end; text-align: right; }
.ingredient-metric strong { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1; }
.ingredient-metric small { margin-top: 6px; color: var(--ink-soft); font-size: 9px; line-height: 1.25; white-space: nowrap; }
.ingredient-arrow { font-size: 18px; transition: transform .25s ease; }
.ingredient-card:hover .ingredient-arrow { transform: translateX(5px); }
.ingredient-list-actions { display: flex; justify-content: center; min-height: 58px; padding-top: 18px; border-top: 1px solid var(--line); }
.expand-results { padding: 0 0 7px; color: var(--forest-2); background: none; border: 0; border-bottom: 1px solid var(--forest-2); font-size: 11px; cursor: pointer; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.expand-results:hover { color: var(--ink-soft); border-color: var(--ink-soft); transform: translateY(-2px); }
.empty-state { padding: 70px 0; color: var(--ink-soft); font-family: var(--serif); font-size: 24px; text-align: center; border-bottom: 1px solid var(--line); }

.custom-ingredients { padding-top: 120px; padding-bottom: 135px; background: var(--paper-deep); }
.custom-ingredients-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9vw; align-items: end; }
.custom-ingredients-heading h2 { max-width: 680px; }
.custom-ingredients-heading-actions { display: grid; align-content: end; gap: 22px; }
.custom-ingredients-heading-actions p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.custom-ingredient-add-button { justify-self: start; color: var(--forest-2); font-size: 12px; }
.custom-ingredient-note { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding: 15px 0; color: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.custom-ingredient-note > span:last-child { display: grid; gap: 4px; }
.custom-ingredient-note b { color: var(--ink); font-size: 11px; font-weight: 500; }
.custom-ingredient-note small { font-size: 10px; line-height: 1.5; }
.custom-ingredient-list { margin-top: 28px; border-top: 1px solid var(--line); }
.custom-ingredient-empty { margin: 0; padding: 45px 0; color: var(--ink-soft); font-family: var(--serif); font-size: 25px; line-height: 1.5; }
.custom-ingredient-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 22px; align-items: center; min-height: 104px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.custom-ingredient-index { color: var(--ink-soft); font-size: 10px; }
.custom-ingredient-main { min-width: 0; padding: 0; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.custom-ingredient-main:hover h3 { color: var(--forest-2); }
.custom-ingredient-main h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.custom-ingredient-main p { margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 11px; line-height: 1.7; text-overflow: ellipsis; white-space: nowrap; }
.custom-ingredient-main small { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 9px; letter-spacing: .08em; }
.custom-ingredient-actions { display: flex; align-items: center; gap: 16px; }
.custom-ingredient-actions button { padding: 0 0 5px; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer; font-size: 10px; }
.custom-ingredient-actions button:hover { color: var(--ink); border-color: var(--ink); }
.custom-ingredient-actions .custom-ingredient-log { color: var(--forest-2); border-color: rgba(23,32,23,.25); }
.custom-ingredient-actions .custom-ingredient-log:hover { color: var(--ink); border-color: var(--ink); }
.custom-ingredient-actions button[data-delete-custom-ingredient]:hover { color: #8c3f2d; border-color: #8c3f2d; }
.custom-nutrition-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.custom-nutrition-heading span { color: var(--ink); font-size: 11px; letter-spacing: .12em; }
.custom-nutrition-heading small { color: var(--ink-soft); font-size: 10px; }
.custom-nutrition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
.custom-nutrition-grid .recipe-field { gap: 6px; }
.custom-nutrition-grid .recipe-field span { letter-spacing: .03em; }

.planner { padding-top: 110px; padding-bottom: 150px; }
.planner-heading { margin-bottom: 64px; }
.planner-workspace {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.planner-controls { min-width: 0; }
.planner-mode { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.planner-mode button {
  display: grid;
  gap: 5px;
  padding: 17px 16px 16px 0;
  color: var(--ink-soft);
  text-align: left;
  background: none;
  border: 0;
  border-top: 2px solid transparent;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.planner-mode button + button { padding-left: 18px; border-left: 1px solid var(--line); }
.planner-mode button:hover, .planner-mode button.active { color: var(--ink); border-top-color: var(--ink); }
.planner-mode b { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.planner-mode small { font-size: 10px; letter-spacing: .08em; }
.planner-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.planner-search .search-icon { margin-left: 3px; }
.planner-search input { min-width: 0; width: 100%; padding: 7px 0; color: var(--ink); background: transparent; border: 0; outline: none; font-family: var(--serif); font-size: 20px; }
.planner-search input::placeholder { color: rgba(83, 96, 83, .68); }
.planner-count { color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
.planner-options { display: grid; margin-top: 15px; border-bottom: 1px solid var(--line); }
.planner-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.planner-option:first-child { border-top: 0; }
.planner-option:hover { color: var(--forest-2); }
.planner-option:disabled { cursor: not-allowed; opacity: .42; }
.planner-option b { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.planner-option span { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 10px; }
.planner-option i { color: var(--ink-soft); font-style: normal; font-size: 16px; }
.planner-selection { min-height: 70px; padding: 21px 0 12px; }
.planner-selection-empty { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.planner-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.planner-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 10px; color: var(--forest); background: var(--acid); font-size: 11px; }
.planner-chip button { width: 16px; height: 16px; padding: 0; color: inherit; background: none; border: 0; font-size: 15px; line-height: 1; cursor: pointer; }
.planner-generate { display: inline-flex; align-items: center; gap: 18px; margin-top: 8px; }
.planner-generate span { display: inline-block; transition: transform .2s ease; }
.planner-generate:hover span { transform: translateX(4px); }
.planner-hint { min-height: 18px; margin: 13px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.planner-result { min-height: 430px; padding: 42px 48px 46px; color: #eef0e6; background: var(--forest-2); }
.planner-result .kicker { color: rgba(238, 240, 230, .45); }
.planner-result-empty { display: grid; min-height: 290px; place-items: center; color: rgba(238, 240, 230, .55); font-family: var(--serif); font-size: 25px; line-height: 1.5; text-align: center; }
.planner-result h3 { margin: 24px 0 10px; color: #f5f3e8; font-family: var(--serif); font-size: clamp(31px, 4vw, 53px); font-weight: 400; line-height: 1.15; letter-spacing: -.05em; }
.planner-result-lead { max-width: 580px; margin: 0; color: rgba(238, 240, 230, .68); font-size: 13px; line-height: 1.8; }
.planner-result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.planner-result-meta span { padding: 6px 9px; color: var(--acid); border: 1px solid rgba(215, 237, 120, .34); font-size: 9px; letter-spacing: .09em; }
.planner-plate { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.planner-plate h4 { margin: 0 0 12px; color: rgba(238, 240, 230, .45); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.planner-plate p { margin: 0; color: rgba(238, 240, 230, .82); font-size: 12px; line-height: 1.85; }
.planner-steps { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.planner-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; color: rgba(238, 240, 230, .74); border-bottom: 1px solid rgba(255,255,255,.16); font-size: 12px; line-height: 1.75; }
.planner-steps li span { color: rgba(255,255,255,.35); font-size: 9px; }
.planner-balance { margin: 25px 0 0; padding-left: 14px; color: var(--acid); border-left: 2px solid var(--acid); font-size: 11px; line-height: 1.75; }
.planner-log-button { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 0 0 7px; color: var(--acid); background: none; border: 0; border-bottom: 1px solid var(--acid); cursor: pointer; font-size: 11px; }
.planner-log-button span { display: inline-block; transition: transform .2s ease; }
.planner-log-button:hover span { transform: translateX(4px); }
.planner-log-button.is-logged { color: rgba(238,240,230,.5); border-color: rgba(238,240,230,.35); cursor: default; }
.planner-log-button.is-logged:hover span { transform: none; }

.meal-lab { padding-top: 60px; padding-bottom: 150px; background: #f2f0e5; }
.meal-heading { margin-bottom: 42px; }
.meal-heading-actions { display: grid; align-content: start; gap: 22px; }
.meal-heading-actions p { margin: 0; }
.recipe-add-button { justify-self: start; color: var(--forest-2); font-size: 12px; }
.meal-filters { padding: 20px 0 0; border-top: 1px solid var(--line); }
.meal-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; min-height: 45px; border-bottom: 1px solid var(--line); }
.meal-filter-row > span { margin-right: 5px; color: var(--ink-soft); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.meal-filter-row button { padding: 7px 0 8px; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid transparent; font-size: 11px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.meal-filter-row button:hover, .meal-filter-row button.active { color: var(--ink); border-color: var(--ink); }
.meal-workspace { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; padding-top: 34px; }
.meal-list { min-width: 0; border-top: 1px solid var(--line); }
.meal-option-row { display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: stretch; border-bottom: 1px solid var(--line); }
.meal-option-row[draggable="true"] { cursor: grab; }
.meal-option-row.dragging { opacity: .42; }
.meal-option { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; width: 100%; min-height: 88px; padding: 16px 0; color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; transition: padding .25s ease, color .2s ease, background .2s ease; }
.meal-option:hover { padding-left: 8px; color: var(--forest-2); }
.meal-option.active { color: var(--forest-2); background: rgba(215, 237, 120, .24); }
.meal-option-index { color: var(--ink-soft); font-size: 10px; }
.meal-option b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.meal-option small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.meal-option-arrow { color: var(--ink-soft); font-size: 17px; transition: transform .2s ease; }
.meal-option.active .meal-option-arrow, .meal-option:hover .meal-option-arrow { transform: translateX(4px); }
.meal-favorite { align-self: center; justify-self: end; width: 32px; height: 32px; padding: 0; color: var(--ink-soft); background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; }
.meal-favorite:hover, .meal-favorite.active { color: var(--forest-2); }
.meal-empty { padding: 55px 0; color: var(--ink-soft); font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.meal-detail { min-height: 565px; padding: 42px 48px 46px; color: #eef0e6; background: var(--forest-2); }
.meal-detail .kicker { color: rgba(238, 240, 230, .45); }
.meal-detail h3 { margin: 24px 0 8px; color: #f5f3e8; font-family: var(--serif); font-size: clamp(31px, 4vw, 53px); font-weight: 400; line-height: 1.15; letter-spacing: -.05em; }
.meal-detail-lead { margin: 0; color: var(--acid); font-size: 12px; line-height: 1.8; }
.meal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.meal-meta span { padding: 6px 9px; color: var(--acid); border: 1px solid rgba(215, 237, 120, .34); font-size: 9px; letter-spacing: .09em; }
.meal-ingredients { margin: 30px 0 0; padding: 22px 0; color: rgba(238, 240, 230, .86); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.meal-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 27px; }
.meal-detail-block h4 { margin: 0 0 11px; color: rgba(238, 240, 230, .45); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.meal-detail-block p { margin: 0; color: rgba(238, 240, 230, .82); font-size: 12px; line-height: 1.85; }
.meal-steps { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.meal-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; color: rgba(238, 240, 230, .74); border-bottom: 1px solid rgba(255,255,255,.16); font-size: 12px; line-height: 1.75; }
.meal-steps li span { color: rgba(255,255,255,.35); font-size: 9px; }
.meal-detail-note { margin: 25px 0 0; padding-left: 14px; color: var(--acid); border-left: 2px solid var(--acid); font-size: 11px; line-height: 1.75; }
.meal-source { margin: 25px 0 0; color: rgba(238, 240, 230, .45); font-size: 10px; line-height: 1.7; }
.meal-source a { color: rgba(238, 240, 230, .78); text-underline-offset: 3px; }
.meal-user-actions { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.meal-user-actions span { margin-right: 3px; color: rgba(238, 240, 230, .42); font-size: 10px; }
.meal-user-actions button { padding: 0 0 5px; color: rgba(238, 240, 230, .86); background: none; border: 0; border-bottom: 1px solid rgba(238, 240, 230, .45); font-size: 11px; cursor: pointer; }
.meal-user-actions button:hover { color: var(--acid); border-color: var(--acid); }

.blend-lab { padding-top: 110px; padding-bottom: 150px; }
.blend-heading { margin-bottom: 64px; }
.blend-tools { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; margin-bottom: 18px; padding: 13px 0; color: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.blend-tools > span { color: var(--ink); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.blend-tools p { margin: 0; }
.blend-add-button { padding: 0 0 5px; color: var(--forest-2); background: none; border: 0; border-bottom: 1px solid transparent; font-size: 10px; cursor: pointer; white-space: nowrap; }
.blend-add-button:hover { border-color: var(--forest-2); }
.blend-reset-order { padding: 0 0 5px; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid transparent; font-size: 10px; cursor: pointer; }
.blend-reset-order:hover { color: var(--ink); border-color: var(--ink); }
.blend-workspace { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; padding-top: 34px; border-top: 1px solid var(--line); }
.blend-list { min-width: 0; border-top: 1px solid var(--line); }
.blend-option { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; width: 100%; min-height: 82px; padding: 16px 0; color: var(--ink); text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .25s ease, color .2s ease; }
.blend-option:hover { padding-left: 8px; color: var(--forest-2); }
.blend-option.active { color: var(--forest-2); background: rgba(215, 237, 120, .23); }
.blend-option.dragging { opacity: .38; }
.blend-option-index { color: var(--ink-soft); font-size: 10px; }
.blend-option b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.blend-option small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.blend-option-arrow { color: var(--ink-soft); font-size: 17px; transition: transform .2s ease; }
.blend-option.active .blend-option-arrow, .blend-option:hover .blend-option-arrow { transform: translateX(4px); }
.blend-detail { min-height: 520px; padding: 42px 48px 46px; color: #eef0e6; background: var(--forest-2); }
.blend-detail .kicker { color: rgba(238, 240, 230, .45); }
.blend-detail h3 { margin: 24px 0 8px; color: #f5f3e8; font-family: var(--serif); font-size: clamp(31px, 4vw, 53px); font-weight: 400; line-height: 1.15; letter-spacing: -.05em; }
.blend-detail-lead { margin: 0; color: var(--acid); font-size: 12px; line-height: 1.8; }
.blend-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.blend-meta span { padding: 6px 9px; color: var(--acid); border: 1px solid rgba(215, 237, 120, .34); font-size: 9px; letter-spacing: .09em; }
.blend-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); }
.blend-detail-block h4 { margin: 0 0 11px; color: rgba(238, 240, 230, .45); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.blend-detail-block p { margin: 0; color: rgba(238, 240, 230, .82); font-size: 12px; line-height: 1.85; }
.blend-method { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.blend-method h4 { margin: 0 0 11px; color: rgba(238, 240, 230, .45); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.blend-method p { margin: 0; color: rgba(238, 240, 230, .78); font-size: 12px; line-height: 1.85; }
.blend-detail-note { margin: 26px 0 0; padding-left: 14px; color: var(--acid); border-left: 2px solid var(--acid); font-size: 11px; line-height: 1.75; }
.blend-user-actions { display: flex; gap: 18px; margin-top: 22px; }
.blend-user-actions button { padding: 0 0 5px; color: rgba(238, 240, 230, .86); background: none; border: 0; border-bottom: 1px solid rgba(238, 240, 230, .45); font-size: 11px; cursor: pointer; }
.blend-user-actions button:hover { color: var(--acid); border-color: var(--acid); }
.blend-ready-check { display: grid; grid-template-columns: 18px auto; gap: 2px 10px; align-items: center; margin-top: 28px; padding: 14px 16px; color: #f5f3e8; background: rgba(215, 237, 120, .1); border: 1px solid rgba(215, 237, 120, .24); cursor: pointer; }
.blend-ready-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--acid); }
.blend-ready-check span { font-size: 12px; }
.blend-ready-check small { grid-column: 2; color: rgba(238, 240, 230, .55); font-size: 10px; }
.blend-apply { display: inline-flex; align-items: center; gap: 16px; margin-top: 25px; padding: 12px 0 6px; color: #f5f3e8; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.58); cursor: pointer; font-size: 12px; }
.blend-apply span { transition: transform .2s ease; }
.blend-apply:hover span { transform: translateX(4px); }
.blend-ready-list { margin-top: 34px; padding: 27px 0 0; border-top: 1px solid var(--line); }
.blend-ready-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.blend-ready-heading h3 { margin: 5px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.blend-ready-heading > span { color: var(--ink-soft); font-size: 11px; }
.blend-ready-items { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.blend-ready-items > span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 11px; color: var(--forest); background: var(--acid); font-size: 11px; }
.blend-ready-items button { width: 16px; height: 16px; padding: 0; color: inherit; background: none; border: 0; font-size: 15px; line-height: 1; cursor: pointer; }
.blend-ready-empty { margin: 16px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }

.season { position: relative; min-height: 860px; overflow: hidden; color: #f1f0e5; background: #6d3f2b; }
.season::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 30%, rgba(235, 162, 72, .34), transparent 25%),
    radial-gradient(circle at 82% 80%, rgba(44, 78, 40, .43), transparent 30%),
    linear-gradient(130deg, transparent 0 52%, rgba(255,255,255,.04) 52% 53%, transparent 53% 100%);
}
.season-word {
  position: absolute;
  left: -3vw;
  bottom: -10vw;
  font-family: var(--serif);
  font-size: min(30vw, 480px);
  line-height: 1;
  letter-spacing: -.12em;
  opacity: .09;
}
.season-content { position: relative; z-index: 2; width: var(--page); margin: auto; padding: 120px 0; }
.season-content > p:not(.kicker) { max-width: 610px; margin: 28px 0 0; color: rgba(241, 240, 229, .7); font-size: 14px; line-height: 1.9; }
.recipe-feature { width: min(760px, 68%); margin: 76px 0 0 auto; padding: 36px 0 0; border-top: 1px solid rgba(255,255,255,.28); }
.recipe-meta { display: flex; gap: 12px; }
.recipe-meta span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); font-size: 9px; letter-spacing: .12em; }
.recipe-feature h3 { margin: 25px 0 8px; font-family: var(--serif); font-size: clamp(31px, 4vw, 55px); font-weight: 400; }
.recipe-line { margin: 0; color: var(--acid); font-size: 12px; line-height: 1.8; }
.recipe-feature ol { margin: 32px 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.recipe-feature li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.18); font-size: 12px; line-height: 1.7; }
.recipe-feature li span { color: rgba(255,255,255,.35); font-size: 9px; }
.text-button { padding: 0 0 5px; color: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; }
.text-button span { display: inline-block; margin-left: 12px; transition: transform .2s ease; }
.text-button:hover span { transform: translateX(4px); }
.text-button.is-logged { opacity: .62; }
.text-button.is-logged:hover span { transform: none; }

.principle { padding-top: 150px; padding-bottom: 150px; }
.principle-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: start; }
.principle h2 { font-size: clamp(35px, 4.4vw, 64px); }
.principle-grid > div { padding-top: 8px; border-top: 1px solid var(--line); }
.principle-grid p { margin: 0; padding: 24px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.95; border-bottom: 1px solid var(--line); }
.principle-grid b { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 500; }

.map-cta { position: relative; min-height: 660px; overflow: hidden; color: #f0f1e7; background: var(--forest-2); }
.map-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(700px) rotateX(58deg) rotateZ(-18deg) scale(1.4);
  mask-image: radial-gradient(circle at center, #000 0, transparent 70%);
}
.map-grid::before,
.map-grid::after { content: ""; position: absolute; width: 13px; height: 13px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 10px rgba(215,237,120,.1), 0 0 60px rgba(215,237,120,.8); }
.map-grid::before { left: 48%; top: 42%; }
.map-grid::after { left: 67%; top: 56%; }
.map-content { position: relative; z-index: 2; width: var(--page); margin: auto; padding: 140px 0; }
.map-content h2 { max-width: 760px; }
.map-content p:not(.kicker) { max-width: 540px; margin: 28px 0 36px; color: rgba(240,241,231,.61); font-size: 14px; line-height: 1.9; }
.map-content button { padding: 13px 0 7px; color: var(--acid); background: none; border: 0; border-bottom: 1px solid var(--acid); cursor: pointer; }

footer {
  display: grid;
  grid-template-columns: .8fr .8fr 1.4fr;
  gap: 60px;
  padding: 72px max(32px, calc((100vw - 1240px) / 2));
  color: rgba(240,241,231,.58);
  background: #09100b;
  font-size: 10px;
  line-height: 1.8;
}
.footer-brand { display: flex; gap: 14px; color: #f0f1e7; }
.footer-brand > div { display: grid; align-content: start; }
.footer-brand b { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; }
.footer-brand small { color: rgba(240,241,231,.45); }
.footer-sources { display: grid; align-content: start; gap: 5px; }
.footer-sources p { margin: 0 0 6px; color: #f0f1e7; }
.footer-sources a, .footer-note a { text-underline-offset: 3px; }
.footer-note p { margin: 0 0 10px; }

.detail-dialog,
.map-dialog,
.recipe-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(860px, calc(100svh - 32px));
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  box-shadow: 0 40px 120px rgba(0,0,0,.4);
}
.detail-dialog::backdrop,
.map-dialog::backdrop,
.recipe-dialog::backdrop { background: rgba(4,10,5,.78); backdrop-filter: blur(8px); }
.dialog-close { position: sticky; z-index: 4; top: 18px; float: right; width: 42px; height: 42px; margin: 18px 18px -60px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; font-size: 24px; cursor: pointer; }
.detail-hero { min-height: 300px; padding: 72px 70px 45px; color: #fff; background: var(--detail-color); }
.detail-hero .kicker { margin-bottom: 46px; }
.detail-hero h2 { margin: 0; font-family: var(--serif); font-size: clamp(56px, 9vw, 100px); font-weight: 400; line-height: 1; }
.detail-hero p { margin: 14px 0 0; opacity: .7; }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; }
.detail-section { padding: 38px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-section:nth-child(even) { border-right: 1px solid var(--line); }
.detail-section:nth-child(odd):not(:first-child) { border-right: 0; }
.detail-section h3 { margin: 0 0 16px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.detail-section p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.detail-nutrition { grid-column: 1 / -1; border-right: 0; }
.detail-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.detail-section-heading span { color: var(--ink-soft); font-size: 10px; }
.nutrition-table { width: 100%; border-collapse: collapse; }
.nutrition-table th, .nutrition-table td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; text-align: left; }
.nutrition-table th { color: var(--ink-soft); font-weight: 400; }
.nutrition-table td { font-family: var(--serif); font-size: 18px; text-align: right; }
.nutrition-table td span { margin-left: 4px; color: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.nutrition-table td small { display: block; margin-top: 3px; color: var(--ink-soft); font-family: var(--sans); font-size: 9px; line-height: 1.4; }
.nutrition-table .nutrition-group-row th { padding: 23px 0 8px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-align: left; }
.nutrition-table .nutrition-group-row:first-child th { padding-top: 8px; }
.nutrition-table .nutrition-group-row th small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.nutrition-footnote { margin-top: 18px !important; color: var(--ink-soft); font-size: 10px !important; line-height: 1.7 !important; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags span { padding: 6px 9px; color: var(--ink); background: var(--paper-deep); font-size: 10px; }
.detail-source { grid-column: 1 / -1; padding: 24px 44px 38px; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.detail-source a { color: var(--ink); text-underline-offset: 3px; }

.map-dialog { padding: 70px; }
.map-dialog h2 { max-width: 650px; font-size: clamp(35px, 5vw, 58px); }
.map-dialog > p:not(.kicker) { max-width: 670px; color: var(--ink-soft); line-height: 1.8; }
.map-roadmap { display: grid; grid-template-columns: repeat(2,1fr); margin: 36px 0; border-top: 1px solid var(--line); }
.map-roadmap span { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.map-roadmap span:nth-child(odd) { border-right: 1px solid var(--line); }
.map-roadmap span:nth-child(even) { padding-left: 20px; }
.map-roadmap b { color: var(--ink-soft); font-size: 10px; }

.recipe-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(900px, calc(100svh - 32px)); padding: 70px; overflow: auto; }
.recipe-dialog h2 { max-width: 620px; margin: 0; font-family: var(--serif); font-size: clamp(35px, 5vw, 58px); font-weight: 400; line-height: 1.1; letter-spacing: -.05em; }
.recipe-dialog-intro { max-width: 600px; margin: 22px 0 34px; color: var(--ink-soft); font-size: 12px; line-height: 1.85; }
.quick-log-dialog { width: min(650px, calc(100vw - 32px)); }
.quick-log-item { margin: 20px 0 30px; padding: 14px 0; color: var(--forest-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 25px; }
.quick-log-amount { display: grid; grid-template-columns: .7fr .8fr 1.2fr; gap: 16px; }
.quick-log-preview { min-height: 20px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.recipe-input-modes { display: flex; gap: 22px; margin-bottom: 22px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.recipe-input-modes button { padding: 0 0 8px; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer; font-size: 11px; }
.recipe-input-modes button:hover, .recipe-input-modes button.active { color: var(--ink); border-color: var(--ink); }
.recipe-input-panel { display: grid; gap: 16px; margin-bottom: 26px; padding: 20px 0 23px; border-bottom: 1px solid var(--line); }
.recipe-input-panel[hidden] { display: none; }
.recipe-input-actions { display: flex; align-items: center; gap: 18px; }
.recipe-input-actions > span { color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.text-arrow-button { display: inline-flex; align-items: center; gap: 14px; padding: 0 0 6px; color: var(--forest-2); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 11px; white-space: nowrap; }
.text-arrow-button span { transition: transform .2s ease; }
.text-arrow-button:hover span { transform: translateX(4px); }
.text-arrow-button:disabled { cursor: wait; opacity: .52; }
.recipe-dialog form { display: grid; gap: 18px; }
.recipe-field { display: grid; gap: 8px; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.recipe-field input, .recipe-field textarea, .recipe-field select { width: 100%; padding: 12px 13px; color: var(--ink); background: rgba(255,255,255,.4); border: 1px solid var(--line); border-radius: 0; outline: none; font-size: 13px; letter-spacing: 0; resize: vertical; }
.recipe-field input:focus, .recipe-field textarea:focus, .recipe-field select:focus { border-color: var(--forest-2); box-shadow: 0 0 0 2px rgba(215,237,120,.35); }
.recipe-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.recipe-form-grid-wide { align-items: start; }
.recipe-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 23px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.recipe-form-actions .text-button { color: var(--ink-soft); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --page: min(100% - 38px, 700px); }
  .site-header { grid-template-columns: 1fr auto; height: 70px; padding: 0 19px; }
  .site-header nav { display: none; }
  .hero-content { padding-top: 104px; }
  .hero-brand { font-size: clamp(58px, 18vw, 92px); }
  .hero h1 { font-size: clamp(34px, 9vw, 54px); }
  .hero-copy { max-width: 86%; }
  .hero-media { background-position: 63% 50%; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,15,8,.96), rgba(7,15,8,.62) 72%, rgba(7,15,8,.2)), linear-gradient(0deg, rgba(7,15,8,.72), transparent 45%); }
  .section-pad { padding: 90px 0; }
  .section-heading, .explore-heading, .planner-heading, .blend-heading, .meal-heading, .custom-ingredients-heading { grid-template-columns: 1fr; gap: 25px; }
  .daily-workspace { grid-template-columns: 1fr; gap: 50px; }
  .progress-wrap { position: static; }
  .food-log-profile { align-items: start; flex-direction: column; gap: 22px; }
  .food-log-profile-field { width: min(100%, 420px); }
  .food-log-workspace { grid-template-columns: 1fr; gap: 52px; }
  .food-log-form-grid { grid-template-columns: repeat(2, 1fr); }
  .food-log-analysis { min-height: 0; padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .nutrient-band { grid-template-columns: 1fr; gap: 60px; padding: 88px 20px; }
  .ingredient-list { grid-template-columns: 1fr; column-gap: 0; }
  .ingredient-card:nth-last-child(-n+2) { border-bottom: 0; }
  .ingredient-card:last-child { border-bottom: 1px solid var(--line); }
  .recipe-feature { width: 100%; }
  .planner-workspace { grid-template-columns: 1fr; gap: 52px; }
  .planner-result { min-height: 0; }
  .blend-workspace { grid-template-columns: 1fr; gap: 52px; }
  .blend-detail { min-height: 0; }
  .blend-tools { grid-template-columns: 1fr auto auto; gap: 8px 14px; }
  .blend-tools p { grid-column: 1 / -1; grid-row: 2; }
  .meal-workspace { grid-template-columns: 1fr; gap: 52px; }
  .meal-detail { min-height: 0; }
  .custom-ingredients-heading-actions { gap: 18px; }
  .custom-ingredient-row { grid-template-columns: 35px minmax(0, 1fr); gap: 14px; }
  .custom-ingredient-actions { grid-column: 2; }
  .custom-nutrition-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: 1fr; gap: 50px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .map-link { font-size: 11px; }
  .site-record-link { right: 14px; bottom: 14px; padding: 10px 12px 10px 14px; }
  .food-log-toast { right: 14px; bottom: 64px; max-width: calc(100vw - 28px); }
  .brand b { font-size: 19px; }
  .hero { min-height: 780px; }
  .hero-content { min-height: 780px; padding-bottom: 80px; justify-content: flex-end; }
  .hero-media { inset: 0; background-position: 55% 25%; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,15,8,.99) 10%, rgba(7,15,8,.73) 62%, rgba(7,15,8,.12) 100%); }
  .hero .kicker { margin-bottom: 14px; }
  .hero-brand { font-size: 60px; }
  .hero h1 { font-size: 34px; }
  .hero-copy { max-width: 100%; margin-top: 18px; font-size: 13px; }
  .hero-search { margin-top: 25px; padding-left: 14px; }
  .hero-search button { padding: 12px 13px; font-size: 12px; }
  .hero-prompts { gap: 12px; overflow: hidden; white-space: nowrap; }
  .scroll-cue, .image-credit { display: none; }
  .section-heading h2, .explore-heading h2, .planner-heading h2, .blend-heading h2, .meal-heading h2, .nutrient-intro h2, .season-content h2, .principle h2, .map-content h2 { font-size: 36px; }
  .daily-workspace { margin-top: 48px; padding-top: 32px; }
  .progress-wrap { gap: 20px; }
  .progress-ring { flex-basis: 112px; width: 112px; height: 112px; }
  .progress-ring::before { width: 98px; height: 98px; }
  .progress-ring strong { font-size: 38px; }
  .progress-wrap h3 { font-size: 23px; }
  .daily-groups label { grid-template-columns: 36px 1fr; min-height: 82px; padding-right: 35px; }
  .food-log { padding-bottom: 58px; }
  .food-log-summary { grid-template-columns: 1fr auto; gap: 16px; padding: 24px 0; }
  .food-log-summary-copy > span:last-child { display: grid; gap: 8px; }
  .food-log-summary h2 { font-size: 32px; }
  .food-log-summary p { max-width: 270px; }
  .food-log-summary-count { grid-column: 1 / -1; min-width: 0; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; font-size: 15px; text-align: left; }
  .food-log-workspace { margin-top: 38px; padding-top: 26px; gap: 38px; }
  .food-log-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .food-log-dish { grid-template-columns: 27px 1fr; gap: 12px; }
  .food-log-dish .food-log-field:last-child { grid-column: 2; }
  .food-log-out-heading { align-items: start; flex-direction: column; gap: 6px; }
  .food-log-analysis { padding: 28px 0 0; }
  .food-log-analysis-top { align-items: start; flex-direction: column; gap: 20px; }
  .food-log-analysis-top > label { width: 100%; }
  .food-log-history { margin-top: 52px; }
  .food-log-history-row { grid-template-columns: 1fr auto; gap: 12px 18px; }
  .food-log-history-main { grid-column: 1 / -1; grid-row: 2; }
  .food-log-history-actions { grid-column: 2; grid-row: 1; }
  .food-log-missing li { grid-template-columns: 1fr; gap: 3px; }
  .nutrient-list { grid-template-columns: 1fr; }
  .nutrient-list button:nth-child(odd) { padding-right: 0; border-right: 0; }
  .nutrient-list button:nth-child(even) { padding-left: 0; }
  .nutrient-group-tabs { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; scrollbar-width: none; }
  .nutrient-group-tabs::-webkit-scrollbar { display: none; }
  .nutrient-group-tabs button { flex: 0 0 auto; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row button { flex: 0 0 auto; }
  .region-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .region-row::-webkit-scrollbar { display: none; }
  .region-row button, .region-row > span { flex: 0 0 auto; }
  .dietary-row small { flex: 0 0 260px; margin-left: 8px; }
  .ingredient-card { grid-template-columns: 58px 1fr auto; gap: 14px; min-height: 124px; }
  .ingredient-orb { width: 52px; height: 52px; font-size: 16px; }
  .ingredient-main h3 { font-size: 21px; }
  .ingredient-side { gap: 8px; }
  .ingredient-metric { min-width: 66px; }
  .ingredient-metric strong { font-size: 20px; }
  .ingredient-metric small { font-size: 8px; }
  .planner { padding-top: 84px; padding-bottom: 100px; }
  .planner-heading { margin-bottom: 46px; }
  .planner-workspace { padding-top: 26px; gap: 38px; }
  .planner-search input { font-size: 18px; }
  .planner-result { padding: 30px 24px 32px; }
  .planner-result-empty { min-height: 220px; font-size: 22px; }
  .planner-result h3 { font-size: 35px; }
  .planner-plate { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .blend-lab { padding-top: 84px; padding-bottom: 100px; }
  .blend-heading { margin-bottom: 46px; }
  .blend-workspace { padding-top: 26px; gap: 38px; }
  .blend-detail { padding: 30px 24px 32px; }
  .blend-detail h3 { font-size: 35px; }
  .blend-detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .blend-ready-list { margin-top: 28px; }
  .meal-lab { padding-top: 84px; padding-bottom: 100px; }
  .meal-heading { margin-bottom: 46px; }
  .meal-filter-row { flex-wrap: nowrap; gap: 8px 16px; overflow-x: auto; scrollbar-width: none; }
  .meal-filter-row::-webkit-scrollbar { display: none; }
  .meal-filter-row > span, .meal-filter-row button { flex: 0 0 auto; }
  .meal-workspace { padding-top: 26px; gap: 38px; }
  .meal-detail { padding: 30px 24px 32px; }
  .meal-detail h3 { font-size: 35px; }
  .meal-detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .custom-ingredients { padding-top: 84px; padding-bottom: 100px; }
  .custom-ingredient-note { align-items: flex-start; }
  .custom-ingredient-row { min-height: 0; padding: 18px 0; }
  .custom-ingredient-main h3 { font-size: 21px; }
  .custom-ingredient-main p { white-space: normal; }
  .custom-nutrition-heading { align-items: start; flex-direction: column; gap: 7px; }
  .custom-nutrition-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .season { min-height: 900px; }
  .season-content { padding: 88px 0; }
  .season-word { bottom: 2vw; font-size: 48vw; }
  .recipe-feature { margin-top: 54px; }
  .recipe-feature h3 { font-size: 36px; }
  .principle { padding-top: 100px; padding-bottom: 100px; }
  .map-content { padding: 100px 0; }
  footer { grid-template-columns: 1fr; padding: 55px 20px; }
  .footer-note { grid-column: auto; }
  .detail-dialog { max-height: calc(100svh - 16px); width: calc(100vw - 16px); }
  .detail-hero { min-height: 240px; padding: 68px 25px 34px; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-section { padding: 28px 25px; border-right: 0; }
  .detail-source { grid-column: auto; padding: 24px 25px 34px; }
  .map-dialog { width: calc(100vw - 16px); padding: 65px 25px 30px; }
  .map-roadmap { grid-template-columns: 1fr; }
  .map-roadmap span:nth-child(odd) { border-right: 0; }
  .map-roadmap span:nth-child(even) { padding-left: 0; }
  .recipe-dialog { width: calc(100vw - 16px); padding: 65px 25px 30px; }
  .recipe-form-grid { grid-template-columns: 1fr; }
  .quick-log-amount { grid-template-columns: 1fr 1fr; }
  .quick-log-amount #quickLogWeightField { grid-column: 1 / -1; }
  .custom-nutrition-grid { grid-template-columns: 1fr 1fr; }
  .recipe-input-modes { gap: 17px; overflow-x: auto; }
  .recipe-input-modes button { flex: 0 0 auto; }
  .recipe-input-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-enter { opacity: 1; transform: none; }
  .hero-media { transform: scale(1.04); }
}
