:root {
  --ink: #050504;
  --black: #050504;
  --soft-black: #050504;
  --paper: #ffffff;
  --paper-2: #ffffff;
  --muted: #ffffff;
  --line: rgba(243, 238, 229, 0);
  --line-strong: rgba(243, 238, 229, .28);
  --red: #a7191d;
  --gold: #c8a96b;
  --max: 1440px;
  --mobile-header-offset: 0px;
  --safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  color: var(--paper);
}

body {
  position: relative;
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  background: var(--black);
  color: var(--paper);
  letter-spacing: 0;
  padding-left: 226px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
    url("assets/images/ryoto-menu-texture.jpg") center top / cover no-repeat;
}

main,
footer {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: 226px;
  background: var(--black);
  border-right: 0;
  backdrop-filter: blur(18px);
}

.nav {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-items: start;
  justify-items: start;
  gap: clamp(16px, 3vh, 32px);
  padding: clamp(10px, calc(7vh - 30px), 48px) 28px clamp(34px, 5vh, 56px);
}

.brand {
  justify-self: center;
  width: 100%;
}

.brand img {
  display: block;
  width: 92px;
  height: auto;
  margin: 0 auto;
}

nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  color: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Two-action cluster: ordering + reservations. Stacked in the vertical
   sidebar on desktop (there's no room for them side by side in a
   192px-wide column); the mobile override below turns this into a
   horizontal pair spanning the full header width instead. */
.header-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Mobile-only header pieces (hamburger + inline drawer), same system as
   menu-para-llevar.html. Hidden on desktop — the sidebar already carries
   this navigation there. */
.mobile-menu-toggle,
.mobile-drawer {
  display: none;
}

.reserve,
.order-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  min-width: 112px;
}

.reserve {
  border: 1px solid rgba(243,238,229,.34);
  color: var(--paper);
  background: rgba(243,238,229,.04);
}

/* Same shape as "Reservar" — red is the only signal that distinguishes
   "build an order" from "book a table". */
.order-cta {
  border: 1px solid var(--red);
  color: var(--red);
  background: rgba(167,25,29,.08);
}

.header-actions .order-cta,
.header-actions .reserve {
  width: 100%;
}

.reserve,
.order-cta {
  font-family: inherit;
  text-transform: none;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.reserve:hover {
  color: var(--paper);
  border-color: rgba(167,25,29,.92);
  background: rgba(167,25,29,.12);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(36px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.hero-intro {
  display: none;
}

.eyebrow {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .36em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(64px, 8vw, 138px);
  line-height: .86;
}

.hero-copy {
  max-width: 610px;
  margin: 34px 0 0;
  color: var(--paper-2);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.9;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--paper);
  background: rgba(243,238,229,.02);
  backdrop-filter: blur(10px);
}

.button.primary {
  border-color: rgba(167,25,29,.92);
  background: rgba(167,25,29,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.mark-stage {
  position: relative;
  width: 100%;
  min-height: calc(100vh - clamp(72px, 8vw, 132px));
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.mark-stage::before,
.mark-stage::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,238,229,.28), transparent);
}

.mark-stage::before { top: 8%; }
.mark-stage::after { bottom: 8%; }

.hero-mark {
  width: min(94%, 1120px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.42));
}

.section {
  padding: clamp(66px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  margin-bottom: 58px;
}

.section-kicker {
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(46px, 6vw, 96px);
  line-height: .95;
}

.section-head-copy {
  max-width: 620px;
  margin: 0;
  color: var(--paper-2);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.9;
  font-weight: 300;
}


.menu-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin-top: 0;
}

.menu-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  transition: background-color .16s ease, color .16s ease;
}

.menu-tab::before {
  display: none;
}

.menu-tab.is-active {
  background: rgba(255, 255, 255, .055);
  color: var(--paper);
}

.side-categories {
  align-self: stretch;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 8px;
  padding-right: 0;
  gap: clamp(9px, 1.22vh, 14px);
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.side-categories::-webkit-scrollbar {
  display: none;
}

.side-categories a {
  position: relative;
  width: fit-content;
  color: var(--paper-2);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.25;
  opacity: .68;
}

.side-categories a.sidebar-group-start {
  margin-top: 0;
  padding-top: 7px;
}

.side-categories a.sidebar-group-start::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: 1px;
  background: rgba(243, 238, 229, .11);
}

.side-categories a.is-active {
  color: var(--gold);
  opacity: 1;
}

.side-categories a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -6px;
  width: min(100%, 78px);
  height: 1px;
  background: var(--red);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category-toggle-mark {
    transition: none !important;
  }
}

.menu-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.category-toggle {
  display: none;
}

.category-panel {
  display: contents;
}

.category-panel[hidden] {
  display: none;
}

/* Category composition mirrors menu-para-llevar.html (the visual
   reference): lateral 270px strip + content at >=981px, a single stacked
   column below that. Same breakpoint (980px) as the takeout page. */
.category {
  position: relative;
  padding: 58px 0 0;
  background: transparent;
  scroll-margin-top: calc(var(--mobile-header-offset, 0px) + 8px);
}

@media (min-width: 981px) {
  .category {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
  }

  .category-title {
    padding-right: 28px;
    border-right: 1px solid var(--line);
  }

  .menu-list {
    margin-top: 0;
  }
}

/* Editorial section divider: one hairline per category transition, in the
   same red as the active sidebar indicator — same meaning on every
   breakpoint ("a new category starts here"), only the spacing adapts.
   Reusable at the component level (adjacent-sibling selector), so it
   never needs to be hardcoded per category and keeps working if
   categories are reordered, added or removed. */
.category + .category {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--red);
}

.category-title {
  position: relative;
  display: block;
  color: var(--paper);
  scroll-margin-top: calc(var(--mobile-header-offset, 0px) + 8px);
}

.category-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.category-seal {
  flex: 0 0 auto;
  width: 156px;
  height: auto;
  object-fit: contain;
  transform: none;
}

.category-name {
  display: block;
  margin: .83em 0;
  font-family: "Hina Mincho", "Montserrat", serif;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--gold);
}

/* Long parenthetical in a category name: shrunk on desktop so it stays
   inside the 270px title column instead of running into the products. */
@media (min-width: 981px) {
  .category-name-note { font-size: .72em; }
}

.category-desc {
  margin: 18px 0 0;
  max-width: 240px;
  color: var(--paper-2);
  font-family: "Dosis", "Murecho", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
  opacity: .78;
}

.category-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  max-width: 860px;
}

.category-shared-copy {
  margin: 18px 0 0;
  max-width: 240px;
  color: var(--paper-2);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
  opacity: .78;
}

.category-modes-row {
  margin: 0;
  color: var(--paper-2);
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 300;
  opacity: .78;
}

.category-modes-row b {
  font-weight: 500;
  color: var(--paper);
  opacity: 1;
}

.category-modes-row .mode-icon {
  margin-right: 6px;
}

@media (min-width: 981px) {
  .category-modes {
    display: grid;
    gap: 14px;
    max-width: 240px;
  }
}

.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dish {
  min-height: 138px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-content: start;
}

.dish:nth-child(2n) { border-right: 0; }
.dish h3 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: .02em;
}

.dish p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
}

.price {
  color: #ffffff;
  font-size: 15px;
  white-space: nowrap;
}



.menu-page {
  padding-top: clamp(70px, 9vw, 126px);
  padding-bottom: clamp(28px, 4vw, 56px);
  border-bottom: 0;
}

@media (min-width: 981px) {
  main {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .menu-page {
    padding-top: clamp(42px, 5.5vw, 78px);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .menu-page .section-head {
    display: none;
  }

  .menu-page .full-menu {
    margin-bottom: 40px;
  }

  .menu-page .menu-disclaimer {
    margin-top: auto;
  }
}

.full-menu {
  background: transparent;
  gap: 0;
}

.ocr-category {
  border-top: 0;
  background: transparent;
}

.ocr-category:last-child {
  border-bottom: 1px solid var(--line);
}

.ocr-menu {
  padding: 0;
}

.ocr-menu pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--paper-2);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 300;
  letter-spacing: .015em;
}

.ocr-menu pre.is-structured {
  display: none;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

/* Product card system mirrors menu-para-llevar.html (.item.item-simple):
   name left, price right on the first row; description and quantity
   full width underneath. */
.menu-item {
  width: 100%;
  max-width: 440px;
  padding: 30px clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-content: start;
  align-items: start;
  position: relative;
}

@media (min-width: 981px) {
  .menu-item {
    padding-top: 0;
  }
}

.menu-item:nth-child(2n) {
  border-right: 0;
}

.menu-name {
  order: 1;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--paper);
  font-family: "Hina Mincho", "Montserrat", serif;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 450;
}

.menu-name small {
  display: block;
  margin-top: 5px;
  color: var(--paper-2);
  font-size: .62em;
  line-height: 1.25;
  font-weight: 400;
  opacity: .72;
}

.menu-meta {
  order: 3;
  grid-column: 1 / -1;
  margin-top: 6px;
  color: var(--paper-2);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 400;
  opacity: .66;
}

.menu-meta span {
  white-space: nowrap;
}

.menu-price {
  order: 2;
  grid-column: 2;
  grid-row: 1;
  min-width: max-content;
  color: #ffffff;
  font-family: "Dosis", "Murecho", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: right;
  padding-top: 0;
  font-weight: 400;
  letter-spacing: .02em;
  opacity: .92;
  justify-self: end;
}

.menu-price.wrap {
  white-space: nowrap;
  max-width: none;
}

/* Teppanyaki: mode legend explains labels once; product prices use icon + price. */
.menu-price.dual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  white-space: normal;
  max-width: none;
}

.price-mode {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--paper);
  white-space: nowrap;
  letter-spacing: .02em;
}

.price-mode b {
  font-weight: 600;
  color: var(--paper);
  margin-left: 1px;
}

.mode-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-block;
  color: var(--red);
  background: currentColor;
  line-height: 1;
  vertical-align: -5px;
}

.mode-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ryoto-flame-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.2 21c-4 0-7-2.7-7-6.5 0-2.6 1.5-4.6 3.7-6.7.5 1.8 1.4 3 2.6 3.7-.2-3.1 1.1-5.8 4-8.5.4 3.2 1.7 5.1 3 6.8 1.1 1.5 2.1 2.9 2.1 4.8 0 3.7-3 6.4-8.4 6.4Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M12.1 18.2c-1.5 0-2.7-1-2.7-2.5 0-1 .6-1.8 1.4-2.6.3.8.8 1.3 1.5 1.6-.1-1.3.5-2.4 1.8-3.6.2 1.3.7 2.1 1.3 2.8.5.6.9 1.2.9 1.9 0 1.4-1.1 2.4-4.2 2.4Z' fill='none' stroke='black' stroke-width='1.35' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.2 21c-4 0-7-2.7-7-6.5 0-2.6 1.5-4.6 3.7-6.7.5 1.8 1.4 3 2.6 3.7-.2-3.1 1.1-5.8 4-8.5.4 3.2 1.7 5.1 3 6.8 1.1 1.5 2.1 2.9 2.1 4.8 0 3.7-3 6.4-8.4 6.4Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M12.1 18.2c-1.5 0-2.7-1-2.7-2.5 0-1 .6-1.8 1.4-2.6.3.8.8 1.3 1.5 1.6-.1-1.3.5-2.4 1.8-3.6.2 1.3.7 2.1 1.3 2.8.5.6.9 1.2.9 1.9 0 1.4-1.1 2.4-4.2 2.4Z' fill='none' stroke='black' stroke-width='1.35' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ryoto-served-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3.2c-1.1 1.1-1.1 2.1 0 3.2s1.1 2.1 0 3.2' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round'/%3E%3Cpath d='M12 3.2c-1.1 1.1-1.1 2.1 0 3.2s1.1 2.1 0 3.2' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round'/%3E%3Cpath d='M16 3.2c-1.1 1.1-1.1 2.1 0 3.2s1.1 2.1 0 3.2' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round'/%3E%3Cpath d='M5 14.5h14' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M7 14.5c.4 3.7 2.1 5.5 5 5.5s4.6-1.8 5-5.5' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M9.2 21h5.6' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3.2c-1.1 1.1-1.1 2.1 0 3.2s1.1 2.1 0 3.2' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round'/%3E%3Cpath d='M12 3.2c-1.1 1.1-1.1 2.1 0 3.2s1.1 2.1 0 3.2' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round'/%3E%3Cpath d='M16 3.2c-1.1 1.1-1.1 2.1 0 3.2s1.1 2.1 0 3.2' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round'/%3E%3Cpath d='M5 14.5h14' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M7 14.5c.4 3.7 2.1 5.5 5 5.5s4.6-1.8 5-5.5' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M9.2 21h5.6' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.menu-desc {
  order: 2;
  grid-column: 1 / -1;
  margin: 6px 0 0;
  max-width: 62ch;
  color: var(--paper-2);
  font-family: "Dosis", "Murecho", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  opacity: .9;
}

@media (min-width: 981px) {
  #teppanyaki .menu-item {
    position: relative;
    display: block;
  }

  #teppanyaki .menu-name {
    padding-right: 128px;
  }

  #teppanyaki .menu-price {
    position: absolute;
    top: 30px;
    right: clamp(22px, 3vw, 34px);
  }

  #teppanyaki .menu-meta {
    margin-top: 8px;
  }

  #teppanyaki .menu-desc {
    margin-top: 8px;
  }
}

#sashimi-corte-grueso .menu-item,
#sashimi-corte-fino .menu-item,
#temakis .menu-item,
#hosomakis .menu-item,
#makis .menu-item,
#niguiris .menu-item,
#cantina-estilo-japones .menu-item,
#sopas .menu-item,
#tempuras .menu-item,
#karagues .menu-item,
#yakimeshis-y-gohan .menu-item,
#ensaladas .menu-item,
#yakitoris .menu-item,
#pastas .menu-item {
  min-height: 128px;
  padding-top: 30px;
  padding-bottom: 30px;
}

#sashimi-corte-grueso .menu-name,
#sashimi-corte-fino .menu-name,
#temakis .menu-name,
#hosomakis .menu-name,
#makis .menu-name,
#niguiris .menu-name,
#cantina-estilo-japones .menu-name,
#sopas .menu-name,
#tempuras .menu-name,
#karagues .menu-name,
#yakimeshis-y-gohan .menu-name,
#ensaladas .menu-name,
#yakitoris .menu-name,
#pastas .menu-name {
  font-size: 24px;
  line-height: 1.08;
  font-weight: 450;
}

#sashimi-corte-grueso .menu-price,
#sashimi-corte-fino .menu-price,
#temakis .menu-price,
#hosomakis .menu-price,
#makis .menu-price,
#niguiris .menu-price,
#cantina-estilo-japones .menu-price,
#sopas .menu-price,
#tempuras .menu-price,
#karagues .menu-price,
#yakimeshis-y-gohan .menu-price,
#ensaladas .menu-price,
#yakitoris .menu-price,
#pastas .menu-price {
  font-size: 17px;
  font-weight: 400;
}

#sashimi-corte-grueso .menu-desc,
#sashimi-corte-fino .menu-desc,
#temakis .menu-desc,
#hosomakis .menu-desc,
#makis .menu-desc,
#niguiris .menu-desc,
#cantina-estilo-japones .menu-desc,
#sopas .menu-desc,
#tempuras .menu-desc,
#karagues .menu-desc,
#yakimeshis-y-gohan .menu-desc,
#ensaladas .menu-desc,
#yakitoris .menu-desc,
#pastas .menu-desc {
  font-size: 16px;
  line-height: 1.5;
}

.category-meta {
  display: block;
  margin-top: 14px;
  color: var(--paper-2);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 300;
  opacity: .72;
}

.menu-desc-row {
  display: block;
}

.menu-desc-row + .menu-desc-row {
  margin-top: 5px;
}

.menu-desc-label {
  font-weight: 600;
}

.menu-note {
  grid-column: 1 / -1;
  padding: 30px clamp(22px, 3vw, 34px) 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 300;
  opacity: .82;
}

.menu-note-label {
  display: block;
  margin-bottom: 10px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  opacity: .9;
}


.menu-universe {
  display: grid;
  gap: 0;
}

.menu-universe + .menu-universe {
  margin-top: clamp(88px, 11vw, 150px);
}

.menu-universe-head {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding: 0 0 34px;
  border-bottom: 1px solid var(--red);
}

.menu-universe-head h2 {
  font-family: "Hina Mincho", "Montserrat", serif;
  font-size: clamp(44px, 5vw, 82px);
  line-height: .95;
}

.menu-macro-group + .menu-macro-group {
  margin-top: 52px;
}

.menu-macro-label {
  margin: 34px 0 22px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.menu-macro-label span {
  display: inline-block;
  margin-left: 14px;
  color: var(--paper-2);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  opacity: .58;
}

/* Variant rows mirror menu-para-llevar.html (.item-variants /
   .item-variant): label left, price right, Dosis 15px / 300. */
.menu-variants {
  order: 4;
  grid-column: 1 / -1;
  justify-self: stretch;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  min-width: 0;
}

.variant-row {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  color: var(--paper-2);
  font-family: "Dosis", "Murecho", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 300;
  white-space: nowrap;
}

.variant-row:not(.compact-service) .variant-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
}

.variant-row:not(.compact-service) .variant-label {
  opacity: 1;
}

.variant-row:not(.compact-service) .variant-meta {
  font-size: inherit;
  opacity: .7;
}

.variant-row:not(.compact-service) .variant-price {
  margin-left: auto;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .02em;
}

.variant-row .mode-icon {
  width: 18px;
  height: 18px;
}

.variant-label {
  color: var(--paper-2);
  opacity: .78;
}

.variant-meta {
  color: var(--paper-2);
  font-size: 12px;
  opacity: .58;
}

.variant-price {
  color: var(--paper);
  font-family: "Dosis", "Murecho", system-ui, sans-serif;
  font-size: 14px;
  opacity: .92;
}


#teppanyaki-100gr .teppanyaki-legend {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 34px;
  max-width: 760px;
  margin: 0;
  padding: 20px 28px 28px;
  border-bottom: 1px solid var(--line);
}

#teppanyaki-100gr .teppanyaki-legend .category-modes-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

#teppanyaki-100gr .teppanyaki-legend .mode-icon {
  margin-right: 0;
}

#teppanyaki-100gr .teppanyaki-legend .mode-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#teppanyaki-100gr .teppanyaki-legend .mode-copy b {
  white-space: nowrap;
  font-weight: 600;
}

#teppanyaki-100gr .teppanyaki-legend .mode-explain {
  display: block;
  color: var(--paper-2);
  opacity: .68;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
}

/* Teppanyaki has one extra block (mode legend) between the title and the
   product list: keep the title in the lateral strip and stack legend +
   list in the content column. */
@media (min-width: 981px) {
  #teppanyaki-100gr .category-title {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #teppanyaki-100gr .teppanyaki-legend {
    grid-column: 2;
    grid-row: 1;
  }

  #teppanyaki-100gr .ocr-menu {
    grid-column: 2;
    grid-row: 2;
  }
}

#teppanyaki-100gr .ocr-menu {
  padding: 24px clamp(22px, 3vw, 34px) 34px;
}

#teppanyaki-100gr .menu-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px clamp(54px, 7vw, 96px);
}

#teppanyaki-100gr .menu-item {
  min-height: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

#teppanyaki-100gr .teppanyaki-service-row {
  order: 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 26px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
}

#teppanyaki-100gr .teppanyaki-variants {
  min-width: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 26px;
  width: fit-content;
  max-width: 100%;
}

#teppanyaki-100gr .menu-name,
#teppanyaki-100gr .menu-desc {
  grid-column: 1 / -1;
}

#teppanyaki-100gr .menu-meta {
  margin-top: 0;
}


.compact-service {
  grid-template-columns: auto auto;
  justify-content: start;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-disclaimer {
  margin-top: 40px;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.menu-disclaimer ul {
  margin: 0;
  padding-left: 18px;
}

.menu-disclaimer li {
  max-width: none;
  margin: 0 0 12px;
  padding-left: 4px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-text {
  padding: clamp(42px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.feature h2 {
  font-size: clamp(46px, 6vw, 88px);
  line-height: .98;
  margin-bottom: 28px;
}

.feature p {
  max-width: 560px;
  color: var(--paper-2);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 300;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(167,25,29,.18), transparent 30%),
    linear-gradient(180deg, rgba(243,238,229,.12), transparent),
    #100f0c;
}

.feature-visual::before {
  content: "良刀";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(243,238,229,.08);
  font-size: clamp(160px, 24vw, 360px);
  font-weight: 500;
}

.feature-visual::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: rotate(-7deg);
}

footer {
  padding: 64px 0 72px;
  color: var(--muted);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
  padding-top: 34px;
  font-size: 13px;
  letter-spacing: .08em;
}

.footer-brand {
  color: var(--paper-2);
  font-weight: 500;
}

.footer-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact span {
  color: var(--paper-2);
}

.footer-contact .button {
  width: fit-content;
  margin-top: 8px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.footer-instagram svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: auto;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-whatsapp svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  /* --mobile-header-offset is measured for real from the actual header
     (see syncMobileHeaderOffset in the script below), so it keeps
     tracking the header's true height — including when the hamburger
     drawer opens. */
  body {
    padding-left: 0;
    padding-top: var(--mobile-header-offset, 118px);
  }

  header {
    position: fixed;
    inset: 0 0 auto 0;
    width: auto;
    border-right: 0;
    border-bottom: 0;
    padding-top: var(--safe-top);
  }

  .nav {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: clamp(10px, 3vw, 18px);
    row-gap: 0;
    height: auto;
    padding: 18px 0 0;
    justify-items: stretch;
    align-items: center;
  }

  .brand {
    order: 1;
    grid-column: 1;
    grid-row: 1;
    display: block;
    align-self: center;
    justify-self: start;
    width: auto;
    text-align: left;
  }

  .brand img {
    width: clamp(54px, 15vw, 82px);
    margin: 0 auto 0 0;
  }

  /* "Pedir en línea" keeps its place between logo and hamburger, but with
     a capped width: the image keeps its proportion and never inflates the
     header row (it used to stretch to ~553x101px at 768px). */
  .header-actions {
    order: 2;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: 100%;
    max-width: 240px;
    min-width: 0;
    align-items: center;
    justify-self: center;
  }

  .header-actions > a {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
  }

  .header-actions .order-cta {
    width: auto;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e03236;
    font-family: "Avenir Next", "Avenir", "Montserrat", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  /* Reservar stays functional — it lives in the hamburger drawer below
     instead of sitting permanently in the header row. */
  .header-actions .reserve {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    order: 3;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--paper);
    font: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-drawer {
    display: none;
    order: 4;
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 20px;
  }

  .mobile-drawer.is-open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .mobile-drawer a {
    color: var(--paper);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
  }

  .menu-tabs {
    grid-column: 1 / -1;
    grid-row: 3;
    order: 5;
    margin-top: 28px;
    gap: 0;
    position: relative;
    background:
      linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
      url("assets/images/ryoto-menu-texture.jpg") center top / cover no-repeat;
  }

  .menu-tabs::after {
    content: "";
    position: absolute;
    inset: 0 -24px;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
      url("assets/images/ryoto-menu-texture.jpg") center top / cover no-repeat;
  }

  .menu-tab {
    min-height: 42px;
    padding: 0 12px;
    background: transparent;
    color: rgba(255, 255, 255, .48);
    font-size: 11.5px;
    opacity: 1;
    transition: background-color .16s ease, color .16s ease;
  }

  .menu-tab::before {
    display: none;
  }

  .menu-tab.is-active {
    background: rgba(255, 255, 255, .055);
    color: var(--paper);
  }

  .side-categories {
    display: none;
  }

  .menu-grid.full-menu {
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .category-toggle {
    appearance: none;
    width: 100%;
    min-height: 56px;
    padding: 16px clamp(22px, 5vw, 28px);
    border: 0;
    border-bottom: 1px solid rgba(243, 238, 229, .11);
    background: transparent;
    color: var(--paper-2);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .category:not(.is-active) > .category-toggle {
    border-top: 1px solid rgba(167, 25, 29, .76);
  }

  .category-toggle-text {
    min-width: 0;
    color: #b8b4ac;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .category-toggle-mark {
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--red);
    border-bottom: 1px solid var(--red);
    transform: rotate(45deg) translateY(-2px);
  }

  .category.is-active > .category-toggle .category-toggle-text {
    color: var(--gold);
    opacity: 0;
  }

  .category.is-active > .category-toggle {
    position: relative;
    border-bottom-color: transparent;
  }

  .category.is-active > .category-toggle .category-toggle-mark {
    transform: rotate(225deg) translateY(-2px);
  }

  .category-panel {
    display: block;
  }

  .category-panel[hidden] {
    display: none;
  }

  .section-head,
  .menu-universe-head {
    grid-template-columns: 1fr;
  }

  .menu-universe + .menu-universe {
    margin-top: 86px;
  }

  .menu-universe-head {
    gap: 14px;
    padding-bottom: 26px;
  }

  .menu-macro-group + .menu-macro-group {
    margin-top: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .mark-stage {
    min-height: calc(100vh - 120px);
    border-top: 1px solid var(--line);
  }

  /* Below this point .category stacks into one column (the lateral strip
     is >=981px only); the accordion toggles act as the dividers. */
  .category {
    padding-top: 0;
  }

  .category + .category {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .category-heading {
    gap: 0;
  }

  .category-seal {
    width: 142px;
    height: auto;
    transform: none;
  }

  .category-name {
    font-size: 36px;
    line-height: 1.05;
  }

  .category-desc {
    margin-top: 14px;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.55;
  }

  .category-modes {
    margin-top: 16px;
    max-width: 520px;
  }

  .menu-name {
    font-size: 29px;
    line-height: 1.06;
  }

  .menu-price {
    font-size: 18px;
  }

  .menu-meta {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .menu-desc {
    font-size: 15.5px;
    line-height: 1.48;
  }

  #teppanyaki-100gr .category-title {
    grid-column: 1;
    grid-row: auto;
    border-right: 0;
  }

  #teppanyaki-100gr .category-desc {
    max-width: 520px;
  }

  #teppanyaki-100gr .teppanyaki-legend,
  #teppanyaki-100gr .ocr-menu {
    grid-column: 1;
    grid-row: auto;
  }

  #teppanyaki-100gr .teppanyaki-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: none;
    margin-top: 0;
    padding: 20px 28px;
  }

  #teppanyaki-100gr .ocr-menu {
    padding: 0;
  }

  #teppanyaki-100gr .menu-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #teppanyaki-100gr .menu-item {
    min-height: 132px;
    padding: 30px clamp(22px, 3vw, 34px);
    border-bottom: 1px solid var(--line);
  }

  #teppanyaki-100gr .teppanyaki-variants {
    justify-self: start;
    min-width: 0;
  }

  .mode-icon {
    width: 20px;
    height: 20px;
    vertical-align: -4px;
  }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .brand img { width: clamp(62px, 17vw, 92px); }
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .reserve,
  .order-cta {
    padding: 0 12px;
    min-width: 0;
    font-size: 10.5px;
  }
  h1 { font-size: clamp(52px, 18vw, 86px); }
  .items { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-item { border-right: 0; }
  .dish { border-right: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .footer-contact .button { width: 100%; }
}
/* Letrero vertical (assets/letreros_RYOTO_vertical/web) como fondo al 30 %,
   cargado a la izquierda, solo en celular y solo en la categoría abierta.
   En escritorio va en la columna del título (ver abajo). */
@media (max-width: 980px) {
  .category[style*="--seal-v"] {
    position: relative;
    isolation: isolate;
  }

  .category[style*="--seal-v"] .category-seal {
    display: none;
  }

  .category[style*="--seal-v"].is-active::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 96px;
    left: 8px;
    width: min(62%, 250px);
    /* En categorías cortas se reduce para no salirse hacia la siguiente. */
    height: min(560px, calc(100% - 120px));
    background: var(--seal-v) left top / contain no-repeat;
    opacity: .30;
    pointer-events: none;
  }
}

/* Escritorio: el mismo letrero vertical, cargado a la izquierda en la
   columna del título (270 px), en todas las categorías. */
@media (min-width: 981px) {
  .category[style*="--seal-v"] {
    isolation: isolate;
  }

  .category[style*="--seal-v"] .category-seal {
    display: none;
  }

  .category[style*="--seal-v"]::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 56px;
    left: 0;
    /* Centrado en el ancho útil de la columna del título (270 px − 28 px de margen). */
    width: 242px;
    height: min(560px, calc(100% - 72px));
    background: var(--seal-v) center top / contain no-repeat;
    opacity: .30;
    pointer-events: none;
  }
}
