:root {
  --detail-ink: #160f0a;
  --detail-cream: #f5eee5;
  --detail-paper: #fffaf4;
  --detail-gold: #c28a43;
  --detail-line: rgba(120, 82, 42, .2);
}

body.detail-page-body {
  min-width: 0;
  color: var(--detail-ink);
  background: var(--detail-cream);
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 8, 6, .96);
  border-bottom: 1px solid rgba(221, 182, 119, .25);
}

.detail-header .nav-shell {
  min-height: 70px;
}

.detail-header .brand-lockup img {
  width: 38px;
  height: 38px;
}

.detail-header .nav-links a {
  color: #f8e9d0;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: #23170d;
  border-radius: 999px;
  background: #e4b66f;
  font-weight: 900;
  white-space: nowrap;
}

.detail-page {
  overflow: hidden;
}

.detail-hero {
  position: relative;
  min-height: 350px;
  display: grid;
  align-items: end;
  color: #fff8ec;
  background: #1b120a;
}

.detail-hero-media,
.detail-hero-media::after {
  position: absolute;
  inset: 0;
}

.detail-hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(11, 8, 5, .82), rgba(11, 8, 5, .3) 58%, rgba(11, 8, 5, .1));
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 52px;
}

.detail-hero-copy span,
.detail-kicker {
  color: #e4b66f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.detail-hero-copy h1 {
  max-width: 700px;
  margin: 10px 0 10px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
}

.detail-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 248, 236, .78);
  font-size: 17px;
  line-height: 1.7;
}

.detail-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 68px;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 26px;
}

.detail-intro h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.detail-intro p {
  max-width: 700px;
  margin: 0;
  color: #6c5d4d;
  font-size: 16px;
  line-height: 1.75;
}

.detail-contact-card {
  padding: 18px 20px;
  border: 1px solid var(--detail-line);
  border-radius: 8px;
  background: var(--detail-paper);
}

.detail-contact-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.detail-contact-card a {
  color: #8a5c2d;
  font-weight: 900;
}

.detail-panel {
  padding: 28px;
  border: 1px solid var(--detail-line);
  border-radius: 8px;
  background: var(--detail-paper);
  box-shadow: 0 16px 38px rgba(92, 55, 22, .08);
}

.detail-panel > h2 {
  margin: 0 0 5px;
  font-size: 30px;
}

.detail-panel > p {
  margin: 0 0 22px;
  color: #6c5d4d;
  line-height: 1.6;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--detail-line);
  border-radius: 8px;
  background: var(--detail-paper);
}

.detail-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.detail-gallery figcaption {
  padding: 13px 14px 15px;
  color: #6c5d4d;
  font-size: 14px;
  line-height: 1.55;
}

.detail-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(20px, calc((100% - 1120px) / 2));
  color: rgba(255, 248, 236, .72);
  background: #0b0907;
  font-size: 13px;
}

.detail-footer a {
  color: #e4b66f;
  font-weight: 900;
}

.detail-page-body .menu-builder-wrap {
  display: block;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-page-body .menu-builder-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 0;
}

.detail-page-body .menu-builder-head h3 {
  margin: 4px 0 5px;
  color: var(--detail-ink);
  font-size: 30px;
}

.detail-page-body .menu-builder-head p {
  margin: 0;
  color: #6c5d4d;
}

.detail-page-body .menu-builder-head > button {
  align-self: start;
  padding: 9px 13px;
  color: #8a5c2d;
  border: 1px solid var(--detail-line);
  border-radius: 999px;
  background: transparent;
  font-weight: 900;
}

.detail-page-body .combo-presets,
.detail-page-body .menu-builder,
.detail-page-body .calculator-panel {
  border-color: var(--detail-line);
}

.detail-page-body .catering-menu-grid {
  background: #fffaf4;
}

.detail-page-body .calculator-panel {
  background: #22160c;
}

@media (max-width: 820px) {
  .detail-header .nav-links {
    display: none;
  }

  .detail-header .nav-shell {
    justify-content: space-between;
  }

  .detail-hero {
    min-height: 300px;
  }

  .detail-intro {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    padding: 20px;
  }

  .detail-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .detail-back {
    padding-inline: 10px;
    font-size: 12px;
  }

  .detail-hero-copy,
  .detail-wrap {
    width: min(100% - 28px, 1120px);
  }

  .detail-hero-copy {
    padding: 54px 0 34px;
  }

  .detail-wrap {
    padding-block: 30px 46px;
  }
}
