:root {
  color-scheme: light;
  --navy: #102d42;
  --blue: #00658b;
  --red: #bf2240;
  --paper: #f5f8fa;
  --line: #d9e4ea;
  --muted: #41596a;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner, nav { display: flex; align-items: center; gap: .5rem; }
.header-inner { justify-content: space-between; min-height: 5rem; }
.brand img { display: block; max-width: 100%; height: auto; }
nav a { padding: .55rem .75rem; color: var(--navy); font-size: .875rem; font-weight: 650; text-decoration: none; border-radius: .35rem; }
nav a:hover, nav [aria-current] { background: #e9f4f8; color: var(--blue); }
.nav-toggle { padding: .5rem .8rem; font: inherit; font-weight: 650; color: var(--blue); background: white; border: 1px solid var(--line); border-radius: .35rem; cursor: pointer; }
[hidden] { display: none !important; }
main { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem); }
.eyebrow { margin: 0 0 .75rem; font-size: .875rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .75rem; }
h1 { max-width: 17ch; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.8rem); letter-spacing: -.024em; }
.intro { max-width: 55ch; font-size: 1.125rem; }
.cta { display: inline-block; margin-top: .4rem; background: var(--red); color: white; padding: .7rem 1.15rem; border-radius: .35rem; font-weight: 700; text-decoration: none; }
.cta:hover { background: #a41a34; }
.site-footer { background: var(--navy); color: white; padding-block: 2.75rem; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 1.75rem; }
.site-footer p, .site-footer a { color: #d6e4eb; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer h3 { font-size: 1rem; }
.site-footer a:hover { color: white; }
:focus-visible { outline: .2rem solid currentColor; outline-offset: .2rem; }
@media (max-width: 56rem) {
  .header-inner { flex-wrap: wrap; padding-block: .85rem; }
  nav { width: 100%; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; }
  nav a { padding: .45rem .6rem; }
}

/* Home */
.home-feature {
  display: grid;
  grid-template-columns: 2fr minmax(14rem, 1fr);
  overflow: hidden;
  border-radius: .65rem;
  background: var(--blue);
  color: white;
}
.home-lead { padding: clamp(1.5rem, 5vw, 4rem); }
.home-plan {
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--navy);
}
.home-routes { margin-top: 2.5rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.tiles article { border-top: .2rem solid var(--red); padding-top: 1rem; }

/* Location lookup */
.locator { display: grid; grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.locator-main section { margin-top: 2rem; }
.lookup dt { padding-top: .7rem; border-top: 1px solid var(--line); font-weight: 750; }
.lookup dd { margin: .2rem 0 1rem; color: var(--muted); }
.locator-check {
  align-self: start;
  padding: 1.5rem;
  border-radius: .5rem;
  background: #e6f1f6;
}
.locator-check ul { padding-left: 1.2rem; }
.locator-check li + li { margin-top: .65rem; }
.locator-check a { color: var(--blue); font-weight: 700; }

/* Online order */
.order-flow { max-width: 52rem; }
.order-heading { text-align: center; }
.order-heading :is(h1, .intro) { margin-inline: auto; }
.order-timeline {
  list-style: none;
  counter-reset: order-step;
  border-left: .15rem solid var(--line);
  margin: 2.5rem 0 2rem 1.2rem;
  padding: 0 0 0 2rem;
}
.order-timeline li { position: relative; counter-increment: order-step; padding-bottom: 1.5rem; }
.order-timeline li:last-child { padding-bottom: 0; }
.order-timeline li::before {
  content: counter(order-step);
  position: absolute;
  left: -3.28rem;
  top: -.2rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-weight: 750;
}
.order-finish { border-top: 1px solid var(--line); padding-top: 1rem; }

/* Search phrases */
.search-article { max-width: 54rem; }
.search-examples { margin-block: 2rem; }
.search-examples table { border-collapse: collapse; width: 100%; background: white; }
.search-examples :is(th, td) { padding: .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.search-examples thead { color: white; background: var(--navy); }
.search-examples tbody th { width: 36%; }
.search-footnote { border-left: .25rem solid var(--red); padding-left: 1rem; }

/* Carryout and delivery comparison */
.pizza-choice { max-width: 66rem; }
.choice-intro { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
.choice-grid article { padding: clamp(1.25rem, 4vw, 2.5rem); }
.choice-grid h3 { margin-top: 1.5rem; }
.carryout { background: #e6f1f6; border-top: .25rem solid var(--blue); }
.delivery { background: #fceef0; border-top: .25rem solid var(--red); }
.choice-note { margin-top: 1.5rem; display: grid; gap: 1rem; grid-template-columns: minmax(10rem, 1fr) 3fr; }
.choice-note :is(h2, p) { margin: 0; }

/* Menu */
.menu-board { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
.menu-heading { grid-row: span 2; padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--navy); color: white; border-radius: .5rem; }
.menu-board section { padding: 1.25rem; background: white; border: 1px solid var(--line); border-radius: .5rem; }
.menu-board dl { margin: 0; }
.menu-board dl div { padding-block: .65rem; border-top: 1px solid var(--line); }
.menu-board dl div:last-child { padding-bottom: 0; }
.menu-board dt { color: var(--blue); font-weight: 750; }
.menu-board dd { margin: .15rem 0 0; }
.menu-note { grid-column: 1 / -1; color: var(--muted); }

@media (max-width: 45rem) {
  .home-feature, .tiles, .locator, .choice-grid, .choice-note, .menu-board { grid-template-columns: 1fr; }
  .menu-heading { grid-row: auto; }
}

.menu-specialties { grid-column: 1 / -1; }
.menu-specialties ul {
  columns: 2 15rem;
  column-gap: 2rem;
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.menu-specialties li {
  break-inside: avoid;
  padding-block: .25rem;
}

.menu-pizza-art {
  display: block;
  width: min(100%, 23rem);
  height: auto;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  filter: drop-shadow(0 1rem 1.25rem #07192580);
}

@media (max-width: 45rem) {
  .menu-pizza-art { width: min(80%, 15rem); }
}
