/* =================================================================
   CovaiCare — Homepage "Who We Are" block (same look as About Us)
   Copied from about.css so the homepage does not load the full About stylesheet.
   ================================================================= */
.ab-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.ab-who { background: var(--ivory); }

.who-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.who-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(.85rem, 1.5vw, 1.25rem);
}
.who-stat {
    background: #fff;
    border: 1px solid rgba(82, 108, 87, .18);
    border-top: 5px solid var(--yellow);
    border-radius: var(--radius-md);
    padding: clamp(1.1rem, 2vw, 1.6rem);
    box-shadow: 0 10px 28px rgba(48, 53, 47, .07);
    transition: transform .4s var(--ease), box-shadow .4s ease;
}
.who-stat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(48, 53, 47, .13); }
.who-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    line-height: 1;
    color: var(--sage);
    margin-bottom: .45rem;
}
.who-label { font-size: clamp(.95rem, .3vw + .88rem, 1.05rem); font-weight: 600; color: var(--ink); line-height: 1.4; }

/* read more */
.more { overflow: hidden; transition: height .55s cubic-bezier(.22, 1, .36, 1), opacity .45s ease; }
.read-more {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .7em 1.4em;
    border: 2px solid var(--sage);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--sage);
    font: 600 clamp(.92rem, .3vw + .85rem, 1rem)/1.2 var(--font-body);
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}
.read-more i { transition: transform .4s var(--ease); font-size: .85em; }
.read-more[aria-expanded="true"] i { transform: rotate(180deg); }
.read-more:hover, .read-more:focus-visible { background: var(--sage); color: #fff; }
.read-more-light { border-color: var(--yellow); color: var(--yellow); }
.read-more-light:hover, .read-more-light:focus-visible { background: var(--yellow); color: var(--ink); }

/* 4-photo strip, staggered heights */
.photo-strip,
.vision-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(.75rem, 1.5vw, 1.25rem);
    align-items: end;
}
.pic {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--sage-cream);
    box-shadow: 0 12px 30px rgba(48, 53, 47, .12);
}
.photo-strip .pic:nth-child(even) { transform: translateY(28px); }
.photo-strip { padding-bottom: 28px; }
.pic img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.pic:hover img { transform: scale(1.06); }

/* wipe reveal: photo uncovers upward and settles from a slight zoom */
.clip-reveal { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1) var(--d, 0ms); }
.clip-reveal img { transform: scale(1.25); transition: transform 1.6s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
.clip-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.clip-reveal.is-visible img { transform: scale(1); }
.clip-reveal.is-visible:hover img { transform: scale(1.06); transition-delay: 0ms; }

@media (max-width: 1024px) { .who-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
    .photo-strip { grid-template-columns: repeat(2, 1fr); }
    .photo-strip .pic:nth-child(even) { transform: translateY(20px); }
}
@media (max-width: 479px) { .who-stats { gap: .7rem; } }
@media (prefers-reduced-motion: reduce) { .clip-reveal, .clip-reveal img { transition: none !important; transform: none; clip-path: none; } }

/* ---- Homepage: this block fits one screen on desktop / laptop (homepage pages one section per scroll) ---- */
@media (min-width: 1025px) and (min-height: 460px) {
    .home-who {
        min-height: var(--fold);
        display: flex; flex-direction: column; justify-content: center;
        padding-block: clamp(1rem, 3vh, 2.2rem);
    }
    .home-who .who-grid { margin-bottom: clamp(1rem, 3.2vh, 2.2rem); gap: clamp(2rem, 4vw, 4rem); }
    .home-who .who-stat { padding: clamp(.8rem, 1.8vh, 1.3rem) clamp(1rem, 1.6vw, 1.4rem); }
    .home-who .who-num { font-size: clamp(1.9rem, 2.8vw, 2.7rem); margin-bottom: .3rem; }
    .home-who .who-label { line-height: 1.35; }
    .home-who .pic { aspect-ratio: auto; height: clamp(120px, calc(var(--fold) - 410px), 320px); }
    .home-who .photo-strip { padding-bottom: 14px; }
    .home-who .photo-strip .pic:nth-child(even) { transform: translateY(14px); }
}

.home-who .read-more { margin-top: .9rem; }
