/* Final visual refinement layer for the public experience.
   Loaded last so the design system stays consistent without destabilising base components. */

/* Premium brand treatment */
.brand.brand--premium {
  min-width: 0;
  gap: 0;
}

.brand.brand--premium .brand-mark,
.brand.brand--premium .brand-name {
  display: none !important;
}

.brand-logo {
  display: block;
  width: clamp(150px, 13vw, 198px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgb(0 0 0 / 22%));
}

.footer-brand .footer-logo {
  display: block;
  width: min(250px, 100%) !important;
  height: auto !important;
  margin: 0 0 18px;
  padding: 0;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-footer .footer-grid {
  align-items: start;
}

.site-footer .footer-brand p {
  max-width: 22ch;
  margin-top: 0;
  color: rgb(242 231 213 / 68%);
  line-height: 1.45;
}

/* Refined interaction without sacrificing readability. */
.pizza-card,
.public-offer,
.contact-card {
  transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease;
}

@media (hover: hover) {
  .pizza-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgb(44 29 20 / 12%);
  }
}

.menu-item-card.is-unavailable {
  opacity: 1 !important;
}

.menu-item-card.is-unavailable .pizza-card__media img {
  opacity: .58;
  filter: grayscale(.18) saturate(.7);
}

.menu-item-card.is-unavailable .pizza-card__body {
  color: inherit;
}

/* Never expose the obsolete Visit & contact homepage component while the live hours renderer mounts. */
[data-business-section] {
  display: none !important;
}

/* The homepage and Contact page share the same hours layout, but Home stays deliberately unmarked. */
.homepage-hours-section {
  isolation: isolate;
}

.homepage-hours-section .contact-hours-grid {
  align-items: start;
}

.homepage-hours-section .contact-hours-card {
  min-width: 0;
}

.homepage-hours-section .hours-row dt,
.homepage-hours-section .hours-row dd {
  min-width: 0;
}

.homepage-hours-section .hours-row dt > span {
  display: none !important;
}

.homepage-hours-section .hours-row.is-today dt,
.homepage-hours-section .hours-row.is-today dd {
  color: #d9cfc5 !important;
  font-weight: 400 !important;
}

/* Bring the Menu visit block into the same visual family as Contact. */
.menu-business {
  padding-block: 92px !important;
  color: #fff !important;
  background: #17120f !important;
}

.menu-business .business-grid {
  grid-template-columns: minmax(280px, .75fr) minmax(440px, 1.25fr);
  gap: 90px;
  align-items: start;
}

.menu-business .business-grid > div:first-child {
  max-width: 560px;
}

.menu-business .business-grid h2 {
  margin-top: .08em;
  font-size: clamp(3.4rem, 5.7vw, 6.2rem);
  line-height: .88;
}

.menu-business .business-grid h3 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 3.4vw, 3.5rem);
  line-height: .95;
}

.menu-business .business-grid > div:first-child > p:not(.eyebrow),
.menu-business address,
.menu-business .business-grid > div:last-child > p {
  color: #c7baae !important;
  line-height: 1.7;
}

.menu-business .public-hours {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
  border-top: 1px solid #4a4039;
}

.menu-business .public-hours dt,
.menu-business .public-hours dd {
  margin: 0;
  padding: 18px 2px;
  border-bottom: 1px solid #40372f !important;
  color: #d9cfc5 !important;
  font-size: .86rem;
}

.menu-business .public-hours dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}

.menu-business .public-hours dd {
  text-align: right;
}

.menu-business .public-hours dt.is-today,
.menu-business .public-hours dd.is-today {
  color: #fff !important;
  font-weight: 750;
}

.menu-today-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: #f0582b;
  font-size: .51rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.menu-business .business-links .button {
  color: #fff;
  border-color: rgb(255 255 255 / 24%);
  background: rgb(255 255 255 / 5%);
}

.menu-business .business-links .button:hover {
  border-color: rgb(255 255 255 / 52%);
  background: rgb(255 255 255 / 10%);
}

/* Storytelling imagery should remain cinematic, not disappear into black. */
.craft-frame img {
  filter: saturate(.94) brightness(.79) contrast(1.03);
}

.craft-vignette {
  background:
    linear-gradient(90deg, rgb(7 5 4 / 84%) 0 36%, rgb(7 5 4 / 24%) 70%, rgb(7 5 4 / 8%) 100%),
    linear-gradient(0deg, rgb(7 5 4 / 50%), transparent 42%, rgb(7 5 4 / 16%));
}

.craft-copy-card,
.craft-chapter:nth-child(even) .craft-copy-card {
  box-shadow: 0 20px 64px rgb(0 0 0 / 14%);
}

/* Slightly more deliberate section rhythm across wide screens. */
.section-heading__aside,
.story-side,
.deals-intro > p,
.faq-intro > p {
  max-width: 62ch;
}

.final-cta__media img {
  filter: saturate(.92) contrast(1.02);
}

@media (min-width: 1600px) {
  .footer-grid {
    grid-template-columns: minmax(300px, 1.35fr) repeat(3, minmax(170px, .65fr));
    gap: clamp(56px, 5vw, 100px);
  }

  .menu-business .business-grid,
  .homepage-hours-section .contact-hours-grid {
    gap: clamp(90px, 8vw, 150px);
  }
}

@media (max-width: 1040px) {
  .menu-business .business-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .menu-business .business-grid > div:first-child {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: 136px;
    max-height: 52px;
  }

  .footer-brand .footer-logo {
    width: min(220px, 76vw) !important;
    margin-bottom: 14px;
  }

  .site-footer .footer-brand p {
    max-width: 24ch;
  }

  /* Mobile storytelling gets its own art direction. */
  .craft-frame img {
    object-position: 58% center;
    filter: saturate(1.04) brightness(.94) contrast(1.01) !important;
  }

  .craft-vignette {
    background:
      linear-gradient(0deg, rgb(7 5 4 / 86%) 0 23%, rgb(7 5 4 / 44%) 45%, rgb(7 5 4 / 14%) 72%, rgb(7 5 4 / 4%) 100%) !important;
  }

  .craft-copy-card,
  .craft-chapter:nth-child(even) .craft-copy-card {
    border-left-color: rgb(240 90 36 / 82%);
    background: linear-gradient(90deg, rgb(7 5 4 / 84%) 0%, rgb(7 5 4 / 58%) 68%, rgb(7 5 4 / 16%) 100%) !important;
    backdrop-filter: blur(3px);
  }

  .craft-hud {
    color: rgb(255 255 255 / 82%);
  }

  .hero-media img {
    filter: saturate(.96) brightness(1.02) contrast(1.04);
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgb(5 4 3 / 84%) 0%, rgb(5 4 3 / 48%) 43%, rgb(5 4 3 / 20%) 76%, rgb(5 4 3 / 30%) 100%),
      linear-gradient(90deg, rgb(5 4 3 / 38%), transparent 72%);
  }

  .menu-business {
    padding-block: 66px !important;
  }

  .menu-business .business-grid {
    gap: 40px;
  }

  .menu-business .public-hours dt,
  .menu-business .public-hours dd {
    padding-block: 15px;
  }
}

@media (max-width: 680px) {
  .homepage-hours-section .hours-row,
  .menu-business .public-hours {
    grid-template-columns: 1fr;
  }

  .homepage-hours-section .hours-row {
    gap: 7px;
  }

  .menu-business .public-hours dt,
  .menu-business .public-hours dd {
    text-align: left;
  }

  .menu-business .public-hours dt {
    padding-bottom: 4px;
    border-bottom: 0 !important;
  }

  .menu-business .public-hours dd {
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 122px;
  }

  .craft-frame img {
    object-position: 60% center;
  }
}
