.ds-growth-story {
    --growth-progress: 0;
    position: relative;
    height: 215svh;
    margin-block: clamp(8rem, 11vw, 14rem) 0;
    color: #181818;
    background: #faf9f7;
}

.ds-growth-sticky {
    position: sticky;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    min-height: 58rem;
    overflow: hidden;
    background: inherit;
    border-block: 1px solid #e8e4df;
}

.ds-growth-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgb(24 24 24 / 2.7%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(24 24 24 / 2.7%) 1px, transparent 1px);
    background-size: clamp(9rem, 9vw, 13rem) clamp(9rem, 9vw, 13rem);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ds-growth-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding-block: clamp(3.5rem, 5.5vh, 6rem);
}

.ds-growth-composition {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    height: 100%;
    min-height: 0;
    align-items: stretch;
    gap: clamp(5rem, 7vw, 10rem);
}

.ds-growth-left {
    display: grid;
    grid-template-rows: auto auto;
    min-width: 0;
    align-content: center;
    gap: clamp(2.8rem, 4vh, 4.4rem);
}

.ds-growth-left h2 {
    max-width: 46rem;
    margin: 0;
    font-size: clamp(3rem, 2.75vw, 4.4rem);
    font-weight: 620;
    line-height: 1.14;
    letter-spacing: -.055em;
    word-break: keep-all;
}

.ds-growth-left h2 span {
    display: block;
}

.ds-growth-chart {
    display: block;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ds-growth-plot {
    position: relative;
    height: 100%;
    min-height: 0;
}

.ds-growth-return-value {
    position: absolute;
    z-index: 2;
    top: 7%;
    left: 8%;
    display: block;
    width: 5.8ch;
    margin: 0;
    padding: 0;
    color: #587390;
    font-family: var(--font-editorial);
    font-size: clamp(4.4rem, 3.8vw, 5.8rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1;
    letter-spacing: -.045em;
    text-align: left;
    pointer-events: none;
    transition: color .18s ease;
}

.ds-growth-story.is-zero .ds-growth-return-value {
    color: #77716c;
}

.ds-growth-story.is-positive .ds-growth-return-value {
    color: #aa514d;
}

.ds-growth-story.is-complete .ds-growth-return-value {
    color: #9f4542;
}

.ds-growth-plot svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ds-growth-chart-grid path,
.ds-growth-baseline,
.ds-growth-line,
.ds-growth-marker-guide {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.ds-growth-chart-grid path {
    stroke: rgb(24 24 24 / 6%);
    stroke-width: 1;
}

.ds-growth-chart-grid .ds-growth-chart-grid-vertical {
    stroke: rgb(24 24 24 / 4%);
}

.ds-growth-baseline {
    stroke: rgb(24 24 24 / 32%);
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

.ds-growth-zero-label {
    fill: #817a74;
    font-family: var(--font-sans);
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.ds-growth-area {
    fill: url(#growth-return-area);
}

.ds-growth-line {
    stroke: url(#growth-return-line);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ds-growth-milestone {
    color: #9d5f5a;
    opacity: 0;
    transition: opacity .22s ease;
}

.ds-growth-milestone.is-revealed {
    opacity: .56;
}

.ds-growth-milestone circle {
    fill: currentColor;
}

.ds-growth-marker-guide {
    stroke: rgb(109 95 91 / 32%);
    stroke-width: 1;
    stroke-dasharray: 2 5;
}

.ds-growth-marker {
    color: #587390;
    transition: color .18s ease;
}

.ds-growth-story.is-zero .ds-growth-marker {
    color: #77716c;
}

.ds-growth-story.is-positive .ds-growth-marker {
    color: #aa514d;
}

.ds-growth-marker-halo {
    fill: currentColor;
    opacity: .15;
}

.ds-growth-marker-point {
    fill: currentColor;
}

.ds-growth-axis-labels text {
    fill: #8b847e;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .1em;
    text-anchor: middle;
}

.ds-growth-subscribe {
    width: 100%;
    max-width: 50rem;
    margin: 0;
    text-align: left;
}

.ds-growth-subscribe .jk-subscribe-fields {
    gap: 0;
    padding: .3rem;
    background: rgb(255 255 255 / 88%);
    border: 1px solid #d3ceca;
    border-radius: .8rem;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ds-growth-subscribe .jk-subscribe-fields:focus-within {
    background: #ffffff;
    border-color: rgb(118 80 79 / 70%);
    box-shadow: 0 0 0 3px rgb(118 80 79 / 9%);
}

.ds-growth-subscribe-input {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    height: 4.6rem;
    padding-left: 1.3rem;
    color: #77716e;
    background: transparent;
    border-right: 1px solid #e7e2de;
}

.ds-growth-subscribe-input > span {
    display: flex;
    flex: none;
    align-items: center;
}

.ds-growth-subscribe-input svg {
    width: 1.7rem;
    height: 1.7rem;
    stroke-width: 1.35;
}

.ds-growth-subscribe .jk-subscribe-fields input {
    width: 100%;
    height: 4.4rem;
    min-height: 4.4rem;
    padding: 0 1.2rem .1rem .9rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: 0;
}

.ds-growth-subscribe .jk-subscribe-fields input::placeholder {
    color: #77716e;
    opacity: 1;
}

.ds-growth-subscribe .jk-subscribe-fields input:focus-visible {
    border: 0;
    outline: 0;
}

.ds-growth-subscribe .jk-subscribe-submit {
    width: 17rem;
    min-width: 17rem;
    min-height: 4.6rem;
    height: 4.6rem;
    padding-inline: 1.8rem;
    color: #ffffff;
    white-space: nowrap;
    background: #181818;
    border-color: #181818;
    border-radius: .7rem;
    box-shadow: none;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    transition: background-color .18s ease, border-color .18s ease, transform .12s ease, opacity .18s ease;
}

.ds-growth-subscribe .jk-subscribe-submit:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
}

.ds-growth-subscribe .jk-subscribe-submit:active {
    transform: translateY(1px);
}

.ds-growth-subscribe .jk-subscribe-submit:focus-visible {
    outline: 3px solid rgb(118 80 79 / 28%);
    outline-offset: 3px;
}

.ds-growth-subscribe .jk-subscribe-submit:disabled,
.ds-growth-subscribe.loading .jk-subscribe-submit {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.ds-growth-subscribe .jk-subscribe-success,
.ds-growth-subscribe .jk-subscribe-error {
    margin-top: .9rem;
}

@media (max-width: 1100px) {
    .ds-growth-composition {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 4rem;
    }
}

@media (max-width: 700px) {
    .ds-growth-story {
        height: 185svh;
        margin-top: 8rem;
    }

    .ds-growth-sticky {
        min-height: 0;
    }

    .ds-growth-inner {
        padding-block: 2.4rem 1.8rem;
    }

    .ds-growth-composition {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1.08fr) minmax(20rem, .92fr);
        gap: 1.4rem;
    }

    .ds-growth-left {
        gap: 1.5rem;
    }

    .ds-growth-left h2 {
        max-width: 32rem;
        font-size: clamp(2.25rem, 7.2vw, 2.8rem);
        line-height: 1.16;
    }

    .ds-growth-plot svg {
        max-height: 36rem;
    }

    .ds-growth-return-value {
        top: 5%;
        left: 5%;
        font-size: 3.6rem;
    }

    .ds-growth-subscribe .jk-subscribe-fields {
        flex-direction: column;
        gap: .6rem;
    }

    .ds-growth-subscribe-input {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e7e2de;
    }

    .ds-growth-subscribe .jk-subscribe-submit {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ds-growth-milestone,
    .ds-growth-marker,
    .ds-growth-return-value {
        transition: none;
    }
}
