.stream-guide {
    --stream-night: #101112;
    --stream-panel: #181a1c;
    --stream-soft: #f3f0ea;
    --stream-lime: var(--guide-accent, #e4ff43);
}

.stream-guide .guide-hero-editorial__copy {
    max-width: 840px;
}

.stream-guide .guide-hero-paths {
    flex-wrap: wrap;
}

.stream-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: clamp(24px, 5vw, 68px);
    align-items: end;
    padding: 30px 0 46px;
}

.stream-intro h2 {
    max-width: 760px;
    margin: 7px 0 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.stream-intro p {
    margin: 0;
    color: #505050;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* The streaming guide is deliberately capability-led: the same gear can belong to more than one path. */
.stream-capabilities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 46px;
    background: #d9d5ce;
    border: 1px solid #d9d5ce;
}

.stream-capability {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    background: #fff;
    color: #171717;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.stream-capability:hover,
.stream-capability:focus-visible {
    background: var(--stream-soft);
    color: #111;
    outline: 3px solid #111;
    outline-offset: -3px;
}

.stream-capability__number {
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #777;
}

.stream-capability strong {
    display: block;
    margin: 30px 0 7px;
    font-size: 1.15rem;
    line-height: 1.2;
}

.stream-capability span:last-child {
    color: #5c5c5c;
    font-size: .88rem;
    line-height: 1.5;
}

/* Interactive live-catalogue desk. Every object is a real product link, not a painted hotspot. */
.stream-lab {
    margin: 12px 0 58px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--stream-night);
    color: #fff;
}

.stream-lab__head {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
    gap: 32px;
    padding: clamp(24px, 4vw, 48px);
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.stream-lab__head .guide-label {
    color: #b8b8b8;
}

.stream-lab__head h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.04;
}

.stream-lab__head p {
    margin: 0;
    align-self: end;
    color: #c9c9c9;
    line-height: 1.65;
}

.stream-lab__stage {
    position: relative;
    min-height: 690px;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 22%, rgba(228,255,67,.16), transparent 25%),
        linear-gradient(180deg, #1d2022 0 57%, #0d0e0f 57% 100%);
}

.stream-lab__stage::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: 7%;
    right: 7%;
    bottom: 10%;
    height: 32%;
    border-radius: 28px 28px 7px 7px;
    background: linear-gradient(135deg, #4a3426, #241b16 65%, #15110e);
    box-shadow: 0 26px 60px rgba(0,0,0,.5);
    transform: perspective(900px) rotateX(58deg);
    transform-origin: bottom;
}

.stream-lab__stage::after {
    content: "LIVE • SCENE A";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 10%;
    width: min(42%, 430px);
    height: 30%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    border: 8px solid #090a0b;
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(228,255,67,.92), rgba(228,255,67,.36)),
        #292d30;
    color: #101112;
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 900;
    letter-spacing: .12em;
    box-shadow: 0 22px 60px rgba(0,0,0,.38);
}

.stream-lab__product {
    position: absolute;
    z-index: 3;
    width: 150px;
    min-height: 120px;
    color: #fff;
    text-decoration: none !important;
}

.stream-lab__product img {
    width: 100%;
    height: 118px;
    object-fit: contain;
    display: block;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 34px rgba(0,0,0,.34);
    transition: transform .2s ease, box-shadow .2s ease;
}

.stream-lab__product:hover img,
.stream-lab__product:focus-visible img {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 18px 44px rgba(0,0,0,.48);
}

.stream-lab__product:focus-visible {
    outline: 3px solid var(--stream-lime);
    outline-offset: 6px;
    border-radius: 8px;
}

.stream-lab__hotspot {
    position: absolute;
    z-index: 4;
    right: -8px;
    top: -8px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 3px solid #101112;
    border-radius: 999px;
    background: var(--stream-lime);
    color: #101112;
    font-size: .7rem;
    font-weight: 900;
    box-shadow: 0 0 0 5px rgba(228,255,67,.16);
}

.stream-lab__product-copy {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    width: 210px;
    padding: 11px 12px;
    transform: translate(-50%, 8px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 4px;
    background: rgba(8,9,10,.96);
    box-shadow: 0 16px 38px rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.stream-lab__product:hover .stream-lab__product-copy,
.stream-lab__product:focus-visible .stream-lab__product-copy {
    opacity: 1;
    transform: translate(-50%, 0);
}

.stream-lab__product-copy small,
.stream-lab__product-copy strong {
    display: block;
}

.stream-lab__product-copy small {
    margin-bottom: 3px;
    color: var(--stream-lime);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.stream-lab__product-copy strong {
    color: #fff;
    font-size: .8rem;
    line-height: 1.35;
}

.stream-lab__product--1 { left: 42%; top: 36%; width: 162px; }
.stream-lab__product--2 { left: 25%; top: 57%; width: 130px; }
.stream-lab__product--3 { right: 24%; top: 59%; width: 135px; }
.stream-lab__product--4 { left: 43%; top: 68%; width: 185px; }
.stream-lab__product--5 { left: 9%; top: 28%; width: 140px; }
.stream-lab__product--6 { right: 8%; top: 31%; width: 145px; }
.stream-lab__product--7 { right: 7%; top: 66%; width: 125px; }
.stream-lab__product--8 { left: 8%; top: 68%; width: 120px; }

.stream-lab__legend {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.12);
    border-top: 1px solid rgba(255,255,255,.12);
}

.stream-lab__legend a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 86px;
    padding: 16px;
    background: #151719;
    color: #fff;
    text-decoration: none !important;
}

.stream-lab__legend a:hover,
.stream-lab__legend a:focus-visible {
    background: #212427;
    outline: 2px solid var(--stream-lime);
    outline-offset: -2px;
}

.stream-lab__legend b {
    color: var(--stream-lime);
    font-size: .75rem;
}

.stream-lab__legend span {
    min-width: 0;
}

.stream-lab__legend small,
.stream-lab__legend strong {
    display: block;
}

.stream-lab__legend small {
    margin-bottom: 2px;
    color: #8f969a;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.stream-lab__legend strong {
    overflow: hidden;
    color: #f5f5f5;
    font-size: .78rem;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.stream-lab__empty {
    padding: 42px;
    color: #d2d2d2;
}

/* A signal-path rail makes it clear that streaming rigs are additive systems, not fixed kits. */
.stream-signal-path {
    margin: 14px 0 54px;
    padding: 30px;
    background: var(--stream-soft);
}

.stream-signal-path__head {
    max-width: 760px;
    margin-bottom: 22px;
}

.stream-signal-path__head h2 {
    margin: 6px 0 9px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.stream-signal-path__head p {
    margin: 0;
    color: #555;
    line-height: 1.65;
}

.stream-signal-path__steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.stream-signal-path__step {
    position: relative;
    min-height: 142px;
    padding: 16px 14px;
    border-top: 3px solid #111;
    background: #fff;
}

.stream-signal-path__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -10px;
    top: 47%;
    z-index: 2;
    width: 20px;
    text-align: center;
    color: #777;
    font-weight: 900;
}

.stream-signal-path__step strong,
.stream-signal-path__step span {
    display: block;
}

.stream-signal-path__step strong {
    margin-bottom: 7px;
    font-size: .9rem;
}

.stream-signal-path__step span {
    color: #666;
    font-size: .78rem;
    line-height: 1.45;
}

.stream-scenario {
    scroll-margin-top: 84px;
}

.stream-scenario__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    gap: clamp(24px, 5vw, 68px);
    align-items: end;
    margin-bottom: 10px;
}

.stream-scenario__header h2 {
    max-width: 720px;
    margin: 7px 0 0;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    line-height: 1.08;
}

.stream-scenario__header p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.stream-use-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 15px 0 0;
}

.stream-use-tags span {
    padding: 6px 9px;
    border: 1px solid #cfcac1;
    background: #fff;
    color: #555;
    font-size: .76rem;
    font-weight: 750;
}

.stream-expand {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}

.stream-expand > div {
    padding: 17px;
    border-left: 3px solid #111;
    background: #f7f5f1;
}

.stream-expand strong,
.stream-expand span {
    display: block;
}

.stream-expand strong {
    margin-bottom: 5px;
    font-size: .9rem;
}

.stream-expand span {
    color: #606060;
    font-size: .8rem;
    line-height: 1.5;
}

.stream-guide .guide-live-products {
    margin-bottom: 54px;
}

@media (max-width: 980px) {
    .stream-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stream-lab__stage { min-height: 610px; }
    .stream-lab__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stream-signal-path__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stream-signal-path__step:nth-child(3)::after { display: none; }
}

@media (max-width: 760px) {
    .stream-intro,
    .stream-lab__head,
    .stream-scenario__header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stream-capabilities { grid-template-columns: 1fr 1fr; }
    .stream-capability { min-height: 170px; padding: 17px; }

    .stream-lab__stage {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        min-height: 0;
        padding: 18px;
        background: #101112;
    }

    .stream-lab__stage::before,
    .stream-lab__stage::after { display: none; }

    .stream-lab__product,
    .stream-lab__product--1,
    .stream-lab__product--2,
    .stream-lab__product--3,
    .stream-lab__product--4,
    .stream-lab__product--5,
    .stream-lab__product--6,
    .stream-lab__product--7,
    .stream-lab__product--8 {
        position: relative;
        inset: auto;
        width: auto;
        min-width: 0;
        padding: 9px;
        border-radius: 7px;
        background: #1b1d1f;
    }

    .stream-lab__product img {
        height: 128px;
        box-shadow: none;
    }

    .stream-lab__hotspot { right: 4px; top: 4px; }

    .stream-lab__product-copy {
        position: static;
        width: auto;
        padding: 9px 2px 2px;
        transform: none;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
    }

    .stream-lab__product:hover .stream-lab__product-copy,
    .stream-lab__product:focus-visible .stream-lab__product-copy { transform: none; }

    .stream-lab__legend { display: none; }
    .stream-signal-path { padding: 22px 18px; }
    .stream-signal-path__steps { grid-template-columns: 1fr 1fr; }
    .stream-signal-path__step::after { display: none; }
    .stream-expand { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stream-capabilities,
    .stream-lab__stage,
    .stream-signal-path__steps { grid-template-columns: 1fr; }

    .stream-capability { min-height: 148px; }
    .stream-lab__head { padding: 24px 19px; }
    .stream-lab__product img { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    .stream-capability,
    .stream-lab__product img,
    .stream-lab__product-copy { transition: none; }
}
