.chef-recommendation {
  --chef-black: var(--brand-black);
  --chef-ink: var(--ink);
  --chef-accent: var(--accent-text);
  --chef-copy: var(--muted);
  --chef-line: var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0;
  border-block: 1px solid var(--line);
  color: var(--chef-ink);
  background: var(--chef-black);
}

.chef-recommendation::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .08;
  background: url("assets/pattern-light.png") right center / 440px repeat;
  mask-image: linear-gradient(106deg, transparent 20%, #000 80%);
}

.chef-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "intro figure" "ingredients figure";
  align-items: center;
  align-content: center;
  column-gap: clamp(28px, 5.8vw, 92px);
  row-gap: 24px;
}

.chef-intro { grid-area: intro; align-self: end; }
.chef-intro h1, .chef-intro h2 {
  margin: 12px 0 18px;
  color: var(--chef-ink);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.chef-intro em {
  display: block;
  margin-top: .06em;
  color: var(--chef-accent);
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  line-height: .93;
  letter-spacing: normal;
}
.chef-kicker {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--chef-accent);
}
.chef-kicker::before { width: 24px; height: 2px; background: currentColor; content: ""; }
.chef-pair { margin: 0 0 8px; color: var(--chef-ink); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 700; }
.chef-pair > span[aria-hidden] { margin-inline: 2px; color: var(--chef-accent); }
.chef-help { max-width: 340px; margin: 0; color: var(--chef-copy); }

.chef-figure { grid-area: figure; display: grid; justify-items: center; align-self: center; width: 100%; margin: 0; }
.chef-stage { position: relative; display: grid; width: 100%; max-width: 660px; aspect-ratio: 1; place-items: center; }
.chef-stage-print {
  position: absolute;
  inset: 3%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  opacity: .72;
  background:
    radial-gradient(circle, transparent 57%, color-mix(in srgb, var(--brand-white) 20%, transparent) 57.2% 57.4%, transparent 57.6%),
    repeating-radial-gradient(circle, transparent 0 27px, color-mix(in srgb, var(--brand-white) 20%, transparent) 28px 29px, transparent 30px 45px),
    radial-gradient(circle at center, var(--deep) 0, var(--red-shade) 57%, transparent 72%);
}
.chef-stage-print::after {
  position: absolute;
  inset: -2%;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  opacity: .4;
  content: "";
}
.chef-roll-image { position: relative; width: 93%; aspect-ratio: 1; }
.chef-roll-image img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 24px #0009); }
.chef-figure figcaption { margin-top: 14px; color: var(--chef-copy); font-size: .71rem; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.chef-figure figcaption span { margin-inline: 5px; color: var(--chef-accent); }

.chef-hotspot {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  inset: var(--chef-y) auto auto var(--chef-x);
  padding: 0;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--chef-ink);
  font: inherit;
  cursor: pointer;
}
.chef-hotspot span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--shadow);
  color: inherit;
  font-size: .76rem;
  font-weight: 800;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.chef-hotspot.is-active { z-index: 2; color: var(--ink); }
.chef-hotspot.is-active span { background: var(--red); box-shadow: 0 0 0 5px var(--shadow); }
.chef-hotspot.is-active::after {
  position: absolute;
  bottom: calc(100% - 3px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  padding: 4px 8px;
  background: var(--red);
  color: var(--ink);
  box-shadow: 0 2px 7px #0008;
  content: attr(data-label);
  font-size: .71rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
}
.chef-hotspot:focus-visible, .chef-option:focus-visible { outline: 3px solid var(--chef-ink); outline-offset: 2px; }

.chef-ingredient-panel { grid-area: ingredients; align-self: start; min-width: 0; }
.chef-active {
  display: grid;
  min-height: 103px;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.chef-active-index {
  display: grid;
  min-width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 9px;
  background: var(--red);
  color: var(--ink);
  font-size: .83rem;
  font-weight: 800;
}
.chef-active-title { margin: 0; color: var(--chef-ink); font-size: 1.05rem; line-height: 1.2; }
.chef-active-description { margin: 6px 0 0; color: var(--chef-copy); font-size: .84rem; line-height: 1.5; }
.chef-ingredients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.chef-option {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--chef-line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--chef-ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: start;
  cursor: pointer;
}
.chef-option span { flex: none; color: var(--chef-accent); font-size: .7rem; font-weight: 800; }
.chef-option.is-active { border-color: var(--red); background: var(--red-shade); }
.chef-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .chef-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "figure" "ingredients"; row-gap: 22px; }
  .chef-intro h1, .chef-intro h2 { text-wrap: initial; font-size: clamp(2.45rem, 10vw, 4.4rem); }
  .chef-intro, .chef-ingredient-panel { width: min(100%, 510px); justify-self: center; }
  .chef-stage { max-width: 470px; }
  .chef-figure figcaption { margin-top: 7px; }
}
@media (max-width: 390px) {
  .chef-roll-image { width: 98%; }
  .chef-hotspot span { width: 24px; height: 24px; }
}
@media (max-width: 520px) {
  .chef-recommendation { padding-block: 32px; }
  .chef-layout { row-gap: 12px; }
  .chef-intro h1, .chef-intro h2 { margin-bottom: 12px; }
  .chef-figure figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chef-hotspot span { transition: none; }
}
