/* Reset + базовая типографика */

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

html, body {
  margin: 0; padding: 0;
}

html {
  background: var(--bg-base);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  background: var(--bg-base);
  color: var(--text-pri);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--accent-hi); }

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--bg-deep);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-elev); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

/* Контейнер */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

/* Секционные лейблы — «МЕНЮ / 01», «МЕРОПРИЯТИЯ / 02», … */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-sec);
  margin: 0;
}
.section-label .num { color: var(--text-mut); }

/* Шапка секции — лейбл + крупный заголовок Apple sans-serif uppercase, как у hero. */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 32px;
}
.section-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-pri);
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .section-title { font-size: clamp(32px, 9vw, 44px); }
  .section-head { margin-bottom: 22px; }
}

/* Серифные заголовки */
.serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Утилиты */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }
