/* Moe's — shared pieces for options 4 to 6: nav logo, pizza photo, hours bits, special, menu strip. */

/* ---------- Nav logo, top left ---------- */
.nav__logo { display: block; flex: none; }
.nav__logo img { width: 11rem; }
/* On red the logo hangs from the top edge on a white sign, so the red letters stay readable */
.nav.on-red .nav__logo { margin-top: -1.125rem; padding: 1.5rem 1.125rem 0.75rem; background: var(--white); border: var(--line) solid var(--ink); border-top: 0; border-radius: 0 0 1.5rem 1.5rem; box-shadow: var(--pop); transform-origin: 50% 0; animation: sign .9s var(--ease-bounce) both; }
@keyframes sign { from { transform: translateY(-110%); } }
@media (max-width: 61.99em) { .nav__logo img { width: 7.75rem; } .nav.on-red .nav__logo { padding: 1.375rem 0.75rem 0.5rem; border-radius: 0 0 1.125rem 1.125rem; } }

/* ---------- Pizza photo ---------- */
.pizza { filter: drop-shadow(0 1.1rem 0.7rem rgba(35,31,32,.38)); }
.pizza img { width: 100%; height: auto; aspect-ratio: 1; }
.pizza--spin img { animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Status dot ---------- */
.dot { flex: none; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: #9b9697; border: 0.125rem solid var(--ink); }
[data-state="open"] .dot { background: var(--yellow); }
[data-state="buffet"] .dot { background: #35b24a; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(53,178,74,.6); } to { box-shadow: 0 0 0 0.7rem rgba(53,178,74,0); } }

/* ---------- Hours A: one-line status bar ---------- */
.statusbar { display: block; text-decoration: none; background: var(--white); border-bottom: var(--line) solid var(--ink); }
.statusbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding-block: 1.125rem; font-size: 1.25rem; }
.statusbar b { font-weight: 800; font-size: 1.5rem; }
.statusbar u { margin-left: auto; font-weight: 700; text-decoration-thickness: 0.125rem; text-underline-offset: 0.2em; }
.statusbar:hover u { text-decoration-color: var(--red); color: var(--red); }
@media (max-width: 47.99em) { .statusbar u { margin-left: 0; width: 100%; } .statusbar__inner { font-size: 1.0625rem; } }

/* ---------- Hours B: today's list ---------- */
.today { padding-block: 3rem 0; }
.today__inner { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: center; }
.today__head { display: grid; gap: 0.25rem; }
.today__head p { display: flex; align-items: center; gap: 0.6em; font-weight: 700; }
.today__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; }
.today__list li { position: relative; display: grid; gap: 0.1rem; padding: 0.9rem 1.25rem; border: var(--line) solid var(--ink); border-radius: 1.125rem; background: var(--white); }
.today__list b { font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.today__list .is-done { color: #7c7778; border-color: #b9b5b6; }
.today__list .is-live { background: var(--yellow); box-shadow: var(--pop); }
.today__list em { position: absolute; top: -0.8rem; right: 0.9rem; font-style: normal; font-weight: 800; font-size: 0.875rem; background: var(--red); color: var(--white); border: 0.125rem solid var(--ink); border-radius: 62.5rem; padding: 0 0.6em; }
@media (max-width: 61.99em) { .today__inner { grid-template-columns: 1fr; } .today__list { grid-auto-flow: row; } }

/* ---------- Hours C: the week in three cards ---------- */
.week { padding-block: 3rem; }
.week__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.25rem; }
.week__head p { display: flex; align-items: center; gap: 0.6em; font-weight: 700; font-size: 1.25rem; }
.week__head a { font-weight: 700; text-decoration-thickness: 0.125rem; text-underline-offset: 0.2em; }
.week__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.week__grid li { position: relative; display: grid; gap: 0.15rem; padding: 1.25rem 1.5rem; border: var(--line) solid var(--ink); border-radius: 1.25rem; background: var(--white); }
.week__grid small { font-size: 1rem; font-weight: 700; color: var(--red); }
.week__grid b { font-weight: 800; font-size: 1.625rem; line-height: 1.1; }
.week__grid span { font-size: 1.25rem; }
.week__grid i { font-style: normal; font-weight: 800; }
.week__grid .is-live { background: var(--yellow); box-shadow: var(--pop); }
.week__grid .is-live::after { content: "On now"; position: absolute; top: -0.8rem; right: 1rem; font-weight: 800; font-size: 0.875rem; background: var(--red); color: var(--white); border: 0.125rem solid var(--ink); border-radius: 62.5rem; padding: 0 0.6em; }
.week__note { margin-top: 1rem; font-size: 1rem; }
@media (max-width: 61.99em) { .week__grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- This month's special ---------- */
.special { padding-block: 5rem 7rem; overflow: hidden; }
.special__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: center; row-gap: 3rem; }
.special__art { grid-column: 1 / span 7; position: relative; aspect-ratio: 7 / 5; }
.special__copy { grid-column: 9 / -1; display: grid; gap: 1.25rem; justify-items: start; }
.special__month { font-weight: 800; font-size: 1.5rem; color: var(--red); }
.special--flip .special__art { grid-column: 6 / -1; grid-row: 1; }
.special--flip .special__copy { grid-column: 1 / span 4; grid-row: 1; }

.special__art .ph { position: absolute; }
.sp-drink { left: 38%; top: 0; width: 26%; height: 72%; border-radius: 0.75rem 0.75rem 2rem 2rem; }
.sp-sandwich { left: 4%; bottom: 0; width: 56%; height: 56%; border-radius: 45% 45% 2.5rem 2.5rem; }
.sp-fries { right: 4%; bottom: 0; width: 38%; height: 44%; border-radius: 1.5rem 3rem 1.5rem 1.5rem; }
.sp-floor { position: absolute; left: 0; right: 0; bottom: -1.25rem; height: 2.5rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(35,31,32,.2), transparent); }
.sp-burst { position: absolute; left: -3%; top: -4%; width: 34%; aspect-ratio: 1; display: grid; place-items: center; rotate: -12deg; }
.sp-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-burst .bubble { font-size: 2.6rem; }

/* Pop in once, in order, when the section is reached */
.special__art > * { opacity: 0; transform: translateY(2.5rem) scale(.85); }
.special__art.is-in > * { opacity: 1; transform: none; transition: opacity .3s, transform .65s var(--ease-bounce); }
.special__art.is-in > .sp-sandwich { transition-delay: .12s; }
.special__art.is-in > .sp-fries { transition-delay: .24s; }
.special__art.is-in > .sp-burst { transition-delay: .5s; animation: tick 3.2s ease-in-out 1.4s infinite; }
@keyframes tick { 0%, 100% { rotate: -12deg; } 50% { rotate: -6deg; } }

.special--red { background: var(--red); color: var(--white); }
.special--red .special__month { color: var(--yellow); }
.special--red .ph { border-color: var(--ink); }

@media (max-width: 61.99em) {
  .special { padding-block: 3.5rem 5rem; }
  .special .special__art, .special .special__copy { grid-column: 1 / -1; grid-row: auto; }
  .sp-burst .bubble { font-size: 1.7rem; }
}

/* ---------- What we have: sideways menu strip ---------- */
.have { padding-block: 5rem 7rem; }
.have--mist { background: var(--mist); }
.have__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.strip { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 1.75rem; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
@media (min-width: 82em) { .strip { padding-inline: calc((100vw - 82rem) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - 82rem) / 2 + var(--gutter)); } }
.panel { flex: none; width: 19rem; scroll-snap-align: start; display: grid; grid-template-rows: auto auto auto 1fr auto; border: var(--line) solid var(--ink); border-radius: 1.5rem; overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--pop); transition: transform .25s var(--ease-bounce); }
.panel:hover { transform: translateY(-0.5rem) rotate(-1deg); }
.panel:nth-child(even):hover { transform: translateY(-0.5rem) rotate(1deg); }
.panel:nth-child(even) { background: var(--red); color: var(--white); }
.panel .checker-band { --check: 0.625rem; border-bottom: var(--line) solid var(--ink); }
.panel__ph { width: 11rem; margin: 1.5rem auto 1rem; transition: transform .5s var(--ease-out); }
.panel:hover .panel__ph { transform: rotate(18deg) scale(1.05); }
.panel__ph--tall { width: 7rem; height: 11rem; border-radius: 45% 45% 1.5rem 1.5rem; }
.panel__ph--wide { height: 11rem; width: 14rem; border-radius: 5rem 5rem 2rem 2rem; }
.panel__ph.pizza { filter: drop-shadow(0 0.5rem 0.35rem rgba(35,31,32,.3)); }
.panel h3 { padding-inline: 1.5rem; font-size: 2rem; }
.panel ul { list-style: none; margin: 1rem 0 0; padding: 0 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
.panel li { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; border-bottom: 0.125rem dotted currentColor; padding-bottom: 0.4rem; }
.panel li b { font-weight: 800; }
.panel__more { padding: 1.25rem 1.5rem 1.5rem; font-weight: 800; text-decoration: underline; text-decoration-thickness: 0.125rem; text-underline-offset: 0.2em; }

/* ---------- Phone polish ---------- */
@media (max-width: 47.99em) {
  .address { font-size: 1.1875rem; }
  .lede { font-size: 1.125rem; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 11rem; }
  .statusbar b { font-size: 1.25rem; width: calc(100% - 2rem); }
  .week { padding-block: 2.25rem 2.5rem; }
  .week__head p { flex-wrap: wrap; font-size: 1.0625rem; }
  .week__head p b { font-size: 1.25rem; width: calc(100% - 2rem); }
  .week__grid li { padding: 1rem 1.25rem; }
  .week__grid b { font-size: 1.375rem; }
  .week__grid span { font-size: 1.125rem; }
  .today { padding-top: 2.25rem; }
  .special { padding-block: 3rem 3.5rem; }
  .special__grid { row-gap: 2rem; }
  .special__art { aspect-ratio: 4 / 3; margin-top: 0.75rem; }
  .have { padding-block: 3.5rem 5.5rem; }
  .have__head { margin-bottom: 1.5rem; gap: 1rem; }
  .have__head .btn { display: none; }
  .panel { width: 17.5rem; }
  .panel h3 { font-size: 1.625rem; }
}

/* ---------- Real photos in the special and the menu strip ---------- */
/* Special: each food is its own layer so it can pop in, with shadows painted per layer.
   ::before = soft shadow on the counter. ::after = shadow the sandwich casts on the thing behind it, clipped to that photo's shape. */
.special__art .sp-item { position: absolute; isolation: isolate; border-radius: 0; }
.sp-item img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.sp-item::before { content: ""; position: absolute; z-index: -1; left: 2%; right: 2%; bottom: -5%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(35,31,32,.68), rgba(35,31,32,.3) 60%, transparent); filter: blur(0.25rem); }
.sp-item::after { content: ""; position: absolute; inset: 0; -webkit-mask: var(--m) 50% 100% / contain no-repeat; mask: var(--m) 50% 100% / contain no-repeat; pointer-events: none; }
.special__art .sp-drink { z-index: 1; left: 37%; top: 0; width: 27%; height: 80%; }
.sp-drink::before { left: 8%; right: 8%; height: 9%; bottom: -3%; }
.sp-drink::after { background: linear-gradient(to top, rgba(20,12,8,.85), rgba(20,12,8,.52) 20%, transparent 46%); }
.special__art .sp-fries { z-index: 3; left: 45%; bottom: 2%; width: 55%; height: 44%; }
.sp-fries::before { height: 30%; bottom: -12%; }
.sp-fries::after { background: linear-gradient(to right, rgba(20,12,8,.84), rgba(20,12,8,.46) 20%, transparent 46%); }
.special__art .sp-sandwich { z-index: 4; left: 0; bottom: 0; width: 60%; height: 62%; }
.sp-sandwich::before { left: 6%; right: 6%; height: 20%; bottom: -7%; }
.sp-sandwich::after { content: none; }
.special__art .sp-spicy { position: absolute; z-index: 2; left: 1%; top: 10%; width: 37%; height: auto; rotate: -4deg; filter: drop-shadow(0 0.2rem 0.15rem rgba(35,31,32,.35)); }
.special__art .sp-burst { z-index: 5; left: auto; right: -2%; top: -6%; rotate: 10deg; }
.special__art.is-in > .sp-fries { transition-delay: .12s; }
.special__art.is-in > .sp-sandwich { transition-delay: .24s; }
.special__art.is-in > .sp-spicy { transition-delay: .4s; }
.special__art.is-in > .sp-burst { animation-name: tick-r; }
@keyframes tick-r { 0%, 100% { rotate: 10deg; } 50% { rotate: 4deg; } }
.sp-floor { display: none; }
@media (max-width: 61.99em) { .special__art .sp-burst .bubble { font-size: clamp(1.7rem, 5.6vw, 2.6rem); } }
.panel__img { object-fit: contain; filter: drop-shadow(0 0.5rem 0.35rem rgba(35,31,32,.3)); }
.panel:hover .panel__img { transform: rotate(-4deg) scale(1.06); }

/* ---------- Hours C status line: one big answer, then the detail ---------- */
/* Three clearly different levels: the answer (big, heavy, with its light), the detail (regular weight), the link. */
.week__head { align-items: end; margin-bottom: 1.5rem; }
.week__head p { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.75rem; row-gap: 0.3rem; margin: 0; font-weight: 400; font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.3; }
.week__head p b { width: auto; font-weight: 800; font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.05; }
.week__head p > span:last-child { grid-column: 2; }
.week__head .dot { width: clamp(1.125rem, 2.4vw, 1.5rem); height: clamp(1.125rem, 2.4vw, 1.5rem); border-width: 0.1875rem; }
[data-state="closed"] .dot { background: var(--red); }
.week__head a { font-size: 1.125rem; }
