.service-reel {
  grid-area: showcase;
  min-width: 0;
  align-self: center;
}
.reel-stage {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  overflow: hidden;
  background: var(--accent);
}
.reel-stage [data-scene] {
  --plate-fill: #dbff55;
  --plate-ink: #171a13;
  --plate-mid: #a0b937;
  --plate-mark: #f5f3df;
  display: flow-root;
  color: var(--plate-ink);
  background-color: var(--plate-fill);
}
.reel-stage [data-scene="web"] {
  --plate-fill: #efefe5;
  --plate-ink: #181b15;
  --plate-mid: #aab39d;
  --plate-mark: #c8ee41;
}
.reel-stage [data-scene="campaign"] {
  --plate-fill: #20241f;
  --plate-ink: #f0f0e6;
  --plate-mid: #76806b;
  --plate-mark: #dbff55;
}
.reel-stage [data-scene="automation"] {
  --plate-fill: #c0cbaa;
  --plate-ink: #17241b;
  --plate-mid: #819276;
  --plate-mark: #e5ff82;
}
.plate-art { display: block; width: 100%; height: auto; aspect-ratio: 2.14; overflow: hidden; }
.plate-copy {
  margin: 0 5.1%;
  padding: 2.1% 0 4.2%;
  border-top: 1px solid currentColor;
}
.plate-copy h2 {
  font: 700 clamp(1.75rem, 7.5cqw, 3.7rem)/.95 var(--display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.plate-copy p {
  margin-top: .35em;
  font: 500 clamp(.875rem, 2.8cqw, 1.125rem)/1.3 var(--type);
}
.plate-art .trace {
  stroke-dasharray: 1;
  animation: trace-service 1.05s cubic-bezier(.28,.63,.28,1) both;
}
.plate-art .settle, .plate-art .settle-late {
  transform-box: fill-box;
  transform-origin: center;
  animation: register-service .75s cubic-bezier(.22,.8,.2,1) both;
}
.plate-art .settle-late { animation-delay: .23s; }
.code-glyph path {
  animation: assemble-code .9s cubic-bezier(.23,.8,.3,1) both;
}
.code-glyph path:first-child { --start: -27px; }
.code-glyph path:nth-child(2) { --start: 27px; }
.code-glyph path:last-child { --start: 0px; animation-delay: .12s; }
[data-scene="campaign"] .trace:nth-child(1) { animation-delay: .15s; }
[data-scene="campaign"] .trace:nth-child(2) { animation-delay: .38s; }
[data-scene="campaign"] .trace:nth-child(3) { animation-delay: .61s; }
.plate-art .signal { animation: route-signal 1.55s .55s ease-in-out both; }
@keyframes assemble-code {
  from { opacity: 0; translate: var(--start) 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes route-signal {
  0% { transform: translate(-30px,0); }
  20% { transform: translate(1px,0); }
  44% { transform: translate(32px,-8px); }
  56% { transform: translate(39px,-33px); }
  75% { transform: translate(58px,-57px); }
  100% { transform: translate(127px,-58px); }
}
@keyframes trace-service {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes register-service {
  from { opacity: 0; translate: 0 9px; }
  to { opacity: 1; translate: 0 0; }
}
.reel-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(22%, 5.15rem)), 1fr));
}
.reel-choices button {
  min-height: 2.8rem;
  padding: .55rem .12rem;
  border: 0;
  border-bottom: 2px solid #45493f;
  background: transparent;
  color: var(--light);
  font: 550 clamp(.875rem,1.15vw,1rem)/1.18 var(--type);
  overflow-wrap: anywhere;
}
.reel-choices button[aria-pressed="true"] { color: var(--accent); border-color: currentColor; }
.reel-choices button:hover, .reel-play:hover { background: #22251f; color: var(--accent); }
.reel-choices button:focus-visible, .reel-play:focus-visible { outline-offset: -3px; }
.reel-caption { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .7rem; }
.reel-caption a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.reel-caption .reel-services { color: var(--light); }
.reel-title { margin-left: auto; color: var(--paper); }
.reel-caption a:hover { color: var(--accent); }
.reel-play {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
}
.reel-play span { width: .7rem; height: .75rem; border-inline: .18rem solid; }
.reel-play[data-state="paused"] span { width: 0; height: 0; border: 0; border-block: .4rem solid transparent; border-left: .65rem solid; }
.reel-play[data-state="ended"] span { width: 1rem; height: 1rem; border: 0; font: 600 1.25rem/.78 Arial,sans-serif; }
.reel-play[data-state="ended"] span::after { content: '↻'; }
@container (max-width: 28rem) {
  .plate-copy p { min-height: 2lh; }
}
@media (max-width: 23rem) {
  .reel-choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(40%, 6rem)), 1fr)); }
  .reel-caption { column-gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-reel *, .service-reel *::after { animation: none!important; transition: none!important; }
}
