/* =================================================================
   CovaiCare — ABOUT US PAGE
   Uses the approved homepage palette (Calm Wellness):
   Mustard var(--yellow) · Deep Sage var(--sage) · Sage Cream var(--sage-cream)
   Ivory var(--ivory) · Olive Charcoal var(--ink)
   ================================================================= */

.page-about { background: var(--ivory); }

.ab-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }

.ab-text {
    font-size: clamp(1.02rem, .35vw + .94rem, 1.18rem);
    line-height: 1.75;
    font-weight: 500;
    color: var(--ink);
    max-width: 58ch;
    margin-bottom: 1rem;
}

.center-head { text-align: center; max-width: 900px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); }
.center-head .eyebrow.reveal { justify-content: center; }
.center-head .section-title span { display: block; }
.center-head .section-title .title-mark,
.center-head .section-title .ink-yellow { margin-inline: auto; }


/* ============================ 1. BANNER ============================ */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(460px, calc(100svh - var(--hdr, 92px)), 820px);
    padding-block: clamp(3rem, 8vh, 6rem);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 35%;
    transform: scale(1.14);
    transition: transform 2.6s cubic-bezier(.22, 1, .36, 1);
}
.is-loaded .page-hero-bg img { transform: scale(1.02); }

.page-hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(0deg, rgba(48, 53, 47, .88) 0%, rgba(48, 53, 47, .45) 45%, rgba(48, 53, 47, .15) 100%),
        linear-gradient(90deg, rgba(48, 53, 47, .55) 0%, rgba(48, 53, 47, 0) 60%);
}

.page-hero-inner { position: relative; z-index: 1; }

.crumbs {
    display: flex; gap: .6rem; align-items: center;
    font-size: clamp(.9rem, .3vw + .82rem, 1rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .9);
}
.crumbs a { color: var(--yellow); }
.crumbs a:hover { text-decoration: underline; }

.page-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    margin-bottom: 1.1rem;
}
.page-title span { display: block; }
.page-title .title-accent { color: var(--yellow); }

.page-hero-sub {
    max-width: 44ch;
    font-size: clamp(1.05rem, .5vw + .95rem, 1.3rem);
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
}

/* entrance: each line rises in after the page loads */
.hero-line {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s ease, transform 1.1s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--d, 0ms);
}
.is-loaded .hero-line { opacity: 1; transform: none; }

/* scroll cue */
.scroll-cue {
    position: absolute; z-index: 1;
    left: 50%; bottom: clamp(1rem, 3vh, 2rem);
    width: 30px; height: 48px;
    margin-left: -15px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 20px;
}
.scroll-cue span {
    position: absolute; left: 50%; top: 9px;
    width: 4px; height: 9px; margin-left: -2px;
    border-radius: 2px; background: var(--yellow);
    animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }


/* ========================== 2. WHO WE ARE ========================== */
.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; }


/* ========================= 3. OUR STORY ========================= */
.ab-spark { background: var(--sage); color: #fff; overflow: hidden; }
.ab-spark .ab-text { color: #fff; }
.ab-spark .eyebrow.reveal::before { background: var(--yellow); }

.spark-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.spark-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    transform: translateY(var(--py, 0));
}
.spark-media img {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.spark-year {
    position: absolute;
    right: clamp(-1rem, -1.5vw, -.5rem);
    bottom: clamp(1.25rem, 3vw, 2.25rem);
    background: var(--yellow);
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 1rem 1.4rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
    text-align: center;
}
.spark-year strong { display: block; font-family: var(--font-heading); font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1; }
.spark-year span { font-weight: 600; font-size: .95rem; }

.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
    border-top: 1px solid rgba(255, 255, 255, .28);
}
.milestones strong { display: block; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--yellow); line-height: 1.1; }
.milestones span { font-weight: 600; font-size: clamp(.92rem, .3vw + .85rem, 1.02rem); line-height: 1.4; }


/* ========================== 4. OUR VISION ========================== */
.ab-vision { background: var(--sage-cream); }
.vision-quote {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.9vw, 2.6rem);
    line-height: 1.3;
    color: var(--ink);
}
.vision-quote .title-mark { display: inline; color: var(--sage); }
.vision-row .pic { aspect-ratio: 1 / 1; }
.vision-row .pic.tall { aspect-ratio: 4 / 5; }


/* ========================== 5. OUR MISSION ========================== */
.ab-mission { background: var(--ivory); }
.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}
.mission-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.4vw, 2.1rem);
    border: 1px solid rgba(82, 108, 87, .16);
    box-shadow: 0 10px 28px rgba(48, 53, 47, .06);
    transition: transform .45s var(--ease), box-shadow .45s ease, border-color .45s ease;
    overflow: hidden;
}
.mission-card::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 5px; background: var(--yellow);
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
}
.mission-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(48, 53, 47, .13); border-color: transparent; }
.mission-card:hover::after { transform: scaleX(1); }
.mission-icon {
    display: grid; place-items: center;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), background-color .3s ease, color .3s ease;
}
.mission-card:hover .mission-icon { transform: rotate(-8deg) scale(1.08); background: var(--yellow); color: var(--ink); }
.mission-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.25rem, 1.5vw, 1.45rem); color: var(--ink); margin-bottom: .5rem; line-height: 1.2; }
.mission-card p { font-size: clamp(.98rem, .3vw + .9rem, 1.08rem); font-weight: 500; line-height: 1.6; color: var(--ink); }


/* ========================== 6. LEADERSHIP ========================== */
.ab-team { background: var(--sage-cream); }

.founder-card {
    display: grid;
    grid-template-columns: minmax(200px, 300px) 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    box-shadow: 0 16px 40px rgba(48, 53, 47, .09);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.founder-photo,
.team-photo {
    display: grid; place-items: center;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, var(--sage-cream), #dfe4d3);
    color: rgba(82, 108, 87, .55);
    font-size: clamp(3.5rem, 7vw, 6rem);
}
.founder-role, .team-role { font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: .35rem; }
.founder-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.2; color: var(--ink); margin-bottom: .8rem; }
.founder-body p:not(.founder-role) { font-size: clamp(1rem, .35vw + .92rem, 1.12rem); font-weight: 500; line-height: 1.7; color: var(--ink); max-width: 62ch; }
.founder-body blockquote {
    margin-top: 1.1rem;
    padding: .9rem 1.2rem;
    border-left: 5px solid var(--yellow);
    background: var(--ivory);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    color: var(--ink);
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 1.3rem;
    text-align: center;
    box-shadow: 0 10px 26px rgba(48, 53, 47, .07);
    transition: transform .45s var(--ease), box-shadow .45s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(48, 53, 47, .13); }
.team-photo { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.team-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.15rem, 1.4vw, 1.35rem); color: var(--ink); margin-bottom: .2rem; }
.team-card .team-role { margin-bottom: 0; font-size: .82rem; }


/* ======================= 7. BRAND PHILOSOPHY ======================= */
.ab-belief { background: var(--yellow); text-align: center; overflow: hidden; }
.belief-inner { max-width: 1000px; }
.belief-mark { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--sage); margin-bottom: 1rem; }
.belief-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.1vw, 2.8rem);
    line-height: 1.3;
    color: var(--ink);
}
.belief-sign { margin-top: 1.25rem; font-family: var(--font-script); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--sage); }


/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
    .who-grid, .spark-grid { grid-template-columns: 1fr; }
    .mission-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .spark-media { max-width: 620px; }
    .spark-media img { aspect-ratio: 16 / 11; }
}

@media (max-width: 767px) {
    .page-hero { min-height: 72svh; }
    .photo-strip, .vision-row { grid-template-columns: repeat(2, 1fr); }
    .photo-strip .pic:nth-child(even) { transform: translateY(20px); }
    .vision-row .pic, .vision-row .pic.tall { aspect-ratio: 4 / 5; }
    .founder-card { grid-template-columns: 1fr; }
    .founder-photo { max-width: 220px; }
    .milestones { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
    .spark-year { right: .75rem; }
}

@media (max-width: 479px) {
    .mission-grid { grid-template-columns: 1fr; }
    .who-stats { gap: .7rem; }
    .milestones { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-line, .page-hero-bg img, .clip-reveal, .clip-reveal img { transition: none !important; opacity: 1; transform: none; clip-path: none; }
    .scroll-cue span { animation: none; }
}

/* eyebrow on the sage story band */
.ab-spark .eyebrow { color: var(--yellow); }


/* =================================================================
   v34 — Vision (image + statement card), Mission (image cards),
   Team (cards with descriptions)
   ================================================================= */

/* ---------- Vision ---------- */
.vision-wrap {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
}
.vision-media {
    grid-column: 1 / 2; grid-row: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(48, 53, 47, .16);
    transform: translateY(var(--py, 0));
}
.vision-media img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.reveal.is-visible.vision-media { transform: translateY(var(--py, 0)); }

.vision-card {
    grid-column: 2 / 3; grid-row: 1;
    position: relative; z-index: 1;
    margin-left: clamp(-7rem, -8vw, -3rem);
    background: #fff;
    border-radius: var(--radius-lg);
    border-top: 6px solid var(--yellow);
    padding: clamp(1.6rem, 3vw, 2.75rem);
    box-shadow: 0 24px 54px rgba(48, 53, 47, .16);
}
.vision-card .vision-quote { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.32; margin-bottom: 1rem; }
.vision-note { font-size: clamp(1rem, .3vw + .92rem, 1.1rem); font-weight: 500; line-height: 1.65; color: var(--ink); }

.values {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(.6rem, 1.4vw, 1rem);
    margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}
.value {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    padding: 1rem .8rem;
    background: #fff;
    border: 1px solid rgba(82, 108, 87, .18);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: clamp(.95rem, .3vw + .88rem, 1.05rem);
    color: var(--ink);
    transition: background-color .35s ease, color .35s ease, transform .35s var(--ease);
}
.value i { color: var(--sage); font-size: 1.2rem; transition: color .35s ease; }
.value:hover { background: var(--sage); color: #fff; transform: translateY(-3px); }
.value:hover i { color: var(--yellow); }

/* ---------- Mission ---------- */
.center-lede {
    max-width: 60ch; margin: 0 auto;
    font-size: clamp(1.02rem, .35vw + .94rem, 1.15rem);
    font-weight: 500; line-height: 1.7; color: var(--ink);
}
.mission-card { padding: 0; }
.mission-img { position: relative; margin: 0; }
.mission-img img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}
.mission-card:hover .mission-img img { transform: scale(1.07); }
.mission-img { overflow: visible; }
.mission-img::before { content: ""; position: absolute; inset: 0; overflow: hidden; }
.mission-card .mission-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.mission-card { overflow: hidden; }
.mission-img .mission-icon {
    position: absolute; left: 1.4rem; bottom: -31px;
    margin: 0;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(48, 53, 47, .18);
}
.mission-body { padding: 2.6rem clamp(1.25rem, 2vw, 1.6rem) clamp(1.4rem, 2vw, 1.8rem); }
.mission-card .mission-img { overflow: visible; }
.mission-card .mission-img img { border-radius: 0; }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card {
    position: relative;
    text-align: left;
    padding: clamp(1.3rem, 2.2vw, 1.8rem);
    overflow: hidden;
    border: 1px solid rgba(82, 108, 87, .14);
}
.team-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 5px; background: var(--yellow);
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
}
.team-card:hover::after { transform: scaleX(1); }
.team-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.team-card .team-photo {
    flex: none;
    width: 76px; height: 76px;
    aspect-ratio: auto;
    border-radius: 50%;
    margin: 0;
    font-size: 1.9rem;
    background: var(--sage-cream);
    color: var(--sage);
    transition: background-color .35s ease, color .35s ease;
}
.team-card:hover .team-photo { background: var(--sage); color: #fff; }
.team-card h3 { margin-bottom: .15rem; }
.team-card .team-role { font-size: .8rem; letter-spacing: .1em; line-height: 1.4; }
.team-desc {
    font-size: clamp(.98rem, .3vw + .9rem, 1.06rem);
    font-weight: 500;
    line-height: 1.65;
    color: var(--ink);
}

@media (max-width: 1024px) {
    .vision-wrap { grid-template-columns: 1fr; }
    .vision-media, .vision-card { grid-column: 1; }
    .vision-card { grid-row: 2; margin: -4rem clamp(.75rem, 4vw, 2rem) 0; }
    .values { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .values { grid-template-columns: 1fr 1fr; }
    .values .value:last-child { grid-column: 1 / -1; }
    .team-grid { grid-template-columns: 1fr; }
}


/* =================================================================
   v35 — TEAM with member photos
   ================================================================= */
.lead-card {
    display: grid;
    grid-template-columns: minmax(240px, 330px) 1fr;
    gap: clamp(1.75rem, 4.5vw, 4rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.lead-photo { position: relative; margin: 0; }
.lead-photo img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 50px rgba(48, 53, 47, .16);
}
.lead-photo::before {           /* offset frame behind the photo */
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border: 3px solid var(--yellow); border-radius: var(--radius-lg); z-index: -1;
}
.lead-photo figcaption {
    position: absolute; left: -14px; bottom: 26px;
    background: var(--sage); color: #fff;
    padding: .8rem 1.15rem; border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.lead-photo figcaption strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; color: var(--yellow); line-height: 1.1; }
.lead-photo figcaption span { font-weight: 600; font-size: .9rem; }
.lead-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.15; color: var(--ink); margin-bottom: .9rem; }
.lead-body blockquote {
    margin-top: 1.2rem; padding: 1rem 1.3rem;
    border-left: 5px solid var(--yellow); background: #fff;
    border-radius: 0 12px 12px 0;
    font-family: var(--font-heading); font-style: italic; font-weight: 600;
    font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink);
}

.member-role { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: .55rem; line-height: 1.4; }
.member-desc { font-size: clamp(1rem, .3vw + .92rem, 1.08rem); font-weight: 500; line-height: 1.68; color: var(--ink); max-width: 62ch; }

.members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.1rem, 2.2vw, 1.75rem);
}
.member {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(48, 53, 47, .08);
    transition: transform .45s var(--ease), box-shadow .45s ease;
}
.member::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
    background: var(--yellow); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(48, 53, 47, .15); }
.member:hover::after { transform: scaleX(1); }
.member-photo { position: relative; margin: 0; background: var(--sage-cream); }
.member-photo img {
    width: 100%; aspect-ratio: 5 / 5.2; object-fit: cover; object-position: center 20%;
    filter: saturate(.95);
    transition: transform 1s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}
.member:hover .member-photo img { transform: scale(1.05); filter: saturate(1.08); }
.member-icon {
    position: absolute; right: 1.1rem; bottom: -26px;
    display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--sage); color: #fff; font-size: 1.3rem;
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(48, 53, 47, .18);
    transition: background-color .35s ease, color .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.member:hover .member-icon { background: var(--yellow); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.member-body { padding: 1.5rem clamp(1.2rem, 2vw, 1.6rem) 1.6rem; }
.member-body h3 { line-height: 1.2; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.25rem, 1.5vw, 1.45rem); color: var(--ink); margin-bottom: .2rem; padding-right: 3.5rem; }

@media (max-width: 1024px) {
    .members { grid-template-columns: repeat(2, 1fr); }
    .lead-card { grid-template-columns: 1fr; }
    .lead-photo { max-width: 420px; }
}
@media (max-width: 767px) {
    .lead-photo { max-width: 100%; margin-right: 18px; }
    .lead-photo figcaption { left: 12px; }
}
@media (max-width: 599px) {
    .members { grid-template-columns: 1fr; }
    .member-photo img { aspect-ratio: 4 / 3.4; }
}

/* phones: compact member cards — photo beside name, description below */
@media (max-width: 599px) {
    .member { display: grid; grid-template-columns: 110px 1fr; align-items: start; padding: 1rem; gap: 0 1rem; }
    .member-photo { border-radius: 14px; overflow: hidden; }
    .member-photo img { aspect-ratio: 1 / 1.15; }
    .member-icon { width: 38px; height: 38px; font-size: .95rem; right: 6px; bottom: 6px; border-width: 3px; }
    .member-body { padding: 0; display: contents; }
    .member-body h3 { grid-column: 2; grid-row: 1; padding-right: 0; align-self: end; margin-top: .6rem; }
    .member-body .member-role { grid-column: 2; grid-row: 2; align-self: start; }
    .member-body .member-desc { grid-column: 1 / -1; grid-row: 3; margin-top: .9rem; }
    .member-photo { grid-row: 1 / 3; }
}
