@font-face {
  font-family: "Noto Sans KR"; font-weight: 400; font-display: swap;
  src: url("/fonts/noto-sans-kr-400.woff2") format("woff2"); unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3;
}
@font-face {
  font-family: "Noto Sans KR"; font-weight: 700; font-display: swap;
  src: url("/fonts/noto-sans-kr-700.woff2") format("woff2"); unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3;
}
:root {
  --paper: #f3ede3;
  --card: #faf7f1;
  --ink: #26302a;
  --muted: #3e463c;
  --line: #ddd5c7;
  --brand: #3d5338;
  --brand-ink: #f3ede3;
  --accent-bg: #cfdcc6;
  --accent-ink: #2c3d29;
  --warn: #a8322a;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.45; }
h1, h2, h3, p { margin: 0; }

.langs {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: flex-end; gap: .5rem;
  padding: .5rem 1rem;
  background: var(--brand);
}
.langs button {
  font: inherit; font-size: 14px; min-height: 2.5rem; min-width: 3rem; padding: 0 .75rem;
  border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: var(--brand-ink); cursor: pointer;
  transition: background .2s, transform .2s;
}
.langs button[aria-pressed=true] { background: var(--accent-bg); color: var(--accent-ink); }

.hero { background: var(--brand); color: var(--brand-ink); text-align: center; padding: 1.5rem 1rem 2.5rem; }
.kicker { letter-spacing: .3em; text-transform: uppercase; font-size: 12px; }
:lang(ko) .kicker { letter-spacing: 0; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: 48px; line-height: 1.1; margin: .5rem 0; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.tagline { font-size: 18px; }
.area { font-size: 14px; margin-top: .25rem; }

.tabs {
  position: sticky; top: 3.5rem; z-index: 9;
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  padding: .75rem max(1rem, (100% - 38rem) / 2);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.tabs a {
  flex: none; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background .2s, border-color .2s;
}
.tabs a[aria-current] { background: var(--accent-bg); color: var(--accent-ink); border-color: var(--accent-bg); }

main { max-width: 40rem; margin: auto; padding: 0 1rem 1.5rem; }
section, #info { scroll-margin-top: 7.5rem; }
section { padding-top: 1.5rem; }
.sec-head {
  display: flex; align-items: baseline; gap: .5rem;
  padding-bottom: .5rem; margin-bottom: .25rem;
  border-bottom: 1px solid var(--brand); box-shadow: 0 4px 0 -3px var(--brand);
}
h2 { color: var(--brand); text-transform: uppercase; font-size: 20px; letter-spacing: .02em; }
.sec-head span { color: var(--muted); font-size: 14px; }

.item {
  display: grid; grid-template-columns: 1fr auto; gap: .9rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.item:has(img) { grid-template-columns: 5.5rem 1fr auto; }
.item img { width: 5.5rem; height: auto; aspect-ratio: 1; border-radius: .6rem; background: var(--line); object-fit: cover; }
.item.off h3, .item.off .desc { color: var(--muted); }
.item.off h3 > span:last-child { text-decoration: line-through; }
.item.off .price { background: none; color: var(--muted); border: 1px solid var(--muted); }
.item h3 { font-size: 16px; }
.item h3 .ko { font-weight: 600; }
.desc { font-size: 14px; margin-top: .2rem; }
.allergens { font-size: 12px; color: var(--muted); margin-top: .3rem; }
.price {
  background: var(--accent-bg); color: var(--accent-ink);
  font-weight: 700; font-size: 14px; padding: .25rem .65rem; border-radius: 999px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.guide { background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: 1rem 1.25rem; margin: 1.25rem 0 .5rem; }
.guide h3 { font-size: 16px; color: var(--brand); margin-bottom: .5rem; }
.guide ol { margin: 0; padding-left: 1.25rem; font-size: 14px; }
.guide li + li { margin-top: .3rem; }

.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .6rem; }
.extras .sec-head { grid-column: 1 / -1; }
.extras .item {
  grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: .6rem;
}
.extras .item img { width: 100%; }

.note { font-size: 14px; color: var(--muted); margin-top: 1.25rem; }
.warning { font-size: 14px; color: var(--warn); margin-top: .5rem; }

footer { background: var(--brand); color: var(--brand-ink); padding: 1.5rem 1rem 2rem; }
footer > * { max-width: 38rem; margin-left: auto; margin-right: auto; }
footer p + p { margin-top: .75rem; }
footer a { color: inherit; }
footer .muted { color: #d5d0c4; font-size: 14px; }
.actions { display: flex; gap: .75rem; padding-top: .5rem; }
.btn {
  flex: 1; text-align: center; padding: .8rem; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--brand-ink); transition: transform .2s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn.primary { background: var(--accent-bg); color: var(--accent-ink); border-color: var(--accent-bg); }

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

@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
main { view-transition-name: menu; }
::view-transition-old(menu), ::view-transition-new(menu) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (min-width: 48rem) { .hero h1 { font-size: 64px; } }
