/* ===========================================================
   Nori House — split-screen concept
   Layout override only. Palette + type come from site.css.
   Left rail is fixed; the menu is the page.
   =========================================================== */

.split-body {
  margin: 0;
  background: var(--bg-warm);
  color: var(--ink);
}

.split-body .split {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: 100vh;
}

/* ---------- LEFT RAIL ---------- */

.split__rail {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg-band);
  color: var(--ink-inverse);
}

.rail__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(31, 26, 22, 0.62),
      rgba(23, 18, 15, 0.88)
    ),
    url("https://images.unsplash.com/photo-1582450871972-ab5ca641643d?w=1920&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.rail__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 44px);
  width: 100%;
  padding: clamp(32px, 5vw, 64px);
}

.rail__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail__logo {
  font-family: var(--script);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  color: var(--ink-inverse);
  text-decoration: none;
}

.rail__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wood-light);
}

.rail__eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-inverse-soft);
}

.rail__headline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.rail__headline em {
  font-style: italic;
  color: var(--wood-light);
}

.rail__lede {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-inverse-soft);
}

.rail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.split-body .btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.split-body .btn--order {
  background: var(--accent-red);
  color: var(--ink-inverse);
}

.split-body .btn--order:hover {
  background: var(--accent-red-hi);
}

.split-body .btn--ghost {
  border: 1px solid rgba(199, 183, 158, 0.45);
  color: var(--ink-inverse);
}

.split-body .btn--ghost:hover {
  background: rgba(245, 240, 229, 0.1);
}

.rail__facts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-top: clamp(16px, 3vh, 28px);
  border-top: 1px solid rgba(199, 183, 158, 0.22);
}

.rail__facts div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: baseline;
}

.rail__facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wood-light);
}

.rail__facts dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink-inverse-soft);
}

.rail__facts a {
  color: var(--ink-inverse);
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 183, 158, 0.4);
}

/* ---------- RIGHT: THE MENU IS THE PAGE ---------- */

.split__menu {
  background: var(--bg-warm);
  padding-bottom: 64px;
}

.menu-jump {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 18px clamp(24px, 4vw, 56px);
  background: rgba(250, 244, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.menu-jump::-webkit-scrollbar {
  display: none;
}

.menu-jump a {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.menu-jump a:hover {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

/* Categories stack straight down — no hero, no interstitials. */
.split-body .menu-cat {
  scroll-margin-top: 72px;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 56px) 0;
  border: 0;
  background: transparent;
}

.split-body .cat-head {
  margin-bottom: 26px;
}

.split-body .cat-head .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood);
}

.split-body .cat-head h2 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.split-body .cat-head p {
  margin: 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Two-up item grid so the menu reads fast instead of as one long column. */
.split-body .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px 40px;
}

/* Name . . . . price on one line, description beneath. */
.split-body .item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 10px;
}

.split-body .item__lead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.split-body .item__name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
  white-space: nowrap;
}

.split-body .item__dots {
  flex: 1;
  height: 0;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}

.split-body .item__price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-red);
}

.split-body .item__desc {
  grid-column: 1 / -1;
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.split__footer {
  margin-top: 56px;
  padding: 28px clamp(24px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.split__note {
  color: var(--wood);
}

/* ---------- MOBILE: rail collapses to a header ---------- */

@media (max-width: 900px) {
  .split-body .split {
    grid-template-columns: 1fr;
  }

  .split__rail {
    position: relative;
    height: auto;
    min-height: 78vh;
  }

  .menu-jump {
    top: 0;
  }
}
