/* =================================================================== MANIFESTO (how we design) section css =================================================================== */
/* Content update (2026-12-01), built from the backed-up manifesto section (_backup/built-for-the-people):
   the heading, a screen-wide statement that fills in word by word (scrub-words), then the four
   steps of the design process in a row, each on a thin orange edge. Tokens only. */
.manifesto {
    padding-block: var(--sectionPad);

    /* three lines, one per sentence (client, 2026-12-01): the title on one line, then the statement's two sentences */
    & .manifesto__intro { max-width: none; }
    @media (min-width: 992px) { & .manifesto__intro h2 { white-space: nowrap; } }

    & .manifesto__statement {
        margin-block: 0 calc(var(--cvw) * 6);     /* the title wrap already gives the standard --titleGap above */
        font-family: var(--font-display);
        font-size: var(--f-h2);          /* same as the title (client, 2026-12-01) */
        font-weight: 700;
        line-height: var(--lhTight);
        letter-spacing: var(--ls-h1);
    }


    /* =================================================================== RESPONSIVE =================================================================== */
    @media (max-width: 991.98px) {
    }
    @media (max-width: 767.98px) {
    }
}
.is-scrub .split-mask { overflow: visible; }

/* =================================================================== TIMELINE OPTIONS (2026-12-01) =================================================================== */
/* The four design steps as a horizontal timeline (Option A chosen; B and C in _backup/design-timeline-options). Shared: a thin rail that fills orange left → right as you scroll (preset timeline); a step
   gets .is-active when the fill reaches its marker. Site tokens only. */
.manifesto .tl {
    & .tl__grid { position: relative; }
    & .tl__rail { position: absolute; left: 0; right: 0; height: 2px; background: var(--white-10); }
    & .tl__fill { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
    & .tl__steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: calc(var(--cvw) * 3);
        list-style: none;
    }
    & .tl__step { position: relative; display: flex; flex-direction: column; gap: var(--sp15); }
    & .tl__node {
        position: absolute;
        width: 14px; height: 14px;
        border: 2px solid var(--white-20);
        background: var(--background);
        transition: background-color .5s cubic-bezier(.22, 1, .36, 1), border-color .5s cubic-bezier(.22, 1, .36, 1);
    }
    & .tl__step.is-active .tl__node { border-color: var(--orange); background: var(--orange); }
    & .tl__num { font-family: var(--font-mono); font-size: var(--f15); color: var(--light-grey); transition: color .4s ease; }
    & .tl__step.is-active .tl__num { color: var(--orange); }
    & .tl__body { display: flex; flex-direction: column; gap: var(--sp12); }
    & .tl__title { font-size: var(--f25); font-weight: 700; line-height: var(--lhTight); letter-spacing: var(--ls-h3); }
    & .tl__text { color: var(--white-75); }
    /* steps fade and rise in softly as the rail reaches them */
    & .tl__step .tl__body { opacity: .35; transform: translateY(10px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
    & .tl__step.is-active .tl__body { opacity: 1; transform: none; }
}

/* A — rail on top, a square marker at the start of each step */
.manifesto .tl--a {
    & .tl__rail { top: 6px; }
    & .tl__step { padding-top: calc(var(--sp30) + 14px); }
    & .tl__node { top: 0; left: 0; }
}

/* below 992px every option becomes one vertical list with an orange edge */
@media (max-width: 991.98px) {
    .manifesto .tl {
        & .tl__rail, & .tl__node, & .tl__step::after { display: none; }
        & .tl__grid { display: block; }
        & .tl__steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--cvw) * 7); }
        & .tl__step {
            width: auto !important; margin-left: 0 !important;
            padding: 0 0 0 var(--sp20) !important;
            border-left: 2px solid var(--orange);
        }
        & .tl__step .tl__body { opacity: 1; transform: none; }
    }
}
