/* =================================================================== AI CONSULTING & READINESS (client, 2026-12-02)
   "What AI Consulting & Readiness covers": the copy says it starts with strategy and readiness, and five kinds of build
   can follow — so the strategy work is set first as the starting point, and the five builds hang off one line below it
   (a branch: a line down the left, a short tick and an orange square into each build). Each build reads across:
   name · what you get · the proof, its status and a link. Open layout, hairlines, no boxes, no numbers. */
.ac-k { margin: 0; font-family: var(--font-mono); font-size: var(--f12); color: var(--orange); }

/* the starting point */
.ac-start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp75); padding: var(--sp45) 0; border-top: 2px solid var(--orange); border-bottom: 1px solid var(--white-20); }
.ac-start__k { display: flex; flex-direction: column; gap: var(--sp12); }
.ac-start__t { margin: 0; font-size: var(--f45); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--white); }
.ac-start__body { display: flex; flex-direction: column; gap: var(--sp15); max-width: 60ch; }
.ac-start .ac-get { font-size: var(--f25); }

/* shared text */
.ac-get { margin: 0; font-size: var(--f18); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--white); }
.ac-more { margin: 0; font-size: var(--f16); line-height: 1.6; color: var(--light-grey); }
.ac-status { position: relative; margin: 0; padding-left: 16px; font-size: var(--f12); line-height: 1.5; color: var(--white-75); }
.ac-status::before { position: absolute; left: 0; top: .45em; width: 7px; height: 7px; background: var(--orange); content: ""; }
.ac-go { margin: 0; font-size: var(--f15); font-weight: 600; }

/* ---------- the five builds as an index you choose from (client, 2026-12-02, round 2) ----------
   The report recommends one first build out of five kinds, so the five names are an index on the left (big type,
   hairlines) and the chosen one opens on the right under "One recommended first build, in writing" — the way the
   report would put it. Tabs on desktop (ai-consulting.js); without JS, or under 992px, every build is shown in turn. */
.ac-pick { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--sp75); align-items: start; margin-top: var(--sp60); }
.ac-pick__index .ac-k { margin-bottom: var(--sp15); }
.ac-pick__tabs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white-20); }
.ac-pick__tabs li { border-bottom: 1px solid var(--white-20); }
.ac-pick__tab { position: relative; display: flex; align-items: center; gap: var(--sp15); width: 100%; padding: var(--sp25) 0; border: 0; background: none; cursor: pointer; text-align: left;
    font: inherit; font-size: var(--f35); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--white-20);
    transition: color .35s ease, padding-left .5s cubic-bezier(.16, 1, .3, 1); }
.ac-pick__tab:hover { color: var(--white); }
.ac-pick__tab[aria-selected="true"] { color: var(--white); padding-left: var(--sp10); }
.ac-pick__tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.ac-pick__sq { flex: 0 0 auto; display: inline-block; width: 12px; height: 12px; border: 1px solid var(--white-20); transition: background .35s ease, border-color .35s ease; }
.ac-pick__tab[aria-selected="true"] .ac-pick__sq { border-color: var(--orange); background: var(--orange); }

.ac-pick__report { position: sticky; top: 120px; padding-top: var(--sp20); border-top: 2px solid var(--orange); }
.ac-pick__head { display: flex; align-items: center; gap: var(--sp10); margin: 0 0 var(--sp40); font-family: var(--font-mono); font-size: var(--f12); color: var(--light-grey);
    & .ac-pick__sq { width: 8px; height: 8px; border: 0; background: var(--orange); } }
.ac-pick__panel { display: flex; flex-direction: column; gap: var(--sp15); }
.ac-pick__t { margin: 0; font-size: var(--f25); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--orange); }
.ac-pick__panel .ac-get { font-size: var(--f25); font-weight: 600; line-height: 1.3; }
.ac-pick__more { display: flex; flex-direction: column; gap: var(--sp12); max-width: 56ch; }
/* tabs on: only the chosen build shows, with a short rise */
.ac-pick.is-tabs .ac-pick__panel { display: none; }
.ac-pick.is-tabs .ac-pick__panel.is-on { display: flex; animation: ac-in .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes ac-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .ac-start { grid-template-columns: minmax(0, 1fr); gap: var(--sp20); }
    .ac-pick { grid-template-columns: minmax(0, 1fr); }
    .ac-pick__index { display: none; }
    .ac-pick__report { position: static; }
    .ac-pick__panel + .ac-pick__panel { margin-top: calc(var(--cvw) * 8); padding-top: var(--sp90); border-top: 1px solid var(--white-20); }
}
@media (prefers-reduced-motion: reduce) { .ac-pick.is-tabs .ac-pick__panel.is-on { animation: none; } .ac-pick__tab { transition: none; } }
.ac-pick__tab:not([aria-selected="true"]) { color: var(--light-grey); opacity: .6; } .ac-pick__tab:not([aria-selected="true"]):hover { opacity: 1; color: var(--white); }
@media (max-width: 991.98px) { .ac-pick__index { display: block; } .ac-pick__tabs, .ac-pick__head { display: none; } .ac-pick { gap: var(--sp15); } }

/* ---------- round 3 (client, 2026-12-02): less "text beside text" ----------
   The strategy block shows its four questions as the thing they are — four questions, large, in a 2×2 grid split by
   hairlines, each with an orange square that fills as the block comes into view. The build's status moves to the
   top of the report side as its marker line. */
.ac-start { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.ac-start__k { gap: var(--sp15); }
.ac-start__k .ac-get { font-size: var(--f20); margin-top: var(--sp10); }
.ac-start__body { max-width: none; gap: var(--sp20); }
.ac-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white-20); }
.ac-qs li { position: relative; min-height: calc(var(--cvw) * 9); padding: var(--sp30) var(--sp30) var(--sp30) 0;
    border-bottom: 1px solid var(--white-20); font-size: var(--f25); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--white); }
.ac-qs li:nth-child(even) { padding-left: var(--sp30); border-left: 1px solid var(--white-20); }
.ac-qs li::before { display: block; width: 10px; height: 10px; margin-bottom: var(--sp15); border: 1px solid var(--orange); content: "";
    transition: background .5s ease; }
.ac-qs.is-in li::before { background: var(--orange); }
.ac-qs.is-in li:nth-child(2)::before { transition-delay: .2s; } .ac-qs.is-in li:nth-child(3)::before { transition-delay: .4s; } .ac-qs.is-in li:nth-child(4)::before { transition-delay: .6s; }
.ac-status--top { margin-bottom: var(--sp10); }
@media (max-width: 767.98px) {
    .ac-qs { grid-template-columns: minmax(0, 1fr); }
    .ac-qs li, .ac-qs li:nth-child(even) { min-height: 0; padding: var(--sp20) 0; border-left: 0; }
}

/* ---------- round 4 (client, 2026-12-02): builds as an open accordion, strategy stacks on mobile ----------
   Each build is one row: big name, the "You get" line, a plus. Hover floods the row orange (all text white).
   Click opens status, proof and link underneath. */
.ac-builds { margin-top: var(--sp90); }
.ac-builds__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp20); padding-bottom: var(--sp20); border-bottom: 2px solid var(--orange); }
.ac-builds__note { margin: 0; font-size: var(--f15); color: var(--light-grey); }
.ac-builds__list { margin: 0; padding: 0; list-style: none; }
.ac-b { border-bottom: 1px solid var(--white-20); }
.ac-b__h { margin: 0; font: inherit; }
.ac-b__btn { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 28px; gap: var(--sp45); align-items: center;
    width: 100%; padding: var(--sp30) var(--sp25); border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.ac-b__btn::before { position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.16, 1, .3, 1); content: ""; }
.ac-b__t { font-size: var(--f45); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--white); transition: color .3s ease; }
.ac-b__get { font-size: var(--f18); line-height: 1.5; color: var(--light-grey); transition: color .3s ease; }
.ac-b__ic { position: relative; width: 28px; height: 28px; justify-self: end; }
.ac-b__ic::before, .ac-b__ic::after { position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: var(--orange); transition: transform .4s ease, background .3s ease; content: ""; }
.ac-b__ic::after { transform: rotate(90deg); }
.ac-b.is-open .ac-b__ic::after { transform: rotate(0deg); }
.ac-b__btn:hover::before, .ac-b__btn:focus-visible::before { transform: scaleY(1); }
.ac-b__btn:hover .ac-b__t, .ac-b__btn:hover .ac-b__get, .ac-b__btn:focus-visible .ac-b__t, .ac-b__btn:focus-visible .ac-b__get { color: #fff; }
.ac-b__btn:hover .ac-b__ic::before, .ac-b__btn:hover .ac-b__ic::after { background: #fff; }
.ac-b.is-open .ac-b__t { color: var(--orange); }
.ac-b.is-open .ac-b__btn:hover .ac-b__t { color: #fff; }
.ac-builds__list:has(.ac-b__btn:hover) .ac-b:not(:has(.ac-b__btn:hover)) .ac-b__btn { opacity: .45; }
.ac-b__btn { transition: opacity .3s ease; }
.ac-b__more { overflow: hidden; transition: height .5s cubic-bezier(.65, 0, .35, 1); }
.ac-b__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 28px; column-gap: var(--sp45); padding: 0 var(--sp25) var(--sp40); }
.ac-b__in > * { grid-column: 2; margin: 0; }
.ac-b__in > .ac-status { grid-column: 1; grid-row: 1 / span 2; align-self: start; max-width: 30ch; }
.ac-b__in .ac-more { max-width: 56ch; }
.ac-b__in .ac-go { margin-top: var(--sp15); }
@media (max-width: 991.98px) {
    .ac-start { grid-template-columns: minmax(0, 1fr); gap: var(--sp30); }
    .ac-b__btn { grid-template-columns: minmax(0, 1fr) 24px; gap: var(--sp10) var(--sp15); padding: var(--sp25) 0; }
    .ac-b__t { grid-column: 1; } .ac-b__get { grid-column: 1; font-size: var(--f16); } .ac-b__ic { grid-column: 2; grid-row: 1; }
    .ac-b__btn::before { inset: 0 calc(var(--sp15) * -1); }
    .ac-b__in { grid-template-columns: minmax(0, 1fr); padding: 0 0 var(--sp25); row-gap: var(--sp15); }
    .ac-b__in > *, .ac-b__in > .ac-status { grid-column: 1; grid-row: auto; }
    .ac-builds__head { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ac-b__more, .ac-b__btn::before { transition: none; } }

/* ---------- round 7 (client, 2026-12-02): strategy block back to the site's standard pieces ----------
   Same sticky split + pg-rows as the analytics page: text left, the four questions as plain rows right. */
.ac-std { margin-top: var(--sp60); padding-top: var(--sp45); border-top: 1px solid var(--white-20); }
.ac-std .ac-k { margin-bottom: var(--sp15); }
.ac-std__t { margin: 0; }
.ac-builds__head { justify-content: space-between; }
.ac-std .ac-go { margin-top: var(--sp20); }

/* round 8: clearer hierarchy — bigger title, the "You get" line as the key line, small notes under it;
   the four questions get an orange square marker and line up with the row rules. */
.ac-std { align-items: start; }
.ac-std__t { font-size: var(--f45); line-height: 1.05; letter-spacing: -.035em; }
.ac-std__get { margin: var(--sp20) 0 0; max-width: 26ch; font-size: var(--f20); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--white); }
.ac-std .pd-stick__aside .lead { max-width: 40ch; margin-top: var(--sp20); font-size: var(--f17); }
.ac-std__note { max-width: 40ch; margin: var(--sp15) 0 0; font-size: var(--f15); line-height: 1.6; }
.ac-std .ac-go { margin-top: var(--sp25); }
.ac-std .pg-rows div.pg-row.pg-row { padding-left: 0; }
.ac-std .pg-row__t { position: relative; padding-left: calc(14px + var(--sp20)); font-size: var(--f35); }
.ac-std .pg-row__t::before { position: absolute; left: 0; top: .42em; width: 14px; height: 14px; background: var(--orange); content: ""; }
.ac-std .pg-row__t { font-size: var(--f30); }
.ac-std .pg-row__t::before { top: .38em; width: 12px; height: 12px; }
@media (max-width: 991.98px) { .ac-std .pd-stick__main { margin-top: var(--sp20); } .ac-std .ac-go { margin-top: var(--sp20); } }

/* round 9: an open build hovered flooded only its title line, so the details below looked glued to it.
   The orange now fills the whole row (title line + details) and every bit of text in it turns white. */
.ac-b { position: relative; isolation: isolate; }
.ac-b__btn::before { display: none; }
.ac-b::before { position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.16, 1, .3, 1); content: ""; }
.ac-b:hover::before, .ac-b:focus-within::before { transform: scaleY(1); }
.ac-b:is(:hover, :focus-within) :is(.ac-b__t, .ac-b__get, .ac-status, .ac-more, .ac-go a) { color: #fff; }
.ac-b.is-open:is(:hover, :focus-within) .ac-b__t { color: #fff; }
.ac-b:is(:hover, :focus-within) .ac-b__ic::before, .ac-b:is(:hover, :focus-within) .ac-b__ic::after, .ac-b:is(:hover, :focus-within) .ac-status::before { background: #fff; }
.ac-builds__list:has(.ac-b:hover) .ac-b:not(:hover) .ac-b__btn { opacity: .45; }
.ac-builds__list:has(.ac-b__btn:hover) .ac-b:not(:has(.ac-b__btn:hover)) .ac-b__btn { opacity: 1; }
.ac-builds__list:has(.ac-b:hover) .ac-b:not(:hover) .ac-b__btn { opacity: .45; }
.ac-b__in { padding-top: var(--sp10); }
@media (max-width: 991.98px) { .ac-b::before { inset: 0 calc(var(--sp15) * -1); } }
/* round 10: no rule above the first question or below the last one */
.ac-std .pg-rows { border-top: 0; }
.ac-std .pg-rows > li:last-child .pg-row { border-bottom: 0; }
/* round 11: Discuss button closer to the builds list */
.ac-builds + .btn-group { margin-top: var(--sp45); }
@media (max-width: 767.98px) { .ac-builds + .btn-group { margin-top: 8vw; } }

/* client 2026-12-03: on tablets and phones the orange row fill sat tight on the text. The fill now runs 20px past the
   text on each side (inside the page gutter) with more room above and below; the text stays on the divider lines. */
@media (max-width: 991.98px) {
    .ac-b::before { inset: 0 -20px; }
    .ac-b__btn { padding-block: 28px; }
    .ac-b__in { padding-bottom: 32px; }
}
