/* ===================================================================
   Rivulet IQ — engineering.css
   Data Engineering & Analytics · Digital Product Engineering · Managed Support.
   Round 3 (2026-12-02): one service-template structure. Only what inner.css / visuals.css do not
   already have: the split heroes' product screens, the capability list under "what it is", and the
   "prototype → application" rule. No boxes outside the visual layer, no sticky, no pinning, no numbers.
   =================================================================== */

/* ------------------------------------------------------------------ "prototype → application" rule (product hero) */
.eng-span {
    display: flex; align-items: center;
    gap: var(--sp20);
    max-width: calc(var(--cvw) * 60);
    margin-bottom: calc(var(--sp10) * -1);
    font-family: var(--font-mono);
    font-size: var(--f12);
    letter-spacing: 0;
    text-transform: none;
    color: var(--light-grey);
    & span:last-child { color: var(--orange); }
    & i { position: relative; flex: 1 1 auto; height: 1px; background: var(--white-20); }
    & b { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--orange); }
    & i::after { position: absolute; top: -4px; right: 0; width: 1px; height: 9px; background: var(--white-40); content: ""; }
}
@media (prefers-reduced-motion: no-preference) {
    .eng-span b { animation: eng-travel 4.5s cubic-bezier(.65, 0, .35, 1) .6s infinite; }
}
@keyframes eng-travel {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    70% { left: calc(100% - 9px); opacity: 1; }
    85%, 100% { left: calc(100% - 9px); opacity: 0; }
}
@media (max-width: 767.98px) { .eng-span { gap: var(--sp12); max-width: none; } }

/* ------------------------------------------------------------------ split-hero product screens */
.eng-screen {
    display: flex; flex-direction: column;
    & .ui-rows { gap: 10px; }
    & .eng-screen__bars { height: auto; flex: 1 1 120px; min-height: 120px; margin-top: var(--sp25); }
    & .vx-screen__cap { margin-top: auto; padding-top: var(--sp25); }
}
/* a short generative strip at the top of a screen (product: grid, managed: pulse trace) */
.eng-screen__art { flex: 1 1 140px; min-height: clamp(110px, calc(var(--cvw) * 10), 170px); margin-bottom: var(--sp25); border: 1px solid var(--s-line); }
@media (max-width: 767.98px) {
    .eng-screen .ui-rows > li { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
    .eng-screen .ui-rows .ui-s { grid-column: 1; }
}

/* ------------------------------------------------------------------ what it is: definition + visual, then the capabilities */
.eng-what .vx-split { align-items: center; }
.eng-what .pg-prose { margin-top: var(--sp25); }
.eng-caplist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp60);
    margin-top: var(--sp75);
    list-style: none;
    & > li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp15); padding-block: var(--sp25) var(--sp30); border-top: 1px solid var(--white-20); }
    & h3 { font-size: var(--f25); font-weight: 700; line-height: var(--lhSnug); letter-spacing: var(--ls-h3); }
    & p { color: var(--white-75); max-width: 46ch; }
    & .pg-note { margin-top: auto; padding-top: var(--sp10); }
    @media (max-width: 767.98px) { grid-template-columns: minmax(0, 1fr); margin-top: 12vw; & > li { padding-block: 6vw 7vw; } }
}

/* ------------------------------------------------------------------ the case-study card section */
.eng-case .vc--feature { margin-top: var(--sp25); }

/* ------------------------------------------------------------------ outro: the RIQ-final "You would be working with Rivulet IQ" line under the lead (2026-12-02) */
.outro .outro__lead .outro__note { margin-top: var(--sp15); font-size: var(--f15); line-height: 1.6; }
.outro .outro__lead a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* data-engineering #capabilities accordion (client, 2026-12-03): no head row, orange rule on top */
.eng-acc { margin-top: var(--sp60); border-top: 2px solid var(--orange); }
