/* About: founder hero, story timeline, the name, about you, values. Builds on home.css. */

/* Hero */

.ab-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 100px;
    background: linear-gradient(120deg, #1a3340 0%, var(--home-teal) 55%, #2a5464 100%);
    color: #d3dee3;
}


.ab-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 64px;
}

.ab-hero .home-eyebrow {
    color: #f1bd76;
}

.home-new.ab-hero h1 {
    color: white;
    font-size: clamp(42px, 5.4vw, 70px);
    line-height: 1.02;
}

.ab-hero h1 .home-shimmer {
    display: inline;
    padding-right: 0.12em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.ab-hero-lede {
    max-width: 540px;
    margin: 24px 0 0;
    font-size: 19px;
    line-height: 1.65;
}

.ab-photo {
    position: relative;
}

.ab-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 34px 70px rgb(5 15 22 / 45%);
}

.ab-photo .home-circle {
    z-index: 0;
    opacity: 1;
}

.ab-photo .ab-p1 { top: -34px; right: -30px; width: 120px; height: 120px; background: var(--home-gold); }
.ab-photo .ab-p2 { bottom: -26px; left: -26px; width: 86px; height: 86px; background: var(--home-orange); animation-delay: -3s; }

.ab-sign {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 22px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgb(255 255 255 / 94%);
    color: var(--home-ink);
    box-shadow: 0 12px 28px rgb(5 15 22 / 25%);
    font-size: 13px;
    line-height: 1.35;
}

.ab-sign strong {
    display: block;
    font-size: 15px;
}

/* Story timeline */

.ab-story {
    background: white;
}

.ab-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-timeline::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--home-gold), var(--home-orange));
}

.ab-step {
    position: relative;
}

.ab-step-num {
    position: relative;
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--home-gold);
    color: var(--home-ink);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 0 8px white;
}

.ab-step:nth-child(2) .ab-step-num {
    background: #ebac47;
}

.ab-step:nth-child(3) .ab-step-num {
    background: var(--home-orange);
}

.ab-step-label {
    color: var(--home-rust);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-new .ab-step h3 {
    margin: 6px 0 10px;
    color: var(--home-ink);
    font-size: 22px;
    line-height: 1.25;
}

.ab-step p {
    margin: 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ab-pull {
    position: relative;
    max-width: 900px;
    margin: 64px auto 0;
    padding: 36px 44px;
    border-radius: 24px;
    background: #fdf6ee;
    text-align: center;
}

.ab-pull p {
    margin: 0;
    color: var(--home-teal);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.35;
}

.ab-pull span {
    display: block;
    margin-top: 12px;
    color: var(--home-rust);
    font-size: 14px;
    font-weight: 700;
}

.ab-promise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.ab-promise li {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--home-teal);
    color: white;
    font-weight: 700;
}

.ab-story-close {
    max-width: 760px;
    margin: 28px auto 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

/* The name */

.ab-name {
    position: relative;
    overflow: hidden;
    background: var(--home-ink);
    color: #c6d3d9;
}

.ab-name .home-heading h2 {
    color: white;
}

.ab-name .home-heading .home-eyebrow {
    color: #f1bd76;
}

.ab-say {
    color: var(--home-gold);
}

.ab-name-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 26px;
}

.ab-word {
    padding: 32px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 22px;
    background: rgb(255 255 255 / 4%);
}

.ab-word-art {
    position: relative;
    height: 90px;
    margin-bottom: 18px;
}

.ab-word-term {
    color: var(--home-gold);
    font-size: 28px;
    font-weight: 700;
}

.ab-word-origin {
    margin: 2px 0 12px;
    color: #8fa1ad;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ab-word p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.ab-plus {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: var(--home-orange);
    color: var(--home-ink);
    font-size: 28px;
    font-weight: 700;
}

/* alley-oop: a ball lobbed up to a hoop */
.ab-hoop {
    position: absolute;
    right: 10px;
    top: 18px;
    width: 46px;
    height: 10px;
    border: 3px solid var(--home-orange);
    border-radius: 50%;
}

.ab-hoop::before {
    content: "";
    position: absolute;
    right: -10px;
    bottom: 2px;
    width: 6px;
    height: 54px;
    border-radius: 3px;
    background: rgb(255 255 255 / 30%);
}

.ab-ball {
    position: absolute;
    left: 6px;
    bottom: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--home-orange);
    animation: ab-lob 3.2s ease-in-out infinite;
}

@keyframes ab-lob {
    0%, 12% { left: 6px; bottom: 4px; }
    45% { left: 55%; bottom: 84px; }
    70%, 100% { left: calc(100% - 46px); bottom: 58px; }
}

/* allez-hop: a dot leaping up in arcs */
.ab-hop {
    position: absolute;
    bottom: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--home-gold);
    animation: ab-hop 1.6s ease-in-out infinite;
}

.ab-hop:nth-child(1) { left: 6px; }
.ab-hop:nth-child(2) { left: 70px; animation-delay: 0.25s; }
.ab-hop:nth-child(3) { left: 134px; animation-delay: 0.5s; }

@keyframes ab-hop {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-58px); }
}

.ab-name-line {
    position: relative;
    margin: 52px 0 0;
    color: white;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

.ab-name-line span {
    color: var(--home-gold);
}

/* About you */

.ab-you {
    background: var(--home-cream);
}

.ab-you-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
}

.ab-you .home-eyebrow {
    color: var(--home-rust);
}

.home-new.ab-you h2 {
    color: var(--home-ink);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
}

.ab-you h2 span {
    color: var(--home-orange);
}

.ab-you-copy p {
    margin: 18px 0 0;
    color: var(--home-ink);
    font-size: 17px;
    line-height: 1.7;
}

.ab-why {
    position: relative;
    padding: 44px 40px;
    border-radius: 26px;
    background: var(--home-teal);
    color: #d3dee3;
    overflow: hidden;
}

.ab-why .home-circle {
    opacity: 0.9;
}

.ab-why .ab-w1 { top: -90px; right: -90px; width: 170px; height: 170px; background: var(--home-gold); }
.ab-why .ab-w2 { bottom: -40px; right: 70px; width: 80px; height: 80px; background: var(--home-orange); animation-delay: -3s; }

.ab-why-line {
    position: relative;
    margin: 0;
    color: white;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.2;
}

.ab-why-line span {
    display: block;
    color: var(--home-gold);
}

.ab-why p:not(.ab-why-line) {
    position: relative;
    max-width: 380px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.65;
}

/* Values */

.ab-values {
    position: relative;
    overflow: hidden;
    background: white;
}

.ab-values .home-circle {
    opacity: 1;
}

.ab-values .ab-v1 { top: 60px; left: -110px; width: 240px; height: 240px; background: var(--home-gold); }
.ab-values .ab-v2 { top: 230px; left: 70px; width: 90px; height: 90px; background: var(--home-orange); animation-delay: -3s; }
.ab-values .ab-v3 { bottom: 40px; right: -120px; width: 260px; height: 260px; background: var(--home-orange); animation-delay: -5s; }

.ab-value-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.ab-value {
    grid-column: span 2;
    padding: 28px;
    border: 1px solid #ece6dc;
    border-radius: 20px;
    background: white;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ab-value:nth-child(4),
.ab-value:nth-child(5) {
    grid-column: span 3;
}

.ab-value:hover {
    border-color: rgb(232 152 72 / 55%);
    box-shadow: 0 18px 40px rgb(26 40 51 / 10%);
    transform: translateY(-5px);
}

.home-new .ab-value h3 {
    color: var(--home-ink);
    font-size: 22px;
}

.ab-value p {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.6;
}

.ab-value .home-product-icon {
    margin-bottom: 18px;
}

/* Responsive */

@media (max-width: 960px) {
    .ab-hero-grid,
    .ab-you-grid {
        grid-template-columns: 1fr;
    }

    .ab-timeline {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ab-timeline::before {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--home-gold), var(--home-orange));
    }

    .ab-step {
        padding-left: 84px;
    }

    .ab-step-num {
        position: absolute;
        left: 0;
        top: 0;
    }

    .ab-name-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ab-word {
        width: 100%;
        box-sizing: border-box;
    }

    .ab-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ab-value,
    .ab-value:nth-child(4),
    .ab-value:nth-child(5) {
        grid-column: span 1;
    }

    .ab-value:nth-child(5) {
        grid-column: span 2;
    }

    .ab-values .ab-v2 {
        display: none;
    }
}

@media (max-width: 640px) {
    .ab-hero {
        padding: 64px 0 76px;
    }

    .ab-value-grid {
        grid-template-columns: 1fr;
    }

    .ab-value:nth-child(5) {
        grid-column: span 1;
    }

    .ab-pull {
        padding: 28px 22px;
    }

    .ab-why {
        padding: 34px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-ball {
        animation: none;
        left: calc(100% - 46px);
        bottom: 58px;
    }

    .ab-hop {
        animation: none;
    }
}
