:root {
  --ink: #17382f;
  --green: #1f4a3e;
  --green-deep: #123129;
  --paper: #f4f0e6;
  --paper-deep: #e8dfce;
  --rust: #a13f2b;
  --gold: #b98b4a;
  --text: #22251f;
  --muted: #6e7168;
  --line: rgba(23, 56, 47, 0.17);
  --radius: 26px;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--rust); }

.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: 200; top: 12px; left: 12px; padding: 10px 15px; color: #fff; background: var(--green-deep); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; padding: 12px clamp(22px, 5vw, 76px); color: #fff; background: var(--green-deep); border-bottom: 1px solid rgba(255,255,255,.13); transition: background .35s, min-height .35s, box-shadow .35s; }
.site-header.scrolled { min-height: 70px; color: var(--ink); background: rgba(244,240,230,.94); border-color: var(--line); box-shadow: 0 10px 35px rgba(28,45,39,.08); backdrop-filter: blur(16px); }
.brand { position: relative; display: block; width: 170px; height: 66px; overflow: hidden; justify-self: start; }
.brand-logo-full { position: absolute; inset: 0; display: block; overflow: hidden; }
.brand-logo-full img { position: absolute; top: -49px; left: 0; width: 170px; max-width: none; height: auto; filter: grayscale(1) invert(1) sepia(.72) saturate(.72) brightness(1.1); mix-blend-mode: screen; }
.site-header.scrolled .brand-logo-full img { filter: none; mix-blend-mode: multiply; }
.site-nav { display: flex; gap: clamp(22px, 3vw, 46px); }
.site-nav a { position: relative; padding: 8px 0; font-size: 14px; letter-spacing: .06em; }
.site-nav a::after { content: ""; position: absolute; right: 100%; bottom: 2px; left: 0; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { justify-self: end; padding: 11px 20px; color: inherit; border: 1px solid currentColor; border-radius: 99px; background: transparent; cursor: pointer; }
.menu-button { display: none; }

.hero { position: relative; display: grid; grid-template-columns: 44% 56%; min-height: 100svh; overflow: hidden; color: #fff; background: var(--green-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 16%, rgba(185,139,74,.22), transparent 29%), linear-gradient(120deg, rgba(255,255,255,.02), transparent); }
.hero-grain { position: absolute; inset: 0; opacity: .15; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; align-self: center; padding: 150px 5vw 80px 8vw; }
.eyebrow, .section-kicker { color: var(--rust); font-size: 12px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #dcc9a7; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.hero h1 { margin: 28px 0 22px; font-family: var(--serif); font-size: clamp(58px, 6.5vw, 104px); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; }
.hero h1 em { color: #e8c481; font-style: normal; }
.hero-lead { max-width: 430px; margin: 0; color: rgba(255,255,255,.68); font-family: var(--serif); font-size: clamp(18px, 1.4vw, 24px); line-height: 1.8; letter-spacing: .06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 99px; font-weight: 600; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--rust); }
.button-primary:hover { background: #bb4a33; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.button-ghost:hover { border-color: #fff; }
.hero-meta { display: flex; gap: 34px; margin-top: 55px; }
.hero-meta div { display: flex; flex-direction: column; gap: 7px; padding-left: 15px; border-left: 1px solid rgba(255,255,255,.28); }
.hero-meta strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.hero-meta span { color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .12em; }

.hero-visual { position: relative; min-height: 100svh; }
.hero-photo { position: absolute; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hero-photo:hover img { transform: scale(1.025); }
.hero-photo-main { inset: 12% 8% 11% 6%; border-radius: 260px 260px 20px 20px; }
.hero-photo-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,26,21,.6), transparent 35%); }
.hero-photo-main span { position: absolute; z-index: 2; right: 30px; bottom: 28px; color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 15px; letter-spacing: .16em; }
.hero-photo-small { z-index: 3; right: 0; bottom: 6%; width: 37%; aspect-ratio: 1/1.25; border: 10px solid var(--paper); border-right: 0; border-radius: 120px 0 0 12px; }
.seal { position: absolute; z-index: 4; top: 18%; left: 0; display: flex; flex-direction: column; justify-content: center; width: 92px; height: 92px; color: #fff; background: var(--rust); border-radius: 50%; font-family: var(--serif); font-size: 17px; line-height: 1.4; text-align: center; letter-spacing: .14em; transform: rotate(8deg); }
.hero-note { position: absolute; z-index: 3; top: 50%; right: -91px; margin: 0; color: rgba(255,255,255,.52); font-family: var(--serif); font-size: 13px; letter-spacing: .3em; writing-mode: vertical-rl; }
.scroll-cue { position: absolute; z-index: 4; bottom: 26px; left: 2.8vw; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 46px; background: rgba(255,255,255,.4); animation: pulse 1.8s infinite; }

.section-pad { padding: clamp(90px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.manifesto { background: var(--paper); }
.manifesto > .section-kicker { margin-bottom: 32px; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11vw; }
.manifesto h2, .section-heading h2, .steps h2, .story h2, .visit h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(42px, 5.2vw, 78px); font-weight: 500; line-height: 1.22; letter-spacing: -.04em; }
.manifesto-copy { padding-top: 12px; }
.manifesto-copy p, .story-copy > p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 2; }

.dishes { padding-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-heading h2 { margin-top: 16px; font-size: clamp(42px, 4.4vw, 66px); }
.section-heading > p { max-width: 310px; margin: 0 0 8px; color: var(--muted); line-height: 1.8; }
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dish-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: var(--green); }
.dish-card-wide { min-height: 640px; }
.dish-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.dish-card:hover img { transform: scale(1.04); }
.dish-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,27,23,.9) 0%, rgba(9,27,23,.18) 53%, transparent 72%); }
.dish-overlay { position: absolute; z-index: 2; right: 28px; bottom: 28px; left: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; color: #fff; }
.dish-overlay > span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-family: var(--serif); font-size: 22px; }
.dish-overlay h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.dish-overlay p { margin: 7px 0 0; color: rgba(255,255,255,.6); font-size: 13px; }
.dish-overlay strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.menu-note { margin: 22px 4px 0; color: var(--muted); font-size: 12px; text-align: right; }

.steps { display: grid; grid-template-columns: .88fr 1.12fr; padding: 70px clamp(24px, 7vw, 110px); background: var(--green-deep); }
.steps-intro { align-self: center; padding: 50px 7vw 50px 0; color: #fff; }
.section-kicker.light { color: #d7b67a; }
.steps h2, .visit h2 { margin-top: 20px; color: #fff; }
.steps-intro p { max-width: 540px; margin: 30px 0 0; color: rgba(255,255,255,.6); font-size: 16px; line-height: 2; }
.step-calculator { align-self: center; padding: clamp(32px, 5vw, 70px); color: var(--ink); background: var(--paper); border-radius: 220px 220px 26px 26px; }
.calc-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 0 3%; }
.calc-label, .calc-result span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.calc-top output { font-family: var(--serif); font-size: clamp(38px, 5vw, 70px); }
.calc-top small { font-size: 16px; font-weight: 400; }
.calc-result { text-align: right; }
.calc-result strong { color: var(--rust); font-family: var(--serif); font-size: clamp(36px, 5vw, 66px); font-weight: 500; }
#step-range { width: 100%; height: 5px; margin: 42px 0 10px; accent-color: var(--rust); cursor: pointer; }
#step-range::-webkit-slider-thumb { width: 24px; height: 24px; border: 5px solid var(--paper); border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 1px var(--rust), 0 4px 12px rgba(68,32,25,.25); appearance: none; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.tier-track { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-top: 35px; }
.tier-track span { height: 3px; background: var(--paper-deep); }
.tier-track span.active { background: var(--rust); }
.tier-list { display: grid; grid-template-columns: repeat(3,1fr); margin: 13px 0 34px; }
.tier-list div { opacity: .36; transition: opacity .2s; }
.tier-list div.active { opacity: 1; }
.tier-list strong { display: block; color: var(--rust); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.tier-list span { color: var(--muted); font-size: 11px; }
.button-rust { width: 100%; color: #fff; background: var(--rust); }
.calc-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }

.story { display: grid; grid-template-columns: minmax(300px,.82fr) 1.18fr; gap: clamp(60px, 10vw, 150px); align-items: center; background: #ece5d8; }
.story-image { position: relative; }
.story-image::before { content: "吾"; position: absolute; z-index: 0; top: -72px; left: -45px; color: rgba(161,63,43,.1); font-family: var(--serif); font-size: 220px; }
.story-image img { position: relative; z-index: 1; width: 100%; border-radius: 50% 50% 18px 18px; box-shadow: 0 28px 80px rgba(32,52,45,.16); }
.story-copy h2 { margin: 20px 0 30px; font-size: clamp(40px, 4.4vw, 67px); }
.story-values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 42px; }
.story-values div { padding-top: 20px; border-top: 1px solid var(--line); }
.story-values span { color: var(--rust); font-family: var(--serif); font-size: 13px; }
.story-values strong { display: block; margin: 14px 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.story-values p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.visit { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; color: #fff; background: var(--rust); overflow: hidden; }
.visit::before { content: "小吾"; position: absolute; right: -2vw; bottom: -13vw; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: 32vw; white-space: nowrap; }
.visit-heading, .visit-card { position: relative; z-index: 1; }
.visit-heading { align-self: center; }
.visit-card { padding: clamp(30px, 5vw, 60px); color: var(--ink); background: var(--paper); border-radius: 24px; }
.visit-brand { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.visit-brand span { font-family: var(--serif); font-size: 30px; }
.visit-brand small { color: var(--muted); }
.visit dl { margin: 26px 0 34px; }
.visit dl div { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.visit dt { color: var(--muted); font-size: 13px; }
.visit dd { margin: 0; line-height: 1.8; }
.visit dd a { text-decoration: underline; text-underline-offset: 4px; }
.visit-actions { display: flex; gap: 12px; }
.button-light { color: #fff; background: var(--green); }
.button-outline-light { color: var(--ink); border-color: var(--line); background: transparent; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; padding: 38px clamp(24px, 7vw, 110px); color: rgba(255,255,255,.6); background: #0b211c; font-size: 12px; }
.footer-brand { color: #fff; font-family: var(--serif); font-size: 18px; }
.footer-brand span { color: var(--gold); }
.footer-links { display: flex; gap: 24px; }
.site-footer p { margin: 0; }

.wechat-dialog { width: min(480px, calc(100% - 32px)); padding: 44px; color: var(--ink); background: var(--paper); border: 0; border-radius: 24px; box-shadow: 0 40px 100px rgba(0,0,0,.36); text-align: center; }
.wechat-dialog::backdrop { background: rgba(7,24,19,.78); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--muted); background: var(--paper-deep); font-size: 25px; cursor: pointer; }
.dialog-logo { width: 94px; height: 94px; margin: 0 auto 24px; overflow: hidden; border-radius: 50%; }
.dialog-logo img { width: 100%; height: 100%; object-fit: cover; }
.wechat-dialog h2 { margin: 14px 0 26px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.wechat-dialog ol { padding: 0; margin: 0 0 28px; list-style: none; text-align: left; }
.wechat-dialog li { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.wechat-dialog li span { display: grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--green); border-radius: 50%; font-family: var(--serif); font-size: 12px; }
.copy-status { min-height: 20px; margin: 12px 0 0; color: var(--rust); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { transform: scaleY(.35); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
  .menu-button span:not(.sr-only) { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; color: #fff; background: var(--green-deep); transform: translateY(-105%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .site-nav.open { transform: none; }
  .site-nav a { font-family: var(--serif); font-size: 28px; }
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { min-height: 720px; padding: 150px 8vw 80px; }
  .hero-visual { min-height: 720px; }
  .hero-photo-main { inset: 5% 11% 8% 11%; }
  .hero-photo-small { right: 0; bottom: 2%; }
  .hero-note { display: none; }
  .scroll-cue { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps-intro { padding: 50px 0 60px; }
  .story, .visit { grid-template-columns: 1fr; }
  .story-image { width: min(580px, 100%); }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; padding: 12px 18px; }
  .brand { width: 145px; height: 56px; }
  .brand-logo-full img { top: -42px; width: 145px; }
  .hero-content { min-height: 680px; padding: 135px 22px 70px; }
  .hero h1 { font-size: clamp(54px, 17vw, 76px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 16px; }
  .hero-meta strong { font-size: 15px; }
  .hero-visual { min-height: 590px; }
  .hero-photo-main { inset: 2% 6% 11%; border-radius: 180px 180px 18px 18px; }
  .hero-photo-small { width: 43%; border-width: 7px; }
  .seal { top: 12%; left: 2%; width: 76px; height: 76px; font-size: 14px; }
  .section-pad { padding: 80px 22px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 34px; }
  .manifesto h2, .section-heading h2, .steps h2, .story h2, .visit h2 { font-size: 41px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 18px; }
  .dish-grid { grid-template-columns: 1fr; }
  .dish-card, .dish-card-wide { min-height: 430px; }
  .dish-overlay { right: 18px; bottom: 18px; left: 18px; grid-template-columns: auto 1fr; gap: 12px; }
  .dish-overlay > strong { grid-column: 2; }
  .steps { padding: 35px 16px 56px; }
  .steps-intro { padding: 50px 8px; }
  .step-calculator { padding: 54px 22px 30px; border-radius: 150px 150px 22px 22px; }
  .calc-top { align-items: center; }
  .calc-top output, .calc-result strong { font-size: 38px; }
  .range-labels { font-size: 8px; }
  .tier-list strong { font-size: 22px; }
  .tier-list span { font-size: 9px; }
  .story { gap: 60px; }
  .story-values { grid-template-columns: 1fr; }
  .visit { gap: 45px; }
  .visit-actions { flex-direction: column; }
  .visit-actions .button { width: 100%; }
  .wechat-dialog { padding: 44px 24px 28px; }
}

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