.chicken-hero {
  overflow: hidden;
  background: #191615;
  border-bottom: .35rem solid var(--yellow);
}
.chicken-hero h1 {
  font-size: clamp(3.25rem, 8.3vw, 9rem);
  text-shadow: .04em .055em #240508;
}
.chicken-hero h1 span { display: block; color: var(--yellow); }
.chicken-hero .page-art::before {
  width: min(80%, 28rem);
  aspect-ratio: 4 / 3;
  border: .25rem solid var(--black);
  border-radius: .35rem;
  background: var(--yellow);
  background-image: conic-gradient(#221b17 25%, transparent 0 50%, #221b17 0 75%, transparent 0);
  background-size: clamp(1.9rem, 4.7vw, 3.7rem) clamp(1.9rem, 4.7vw, 3.7rem);
  box-shadow: .48rem .54rem var(--red);
  transform: rotate(7deg);
}
.chicken-hero .page-art img {
  width: min(97%, 38rem);
  max-height: none;
  /* Match the burger silhouette, accounting for the chicken photo's transparent margins. */
  scale: 1.26;
  transform: rotate(-8deg);
}
.chicken-hero .button { box-shadow: .25rem .3rem var(--black); }

.chicken-jump {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem clamp(.3rem, 1.6vw, 1.35rem);
  padding: .55rem var(--gutter);
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
  color: var(--white);
}
.chicken-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .35rem .55rem;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.chicken-jump a:hover, .chicken-jump a:focus-visible { color: var(--yellow); text-decoration: underline; }
@media (min-width: 950px) {
  .chicken-jump { position: sticky; top: 0; }
  .chicken-page section[id] { scroll-margin-top: 4.5rem; }
}

.chicken-combo-feature { background: #171211; }
.chicken-combo-feature .chicken-combo-photo {
  width: min(96%, 29rem);
  margin: .85rem 0;
  border: .2rem solid var(--yellow);
  box-shadow: .45rem .5rem var(--red);
  transform: rotate(2.5deg);
}

.chicken-menu { background: #fff5dc; }
.chicken-sandwiches { margin-top: clamp(1.8rem, 4vw, 3.8rem); }
.chicken-sandwiches .chicken-items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 2.3vw, 1.8rem);
  margin-top: 1.2rem;
}
.chicken-sandwiches .chicken-item {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--black);
  background: #fffaf0;
  box-shadow: .22rem .24rem var(--black);
}
.chicken-sandwiches .chicken-item img {
  aspect-ratio: 16 / 10;
  padding: .55rem;
  border-radius: 0;
  border-bottom: .25rem solid var(--yellow);
}
.chicken-grilled .chicken-item img { aspect-ratio: 2 / 1; border-bottom-color: var(--red); }
.chicken-sandwiches .chicken-item > div { padding: clamp(.85rem, 2vw, 1.4rem); }
.chicken-sandwiches .chicken-item h4 { font-size: clamp(1.12rem, 2vw, 1.5rem); }
.crispy-photo {
  display: grid;
  place-items: center;
  container-type: size;
  aspect-ratio: 16 / 10;
  background: var(--black);
  border-bottom: .25rem solid var(--yellow);
  overflow: hidden;
}
/* Scale each photo so the sandwiches fill the same display window. */
.chicken-sandwiches .chicken-item .crispy-photo img {
  width: min(94cqw, 118cqh);
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  transform: var(--photo-framing, none);
}
.crispy-photo-classic { --photo-framing: scale(1.14); }
.crispy-photo-southern { --photo-framing: translateY(-4%) scale(1.55); }
.crispy-photo-spicy { --photo-framing: translate(2%, 2%) scale(1.4); }

.chicken-baskets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2.25rem, 6vw, 5.5rem);
}
.chicken-basket {
  background: var(--black);
  color: var(--white);
  padding: clamp(1.1rem, 3vw, 2.25rem);
  border-top: .45rem solid var(--red);
  box-shadow: .3rem .35rem var(--red);
}
.chicken-basket h3 { color: var(--yellow); font-size: clamp(1.85rem, 4vw, 3.75rem); }
.chicken-basket img {
  width: 100%;
  max-height: 15rem;
  margin-block: .8rem;
  object-fit: contain;
}
.chicken-basket p { max-width: 29rem; }
.wing-counts {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: .8rem 0 0;
  list-style: none;
}
.wing-counts li {
  padding: .35rem .55rem;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: .875rem;
  font-weight: 800;
}
.chicken-page .chicken-boxes { background: #fffaf0; border-top: 3px solid var(--black); }

@media (max-width: 760px) {
  .chicken-sandwiches .chicken-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .chicken-jump { padding-inline: .7rem; }
  .chicken-sandwiches .chicken-items, .chicken-baskets { grid-template-columns: minmax(0, 1fr); }
  .chicken-sandwiches .chicken-item { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 0; }
  .chicken-sandwiches .chicken-item img { height: 100%; min-height: 7rem; border-bottom: 0; border-right: .2rem solid var(--yellow); }
  .chicken-grilled .chicken-item img { border-right-color: var(--red); }
  .crispy-photo {
    aspect-ratio: auto;
    min-height: 7rem;
    border-bottom: 0;
    border-right: .2rem solid var(--yellow);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .chicken-hero .page-art img { animation: chicken-hero-arrival 650ms cubic-bezier(.2,.65,.25,1) both; }
  .chicken-sandwiches .chicken-item, .chicken-boxes .offering-grid article { transition: transform 180ms ease-out; }
  @media (hover: hover) {
    .chicken-sandwiches .chicken-item:hover, .chicken-boxes .offering-grid article:hover { transform: translateY(-.24rem); }
  }
  @supports (animation-timeline: view()) {
    .chicken-combo-photo img, .chicken-sandwiches .chicken-item img, .chicken-basket img, .chicken-boxes .box-art {
      animation: chicken-scroll-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 27%;
    }
  }
}
@keyframes chicken-hero-arrival {
  from { transform: translateY(.85rem) rotate(-3deg) scale(.95); }
  to { transform: translateY(0) rotate(-8deg) scale(1); }
}
@keyframes chicken-scroll-arrival {
  from { opacity: .75; scale: .94; }
  to { opacity: 1; scale: 1; }
}
