/* Meist: scoped story layout. Load after brand.css. */
.about-story {
    --story-navy: #042932;
    --story-blue: #1492af;
    --story-orange: #f69445;
    --story-yellow: #ffd52d;
    --story-texture: repeating-linear-gradient(125deg, transparent 0 8px, #04293204 8px 9px);
    color: var(--story-navy);
    background: var(--story-orange);
    overflow: clip;
    font-family: Montserrat, sans-serif;
}

.about-story *,
.about-story *::before,
.about-story *::after {
    box-sizing: border-box;
}

.about-story h1,
.about-story h2,
.about-story h3 {
    font-family: Poppins, sans-serif;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.about-story p {
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 20px;
}

.about-story .eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.about-story .btn {
    white-space: normal;
    text-align: center;
}

.story-hero {
    padding: clamp(120px, 12vw, 170px) 0 75px;
    background: var(--story-texture), linear-gradient(125deg, #f69445 0%, #f69445 65%, #ffd52d 100%);
}

.story-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: center;
}

.story-hero h1 {
    font-size: clamp(48px, 6.8vw, 92px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 28px;
}

.story-hero h1 span {
    color: #042932;
    background: linear-gradient(110deg, #042932 20%, #1492af 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-hero-grid>div>p:not(.eyebrow) {
    max-width: 55ch;
}

.story-hero .btn {
    background: #042932;
    color: #ffd52d;
    border-color: #042932;
    margin-top: 10px;
}

.story-intro {
    position: relative;
    padding: clamp(24px, 3.5vw, 44px);
    border: 1px solid #1492af;
    border-radius: 32px 10px 32px 10px;
    color: #ffeec8;
    background: repeating-linear-gradient(125deg, transparent 0 8px, #ffd52d05 8px 9px), linear-gradient(145deg, #042932 65%, #1492af);
    box-shadow: 10px 10px 0 #04293216;
}

.story-kicker {
    display: block;
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: .12em;
    font-weight: 800;
    color: #ffd52d;
}

.story-intro p:last-of-type {
    font-weight: 700;
    color: #ffd52d;
}

.story-cities {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #1492af80;
    padding-top: 22px;
    margin-top: 26px;
    color: #f69445;
    font: 800 16px Poppins, sans-serif;
    letter-spacing: .06em;
}

.story-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 30px;
    padding: 20px;
    background: #042932;
    color: #ffd52d;
    font: 700 13px Poppins, sans-serif;
    letter-spacing: .1em;
    text-align: center;
}

.story-ribbon span {
    color: #f69445;
    font-size: 24px;
}

.story-chapters {
    padding-block: 48px 72px;
    scroll-margin-top: 95px;
    background-image: var(--story-texture);
}

.story-chapter {
    display: grid;
    grid-template-columns: 140px minmax(0, 780px);
    justify-content: center;
    gap: 35px;
    padding: 48px 0;
    border-bottom: 1px solid #04293230;
}

.story-chapter:last-child {
    border-bottom: 0;
}

.story-number {
    font: 800 clamp(48px, 7vw, 84px)/1 Poppins, sans-serif;
    color: #04293230;
    letter-spacing: -.07em;
}

.story-chapter h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.2;
    margin: 0 0 26px;
}

.story-chapter p:last-child {
    margin-bottom: 0;
}

.story-history {
    padding: 85px 0;
    color: #ffeec8;
    background: repeating-linear-gradient(125deg, transparent 0 8px, #ffd52d04 8px 9px), linear-gradient(135deg, #042932 70%, #1492af);
}

.story-history-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 70px;
}

.story-history h2 {
    color: #ffd52d;
    font-size: clamp(34px, 4.3vw, 56px);
    line-height: 1.14;
    margin: 0;
}

.story-history .eyebrow {
    color: #f69445;
}

.story-history .story-history-mark {
    margin: 48px 0 0;
    font: 800 clamp(40px, 5vw, 64px)/1.3 Poppins, sans-serif;
    color: #1492af;
}

.story-history-mark span {
    color: #f69445;
}

.story-milestones {
    margin: 0;
    padding: 0;
    list-style: none;
}

.story-milestones li {
    position: relative;
    padding: 0 0 38px 66px;
}

.story-milestones li::before {
    content: '';
    position: absolute;
    top: 42px;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: #1492af;
}

.story-milestones li:last-child {
    padding-bottom: 0;
}

.story-milestones li:last-child::before {
    display: none;
}

.milestone-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f69445, #ffd52d);
    color: #042932;
    font: 800 13px Poppins, sans-serif;
}

.story-milestones h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.35;
    margin: 0 0 14px;
    color: #ffd52d;
}

.story-milestones p {
    margin: 0;
    font-size: 15px;
}

.story-future {
    padding: 90px 0;
    background: var(--story-texture), linear-gradient(35deg, #f69445 65%, #ffd52d);
}

.story-future-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
}

.story-future h2 {
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.12;
    margin: 0;
}

.story-future .story-invitation {
    font-weight: 800;
    margin-top: 28px;
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.story-actions .btn-primary {
    background: #042932;
    color: #ffd52d;
    border-color: #042932;
}

.story-actions .btn-ghost {
    color: #042932;
    border: 2px solid #042932;
    background: transparent;
}

.about-story .ambassador-section {
    background: var(--story-texture), linear-gradient(125deg, #042932 70%, #1492af);
    color: #ffeec8;
}

.about-story .ambassador-section h2 {
    color: #ffd52d;
}

.about-story .ambassador-layout {
    align-items: center;
}

.about-story .ambassador-layout>img {
    width: 100%;
    height: auto;
    object-fit: contain;
    align-self: end;
}

.about-story a:focus-visible {
    outline: 3px solid #1492af;
    outline-offset: 5px;
}

@media (max-width: 800px) {

    .story-hero-grid,
    .story-history-grid,
    .story-future-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .story-hero {
        padding-bottom: 45px;
    }

    .story-intro {
        max-width: 640px;
    }

    .story-chapter {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 20px;
        padding-block: 34px;
    }

    .story-chapters {
        padding-block: 24px 40px;
    }

    .story-history .story-history-mark {
        display: none;
    }

    .story-history,
    .story-future {
        padding-block: 55px;
    }
}

@media (max-width: 480px) {
    .about-story p {
        font-size: 14px;
        line-height: 1.8;
    }

    .story-hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .story-chapter {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .story-number {
        font-size: 36px;
    }

    .story-milestones li {
        padding-left: 54px;
    }

    .story-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .story-ribbon {
        font-size: 10px;
        gap: 10px;
    }

    .about-story .ambassador-layout {
        grid-template-columns: 1fr;
    }
}