/* Scoped brand-story timeline. Existing slide content and motion remain intact. */
.home-brand-story {
    padding-block: 96px;
}

.home-brand-story .container {
    width: min(calc(100% - 96px), 1600px);
}

.home-brand-story .story-slider {
    min-height: 403px;
}

.home-brand-story .story-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
    color: #1a1a1a;
    font-family: Barlow, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.home-brand-story .story-slide > img {
    width: 83.5%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
    background: transparent;
}

.home-brand-story .story-slide > .story-copy {
    width: 85%;
    padding-right: 16.5%;
}

.home-brand-story .story-slide .eyebrow {
    display: block;
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
}

.home-brand-story .story-slide .story-copy h3 {
    margin: 24px 0 0;
    color: inherit;
    font-family: inherit;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.home-brand-story .story-slide .story-copy > p,
.home-brand-story .story-slide .story-copy > ul {
    margin-top: 32px;
}

.home-brand-story .story-slide .story-points {
    display: grid;
    gap: .6em;
    margin-bottom: 0;
    padding: 0;
    list-style-position: inside;
}

.home-brand-story .story-slide .story-points li {
    margin: 0;
}

.home-brand-story .story-slide .story-points strong {
    font-weight: 700;
}

.home-brand-story .story-timeline-controls {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 56px;
}

.home-brand-story .story-timeline-scroll {
    min-width: 0;
    flex: 1 1 auto;
    padding-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-brand-story .story-timeline-scroll::-webkit-scrollbar {
    display: none;
}

.home-brand-story .story-timeline-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
}

.home-brand-story .story-timeline-nav::before {
    position: absolute;
    top: 7px;
    right: 0;
    left: 0;
    height: 1px;
    background: #d7d7d7;
    content: "";
}

.home-brand-story .story-timeline-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 16px auto;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 0 20px 0 0;
    border: 0;
    background: transparent;
    color: #8b8b8b;
    text-align: left;
}

.home-brand-story .story-timeline-item::before {
    width: 16px;
    height: 16px;
    border: 2px solid #d7d7d7;
    border-radius: 50%;
    background: var(--soft);
    content: "";
    transition: border-color .2s ease, background-color .2s ease;
}

.home-brand-story .story-timeline-item.is-active,
.home-brand-story .story-timeline-item[aria-current="true"] {
    color: var(--ink);
}

.home-brand-story .story-timeline-item.is-active::before,
.home-brand-story .story-timeline-item[aria-current="true"]::before {
    border-color: var(--ink);
    background: var(--ink);
}

.home-brand-story .story-timeline-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.home-brand-story .story-timeline-buttons {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    margin-top: -6px;
}

.home-brand-story .story-timeline-buttons .round-button {
    width: 48px;
    height: 48px;
}

@media (min-width: 1101px) and (max-width: 1399px) {
    .home-brand-story .story-slide > .story-copy {
        width: 100%;
    }

    .home-brand-story .story-slide .story-copy h3 {
        font-size: 40px;
    }
}

@media (min-width: 1000px) and (max-width: 1100px) {
    .home-brand-story {
        padding-block: 72px;
    }

    .home-brand-story .story-slide > .story-copy {
        width: 100%;
        padding-right: 0;
    }

    .home-brand-story .story-slide .story-copy h3 {
        font-size: 40px;
    }

    .home-brand-story .story-slide .story-copy > p,
    .home-brand-story .story-slide .story-copy > ul {
        margin-top: 24px;
    }
}

@media (max-width: 999px) {
    .home-brand-story {
        padding-block: 64px;
    }

    .home-brand-story .container {
        width: min(calc(100% - 64px), var(--max));
    }

    .home-brand-story .story-slider {
        min-height: 0;
    }

    .home-brand-story .story-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .home-brand-story .story-slide > img {
        width: min(100%, 410px);
        justify-self: center;
    }

    .home-brand-story .story-slide > .story-copy {
        width: calc(100% - 112px);
        padding-right: 0;
        justify-self: center;
        text-align: center;
    }

    .home-brand-story .story-slide .story-copy h3 {
        font-size: 40px;
    }

    .home-brand-story .story-slide .story-copy > p,
    .home-brand-story .story-slide .story-copy > ul {
        margin-top: 24px;
    }

    .home-brand-story .story-timeline-controls {
        display: block;
    }

    .home-brand-story .story-timeline-scroll {
        width: calc(100% + 64px);
        margin-inline: -32px;
        padding: 10px 32px 0;
    }

    .home-brand-story .story-timeline-buttons {
        display: none;
    }
}

@media (max-width: 699px) {
    .home-brand-story {
        padding-block: 48px;
    }

    .home-brand-story .container {
        width: min(calc(100% - 40px), var(--max));
    }

    .home-brand-story .story-slide {
        gap: 24px;
        font-size: 14px;
        line-height: 1.6;
    }

    .home-brand-story .story-slide > img,
    .home-brand-story .story-slide > .story-copy {
        width: 100%;
    }

    .home-brand-story .story-slide .eyebrow {
        font-size: 14px;
    }

    .home-brand-story .story-slide .story-copy h3 {
        margin-top: 16px;
        font-size: 32px;
        line-height: 1.1;
    }

    .home-brand-story .story-slide .story-copy > p,
    .home-brand-story .story-slide .story-copy > ul {
        margin-top: 20px;
    }

    .home-brand-story .story-timeline-controls {
        margin-top: 32px;
    }

    .home-brand-story .story-timeline-scroll {
        width: calc(100% + 40px);
        margin-inline: -20px;
        padding: 8px 20px 0;
    }

    .home-brand-story .story-timeline-nav {
        width: max(100%, 400px);
    }

    .home-brand-story .story-timeline-item {
        grid-template-rows: 16px auto;
        gap: 8px;
        min-height: 39px;
        padding-right: 16px;
    }

    .home-brand-story .story-timeline-label {
        font-size: 13px;
    }
}
