
:root {
  --ink: #28221f;
  --muted: #756e67;
  --paper: #f7f3ea;
  --paper-dark: #eee8dc;
  --purple: #2b1550;
  --purple-soft: #6c5793;
  --gold: #b59b68;
  --line: rgba(58, 45, 35, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(173,151,111,.08), transparent 25rem),
    var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  min-height: 360px;
  padding: 24px max(5vw, 24px) 34px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(43,21,80,.98), rgba(63,35,98,.91)),
    url("images/greencurry.webp") center 42% / cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.21);
  pointer-events: none;
}
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  font-family: Georgia, serif; font-weight: 700;
}
.wordmark { margin: 0; font: italic 700 26px Georgia, serif; }
.tagline { margin: 2px 0 0; font: 9px/1.4 Georgia, serif; letter-spacing: .23em; opacity: .72; }
.hero-copy { position: relative; z-index: 1; max-width: 760px; margin: 62px auto 20px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: #d9c99f; font: 11px Georgia, serif; letter-spacing: .38em; }
.hero h1 { margin: 0; font: 400 clamp(54px, 10vw, 92px)/.9 Georgia, "Times New Roman", serif; letter-spacing: .14em; }
.hero-copy > p:last-child { margin: 22px 0 0; font-size: 14px; line-height: 1.85; letter-spacing: .08em; }
.hero-copy span { color: rgba(255,255,255,.72); font-family: Georgia, serif; }
.tax-note { position: relative; z-index: 1; margin: 42px 0 0; text-align: center; font-size: 10px; opacity: .62; }

.category-nav {
  position: sticky; top: 0; z-index: 20; padding: 10px 0;
  background: rgba(247,243,234,.94); backdrop-filter: blur(13px);
  border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(41,29,21,.05);
}
.category-nav > div {
  display: flex; gap: 8px; max-width: 1180px; margin: auto; padding: 0 max(4vw, 16px);
  overflow-x: auto; scrollbar-width: none;
}
.category-nav > div::-webkit-scrollbar { display: none; }
.category-nav a {
  flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; color: var(--ink);
  text-decoration: none; text-align: center; font-size: 12px; line-height: 1.15;
  border: 1px solid var(--line); background: rgba(255,255,255,.5);
}
.category-nav a:hover, .category-nav a:focus-visible { background: var(--purple); color: white; outline: none; }
.category-nav small { display: block; margin-top: 3px; font: 9px Georgia, serif; opacity: .66; }

.menu-shell { max-width: 1180px; margin: auto; padding: 54px max(4vw, 18px) 80px; }
.menu-section { margin: 0 0 76px; scroll-margin-top: 95px; }
.section-heading {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
  padding-bottom: 13px; border-bottom: 1px solid var(--gold);
}
.section-heading > span { color: var(--gold); font: italic 22px Georgia, serif; }
.section-heading h2 { margin: 0; font-size: clamp(21px, 3vw, 29px); font-weight: 500; letter-spacing: .08em; }
.section-heading p { margin: 2px 0 0; color: var(--purple-soft); font: 13px Georgia, serif; letter-spacing: .18em; text-transform: uppercase; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.menu-card {
  overflow: hidden; min-width: 0; background: rgba(255,255,255,.7);
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 8px 24px rgba(55,39,27,.045);
}
.menu-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-dark); }
.card-body { padding: 17px 18px 18px; }
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.title-row h3 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 650; }
.title-row strong { flex: 0 0 auto; color: var(--purple); font: 700 16px Georgia, serif; }
.en-name { margin: 4px 0 0; color: var(--purple-soft); font: 12px/1.3 Georgia, serif; letter-spacing: .025em; }
.jp-desc { margin: 14px 0 0; color: #514a44; font-size: 12px; line-height: 1.55; }
.en-desc { margin: 3px 0 0; color: var(--muted); font: 11px/1.55 Georgia, serif; }
.text-card .card-body { min-height: 173px; display: flex; flex-direction: column; }
.text-card .badges { margin-top: auto; }
.badges { display: flex; gap: 6px; min-height: 20px; margin-top: 12px; }
.badges span { padding: 3px 7px; border-radius: 2px; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.spicy { color: #9c3529; background: #f8e4df; }
.veg { color: #3c6a39; background: #e8f0e4; }

.notice { padding: 25px; border: 1px solid var(--gold); background: rgba(255,255,255,.45); text-align: center; }
.notice h2 { margin: 0 0 13px; font-size: 16px; }
.notice h2 span { display: block; margin-top: 4px; color: var(--purple-soft); font: 12px Georgia, serif; }
.notice p { margin: 4px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

footer { position: relative; padding: 54px 22px 70px; color: rgba(255,255,255,.78); background: var(--purple); text-align: center; }
.footer-brand { margin: 0 0 5px; color: white; font: italic 700 34px Georgia, serif; }
footer > p { margin: 5px 0; font: 12px Georgia, serif; letter-spacing: .09em; }
footer .small { margin-top: 24px; font: 10px/1.7 system-ui, sans-serif; opacity: .6; }
.back-top {
  position: absolute; right: 22px; top: -22px; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold);
  color: white; text-decoration: none; font-size: 20px; box-shadow: 0 5px 16px rgba(0,0,0,.15);
}

@media (max-width: 820px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero { min-height: 330px; padding-inline: 20px; }
  .hero-copy { margin-top: 58px; }
  .hero h1 { font-size: 54px; }
  .menu-shell { padding-top: 42px; }
  .menu-section { margin-bottom: 58px; }
  .menu-grid { grid-template-columns: 1fr; gap: 12px; }
  .menu-card { display: grid; grid-template-columns: 118px 1fr; }
  .menu-card.text-card { display: block; }
  .menu-card img { height: 100%; min-height: 150px; aspect-ratio: auto; }
  .card-body { padding: 15px; }
  .text-card .card-body { min-height: 0; }
  .title-row h3 { font-size: 14px; }
  .title-row strong { font-size: 15px; }
  .jp-desc { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
