:root {
  --green: #123f2c;
  --green-deep: #08271b;
  --red: #8f211d;
  --red-bright: #b83228;
  --cream: #f4e8c5;
  --paper: #fff8e5;
  --ink: #18231d;
  --gold: #d7b65e;
  --line: rgba(244, 232, 197, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.25);
  color: white;
}
.nav {
  width: min(1180px, calc(100% - 2rem));
  min-height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: var(--cream); mix-blend-mode: screen; }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-family: "Songti TC", "Noto Serif TC", serif; font-size: 1.55rem; letter-spacing: .12em; }
.brand-copy small { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { text-decoration: none; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: #ffdf78; }
.lang { border: 1px solid rgba(255,255,255,.6); padding: .35rem .65rem; border-radius: 999px; font-size: .9rem; }

.hero {
  min-height: 760px;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  color: white;
  background: var(--green-deep) url('/assets/interior.jpg') center 57% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,28,19,.93) 0%, rgba(5,28,19,.72) 46%, rgba(5,28,19,.25) 100%),
              linear-gradient(0deg, rgba(5,28,19,.8), transparent 56%);
}
.hero-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 170px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}
.eyebrow { margin: 0 0 1rem; color: #ffde78; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3 { font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif; margin-top: 0; line-height: 1.15; }
h1 { max-width: 780px; margin-bottom: 1.35rem; font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: .04em; text-shadow: 0 4px 28px rgba(0,0,0,.45); }
.hero-lede { max-width: 650px; font-size: clamp(1.16rem, 2vw, 1.42rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.15rem; border: 2px solid var(--cream); text-decoration: none; font-weight: 900; }
.button-primary { background: var(--red-bright); border-color: var(--red-bright); color: white; }
.button-secondary { background: rgba(0,0,0,.18); color: white; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.late-card { padding: 1.5rem; background: rgba(244,232,197,.95); color: var(--green-deep); border: 3px double var(--green); box-shadow: 12px 12px 0 var(--red); }
.late-card .stamp { display: inline-block; margin-bottom: .7rem; padding: .15rem .55rem; background: var(--red); color: white; font-weight: 900; letter-spacing: .12em; }
.late-card h2 { margin-bottom: .6rem; font-size: 2rem; }
.late-card p { margin: .3rem 0; }

.section { padding: clamp(4rem, 8vw, 7rem) 1rem; }
.section-inner { width: min(1120px, 100%); margin: auto; }
.section-label { margin: 0 0 .8rem; color: var(--red); font-weight: 900; letter-spacing: .14em; }
.section h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); color: var(--green); margin-bottom: 1.2rem; }
.intro { max-width: 720px; font-size: 1.2rem; }
.menu-section { background: var(--paper); background-image: linear-gradient(rgba(18,63,44,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(18,63,44,.05) 1px, transparent 1px); background-size: 24px 24px; }
.menu-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.menu-poster { position: sticky; top: 1.25rem; margin: 0; border: 10px solid var(--green); outline: 3px solid var(--gold); box-shadow: 18px 18px 0 rgba(143,33,29,.18); }
.menu-poster img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.dish-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--green); }
.dish { min-height: 126px; padding: 1.15rem 1rem; border-bottom: 1px solid rgba(18,63,44,.3); }
.dish:nth-child(odd) { border-right: 1px solid rgba(18,63,44,.3); }
.dish-num { color: var(--red); font-weight: 900; }
.dish h3 { margin: .2rem 0; color: var(--green); font-size: 1.35rem; }
.dish p { margin: 0; color: #5a625c; font-size: .95rem; }
.set-note { margin-top: 1.4rem; padding: 1.2rem; background: var(--green); color: white; }
.set-note strong { color: #ffdf78; }

.night-section { background: var(--red); color: white; overflow: hidden; }
.night-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.night-section h2 { color: var(--cream); }
.night-sign { position: relative; padding: 2.25rem; background: var(--cream); color: var(--green-deep); border: 8px solid var(--green-deep); box-shadow: 16px 16px 0 rgba(0,0,0,.22); transform: rotate(1deg); }
.night-sign::before, .night-sign::after { content: "✦"; position: absolute; color: var(--red); font-size: 2rem; }
.night-sign::before { top: .5rem; left: .7rem; }
.night-sign::after { bottom: .5rem; right: .7rem; }
.night-sign strong { display: block; font-family: "Songti TC", serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; }

.visit-section { background: var(--green-deep); color: white; }
.visit-section h2 { color: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.address-card { padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.06); }
.address-card p { font-size: 1.18rem; }
.map-link { color: #ffdf78; font-weight: 900; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts strong { min-width: 6rem; color: #ffdf78; }
footer { padding: 2rem 1rem 6rem; text-align: center; background: #061c13; color: rgba(255,255,255,.72); }
.mobile-bar { display: none; }

/* Digital menu */
.menu-page { background: var(--paper); }
.menu-header { position: relative; background: var(--green-deep); }
.menu-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 1rem;
  color: var(--cream);
  background: var(--green);
  border-bottom: 8px solid var(--red);
}
.menu-hero-inner { width: min(1120px, 100%); margin: auto; }
.menu-hero h1 { margin: 0 0 1rem; font-size: clamp(3rem, 7vw, 6rem); text-shadow: none; }
.menu-hero p { max-width: 720px; margin: 0; font-size: 1.18rem; }
.menu-index {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: auto;
  background: var(--cream);
  border-bottom: 2px solid var(--green);
  scrollbar-width: thin;
}
.menu-index-inner { width: max-content; min-width: 100%; display: flex; justify-content: center; gap: .25rem; padding: .65rem 1rem; }
.menu-index a { white-space: nowrap; padding: .45rem .75rem; color: var(--green); font-weight: 800; text-decoration: none; }
.menu-index a:hover, .menu-index a:focus-visible { color: white; background: var(--red); }
.digital-menu { width: min(1120px, calc(100% - 2rem)); margin: auto; padding: 3rem 0 6rem; }
.digital-menu-note { margin: 0 0 2.5rem; padding: 1.1rem 1.25rem; color: white; background: var(--red); border-left: 8px solid var(--gold); }
.menu-group { scroll-margin-top: 76px; padding: 2.8rem 0; border-bottom: 3px double rgba(18,63,44,.32); }
.menu-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.menu-group h2 { margin: 0; color: var(--green); font-size: clamp(2rem, 4vw, 3.2rem); }
.menu-group-head span { color: var(--red); font-weight: 900; letter-spacing: .08em; }
.menu-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(18,63,44,.25); }
.menu-item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid rgba(18,63,44,.2); }
.menu-code { min-width: 2.6rem; color: var(--red); font-weight: 900; font-variant-numeric: tabular-nums; }
.menu-name { display: block; color: var(--ink); font-family: "Songti TC", "Noto Serif TC", serif; font-size: 1.24rem; font-weight: 800; line-height: 1.35; }
.menu-en { display: block; margin-top: .18rem; color: #5e675f; font-size: .9rem; line-height: 1.35; }
.menu-subnote { margin: 1rem 0 0; color: #536057; font-size: .95rem; }
.menu-back { display: inline-flex; margin-top: 2rem; color: var(--green); font-weight: 900; }

@media (max-width: 800px) {
  body { font-size: 17px; padding-bottom: 68px; }
  .nav { min-height: 78px; }
  .brand img { width: 52px; height: 52px; }
  .brand-copy strong { font-size: 1.25rem; }
  .brand-copy small { display: none; }
  .nav-links a:not(.lang) { display: none; }
  .hero { min-height: 720px; background-position: 58% center; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 140px 0 60px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .late-card { max-width: 420px; }
  .menu-layout, .night-grid, .visit-grid { grid-template-columns: 1fr; }
  .menu-poster { position: static; }
  .dish-list { grid-template-columns: 1fr; }
  .dish:nth-child(odd) { border-right: 0; }
  .menu-index-inner { justify-content: flex-start; }
  .menu-items { grid-template-columns: 1fr; }
  .menu-group-head { display: block; }
  .menu-group-head span { display: block; margin-top: .4rem; }
  .mobile-bar { position: fixed; display: grid; grid-template-columns: 1fr 1fr; inset: auto 0 0; z-index: 50; box-shadow: 0 -4px 20px rgba(0,0,0,.24); }
  .mobile-bar a { min-height: 64px; display: grid; place-items: center; background: var(--green); color: white; font-weight: 900; text-decoration: none; }
  .mobile-bar a:last-child { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
