.hdst-timeline {
    --hdst-accent: #ff9f2d;
    --hdst-track: #e4e2d9;
    --hdst-text: #171714;
    --hdst-muted: #5f5d56;
    --hdst-line-width: 4px;
    --hdst-dot-size: 38px;
    box-sizing: border-box;
    width: 100%;
    color: var(--hdst-text);
}

.hdst-timeline *,
.hdst-timeline *::before,
.hdst-timeline *::after {
    box-sizing: border-box;
}

.hdst-timeline-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(36px, 64px) minmax(0, 1.05fr);
    align-items: stretch;
    width: 100%;
}

.hdst-left,
.hdst-items {
    min-width: 0;
}

.hdst-left-inner.is-sticky {
    position: sticky;
    align-self: start;
}

.hdst-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.hdst-eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--hdst-accent);
    font-size: 20px;
    line-height: 1;
}

.hdst-eyebrow-icon i,
.hdst-eyebrow-icon svg {
    display: block;
}

.hdst-eyebrow-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.hdst-eyebrow-icon-fallback {
    font-weight: 400;
}

.hdst-heading {
    margin: 0 0 70px;
    color: var(--hdst-text);
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.hdst-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hdst-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.hdst-rail-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100%;
}

.hdst-rail {
    position: relative;
    width: var(--hdst-line-width);
    min-height: 100%;
    background: var(--hdst-track);
    overflow: visible;
}

.hdst-progress {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto 0;
    width: 100%;
    height: 0%;
    background: var(--hdst-accent);
    will-change: height;
}

.hdst-dot {
    position: absolute;
    z-index: 2;
    top: 0%;
    left: 50%;
    width: var(--hdst-dot-size);
    height: var(--hdst-dot-size);
    border-radius: 999px;
    background: var(--hdst-accent);
    transform: translate(-50%, -50%);
    will-change: top;
}

.hdst-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hdst-item {
    position: relative;
    padding: 30px 32px;
    border-radius: 24px;
    color: var(--hdst-text);
    background: transparent;
    transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hdst-item-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.hdst-icon {
    flex: 0 0 auto;
    width: 34px;
    color: var(--hdst-text);
    font-size: 34px;
    line-height: 1;
    transition: color 220ms ease;
}

.hdst-icon i,
.hdst-icon svg {
    display: block;
}

.hdst-icon svg {
    fill: currentColor;
}

.hdst-item-title {
    margin: 0 0 14px;
    color: var(--hdst-text);
    font-size: clamp(26px, 2.2vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 700;
    transition: color 220ms ease;
}

.hdst-item-description {
    margin: 0;
    max-width: 760px;
    color: var(--hdst-muted);
    font-size: 18px;
    line-height: 1.65;
    transition: color 220ms ease;
}

.hdst-item.is-active {
    background: var(--hdst-accent);
}

.hdst-item.is-active .hdst-item-title,
.hdst-item.is-active .hdst-item-description,
.hdst-item.is-active .hdst-icon {
    color: #fff;
}

.hdst-item.is-active .hdst-icon svg {
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .hdst-item,
    .hdst-item-title,
    .hdst-item-description,
    .hdst-icon {
        transition: none !important;
    }
}

@media (max-width: 1024px) {
    .hdst-timeline-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(28px, 44px) minmax(0, 1.1fr);
    }

    .hdst-heading {
        font-size: clamp(36px, 5vw, 58px);
    }

    .hdst-item {
        padding: 24px;
    }

    .hdst-item-row {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .hdst-timeline-grid {
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 16px !important;
    }

    .hdst-left {
        grid-column: 1 / -1;
        margin-bottom: 38px;
    }

    .hdst-left-inner.is-sticky {
        position: static;
    }

    .hdst-heading {
        margin-bottom: 30px;
        font-size: clamp(34px, 10vw, 48px);
    }

    .hdst-image img {
        height: 320px;
    }

    .hdst-rail-wrap {
        grid-column: 1;
        grid-row: 2;
    }

    .hdst-items {
        grid-column: 2;
        grid-row: 2;
    }

    .hdst-item {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .hdst-item-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hdst-item-title {
        font-size: 25px;
    }

    .hdst-item-description {
        font-size: 16px;
        line-height: 1.55;
    }
}
