/* Featured playbook. Follows the opening conversation scene; lilac so it stands apart from the purple scene above and the dark story below. */
.playbook-feature {
  position: relative;
  overflow: hidden;
  background: var(--lilac);
  color: var(--ink);
  padding: clamp(110px, 14svh, 150px) var(--gutter);
  isolation: isolate;
}
.playbook-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  right: -18%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, #e7e0eecc 0%, #e7e0ee44 45%, transparent 70%);
}
.playbook-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.playbook-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--purple);
}
.playbook-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 0 #593b8699;
  animation: playbook-pulse 2.2s var(--ease) infinite;
}
@keyframes playbook-pulse {
  70% { box-shadow: 0 0 0 12px #593b8600; }
  100% { box-shadow: 0 0 0 0 #593b8600; }
}
.playbook-title {
  font-size: clamp(64px, 9.4vw, 168px);
  letter-spacing: -0.075em;
  line-height: 0.96;
  margin: 26px 0 30px;
}
.playbook-title em {
  font-style: normal;
  color: var(--purple);
}
.playbook-dot {
  color: var(--coral);
}
.playbook-lede {
  max-width: 600px;
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: -0.025em;
  line-height: 1.45;
  color: #211a28d9;
}
.playbook-ladder {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 32px 0 0;
  counter-reset: rung;
}
.playbook-ladder li {
  counter-increment: rung;
  font-size: 12px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  border: 1px solid #211a2840;
  border-radius: 30px;
  padding: 7px 14px;
}
.playbook-ladder li::before {
  content: "0" counter(rung) " ";
  color: var(--purple);
}
.playbook-ladder li:last-child {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.playbook-ladder li:last-child::before {
  color: var(--lilac);
}
.playbook-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin-top: 38px;
}
.playbook-cta {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 58px;
  padding: 12px 16px 12px 30px;
  border-radius: 40px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background 0.3s;
}
.playbook-cta > span[aria-hidden] {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 20px;
  transition: transform 0.3s var(--ease);
}
.playbook-cta:hover {
  background: var(--purple);
}
.playbook-cta:hover > span[aria-hidden] {
  transform: rotate(45deg);
}
.playbook-meta {
  margin-top: 22px;
  color: #211a28a6;
  font-size: 11px;
}
/* The cover echoes the hero's tilted portrait card. */
.playbook-cover {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--dark);
  color: var(--paper);
  transform: rotate(6deg);
  box-shadow: 0 30px 70px #211a2840, 0 0 0 9px #d4c9ba;
  transition: transform 0.6s var(--ease);
}
.playbook-cover:hover {
  transform: rotate(2deg) translateY(-6px);
}
.cover-top,
.cover-sub {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cover-title {
  margin-top: auto;
  font-size: clamp(40px, 4.6vw, 70px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.92;
}
.cover-sub {
  margin-top: 16px;
  color: var(--lilac);
}
.cover-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e7e0ee33;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.cover-sticker {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--coral);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transform: rotate(-16deg);
}
/* Reveal when scrolled into view. Content stays visible unless playbook.js arms it, and motion is opt-out aware. */
@media (prefers-reduced-motion: no-preference) {
  html.playbook-armed:not(.motion-off) .playbook-copy > *,
  html.playbook-armed:not(.motion-off) .playbook-cover {
    opacity: 0;
  }
  html.playbook-armed:not(.motion-off) .playbook-feature.is-visible .playbook-copy > * {
    animation: playbook-rise 0.9s var(--ease) both;
  }
  html.playbook-armed:not(.motion-off) .playbook-feature.is-visible .playbook-cover {
    animation: playbook-cover-in 1.1s var(--ease) 0.2s both;
  }
  .playbook-feature.is-visible .playbook-copy > :nth-child(2) { animation-delay: 0.08s; }
  .playbook-feature.is-visible .playbook-copy > :nth-child(3) { animation-delay: 0.16s; }
  .playbook-feature.is-visible .playbook-copy > :nth-child(4) { animation-delay: 0.22s; }
  .playbook-feature.is-visible .playbook-copy > :nth-child(5) { animation-delay: 0.28s; }
  .playbook-feature.is-visible .playbook-copy > :nth-child(6) { animation-delay: 0.32s; }
}
@media (prefers-reduced-motion: reduce) {
  .playbook-pulse { animation: none; }
}
html.motion-off .playbook-pulse { animation: none; }
@keyframes playbook-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes playbook-cover-in {
  from { opacity: 0; transform: rotate(14deg) translateY(50px); }
  to { opacity: 1; transform: rotate(6deg); }
}
@media (max-width: 900px) {
  .playbook-inner {
    grid-template-columns: 1fr;
  }
  .playbook-cover {
    justify-self: start;
    max-width: 300px;
    margin: 10px 0 0 10px;
  }
}
@media (max-width: 600px) {
  .playbook-feature {
    padding: 90px var(--gutter) 80px;
  }
  .playbook-title {
    font-size: clamp(54px, 17vw, 84px);
    margin: 20px 0 22px;
  }
  .playbook-cta {
    width: 100%;
    justify-content: space-between;
  }
  .playbook-cover {
    max-width: 230px;
  }
  .cover-sticker {
    width: 70px;
    height: 70px;
    font-size: 11px;
    top: -22px;
    right: -22px;
  }
}
