[data-food-stage] {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
[data-food-stage]::part(frame) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--food-position, center);
  opacity: 0;
}
[data-food-stage]::part(visible) { opacity: 1; }
[data-food-stage]::part(first) { object-position: var(--food-first-position, var(--food-position, center)); }

button[data-food-toggle] {
  position: absolute;
  z-index: 3;
  inset-inline-end: var(--food-control-inset, 10px);
  bottom: var(--food-control-inset, 10px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}
button[data-food-toggle][hidden] { display: none; }
/* The services page has a fixed contact toolbar on the right. */
@media (max-width: 900px) {
  div[data-food-slides] > button[data-food-toggle] {
    inset-inline-start: var(--food-control-inset, 10px);
    inset-inline-end: auto;
  }
}
button[data-food-toggle]::before,
button[data-food-toggle]::after { content: ''; grid-area: 1 / 1; }
button[data-food-toggle]::before {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(24, 29, 44, .8);
  border: 1px solid rgba(255, 255, 255, .78);
}
button[data-food-toggle]::after {
  box-sizing: border-box;
  width: 10px;
  height: 12px;
  border-inline: 3px solid currentColor;
}
button[data-food-toggle][data-food-action="play"]::after {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: solid transparent;
  border-width: 6px 0 6px 9px;
  border-left-color: currentColor;
}
button[data-food-toggle]:focus-visible { outline: 0; }
button[data-food-toggle]:focus-visible::before { outline: 3px solid white; outline-offset: 3px; }
@media (hover: hover) {
  button[data-food-toggle]:hover::before { background: #20284e; }
}
.hero[data-food-slides] { --food-position: center; --food-first-position: 50% 35%; }
.hero[data-food-slides] [data-food-first] { object-position: var(--food-first-position); }
.hero[data-food-slides] .hero-img::after { z-index: 1; pointer-events: none; }
@media (max-width: 660px) {
  .hero[data-food-slides] { --food-control-inset: 4px; }
}
