:root {
  --ink: #14110f;
  --ink-2: #1f1a17;
  --paper: #f6efe4;
  --paper-2: #ede3d3;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --gold: #e3a646;
  --muted: #8a7f73;
  --line: rgba(20, 17, 15, 0.12);
  --serif-jp: "Noto Serif JP", serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-family: var(--serif-jp);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-weight: 600;
  border: 2px solid var(--red);
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(246, 239, 228, 0.4); }
.btn--ghost:hover { background: rgba(246, 239, 228, 0.08); border-color: var(--paper); }
.btn--small { padding: 8px 18px; font-size: 0.9rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 17, 15, 0.92);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border-bottom: 1px solid rgba(246, 239, 228, 0.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--red);
  font-family: var(--serif-jp);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--paper);
}
.brand__name { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }

.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--gold); }

.nav__toggle { display: none; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 80% 30%, rgba(200, 16, 46, 0.25), transparent 50%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 88px 96px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 20px; max-width: 46ch; color: rgba(246, 239, 228, 0.75); font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.bowl { width: 100%; max-width: 440px; display: block; margin-inline: auto; }
.bowl__sun { fill: var(--red); opacity: 0.9; }
.bowl__steam path { fill: none; stroke: rgba(246, 239, 228, 0.5); stroke-width: 6; stroke-linecap: round; animation: steam 3s ease-in-out infinite; }
.bowl__steam path:nth-child(2) { animation-delay: 0.5s; }
.bowl__steam path:nth-child(3) { animation-delay: 1s; }
.bowl__chopstick { stroke: var(--gold); stroke-width: 7; stroke-linecap: round; }
.bowl__broth { fill: #d98b3a; }
.bowl__noodle { fill: none; stroke: #f5d48a; stroke-width: 7; stroke-linecap: round; }
.bowl__egg { fill: #fff8ea; }
.bowl__yolk { fill: #f2a516; }
.bowl__chashu { fill: #b5684a; stroke: #f0c7a8; stroke-width: 3; }
.bowl__nori { fill: #23302a; }
.bowl__body { fill: var(--ink-2); stroke: var(--paper); stroke-width: 4; }
.bowl__band { stroke: var(--red); stroke-width: 5; }
.bowl__kanji { font-family: var(--serif-jp); font-weight: 900; font-size: 52px; fill: var(--paper); text-anchor: middle; }

@keyframes steam {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(-8px); }
}

/* Sections */
.section { padding-block: 96px; }
.section__head { text-align: center; margin-bottom: 48px; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }

.about__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.about__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 24px; border-top: 3px solid var(--red); background: var(--paper-2); border-radius: 0 0 var(--radius) var(--radius); }
.feature__jp { font-family: var(--serif-jp); font-weight: 900; font-size: 2rem; color: var(--red); }
.feature h3 { font-size: 1.1rem; margin: 8px 0; }
.feature p { color: #4d453e; font-size: 0.95rem; }

/* Menu */
.menu { background: var(--ink); color: var(--paper); }
.menu-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.menu-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 239, 228, 0.2);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menu-tab__jp { font-family: var(--serif-jp); font-size: 0.75rem; color: var(--gold); }
.menu-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); }
.menu-tab[aria-selected="true"] .menu-tab__jp { color: var(--paper); }

.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 56px; }
.dish { padding-bottom: 20px; border-bottom: 1px dashed rgba(246, 239, 228, 0.15); }
.dish__head { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font-size: 1.1rem; }
.dish__dots { flex: 1; border-bottom: 2px dotted rgba(246, 239, 228, 0.25); transform: translateY(-4px); }
.dish__price { font-weight: 700; color: var(--gold); white-space: nowrap; }
.dish__jp { font-family: var(--serif-jp); color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.dish__desc { color: rgba(246, 239, 228, 0.7); font-size: 0.95rem; margin-top: 6px; }
.dish__tag { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(200, 16, 46, 0.2); color: #ff8b9c; font-size: 0.8rem; font-weight: 600; }

.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed rgba(246, 239, 228, 0.25);
  border-radius: var(--radius);
}
.menu-empty__jp { font-family: var(--serif-jp); font-weight: 900; font-size: 2.6rem; color: var(--red); letter-spacing: 0.1em; }
.menu-empty__title { font-size: 1.3rem; font-weight: 700; margin-top: 8px; }
.menu-empty__text { color: rgba(246, 239, 228, 0.7); margin: 8px auto 0; max-width: 44ch; }

/* Branches */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.branch {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.branch:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(20, 17, 15, 0.35); }
.branch::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.branch__no { font-family: var(--serif-jp); font-weight: 900; font-size: 2rem; color: var(--paper-2); line-height: 1; }
.branch__name { font-size: 1.3rem; margin-top: 6px; }
.branch__info { margin: 18px 0 20px; display: grid; gap: 2px; font-size: 0.92rem; }
.branch__info dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
.branch__info dd { margin: 0; font-weight: 500; }
.branch__info dd.is-pending { color: var(--muted); font-style: italic; font-weight: 400; }
.branch__map { margin-top: auto; font-weight: 600; color: var(--red); }
.branch__map:hover { color: var(--red-dark); }

/* Footer */
.footer { background: var(--ink); color: rgba(246, 239, 228, 0.7); padding-block: 48px; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 12px; }
.footer .brand { color: var(--paper); }
.footer__email { color: var(--gold); font-weight: 600; }
.footer__email:hover { text-decoration: underline; }
.footer__copy { font-size: 0.85rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: grid;
    gap: 6px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav__toggle span { display: block; width: 24px; height: 2px; background: var(--paper); transition: transform 0.2s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--ink);
    border-bottom: 1px solid rgba(246, 239, 228, 0.08);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(246, 239, 228, 0.08); }
  .nav__links .btn { margin-top: 16px; width: 100%; }

  .hero__inner { grid-template-columns: 1fr; padding-block: 56px 64px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__art { order: -1; max-width: 280px; margin-inline: auto; }

  .section { padding-block: 72px; }
  .about__features { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .branch-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bowl__steam path { animation: none; }
}
