.expertise-reveal {
    background: var(--night);
    color: var(--white);
    padding-block: clamp(44px, 6vw, 88px);
}
.expertise-stage {
    --expertise-vertical-gap: clamp(24px, 4vw, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas:
        "heading portrait"
        "copy portrait"
        "quote quote";
    align-items: center;
    column-gap: clamp(30px, 7vw, 110px);
}
.expertise-heading { grid-area: heading; align-self: end; }
.expertise-body { grid-area: copy; align-self: start; }
.expertise-heading .eyebrow, .expertise-heading em, .expertise-portrait figcaption, .expertise-quote {
    color: var(--gold);
}
.expertise-heading h2 {
    font-size: clamp(40px, 5.4vw, 80px);
    line-height: 1.05;
    margin: 14px 0 24px;
}
.expertise-heading em, .expertise-quote {
    font-family: Georgia, serif;
    font-style: italic;
}
.expertise-body .text-link { margin-top: 14px; }
.expertise-portrait { grid-area: portrait; margin: 0; text-align: center; }
.expertise-frame {
    position: relative;
    width: min(92%, 49svh);
    margin-inline: auto;
}
.expertise-frame::after {
    content: "";
    position: absolute;
    inset: calc(-1 * clamp(6px, 1vw, 12px));
    border: 1px solid var(--gold);
    opacity: var(--portrait-border, 1);
    transition: opacity .25s ease;
    pointer-events: none;
}
.expertise-mask {
    overflow: hidden;
    clip-path: inset(var(--portrait-y, 0%) var(--portrait-x, 0%));
}
.expertise-mask img {
    transform: scale(var(--portrait-zoom, 1));
    transform-origin: 55% 34%;
}
.expertise-portrait figcaption {
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: .09em;
}
.expertise-quote {
    grid-area: quote;
    margin: var(--expertise-vertical-gap) 0 0;
    border-top: 1px solid #d8bd8050;
    padding-top: 16px;
    text-align: center;
    font-size: clamp(17px, 3vw, 39px);
    line-height: 1.25;
    letter-spacing: -.045em;
}
.expertise-quote p {
    width: fit-content;
    margin-inline: auto;
    padding: 0 .08em .16em;
    clip-path: inset(0 var(--portrait-quote-clip, 0%) 0 0);
    transform: scale(var(--portrait-quote-scale, 1));
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
    @media (prefers-reduced-motion: no-preference) {
        .expertise-glint {
            display: inline-block;
            padding: .045em .06em .17em;
            margin: -.045em -.06em -.17em;
        }
        .expertise-reveal.is-lit .expertise-glint,
        .expertise-reveal.is-lit .expertise-quote p {
            background-image: linear-gradient(105deg, currentColor 34%, #f2ca69 44%, #fff1ac 48%, #fff 51%, #ffe28a 55%, currentColor 65%);
            background-size: 330% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: expertise-glint 1.5s ease-in-out both;
        }
        .expertise-reveal.is-lit em { animation-delay: .16s; }
        .expertise-reveal.is-lit .expertise-quote p { animation-delay: .32s; }
    }
}
@keyframes expertise-glint {
    0% { background-position: 100% 50%; filter: none; }
    45%, 58% { filter: drop-shadow(0 0 .13em #ffd67c66); }
    100% { background-position: 0% 50%; filter: none; }
}
@media (max-width: 700px) {
    .expertise-stage {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "portrait" "copy" "quote";
        row-gap: var(--expertise-vertical-gap);
    }
    .expertise-heading h2 { font-size: clamp(36px, 9vw, 61px); margin-bottom: 0; }
    .expertise-frame { width: min(88%, 36svh, 290px); }
    .expertise-quote { margin-top: 0; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
    .expertise-frame::after { transition: none; }
}

.expertise-session {
    margin-block: clamp(36px, 6vw, 88px) calc(-1 * clamp(44px, 6vw, 88px));
    padding-block: clamp(42px, 7vw, 96px);
    background: #eeebdf;
    color: var(--ink);
}
.expertise-session-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 85px);
}
.expertise-session figure { margin: 0; }
.expertise-session-frame {
    padding: clamp(6px, 1vw, 12px);
    border: 1px solid #9f8043;
}
.expertise-session img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.expertise-session figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.expertise-session h2 { font-size: clamp(32px, 4.5vw, 58px); margin: 12px 0 22px; }
.expertise-session .eyebrow { color: #705925; }
.expertise-session p + p { margin-top: 12px; }
@media (max-width: 700px) {
    .expertise-session-grid { grid-template-columns: 1fr; }
}
