/* ============================================================
   TANPOPO RAMEN – inner pages (Menu / Ramen Shop / About us / News)
   Loads AFTER modern-home5.css and re-uses its colours, header,
   footer, buttons and the TANPOPO RAMEN wallpaper.
   ============================================================ */

/* current page in the header */
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav a[aria-current="page"] { color: var(--yellow); }

/* ---------- Page hero (compact version of the home hero) ---------- */
.page-hero {
  display: flex;
  align-items: center;
  min-height: clamp(250px, 25vw, 330px);
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  align-self: center;
}
.page-hero__copy { max-width: 700px; }
.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(50px, 7.4vw, 96px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(87, 5, 7, 0.45);
}
.page-hero__lead {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
  color: rgba(255, 247, 223, 0.92);
}
.page-hero__mascot {
  position: absolute;
  z-index: 1;
  right: max(20px, calc((100% - var(--max)) / 2));
  bottom: -6px;
  width: clamp(120px, 15vw, 210px);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(45, 8, 6, 0.35));
  transform-origin: 50% 100%;
  animation: mascot-wave 4.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__mascot { animation: none; }
}

/* ---------- Generic page body ---------- */
.page-body {
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 110px);
  color: var(--ink);
  background: var(--cream);
}
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.wrap--narrow { width: min(calc(100% - 40px), 900px); }

.sec-title {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--red-dark);
  text-wrap: balance;
}
.sec-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--red);
}
.prose p {
  margin: 0 0 1.1em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}
.prose p:last-child { margin-bottom: 0; }

/* framed photo, same "sticker" language as the cards */
.photo {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--red-dark);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 5px 0 var(--red-dark);
}
.photo img { display: block; width: 100%; height: auto; }

/* ---------- MENU ---------- */
.menu-nav {
  position: sticky;
  top: 76px;
  z-index: 900;
  background: rgba(245, 234, 208, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red-dark);
}
.menu-nav__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-nav__inner::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 9px 18px;
  border: 2px solid var(--red-dark);
  border-radius: 999px;
  background: var(--white);
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip:hover,
.chip.is-active { background: var(--red); color: var(--cream); }
.menu-nav .button {
  flex-shrink: 0;
  min-height: 42px;
  margin-left: auto;
  padding: 0 18px;
  font-size: 12px;
}

.menu-group { scroll-margin-top: 150px; }
.menu-group + .menu-group { margin-top: clamp(56px, 7vw, 96px); }
.menu-group__title {
  margin: 0 0 clamp(26px, 3vw, 40px);
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
}
.menu-cat {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  scroll-margin-top: 150px;
}
.menu-cat + .menu-cat {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 2px dashed rgba(87, 5, 7, 0.22);
}
.menu-cat__head { position: sticky; top: 160px; }
.menu-cat__title {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--red-dark);
  overflow-wrap: anywhere;
}
.menu-cat__sub {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.menu-group > .dish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--red-dark);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 5px 0 var(--red-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: 0 9px 0 var(--red-dark);
}
.dish__img {
  position: relative;
  aspect-ratio: 6 / 5;
  background: var(--cream-2);
  overflow: hidden;
}
.dish__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dish:hover .dish__img img { transform: scale(1.04); }
.dish__code {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 3px 0 var(--red-dark);
}
.dish__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.dish__name {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--red-dark);
}
.dish__jp {
  margin: 4px 0 0;
  font-family: 'Noto Sans JP', var(--body);
  font-size: 14px;
  color: var(--muted);
}
.dish__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.dish__price {
  margin: auto 0 0;
  padding-top: 14px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
}
.dish__price .sym { font-size: 0.62em; margin-right: 1px; vertical-align: 0.1em; }
.dish__price small { font-size: 0.62em; vertical-align: 0.28em; }

/* extra noodle strip */
.extra-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 20px 26px;
  border-radius: 22px;
  background: var(--red-dark);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.04em;
}
.extra-strip b { font-weight: 400; color: var(--gold); }
.extra-strip .sym { font-size: 0.62em; margin-right: 1px; vertical-align: 0.1em; }
.extra-strip i { font-style: normal; opacity: 0.5; }

/* leader rows (topping / drink lists) */
.list-card {
  padding: clamp(22px, 3vw, 34px);
  border: 2px solid var(--red-dark);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 5px 0 var(--red-dark);
}
.topping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 56px);
}
.pill {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red-dark);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.06em;
}
.rows { margin: 0; padding: 0; list-style: none; }
.rows li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
}
.rows .nm {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.rows .nm small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.rows .dots {
  flex: 1;
  min-width: 14px;
  border-bottom: 2px dotted rgba(87, 5, 7, 0.28);
  transform: translateY(-4px);
}
.rows .sz {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.rows .pr {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--red);
}
.rows .pr .sym { font-size: 0.62em; margin-right: 1px; vertical-align: 0.1em; }
.rows .pr small { font-size: 0.68em; vertical-align: 0.26em; }

/* drinks */
.bottles {
  --drink-scale: 0.27;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 26px 20px 22px;
  border-radius: 22px;
  background: var(--cream-2);
}
.bottles img {
  display: block;
  width: auto;
  height: calc(var(--h) * var(--drink-scale) * 1px);
  filter: drop-shadow(0 8px 8px rgba(51, 4, 5, 0.25));
  transition: transform 0.25s ease;
}
.bottles img:hover { transform: translateY(-6px) rotate(-2deg); }
.drink-grid {
  column-count: 2;
  column-gap: 22px;
}
.drink-grid .list-card {
  break-inside: avoid;
  margin-bottom: 22px;
}
.drink-card__title {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.03em;
  color: var(--red-dark);
}
.drink-card__title small {
  display: block;
  margin-top: 4px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.drink-card .rows li.is-sub .nm { visibility: hidden; }

.menu-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.menu-cta__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- SHOP ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.split--flip { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--flip .split__media { order: -1; }
.split + .split,
.banner + .split,
.split + .banner { margin-top: clamp(48px, 6vw, 88px); }
.split__text .sec-title { margin-bottom: 22px; }
.banner { margin-top: clamp(32px, 4vw, 52px); }
.banner .photo { border-radius: 14px; }
.tilt-l { transform: rotate(-1.4deg); }
.tilt-r { transform: rotate(1.4deg); }

.visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(56px, 7vw, 96px);
}
.info-box {
  padding: clamp(24px, 3vw, 36px);
  border: 2px solid var(--red-dark);
  border-radius: 12px;
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 5px 0 var(--red-dark);
}
.info-box h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.info-box dl { margin: 0; }
.info-box dt {
  margin: 18px 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.info-box dt:first-child { margin-top: 0; }
.info-box dd { margin: 0; font-size: 17px; line-height: 1.7; }
.info-box a { color: var(--cream); text-decoration-color: rgba(255, 247, 223, 0.5); }
.info-box a:hover { color: var(--yellow); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags span {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 247, 223, 0.14);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.map-box {
  min-height: 340px;
  overflow: hidden;
  border: 2px solid var(--red-dark);
  border-radius: 12px;
  background: var(--cream-2);
  box-shadow: 0 5px 0 var(--red-dark);
}
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}
.about .sec-title { margin-bottom: 24px; }
.polaroids { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.polaroid {
  margin: 0;
  padding: 10px 10px 10px;
  border: 2px solid var(--red-dark);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--red-dark);
}
.polaroid img { display: block; width: 100%; height: auto; border-radius: 6px; }
.polaroid:nth-child(1) { transform: rotate(2.2deg); }
.polaroid:nth-child(2) { transform: rotate(-2deg); margin-left: -10px; }
.pull {
  margin: clamp(26px, 3vw, 40px) 0 0;
  padding: 22px 26px;
  border-radius: 12px;
  background: var(--red-dark);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.pull b { font-weight: 400; color: var(--gold); }

/* ---------- NEWS ---------- */
.posts { display: grid; gap: clamp(28px, 4vw, 44px); }
.post {
  overflow: hidden;
  border: 2px solid var(--red-dark);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--red-dark);
}
.post__img img { display: block; width: 100%; height: auto; }
.post__body { padding: clamp(24px, 4vw, 46px); }
.post__title {
  margin: 0 0 20px;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--red-dark);
  text-wrap: balance;
}
.post__body .prose p { font-size: 17px; }
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 2px solid var(--red-dark);
  border-radius: 999px;
  background: var(--cream);
  font-size: 15px;
  font-weight: 700;
  color: var(--red-dark);
}
.checks li::before { content: '\2726'; color: var(--red); }
.post__cta { margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .menu-nav { top: 76px; }
  .menu-cat { grid-template-columns: 1fr; gap: 18px; }
  .menu-cat__head { position: static; }
  .dish-grid,
  .menu-group > .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-cat .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split,
  .split--flip,
  .visit-panel,
  .about { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .polaroids { flex-direction: row; justify-content: center; }
  .polaroid { width: min(46%, 240px); }
  .polaroid:nth-child(2) { margin-left: 0; }
  .map-box, .map-box iframe { min-height: 320px; }
  .tilt-l, .tilt-r { transform: none; }
}
@media (max-width: 720px) {
  .topping-grid { grid-template-columns: 1fr; }
  .drink-grid { column-count: 1; }
}
@media (max-width: 640px) {
  .menu-nav { top: 66px; }
  .menu-group,
  .menu-cat { scroll-margin-top: 128px; }
  .wrap,
  .wrap--narrow,
  .page-hero__inner { width: min(calc(100% - 32px), var(--max)); }
  .page-hero__mascot { width: 96px; right: 12px; }
  .dish-grid { gap: 14px; }
  .dish__body { padding: 12px 12px 14px; }
  .dish__name { font-size: 15px; }
  .dish__jp { font-size: 12px; }
  .dish__price { font-size: 24px; padding-top: 10px; }
  .dish__code { left: 8px; top: 8px; font-size: 13px; min-width: 36px; padding: 4px 8px; }
  .dish:hover { transform: none; }
  .menu-nav .button { display: none; }
}
@media (max-width: 520px) {
  .page-hero__mascot { display: none; }
}

/* ---------- $ sign font (menu prices) ----------
   Change --sym-font to try another font. See /en/font-test-dollar.html */
:root { --sym-font: 'Fredoka', 'Noto Sans JP', var(--body); }
.sym {
  font-family: var(--sym-font);
  font-weight: 700;
}

/* ---------- Illustrations ---------- */
.menu-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.menu-group__head .menu-group__title { margin-bottom: 0; }
.menu-group__chef {
  flex-shrink: 0;
  width: clamp(84px, 9vw, 130px);
  height: auto;
  margin-bottom: -6px;
  transform-origin: 50% 100%;
  animation: chef-sway 4.6s ease-in-out infinite;
}
@keyframes chef-sway {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg) translateY(-3px); }
}
.menu-cta__chef {
  display: block;
  width: min(250px, 62vw);
  height: auto;
  margin: 0 auto 14px;
  animation: chef-fly 5s ease-in-out infinite;
}
@keyframes chef-fly {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(1.5deg) translateY(-8px); }
}
.pull { position: relative; margin-top: clamp(180px, 15vw, 230px); }
.pull__chef {
  position: absolute;
  right: clamp(14px, 4vw, 56px);
  bottom: calc(100% - 22px);
  width: clamp(130px, 14vw, 190px);
  height: auto;
  animation: chef-fly 5s ease-in-out infinite;
}
@media (max-width: 720px) {
  .pull { margin-top: 190px; }
  .pull__chef { right: 50%; margin-right: -75px; width: 150px; }
  .menu-group__chef { width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-group__chef,
  .menu-cta__chef,
  .pull__chef { animation: none; }
}

/* every Luckiest Guy heading is set in capitals */
.info-box h2,
.mobile-nav a,
.dish__code,
.pill,
.drink-card__title,
.extra-strip,
.pull,
.menu-group__title,
.menu-cat__title,
.sec-title,
.post__title,
.page-hero h1 { text-transform: uppercase; }

@media (max-width: 640px) { .bottles { --drink-scale: 0.2; gap: 8px; padding: 20px 12px 18px; } }

/* sub-headings inside a drink list (Japanese / New Zealand Craft Beer) */
.rows li.is-head { display: block; padding: 18px 0 4px; }
.rows li.is-head + li { padding-top: 4px; }
.rows .sub-head {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- Bigger menu photos ----------
   Applied by class "photos-xl" on the menu page's .page-body.
   To go back to the smaller photos: delete "photos-xl" from that <div class="page-body photos-xl">. */
.photos-xl .menu-cat { grid-template-columns: 1fr; gap: 22px; }
.photos-xl .menu-cat__head {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin: 0;
}
.photos-xl .menu-cat__sub { margin: 0; }
.photos-xl .dish-grid,
.photos-xl .menu-group > .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.photos-xl .dish__name { font-size: 20px; }
@media (max-width: 980px) {
  .photos-xl .dish-grid,
  .photos-xl .menu-group > .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 640px) {
  .photos-xl .dish-grid,
  .photos-xl .menu-group > .dish-grid { gap: 14px; }
  .photos-xl .dish__name { font-size: 15px; }
}

/* ---------- News posts without a photo ---------- */
.post__art {
  --wall-bg: #bd1408;
  --wall-fg: #cc2a14;
  --wall-shade: 128, 12, 5;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(200px, 24vw, 270px);
}
.post__art.hero--text::after {
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--wall-shade), 0.5), transparent 68%);
}
.post__chef {
  position: relative;
  z-index: 1;
  height: clamp(170px, 20vw, 230px);
  width: auto;
  animation: chef-fly 5s ease-in-out infinite;
}
.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.post__date { color: var(--muted); }
.post__tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red-dark);
}
.post { scroll-margin-top: 100px; }
@media (prefers-reduced-motion: reduce) { .post__chef { animation: none; } }

/* ---------- News: photo / picture on the red wallpaper ---------- */
.post__pic {
  position: relative;
  z-index: 1;
  width: auto;
  filter: drop-shadow(0 12px 16px rgba(45, 8, 6, 0.4));
}
.post__pic.is-round { height: clamp(150px, 19vw, 210px); border-radius: 50%; }
.post__pic.is-egg { height: clamp(150px, 19vw, 210px); }
/* keep the animated picture from being dropped by some browsers */
.post__chef { transform: translateZ(0); will-change: transform; backface-visibility: hidden; }

/* ---------- News background options (comparison pages) ----------
   A: cream. B: dark brown. C: plain cream, no wallpaper pattern. */
.newsbg-a .post__art.hero--text {
  --wall-bg: #f5ead0;
  --wall-fg: #e9d9ae;
  --wall-shade: 245, 234, 208;
}
.newsbg-b .post__art.hero--text {
  --wall-bg: #2a1512;
  --wall-fg: #3d211d;
  --wall-shade: 15, 8, 6;
}
.newsbg-c .post__art.hero--text {
  --wall-bg: #f5ead0;
  --wall-shade: 245, 234, 208;
}
.newsbg-c .post__art.hero--text::before { display: none; }

/* ---------- Menu code badges (T1, T2 ...) ----------
   Colours are variables so they are easy to change (see /en/badge-test.html for options). */
.dish__code {
  --badge-bg: #b4070b;
  --badge-fg: #fff7df;
  --badge-line: #fff7df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  left: 14px;
  top: 14px;
  min-width: 46px;
  min-height: 30px;
  padding: 4px 12px;
  border: 2px solid var(--badge-line);
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
}
@media (max-width: 640px) {
  .dish__code { left: 8px; top: 8px; min-width: 34px; min-height: 24px; padding: 5px 7px 1px; font-size: 14px; }
}

/* thick noodles row under the two topping columns */
.topping-extra {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 2px dashed rgba(87, 5, 7, 0.22);
}
.topping-grid { row-gap: 6px; }

/* ---------- Spicy option (free) banner ---------- */
.spicy-banner {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 18px 24px;
  border-radius: 18px;
  background: var(--red);
  color: var(--cream);
}
.spicy-banner__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spicy-banner__title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.spicy-banner__title i { color: var(--gold); }
.spicy-banner__title b {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 2px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--red-dark);
  font-weight: 400;
  transform: rotate(-3deg);
}
@media (max-width: 480px) {
  .spicy-banner__title b { transform: none; }
}
.spicy-banner__levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spicy-banner__levels li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid rgba(255, 247, 223, 0.55);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.spicy-banner__levels .flames { color: var(--gold); font-size: 13px; display: inline-flex; gap: 1px; }
@media (max-width: 720px) {
  .spicy-banner { padding: 16px 16px; }
  .spicy-banner__levels li { font-size: 13px; padding: 7px 12px; }
}

/* option: short gold bar under the section titles (add class "titles-gold" to .page-body) */
.titles-gold .menu-group__title::after {
  content: '';
  display: block;
  width: 72px;
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--gold);
}

/* ---------- Option: section titles as deep-red bands (class "titles-band" on .page-body) ---------- */
.titles-band .menu-group__title {
  display: block;
  padding: 14px 26px 12px;
  border-radius: 18px;
  background: var(--red-dark);
  color: var(--cream);
}
.titles-band .menu-group__title::after { display: none; }
.titles-band .menu-group__head { align-items: center; }
.titles-band .menu-group__head .menu-group__title { flex: 1; }
@media (max-width: 640px) { .titles-band .menu-group__title { padding: 12px 18px 10px; border-radius: 14px; } }

/* badge option D: red + cream text + cream line (class "badge-d" on .page-body) */
.badge-d .dish__code {
  --badge-bg: #b4070b;
  --badge-fg: #fff7df;
  --badge-line: #fff7df;
}
/* badge option C: cream + red text + red line (class "badge-c" on .page-body) */
.badge-c .dish__code {
  --badge-bg: #fff7df;
  --badge-fg: #a3080b;
  --badge-line: #a3080b;
}
/* badge option E: muted gold + deep-red text (class "badge-e" on .page-body) */
.badge-e .dish__code {
  --badge-bg: #e6c674;
  --badge-fg: #570507;
  --badge-line: #570507;
}

/* =========================================================
   DARK LOOK for the menu page (class "look-dark" on <body>)
   Corners a little softer than square, offset shadows and tilted badges kept.
   ========================================================= */
.look-dark {
  --sym-font: 'Baloo 2', 'Noto Sans JP', var(--body);
  --dark-line: #4a2b25;   /* border + shadow of the cards on the dark page (muted warm brown) */
}
.look-dark .page-body { background: #1a1210; color: var(--cream); }
.look-dark .menu-nav { background: rgba(26, 18, 16, 0.96); border-bottom: 1px solid rgba(255, 247, 223, 0.25); }
.look-dark .chip { background: transparent; color: var(--cream); border-color: rgba(255, 247, 223, 0.5); }
.look-dark .chip:hover,
.look-dark .chip.is-active { background: var(--red); border-color: var(--red); }

/* titles */
.look-dark .menu-group__title { color: #e63a26; }
.look-dark .menu-cat__title { color: var(--cream); }
.look-dark .menu-cat__sub { color: rgba(255, 247, 223, 0.7); }
.look-dark .menu-cat + .menu-cat { border-top-color: rgba(255, 247, 223, 0.18); }

/* cards: moderate corners, offset shadow in a visible deep red */
.look-dark .dish,
.look-dark .list-card,
.look-dark .bottles { border-radius: 10px; }
.look-dark .dish,
.look-dark .list-card {
  border: 2px solid var(--dark-line);
  box-shadow: 0 5px 0 #000;
}
.look-dark .dish:hover { box-shadow: 0 9px 0 #000; }
.look-dark .spicy-banner,
.look-dark .extra-strip { border-radius: 8px; }
.look-dark .extra-strip { background: #2a1512; border: 2px solid var(--dark-line); }
.look-dark .spicy-banner__levels li { border-radius: 6px; }
.look-dark .spicy-banner__title b { border-radius: 6px; }

/* badges: slightly rounded rectangle, still tilted
   colour E: muted gold + deep-red text (dark background only) */
.look-dark .dish__code {
  border-radius: 6px;
  --badge-bg: #e6c674;
  --badge-fg: #570507;
  --badge-line: #570507;
}

/* buttons */
.look-dark .chip,
.look-dark .button { border-radius: 8px; }

/* text on the white cards: near-black instead of brown */
.look-dark .dish__name,
.look-dark .drink-card__title,
.look-dark .list-card .nm { color: #1a1210; }
.look-dark .dish__jp,
.look-dark .rows .nm small,
.look-dark .drink-card__title small { color: #5b524d; }

/* ---------- Menu page shapes (cream and dark versions) ---------- */
.dish,
.list-card,
.bottles { border-radius: 10px; }
.spicy-banner,
.extra-strip { border-radius: 8px; }
.spicy-banner__levels li,
.spicy-banner__title b { border-radius: 6px; }
.dish__code { border-radius: 6px; }
.chip,
.menu-nav .button,
.menu-cta .button { border-radius: 8px; }
