/* Tchama-Sma static menu site */

:root {
  color-scheme: light;
  --font-body: Arial, "Arial Unicode MS", "Helvetica Neue", system-ui, sans-serif;
  --paper: #050604;
  --paper-deep: #0b0d08;
  --surface: #404830;
  --surface-soft: #485238;
  --ink: #f0d048;
  --ink-soft: #d8c46f;
  --body-copy: #f1e6b0;
  --rule: rgba(240, 208, 72, 0.22);
  --rule-strong: rgba(240, 208, 72, 0.48);
  --accent: #f0d048;
  --accent-ink: #202616;
  --coral: #b44a42;
  --bar-bg: #404830;
  --bar-rule: rgba(240, 208, 72, 0.28);
  --page-max: 1080px;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

html[data-theme="midnight"] {
  color-scheme: dark;
  --paper: #000000;
  --paper-deep: #050604;
  --surface: #313b29;
  --surface-soft: #3b452f;
  --ink: #f2d64f;
  --ink-soft: #d3c070;
  --body-copy: #efe3ad;
  --rule: rgba(242, 214, 79, 0.2);
  --rule-strong: rgba(242, 214, 79, 0.42);
  --accent: #f2d64f;
  --accent-ink: #15180f;
  --coral: #c05047;
  --bar-bg: #313b29;
  --bar-rule: rgba(242, 214, 79, 0.24);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.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;
}

.page-shell {
  width: min(calc(100% - 32px), var(--page-max));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 0 10px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  grid-template-areas:
    ". brand locale"
    "nav nav nav";
  align-items: center;
  gap: 8px;
  padding: 10px 0 12px;
}

.brand-mark {
  grid-area: brand;
  justify-self: center;
  display: inline-flex;
  width: min(240px, 50vw);
  min-width: 160px;
  align-items: center;
  justify-content: center;
}

.brand-mark__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92px;
}

.locale-cycle {
  grid-area: locale;
  justify-self: end;
}

.site-nav {
  grid-area: nav;
  justify-self: center;
  display: inline-flex;
  gap: 4px;
}

.site-nav__link,
.view-switch__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active,
.view-switch__button:hover,
.view-switch__button.is-active {
  border-color: var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
}

.view-switch__button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.icon-button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: background 160ms ease, color 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.page-main {
  display: grid;
  gap: 22px;
}

.page-footer {
  margin-top: 32px;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
}

.page-footer p {
  margin: 0;
  color: var(--body-copy);
  font-size: 0.92rem;
}

.view-switch {
  display: none;
}

.jump-links {
  display: grid;
  padding: 0 0 8px;
}

.jump-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jump-links__item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.jump-links__item:hover {
  background: var(--surface);
}

.menu-view {
  display: grid;
  gap: 20px;
  scroll-margin-top: 190px;
}

.menu-view[hidden] {
  display: none;
}

.view-heading {
  padding-top: 8px;
}

.view-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 1.55rem + 2vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.menu-stack {
  display: grid;
  gap: 18px;
}

.menu-section--business-lunch {
  border-color: color-mix(in srgb, var(--coral) 55%, var(--rule));
  background: var(--surface-soft);
}

.menu-section {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: 180px;
}

.menu-section--bar {
  background: var(--bar-bg);
  color: var(--ink);
  border-color: var(--bar-rule);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
}

.section-header h3 {
  margin: 0;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.section-header span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-section--bar .section-header span {
  color: color-mix(in srgb, var(--accent-ink) 72%, transparent);
}

.items-list {
  display: grid;
  gap: 10px;
}

.menu-item {
  display: grid;
  gap: 2px;
}

.item-line {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(24px, 1fr) max-content;
  align-items: baseline;
  gap: 10px;
}

.item-title {
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.24;
  text-transform: uppercase;
}

html[data-locale="ka"] .item-title,
html[data-locale="ka"] .section-header h3 {
  text-transform: none;
}

.item-leader {
  height: 0.7em;
  border-bottom: 1px dotted currentColor;
  opacity: 0.28;
}

.item-price {
  font-size: 0.95rem;
  font-weight: 950;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.item-desc {
  margin: 0 72px 0 0;
  color: var(--body-copy);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.35;
}

.menu-section--bar .item-desc {
  color: var(--body-copy);
}

@media (min-width: 860px) {
  .menu-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .menu-section--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--page-max));
    padding-top: 12px;
  }

  .site-header {
    padding-bottom: 8px;
  }

  .site-header__inner {
    padding: 8px 0 10px;
    grid-template-areas: ". brand locale";
  }

  .site-nav {
    display: none;
  }

  .menu-view {
    scroll-margin-top: 160px;
  }

  .brand-mark {
    width: min(176px, 52vw);
    min-width: 142px;
  }

  .brand-mark__logo {
    max-height: 66px;
  }

  .view-switch {
    position: sticky;
    top: 76px;
    z-index: 24;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: blur(18px);
  }

  .view-switch__button {
    width: 100%;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .view-switch__button:not(.is-active) {
    border-color: transparent;
    background: transparent;
    color: var(--ink-soft);
  }

  .jump-links__items {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

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

  .jump-links__item {
    flex: 0 0 auto;
  }

  .menu-section {
    scroll-margin-top: 154px;
  }

  .section-header {
    align-items: start;
  }

  .item-line {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
  }

  .item-leader {
    display: none;
  }

  .item-desc {
    margin-right: 0;
  }
}
