/* Homepage links to the family and professional pages. */
.home-about-entry {
    padding-block: 70px;
    background: #fbf8f3
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 65px;
    align-items: center;
    /* max-width: 1180px */
}

.home-founder {
    margin: 0;
    position: relative
}

.home-founder img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: .93;
    object-fit: cover;
    border-radius: 80px 80px 15px 15px;
}

.home-founder figcaption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 12px 15px;
    background: #fffaf5ed;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    color: #493358;
    color: #7954c4;
    text-align: center;
}

.home-founder figcaption span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    margin-top: 3px
}

.home-about-copy .home-eyebrow {
    color: #725092;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 18px
}

.home-about-copy h2 {
    font-family: Ramona, sans-serif;
    font-size: 43px;
    line-height: 1.15;
    text-align: left;
    color: #684294;
    color: #8661d1;
    margin: 0 0 23px;
    text-wrap: balance
}

.home-about-copy>p:not(.home-eyebrow):not(.home-entry-hint) {
    font-size: 20px;
    line-height: 1.75;
    color: #51425d;
    /* max-width: 680px */
}

.home-entry-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px
}

.home-entry-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border-radius: 30px;
    min-height: 50px;
    padding: 15px 30px;
    /* font-size: 16px; */
    font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4
}

.home-entry-primary {
    background: #8661d1;
    color: white;
    text-shadow: 0px 1px 2px rgba(42, 27, 64, 0.8), 0px 0px 4px rgba(42, 27, 64, 0.4);
    letter-spacing: 0.03em;
}

.home-entry-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(134, 97, 209, 0.5);
}
.home-entry-primary:active {
        transform: scale(0.96) translateY(1px);
}

.home-entry-secondary {
    color: #684294;
    box-shadow: inset 0 0 0 1px #c0a9d2
}

.home-entry-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(134, 97, 209, 0.5);
}
.home-entry-secondary:active {
        transform: scale(0.96) translateY(1px);
}

.home-entry-links span {
    font-size: 21px
}

.home-about-copy .home-entry-hint {
    font-size: 11px;
    color: #7b6a86;
    line-height: 1.7;
    margin-top: 17px
}

.home-method-route {
    text-align: center;
    margin-top: -40px;
    padding-bottom: 40px;
}

.home-method-route a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 48px;
    font-size: 16px;
    border-bottom: 1px solid #baa6d3;
    color: #684294
}

.home-entry-links a:focus-visible,
.home-method-route a:focus-visible {
    outline: 3px solid #684294;
    outline-offset: 4px
}

@media(min-width:769px) {
    .header-nav .nav-list {
        gap: clamp(10px, 1.25vw, 20px)
    }

    .header-nav .menu-item {
        font-size: 15px
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center
    }
}

@media(max-width:1000px) {
    .home-about-grid {
        grid-template-columns: 250px 1fr;
        gap: 35px
    }

    .home-about-copy h2 {
        font-size: 35px
    }

    .home-about-copy>p:not(.home-eyebrow):not(.home-entry-hint) {
        font-size: 16px
    }

    .home-entry-links a {
        font-size: 14px;
        font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
        padding: 11px 19px
    }

    .header-nav .menu-item {
        font-size: 13px
    }
}

@media(max-width:768px) {
    .home-about-entry {
        padding:  0
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .home-founder {
        width: min(300px, 90%);
        width: 100%;
        margin: auto;
        grid-row: 2;
        /* order: -1; */
    }

    .home-about-copy {
        display: contents;
    }
    .home-eyebrow {
        grid-row: 1;

    }

    .home-about-copy h2 {
        text-align: center;
        font-size: 26px;
        margin-bottom: 0;
    }

    .home-about-copy>p:not(.home-eyebrow):not(.home-entry-hint) {
        font-size: 16px
    }

    .home-entry-links {
        gap: 12px;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .home-entry-links a {
        font-size: 14px;
        font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
        gap: 15px;
        min-height: 48px
    }

    .home-about-copy .home-entry-hint {
        font-size: 11px;
        display: none;
        
    }

    .home-method-route a {
        font-size: 14px;
        line-height: 1.6;
        text-align: left
    }

    .header-nav .menu-item {
        font-size: 18px
    }
}

@media(max-width:360px) {
    .home-about-copy h2 {
        font-size: 30px
    }

    .home-entry-links {
        flex-direction: column;
        align-items: stretch
    }

    .home-entry-links a {
        justify-content: space-between
    }

    .home-founder {
        width: 100%
    }


}