/* =================================================================== AI PRODUCT DEVELOPMENT (client, 2026-12-02, round 2)
   Each section drawn from what it says. Hero, FAQ, the orange band and the closing section untouched.
   Open layouts on hairlines, flat orange, no boxes, no uppercase, no added numbering. Calm motion only:
   lines that draw, squares that light, text that settles. product-development.js adds .is-in / .is-on.
   Previous version: _backup/product-development.css */

.pd-ease { transition-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* ---------- WHERE IT STARTS: "find your row" — each row is a path that draws from what you have to what you get ---------- */
.pd-paths__cols, .pd-path { display: grid; grid-template-columns: minmax(0, 1.05fr) 56px minmax(0, 1fr) 56px minmax(0, 1.15fr); column-gap: var(--sp25); }
.pd-paths__cols { padding-bottom: var(--sp15); border-bottom: 1px solid var(--white-20); font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey); }
.pd-paths__list { margin: 0; padding: 0; list-style: none; }
.pd-path { position: relative; align-items: start; padding-block: var(--sp40); border-bottom: 1px solid var(--white-10); transition: opacity .45s ease; }
.pd-path__have { margin: 0; font-size: var(--f35); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; color: var(--white); transition: color .4s ease; }
.pd-path__step, .pd-path__end { margin: 0; font-size: var(--f18); line-height: 1.5; color: var(--light-grey); opacity: 0; transform: translateX(-10px); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.pd-path__end { color: var(--white); }
/* the wire between two columns: a line that draws, ending in an orange square */
.pd-path__wire { position: relative; height: 1px; margin-top: .9em; background: var(--white-10); }
.pd-path__wire::before { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.65, 0, .35, 1); content: ""; }
.pd-path__wire::after { position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; background: var(--orange); transform: scale(0); transition: transform .35s cubic-bezier(.16, 1, .3, 1); content: ""; }
.pd-path.is-in {
    & .pd-path__wire:nth-of-type(1)::before { transform: scaleX(1); transition-delay: .15s; }
    & .pd-path__wire:nth-of-type(1)::after { transform: scale(1); transition-delay: .8s; }
    & .pd-path__step { opacity: 1; transform: none; transition-delay: .85s; }
    & .pd-path__wire:nth-of-type(2)::before { transform: scaleX(1); transition-delay: 1.2s; }
    & .pd-path__wire:nth-of-type(2)::after { transform: scale(1); transition-delay: 1.85s; }
    & .pd-path__end { opacity: 1; transform: none; transition-delay: 1.9s; }
}
/* find your row: the row under the pointer stays, the others step back */
@media (hover: hover) {
    .pd-paths__list:hover .pd-path:not(:hover) { opacity: .35; }
    .pd-path:hover .pd-path__have { color: var(--orange); }
}

/* ---------- HOW IT WORKS: one line end to end; at the human step it forks into keep / fix / rebuild ---------- */
.pd-line { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--sp40);
    margin: var(--sp30) 0 0; padding: var(--sp40) 0 0; list-style: none; }
.pd-line::before { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--white-20); content: ""; }
.pd-line::after { position: absolute; left: 0; right: 0; top: 0; height: 2px; margin-top: -.5px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform 2.4s cubic-bezier(.65, 0, .35, 1) .2s; content: ""; }
.pd-line.is-in::after { transform: scaleX(1); }
.pd-line__step { --d: 0s; position: relative; display: flex; flex-direction: column; gap: var(--sp12); opacity: 0; transform: translateY(14px);
    transition: opacity .6s ease var(--d), transform .9s cubic-bezier(.16, 1, .3, 1) var(--d); }
.pd-line__step::before { position: absolute; left: 0; top: calc(var(--cvw) * -2.6 - 5px); width: 11px; height: 11px; background: var(--white-20); content: ""; transition: background .4s ease var(--d); }
.pd-line__step:nth-child(2) { --d: .5s; } .pd-line__step:nth-child(3) { --d: 1s; } .pd-line__step:nth-child(4) { --d: 1.6s; } .pd-line__step:nth-child(5) { --d: 2.1s; }
.pd-line.is-in .pd-line__step { opacity: 1; transform: none; }
.pd-line.is-in .pd-line__step::before { background: var(--orange); }
.pd-line__step h3 { margin: 0; font-size: var(--f25); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--white); }
.pd-line__step p { margin: 0; font-size: var(--f17); line-height: 1.5; color: var(--light-grey); }
.pd-line__step--end h3 { font-size: var(--f45); letter-spacing: -.035em; }
.pd-line__step--end:last-child h3 { color: var(--orange); }
.pd-line__step--end::before { width: 15px; height: 15px; top: calc(var(--cvw) * -2.6 - 7px); }
.pd-line__tag { font-family: var(--font-mono); font-size: var(--f12) !important; letter-spacing: 0; color: var(--orange) !important; }
/* the fork */
.pd-fork { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: stretch; margin-top: var(--sp10); }
.pd-fork__svg { width: 100%; height: 96px; fill: none; stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pd-fork__svg path { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1) 1.4s; }
.pd-fork__svg path:nth-child(2) { transition-delay: 1.55s; } .pd-fork__svg path:nth-child(3) { transition-delay: 1.7s; }
.pd-verdicts { display: flex; flex-direction: column; margin: 0; padding: 0 0 0 10px; list-style: none; }
.pd-verdicts li { height: 32px; font-size: var(--f25); font-weight: 600; line-height: 32px; letter-spacing: -.02em; color: var(--white);
    opacity: 0; transform: translateX(-8px); transition: opacity .5s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.pd-verdicts li:last-child { color: var(--orange); }
.pd-line.is-in {
    & .pd-fork__svg path { stroke-dashoffset: 0; }
    & .pd-verdicts li { opacity: 1; transform: none; }
    & .pd-verdicts li:nth-child(1) { transition-delay: 2s; } & .pd-verdicts li:nth-child(2) { transition-delay: 2.15s; } & .pd-verdicts li:nth-child(3) { transition-delay: 2.3s; }
}

/* ---------- THE REVIEW: five steps lit as you read them; four questions held beside them, ticked in; three verdicts ---------- */
.pd-review__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--sp90); align-items: start; }
.pd-steps { --fill: 0; position: relative; margin: 0; padding-left: 38px; }
.pd-steps::before, .pd-steps::after { position: absolute; left: 5px; top: .6em; bottom: 2.2em; width: 1px; background: var(--white-20); content: ""; }
.pd-steps::after { width: 2px; margin-left: -.5px; background: var(--orange); transform: scaleY(var(--fill)); transform-origin: 50% 0; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.pd-steps > div { position: relative; padding-bottom: var(--sp40); }
.pd-steps > div::before { position: absolute; left: -38px; top: .45em; width: 11px; height: 11px; background: var(--white-20); content: ""; transition: background .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
.pd-steps dt { margin: 0 0 6px; font-size: var(--f25); font-weight: 700; letter-spacing: -.02em; color: var(--white-40, var(--light-grey)); transition: color .45s ease; }
.pd-steps dd { max-width: 44ch; margin: 0; font-size: var(--f17); line-height: 1.55; color: var(--light-grey); opacity: .45; transition: opacity .45s ease; }
.pd-steps > div.is-seen::before { background: var(--orange); }
.pd-steps > div.is-seen dt { color: var(--white); }
.pd-steps > div.is-seen dd { opacity: 1; }
.pd-steps > div.is-on::before { transform: scale(1.35); }
.pd-ask { position: sticky; top: calc(var(--header-h, 96px) + 32px); }
.pd-ask__lead { margin: 0 0 var(--sp20); font-family: var(--font-mono); font-size: var(--f15); letter-spacing: 0; color: var(--orange); }
.pd-ask__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white-20); }
.pd-ask__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: var(--sp25) 0; border-bottom: 1px solid var(--white-10);
    font-size: var(--f30); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--white);
    opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.pd-ask__tick { width: 20px; height: 20px; margin-top: .2em; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pd-ask__tick path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .5s ease; }
.pd-ask__list.is-in li { opacity: 1; transform: none; }
.pd-ask__list.is-in li:nth-child(2) { transition-delay: .2s; } .pd-ask__list.is-in li:nth-child(3) { transition-delay: .4s; } .pd-ask__list.is-in li:nth-child(4) { transition-delay: .6s; }
.pd-ask__list.is-in .pd-ask__tick path { stroke-dashoffset: 0; }
.pd-ask__list.is-in li:nth-child(1) .pd-ask__tick path { transition-delay: .5s; } .pd-ask__list.is-in li:nth-child(2) .pd-ask__tick path { transition-delay: .7s; }
.pd-ask__list.is-in li:nth-child(3) .pd-ask__tick path { transition-delay: .9s; } .pd-ask__list.is-in li:nth-child(4) .pd-ask__tick path { transition-delay: 1.1s; }
/* verdicts: three words set large; a line draws over each in turn, then the word settles */
.pd-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--sp75); }
.pd-verdict > div { --d: 0s; position: relative; padding: var(--sp30) var(--sp40) 0; border-top: 1px solid var(--white-20); border-left: 1px solid var(--white-10); }
.pd-verdict > div:first-child { padding-left: 0; border-left: 0; }
.pd-verdict > div:nth-child(2) { --d: .35s; } .pd-verdict > div:nth-child(3) { --d: .7s; }
.pd-verdict > div::before { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.65, 0, .35, 1) var(--d); content: ""; }
.pd-verdict p { max-width: 30ch; margin: 0; font-size: var(--f18); line-height: 1.5; color: var(--light-grey); opacity: 0; transition: opacity .6s ease calc(var(--d) + .5s); }
.pd-verdict .pd-verdict__w { margin-bottom: var(--sp15); font-size: var(--f70); font-weight: 700; line-height: .95; letter-spacing: -.05em; color: var(--white);
    opacity: 0; transform: translateY(.3em); transition: opacity .6s ease calc(var(--d) + .2s), transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--d) + .2s); }
.pd-verdict > div:last-child .pd-verdict__w { color: var(--orange); }
.pd-verdict.is-in > div::before { transform: scaleX(1); }
.pd-verdict.is-in p, .pd-verdict.is-in .pd-verdict__w { opacity: 1; transform: none; }
.pd-verdict__link { margin: var(--sp40) 0 0; }

/* ---------- CARRIED OVER: each build as two lines — what existed on top, the new build below. What was kept
   moves down onto the new line; then what was built new arrives beside it. (round 3, client 2026-12-02) ---------- */
.pd-builds { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white-20); }
.pd-build { padding-block: var(--sp45); border-bottom: 1px solid var(--white-10); }
.pd-build__txt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: var(--sp75);
    opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.pd-build__txt h3 { grid-row: 1 / span 3; margin: 0; font-size: var(--f35); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--white); }
.pd-build__txt p { max-width: 52ch; margin: 0 0 var(--sp15); font-size: var(--f17); line-height: 1.55; color: var(--light-grey); }
.pd-carry { --gap: 64px; --lift: calc(var(--gap) + 1.3em + 30px); display: grid; row-gap: var(--gap); margin-top: var(--sp45); font-size: var(--f20); }
.pd-carry__rail { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px var(--sp40); padding: 15px 0 15px 150px; }
.pd-carry__rail::after { position: absolute; left: 150px; right: 0; bottom: 0; height: 1px; background: var(--white-20); content: ""; }
.pd-carry__rail--to::after { height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.65, 0, .35, 1) .15s; }
.pd-carry__k { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey); }
.pd-carry__ghost, .pd-carry__kept, .pd-carry__new { position: relative; padding-left: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; white-space: nowrap; }
.pd-carry__ghost::before, .pd-carry__kept::before, .pd-carry__new::before { position: absolute; left: 0; top: .45em; width: 9px; height: 9px; content: ""; }
/* top line: what existed */
.pd-carry__ghost { color: var(--white); transition: opacity .6s ease; }
.pd-carry__ghost::before { border: 1px solid var(--light-grey); }
/* kept: starts on the top line, moves down onto the new one */
.pd-carry__kept { color: var(--orange); opacity: 0; transform: translateY(calc(-1 * var(--lift)));
    transition: opacity .3s ease calc(.45s + var(--i) * .16s), transform 1s cubic-bezier(.65, 0, .35, 1) calc(.45s + var(--i) * .16s); }
.pd-carry__kept::before { background: var(--orange); }
/* built new: arrives after the kept parts have landed */
.pd-carry__nk { font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey); opacity: 0; transition: opacity .5s ease 1.5s; }
.pd-carry__new { color: var(--white); opacity: 0; transform: translateX(-12px);
    transition: opacity .5s ease calc(1.65s + var(--i) * .15s), transform .8s cubic-bezier(.16, 1, .3, 1) calc(1.65s + var(--i) * .15s); }
.pd-carry__new::before { border: 1px solid var(--white); }
.pd-build.is-in {
    & .pd-build__txt { opacity: 1; transform: none; }
    & .pd-carry__rail--to::after { transform: scaleX(1); }
    & .pd-carry__kept { opacity: 1; transform: none; }
    & .pd-carry__ghost { opacity: .3; transition-delay: .7s; }
    & .pd-carry__nk, & .pd-carry__new { opacity: 1; transform: none; }
}
/* the simulator: nothing was carried — the demonstration is struck through and replaced */
.pd-carry--swap .pd-carry__ghost::after { position: absolute; left: 18px; right: 0; top: 55%; height: 1px; background: var(--light-grey); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.65, 0, .35, 1) .6s; content: ""; }
.pd-build.is-in .pd-carry--swap .pd-carry__ghost::after { transform: scaleX(1); }
.pd-carry--swap .pd-carry__nk { transition-delay: 1s; }
.pd-carry--swap .pd-carry__new { transition-delay: calc(1.15s + var(--i) * .15s), calc(1.15s + var(--i) * .15s); }

/* ---------- WHEN TO BUILD (orange band) — unchanged ---------- */
.pd-when__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp75); align-items: end; }
.pd-when__say { max-width: 34ch; margin: 0; font-size: var(--f25); font-weight: 500; line-height: 1.4; color: #111; }
.pd-when__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--sp60) 0 var(--sp45); padding: 0; list-style: none; border-top: 1px solid rgba(17, 17, 17, .25); }
.pd-when__list li { position: relative; padding: var(--sp30) var(--sp45) 0 0; font-size: var(--f35); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: #111;
    opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.pd-when__list li + li { padding-left: var(--sp45); border-left: 1px solid rgba(17, 17, 17, .25); transition-delay: .15s; }
.pd-when__list li::before { display: block; width: 12px; height: 12px; margin-bottom: var(--sp15); background: #FFFFFF; content: ""; }
.pd-when__list.is-in li { opacity: 1; transform: none; }

/* ---------- COST: the five factors light up one at a time as you read; launch: tests before, a month after ---------- */
.pd-factors { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white-20); }
.pd-factor { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sp60); align-items: baseline; padding-block: var(--sp30); border-bottom: 1px solid var(--white-10); }
.pd-factor::after { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.65, 0, .35, 1); content: ""; }
.pd-factor__t { position: relative; margin: 0; font-size: var(--f45); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--white-40, var(--light-grey));
    transition: color .5s ease, padding .6s cubic-bezier(.16, 1, .3, 1); }
.pd-factor__t::before { position: absolute; left: 0; top: .42em; width: 14px; height: 14px; background: var(--orange); transform: scale(0); transition: transform .5s cubic-bezier(.16, 1, .3, 1); content: ""; }
.pd-factor__d { max-width: 40ch; margin: 0; font-size: var(--f18); line-height: 1.55; color: var(--light-grey); opacity: .45; transition: opacity .5s ease; }
.pd-factor.is-on::after { transform: scaleX(1); }
.pd-factor.is-on .pd-factor__t { padding-left: 32px; color: var(--white); }
.pd-factor.is-on .pd-factor__t::before { transform: scale(1); }
.pd-factor.is-on .pd-factor__d { opacity: 1; }
.pd-launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp20) var(--sp75); margin-top: var(--sp90); }
.pd-launch__h { grid-column: 1 / -1; margin: 0 0 var(--sp10); font-size: var(--f40); font-weight: 700; letter-spacing: -.03em; color: var(--white); }
.pd-launch__line { position: relative; grid-column: 1 / -1; height: 34px; }
.pd-launch__line::before { position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 1px dashed var(--white-20); content: ""; }   /* after launch reads as dashed: the orange covers the before half */
.pd-launch__line::after { position: absolute; left: 0; width: 50%; top: 50%; height: 2px; margin-top: -.5px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.65, 0, .35, 1); content: ""; }
/* before launch: the tests, each a short tick that lights pass-orange in turn */
.pd-launch__tests { position: absolute; left: 0; width: calc(50% - 40px); top: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; }
.pd-launch__tests i { width: 1px; height: 14px; background: var(--white-20); transition: background .3s ease, height .3s ease; }
.pd-launch__mark { position: absolute; left: 50%; top: 0; display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 12px; margin-left: -6px; background: var(--background); font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--orange); }
.pd-launch__mark::before { width: 12px; height: 12px; background: var(--orange); content: ""; }
/* after launch: the line runs on, dotted, to a month later */
.pd-launch__month { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 10px; height: 100%; padding-left: 12px; background: var(--background);
    font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey); opacity: 0; transition: opacity .6s ease 2.4s; }
.pd-launch__month::before { width: 10px; height: 10px; border: 1px solid var(--orange); content: ""; }
.pd-launch__before, .pd-launch__after { max-width: 40ch; margin: 0; font-size: var(--f25); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--light-grey); opacity: .4; transition: opacity .6s ease; }
.pd-launch__before strong, .pd-launch__after strong { font-weight: 700; color: var(--white); }
.pd-launch__after { padding-left: var(--sp30); transition-delay: 1.9s; }
.pd-launch.is-in {
    & .pd-launch__line::after { transform: scaleX(1); }
    & .pd-launch__tests i { height: 18px; background: var(--orange); }
    & .pd-launch__tests i:nth-child(1) { transition-delay: .2s; } & .pd-launch__tests i:nth-child(2) { transition-delay: .4s; } & .pd-launch__tests i:nth-child(3) { transition-delay: .6s; }
    & .pd-launch__tests i:nth-child(4) { transition-delay: .8s; } & .pd-launch__tests i:nth-child(5) { transition-delay: 1s; } & .pd-launch__tests i:nth-child(6) { transition-delay: 1.2s; }
    & .pd-launch__month { opacity: 1; }
    & .pd-launch__before, & .pd-launch__after { opacity: 1; }
}

/* ---------- GUIDE: seven gaps between a demo and an application — the line closes as it comes into view ---------- */
.pd-guide__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp90); align-items: center; padding-block: var(--sp15); border-top: 1px solid var(--white-20); border-bottom: 1px solid var(--white-20); }
.pd-guide__t { margin: var(--sp15) 0; font-size: var(--f65); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.pd-guide__t a { color: var(--white); transition: color .3s ease; }
.pd-guide__t a:hover { color: var(--orange); }
.pd-guide__d { max-width: 44ch; margin: 0 0 var(--sp30); font-size: var(--f18); line-height: 1.55; color: var(--light-grey); }
.pd-gaps { display: flex; align-items: center; gap: var(--sp15); }
.pd-gaps__end { flex: 0 0 auto; font-family: var(--font-mono); font-size: var(--f15); letter-spacing: 0; color: var(--white); }
.pd-gaps__end:last-child { color: var(--orange); }
.pd-gaps__line { display: flex; flex: 1; align-items: center; gap: 14px; transition: gap 1.4s cubic-bezier(.65, 0, .35, 1) .3s; }
.pd-gaps__line i { flex: 1; height: 2px; background: var(--white-40, #888); transition: background .6s ease 1.2s; }
.pd-gaps.is-in .pd-gaps__line { gap: 0; }
.pd-gaps.is-in .pd-gaps__line i { background: var(--orange); }

/* related services: now the shared slider (rel-slider.css), same cards as the other service pages */

/* ---------- tablet / phone ---------- */
@media (max-width: 991.98px) {
    .pd-paths__cols { display: none; }
    .pd-path { grid-template-columns: minmax(0, 1fr); gap: var(--sp10); }
    .pd-path__wire { width: 40px; margin: 2px 0; }
    .pd-line { grid-template-columns: minmax(0, 1fr); gap: var(--sp60); padding: 0 0 0 30px; }   /* clear space under each step (client 2026-12-03) */
    .pd-line::before, .pd-line::after { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .pd-line::after { width: 2px; transform: scaleY(0); transform-origin: 50% 0; }
    .pd-line.is-in::after { transform: scaleY(1); }
    .pd-line__step::before, .pd-line__step--end::before { left: -30px; top: .4em; }
    .pd-line__step--end::before { left: -32px; }
    .pd-review__grid { grid-template-columns: minmax(0, 1fr); gap: calc(var(--cvw) * 8); }
    .pd-ask { position: static; }
    .pd-verdict { grid-template-columns: minmax(0, 1fr); }
    .pd-verdict > div, .pd-verdict > div:first-child { padding: var(--sp25) 0; border-left: 0; }
    .pd-build__txt { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp15); }
    .pd-build__txt h3 { grid-row: auto; }
    .pd-when__top, .pd-when__list { grid-template-columns: minmax(0, 1fr); }
    .pd-when__list li + li { padding-left: 0; border-left: 0; }
    .pd-when__list li { padding-bottom: var(--sp20); }
    .pd-factor { grid-template-columns: minmax(0, 1fr); gap: var(--sp10); }
    .pd-launch { grid-template-columns: minmax(0, 1fr); }
    .pd-launch__after { padding-left: 0; }
    .pd-guide__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .pd-carry { --gap: 52px; --lift: calc(var(--gap) + 1.3em + 49px); }
    .pd-carry__rail { padding-left: 0; padding-top: 34px; }
    .pd-carry__rail::after { left: 0; }
    .pd-carry__k { top: 8px; transform: none; }
    .pd-carry__ghost, .pd-carry__kept, .pd-carry__new { white-space: normal; }
    .pd-launch__month { font-size: var(--f12); }
    .pd-gaps { flex-wrap: wrap; }
    .pd-gaps__line { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-path__step, .pd-path__end, .pd-line__step, .pd-verdicts li, .pd-ask__list li, .pd-verdict p, .pd-verdict .pd-verdict__w,
    .pd-build__txt, .pd-carry__kept, .pd-carry__new, .pd-carry__nk, .pd-when__list li, .pd-launch__month, .pd-launch__before, .pd-launch__after { opacity: 1 !important; transform: none !important; transition: none !important; }
    .pd-path__wire::before, .pd-path__wire::after, .pd-line::after, .pd-verdict > div::before { transform: none !important; transition: none !important; }
    .pd-carry__rail--to::after, .pd-carry--swap .pd-carry__ghost::after { transform: none !important; transition: none !important; }
    .pd-fork__svg path, .pd-ask__tick path { stroke-dashoffset: 0 !important; transition: none !important; }
    .pd-launch__line::after { transform: scaleX(1) !important; transition: none !important; }
    .pd-gaps__line { gap: 0; transition: none; } .pd-gaps__line i { background: var(--orange); transition: none; }
}

/* client, 2026-12-02: no line-draw animation anywhere on this page — every line, wire, fork, tick and arrow is drawn
   from the start; only the text and squares fade / settle in. Hover and "active" lines appear in place. */
.pd-path__wire::before, .pd-line::after, .pd-steps::after, .pd-verdict > div::before, .pd-launch__line::after { transform: none !important; transition: none !important; }
.pd-carry__rail--to::after, .pd-carry--swap .pd-carry__ghost::after { transform: none !important; transition: none !important; }
    .pd-fork__svg path, .pd-ask__tick path { stroke-dashoffset: 0 !important; transition: none !important; }
.pd-factor::after { transform: none !important; opacity: 0; transition: opacity .35s ease !important; }
.pd-factor.is-on::after { opacity: 1; }
.pd-gaps__line { gap: 0 !important; transition: none !important; }
.pd-gaps__line i { background: var(--orange) !important; transition: none !important; }

/* client, 2026-12-02: the cost rows work like the homepage service list — every row reads at full strength; hover
   floods the row with orange from below, the title steps right, the text turns dark and the other rows dim back.
   (Replaces the scroll-lit dimming and the orange square / underline on the active row.) */
.pd-factors:has(.pd-factor:hover) .pd-factor:not(:hover) { opacity: .35; }
.pd-factor { isolation: isolate; padding-inline: var(--sp25); transition: opacity var(--ease), color var(--ease); }
.pd-factor::before { position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleY(0); transform-origin: 50% 100%; transition: transform var(--ease-expo); content: ""; }
.pd-factor::after { display: none !important; }
.pd-factor__t, .pd-factor.is-on .pd-factor__t { padding-left: 0; color: var(--white); transition: transform var(--ease-expo), color var(--ease); }
.pd-factor__t::before, .pd-factor.is-on .pd-factor__t::before { display: none; }
.pd-factor__d, .pd-factor.is-on .pd-factor__d { opacity: 1; color: var(--light-grey); transition: color var(--ease); }
.pd-factor:hover::before { transform: scaleY(1); }
.pd-factor:hover .pd-factor__t { color: var(--black, #111); transform: translateX(var(--sp15)); }
.pd-factor:hover .pd-factor__d { color: var(--black, #111); }
@media (max-width: 767.98px) { .pd-factor { padding-inline: 0; } .pd-factor:hover .pd-factor__t { transform: none; } }

/* client, 2026-12-02: no connecting line down the five review steps — each step keeps its square marker. */
.pd-steps::before, .pd-steps::after { content: none !important; }
/* client, 2026-12-02: cost rows — title and text centred vertically in the row */
.pd-factor { align-items: center !important; }

/* client, 2026-12-02: "line play" on the prototype-to-production timeline. The orange line stays put; a short
   white light runs along it in a slow loop (left to right; top to bottom on mobile where the line is vertical). */
.pd-line::before { height: 2px !important; margin-top: -.5px; background: var(--orange) !important; }
.pd-line.pd-line::after { left: 0; right: auto; width: 90px !important; background: var(--white) !important; opacity: 0;
    animation: pd-line-play 4.5s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes pd-line-play { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 90px); opacity: 0; } }
@media (max-width: 991.98px) {
    .pd-line::before { width: 2px !important; height: auto !important; margin-top: 0; }
    .pd-line.pd-line::after { left: 5px !important; top: 0; bottom: auto !important; width: 2px !important; height: 90px !important; margin-top: 0; animation-name: pd-line-play-v; }
    @keyframes pd-line-play-v { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 90px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .pd-line.pd-line::after { animation: none; display: none; } }
/* client, 2026-12-02: on the orange hover fill the title turns white (orange-band rule: sub-text stays dark). */
.pd-factor:hover .pd-factor__t { color: var(--white) !important; }
/* client, 2026-12-02: the description turns white on the orange hover fill too. */
.pd-factor:hover .pd-factor__d { color: var(--white) !important; }

/* =================================================================== client, 2026-12-02: "Where AI product development starts"
   in the same deck as the animation studio's "What did the rebuild add…" (rules copied from case-studio.css, section 2;
   the rows deal in with data-anim="stack-rows" from animations.js). Here the middle column is a real first step, so it
   gets an arrow and no strike-through; the end result gets the orange tick. */
.pd-start .st-deck__labels, .pd-start .st-deck__row {
    display: grid;
    grid-template-columns: calc(var(--cvw) * 4) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.4fr);
    column-gap: var(--sp30);
}
.pd-start .st-deck__labels {
    margin-top: var(--sp45);
    padding: 0 var(--sp30) var(--sp15);
    font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey);
    & span:first-child { grid-column: 1 / 3; }
}
.pd-start .st-deck { display: flex; flex-direction: column; gap: var(--sp10); margin: 0; padding: 0; list-style: none; }
.pd-start .st-deck__row {
    align-items: start;
    padding: var(--sp25) var(--sp30);
    border: 1px solid var(--white-10);
    background: var(--background);
    transition: border-color .4s ease;
    &.is-active { border-color: var(--white-20); }
}
.pd-start .st-deck__n { font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--orange); padding-top: .35em; }
.pd-start .st-deck__pt { margin: 0; font-size: var(--f25); font-weight: 700; line-height: var(--lhSnug); letter-spacing: var(--ls-h3); color: var(--white); }
.pd-start .st-deck__was, .pd-start .st-deck__now {
    display: flex; align-items: flex-start; gap: 12px; margin: 0;
    font-size: var(--f16); line-height: 1.5;
    & svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: .25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
.pd-start .st-deck__was { color: var(--light-grey); }
.pd-start .st-deck__now { color: var(--white); font-weight: 500; & svg { color: var(--orange); } }
@media (max-width: 767.98px) {
    .pd-start .st-deck__labels { display: none; }
    .pd-start .st-deck__row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
}

/* =================================================================== client, 2026-12-02: "A rebuild keeps what already works" redesigned.
   Each build is one row: the story and its case-study link on the left; on the right a plain before → after —
   what was kept (or carried over / began as) and what was built new (or rebuilt), each item listed once, the two
   columns joined by an arrow. Hairlines, orange squares on what was kept, no boxes, no line-draw; the row fades in. */
.pd-xfers { margin: var(--sp45) 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--white-20); }
.pd-xfer {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp75); align-items: start;
    padding: var(--sp45) 0; border-top: 1px solid var(--white-20);
    opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1);
}
.pd-xfer.is-in { opacity: 1; transform: none; }
.pd-xfer__txt h3 { margin: 0 0 var(--sp15); font-size: var(--f35); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--white); }
.pd-xfer__txt p { margin: 0; max-width: 46ch; font-size: var(--f17); line-height: 1.55; color: var(--light-grey); }
.pd-xfer__txt .pd-xfer__go { margin-top: var(--sp20); }
.pd-xfer__map { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--sp30); align-items: start; }
.pd-xfer__k { margin: 0 0 var(--sp10); font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey); }
.pd-xfer__col--to .pd-xfer__k { color: var(--orange); }
.pd-xfer__col ul { margin: 0; padding: 0; list-style: none; }
.pd-xfer__col li { position: relative; padding: 12px 0 12px 20px; border-top: 1px solid var(--white-10); font-size: var(--f18); font-weight: 600; line-height: 1.35; color: var(--white); }
.pd-xfer__col li::before { position: absolute; left: 0; top: calc(12px + .5em); width: 8px; height: 8px; background: var(--orange); content: ""; }
.pd-xfer__col--to li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--white); }
.pd-xfer__to { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 30px; color: var(--orange); }
.pd-xfer__to svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 991.98px) { .pd-xfer { grid-template-columns: minmax(0, 1fr); gap: var(--sp30); } }
@media (max-width: 575.98px) {
    .pd-xfer__map { grid-template-columns: minmax(0, 1fr); gap: var(--sp15); }
    .pd-xfer__to { margin: 0; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .pd-xfer { opacity: 1; transform: none; transition: none; } }

/* client, 2026-12-02: the square beside each review step sits on the middle of the step's title line */
.pd-steps dt { line-height: 1.2; }
.pd-steps > div::before { top: calc(var(--f25) * .6 - 5.5px); }

/* ---------- cost: "how you know it works" as a plain heading + paragraph (client, 2026-12-02) ---------- */
.pd-launch-plain { max-width: 760px; margin-top: var(--sp90); }

/* ---------- guide as an orange band that closes in, like the homepage "Working with us" band (client, 2026-12-02) ---------- */
.pd-guide--band .pd-guide__in { border: 0; padding-block: 0; }
.pd-guide--band .pd-guide__t a { color: #fff; }
.pd-guide--band .pd-guide__t a:hover { color: var(--ink); }
.pd-guide--band .pg-label--dot::before { background: var(--ink) !important; }
.pd-guide--band .pd-gaps__end, .pd-guide--band .pd-gaps__end:last-child { color: var(--ink); }
.pd-guide--band .pd-gaps__end:last-child { color: #fff; }
.pd-guide--band .pd-gaps__line i { background: var(--ink) !important; }
@media (max-width: 991.98px) { .pd-guide--band .pd-gaps { justify-content: space-between; margin-top: var(--sp10); } }

/* client (2026-12-02): guide band — demo/application line removed, the link is the standard dark button */
.pd-guide--band .pd-guide__in { grid-template-columns: minmax(0, 1fr); }
.pd-guide--band .pd-guide__d { margin-bottom: 0; color: var(--ink, #111); }
.pd-guide--band .btn-group { margin-top: var(--sp30); }

/* ---------- the timeline shared with the other AI service pages (client, 2026-12-02): column counts,
   a smaller fork list for longer items, and the one-line rule under it ---------- */
.pd-line--3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.pd-line--4 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
.pd-verdicts--sm li { font-size: var(--f17); font-weight: 500; white-space: nowrap; }
.pd-line__rule { margin: var(--sp60) 0 0; font-family: var(--font-mono); font-size: var(--f15); color: var(--white-75); }
@media (max-width: 991.98px) { .pd-line--3, .pd-line--4 { grid-template-columns: minmax(0, 1fr); } }
.pd-line__list { display: grid; gap: 8px; margin: var(--sp10) 0 0; padding: 0; list-style: none; }
.pd-line__list li { position: relative; padding-left: 18px; font-size: var(--f17); line-height: 1.4; color: var(--white); }
.pd-line__list li::before { position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--orange); content: ""; }
/* client (2026-12-02): more room between the deck's columns */
@media (min-width: 768px) { .pd-start .st-deck__labels, .pd-start .st-deck__row { column-gap: var(--sp60); } }
/* client (2026-12-02): the "How you know … is working" h3 at 35px on a 1536 screen, scaling with the page */
.pd-launch-plain .pg-h3 { font-size: var(--f35); line-height: 1.2; letter-spacing: -.02em; }
.pd-launch-plain { margin-top: calc(var(--cvw) * 6 - 20px); } /* client: 20px closer to the rows above */
.pd-deck__cap { margin: 0 0 var(--sp10); font-family: var(--font-mono); font-size: var(--f12); color: var(--light-grey); }

/* ---------- title + description in a sticky column on the left, rows on the right (client, 2026-12-02) ---------- */
.pd-stick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp75); align-items: start; }
.pd-stick__aside { position: sticky; top: 120px; }
.pd-stick .pg-rows div.pg-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp10); }
.pd-stick .pg-rows { margin-top: 0; }
@media (max-width: 991.98px) { .pd-stick { grid-template-columns: minmax(0, 1fr); gap: var(--sp90); } .pd-stick__aside { position: static; } }
.pd-stick .pg-rows div.pg-row.pg-row:not(:has(.pg-row__n)):not(:has(.pg-row__go)) { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp10); }
.pd-stick__aside .lead { max-width: 34ch; } /* client: narrower copy */

/* client, 2026-12-02: two-column deck variant (where you are | you leave with) — ai-consulting, digital-product-engineering, managed services "When…" sections. */
.pd-start--2 .st-deck__labels, .pd-start--2 .st-deck__row { grid-template-columns: calc(var(--cvw) * 4) minmax(0, 1fr) minmax(0, 1.3fr); }
@media (max-width: 767.98px) { .pd-start--2 .st-deck__row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; } }
/* client, 2026-12-02: no 01–04 on the two-column deck — two text columns only */
.pd-start--2 .st-deck__labels, .pd-start--2 .st-deck__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--sp60); }
.pd-start--2 .st-deck__labels span:first-child { grid-column: auto; }
@media (max-width: 767.98px) { .pd-start--2 .st-deck__row { grid-template-columns: minmax(0, 1fr); } }
/* client, 2026-12-02: managed services' five steps, evenly spaced */
@media (min-width: 992px) { .pd-line--even { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* client, 2026-12-02: guide band — title on two lines at the left, the text and button at the right, lined up with the title's last line */
.pd-guide__txt--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp75); align-items: end; }
.pd-guide__txt--split .pd-guide__t { margin: 0; }
.pd-guide__txt--split .pd-guide__d { max-width: 44ch; }
.pd-guide__txt--split .btn-group { margin-top: var(--sp25); }
@media (max-width: 991.98px) { .pd-guide__txt--split { grid-template-columns: minmax(0, 1fr); gap: var(--sp20); } }
/* client, 2026-12-02: no white square on the two "when" lines, and a rule under them as well as over them */
.pd-when__list li::before { display: none; }
.pd-when__list { border-bottom: 1px solid rgba(17, 17, 17, .25); }
.pd-when__list li { padding-bottom: var(--sp30); }
