:root {
  --bg: #1a1614;
  --bg-elevated: #24201c;
  --fg: #f3ebe3;
  --muted: #9a8f84;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.18);
  --line: rgba(243, 235, 227, 0.12);
  --photo-stub: #2e2924;
  --radius: 4px;
  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-body: "Sora", "Avenir Next", sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(196, 165, 116, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(80, 110, 90, 0.12), transparent 50%),
    linear-gradient(165deg, #221c18 0%, var(--bg) 45%, #141110 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--fg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(26, 22, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.page {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  text-decoration: none;
}

.brand-mark__logo {
  width: auto;
  height: 2.4rem;
  padding: 0.3rem 0.55rem;
  background: var(--fg);
  border-radius: var(--radius);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.header-hours {
  margin-left: auto;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .site-header__inner {
    gap: 0.65rem;
  }

  .brand-mark__logo {
    height: 2rem;
  }

  .header-hours {
    font-size: 0.68rem;
  }

  .nav {
    gap: 0.65rem;
    font-size: 0.8rem;
  }
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--fg);
}

.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.section > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 36rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.photo-grid--six .photo-slot {
  aspect-ratio: 1;
}

.photo-grid--six .photo-slot:first-child {
  aspect-ratio: 1;
}

.photo-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--photo-stub);
  margin: 0;
}

.photo-slot:first-child {
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .photo-slot:first-child {
    aspect-ratio: 3 / 4;
  }
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contacts {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-block {
  padding: 0;
}

.contact-block h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
}

.contact-block p,
.contact-block ul {
  margin: 0;
  color: var(--muted);
  padding: 0;
  list-style: none;
}

.contact-block li + li {
  margin-top: 0.25rem;
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
}

/* Page intros (home, menu, coworking) */
.page-intro,
.menu-intro {
  padding: clamp(2rem, 6vw, 3.5rem) 0 1.25rem;
}

.page-intro h1,
.menu-intro h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.page-intro p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 36rem;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.cat-nav {
  position: sticky;
  top: 3.6rem;
  z-index: 15;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin: 0 0 1rem;
  overflow-x: auto;
  background: linear-gradient(to bottom, rgba(26, 22, 20, 0.96), rgba(26, 22, 20, 0.88));
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 900px) {
  .cat-nav {
    flex-wrap: wrap;
    overflow: visible;
  }
}

.cat-nav a {
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}

.cat-nav a:hover {
  color: var(--fg);
  border-color: var(--accent);
}

.menu-category {
  padding: 1.75rem 0 0.5rem;
  scroll-margin-top: 7rem;
}

.menu-category h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-item__thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--photo-stub);
}

.menu-item__thumb--empty {
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  color: var(--muted);
  border: 1px dashed var(--line);
}

.menu-item__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
}

.menu-item__price {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.menu-empty {
  padding: 3rem 0;
  color: var(--muted);
}
