.cap-scene,
.deliverables__glyph--desk,
.deliverables__icon--desk {
  display: none;
}

@media (min-width: 1024px) {
  .deliverables__item--lead,
  .deliverables__item--follow,
  .deliverables__item--handoff {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(214, 190, 242, 0.62);
    border-radius: 28px;
    background:
      radial-gradient(90% 80% at 100% 0%, rgba(236, 220, 255, 0.55), transparent 58%),
      linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
    box-shadow: 0 18px 40px rgba(96, 58, 160, 0.07);
  }

  .deliverables__item--lead::before,
  .deliverables__item--follow::before,
  .deliverables__item--handoff::before,
  .deliverables__item--lead::after,
  .deliverables__item--follow::after,
  .deliverables__item--handoff::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
  }

  .deliverables__item--lead::before {
    top: -70px;
    right: 8%;
    width: 240px;
    height: 180px;
    background: radial-gradient(circle, rgba(214, 196, 255, 0.55), transparent 70%);
  }

  .deliverables__item--lead::after {
    right: -30px;
    bottom: -50px;
    width: 200px;
    height: 160px;
    background: radial-gradient(circle, rgba(244, 214, 236, 0.5), transparent 72%);
  }

  .deliverables__item--follow::before,
  .deliverables__item--handoff::before {
    right: -20px;
    bottom: -30px;
    width: 220px;
    height: 180px;
    background: radial-gradient(circle, rgba(244, 210, 232, 0.72), transparent 70%);
  }

  .deliverables__item--handoff::before {
    background: radial-gradient(circle, rgba(214, 196, 255, 0.62), transparent 70%);
  }

  .deliverables__item--lead > *,
  .deliverables__item--follow > *,
  .deliverables__item--handoff > * {
    position: relative;
    z-index: 1;
  }

  .deliverables__item--lead {
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 1fr);
    align-items: center;
    min-height: 268px;
    padding: 28px 26px 28px 28px;
    gap: 16px 18px;
  }

  .deliverables__item--lead .deliverables__copy {
    align-self: center;
  }

  .deliverables__item--lead .deliverables__icon {
    align-self: start;
    width: 56px;
    height: 56px;
    margin-top: 2px;
    margin-right: 4px;
    border-radius: 16px;
    background: #f3eeff;
    color: #6d46f5;
  }

  .deliverables__item--lead .deliverables__glyph {
    display: none;
  }

  .deliverables__glyph--desk {
    display: block;
    width: 28px;
    height: 28px;
  }

  .deliverables__item--lead .deliverables__copy {
    max-width: 18rem;
  }

  .deliverables__item--lead .cap-preview,
  .deliverables__item--follow .cap-preview,
  .deliverables__item--handoff .cap-preview {
    display: none;
  }

  .deliverables__item--lead h3,
  .deliverables__item--follow h3,
  .deliverables__item--handoff h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .deliverables__item--lead .deliverables__copy p,
  .deliverables__item--follow > div > p,
  .deliverables__item--handoff > div > p {
    max-width: 17rem;
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .deliverables__item--lead .deliverables__toggle,
  .deliverables__item--follow .deliverables__toggle,
  .deliverables__item--handoff .deliverables__toggle {
    margin-top: 14px;
    color: #6d46f5;
    font-size: 0.92rem;
  }

  .deliverables__item--lead .deliverables__chevron,
  .deliverables__item--follow .deliverables__chevron,
  .deliverables__item--handoff .deliverables__chevron {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .deliverables__item--lead .deliverables__toggle::after,
  .deliverables__item--follow .deliverables__toggle::after,
  .deliverables__item--handoff .deliverables__toggle::after {
    content: "\2192";
    font-size: 0.95rem;
  }

  .deliverables__item--lead .deliverables__toggle[aria-expanded="true"]::after,
  .deliverables__item--follow .deliverables__toggle[aria-expanded="true"]::after,
  .deliverables__item--handoff .deliverables__toggle[aria-expanded="true"]::after {
    content: "\2191";
  }

  .cap-scene--lead {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr) 64px 52px;
    align-items: center;
    min-height: 200px;
    isolation: isolate;
  }

  .cap-wave {
    position: absolute;
    z-index: 0;
    color: rgba(196, 168, 240, 0.28);
    pointer-events: none;
  }

  .cap-scene--lead .cap-wave {
    right: -8px;
    bottom: -36px;
    width: 210px;
    height: 150px;
  }

  .cap-routes {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .cap-routes li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 8px;
    gap: 8px;
    align-items: center;
    min-height: 40px;
    padding: 5px 10px 5px 6px;
    border: 1px solid rgba(220, 206, 242, 0.85);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 16px rgba(80, 40, 140, 0.06);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .cap-routes li::after {
    content: "";
    width: 7px;
    height: 7px;
    justify-self: end;
    border-radius: 50%;
    background: #b7a0ef;
    box-shadow: 0 0 0 3px #f3ecff;
  }

  .cap-routes__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #6d46f5;
  }

  .cap-routes__icon svg {
    width: 26px;
    height: 26px;
  }

  .cap-routes__icon--web,
  .cap-routes__icon--phone {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f3eeff;
  }

  .cap-routes__icon--web svg,
  .cap-routes__icon--phone svg {
    width: 14px;
    height: 14px;
  }

  .cap-routes__icon--phone {
    background: #e5f6ec;
    color: #1f9d5a;
  }

  .cap-routes__lines {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 176px;
    justify-self: center;
  }

  .cap-routes__lines path {
    fill: none;
    stroke: #cbb6f6;
    stroke-width: 1.5;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
  }

  .cap-routes__hub {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    justify-self: end;
    border: 1px solid rgba(214, 190, 242, 0.8);
    border-radius: 50%;
    background: #fff;
    color: #6d46f5;
    box-shadow:
      0 10px 22px rgba(109, 70, 245, 0.14),
      0 0 0 6px rgba(243, 236, 255, 0.9);
  }

  .cap-routes__hub svg {
    width: 18px;
    height: 18px;
  }

  .deliverables__item--follow,
  .deliverables__item--handoff {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 46%);
    grid-template-rows: minmax(300px, auto) auto;
    grid-template-areas: "copy scene" "panel panel";
    align-items: stretch;
    gap: 0;
    min-height: 320px;
    padding: 26px 0 0 26px;
  }

  .deliverables__item--follow > div:not(.cap-scene):not(.deliverables__panel),
  .deliverables__item--handoff > div:not(.cap-scene):not(.deliverables__panel) {
    grid-area: copy;
    align-self: center;
    max-width: 16.5rem;
    padding-bottom: 18px;
  }

  .deliverables__icon--desk {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #fdeef6;
    color: #e23c8a;
  }

  .deliverables__item--handoff .deliverables__icon--desk {
    background: #f3eeff;
    color: #6d46f5;
  }

  .deliverables__icon--desk svg {
    width: 26px;
    height: 26px;
  }

  .deliverables__item--follow .deliverables__panel,
  .deliverables__item--handoff .deliverables__panel {
    grid-area: panel;
    padding-right: 26px;
  }

  .cap-scene--follow,
  .cap-scene--handoff {
    display: block;
    grid-area: scene;
    position: relative;
    align-self: stretch;
    height: auto;
    min-height: 0;
    margin-right: -1px;
    margin-bottom: -1px;
    overflow: hidden;
    border-bottom-right-radius: 27px;
    pointer-events: none;
  }

  .cap-scene--follow .cap-wave,
  .cap-scene--handoff .cap-wave {
    right: -24px;
    bottom: 18px;
    width: 230px;
    height: 170px;
  }

  .cap-scene--follow .cap-wave { color: rgba(226, 60, 138, 0.16); }
  .cap-scene--handoff .cap-wave { color: rgba(176, 150, 236, 0.32); }

  .cap-mail {
    position: absolute;
    z-index: 1;
    right: -10px;
    bottom: -46px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    align-content: center;
    width: 248px;
    padding: 16px 16px 26px;
    border: 1px solid rgba(244, 210, 226, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fffafc 100%);
    box-shadow:
      0 18px 36px rgba(180, 80, 130, 0.14),
      0 2px 6px rgba(180, 80, 130, 0.06);
    transform: rotate(-8deg);
  }

  .cap-mail__icon {
    display: grid;
    grid-row: 1 / span 3;
    place-items: center;
    align-self: center;
    width: 36px;
    height: 36px;
    margin-bottom: 0;
    border-radius: 11px;
    background: #fdeef6;
    color: #e23c8a;
  }

  .cap-mail__icon svg {
    width: 18px;
    height: 18px;
  }

  .cap-mail__line {
    display: block;
    grid-column: 2;
    height: 7px;
    margin-top: 7px;
    border-radius: 999px;
    background: #f3e4ee;
  }

  .cap-mail__line:nth-child(2) { margin-top: 2px; }

  .cap-mail__line--mid { width: 78%; }
  .cap-mail__line--short { width: 52%; }

  .cap-mail__dot {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e23c8a;
    box-shadow: 0 0 0 4px #fdeef6;
  }

  .cap-pass {
    position: absolute;
    z-index: 1;
    right: -8px;
    bottom: -34px;
    width: 236px;
    padding: 14px 16px 20px;
    border: 1px solid rgba(214, 190, 242, 0.8);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
    box-shadow:
      0 16px 32px rgba(96, 58, 160, 0.12),
      0 2px 6px rgba(96, 58, 160, 0.05);
    transform: rotate(5deg);
  }

  .cap-pass__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .cap-pass__avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #efe8ff;
    color: #6d35d4;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .cap-pass__badge {
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    background: #e5f6ec;
    color: #1f9d5a;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .cap-pass__name {
    margin: 10px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .cap-pass__meta {
    margin: 3px 0 0;
    color: var(--ink-soft);
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (min-width: 1024px) {
  [data-theme="dark"] .deliverables__item--lead,
  [data-theme="dark"] .deliverables__item--follow,
  [data-theme="dark"] .deliverables__item--handoff {
    border-color: rgba(196, 176, 230, 0.24);
    background:
      radial-gradient(90% 80% at 100% 0%, rgba(109, 70, 245, 0.16), transparent 58%),
      linear-gradient(180deg, #241c32 0%, #1b1428 100%);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  }

  [data-theme="dark"] .cap-routes li,
  [data-theme="dark"] .cap-routes__hub,
  [data-theme="dark"] .cap-mail,
  [data-theme="dark"] .cap-pass {
    border-color: rgba(196, 176, 230, 0.22);
    background: #2a2238;
    box-shadow: none;
  }

  [data-theme="dark"] .cap-mail__line {
    background: rgba(244, 210, 226, 0.16);
  }

  [data-theme="dark"] .cap-pass__avatar,
  [data-theme="dark"] .deliverables__item--lead .deliverables__icon,
  [data-theme="dark"] .deliverables__item--handoff .deliverables__icon--desk {
    background: rgba(109, 70, 245, 0.2);
    color: #d2c6ff;
  }

  [data-theme="dark"] .deliverables__item--follow .deliverables__icon--desk,
  [data-theme="dark"] .cap-mail__icon {
    background: rgba(226, 60, 138, 0.16);
    color: #f0a8c4;
  }
}
