.am-experiences {
    --am-experience-blue: #173e6e;
    --am-experience-rust: #b7473d;
    --am-experience-text: #415165;
    color: var(--am-experience-text);
    scroll-margin-top: 110px;
}

.am-experiences--spotlight {
    padding: 52px 0 44px;
    background: #f8f7f4;
    border-top: 1px solid #ebe7e0;
    border-bottom: 1px solid #ebe7e0;
}

.am-experiences .am-experiences-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}

.am-experiences .am-experiences-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f3e8e5;
    color: var(--am-experience-rust);
    font-size: .7rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.am-experiences .am-experiences-intro h2 {
    margin: 0 0 16px;
    color: var(--am-experience-blue);
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.am-experiences .am-experiences-intro p {
    margin: 0 0 20px;
    font-size: .98rem;
    line-height: 1.7;
}

.am-experiences .am-experiences-intro > a {
    color: var(--am-experience-rust);
    font-weight: 600;
    text-underline-offset: 5px;
}

.am-experiences .am-experiences-intro > a:hover {
    text-decoration: underline;
}

.am-experiences .am-experience-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.am-experiences .am-experience-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #b9c4d0;
    border-radius: 50%;
    background: transparent;
    color: var(--am-experience-blue);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.am-experiences .am-experience-controls button:hover {
    background: #e9edf2;
    border-color: var(--am-experience-blue);
}

.am-experiences .am-experience-controls svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.am-experiences button:focus-visible,
.am-experiences a:focus-visible {
    outline: 3px solid var(--am-experience-rust);
    outline-offset: 4px;
}

.am-experiences .am-experience-stage {
    min-width: 0;
}

/* Every quote contributes its natural height, so rotating never shifts the page. */
.am-experiences .am-experience-slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.am-experiences .am-experience-slide {
    grid-area: 1 / 1;
    display: flex;
    min-width: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.am-experiences .am-experience-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.am-experiences .am-experience-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid #e3e7ec;
    border-top: 3px solid var(--am-experience-rust);
    border-radius: 4px 4px 16px 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 62, 110, .035);
}

.am-experiences .am-experience-card blockquote {
    margin: 0 0 28px;
    color: var(--am-experience-blue);
    font-size: 1.075rem;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.am-experiences .am-experience-card blockquote p:last-child {
    margin-bottom: 0;
}

.am-experiences .am-experience-person {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
}

.am-experiences .am-experience-person img {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    background: #eef1f4;
}

.am-experiences .am-experience-person > div {
    min-width: 0;
}

.am-experiences .am-experience-person strong,
.am-experiences .am-experience-person h2,
.am-experiences .am-experience-person span {
    display: block;
    overflow-wrap: anywhere;
}

.am-experiences .am-experience-person strong,
.am-experiences .am-experience-person h2 {
    margin: 0;
    color: var(--am-experience-blue);
    font-size: .98rem;
    font-weight: 650;
    line-height: 1.5;
}

.am-experiences .am-experience-person span {
    margin-top: 3px;
    font-size: .82rem;
    line-height: 1.55;
}

.am-experiences .am-experience-indicators {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.am-experiences .am-experience-indicators button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.am-experiences .am-experience-indicators button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #8998aa;
    transition: width .2s ease, background-color .2s ease;
}

.am-experiences .am-experience-indicators button.is-active::before {
    width: 24px;
    background: var(--am-experience-rust);
}

.am-experiences--page {
    padding: 56px 0 80px;
    background: linear-gradient(180deg, #f8f7f4 0, #fff 640px);
}

.am-experiences .am-experience-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: .85rem;
}

.am-experiences .am-experience-breadcrumb a {
    color: var(--am-experience-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.am-experiences .am-experience-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.am-experiences .am-experience-breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: #7c8897;
}

.am-experiences .am-experiences-heading {
    max-width: 850px;
    margin: 0 auto 36px;
    text-align: center;
}

.am-experiences .am-experiences-heading h1 {
    margin-bottom: 20px;
    color: var(--am-experience-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.am-experiences .am-experiences-heading p {
    font-size: 1.06rem;
    line-height: 1.85;
}

.am-experiences .am-experience-themes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 36px;
    padding: 0;
    list-style: none;
}

.am-experiences .am-experience-themes > * {
    padding: 7px 14px;
    border: 1px solid #dbe2ea;
    border-radius: 20px;
    color: var(--am-experience-blue);
    background: #fff;
    font-size: .82rem;
    line-height: 1.5;
}

.am-experiences .am-experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.am-experiences--page .am-experience-card blockquote {
    font-size: 1rem;
}

.am-experiences .am-experience-cta {
    margin-top: 48px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 16px;
    background: var(--am-experience-blue);
    color: #fff;
    text-align: center;
}

.am-experiences .am-experience-cta h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.3;
}

.am-experiences .am-experience-cta p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: #e2e9f0;
    line-height: 1.8;
}

.am-experiences .am-experience-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: #fff;
    color: var(--am-experience-blue);
    font-weight: 600;
}

.am-experiences .am-experience-cta > a:hover {
    background: #edf1f6;
}

@media (max-width: 991.98px) {
    .am-experiences .am-experiences-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
        gap: 28px;
    }

    .am-experiences .am-experience-card {
        padding: 26px;
    }

    .am-experiences--page {
        padding-top: 48px;
    }
}

@media (max-width: 767.98px) {
    .am-experiences--spotlight {
        padding: 36px 0 24px;
    }

    .am-experiences .am-experiences-layout,
    .am-experiences .am-experience-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .am-experiences .am-experiences-intro h2 {
        max-width: 24ch;
        margin-bottom: 12px;
    }

    .am-experiences .am-experiences-intro p {
        margin-bottom: 12px;
    }

    .am-experiences .am-experience-controls {
        margin-top: 18px;
    }

    .am-experiences .am-experience-card {
        padding: 24px 20px;
    }

    .am-experiences .am-experience-card blockquote {
        margin-bottom: 22px;
        font-size: 1rem;
        line-height: 1.75;
    }

    .am-experiences .am-experience-person {
        gap: 12px;
        padding-top: 18px;
    }

    .am-experiences .am-experience-person img {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .am-experiences--page {
        padding: 32px 0 48px;
    }

    .am-experiences .am-experience-breadcrumb {
        margin-bottom: 24px;
    }

    .am-experiences .am-experiences-heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .am-experiences .am-experiences-heading p {
        font-size: 1rem;
    }

    .am-experiences .am-experience-themes {
        justify-content: flex-start;
        margin-bottom: 28px;
    }

    .am-experiences .am-experience-cta {
        margin-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-experiences .am-experience-slide,
    .am-experiences .am-experience-controls button,
    .am-experiences .am-experience-indicators button::before {
        transition: none;
    }
}
