/* =========================================
   Vox Consecrata — Member Profile
   ========================================= */

.vc-profile-page {
    --vc-forest: #203c32;
    --vc-forest-light: #315547;
    --vc-gold: #b49a65;
    --vc-ink: #26342d;
    --vc-muted: #707a72;
    --vc-line: #e5e8e0;
    --vc-paper: #ffffff;
    --vc-background: #f5f5f0;

    background: var(--vc-background);
    padding: clamp(2rem, 6vw, 5rem) 1rem;
    min-height: 70vh;
    color: var(--vc-ink);
}

.vc-profile-page .wrap.narrow {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

.vc-profile-card {
    background: var(--vc-paper);
    border: 1px solid var(--vc-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgb(32 60 50 / 7%);
}

.vc-profile-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(2rem, 6vw, 3.5rem) 1.5rem 2rem;
    background:
        radial-gradient(
            ellipse at top,
            rgb(180 154 101 / 13%),
            transparent 65%
        ),
        #fff;
    border-bottom: 1px solid var(--vc-line);
}

.vc-eyebrow {
    margin: 0 0 1.5rem;
    color: var(--vc-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.vc-profile-photo,
.vc-profile-avatar {
    width: 300px;
    height: 300px;
    border-radius: 20%;
    border: 4px solid #fff;
    outline: 1px solid #d9c9a8;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 26px rgb(32 60 50 / 12%);
}

.vc-profile-photo {
    display: block;
    object-fit: contain;
}

.vc-profile-avatar {
    display: grid;
    place-items: center;
    background: var(--vc-forest);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 3.5rem;
}

.vc-profile-name {
    margin: 0;
    color: var(--vc-forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 5vw, 2.65rem);
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vc-member-music-roles {
    margin: 0.8rem 0 0;
    color: var(--vc-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.vc-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid #e6dbc2;
    border-radius: 999px;
    background: #fbf8f0;
    color: var(--vc-forest);
    font-size: 0.78rem;
    font-weight: 700;
}

.vc-alumni-label {
    margin: 0.8rem 0 0;
    color: var(--vc-forest-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.vc-profile-section {
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.vc-profile-section + .vc-profile-section {
    border-top: 1px solid var(--vc-line);
}

.vc-section-title {
    margin: 0 0 1.75rem;
    color: var(--vc-forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.vc-profile-bio + .vc-profile-bio {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vc-line);
}

.vc-profile-bio h3 {
    margin: 0 0 0.65rem;
    color: var(--vc-forest-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.vc-profile-bio p {
    margin: 0;
    color: #505b53;
    font-size: 0.98rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.vc-contact-section {
    background: #f8f8f4;
}

.vc-contact-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.vc-contact-item {
    display: grid;
    grid-template-columns: minmax(90px, 130px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--vc-line);
}

.vc-contact-item:first-child {
    padding-top: 0;
}

.vc-contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.vc-contact-item dt {
    color: var(--vc-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.vc-contact-item dd {
    margin: 0;
    color: var(--vc-ink);
    font-size: 0.92rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

@media (max-width: 480px) {
    .vc-profile-page {
        padding: 1.25rem 0.75rem;
    }

    .vc-profile-card {
        border-radius: 14px;
    }

    .vc-profile-photo,
    .vc-profile-avatar {
        max-width: 90%;
        height: auto;
    }

    .vc-contact-item {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

.vc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: #203c32;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vc-back-link:hover {
    color: #b49a65;
}

.vc-back-link span {
    font-size: 1.35rem;
    line-height: 1;
}

.vc-back-link:focus-visible {
    outline: 2px solid #b49a65;
    outline-offset: 4px;
    border-radius: 3px;
}
