:root {
  --ink: #181511;
  --paper: #f4efe5;
  --cream: #fffaf0;
  --tomato: #d94a2b;
  --tomato-dark: #ad351f;
  --olive: #68734b;
  --line: rgba(24, 21, 17, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .95rem; font-weight: 800; letter-spacing: .16em; }
.brand-mark { position: relative; width: 31px; aspect-ratio: 1; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 11px; background: currentColor; transform-origin: 50% 0; }
.brand-mark::before { transform: rotate(0deg); }
.brand-mark::after { transform: rotate(120deg); }
.brand-mark i { transform: rotate(240deg); }
.site-header nav { display: flex; gap: 2rem; font-size: .86rem; }
.site-header nav a { opacity: .82; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: 1; }

.hero { min-height: 780px; position: relative; overflow: hidden; color: white; display: grid; align-items: center; }
.hero-image { position: absolute; inset: 0; background: #211a14 url("/assets/hero-pizza.png") center center / cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,13,10,.94) 0%, rgba(16,13,10,.72) 35%, rgba(16,13,10,.14) 73%, rgba(16,13,10,.18) 100%), linear-gradient(0deg, rgba(16,13,10,.72), transparent 34%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); margin: 38px auto 0; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: .65rem; color: var(--tomato); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: #ffd8b1; }
.eyebrow i { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h1 { margin: 1.15rem 0 1.3rem; max-width: 900px; font-size: clamp(3.9rem, 7vw, 6.6rem); line-height: .88; }
.hero-content > p { max-width: 540px; font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: .85rem; margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.45rem; border: 1px solid rgba(255,255,255,.38); font-size: .86rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--tomato); border-color: var(--tomato); }
.button-primary:hover { background: var(--tomato-dark); }
.button-ghost { backdrop-filter: blur(8px); }
.hero-facts { position: absolute; z-index: 2; left: 50%; bottom: 0; width: min(calc(100% - 48px), var(--max)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.24); }
.hero-facts div { display: flex; align-items: baseline; gap: .8rem; padding: 1.5rem 0; }
.hero-facts div + div { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.2); }
.hero-facts strong { font-family: Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.hero-facts span { max-width: 120px; font-size: .72rem; line-height: 1.4; color: rgba(255,255,255,.66); text-transform: uppercase; letter-spacing: .08em; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; margin-bottom: 56px; }
.section-heading h2, .visit h2, .story h2 { margin: .7rem 0 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .95; }
.section-heading > p { max-width: 470px; margin: 0 0 .45rem; color: rgba(24,21,17,.64); line-height: 1.75; }
.menu-grid { border-top: 1px solid var(--line); }
.menu-card { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.menu-card.featured { position: relative; }
.menu-card.featured::after { content: "НАШ ВЫБОР"; position: absolute; right: 0; top: 1rem; color: var(--tomato); font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.menu-number { color: var(--tomato); font-family: Georgia, serif; font-style: italic; }
.menu-title { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-right: 1px; }
.menu-title h3 { margin-bottom: .65rem; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.menu-title span { font-weight: 750; white-space: nowrap; }
.menu-card p { max-width: 650px; margin-bottom: 0; color: rgba(24,21,17,.58); line-height: 1.65; }
.menu-note { margin: 1.2rem 0 0 86px; color: rgba(24,21,17,.45); font-size: .75rem; }

.story { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 560px; background: var(--ink); color: white; }
.story-copy { padding: 100px max(24px, calc((100vw - var(--max)) / 2)); padding-right: 9vw; }
.kicker.light { color: #e7a371; }
.story-copy p { max-width: 600px; margin-top: 2rem; color: rgba(255,255,255,.66); line-height: 1.8; }
.story-points { display: grid; align-content: center; padding: 80px max(24px, calc((100vw - var(--max)) / 2)) 80px 6vw; background: var(--tomato); }
.story-points div { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.26); }
.story-points span { font-family: Georgia, serif; font-style: italic; opacity: .68; }
.story-points p { margin: 0; line-height: 1.45; }

.visit { position: relative; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.visit h2 { max-width: 900px; margin: 1rem auto 1.5rem; }
.visit > p { max-width: 590px; color: rgba(24,21,17,.62); line-height: 1.75; }
.stamp { position: absolute; right: 3%; bottom: 10%; width: 120px; height: 120px; border: 1px solid var(--tomato); border-radius: 50%; display: grid; place-content: center; gap: .35rem; color: var(--tomato); font-size: .58rem; font-weight: 800; letter-spacing: .18em; transform: rotate(-10deg); }
.stamp i { display: block; width: 42px; height: 1px; margin: auto; background: currentColor; }

footer { min-height: 120px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; background: #0f0d0b; color: white; }
.footer-brand { justify-self: start; }
footer p { margin: 0; color: rgba(255,255,255,.48); font-size: .78rem; }
footer > span { justify-self: end; color: rgba(255,255,255,.42); font-size: .76rem; }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); height: 76px; }
  .site-header nav { gap: 1rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero { min-height: 760px; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(16,13,10,.9), rgba(16,13,10,.34)), linear-gradient(0deg, rgba(16,13,10,.88), transparent 55%); }
  .hero-content { width: calc(100% - 32px); margin-top: 0; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.3rem); }
  .hero-content > p { max-width: 92%; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .hero-facts { width: calc(100% - 32px); grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { display: block; padding: 1rem .35rem; }
  .hero-facts div + div { padding-left: .8rem; }
  .hero-facts strong, .hero-facts span { display: block; }
  .hero-facts strong { font-size: 1.65rem; }
  .hero-facts span { margin-top: .2rem; font-size: .55rem; }
  .section { width: calc(100% - 32px); padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 34px; }
  .menu-card { grid-template-columns: 40px 1fr; }
  .menu-card.featured::after { display: none; }
  .menu-title { gap: 1rem; }
  .menu-title h3 { font-size: 1.4rem; }
  .menu-note { margin-left: 56px; }
  .story { grid-template-columns: 1fr; }
  .story-copy, .story-points { padding: 72px 24px; }
  .story-points { padding-top: 48px; padding-bottom: 48px; }
  .visit { min-height: 500px; }
  .stamp { position: static; margin-top: 2rem; }
  footer { grid-template-columns: 1fr auto; padding-block: 32px; }
  footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
