:root {
  --charcoal: #171817;
  --charcoal-soft: #232321;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --red: #df3825;
  --red-dark: #b92c1d;
  --orange: #f26736;
  --ink: #242321;
  --muted: #716d65;
  --line: #ddd5c8;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
}

button,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid #ff8b72;
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(5vw, 24px);
  color: #fff;
  background: var(--charcoal);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 900 23px/.78 "Barlow Condensed", sans-serif;
  letter-spacing: -.5px;
}

.brand-mark {
  color: var(--red);
  font-size: 32px;
  transform: rotate(25deg);
}

.brand i {
  color: var(--red);
  font-style: normal;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font: 700 8px "DM Sans", sans-serif;
  letter-spacing: 3px;
  text-align: center;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-self: stretch;
  font: 700 12px "Barlow Condensed", sans-serif;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.main-nav a {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .active {
  color: #ff684e;
  border-color: var(--red);
}

.cart-button {
  padding: 10px 13px;
  color: #fff;
  background: transparent;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.cart-button:hover {
  border-color: #fff;
}

.cart-button b {
  margin-left: 5px;
  padding: 2px 6px;
  color: #fff;
  background: var(--red);
  border-radius: 20px;
  font-size: 11px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) 1.15fr;
  min-height: 480px;
  padding-left: max(8vw, 28px);
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.hero-copy {
  z-index: 1;
  align-self: center;
  padding: 56px 20px 56px 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: #fff;
  font: italic 700 17px "Barlow Condensed", sans-serif;
  letter-spacing: .5px;
}

.eyebrow.red {
  color: var(--red);
  font-size: 14px;
  font-style: normal;
  text-transform: uppercase;
}

.hero h1,
h2 {
  margin: 0;
  font: 900 clamp(54px, 7vw, 92px)/.83 "Barlow Condensed", sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.hero h1 em {
  color: #f7eee1;
  font-style: normal;
}

.hero-text {
  max-width: 350px;
  margin: 22px 0;
  color: #c9c5bd;
  font-size: 13px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 13px 18px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.button-light {
  color: #fff;
  background: var(--red);
}

.button-light:hover {
  background: #f04b35;
}

.hero-notes {
  display: flex;
  gap: 18px;
  margin-top: 38px;
  color: var(--red);
  font-size: 19px;
}

.hero-notes span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-notes b {
  color: #c8c3b9;
  font: 8px/1.2 "DM Sans", sans-serif;
  text-transform: uppercase;
}

.hero-pizza {
  min-height: 480px;
  background:
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, .35) 72%),
    radial-gradient(circle at 37% 35%, #e8b064 0 3%, transparent 3.5%),
    radial-gradient(circle at 65% 30%, #c9321f 0 5%, transparent 5.5%),
    radial-gradient(circle at 55% 65%, #b92d1d 0 5%, transparent 5.5%),
    radial-gradient(circle at 30% 66%, #d64527 0 4%, transparent 4.5%),
    radial-gradient(ellipse, #e7b15f 0 52%, #6b321f 53% 58%, transparent 59%),
    radial-gradient(ellipse at center, #c14625, #281d17 70%);
  filter: saturate(1.1);
  transform: rotate(-8deg) scale(1.2);
}

.menu-section {
  padding: 64px max(5vw, 20px) 72px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(44px, 6vw, 65px);
}

.section-intro {
  margin: 9px 0 30px;
  color: var(--muted);
  font-size: 14px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto 34px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category {
  flex: 0 0 auto;
  padding: 11px 18px;
  color: #494641;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 21px;
}

.category span {
  display: block;
  margin-top: 5px;
  font: 700 10px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.category:hover,
.category.active {
  color: var(--red);
  background: var(--paper);
  box-shadow: 0 3px 12px #cfc8ba;
}

.pizza-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.pizza-card {
  padding: 9px 9px 15px;
  background: var(--paper);
  border: 1px solid rgba(221, 213, 200, .65);
  border-radius: 7px;
  box-shadow: 0 2px 8px #ded7ca;
}

.pizza-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px #d5cdbf;
}

.pizza-image {
  height: 145px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 28% 35%, #55a946 0 3%, transparent 3.5%),
    radial-gradient(circle at 65% 60%, #b82e1d 0 6%, transparent 6.5%),
    radial-gradient(circle at 50% 30%, #dc4824 0 5%, transparent 5.5%),
    radial-gradient(ellipse, #eab96c 0 52%, #71351f 53% 59%, transparent 60%),
    #c94925;
}

.pizza-card:nth-child(2) .pizza-image {
  filter: hue-rotate(-15deg) saturate(1.4);
}

.pizza-card:nth-child(3) .pizza-image {
  filter: hue-rotate(15deg) saturate(1.5);
}

.pizza-card:nth-child(4) .pizza-image {
  filter: hue-rotate(45deg);
}

.pizza-card h3 {
  margin: 12px 3px 3px;
  font: 800 20px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.pizza-card p {
  min-height: 31px;
  margin: 0 3px 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 3px;
}

.price {
  color: var(--red);
  font: 800 19px "Barlow Condensed", sans-serif;
}

.add-button {
  padding: 8px 9px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: 700 10px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.add-button:hover,
.add-button.added {
  background: var(--charcoal);
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

.promise {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto 58px;
  padding: 20px 30px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
}

.scooter {
  font-size: 43px;
}

.promise .eyebrow {
  font-size: 25px;
  text-transform: uppercase;
}

.promise p:not(.eyebrow) {
  margin: 0;
  font-size: 11px;
}

.delivery-time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 15px;
  color: var(--charcoal);
  background: #fff5e8;
  border-radius: 5px;
}

.delivery-time strong {
  font: 800 30px "Barlow Condensed", sans-serif;
}

.delivery-time span {
  font-size: 9px;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pizza-card {
    transition: none;
  }
}

@media (max-width: 960px) {
  .pizza-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
  }

  .hero {
    grid-template-columns: minmax(300px, .95fr) 1.05fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    display: block;
    position: relative;
    min-height: 520px;
    padding: 0 24px;
  }

  .hero-copy {
    position: relative;
    padding: 58px 0 35px;
  }

  .hero-pizza {
    position: absolute;
    inset: 95px -130px auto auto;
    width: 410px;
    height: 410px;
    min-height: 0;
    opacity: .36;
  }

  .hero h1 {
    font-size: 65px;
  }

  .hero-notes {
    gap: 10px;
  }

  .categories {
    justify-content: flex-start;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px 8px;
  }

  .promise {
    margin: 0 20px 40px;
    padding: 18px;
    gap: 12px;
  }

  .scooter {
    display: none;
  }
}

@media (max-width: 480px) {
  .menu-section {
    padding-top: 50px;
  }

  .pizza-grid {
    grid-template-columns: 1fr;
  }

  .pizza-image {
    height: 170px;
  }

  .cart-button {
    padding: 8px;
    font-size: 0;
  }

  .cart-button span,
  .cart-button b {
    font-size: 13px;
  }

  .hero-notes {
    display: none;
  }

  .promise {
    display: block;
  }

  .delivery-time {
    width: fit-content;
    margin: 12px 0 0;
    padding: 7px;
  }

  .delivery-time strong {
    font-size: 23px;
  }

  footer {
    gap: 12px;
    font-size: 10px;
  }
}
