/* =====================================================================
   people.css : Meet Our People (index.html) + Our People (about.html)
   Light theme, matching the homepage About section.
   To add a consultant: copy one .person-card block in index.html and one
   .profile block in about.html. The grids reflow on their own.
   ===================================================================== */

/* ---------- Shared ---------- */
.person-photo-frame {
    display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
    border-radius: 50%; border: 5px solid #ffffff; background: #e8f1fd;
    box-shadow: 0 0 0 3px rgba(1, 110, 239, 0.35), 0 12px 32px rgba(1, 110, 239, 0.18);
}
.person-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-role { color: #016EEF; font-weight: 700; font-size: 0.975rem; line-height: 1.4; margin: 0 0 0.5rem; }
.person-location {
    display: inline-flex; align-items: center; gap: 6px;
    color: #64748b; font-size: 0.9rem; font-weight: 500; line-height: 1.4; margin: 0;
}
.person-location svg { width: 15px; height: 15px; flex-shrink: 0; color: #016EEF; }

/* ---------- Homepage: Meet Our People ---------- */
.people-block { margin-top: 6rem; }
.people-block .dd-intro { margin-top: 2.5rem; margin-bottom: 1rem; }
.people-intro {
    max-width: 820px; margin: 0 auto; text-align: center;
    font-size: 1.1rem; line-height: 1.8; color: #475569;
}
.people-grid {
    display: grid; gap: 2.5rem; justify-content: center; margin-top: 3.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
}
.person-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafcfe 100%);
    border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 2.75rem 2rem 2.25rem; text-align: center;
    display: flex; flex-direction: column; align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.person-card:hover {
    transform: translateY(-8px); border-color: rgba(1, 110, 239, 0.3);
    box-shadow: 0 20px 50px rgba(1, 110, 239, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.person-card .person-photo-frame { max-width: 200px; margin-bottom: 1.75rem; }
.person-card h3 { color: #0f172a; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.35rem; }
.person-card .person-location { margin-bottom: 1.25rem; }
.person-summary { color: #475569; font-size: 1rem; line-height: 1.7; margin: 0 0 1.5rem; flex: 1; }
.person-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: #016EEF; font-weight: 700; font-size: 1rem; text-decoration: none; transition: gap 0.2s ease;
}
.person-link svg { width: 18px; height: 18px; }
.person-link:hover { gap: 0.7rem; color: #0156be; }
.people-cta { text-align: center; margin-top: 3.5rem; }

/* ---------- About page: Our People ---------- */
.people-page {
    padding: 7rem 0 6rem; position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 50%, #ffffff 100%);
}
.people-page .section-header { margin-bottom: 3.5rem; }
.people-page .people-intro { margin-top: 1.25rem; }
.profile-list { display: flex; flex-direction: column; gap: 2.5rem; max-width: 1120px; margin: 0 auto; }
.profile {
    display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start;
    background: #ffffff; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 3rem; scroll-margin-top: calc(var(--header-height, 80px) + 1.5rem);
}
.profile-aside { position: sticky; top: calc(var(--header-height, 80px) + 2rem); text-align: center; }
.profile-aside .person-photo-frame { max-width: 220px; margin: 0 auto; }
.profile-head { margin-top: 1.5rem; }
.profile-head h3 { color: #0f172a; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.4rem; }
.profile-aside .btn { width: 100%; margin-top: 1.5rem; }
.profile-expertise { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0 0 1.75rem; }
.profile-expertise li {
    background: rgba(1, 110, 239, 0.08); border: 1px solid rgba(1, 110, 239, 0.2);
    color: #0156be; border-radius: 9999px; padding: 0.45rem 1rem; font-size: 0.875rem; font-weight: 600;
}
.profile-bio p { color: #475569; font-size: 1.0625rem; line-height: 1.8; margin: 0 0 1.15rem; }
.profile-bio p:first-child { color: #1e293b; font-weight: 500; font-size: 1.125rem; }
.profile-quals {
    margin-top: 1.75rem; background: #f0f7ff; border-left: 4px solid #016EEF;
    border-radius: 0 16px 16px 0; padding: 1.5rem 1.75rem;
}
.profile-quals h4 { color: #0f172a; font-size: 1rem; font-weight: 800; margin: 0 0 0.85rem; }
.profile-quals ul { margin: 0; padding-left: 1.15rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.5rem 2rem; }
.profile-quals li { color: #334155; font-size: 0.975rem; line-height: 1.5; }
.profile-quals li::marker { color: #016EEF; }

/* ---------- About page: offices ---------- */
.office-block { max-width: 1120px; margin: 5rem auto 0; }
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.office-card {
    display: flex; gap: 1rem; align-items: flex-start; text-decoration: none;
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); transition: border-color 0.3s ease, transform 0.3s ease;
}
.office-card:hover { border-color: rgba(1, 110, 239, 0.4); transform: translateY(-4px); }
.office-card svg { width: 24px; height: 24px; color: #016EEF; flex-shrink: 0; margin-top: 2px; }
.office-card strong { display: block; color: #0f172a; font-size: 1.05rem; font-weight: 800; margin-bottom: 0.25rem; }
.office-card span { display: block; color: #64748b; font-size: 0.95rem; line-height: 1.6; }
.office-card em { display: block; font-style: normal; color: #016EEF; font-weight: 700; font-size: 0.9rem; margin-top: 0.6rem; }

@media (max-width: 900px) {
    .profile { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .profile-aside { position: static; display: grid; grid-template-columns: 120px 1fr; gap: 0 1.5rem; align-items: center; text-align: left; }
    .profile-aside .person-photo-frame { border-width: 3px; }
    .profile-head { margin-top: 0; }
    .profile-head h3 { font-size: 1.5rem; }
    .profile-aside .btn { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .people-block { margin-top: 4rem; }
    .people-page { padding: 5rem 0 4rem; }
}
@media (max-width: 480px) {
    .profile { padding: 1.5rem; border-radius: 20px; }
    .profile-aside { grid-template-columns: 96px 1fr; gap: 0 1rem; }
    .profile-head h3 { font-size: 1.3rem; }
    .profile-bio p, .profile-bio p:first-child { font-size: 1rem; }
    .person-card { padding: 2.25rem 1.5rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .person-card, .office-card, .person-link { transition: none; }
    .person-card:hover, .office-card:hover { transform: none; }
}
