/* ==========================================================================
   Solutions — Supply Chain Visibility page-specific styles
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page
   (lives under Solutions in nav), so the page accent stays Navy + Teal.
   Indigo and Coral appear only on the Prime/Pulse platform comparison cards,
   matching the convention used on about.html for the platform picker cards.
   ========================================================================== */

/* ---- Hero ---- */

/* ---- Hero visual: connected chain with a visibility beam (2026-08-17,
   Track B Cluster A; frame+fill fix 2026-08-17) — 5 nodes (procurement,
   production, inventory, warehouse, logistics) in a literal sequence,
   matching the page's own headline exactly. The middle node (inventory)
   carries the eye icon, standing for the "one source of operational
   truth" the page's subtitle describes.

   Frame+fill fix: the first build pinned all 5 nodes to a flat line at
   top:50% — a ~38px sliver in a ~230px-tall frame, and had no enclosing
   border at all. Fixed both the same way as it-consulting.html's pipeline
   (see that file's CSS comment for the full writeup): added a full-size
   bordered .scvhv-frame, changed the flat row to a zigzag connected by an
   SVG polyline (exact at any render size since the box's aspect-ratio is
   CSS-locked), and added short labels under each node using the real
   module names instead of empty vertical space. ---- */

.scvhv-fallback {
    position: absolute;
    inset: 0;
}

.scvhv-frame {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    padding: 1.5rem;
}

.scvhv-beam-svg {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.scvhv-beam-svg polyline {
    fill: none;
    stroke: color-mix(in srgb, var(--accent, var(--da-teal-400)) 55%, transparent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scvhv-chain {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.scvhv-step {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.scvhv-node {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--da-navy-700);
    border: 1.5px solid var(--accent, var(--da-teal-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent, var(--da-teal-400));
}

.scvhv-node--hub {
    background: var(--accent, var(--da-teal-600));
    border-color: var(--accent, var(--da-teal-600));
    color: var(--da-white);
}

.scvhv-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--da-white) 70%, transparent);
    white-space: nowrap;
}

/* ---- Shared section label / title pattern ---- */

/* ---- The Challenge (intro) ---- */

.scv-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Before / After visual (sits inside The Challenge section) ---- */

/* ---- What Changes: 4-up feature cards ---- */

.scv-changes {
    padding: 60px 0;
    background: var(--da-gray-100);
}

.scv-changes-text {
    font-size: 1.05rem;
    color: var(--da-gray-500);
    line-height: 1.7;
    width: 100%;
    margin-bottom: 2.5rem;
}

.scv-change-text {
    font-size: 0.92rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Across Both Platforms: Prime = Indigo, Pulse = Coral ---- */

.scv-platforms {
    padding: 60px 0;
    background: var(--da-white);
}

/* ---- Connected Applications: Pulse-only chip row (this page has no Prime side) ---- */

.scv-connected-intro {
    font-size: 1.05rem;
    color: var(--da-gray-500);
    line-height: 1.7;
    max-width: 760px;
    margin-bottom: 2rem;
}

.scv-connected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.scv-connected-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--da-white);
    border: 1.5px solid var(--da-gray-300);
    color: var(--da-navy-900);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.scv-connected-chip:hover {
    border-color: var(--da-coral-600);
    color: var(--da-coral-600);
    transform: translateY(-2px);
}

.scv-connected-chip i {
    color: var(--da-coral-600);
    font-size: 0.85rem;
}

/* ---- Outcomes: chip row ---- */

.scv-outcomes {
    padding: 20px 0 70px;
    background: var(--da-white);
}

/* ---- Explore Other Solutions ---- */

.scv-explore {
    padding: 20px 0 80px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.scv-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.scv-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
    .scv-hero {
        padding: 130px 0 60px;
    }

    .scv-hero-title {
        font-size: 2.1rem;
    }

    .scv-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .scv-section-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 575.98px) {
    .scv-hero-title {
        font-size: 1.75rem;
    }

    .scv-section-title {
        font-size: 1.5rem;
    }

    .scv-cta-title {
        font-size: 1.4rem;
    }

    .scv-baf {
        flex-direction: column;
    }

    .scv-baf-arrow {
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scv-change-card,
    .scv-platform-card,
    .scv-explore-card,
    .scv-cta-actions a {
        transition: none;
    }

    .scv-change-card:hover,
    .scv-platform-card:hover,
    .scv-explore-card:hover,
    .scv-cta-actions a:hover {
        transform: none;
    }
}
