:root {
  --bg: #fff7ed;
  --paper: #ffffff;
  --ink: #221a17;
  --muted: #75635b;
  --line: #ecd8ca;
  --red: #c73725;
  --red-dark: #8f1f17;
  --orange: #f15b32;
  --gold: #ffc947;
  --cream: #fff1dc;
  --charcoal: #211a18;
  --shadow: 0 14px 30px rgba(143, 31, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 26, 24, 0.93), rgba(33, 26, 24, 0.52) 55%, rgba(33, 26, 24, 0.2)),
    image-set(
      url("assets/hero-pizza.webp") type("image/webp"),
      url("assets/hero-pizza.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: auto;
  padding: 62px 0 100px;
  color: #fff;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.top-links a {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--orange);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #17110f, 0 7px 18px rgba(0, 0, 0, 0.4);
}

h1 span {
  display: block;
  font-size: 1.13em;
}

.hero__text {
  max-width: 600px;
  margin: 18px 0 0;
  color: #fff4e5;
  font-size: 1.1rem;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 11px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
  text-decoration: none;
}

.button--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #241612;
}

main {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 28px));
  margin: -62px auto 0;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.info-strip article {
  min-height: 92px;
  padding: 17px;
  background: var(--paper);
}

.info-strip span,
.search span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-strip strong {
  display: block;
  margin-top: 7px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 24px;
}

.search input {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  border: 1px solid #dec4b2;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.notice-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.notice-list span {
  border-radius: 8px;
  padding: 7px 10px;
  background: #ffe1cf;
  color: var(--red-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 13px 0;
  margin-top: 12px;
  background: rgba(255, 247, 237, 0.96);
  backdrop-filter: blur(9px);
}

.category-nav a {
  flex: 0 0 auto;
  border: 1px solid #e4c7b6;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--red-dark);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.menu-root {
  padding: 8px 0 58px;
}

.menu-section {
  scroll-margin-top: 70px;
  padding-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  border-bottom: 3px solid var(--red);
  padding-bottom: 9px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.section-heading span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

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

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 84px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(33, 26, 24, 0.05);
}

.item-title {
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.item-number {
  flex: 0 0 auto;
  min-width: 30px;
  color: var(--red);
  font-weight: 900;
}

.item-name,
.item-price {
  font-weight: 900;
}

.item-desc {
  margin: 6px 0 0 37px;
  color: var(--muted);
  font-size: 0.9rem;
}

.item-price {
  min-width: 78px;
  color: var(--red-dark);
  text-align: right;
  white-space: nowrap;
}

.empty,
.loading {
  margin: 26px 0 70px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(16px, calc((100vw - 1120px) / 2));
  background: var(--charcoal);
  color: #fff7ed;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer span {
  color: #ffcf8a;
}

@media (max-width: 900px) {
  .info-strip,
  .toolbar,
  .items {
    grid-template-columns: 1fr;
  }

  .notice-list {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 500px;
  }

  .hero__content {
    width: calc(100% - 24px);
    padding: 48px 0 94px;
  }

  .button {
    width: 100%;
  }

  main {
    width: min(100% - 20px, 680px);
  }

  .menu-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .item-price {
    margin-left: 37px;
    text-align: left;
  }

  .section-heading {
    display: block;
  }

  .section-heading span {
    display: block;
    margin-top: 3px;
  }

  .footer {
    display: grid;
  }
}
