/* Profile card shared with its pointer-driven spring in js/about-card.js. */
.about-card-stage {
    --about-card-scale: .9;
    width: calc(100% * var(--about-card-scale));
    max-width: 334px;
    zoom: var(--about-card-scale);
    justify-self: center;
    touch-action: pan-y;
}
.about-photo-card {
    width: 100%;
    display: block;
    justify-self: center;
    padding: 9px;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 65px #1c1c2920;
    transform: rotate(-6deg);
    transition: box-shadow .3s ease;
    touch-action: pan-y;
}
.about-photo-card.is-interacting, .about-photo-card:focus-within {
    box-shadow: 0 24px 50px #1c1c2928;
}
.about-card-photo { --photo-inset: 2.5%; width: 100%; aspect-ratio: 4 / 5; position: relative; }
.about-card-photo > img {
    position: absolute;
    inset: var(--photo-inset);
    width: calc(100% - 2 * var(--photo-inset));
    height: calc(100% - 2 * var(--photo-inset));
    border-radius: 26px;
    background: #a9a9a6;
    object-fit: cover;
    object-position: center;
}
.about-card-name { position: absolute; top: calc(14px + var(--photo-inset)); inset-inline: 12px; color: white; text-align: center; font-size: 22px; letter-spacing: -.04em; text-shadow: 0 1px 10px #0003; }
.about-card-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-block: 7px;
    padding-inline: clamp(1px, calc((100% - 236px) / 3), 14px);
}
.about-card-status {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    height: 28px;
    color: #2a9f47;
}
.about-card-status::before, .about-card-status::after {
    content: "";
    grid-area: 1 / 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}
.about-card-status::before {
    animation: about-card-status-pulse 1.7s cubic-bezier(.12, .23, .5, 1) infinite;
}
@keyframes about-card-status-pulse {
    0% { transform: scale(1); opacity: 1; }
    41.176%, 100% { transform: scale(3); opacity: 0; }
}
.about-card-location { font-size: 14px; line-height: 1.4; letter-spacing: -.025em; white-space: nowrap; }
.about-connect {
    display: inline-flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    margin-left: auto;
    padding: 8px 9px;
    border-radius: 13px;
    color: #fff;
    font-size: 11px;
    line-height: 1.6;
    white-space: nowrap;
    text-decoration: none;
}
.about-connect::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: #171719;
    box-shadow: 0 4px 10px #0002;
    pointer-events: none;
}
.about-connect-content {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.about-connect::before, .about-connect-content {
    transition: transform .4s cubic-bezier(.22, .8, .35, 1.15);
}
.about-connect:is(:hover, :focus-visible)::before { transform: rotate(-3deg) scale(1.1); }
.about-connect:is(:hover, :focus-visible) .about-connect-content { transform: rotate(-3deg) scale(1.25); }

.about-photo-card, .about-photo-card * { box-sizing: border-box; }
.about-photo-card p { margin: 0; }
.about-connect:focus-visible { outline: 3px solid #7974e9; outline-offset: 5px; }
.about-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 360px) { .about-card-footer { gap: 6px; } }
@media (max-width: 760px) { .about-card-stage { max-width: 300px; } }
@media (761px <= width <= 900px) {
    .about-card-footer { gap: 5px; }
    .about-card-status { flex-basis: 22px; }
    .about-connect { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { .about-photo-card { transition: none; } }
