:root {
  --paper: #fbf3e7;
  --ink: #24150f;
  --muted: #715b50;
  --label: #2a0f06;
  --food: #7c130e;
  --line: rgba(54, 19, 7, 0.18);
  --panel: rgba(255, 252, 246, 0.78);
  --shadow: rgba(45, 19, 8, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(255, 250, 242, 0.72), rgba(255, 250, 242, 0.72)), url("assets/paper-bg.jpg");
  background-size: 760px auto;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  display: grid;
  min-height: calc(100svh - 64px);
  padding: clamp(24px, 7vw, 72px) clamp(18px, 6vw, 64px);
  place-items: center;
}

.hero-brand {
  display: grid;
  justify-items: center;
  width: 100%;
}

.hero-brand img {
  width: min(74vw, 520px);
  max-height: 62svh;
  object-fit: contain;
}

.hero-menu-label {
  margin: clamp(16px, 3vw, 26px) 0 0;
  color: var(--ink);
  font-family: "Segoe UI Display", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(4.2rem, 18vw, 8.8rem);
  line-height: 0.9;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin: clamp(16px, 3vw, 24px) auto 0;
}

.social-links a {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(251, 243, 231, 0.78);
  border: 1px solid rgba(42, 15, 6, 0.24);
  border-radius: 999px;
  font-size: clamp(0.82rem, 2.3vw, 0.95rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(45, 19, 8, 0.08);
}

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

h1 {
  margin: 0;
  font-family: "Segoe UI Display", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 700;
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 12px clamp(12px, 4vw, 34px);
  background: rgba(251, 243, 231, 0.95);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px var(--shadow);
  backdrop-filter: blur(10px);
  scrollbar-width: thin;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 10px 12px;
  color: #fff8ec;
  background: var(--label);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 3px;
}

main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px) clamp(12px, 4vw, 30px) 20px;
}

.menu-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(74px, 140px) minmax(0, 1fr);
  gap: clamp(14px, 4vw, 34px);
  padding: clamp(18px, 4vw, 34px) 0;
  scroll-margin-top: 76px;
}

.page-title {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  min-height: 220px;
  pointer-events: none;
}

.page-title::before {
  content: "";
  display: block;
  width: clamp(112px, 10vw, 150px);
  aspect-ratio: 1.55 / 1;
  margin: 0 auto 18px;
  background: url("logoroxy.png") center / contain no-repeat;
}

.page-title span {
  display: inline-block;
  color: rgba(42, 15, 6, 0.84);
  font-family: "Segoe UI Display", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.food {
  color: var(--food);
}

.food .page-title span {
  color: rgba(124, 19, 14, 0.88);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.menu-section {
  min-width: 0;
  padding: 0 0 8px;
}

.menu-section h2 {
  display: inline-block;
  margin: 0 0 9px;
  padding: 2px 5px 1px;
  color: #fff8ec;
  background: var(--label);
  font-family: "Segoe UI Display", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1rem, 2.7vw, 1.24rem);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 700;
}

.food .menu-section h2 {
  background: var(--food);
}

.menu-list,
.items {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li,
.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 5px 0 6px;
  border-bottom: 1px dotted rgba(48, 16, 5, 0.18);
}

.food .menu-list li,
.food .item {
  border-bottom-color: rgba(124, 19, 14, 0.16);
}

.menu-list .group {
  grid-template-columns: 1fr;
  border-bottom: 0;
  padding-bottom: 0;
  text-transform: uppercase;
}

.item h3 {
  margin: 0;
  font-family: "Segoe UI Display", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.08rem, 2.9vw, 1.34rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.item p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 2.3vw, 0.92rem);
  line-height: 1.15;
}

.food .item p,
.food .small {
  color: #8e2b24;
}

.note,
.small {
  opacity: 0.95;
}

.small {
  margin: -2px 0 8px;
  font-size: 0.84rem;
}

.menu-list span {
  font-size: clamp(0.96rem, 2.6vw, 1.08rem);
  line-height: 1.18;
  text-transform: uppercase;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.menu-list b,
.item b {
  min-width: max-content;
  font-size: clamp(0.96rem, 2.6vw, 1.05rem);
  line-height: 1.18;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  padding: 22px 14px 34px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    min-height: calc(100svh - 58px);
    padding: 22px 18px;
  }

  .hero-brand {
    width: 100%;
  }

  .hero-brand img {
    width: min(78vw, 420px);
  }

  .menu-page {
    grid-template-columns: 1fr;
    gap: 10px;
    scroll-margin-top: 70px;
  }

  .page-title {
    position: static;
    justify-content: flex-start;
    min-height: 0;
  }

  .page-title::before {
    display: none;
  }

  .page-title span {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(2.5rem, 16vw, 5rem);
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .social-links {
    display: flex;
    justify-content: center;
    gap: 7px;
  }

  .social-links a {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .category-nav {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  .category-nav a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  main {
    padding-inline: 12px;
  }

  .menu-list li,
  .item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .menu-list b,
  .item b {
    justify-self: start;
    text-align: left;
  }
}
