:root{
  --bg: #f8faf6;
  --ink: #1f2a1a;
  --muted: rgba(31,42,26,.68);
  --brand: #3c5f2a;
  --brand-2: #89a64a;
  --accent: #e1843c;
  --paper: #fcfdfb;
  --paper-deep: #f5f8f0;
  --shadow: 0 18px 45px rgba(13, 18, 10, .14);
  --ring: 0 0 0 4px rgba(137, 166, 74, .22);
  --radius: 20px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 36px;
  --max: 980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{color:inherit}

body.modal-open{overflow:hidden}

.safe{
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display:flex;
  align-items:stretch;
  justify-content:center;
}

.shell{
  width: min(100%, var(--max));
  margin: 0 auto;
  display:flex;
  flex-direction:column;
}

.btn{
  appearance:none;
  border:0;
  border-radius:999px;
  background: linear-gradient(180deg, #89a64a, #3c5f2a);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 22px;
  font-size: 16px;
  line-height: 1;
  min-height: 48px;
  min-width: 160px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  box-shadow: 0 14px 32px rgba(60, 95, 42, .28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  cursor:pointer;
  touch-action: manipulation;
}

.btn:active{transform: translateY(1px) scale(.98); filter:saturate(1.05)}
.btn:focus-visible{outline: none; box-shadow: 0 14px 32px rgba(60, 95, 42, .28), var(--ring)}

.ghost{
  appearance:none;
  border: 1px solid rgba(43,38,32,.14);
  background: rgba(255,255,255,.7);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  min-height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  touch-action: manipulation;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ghost:active{transform: translateY(1px) scale(.99)}
.ghost:focus-visible{outline:none; box-shadow: var(--ring)}
.ghost:hover{background: rgba(255,255,255,.88); border-color: rgba(43,38,32,.22)}

.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;
}

.fade-layer{
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  z-index: 99;
}

body.is-leaving .fade-layer{
  opacity: 1;
  pointer-events: auto;
}

.landing{
  background:
    radial-gradient(1200px 800px at 18% -10%, rgba(137,166,74,.18), rgba(248,250,246,0) 60%),
    radial-gradient(1200px 800px at 85% 10%, rgba(60,95,42,.14), rgba(248,250,246,0) 55%),
    radial-gradient(900px 700px at 55% 42%, rgba(225,132,60,.10), rgba(248,250,246,0) 56%),
    linear-gradient(180deg, #f8faf6, #f1f6ea);
}

.hero{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: clamp(28px, 6dvh, 56px) 0;
  text-align:center;
  gap: 18px;
}

.hero h1{
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em;
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1.15;
}

.hero h1 .brand-en{
  font-family: "ZCOOL XiaoWei", ui-serif, Georgia, "Songti SC", "STSong", serif;
  font-size: 0.58em;
  color: var(--brand-2);
  letter-spacing: 0.06em;
  font-weight: 400;
}

.hero h1 .brand-cn{
  font-family: "ZCOOL XiaoWei", ui-serif, Georgia, "Songti SC", "STSong", serif;
  font-size: 1.1em;
  color: #2d241b;
  letter-spacing: 0.08em;
}

.hero .sub{
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 900;
}

.card-illus{
  width: min(92vw, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  position: relative;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), rgba(255,255,255,.65) 55%, rgba(255,255,255,.35)),
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
  box-shadow: 0 18px 50px rgba(13, 18, 10, .12);
  overflow:hidden;
  transform: translateZ(0);
}

.card-illus::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 10%, rgba(137,166,74,.22), rgba(137,166,74,0) 55%),
    radial-gradient(circle at 80% 40%, rgba(60,95,42,.18), rgba(60,95,42,0) 60%),
    radial-gradient(circle at 30% 85%, rgba(225,132,60,.12), rgba(225,132,60,0) 55%);
  filter: blur(18px);
  animation: floatCloud 7s ease-in-out infinite;
}

.card-illus::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(43,38,32,.03), rgba(43,38,32,.03) 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 7px),
    repeating-linear-gradient(90deg, rgba(43,38,32,.02), rgba(43,38,32,.02) 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 9px);
  opacity:.26;
  mix-blend-mode: multiply;
  pointer-events:none;
}

.hero-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.hero-actions .hint{
  font-size: 13px;
  color: rgba(43,38,32,.58);
}

.landing .hero{
  animation: heroIn .46s ease both;
}

.draw svg{
  width: 86%;
  height: auto;
  position: relative;
  z-index: 1;
}

.logo-stage{
  isolation: isolate;
}

.logo-stage::after{
  content:"";
  position:absolute;
  inset:-45% -60%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 60%);
  transform: translate3d(-10%, -4%, 0) rotate(10deg);
  opacity: .0;
  mix-blend-mode: screen;
  pointer-events:none;
  animation: logoShine 2.8s ease-in-out .65s infinite;
  z-index: 2;
}

.logo-stage .hero-logo{
  width: 86%;
  height: auto;
  position: relative;
  z-index: 1;
  display:block;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 42px rgba(13, 18, 10, .10);
  transform-origin: 50% 70%;
  animation: logoIn .55s ease both, logoFloat 6.2s ease-in-out .55s infinite;
}

.draw path,
.draw circle,
.draw line{
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: dash 1.25s ease forwards;
}

.draw .d2{animation-delay:.08s}
.draw .d3{animation-delay:.14s}
.draw .d4{animation-delay:.22s}
.draw .d5{animation-delay:.30s}
.draw .fill{
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  animation: pop .56s ease .42s both;
}

.menu-bg{
  background:
    radial-gradient(1200px 700px at 50% -8%, rgba(137,166,74,.14), rgba(248,250,246,0) 55%),
    radial-gradient(900px 650px at 15% 60%, rgba(137,166,74,.08), rgba(137,166,74,0) 55%),
    radial-gradient(900px 650px at 85% 50%, rgba(225,132,60,.06), rgba(225,132,60,0) 55%),
    linear-gradient(180deg, #f8faf6, #f1f6ea);
  color: #1d1813;
}

.menu-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.paper{
  position: relative;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.72), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.paper::before,
.paper::after{
  content:"";
  position:absolute;
  left:-14px;
  right:-14px;
  height: 46px;
  background:
    radial-gradient(16px 16px at 10% 80%, rgba(255,255,255,0) 55%, rgba(245,248,240,.94) 56%),
    radial-gradient(20px 18px at 26% 40%, rgba(255,255,255,0) 58%, rgba(245,248,240,.94) 59%),
    radial-gradient(14px 14px at 40% 75%, rgba(255,255,255,0) 55%, rgba(245,248,240,.94) 56%),
    radial-gradient(18px 18px at 58% 45%, rgba(255,255,255,0) 58%, rgba(245,248,240,.94) 59%),
    radial-gradient(12px 12px at 72% 70%, rgba(255,255,255,0) 55%, rgba(245,248,240,.94) 56%),
    radial-gradient(22px 18px at 88% 38%, rgba(255,255,255,0) 60%, rgba(245,248,240,.94) 61%);
  opacity: .85;
  filter: drop-shadow(0 6px 10px rgba(13,18,10,.10));
  pointer-events:none;
}

.paper::before{top:-24px; transform: rotate(-.6deg)}
.paper::after{bottom:-26px; transform: rotate(.7deg)}

.paper-inner{
  position: relative;
  padding: 22px 18px 18px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin: 8px 0 10px;
}

.brand .logo{
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  display:grid;
  place-items:center;
  border: 1px solid rgba(43,38,32,.12);
}

.brand h1{
  margin:0;
  font-family: "ZCOOL XiaoWei", ui-serif, Georgia, "Songti SC", "STSong", serif;
  font-size: 28px;
  letter-spacing: .06em;
  color: #2d241b;
}

.brand small{
  display:block;
  margin-top: 2px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: rgba(43,38,32,.62);
  font-size: 12px;
  letter-spacing: .14em;
}

.menu-tip{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 6px;
  padding: 12px 16px;
  background: rgba(137,166,74,.10);
  border: 1.5px solid rgba(137,166,74,.30);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(31,42,26,.88);
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(137,166,74,.08);
}

.menu-tip{
  animation: tipPulse 2.2s ease-in-out 1.5s 3;
}

.menu-tip__icon{
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  animation: tipBounce 1.2s ease-in-out 1.5s 3;
}

.menu-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.section{
  border: 1px solid rgba(137,166,74,.18);
  background: rgba(255,255,255,.60);
  border-radius: 18px;
  padding: 14px 14px 12px;
  animation: sectionIn .5s ease both;
  animation-delay: calc(var(--i, 0) * 80ms);
}

.section h2{
  margin: 0 0 10px;
  font-family: "ZCOOL XiaoWei", ui-serif, Georgia, "Songti SC", "STSong", serif;
  font-size: 18px;
  letter-spacing: .06em;
  color: #2d241b;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}

.section h2 span{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: rgba(43,38,32,.56);
  font-size: 12px;
  letter-spacing: .18em;
}

.items{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.item{
  display:grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.item .name{
  font-size: 18px;
  line-height: 1.45;
  color: rgba(43,38,32,.92);
}

.dish-btn{
  appearance:none;
  border:0;
  background: transparent;
  width: 100%;
  padding: 10px 10px;
  margin: 0;
  font: inherit;
  text-align:left;
  cursor:pointer;
  touch-action: manipulation;
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
}

.dish-btn{
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.dish-btn:hover{
  color: rgba(31,42,26,.95);
  background: rgba(137,166,74,.06);
  border-radius: 12px;
}

.dish-btn:active{
  transform: scale(.98);
  background: rgba(137,166,74,.12);
}

.dish-btn:focus-visible{
  outline:none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

.item-info{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.info-cell{
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(43,38,32,.88);
}

.info-cell small{
  font-size: 16px;
  opacity: .55;
  font-weight: 900;
  display: block;
}

.info-cell.price{
  font-weight: 700;
}

.info-cell.price small{
  font-weight: 700;
}

.info-cell.monthly{
  color: #d4380d;
  text-align: center;
}

.info-cell.calories{
  color: #389e0d;
  text-align: right;
}

.dish-modal{
  position: fixed;
  inset: 0;
  z-index: 120;
  display:grid;
  place-items:center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.dish-modal[hidden]{display:none}

.dish-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(10, 14, 9, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}

.dish-modal__panel{
  position: relative;
  width: min(94vw, 520px);
  border-radius: 22px;
  overflow:hidden;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(31,42,26,.16);
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
  transform: translate3d(0, 10px, 0) scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.dish-modal.is-open .dish-modal__backdrop{opacity:1}
.dish-modal.is-open .dish-modal__panel{opacity:1; transform: translate3d(0,0,0) scale(1)}

.dish-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  background: linear-gradient(180deg, rgba(243,246,231,.92), rgba(255,255,255,.70));
}

.dish-modal__title{
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(31,42,26,.92);
  font-size: 14px;
}

.dish-modal__details{
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-row{
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.detail-label{
  flex: 0 0 auto;
  font-weight: 700;
  color: rgba(31,42,26,.75);
  min-width: 3em;
  font-size: 16px;
}

.detail-value{
  color: rgba(31,42,26,.92);
}

.detail-row:nth-child(2) .detail-label,
.detail-row:nth-child(2) .detail-value{
  color: #d4380d;
}

.dish-modal__close{
  appearance:none;
  border: 1px solid rgba(31,42,26,.16);
  background: rgba(255,255,255,.75);
  color: rgba(31,42,26,.92);
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  touch-action: manipulation;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.dish-modal__close:active{transform: translateY(1px) scale(.99)}
.dish-modal__close:focus-visible{outline:none; box-shadow: var(--ring)}
.dish-modal__close:hover{background: rgba(255,255,255,.92); border-color: rgba(31,42,26,.24)}

.dish-modal__img{
  width: 100%;
  height: auto;
  display:block;
  background: rgba(255,255,255,.9);
}

@media (prefers-reduced-motion: reduce){
  .dish-modal__backdrop,
  .dish-modal__panel{transition:none !important}
}
.note{
  margin-top: 14px;
  padding: 12px 12px 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(137,166,74,.16);
  border-radius: 16px;
}

.note h3{
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(43,38,32,.78);
  letter-spacing: .08em;
}

.note ol{
  margin: 0;
  padding-left: 18px;
  color: rgba(43,38,32,.74);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (min-width: 520px){
  .paper-inner{padding: 26px 24px 22px}
  .menu-grid{grid-template-columns: 1fr 1fr; gap: 16px}
  .brand h1{font-size: 32px}
}

@keyframes sectionIn{
  from{opacity:0; transform: translateY(16px)}
  to{opacity:1; transform: translateY(0)}
}

@keyframes tipPulse{
  0%,100%{opacity:1}
  50%{opacity:.65}
}

@keyframes tipBounce{
  0%,100%{transform: translateY(0)}
  50%{transform: translateY(-3px)}
}

@keyframes heroIn{
  from{opacity:0; transform: translateY(10px)}
  to{opacity:1; transform: translateY(0)}
}

@keyframes logoIn{
  from{opacity:0; transform: translate3d(0, 10px, 0) scale(.98)}
  to{opacity:1; transform: translate3d(0, 0, 0) scale(1)}
}

@keyframes logoFloat{
  0%,100%{transform: translate3d(0,0,0) rotate(-.3deg)}
  50%{transform: translate3d(0,-10px,0) rotate(.35deg)}
}

@keyframes logoShine{
  0%{opacity:0; transform: translate3d(-18%, -6%, 0) rotate(12deg)}
  35%{opacity:.55}
  60%{opacity:0; transform: translate3d(18%, 6%, 0) rotate(12deg)}
  100%{opacity:0; transform: translate3d(18%, 6%, 0) rotate(12deg)}
}

@keyframes dash{
  to{stroke-dashoffset:0}
}

@keyframes pop{
  from{opacity:0; transform: translateY(6px) scale(.98)}
  to{opacity:1; transform: translateY(0) scale(1)}
}

@keyframes floatCloud{
  0%,100%{transform: translate3d(0,0,0) rotate(-1deg)}
  50%{transform: translate3d(10px,12px,0) rotate(1.2deg)}
}

@media (prefers-reduced-motion: reduce){
  .landing .hero,
  .card-illus::before,
  .logo-stage::after,
  .logo-stage .hero-logo,
  .draw path,
  .draw circle,
  .draw line,
  .draw .fill{
    animation: none !important;
    transition: none !important;
  }
  .fade-layer{transition:none !important}
}
