/* pages/about.css */
.about-page  {
    width: auto;
    margin-inline: calc((100% - 100cqw) / 2);
    font-family: Arial, Helvetica, sans-serif;
}

.about-page .section-heading  {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto 2.5rem;
}

.about-page .section-title  {
    font-family: "Love Ya Like A Sister", cursive;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.02;
    color: var(--brand-brown);
    margin: 0.4rem 0 1rem;
}

.about-page .about-feature .about-copy p  {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(0.98rem, 1.2vw, 1.03rem);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.about-page .about-feature h2  {
    font-family: "Love Ya Like A Sister", cursive;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.55;
    color: var(--brand-brown);
    max-width: 18ch;
    margin: 0 0 1.25rem;
}

.about-copy  {
    font-family: "Love Ya Like A Sister", cursive;
    line-height: 1.08;
    color: var(--brand-brown);
}

.about-section .btn  {
    margin-top: 0.5rem;
}

.about-feature .about-photo  {
    position: relative;
    z-index: 0;
    justify-self: center;
    isolation: isolate;
}

.about-feature .about-photo img  {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-mask-image: url("../../img/blob-mask.e6286e18f2f9.svg");
    mask-image: url("../../img/blob-mask.e6286e18f2f9.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.14));
}

.about-feature .about-photo::before  {
    content: "";
    position: absolute;
    inset: -5%;
    z-index: 0;
    background: rgba(230, 181, 75, 0.9);
    -webkit-mask-image: url("../../img/blob-mask.e6286e18f2f9.svg");
    mask-image: url("../../img/blob-mask.e6286e18f2f9.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transform: scale(-1, -1);
    pointer-events: none;
}

.about-feature .about-photo--portrait img  {
    object-fit: cover;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 48% 52% 42% 58% / 28% 36% 64% 72%;
}

.about-feature .about-photo--portrait::before  {
    inset: -4%;
    border-radius: 48% 52% 42% 58% / 28% 36% 64% 72%;
    -webkit-mask-image: none;
    mask-image: none;
    transform: none;
}

@media (max-width: 860px)  {
    .about-page .about-feature h2  {
        max-width: 28ch;
    }
}

@media (max-width: 480px)  {
    .about-page .section-title  {
        font-size: 2rem;
    }
    .about-page .about-feature .about-copy p  {
        line-height: 1.65;
    }
    .about-page .about-feature h2  {
        max-width: 100%;
    }
}

.about-page .about-section.about-feature:nth-of-type(n)  {
    display: block;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--bg-light);
}

.about-page .about-section.about-feature:nth-of-type(even)  {
    position: relative;
    background: linear-gradient(135deg, #fff0c4, var(--brand-beige) 55%, #f4df8c);
}

.about-page .about-section-inner  {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    width: min(100% - 3rem, 66rem);
    margin-inline: auto;
    padding-block: clamp(3rem, 5vw, 5rem);
}

.about-page .about-feature--reverse .about-section-inner  {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.about-page .about-section.about-feature .about-section-inner .about-copy  {
    min-width: 0;
    max-width: none;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}

.about-page .about-section.about-feature--reverse .about-section-inner .about-copy  {
    grid-column: 2;
}

.about-page .about-section.about-feature .about-section-inner .about-photo  {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 32rem);
    aspect-ratio: 4 / 3;
    margin: 0;
}

.about-page .about-section.about-feature--reverse .about-section-inner > .about-photo  {
    grid-column: 1;
}

.about-page .about-section.about-feature .about-section-inner .about-photo--portrait  {
    width: min(100%, 25rem);
    aspect-ratio: 3 / 4;
}

.about-page .about-feature--wrap .about-section-inner  {
    display: block;
}

.about-page .about-section.about-feature--wrap .about-section-inner .about-copy  {
    display: flow-root;
}

.about-page .about-section.about-feature--wrap .about-section-inner .about-copy > .about-photo  {
    float: right;
    width: min(48%, 26rem);
    margin: 0 0 1.5rem 2rem;
    shape-outside: ellipse(50% 50% at 50% 50%);
    shape-margin: 1.75rem;
}

@media (max-width: 900px)  {
    .about-page .about-section-inner,
    .about-page .about-feature--reverse .about-section-inner  {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: calc(100% - 2.5rem);
        gap: 2rem;
        padding-block: 2.75rem;
    }
    .about-page .about-feature--wrap .about-section-inner  {
        display: block;
    }
    .about-page .about-section.about-feature .about-section-inner > .about-photo  {
        order: -1;
        align-self: center;
    }
    .about-page .about-section.about-feature--wrap .about-section-inner .about-copy > .about-photo  {
        float: none;
        width: min(calc(100% - 2rem), 32rem);
        margin: 1.5rem auto 2rem;
        shape-outside: none;
    }
}

.about-page .about-section.about-feature.about-feature--large-photo .about-section-inner .about-photo  {
    width: min(100%, 38rem);
}

@media (min-width: 901px)  {
    .about-page .about-feature--large-photo.about-feature--reverse .about-section-inner  {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
    .about-page .about-section.about-feature--wrap.about-feature--large-photo .about-section-inner .about-copy > .about-photo  {
        width: min(52%, 32rem);
    }
}

@media (max-width: 900px)  {
    .about-page .about-section.about-feature--wrap.about-feature--large-photo .about-section-inner .about-copy > .about-photo  {
        width: min(calc(100% - 2rem), 38rem);
    }
}

.about-page .about-feature--open-blob .about-photo img  {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 34% 28% 36% 24% / 18% 24% 30% 36%;
    object-fit: contain;
}

.about-page .about-feature--open-blob .about-photo::before  {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 30% 40% 24% 36% / 24% 18% 36% 30%;
    inset: -3%;
    transform: rotate(-5deg);
}

@media (min-width: 901px)  {
    .about-page .about-section.about-feature--wrap.about-feature--open-blob .about-section-inner .about-copy > .about-photo  {
        shape-outside: inset(0 round 34% 28% 36% 24% / 18% 24% 30% 36%);
    }
}

.about-page .about-section.about-feature:nth-of-type(even)::before,
.about-page .about-section.about-feature:nth-of-type(even)::after  {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: clamp(28px, 4vw, 48px);
    background: var(--bg-light);
    -webkit-mask-image: url("../../img/section-wave.59f8ac90cf2f.svg");
    mask-image: url("../../img/section-wave.59f8ac90cf2f.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    pointer-events: none;
}

.about-page .about-section.about-feature:nth-of-type(even)::before  {
    top: -1px;
}

.about-page .about-section.about-feature:nth-of-type(even)::after  {
    bottom: -1px;
    transform: rotate(180deg);
}

.site-main:has(.about-page)  {
    padding-bottom: 0;
}

.site-main:has(.about-page) + .site-footer  {
    margin-top: 0;
}

.about-page .about-section.about-feature:last-of-type::after  {
    display: none;
}

.about-page  {
    position: relative;
    isolation: isolate;
}

.about-page .section-heading,
.about-page .about-section-inner  {
    position: relative;
    z-index: 2;
}

.about-paw-route  {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    color: var(--brand-brown);
    opacity: 0.17;
    overflow: hidden;
    pointer-events: none;
}

@media (max-width: 600px)  {
    .about-paw-route  {
        opacity: 0.12;
    }
}

.about-paw-step  {
    opacity: 0;
    transform: scale(0.72);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 160ms ease;
}

.about-paw-step.is-visible  {
    opacity: 1;
    transform: scale(1);
}

.about-paw-step.is-stepping  {
    animation: about-paw-press 380ms ease-out both;
    animation-delay: var(--paw-delay, 0ms);
}

@keyframes about-paw-press  {
    0%  {
        opacity: 0;
        transform: scale(0.72);
    }
    65%  {
        opacity: 1;
        transform: scale(1.12);
    }
    100%  {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce)  {
    .about-paw-step  {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}

@media (max-width: 1499px)  {
    .about-page .about-section-inner,
    .about-page .about-feature--reverse .about-section-inner  {
        width: min(calc(100% - 8rem), 66rem);
    }
    .about-paw-route  {
        opacity: 0.13;
    }
}

@media (max-width: 600px)  {
    .about-page .about-section-inner,
    .about-page .about-feature--reverse .about-section-inner  {
        width: calc(100% - 5rem);
    }
    .about-paw-route  {
        opacity: 0.10;
    }
}
