/* ==========================================================================
   Sir Pizza of Kentucky — site styles
   Palette: warm cream ground, heraldic crimson, crown gold.
   Type:    Alfa Slab One (display) over Archivo (body).
   ========================================================================== */

:root {
  --cream:     #FBF4E6;
  --paper:     #FFFDF7;
  --ink:       #1B1410;
  --ink-2:     #2A201A;
  --ink-soft:  #4A3B30;
  --ink-mute:  #7A6555;
  --on-dark:   #E7D9C0;
  --on-dark-2: #C7B69C;
  --on-dark-3: #A8967C;
  --rule:      #E4D6BC;
  --rule-dark: #4A3B30;

  --red:       #C0102B;
  --red-deep:  #8C0A1F;
  --gold:      #E5A823;
  --green:     #3E7C3A;
  --grey:      #9A8873;

  --shadow:    4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --pad:       clamp(18px, 5vw, 96px);
  --gap:       clamp(16px, 2.2vw, 28px);
  --radius:    18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--red-deep); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: 'Alfa Slab One', Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.wrap { padding-inline: var(--pad); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.eyebrow--gold { color: var(--gold); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--pad);
  top: 10px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 30px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}
.btn--primary {
  background: var(--red);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.btn--primary:hover { color: var(--paper); background: var(--red-deep); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.btn--gold:hover { color: var(--ink); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

/* ---------------------------------------------------------- utility bar */

.util {
  background: var(--ink);
  color: #F5E9D2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.util__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 8px;
}
.util__right { display: flex; align-items: center; gap: 24px; }
.util a { color: #F5E9D2; }
.util a:hover { color: var(--gold); }
.util__note { color: var(--gold); }

/* --------------------------------------------------------------- header */

.masthead {
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__name {
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1;
}
.brand__sub {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 12px 15px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 3px solid transparent;
}
.nav__link:hover { color: var(--red-deep); }
.nav__link[aria-current="page"] {
  color: var(--red-deep);
  font-weight: 700;
  border-bottom-color: var(--red);
}
.nav__cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

/* ----------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 78px);
  border-bottom: 2px solid var(--ink);
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  margin-block: 18px 16px;
}
.hero__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero__art { justify-self: center; width: min(420px, 100%); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--grey);
  flex-shrink: 0;
}
.dot--open { background: var(--green); }

/* ---------------------------------------------------------------- bands */

.band { padding-block: clamp(44px, 5vw, 64px); }
.band--dark { background: var(--ink); color: var(--cream); }
.band--dark h2 { color: var(--cream); }
.band--red { background: var(--red-deep); color: var(--cream); border-bottom: 2px solid var(--ink); }
.band--paper { background: var(--paper); border-block: 2px solid var(--ink); }

.band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.band__head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.band__link {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  background: var(--ink);
  padding-block: clamp(30px, 3.4vw, 42px);
}
.stat { border-left: 2px solid var(--rule-dark); padding-left: 22px; }
.stat__num {
  display: block;
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
}

/* feature */
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}
.feature__seal { width: min(300px, 60vw); }
.feature h2 { font-size: clamp(32px, 4vw, 54px); margin-block: 16px 16px; }
.feature p { color: #F3DED0; max-width: 62ch; }

.ladder { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ladder__rung {
  width: 104px;
  padding: 13px 0;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.ladder__size {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.ladder__price {
  display: block;
  margin-top: 4px;
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: 21px;
  color: var(--ink);
}

/* ------------------------------------------------------------- controls */

.sizer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.chip {
  min-height: 50px;
  padding: 12px 26px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.chip:hover { background: var(--rule); }
.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--red);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 32px);
  padding: 24px 28px;
  background: var(--ink);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.control-bar__group { display: flex; flex-direction: column; gap: 11px; }
.control-bar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.control-bar .sizer { margin: 0; }
.control-bar .chip {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: none;
  min-height: 46px;
  padding: 11px 22px;
  font-size: 15px;
}
.control-bar .chip:hover { background: var(--ink-2); }
.control-bar .chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.control-bar__note {
  flex: 1 1 260px;
  font-size: 14px;
  color: var(--on-dark-2);
}
.control-bar__rule { width: 2px; align-self: stretch; background: var(--rule-dark); }

/* ---------------------------------------------------------------- cards */

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  padding: 26px 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card h3 { font-size: clamp(19px, 1.7vw, 25px); }
.card__desc {
  margin-top: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex-grow: 1;
}
.card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--rule);
  margin-top: 18px;
  padding-top: 15px;
}
.tag {
  flex-shrink: 0;
  padding: 6px 11px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price {
  display: block;
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  color: var(--red);
}
.price--king { font-size: 21px; color: var(--ink); }

.mini {
  padding: 22px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 176px;
}
.mini h3 { font-size: 19px; }
.mini p { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); flex-grow: 1; }
.mini__from { font-size: 13px; font-weight: 700; color: var(--red-deep); }

.special {
  padding: 22px;
  background: var(--ink-2);
  border: 2px solid var(--gold);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 168px;
}
.special h3 { font-size: 18px; color: var(--cream); }
.special p { font-size: 13px; line-height: 1.5; color: var(--on-dark-2); flex-grow: 1; }
.special__price { font-family: 'Alfa Slab One', Georgia, serif; font-size: 26px; color: var(--gold); }

/* ------------------------------------------------------------ menu page */

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
  padding-block: clamp(36px, 4vw, 56px) 32px;
}
.page-head h1 { font-size: clamp(34px, 4.4vw, 58px); margin-block: 14px 14px; }
.page-head p { font-size: 17px; color: var(--ink-soft); max-width: 62ch; }
.page-head__aside {
  width: 300px;
  padding: 20px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-block: 16px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 40px;
}
.tabs .chip { min-height: 46px; padding: 10px 17px; font-size: 14px; }

.menu-panel[hidden] { display: none; }

.base-grid { margin-bottom: 44px; }
.base-card {
  padding: 20px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.base-card__name { font-family: 'Alfa Slab One', Georgia, serif; font-size: 19px; }
.base-card__note { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.base-card .price { white-space: nowrap; }

.group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px;
}
.group__head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.group__note { font-size: 14px; font-style: italic; color: var(--ink-mute); }
.group__fine { margin-top: 16px; font-size: 14px; color: var(--ink-mute); }
.group + .group { margin-top: 46px; }

.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
}
.item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}
.item__body { flex-grow: 1; }
.item__name { font-size: 17px; font-weight: 700; }
.item__desc { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-top: 4px; }
.item__price {
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: 20px;
  color: var(--red);
  white-space: nowrap;
}

.toppings-note {
  margin-top: 36px;
  padding: 26px 30px;
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
}
.toppings-note h3 { font-size: 22px; }
.toppings-note p { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

/* --------------------------------------------------------- builder page */

.builder {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.step + .step { margin-top: 34px; }
.step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.step__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.step__hint { font-size: 14.5px; color: var(--ink-soft); }
.linkish {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-deep);
  cursor: pointer;
  text-decoration: underline;
}

.toppings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.topping {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.topping:has(input:checked) { background: var(--gold); }
.topping input { width: 19px; height: 19px; accent-color: var(--red); cursor: pointer; flex-shrink: 0; }

.summary {
  position: sticky;
  top: 108px;
  padding: 30px 32px;
  background: var(--ink);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.summary h2 { font-size: 30px; color: var(--cream); margin-top: 10px; }
.summary__toppings { font-size: 14.5px; color: var(--on-dark-2); margin-top: 10px; }
.summary__lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-block: 2px solid var(--rule-dark);
  padding-block: 20px;
}
.summary__line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.summary__line span:first-child { font-size: 14.5px; color: var(--on-dark); }
.summary__line span:last-child { font-size: 15px; font-weight: 700; color: var(--cream); white-space: nowrap; }
.summary__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.summary__total dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.summary__total dd {
  margin: 0;
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1;
  color: var(--gold);
}
.summary__tip {
  padding: 16px 18px;
  background: var(--ink-2);
  border: 2px solid var(--gold);
  border-radius: 14px;
}
.summary__tip[hidden] { display: none; }
.summary__tip strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.summary__tip p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--on-dark); }
.summary__fine { font-size: 12.5px; line-height: 1.55; color: var(--on-dark-3); }

/* ------------------------------------------------------- locations page */

.loc-card {
  padding: 26px 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.loc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: #F0E7D6;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill--open { background: #E4F0DF; }
.loc-card h2 { font-size: 26px; margin-top: 16px; }
.loc-card__addr { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.loc-card__hours {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--rule);
  flex-grow: 1;
}
.loc-card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.loc-card__row + .loc-card__row { margin-top: 6px; }
.loc-card__row b { color: var(--ink); }
.loc-card__next { margin-top: 10px; font-size: 13px; font-style: italic; color: var(--ink-mute); }
.loc-card__cta { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.loc-card__cta .btn { flex: 1 1 auto; }

.loc-card--promo {
  background: var(--red-deep);
  color: var(--cream);
  justify-content: space-between;
  gap: 20px;
}
.loc-card--promo h2 { color: var(--cream); }
.loc-card--promo p { font-size: 15px; color: #F3DED0; }

/* --------------------------------------------------------------- footer */

.footer { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(40px, 4.5vw, 54px); }
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}
.footer__about { max-width: 420px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand span { font-family: 'Alfa Slab One', Georgia, serif; font-size: 23px; color: var(--cream); }
.footer__about p { margin-top: 18px; font-size: 14.5px; line-height: 1.65; }
.footer__cols { display: flex; gap: clamp(32px, 5vw, 72px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 {
  font-family: Archivo, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.footer__col a { color: var(--on-dark); font-size: 14.5px; padding-block: 3px; }
.footer__col a:hover { color: var(--gold); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 2px solid var(--rule-dark);
  margin-top: 34px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--on-dark-3);
}

/* ---------------------------------------------------------- order strip */

.order-bar { display: none; }

/* ---------------------------------------------------------- breakpoints */

@media (max-width: 1180px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) 22px;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
  }
  .nav.is-open .nav__link {
    padding: 15px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open .nav__cta { margin: 16px 0 0; }
  .nav-toggle { display: flex; }
  .masthead__inner { position: relative; }

  .hero { grid-template-columns: 1fr; }
  .hero__art { grid-row: 1; width: min(300px, 70%); }
  .feature { grid-template-columns: 1fr; text-align: left; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head__aside { width: 100%; }
  .control-bar__rule { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid--3, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .items { grid-template-columns: 1fr; }
  .toppings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .util__inner { font-size: 11px; }
  .util__note { display: none; }
}

@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .toppings { grid-template-columns: 1fr; }
  .card, .loc-card { box-shadow: var(--shadow); }
  .hero__cta .btn { flex: 1 1 100%; }
  .ladder__rung { flex: 1 1 88px; width: auto; }
  .footer__legal { flex-direction: column; gap: 8px; }

  /* sticky order bar on phones */
  body { padding-bottom: 76px; }
  .order-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    align-items: center;
    gap: 10px;
    height: 76px;
    padding-inline: 16px;
    background: var(--ink);
    border-top: 2px solid var(--gold);
  }
  .order-bar .btn { flex-grow: 1; border-color: var(--ink); }
  .order-bar__icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
  }
}

@media print {
  .util, .masthead, .order-bar, .hero__art, .band__link { display: none; }
  body { background: #fff; }
  .card, .loc-card { box-shadow: none; break-inside: avoid; }
  .menu-panel[hidden] { display: block !important; }
}

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

/* Fallback for browsers without :has() — site.js mirrors the checked state. */
.topping.is-checked { background: var(--gold); }

/* ----------------------------------------------------- store picker
   Replaces a single hardcoded phone number in the utility bar, so
   nobody taps "call" and reaches a store on the other side of town. */

/* The masthead is sticky with z-index 40; lift the bar above it so the
   dropdown is not painted underneath. */
.util { position: relative; z-index: 50; }

.storepick { position: relative; }

.storepick__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 12px;
  border: 1.5px solid #6B5A48;
  border-radius: 999px;
  color: #F5E9D2;
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
}
.storepick__toggle::-webkit-details-marker { display: none; }
.storepick__toggle::marker { content: ''; }
.storepick__toggle:hover { border-color: var(--gold); color: var(--gold); }
.storepick[open] .storepick__toggle { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.storepick__chev { transition: transform .15s ease; }
.storepick[open] .storepick__chev { transform: rotate(180deg); }

.storepick__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  width: 288px;
  padding: 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  /* the bar is uppercase and letter-spaced; the menu should not be */
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.storepick__head {
  padding: 8px 12px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
}
.storepick__menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
}
.storepick__menu a:hover,
.storepick__menu a:focus-visible { background: var(--cream); color: var(--ink); }
.storepick__menu b { font-weight: 700; }
.storepick__menu span { font-size: 13px; color: var(--red-deep); white-space: nowrap; }
.storepick__all {
  margin-top: 4px;
  border-top: 1px solid var(--rule);
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  color: var(--red-deep) !important;
}

@media (max-width: 600px) {
  /* anchor to the bar rather than the toggle so it cannot run off-screen */
  .storepick { position: static; }
  .storepick__menu { right: var(--pad); left: var(--pad); width: auto; }
}
