/* ========================================================================= */
/* Team Profile Layout                                                       */
/* Shared styles for /team pages so every profile looks identical            */
/* ========================================================================= */

.profile-main {
    width: 100%;
    padding: clamp(96px, 8vw, 140px) clamp(20px, 6vw, 120px) 120px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: stretch;
}

.profile-hero-text .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    color: var(--primary-60);
    margin-bottom: 16px;
}
.dark .profile-hero-text .eyebrow { color: var(--secondary-40); }

.profile-hero-text h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 16px;
}

.profile-hero-text .role {
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-40);
    margin-bottom: 20px;
}
.dark .profile-hero-text .role { color: var(--secondary-60); }

.profile-hero-text .lead {
    font-size: 18px;
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--text-60);
}
.dark .profile-hero-text .lead { color: var(--secondary-40); }

.profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-primary,
.btn-outline {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary { background: var(--gold); color: var(--text-100); }
.btn-outline {
    border: 1px solid var(--text-40);
    color: var(--text-color);
}
.dark .btn-outline { border-color: var(--secondary-40); }
.btn-primary:hover,
.btn-outline:hover { transform: translateY(-2px); opacity: 1; }

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    font-size: 14px;
    color: var(--text-60);
}
.dark .profile-meta { color: var(--secondary-40); }

.profile-hero-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dark .profile-hero-card {
    background: rgba(13, 12, 11, 0.65);
    border-color: rgba(255, 255, 255, 0.15);
}

.profile-photo {
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    aspect-ratio: 3 / 4;
}

.profile-hero-card .caption {
    font-size: 16px;
    color: var(--text-60);
}
.dark .profile-hero-card .caption { color: var(--secondary-40); }

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
}
.dark .stat-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(13, 12, 11, 0.5);
}
.stat-card .value {
    font-size: 32px;
    font-weight: 600;
    font-family: var(--font-serif);
    margin-bottom: 8px;
}
.stat-card .label {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-40);
}
.dark .stat-card .label { color: var(--secondary-40); }

.profile-section {
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: clamp(28px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.55);
}
.dark .profile-section {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(13, 12, 11, 0.55);
}

.profile-section + .profile-section { margin-top: -8px; }

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 13px;
    color: var(--primary-60);
    margin-bottom: 12px;
}
.dark .section-label { color: var(--secondary-40); }

.profile-section h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-family: var(--font-serif);
    margin-bottom: 24px;
}

.two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.profile-list li {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}
.profile-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--gold);
    position: absolute;
    left: 0;
    top: 12px;
}

.profile-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.profile-pill {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.dark .profile-pill { border-color: rgba(255, 255, 255, 0.2); }

.profile-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.profile-case {
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dark .profile-case {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(13, 12, 11, 0.65);
}
.profile-case h3 {
    font-family: var(--font-serif);
    font-size: 20px;
}
.profile-case p {
    font-size: 15px;
    color: var(--text-60);
}
.dark .profile-case p { color: var(--secondary-40); }
.profile-case .tag {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-40);
}
.dark .profile-case .tag { color: var(--secondary-40); }

.profile-note {
    font-size: 14px;
    color: var(--text-40);
    margin-top: 16px;
}
.dark .profile-note { color: var(--secondary-40); }

.profile-quote {
    font-size: 20px;
    line-height: 1.6;
    font-family: var(--font-serif);
}

@media (max-width: 900px) {
    .profile-main { padding-top: 120px; }
    .profile-hero {
        grid-template-columns: 1fr;
    }
    .profile-hero-card {
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .profile-contact {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}
