.stage-shell {
    padding: 22px 0 40px;
    background: linear-gradient(180deg, #fbfaf6 0%, #f6f3ec 100%);
}

.stage-banner {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    margin-bottom: 16px;
    border: 1px solid #e3ddd0;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.stage-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 22%, rgba(255, 255, 255, 0.26) 48%, rgba(255, 255, 255, 0) 66%),
        var(--stage-cover, url("../images/hero/hero-bg-1-gIB_KdM.png")) var(--stage-cover-position, center center) / cover no-repeat;
}

.stage-banner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 820px) 1fr;
    align-items: end;
    min-height: 220px;
    padding: 24px 28px;
}

.stage-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(98, 114, 80, 0.12);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stage-title {
    max-width: 16ch;
    margin: 12px 0 8px;
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.stage-lead {
    max-width: 58ch;
    margin: 0;
    color: #475052;
    font-size: 14px;
    line-height: 1.5;
}

.stage-meta {
    display: flex;
    align-items: end;
    justify-content: flex-end;
}

.stage-meta-card {
    min-width: 240px;
    padding: 14px 16px 13px;
    border: 1px solid rgba(227, 221, 208, 0.92);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
}

.stage-meta-label {
    margin: 0 0 7px;
    color: #6a726d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stage-meta-value {
    margin: 0;
    font-size: 19px;
    line-height: 1.1;
}

.stage-steps-wrap {
    margin-bottom: 20px;
    border-top: 1px solid #e4dfd4;
    border-bottom: 1px solid #e4dfd4;
    background: #fff;
}

.stage-steps-inner {
    padding: 16px 0 18px;
}

.steps-block {
    display: grid;
    gap: 16px;
}

.steps-kicker {
    margin: 0;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: start;
    gap: 16px;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 14px;
    padding-right: 26px;
}

.step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 28px;
    right: -2px;
    transform: translateY(-50%);
    color: #c3beb3;
    font-size: 36px;
    line-height: 1;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #efede7;
    color: #263036;
}

.step h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

.step p {
    max-width: 13ch;
    margin: 0;
    color: #555b5c;
    font-size: 13px;
    line-height: 1.35;
}

.step:hover h3,
.step.active h3 {
    color: var(--accent-dark);
}

.step.active .step-icon {
    background: var(--accent-dark);
    color: #fff;
}

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

.stage-sidebar {
    position: sticky;
    top: 104px;
}

.stage-panel {
    overflow: hidden;
    border: 1px solid #e5dfd3;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.stage-panel-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid #eee8dd;
    background: linear-gradient(180deg, #fcfbf8 0%, #f8f5ef 100%);
}

.stage-panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.substage-nav {
    padding: 10px;
}

.substage-nav a {
    display: grid;
    gap: 4px;
    padding: 12px 12px 11px;
    border-radius: 8px;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.substage-nav a:hover {
    background: #f4f1ea;
    transform: translateX(2px);
}

.substage-nav a.active {
    background: var(--accent-dark);
    color: #fff;
}

.substage-nav strong {
    font-size: 14px;
    line-height: 1.25;
}

.substage-nav span {
    color: inherit;
    opacity: 0.78;
    font-size: 12px;
    line-height: 1.35;
}

.stage-content {
    display: grid;
    gap: 18px;
}

.stage-article {
    padding: 28px 30px 32px;
    border: 1px solid #e5dfd3;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.stage-article-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.stage-article-title {
    margin: 0 0 7px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.stage-article-intro {
    max-width: 58ch;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.stage-step-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stage-copy {
    display: grid;
    gap: 18px;
}

.stage-copy p {
    margin: 0;
    color: #31383b;
    font-size: 15px;
    line-height: 1.75;
}

.stage-callout {
    padding: 18px 20px;
    border: 1px solid rgba(98, 114, 80, 0.14);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(98, 114, 80, 0.12), rgba(98, 114, 80, 0.04));
}

.stage-callout h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.stage-callout p {
    margin: 0;
    color: var(--text-soft);
}

@media (max-width: 1180px) {
    .stage-banner-inner,
    .stage-layout,
    .steps {
        grid-template-columns: 1fr;
    }

    .stage-sidebar {
        position: static;
    }

    .stage-meta {
        justify-content: flex-start;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 700px) {
    .stage-shell {
        padding: 18px 0 30px;
    }

    .stage-banner-inner,
    .stage-article {
        padding-left: 20px;
        padding-right: 20px;
    }

    .stage-article-header {
        flex-direction: column;
    }
}
