:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --rice: #f6eedf;
  --ink: #1f3d34;
  --text: #28342f;
  --muted: #6f746d;
  --green: #4f7a69;
  --red: #b83b32;
  --gold: #c7a15a;
  --line: rgba(31, 61, 52, .14);
  --line-strong: rgba(31, 61, 52, .25);
  --surface: #fffdf8;
  --shadow: 0 18px 50px rgba(31, 61, 52, .09);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
body.study-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(184, 59, 50, .42); outline-offset: 3px; }

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 0 0, rgba(184, 59, 50, .06), transparent 28rem),
    radial-gradient(circle at 100% 16%, rgba(79, 122, 105, .1), transparent 31rem),
    linear-gradient(180deg, #fbf7ef 0%, #f7f0e4 58%, #fbf7ef 100%);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 10px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(31, 61, 52, .1);
  background: rgba(251, 247, 239, .9);
  backdrop-filter: blur(18px) saturate(145%);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-seal {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  color: #fff9ef;
  background: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 249, 239, .25);
  font-family: "Songti SC", STSong, serif;
  font-size: 21px;
  font-weight: 800;
  transform: rotate(-3deg);
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 16px; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.top-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; margin-right: 20px; }
.top-nav a, .back-link { color: #52645b; font-size: 12px; font-weight: 700; text-decoration: none; }
.top-nav a:hover, .back-link:hover { color: var(--red); }
.back-link { padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 999px; }
.back-link span { margin-left: 4px; }

main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 490px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 29px;
  color: #fff9ef;
  background: linear-gradient(128deg, #193c31 0%, #244c3f 58%, #315c4b 100%);
  box-shadow: 0 28px 66px rgba(31, 61, 52, .2);
}
.hero::before, .hero::after { position: absolute; content: ""; pointer-events: none; }
.hero::before {
  inset: 0;
  opacity: .17;
  background-image: linear-gradient(30deg, rgba(255,255,255,.13) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.13) 87.5%), linear-gradient(150deg, rgba(255,255,255,.11) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.11) 87.5%);
  background-size: 68px 118px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero::after { width: 410px; height: 410px; right: -115px; bottom: -235px; border: 1px solid rgba(199,161,90,.38); border-radius: 50%; box-shadow: 0 0 0 36px rgba(199,161,90,.06), 0 0 0 72px rgba(199,161,90,.04); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: clamp(34px, 6vw, 76px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #e1c886; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199,161,90,.15); }
.hero h1 { margin: 0; color: #fff9ef; font-family: "Songti SC", STSong, serif; font-size: clamp(48px, 7vw, 82px); font-weight: 700; line-height: 1.06; letter-spacing: -.06em; }
.hero h1 em, .section-heading h2 em, .route-copy h2 em, .study-section h2 em { color: #e0bf76; font-style: normal; }
.hero-lead { max-width: 430px; margin: 22px 0 0; color: rgba(255,249,239,.78); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--light { color: var(--ink); background: #fff9ef; }
.button--light:hover { background: #f4e8cf; }
.button--green { color: #fff9ef; background: var(--ink); }
.button--green:hover { background: #315c4b; }
.text-link { font-size: 12px; font-weight: 700; }
.text-link--light { color: rgba(255,249,239,.82); text-decoration-color: rgba(255,249,239,.42); text-underline-offset: 4px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; color: rgba(255,249,239,.65); font-size: 10px; }
.hero-stats span + span { padding-left: 16px; border-left: 1px solid rgba(255,249,239,.2); }
.hero-stats strong { margin-right: 3px; color: #e2c37e; font-size: 15px; }

.hero-art { position: relative; min-height: 390px; overflow: hidden; background: radial-gradient(circle at 58% 38%, rgba(221,192,125,.24), transparent 8rem), linear-gradient(150deg, rgba(255,249,239,.02), rgba(8,26,19,.25)); }
.hero-art::before { position: absolute; width: 350px; height: 350px; top: 47px; left: 10%; border: 1px solid rgba(255,249,239,.17); border-radius: 50%; content: ""; box-shadow: 0 0 0 28px rgba(255,249,239,.025), 0 0 0 64px rgba(255,249,239,.025); }
.art-sun { position: absolute; width: 104px; height: 104px; top: 102px; right: 21%; border-radius: 50%; background: linear-gradient(145deg, #eed89a, #c7a15a); box-shadow: 0 0 62px rgba(199,161,90,.27); }
.art-mountain { position: absolute; bottom: 85px; width: 0; height: 0; border-style: solid; }
.art-mountain--back { left: 4%; border-width: 0 180px 205px 180px; border-color: transparent transparent rgba(111,150,124,.62) transparent; transform: translateY(18px); }
.art-mountain--front { left: 32%; bottom: 66px; border-width: 0 200px 233px 200px; border-color: transparent transparent rgba(19,58,44,.91) transparent; }
.art-mountain--front::after { position: absolute; top: 15px; left: -5px; width: 1px; height: 180px; background: rgba(228,202,145,.5); content: ""; transform: rotate(39deg); }
.art-stamp { position: absolute; z-index: 2; top: 39%; left: 48%; display: grid; width: 65px; height: 65px; place-content: center; border: 1px solid rgba(255,249,239,.58); color: #fff9ef; font-family: "Songti SC", STSong, serif; font-size: 20px; line-height: 1.15; text-align: center; transform: rotate(6deg); }
.art-caption { position: absolute; right: 30px; bottom: 24px; left: 30px; display: flex; justify-content: space-between; color: rgba(255,249,239,.55); font-size: 9px; letter-spacing: .14em; }

.intro-strip { display: flex; align-items: center; gap: 15px; margin: 20px 0 68px; padding: 17px 21px; border: 1px solid rgba(31,61,52,.11); border-radius: 14px; background: rgba(255,253,248,.64); }
.intro-mark { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #fff9ef; background: var(--red); font-family: "Songti SC", STSong, serif; font-weight: 700; }
.intro-strip p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.intro-strip strong { color: var(--ink); }

.food-section { padding-bottom: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.eyebrow--dark { color: var(--red); }
.section-heading h2, .route-copy h2, .study-section h2 { margin: 0; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: clamp(31px, 4.2vw, 48px); line-height: 1.22; letter-spacing: -.04em; }
.section-heading h2 em, .route-copy h2 em, .study-section h2 em { color: var(--red); }
.section-lead { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.section-count { display: grid; justify-items: end; gap: 2px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.section-count strong { color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 33px; line-height: 1; }
.filter-panel { display: grid; gap: 16px; margin-bottom: 21px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,253,248,.62); }
.search-field { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--muted); }
.search-field > span { font-size: 23px; line-height: 1; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 14px; }
.search-field input::placeholder { color: #96988f; }
.clear-search { padding: 5px 8px; border: 0; color: var(--red); background: transparent; cursor: pointer; font-size: 11px; }
.county-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: #68726b; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-chip:hover { border-color: var(--green); color: var(--ink); }
.filter-chip.is-active { border-color: var(--ink); color: #fff9ef; background: var(--ink); }
.food-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.food-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 5px 18px rgba(31,61,52,.035); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.food-card:hover { transform: translateY(-3px); border-color: rgba(79,122,105,.38); box-shadow: var(--shadow); }
.food-card-main { display: flex; width: 100%; flex-direction: column; align-items: stretch; padding: 13px 13px 10px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.food-card-topline { display: flex; justify-content: space-between; gap: 6px; color: #97958b; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.food-card-topline span:last-child { color: var(--green); }
.food-photo-frame { position: relative; display: block; height: 132px; margin: 13px 0 12px; overflow: hidden; border-radius: 11px; background: linear-gradient(140deg, #efe2c8, #d7e0d2); }
.food-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.food-photo-credit { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 15px 8px 6px; overflow: hidden; color: #fffdf8; background: linear-gradient(transparent, rgba(18,32,25,.65)); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.food-photo-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 12px; color: #69756c; font-size: 10px; text-align: center; }
.food-photo-frame.is-missing { background: radial-gradient(circle at 50% 42%, rgba(255,253,248,.8), transparent 34%), linear-gradient(140deg, #efe2c8, #d7e0d2); }
.food-photo-frame.is-missing .food-photo-fallback { display: flex; }
.food-photo-frame.is-missing .food-photo-credit { display: none; }
.food-card-title { overflow: hidden; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.food-card-note { margin-top: 5px; color: #98978e; font-size: 9px; }
.food-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px 12px; border-top: 1px solid rgba(31,61,52,.075); }
.quiet-action, .map-action { border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; text-decoration: none; }
.map-action { padding: 7px 9px; border: 1px solid rgba(31,61,52,.15); border-radius: 999px; color: var(--ink); }
.quiet-action:hover, .map-action:hover { color: var(--red); }
.empty-state { margin: 25px 0 0; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--muted); text-align: center; }
.image-rights-note { margin: 13px 2px 0; color: #898c82; font-size: 9px; line-height: 1.65; }

.route-section { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: center; margin: 0 0 72px; padding: clamp(28px, 5vw, 55px); border-radius: 24px; color: rgba(255,249,239,.82); background: linear-gradient(130deg, #23483b, #17372d); }
.route-copy h2 { color: #fff9ef; }
.route-copy h2 em { color: #e1c886; }
.route-copy > p:not(.eyebrow) { max-width: 490px; margin: 16px 0; color: rgba(255,249,239,.7); font-size: 12px; line-height: 1.9; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 11px; border: 1px solid rgba(255,249,239,.2); border-radius: 999px; color: rgba(255,249,239,.78); font-size: 10px; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.route-card { padding: 21px; border: 1px solid rgba(255,249,239,.16); border-radius: 16px; background: rgba(255,249,239,.055); }
.route-card-top { display: flex; justify-content: space-between; color: #e1c886; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.route-line { display: flex; align-items: center; justify-content: space-between; margin: 36px 8px 13px; }
.route-line::before { position: absolute; height: 1px; width: min(300px, 25vw); background: rgba(225,200,134,.55); content: ""; }
.route-line i { z-index: 1; width: 14px; height: 14px; border: 3px solid #244c3f; border-radius: 50%; background: #e1c886; box-shadow: 0 0 0 1px rgba(225,200,134,.58); }
.route-stops { display: flex; justify-content: space-between; gap: 8px; color: rgba(255,249,239,.88); font-size: 9px; }
.route-card > p { margin: 24px 0 0; color: rgba(255,249,239,.56); font-size: 10px; line-height: 1.7; }

.study-section { position: relative; margin-bottom: 66px; padding: clamp(27px, 5vw, 54px); overflow: hidden; border: 1px solid rgba(31,61,52,.11); border-radius: 25px; background: linear-gradient(135deg, rgba(255,253,248,.96), rgba(244,235,216,.74)); }
.study-section::after { position: absolute; top: -116px; right: -100px; width: 300px; height: 300px; border: 1px solid rgba(184,59,50,.14); border-radius: 50%; box-shadow: 0 0 0 34px rgba(184,59,50,.035), 0 0 0 68px rgba(184,59,50,.025); content: ""; pointer-events: none; }
.study-badge { position: absolute; top: 22px; right: 25px; z-index: 1; padding: 7px 10px; border: 1px solid rgba(184,59,50,.25); border-radius: 999px; color: var(--red); background: rgba(255,253,248,.8); font-size: 9px; font-weight: 800; }
.study-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .8fr; gap: 38px; align-items: center; }
.study-section h2 { font-size: clamp(29px, 4vw, 45px); }
.study-section h2 em { color: var(--green); }
.study-card { padding: 24px; border: 1px solid rgba(31,61,52,.12); border-radius: 18px; background: rgba(255,253,248,.9); box-shadow: 0 12px 34px rgba(31,61,52,.07); }
.study-card-mark, .character-seal { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px 11px 11px 3px; color: #fff9ef; background: var(--red); font-family: "Songti SC", STSong, serif; font-size: 18px; font-weight: 800; transform: rotate(-3deg); }
.study-card-kicker { margin: 14px 0 5px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.study-card-quote { margin: 0; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 21px; font-weight: 800; line-height: 1.5; }
.study-card-note { margin: 10px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.study-card .button { width: 100%; }
.arm-preview { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; color: #8b8d83; font-size: 9px; }
.arm-preview a { color: var(--green); font-weight: 800; text-decoration: none; }
.arm-preview a:hover { text-decoration: underline; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 66px; }
.principles article { padding: 20px; border-top: 1px solid var(--line-strong); }
.principles article > span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.principles h3 { margin: 9px 0 6px; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 18px; }
.principles p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px max(24px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); background: rgba(255,253,248,.45); }
.brand--footer .brand-seal { width: 34px; height: 34px; font-size: 18px; }
.brand--footer .brand-copy strong { font-size: 13px; }
.brand--footer .brand-copy small { font-size: 9px; letter-spacing: 0; }
.footer > p { margin: 0; color: var(--muted); font-size: 9px; text-align: right; }

.food-dialog { position: fixed; width: min(490px, calc(100% - 28px)); max-height: min(82vh, 720px); padding: 29px; overflow: auto; border: 1px solid rgba(31,61,52,.16); border-radius: 19px; color: var(--text); background: var(--paper); box-shadow: 0 28px 90px rgba(15,34,27,.3); }
.food-dialog::backdrop { background: rgba(14,34,26,.55); backdrop-filter: blur(4px); }
.food-dialog form { position: absolute; top: 12px; right: 12px; }
.dialog-close, .close-study { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; font-size: 23px; line-height: 1; }
.food-dialog h2 { margin: 0; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 31px; }
.food-photo-frame--detail { height: 220px; margin: 15px 0 8px; }
.dialog-photo-source { margin: 0 0 12px; color: #898c82; font-size: 9px; line-height: 1.6; }
.dialog-photo-source a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.dialog-copy { margin: 13px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.dialog-data { display: grid; grid-template-columns: 80px 1fr; gap: 9px; margin: 20px 0; padding: 14px; border-radius: 12px; background: rgba(31,61,52,.05); font-size: 11px; }
.dialog-data span { color: var(--muted); }
.dialog-data strong { color: var(--ink); overflow-wrap: anywhere; }
.dialog-map { width: 100%; }
.dialog-footnote { margin: 12px 0 0; color: #898c82; font-size: 9px; line-height: 1.65; }

.study-layer { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(13,31,24,.64); backdrop-filter: blur(8px); }
.study-modal { width: min(620px, 100%); max-height: min(94dvh, 900px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,249,239,.44); border-radius: 20px; background: var(--paper); box-shadow: 0 36px 120px rgba(0,0,0,.26); }
.study-modal-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.brand--compact .brand-seal { width: 32px; height: 32px; font-size: 17px; }
.brand--compact .brand-copy strong { font-size: 13px; }
.brand--compact .brand-copy small { font-size: 8px; }
.demo-notice { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 9px 18px; color: #74571e; background: rgba(199,161,90,.13); font-size: 9px; line-height: 1.5; }
.demo-notice strong { white-space: nowrap; }
.study-content { overflow: auto; padding: clamp(20px, 4vw, 34px); overscroll-behavior: contain; }
.study-progress { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.study-progress span:last-child { color: var(--muted); letter-spacing: 0; }
.study-content h1 { margin: 0 0 12px; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: clamp(26px, 6vw, 35px); line-height: 1.25; }
.study-step-body { display: grid; gap: 12px; }
.study-lead { margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.consent-list { display: grid; gap: 7px; margin: 4px 0; padding-left: 19px; color: #5e6b62; font-size: 11px; line-height: 1.7; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 7px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); font-size: 11px; line-height: 1.6; }
.consent-check input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--green); }
.study-step-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); }
.study-step-footer .button { min-width: 160px; }
.text-button { min-height: 42px; padding: 0 8px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.text-button:hover { color: var(--red); }
.field-label { display: block; margin-top: 4px; color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.6; }
.field-label output { color: var(--red); font-size: 14px; }
.range-input { width: 100%; accent-color: var(--green); }
.form-select, .text-input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); background: var(--surface); font-size: 14px; }
.field-note { margin: 1px 0 0; color: #898c82; font-size: 9px; line-height: 1.7; }
.stimulus-card { position: relative; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #f3e6c8, #e4ebdc); }
.stimulus-kicker, .source-note { color: #758276; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.food-photo-frame--stimulus { height: 190px; margin: 13px 0; border-radius: 12px; }
.stimulus-card h2 { margin: 0; color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 23px; }
.stimulus-card p { margin: 5px 0 9px; color: #5e6b62; font-size: 10px; line-height: 1.6; }
.source-note { color: #9a7650; font-size: 8px; }
.choice-list { display: grid; gap: 8px; }
.choice-row, .choice-card, .action-card { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--surface); text-align: left; }
.choice-row { cursor: pointer; font-size: 11px; }
.choice-row input { width: 16px; height: 16px; accent-color: var(--green); }
.choice-card, .action-card { cursor: pointer; font-size: 10px; line-height: 1.55; transition: border-color .15s ease, background .15s ease; }
.choice-card:hover, .action-card:hover, .choice-card.is-selected, .action-card.is-selected { border-color: rgba(79,122,105,.55); background: rgba(79,122,105,.08); }
.action-card { align-items: flex-start; flex-direction: column; gap: 4px; }
.action-card strong { color: var(--ink); font-size: 11px; }
.action-card span { color: var(--muted); }
.character-line { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; color: var(--green); font-family: "Songti SC", STSong, serif; font-size: 13px; }
.character-seal { width: 27px; height: 27px; font-size: 14px; }
.timer-card { display: grid; justify-items: center; gap: 3px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, #fffdf8, #f2ead8); }
.timer-label { color: var(--green); font-size: 10px; font-weight: 800; }
.timer-card strong { color: var(--ink); font-family: "Songti SC", STSong, serif; font-size: 58px; line-height: 1; }
.timer-card > span:last-child { color: var(--muted); font-size: 9px; }
.complete-mark { display: grid; width: 52px; height: 52px; margin: 4px 0 12px; place-items: center; border-radius: 50%; color: #fff9ef; background: var(--green); font-size: 25px; }
.result-summary { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(31,61,52,.05); font-size: 10px; }
.result-summary span { color: var(--muted); }
.result-summary strong { color: var(--ink); }
.followup-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.outline-button { min-height: 39px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.outline-button:hover { border-color: var(--green); background: rgba(79,122,105,.08); }
.preview-warning { margin: 0 0 4px; padding: 10px 12px; border-radius: 10px; color: #74571e; background: rgba(199,161,90,.13); font-size: 10px; line-height: 1.6; }

.toast { position: fixed; z-index: 140; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); max-width: calc(100vw - 40px); padding: 11px 15px; border: 1px solid rgba(255,249,239,.22); border-radius: 999px; color: #fff9ef; background: #1f3d34; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.toast--visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .food-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 430px; grid-template-columns: 1.1fr .9fr; }
  .art-mountain--back { left: -12%; }
  .art-mountain--front { left: 19%; }
  .study-layout { grid-template-columns: 1fr .9fr; gap: 24px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .topbar { min-height: 62px; gap: 8px; padding: 8px 14px; }
  .brand { gap: 8px; }
  .brand-seal { width: 32px; height: 32px; font-size: 18px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 6px; letter-spacing: .08em; }
  .top-nav { gap: 12px; margin: 0 0 0 auto; }
  .top-nav a { font-size: 10px; }
  .back-link { display: none; }
  main { width: min(100% - 28px, 520px); }
  .hero { display: block; min-height: 570px; margin-top: 14px; border-radius: 21px; }
  .hero-copy { min-height: 390px; padding: 32px 25px 20px; }
  .hero h1 { font-size: clamp(49px, 14vw, 72px); }
  .hero-lead { max-width: 330px; margin-top: 16px; font-size: 12px; }
  .hero-actions { gap: 14px; margin-top: 20px; }
  .button { min-height: 43px; padding: 0 15px; font-size: 11px; }
  .hero-stats { gap: 9px; margin-top: 19px; font-size: 8px; }
  .hero-stats span + span { padding-left: 9px; }
  .hero-stats strong { font-size: 12px; }
  .hero-art { position: absolute; right: 0; bottom: 0; left: 0; min-height: 216px; }
  .hero-art::before { top: 10px; left: 20%; width: 230px; height: 230px; }
  .art-sun { top: 25px; right: 29%; width: 60px; height: 60px; }
  .art-mountain { bottom: 12px; }
  .art-mountain--back { left: 1%; border-width: 0 120px 140px 120px; }
  .art-mountain--front { left: 31%; bottom: 0; border-width: 0 145px 172px 145px; }
  .art-stamp { top: 35%; left: 54%; width: 47px; height: 47px; font-size: 15px; }
  .art-caption { right: 16px; bottom: 10px; left: 16px; font-size: 7px; }
  .intro-strip { align-items: flex-start; margin: 13px 0 48px; padding: 13px; }
  .intro-strip p { font-size: 10px; }
  .intro-mark { width: 29px; height: 29px; font-size: 13px; }
  .food-section { padding-bottom: 51px; }
  .section-heading { align-items: center; margin-bottom: 17px; }
  .section-heading h2, .route-copy h2 { font-size: 31px; }
  .section-heading .eyebrow { margin-bottom: 10px; font-size: 8px; }
  .section-lead { max-width: 310px; margin-top: 8px; font-size: 10px; }
  .section-count strong { font-size: 27px; }
  .section-count { font-size: 8px; }
  .filter-panel { gap: 12px; margin-bottom: 14px; padding: 11px; border-radius: 13px; }
  .search-field { min-height: 43px; }
  .search-field input { font-size: 12px; }
  .county-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
  .filter-chip { flex: 0 0 auto; min-height: 31px; padding: 0 10px; font-size: 9px; }
  .food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .food-card { border-radius: 13px; }
  .food-card-main { padding: 10px 10px 8px; }
  .food-card-topline { font-size: 7px; }
  .food-photo-frame--card { height: 106px; margin: 10px 0; }
  .food-photo-frame--detail { height: 175px; }
  .food-photo-frame--stimulus { height: 160px; }
  .food-card-title { font-size: 15px; }
  .food-card-note { font-size: 8px; }
  .food-card-actions { padding: 8px; }
  .quiet-action, .map-action { font-size: 8px; }
  .map-action { padding: 6px 7px; }
  .route-section { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; padding: 24px 20px; border-radius: 19px; }
  .route-copy h2 { font-size: 30px; }
  .route-copy > p:not(.eyebrow) { font-size: 10px; }
  .route-card { padding: 15px; }
  .route-line::before { width: 62vw; }
  .route-stops { font-size: 8px; }
  .study-section { margin-bottom: 46px; padding: 24px 18px 18px; border-radius: 19px; }
  .study-badge { position: static; display: inline-flex; margin-bottom: 20px; font-size: 8px; }
  .study-layout { grid-template-columns: 1fr; gap: 21px; }
  .study-section h2 { font-size: 29px; }
  .study-card { padding: 18px; }
  .study-card-quote { font-size: 18px; }
  .principles { grid-template-columns: 1fr; gap: 2px; margin-bottom: 42px; }
  .principles article { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; padding: 13px 4px; }
  .principles article > span { grid-row: span 2; padding-top: 3px; }
  .principles h3 { margin: 0 0 3px; font-size: 15px; }
  .principles p { font-size: 9px; }
  .footer { align-items: flex-start; flex-direction: column; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .footer > p { text-align: left; font-size: 8px; }
  .study-layer { align-items: end; padding: 0; }
  .study-modal { width: 100%; max-height: 96dvh; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .study-modal-header { padding: 11px 14px; }
  .demo-notice { padding: 8px 14px; font-size: 8px; }
  .study-content { padding: 21px 18px 20px; }
  .study-content h1 { font-size: 27px; }
  .study-progress { font-size: 8px; }
  .study-lead { font-size: 11px; }
  .study-step-footer .button { flex: 1 1 100%; }
  .study-step-footer .text-button { flex: 1 1 100%; }
  .study-step-footer { gap: 5px; margin-top: 14px; }
  .food-dialog { padding: 24px 20px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
