@font-face {
  font-family: "Bailu Songti";
  src: url("assets/bailu-songti-regular.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Bailu Songti";
  src: url("assets/bailu-songti-bold.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --leaf: #1e7a57;
  --leaf-deep: #0b4a32;
  --ink: #131813;
  --ink-soft: rgba(19, 24, 19, 0.7);
  --paper-from: #c4d2cd;
  --paper-to: #d5e9e1;
  --paper: #d5e9e1;
  --serif: "Bailu Songti", "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: "Bailu Songti", "Songti SC", "STSong", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --measure: 42rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  background: #eef3f0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; }

/* —— page shell —— */
.article {
  width: min(100%, 480px);
  margin: 0 auto;
  background:
    linear-gradient(180deg, var(--paper-from), var(--paper-to));
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/paper-texture.webp") center / cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.article > * { position: relative; z-index: 1; }

@media (min-width: 720px) {
  body { background: #e4ece8; }
  .article {
    width: min(100%, 720px);
    margin: 24px auto 64px;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(20, 50, 40, 0.12);
  }
}

/* —— hero：锁成恰好一屏，避免内容撑高露出第二屏 —— */
.hero {
  box-sizing: border-box;
  height: 100svh;
  max-height: 100svh;
  min-height: 100svh;
  padding:
    max(20px, env(safe-area-inset-top, 0px))
    24px
    max(20px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 11vw, 52px);
  letter-spacing: 0.12em;
  line-height: 1.05;
  color: var(--ink);
}

.hero-meta {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-soft);
}

.solar-badge {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.solar-badge span {
  width: 26px;
  height: 26px;
  border: 1px solid var(--leaf-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--leaf-deep);
  line-height: 1;
}

.hero-visual {
  position: relative;
  flex: 1 1 auto;
  margin: 8px -8px;
  min-height: 0;
  display: grid;
  place-items: center;
}

.hero-progress {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-progress .line {
  width: 1px;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--leaf-deep), transparent);
  opacity: 0.55;
}
.hero-progress .dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-progress i {
  width: 8px;
  height: 8px;
  display: block;
  transform: rotate(45deg);
  border: 1px solid var(--leaf-deep);
  background: transparent;
}
.hero-progress i.on {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
}

.hero-basket {
  width: min(78%, 300px);
  position: relative;
  margin-left: 6%;
  max-height: 100%;
}
.hero-basket img.main {
  width: 100%;
  height: auto;
  max-height: min(42svh, 340px);
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(40, 50, 40, 0.18));
}
.hero-basket img.shadow {
  position: absolute;
  left: 8%;
  right: -4%;
  bottom: -2%;
  width: 92%;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-foot {
  margin-top: auto;
  padding-top: 4px;
  flex-shrink: 0;
}
.hero-quote {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: var(--ink-soft);
}
.scroll-hint {
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--leaf-deep);
  font-size: 13px;
  animation: bob 1.8s var(--ease) infinite;
}
.scroll-hint img {
  width: 16px;
  height: 16px;
  transform: rotate(90deg) scaleY(-1);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* —— sections —— */
.band {
  padding: 36px 24px 8px;
  position: relative;
}

.band + .band { padding-top: 28px; }

.hl-title {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  z-index: 0;
}
.hl-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: min(104px, 55%);
  height: 24px;
  background: linear-gradient(90deg, #1e7a57, rgba(30, 122, 87, 0));
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.hl-title.right {
  display: block;
  text-align: right;
}
.hl-title.right::before {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, #1e7a57, rgba(30, 122, 87, 0));
}

.lede, .body-p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.lede.right, .body-p.right { margin-left: auto; text-align: right; }

.h3 {
  margin: 28px 0 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.list-plain {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.list-plain li {
  position: relative;
  padding-left: 1em;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-soft);
}
.list-plain li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--leaf-deep);
}

.note {
  margin: 16px 0;
  padding: 14px 16px;
  background: rgba(30, 122, 87, 0.08);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

/* —— split with illustration —— */
.split {
  display: grid;
  gap: 8px;
  align-items: start;
}
.split-top {
  position: relative;
  min-height: 120px;
  margin: 0 -24px 8px;
  overflow: hidden;
}
.split-top img {
  width: 58%;
  max-width: 280px;
  margin-left: auto;
  margin-right: -4%;
  opacity: 0.95;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.principles {
  margin-top: 48px;
  position: relative;
  padding-bottom: 48px;
  min-height: 220px;
}
.principles .reed {
  position: absolute;
  left: -28px;
  bottom: 0;
  width: 180px;
  opacity: 0.42;
  pointer-events: none;
}
.principles .copy {
  position: relative;
  z-index: 1;
  text-align: right;
  max-width: 240px;
  margin-left: auto;
}
.principles .item {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-soft);
}

/* —— tables —— */
.table-wrap {
  margin: 18px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(19, 24, 19, 0.06);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.55;
  min-width: 320px;
}
table.data th,
table.data td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(19, 24, 19, 0.06);
  color: var(--ink-soft);
}
table.data th {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  background: rgba(30, 122, 87, 0.08);
  white-space: nowrap;
}
table.data tr:last-child td { border-bottom: 0; }

/* —— ten white foods: text left / image right —— */
.foods {
  padding: 28px 24px 40px;
}
.food-rows {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.food-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(38%, 148px);
  gap: 14px 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(19, 24, 19, 0.12);
}
.food-row:last-child { border-bottom: 0; }
.food-copy h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.food-copy p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.food-copy .dish {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.food-pic {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.food-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(40, 40, 30, 0.12));
}

/* —— closing —— */
.closing {
  padding: 40px 24px 72px;
  text-align: center;
}
.closing .seal {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.closing .sub {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}
.disclaimer {
  text-align: left;
  margin: 0;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.disclaimer ol {
  margin: 0;
  padding-left: 1.2em;
}
.disclaimer li { margin-bottom: 8px; }
.disclaimer li:last-child { margin-bottom: 0; }

.brand-foot {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(19, 24, 19, 0.45);
}
.brand-foot a { color: var(--leaf-deep); }

/* —— motion —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
    transition:
      opacity 0.7s var(--ease),
      transform 0.7s var(--ease),
      filter 0.7s var(--ease);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (min-width: 720px) {
  .hero {
    height: calc(100svh - 48px);
    min-height: calc(100svh - 48px);
    max-height: calc(100svh - 48px);
    padding: 40px 48px 32px;
  }
  .band, .foods, .closing { padding-left: 48px; padding-right: 48px; }
  .split-top { margin-left: -48px; margin-right: -48px; }
  .food-row { grid-template-columns: minmax(0, 1fr) 180px; gap: 20px 28px; padding: 28px 0; }
  .food-copy h3 { font-size: 22px; }
  .principles .reed { width: 220px; left: -12px; }
}


/* —— brand / download (轻量，不打断长文气质) —— */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  opacity: 0.9;
}
.brand-mark .wordmark { width: 72px; height: auto; }
.hero-foot { display: flex; flex-direction: column; }
.hero-foot .brand-mark { align-self: center; margin-top: 12px; margin-bottom: 0; }
.scroll-hint { margin-top: 10px; }

.end-cta {
  margin: 28px 0 8px;
  padding: 22px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
}
.end-cta .brand-mark { margin: 0 auto 12px; }
.end-cta .brand-mark .wordmark { width: 96px; }
.site-url {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
  word-break: break-all;
}
.site-url a {
  color: var(--leaf-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dl-actions {
  display: grid;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-primary { background: #1a1f1c; color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.78);
  border-color: var(--ink);
  color: var(--ink);
}
.dl-actions .btn { width: 100%; }
