/* HOME / SERVICE DETAIL ACTION — a small interaction worth following. */
.idea-reel-detail-copy > a[data-reel-detail-link] {
  --action-fill: var(--navy);
  position: relative;
  isolation: isolate;
  width: min(100%,286px);
  min-height: 62px;
  margin-top: 30px;
  padding: 8px 8px 8px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  color: var(--navy);
  background: rgba(243,235,226,.72);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(25,50,83,.62), 6px 7px 0 rgba(25,50,83,.1);
  font-family: var(--title);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translate3d(0,0,0);
  transition: color .38s ease, transform .5s var(--ease), box-shadow .5s var(--ease);
}

.idea-reel-detail-copy > a[data-reel-detail-link]::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: '';
  background: var(--action-fill);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .64s var(--ease);
}

.idea-reel-detail-copy > a[data-reel-detail-link]::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  inset-inline-start: 16px;
  width: 7px;
  height: 7px;
  content: '';
  background: var(--oak);
  border-radius: 1px;
  opacity: 0;
  transform: translateY(-50%) rotate(45deg) scale(.25);
  transition: inset-inline-start .72s var(--ease), opacity .2s ease, transform .42s var(--ease);
}

.idea-reel-detail-copy > a[data-reel-detail-link] span {
  position: relative;
  z-index: 2;
  transition: transform .48s var(--ease);
}

.idea-reel-detail-copy > a[data-reel-detail-link] b {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--linen);
  background: var(--navy);
  border: 1px solid rgba(232,225,214,.62);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(16,37,63,.18);
  font-size: 1rem;
  font-weight: 400;
  transition: color .35s ease, background .35s ease, transform .58s var(--ease), box-shadow .35s ease;
}

@media (hover:hover) {
  .idea-reel-detail-copy > a[data-reel-detail-link]:hover {
    color: var(--linen);
    box-shadow: inset 0 0 0 1px rgba(232,225,214,.38), 0 0 0 1px var(--navy), 10px 11px 0 rgba(25,50,83,.13), 0 18px 38px rgba(25,50,83,.14);
    transform: translate3d(-4px,-5px,0);
  }
  .idea-reel-detail-copy > a[data-reel-detail-link]:hover > span { color: var(--linen) !important; opacity: 1; }
  .idea-reel-detail-copy > a[data-reel-detail-link]:hover::before { transform: scaleX(1); transform-origin: left center; }
  .idea-reel-detail-copy > a[data-reel-detail-link]:hover::after {
    inset-inline-start: calc(100% - 67px);
    opacity: 1;
    transform: translateY(-50%) rotate(45deg) scale(1);
  }
  .idea-reel-detail-copy > a[data-reel-detail-link]:hover span { transform: translateX(4px); }
  .idea-reel-detail-copy > a[data-reel-detail-link]:hover b {
    color: var(--navy);
    background: var(--oak);
    box-shadow: 0 8px 21px rgba(16,37,63,.25);
    transform: rotate(45deg) scale(1.06);
  }
}

.idea-reel-detail-copy > a[data-reel-detail-link]:focus-visible {
  color: var(--linen);
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.idea-reel-detail-copy > a[data-reel-detail-link]:focus-visible > span { color: var(--linen) !important; opacity: 1; }
.idea-reel-detail-copy > a[data-reel-detail-link]:focus-visible::before { transform: scaleX(1); }
.idea-reel-detail-copy > a[data-reel-detail-link]:active { transform: scale(.975); }

.idea-reel-detail-copy > a[data-reel-detail-link] {
  justify-content: center;
  gap: 0;
  padding-inline: 24px;
  text-align: center;
}
.idea-reel-detail-copy > a[data-reel-detail-link]::after,
.idea-reel-detail-copy > a[data-reel-detail-link] > b { display: none; }
.idea-reel-detail-copy > a[data-reel-detail-link]:is(:hover,:focus-visible) span { transform: none; }

@media (max-width: 520px) {
  .idea-reel-detail-copy > a[data-reel-detail-link] {
    width: 100%;
    min-height: 58px;
    padding: 7px 7px 7px 21px;
  }
  .idea-reel-detail-copy > a[data-reel-detail-link] b { width: 44px; height: 44px; flex-basis: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .idea-reel-detail-copy > a[data-reel-detail-link],
  .idea-reel-detail-copy > a[data-reel-detail-link]::before,
  .idea-reel-detail-copy > a[data-reel-detail-link]::after,
  .idea-reel-detail-copy > a[data-reel-detail-link] span,
  .idea-reel-detail-copy > a[data-reel-detail-link] b { transition: none !important; }
}
