/* Planning (D110): the pile, sorted. The section stands on Paper; seven real calls start scattered and settle into Build, Fix and Leave
   as the visitor scrolls or slides. Cards are plain ruled slips, no rounded corners, no shadows. */
.pl-stage { background: #F4F0E8; color: #0C0D10; --paper: #0C0D10; --soft: rgba(12, 13, 16, .76); --quiet: rgba(12, 13, 16, .6); --rule: rgba(12, 13, 16, .16); --rule2: rgba(12, 13, 16, .34); --truel: #1C8F68; --ink: #F4F0E8; --ink2: #E8E2D6;
  padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); display: grid; gap: clamp(24px, 3vw, 40px); }
.pl-stage :focus-visible { outline-color: #0C0D10; }
.pl-stage[hidden], .ps[hidden], .pl-list[hidden], .pl-detail[hidden], .pl-slide[hidden] { display: none; } /* hidden must win over the display set above */
.pl-p { margin-top: 14px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.45; color: var(--soft); max-width: 32em; }
.pl-slide { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 14.5px; color: var(--soft); flex-wrap: wrap; }
.pl-slide input { flex: 1 1 180px; max-width: 360px; accent-color: #0C0D10; height: 32px; }
.pl-map { position: relative; min-height: 520px; }
.pl-col { position: absolute; top: 0; margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -.02em; opacity: 0; padding-bottom: 10px; border-bottom: 2px solid #0C0D10; max-width: none; }
.pl-col[data-k="build"] { color: #0C0D10; } .pl-col[data-k="fix"] { color: #C23A24; } .pl-col[data-k="leave"] { color: #1C8F68; }
.pl-card { position: absolute; left: 0; top: 0; appearance: none; text-align: left; font: inherit; color: #0C0D10; background: #FBF8F2; border: 1px solid rgba(12, 13, 16, .34); padding: 12px 14px 12px; cursor: pointer; display: grid; gap: 6px; will-change: transform; }
.pl-card b { font-weight: 600; font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.3; }
.pl-card span { font-size: 13px; color: rgba(12, 13, 16, .6); }
.pl-card em { font-style: normal; opacity: 0; transition: opacity .3s; }
.pl-map.is-sorted .pl-card em { opacity: 1; }
.pl-card:hover { border-color: #0C0D10; }
.pl-card[aria-expanded="true"] { border: 2px solid #0C0D10; padding: 11px 13px; }
.pl-detail { border-top: 2px solid #0C0D10; padding-top: 16px; display: grid; gap: 8px; max-width: 46em; }
.pl-detail h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; }
.pl-detail p { font-size: 1.08rem; line-height: 1.45; color: var(--soft); }
.pl-detail b { color: #0C0D10; }
.pl-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid #0C0D10; }
.pl-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 0; border-bottom: 1px solid rgba(12, 13, 16, .16); }
.pl-then span { display: block; font-size: 13px; color: rgba(12, 13, 16, .6); }
.pl-then { font-weight: 600; font-size: 1.08rem; }
.pl-call { color: var(--soft); font-size: 1.04rem; line-height: 1.45; }
.pl-call b[data-k="build"] { color: #0C0D10; } .pl-call b[data-k="fix"] { color: #C23A24; } .pl-call b[data-k="leave"] { color: #1C8F68; }
@media (min-width: 900px) {
  .pl-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .pl-words { position: sticky; top: calc(var(--hd) + 24px); }
  .pl-detail, .pl-list { grid-column: 2; }
  .pl-list li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .pl-card em { transition: none; } }

.pl-map.is-moving .pl-card { pointer-events: none; }

/* ---- Direction A (chosen): what would you do? From the creative director's proof (v4/lab/svc-planning.html), in this page's look ---- */
.ps { --build: var(--signal); --fix: var(--paper); --leave: var(--truel); padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); display: grid; gap: clamp(24px, 3vw, 40px); }
.ps-p { margin-top: 14px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.45; color: var(--soft); max-width: 30em; }
.ps-play { display: grid; justify-items: start; gap: 0; min-width: 0; }
.ps-card { width: min(100%, 980px); min-height: 230px; background: var(--ink2); border: 1px solid var(--rule2); border-radius: 2px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 12px; align-content: start; }
.ps-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ps-who { margin: 0; font-family: var(--disp); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.ps-n { margin: 0; font-size: 14px; color: var(--quiet); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-found { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.4; max-width: 34em; }
.ps-ask { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--soft); }
.ps-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.ps-b { appearance: none; min-height: 52px; padding: 0 8px; background: transparent; color: var(--paper); border: 1px solid var(--rule2); border-radius: 2px; font-family: var(--disp); font-weight: 700; font-size: 1.15rem; line-height: 1; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ps-b[data-k="build"] { border-bottom: 3px solid var(--build); } .ps-b[data-k="fix"] { border-bottom: 3px solid var(--fix); } .ps-b[data-k="leave"] { border-bottom: 3px solid var(--leave); }
@media (hover: hover) { .ps-b:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); } }
.ps-call { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.ps-call[data-k="build"] { color: var(--build); } .ps-call[data-k="fix"] { color: var(--fix); } .ps-call[data-k="leave"] { color: var(--leave); }
.ps-did { margin: 0; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.4; }
.ps-same { margin: 0; font-size: 15px; line-height: 1.4; color: var(--soft); }
.ps-next { appearance: none; justify-self: start; min-height: 48px; padding: 0 18px; margin-top: 2px; background: var(--paper); color: var(--ink); border: 0; border-radius: 2px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; }
@media (hover: hover) { .ps-next:hover { background: #fff; } }
.ps-card.is-did { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(16px, 2vw, 28px); }
.ps-card.is-did > .ps-top { grid-column: 1 / -1; }
.ps-words { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ps-shot { margin: 0; align-self: start; background: var(--ink3); outline: 1px solid var(--rule2); outline-offset: -1px; aspect-ratio: 16 / 10; }
.ps-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ps-tally { width: min(100%, 980px); margin: clamp(14px, 2vw, 22px) 0 clamp(22px, 4vw, 44px); font-family: var(--disp); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.01em; min-height: 1.2em; max-width: none; }
.ps-cols { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); align-items: start; }
.ps-col { border-top: 2px solid var(--rule2); padding-top: 12px; min-width: 0; }
.ps-col[data-k="build"] { border-top-color: var(--build); } .ps-col[data-k="fix"] { border-top-color: var(--fix); } .ps-col[data-k="leave"] { border-top-color: var(--leave); }
.ps-col h3 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.6rem); }
.ps-col[data-k="build"] h3 { color: var(--build); } .ps-col[data-k="leave"] h3 { color: var(--leave); }
.ps-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ps-col li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.4; color: var(--soft); opacity: 0; transform: translateY(-8px); transition: opacity .5s ease .25s, transform .6s var(--ease) .25s; }
.ps-col li.is-in { opacity: 1; transform: none; }
.ps-col li b { display: block; color: var(--paper); font-weight: 600; }
.ps-col li a { color: var(--paper); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.ps-col li img { display: block; width: 84px; height: 52px; object-fit: contain; background: var(--ink3); outline: 1px solid var(--rule); outline-offset: -1px; }
@media (min-width: 900px) {
  .ps { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .ps-words { position: sticky; top: calc(var(--hd) + 24px); }
}
@media (max-width: 699px) {
  .ps-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; } .ps-col h3 { font-size: 1.7rem; margin-bottom: 6px; }
  .ps-b { font-size: 1.05rem; } .ps-card { min-height: 0; } .ps-card.is-did { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ps-col li, .ps-b { transition: none; } }

/* round 5 (audience reader): the columns stay out of sight until the first call is made (their names looked like dead buttons);
   after an answer the three calls stay, smaller, so the other two can be tried on the same case; the still is the phone page on a phone */
.ps-cols.is-empty { display: none; }
.ps-pick.is-again { max-width: 420px; }
.ps-pick.is-again .ps-b { min-height: 44px; font-size: 1rem; }
.ps-pick.is-again .ps-b[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 699px) {
  .ps-shot { aspect-ratio: auto; justify-self: center; width: min(100%, 300px); }
  .ps-shot img { height: auto; max-height: 70vh; }
  /* the piece first, then the paragraph that explains it */
  .ps-words { display: contents; }
  .ps h2 { order: 1; } .ps-play { order: 2; } .ps-p { order: 3; margin-top: 0; }
}
