.service-reel {
  padding: clamp(54px, 7vw, 106px) 0 clamp(45px, 6vw, 90px);
  background: radial-gradient(ellipse at 50% 61%, #252722 0%, #151715 44%, #101211 75%);
  color: #f8f8f4;
  overflow: clip;
}

.service-reel-header {
  text-align: center;
  margin: 0 auto clamp(14px, 3vw, 36px);
}

.service-reel-header h2 {
  font-size: clamp(48px, 7vw, 102px);
  line-height: .96;
  letter-spacing: -.075em;
}

.service-reel-header h2 em {
  color: var(--yellow);
  font-style: normal;
}

.service-reel-header p {
  margin: 14px auto 0;
  max-width: 54ch;
  color: #bec2ba;
  font-size: clamp(16px, 1.44vw, 19px);
}

.service-reel-stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}

.service-reel-stage.is-ready {
  --card-width: clamp(192px, 22.8vw, 315px);
  --spread-near: min(21vw, 300px);
  --spread-far: min(40vw, 585px);
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
  position: relative;
  min-height: clamp(340px, 42vw, 530px);
  perspective: 990px;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
}

.service-reel-card {
  min-width: 0;
}

.is-ready .service-reel-card {
  --slot-x: 0px;
  --slot-z: 0px;
  --slot-y: 0px;
  --slot-angle: 0deg;
  --slot-lean: 0deg;
  position: relative;
  grid-area: 1 / 1;
  width: var(--card-width);
  z-index: 3;
  transform: translate3d(var(--slot-x), var(--slot-y), var(--slot-z)) rotateY(var(--slot-angle)) rotateZ(var(--slot-lean));
  transition: transform 660ms cubic-bezier(.19,.77,.2,1);
}

.is-ready .service-reel-card[data-slot="-1"] {
  --slot-x: calc(-1 * var(--spread-near));
  --slot-angle: 22deg;
  --slot-lean: -6deg;
}

.is-ready .service-reel-card[data-slot="1"] {
  --slot-x: var(--spread-near);
  --slot-angle: -22deg;
  --slot-lean: 6deg;
}

.is-ready .service-reel-card[data-slot="-2"] {
  --slot-x: calc(-1 * var(--spread-far));
  --slot-angle: 27deg;
  --slot-lean: -10deg;
}

.is-ready .service-reel-card[data-slot="2"] {
  --slot-x: var(--spread-far);
  --slot-angle: -27deg;
  --slot-lean: 10deg;
}

.is-ready .service-reel-card:is([data-slot="-1"], [data-slot="1"]) {
  --slot-y: 26px;
  --slot-z: -103px;
  z-index: 2;
}

.is-ready .service-reel-card:is([data-slot="-2"], [data-slot="2"]) {
  --slot-y: 53px;
  --slot-z: -224px;
  z-index: 1;
}

.is-ready .service-reel-card[data-slot="-3"] {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.is-ready .service-reel-card.is-wrapping {
  transition: none;
}

.service-reel-action {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(12px, 2vw, 24px);
  background: #242725;
  text-align: left;
  color: inherit;
  box-shadow: 0 0 0 1px #acb0a574, 0 18px 43px #08090996;
  transition: filter 300ms ease, box-shadow 320ms ease;
  -webkit-tap-highlight-color: transparent;
}

.is-ready .service-reel-card:not([data-slot="0"]) .service-reel-action {
  filter: brightness(.84) saturate(.88);
}

.is-ready .service-reel-card:is([data-slot="-2"], [data-slot="2"]) .service-reel-action {
  filter: brightness(.72) saturate(.75);
}

.is-ready .service-reel-card[data-slot="0"] .service-reel-action {
  box-shadow: 0 0 0 1px #ffc90094, 0 0 30px #ffc90020, 0 24px 58px #010201a6;
}

.is-ready .service-reel-card[data-slot] .service-reel-action:focus-visible {
  filter: none;
  box-shadow: 0 0 0 2px #ffc9008c, 0 0 32px #ffc90048;
}

@media (hover: hover) and (pointer: fine) {
  .is-ready .service-reel-card[data-slot]:hover {
    z-index: 4;
  }

  .is-ready .service-reel-card[data-slot] .service-reel-action:hover {
    filter: none;
    box-shadow: 0 0 0 2px #ffc9008c, 0 0 32px #ffc90048;
  }
}

.service-reel-action:focus-visible,
.service-reel-controls button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.service-reel-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #191c19;
}

.service-reel-art img,
.service-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.service-reel-card--social .service-reel-art > img { object-position: 50% 29%; }
.service-reel-card--slides .service-reel-art > img { object-position: 58% 42%; }
.service-reel-card--editorial .service-reel-art > img { object-position: 64% 50%; }
.service-reel-card--branding .service-reel-art > img { object-position: center top; }

.service-reel-video-tools {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-reel-video-tools[hidden] { display: none; }

.service-reel-video-tools button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 1px solid #ffffff42;
  border-radius: 50%;
  background: #08090be6;
  color: #f5f3ef;
}

.service-reel-video-tools button:hover,
.service-reel-video-tools button:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}

.service-reel-video-tools svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-reel-video-play][data-playing="false"] .video-icon-pause,
[data-reel-video-play][data-playing="true"] .video-icon-play,
[data-reel-video-sound][data-muted="true"] .video-icon-sound,
[data-reel-video-sound][data-muted="false"] .video-icon-muted {
  display: none;
}

.service-reel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  min-height: clamp(120px, 10.75vw, 150px);
  padding: 15px clamp(13px, 1.55vw, 23px);
  color: #f5f3ef;
  background: #242725;
  transition: background-color 300ms ease, color 250ms ease;
}

.service-reel-copy strong {
  font: 600 clamp(19px, 2vw, 29px)/1.02 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.047em;
}

.service-reel-copy > span {
  color: #c7cbc4;
  font-size: clamp(12px, 1.15vw, 14px);
  line-height: 1.3;
}

.is-ready .service-reel-card[data-slot="0"] .service-reel-copy {
  color: #08090b;
  background: var(--yellow);
}

.is-ready .service-reel-card[data-slot="0"] .service-reel-copy > span {
  color: #2b2200;
}

.service-reel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.service-reel-controls[hidden] {
  display: none;
}

.service-reel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #656b60;
  border-radius: 50%;
  color: #f1f2eb;
  background: #1d201c;
  font: 500 24px/1 system-ui, sans-serif;
  transition: color 200ms ease, border-color 200ms ease;
}

.service-reel-controls button:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.service-reel-controls .service-reel-play {
  margin-left: 8px;
}

.service-reel-play::before {
  content: '';
  width: 9px;
  height: 12px;
  border-inline: 2px solid currentColor;
}

.service-reel-play[data-playing="false"]::before {
  width: 11px;
  height: 12px;
  border: 0;
  background: currentColor;
  clip-path: polygon(8% 0, 100% 50%, 8% 100%);
}

.service-reel-count {
  min-width: 44px;
  color: #d6d9cd;
  font-size: 14px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.service-reel-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .service-reel-stage.is-ready {
    --card-width: min(69vw, 300px);
    --spread-near: min(59vw, 300px);
    --spread-far: min(130vw, 650px);
    min-height: clamp(340px, 109vw, 470px);
  }

  .is-ready .service-reel-card:is([data-slot="-2"], [data-slot="2"]) {
    visibility: hidden;
  }

  .service-reel-copy {
    min-height: 114px;
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-reel .service-reel-card,
  .service-reel .service-reel-action,
  .service-reel .service-reel-copy,
  .service-reel-controls button {
    transition: none;
  }
}

.video-showcase {
  width: min(940px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  border: 1px solid #414743;
  border-radius: 20px;
  color: #f5f3ef;
  background: #161916;
  overscroll-behavior: contain;
}

.video-showcase::backdrop { background: #050605df; }

.video-showcase-inner { padding: clamp(12px, 2.2vw, 24px); }

.video-showcase-header,
.video-showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.video-showcase-header { margin-bottom: 13px; }

.video-showcase-header h2 { font-size: clamp(23px, 3vw, 34px); }

.video-showcase button {
  color: inherit;
  background: #202520;
  border: 1px solid #484e46;
}

.video-showcase button:is(:hover, :focus-visible) { border-color: var(--yellow); }

.video-showcase-header button,
.video-showcase-nav button {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  font: 500 24px/1 system-ui, sans-serif;
}

.video-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 31%);
  align-items: start;
  gap: 15px;
}

.video-showcase-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #0b0e0c;
}

.video-showcase-stage video {
  display: block;
  width: auto;
  height: min(66dvh, 690px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #08090b;
}

.video-showcase-caption { padding-top: 10px; }

.video-showcase-caption h3 { font-size: clamp(16px, 2vw, 22px); }

.video-showcase-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: #d9ddd6;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.video-showcase-nav span { min-width: 42px; text-align: center; }

.video-showcase-list {
  display: grid;
  gap: 6px;
  max-height: min(66dvh, 690px);
  padding: 3px;
  overflow: auto;
  scrollbar-width: thin;
}

.video-showcase-list button {
  display: flex;
  align-items: center;
  text-align: left;
  border-radius: 9px;
  padding: 5px 8px;
  gap: 9px;
  font-size: 14px;
  line-height: 1.2;
}

.video-showcase-list button[aria-pressed="true"] {
  color: var(--yellow);
  border-color: #ffc900a0;
  background: #ffc90011;
}

.video-showcase-list img {
  flex: none;
  width: 32px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  background: #141614;
}

@media (max-width: 620px) {
  .video-showcase { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .video-showcase-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .video-showcase-stage video { height: min(53dvh, 520px); }
  .video-showcase-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(134px, 47%);
    max-height: none;
    scroll-snap-type: x proximity;
  }
  .video-showcase-list button { scroll-snap-align: start; font-size: 13px; }
}
