﻿.sector-story-section {
    position: relative;
    padding: 48px 20px 110px;
    overflow: clip;
    isolation: isolate;
}

.sector-story-shell {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
}

.sector-story-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.sector-story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sector-story-header h2 {
    margin: 18px 0 16px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #f8fbff;
}

.sector-story-header p {
    margin: 0 auto;
    max-width: 680px;
    color: rgba(226, 232, 240, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
}

.sector-story-layout {
    display: grid;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.sector-story-sticky {
    position: sticky;
    top: 108px;
}

.sector-story-sticky-card,
.sector-story-card {
    position: relative;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 13, 24, 0.74);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.sector-story-sticky-card::before,
.sector-story-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 29px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.sector-story-sticky-card {
    padding: 28px;
}

.sector-story-sticky-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.sector-story-pill,
.sector-story-name {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sector-story-pill {
    padding: 7px 12px;
    background: var(--sector-primary-soft);
    color: #f8fbff;
}

.sector-story-name {
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.64);
}

.sector-story-sticky-card h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.8rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.sector-story-sticky-card p {
    margin: 14px 0 0;
    color: rgba(226, 232, 240, 0.76);
    line-height: 1.78;
}

.sector-story-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.sector-story-nav-item {
    width: 100%;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #f8fbff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.sector-story-nav-item:hover {
    transform: translateX(2px);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.sector-story-nav-item.is-active {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, var(--sector-primary-soft), var(--sector-secondary-soft));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.sector-story-nav-index,
.sector-story-card-step {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    min-width: 2.2rem;
}

.sector-story-nav-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sector-story-nav-label,
.sector-story-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sector-story-nav-title {
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.45;
}

.sector-story-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
    margin-top: 24px;
    align-items: stretch;
}

.sector-story-outcome {
    min-width: 0;
    min-height: 100%;
    padding: 14px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

.sector-story-outcome strong {
    display: block;
    color: #ffffff;
    font-size: clamp(0.92rem, 1vw, 1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    text-wrap: balance;
}

.sector-story-outcome span {
    display: block;
    margin-top: 0;
    color: rgba(226, 232, 240, 0.66);
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    text-wrap: balance;
}

.sector-story-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sector-story-card {
    min-height: clamp(320px, 56vh, 500px);
    padding: 30px;
    scroll-margin-top: 120px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
    opacity: 0.84;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sector-story-card.is-active {
    opacity: 1;
    transform: translateY(-6px);
    border-color: var(--sector-secondary);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.32), 0 0 0 1px var(--sector-primary-soft) inset;
}

.sector-story-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.sector-story-card-copy h3 {
    margin: 18px 0 12px;
    color: #f8fbff;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 16ch;
}

.sector-story-card-copy p {
    margin: 0;
    max-width: 60ch;
    color: rgba(226, 232, 240, 0.76);
    font-size: 1rem;
    line-height: 1.82;
}

.sector-story-card-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.sector-story-card-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.98rem;
    line-height: 1.6;
}

.sector-story-card-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--sector-primary);
}

@media (max-width: 1024px) {
    .sector-story-layout {
        grid-template-columns: 1fr;
    }

    .sector-story-sticky {
        position: static;
    }

    .sector-story-outcomes {
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    }

    .sector-story-card {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .sector-story-section {
        padding: 24px 12px 72px;
    }

    .sector-story-header {
        margin-bottom: 18px;
        text-align: left;
    }

    .sector-story-header h2 {
        margin: 14px 0 12px;
        font-size: clamp(1.65rem, 8.2vw, 2.3rem);
        line-height: 1.08;
    }

    .sector-story-header p {
        font-size: 0.93rem;
        line-height: 1.62;
        margin: 0;
    }

    .sector-story-layout {
        gap: 14px;
    }

    .sector-story-sticky-card,
    .sector-story-card {
        border-radius: 22px;
    }

    .sector-story-sticky-card {
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0 0 8px;
    }

    .sector-story-sticky-card::before {
        display: none;
    }

    .sector-story-sticky-card::before,
    .sector-story-card::before {
        border-radius: 21px;
    }

    .sector-story-sticky-card,
    .sector-story-card {
        padding: 18px;
    }

    .sector-story-sticky-top {
        margin-bottom: 12px;
        gap: 8px;
    }

    .sector-story-sticky-card h3 {
        font-size: clamp(1.95rem, 7vw, 2.3rem);
        line-height: 1.04;
    }

    .sector-story-sticky-card p {
        margin-top: 10px;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .sector-story-outcomes {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 10px;
    }

    .sector-story-outcome {
        padding: 10px 8px;
        border-radius: 14px;
        gap: 4px;
    }

    .sector-story-outcome strong {
        font-size: 0.84rem;
        line-height: 1.16;
    }

    .sector-story-outcome span {
        font-size: 0.72rem;
        line-height: 1.42;
    }

    .sector-story-nav-item {
        padding: 12px 13px;
        border-radius: 17px;
        gap: 10px;
    }

    .sector-story-nav-index {
        min-width: 1.8rem;
        font-size: 0.72rem;
    }

    .sector-story-nav-title {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .sector-story-card {
        min-height: auto;
        padding: 18px;
        opacity: 1;
    }

    .sector-story-card-copy h3 {
        margin: 14px 0 10px;
        font-size: clamp(1.35rem, 6.8vw, 1.85rem);
        line-height: 1.14;
    }

    .sector-story-card-copy p {
        font-size: 0.94rem;
        line-height: 1.62;
    }

    .sector-story-card-list {
        margin-top: 16px;
        gap: 10px;
    }

    .sector-story-card-list li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .sector-story-card-copy h3 {
        max-width: none;
    }
}

