.field-reel {
  --reel-gap: clamp(8px, .8vw, 12px);
  --reel-inset: var(--content-edge);
  padding-top: var(--section-space);
  color: var(--ink);
  background: var(--paper);
}
.field-intro {
  margin-inline: var(--content-edge);
  padding-bottom: clamp(22px, 2.2vw, 32px);
}
.field-reel h2 {
  margin: 0;
  font: 400 var(--section-size)/1.18 var(--serif);
  letter-spacing: -.025em;
}
.field-intro p {
  max-width: 82ch;
  margin: 8px 0 0;
  font: 400 16px/1.52 var(--sans);
  letter-spacing: -.008em;
  color: var(--muted);
  text-wrap: pretty;
}
.reel-window { position: relative; min-width: 0; }
.reel-track {
  display: flex;
  gap: var(--reel-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overflow-anchor: none;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-track:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.reel-track:not(.reel-ready)::before,
.reel-track:not(.reel-ready)::after {
  content: "";
  flex: 0 0 max(0px, calc(var(--reel-inset) - var(--reel-gap)));
}
.reel-frame {
  position: relative;
  isolation: isolate;
  flex: 0 0 calc(100% - 2 * var(--reel-inset));
  min-width: 0;
  margin: 0;
  scroll-snap-align: center;
}
.reel-frame::after {
  content: "";
  position: absolute;
  inset-block-start: clamp(14px, 2vw, 28px);
  inset-inline-end: clamp(14px, 2vw, 28px);
  width: clamp(72px, 7.5vw, 104px);
  aspect-ratio: 295 / 60;
  background: url("/assets/brand.svg") center / contain no-repeat;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgb(0 0 0 / .35));
  pointer-events: none;
}
.reel-frame picture { display: block; aspect-ratio: 2.1; }
.reel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.reel-lift img { object-position: 64% 54%; }
.reel-field img { object-position: 35% 46%; }
.reel-joint img { object-position: 52% 45%; }
.reel-frame figcaption {
  display: block;
  padding: 15px 92px 12px 0;
  font: 400 14px/1.5 var(--sans);
}
.reel-frame figcaption span { color: var(--muted); }
.reel-ready .reel-frame:not([aria-current="true"]) figcaption { visibility: hidden; }
.reel-controls {
  position: absolute;
  right: var(--content-edge);
  bottom: 0;
  height: 45px;
  display: flex;
  align-items: center;
}
.reel-controls[hidden] { display: none; }
.reel-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.reel-controls svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.reel-controls button:is(:hover,:focus-visible) { color: var(--muted); }
.reel-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) {
  .reel-ready .reel-frame { cursor: pointer; }
  .reel-ready .reel-frame[aria-current="true"] { cursor: default; }
}
@media (max-width: 960px) {
  .field-reel { padding-top: clamp(40px, 7vw, 56px); }
  .field-intro p { font-size: 15px; }
  .reel-frame picture { aspect-ratio: 1.73; }
  .reel-frame figcaption { font-size: 13px; }
}
@media (max-width: 650px) {
  .reel-frame picture { aspect-ratio: 1.55; }
}
@media (max-width: 460px) {
  .reel-frame picture { aspect-ratio: 1.17; }
  .reel-frame figcaption { padding-right: 86px; }
  .reel-lift img { object-position: 62% 50%; }
}
