:root {
    --ftd-ink: #1f2732;
    --ftd-subtle: #617181;
    --ftd-line: #d9e1e9;
    --ftd-fog: #eef2f6;
    --ftd-fog-deep: #e1e8ef;
    --ftd-accent: #647282;
    --ftd-accent-deep: #42505f;
    --ftd-card: #ffffff;
    --ftd-shadow: 0 18px 42px rgba(22, 33, 49, 0.08);
    --ftd-shadow-soft: 0 10px 24px rgba(22, 33, 49, 0.06);
}

.ftd-directory {
    color: var(--ftd-ink);
    padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 7vw, 88px);
    background: transparent;
}

.ftd-directory > .ftd-section:first-child {
    margin-top: 0;
}

body.ftd-team-directory-page {
    background: #eef2f6;
}

.ftd-team-directory-page .site,
.ftd-team-directory-page .site-main,
.ftd-team-directory-page .page-content,
.ftd-team-directory-page .content-area,
.ftd-team-directory-page .site-content {
    background: transparent;
}

.ftd-hero,
.ftd-section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.ftd-hero {
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--ftd-line);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(100, 114, 130, 0.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #edf2f6 100%);
    box-shadow: var(--ftd-shadow);
}

.ftd-hero__eyebrow,
.ftd-section__kicker {
    margin: 0 0 10px;
    color: var(--ftd-accent-deep);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ftd-hero__title,
.ftd-section__title {
    margin: 0;
    color: var(--ftd-ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
}

.ftd-hero__title {
    max-width: 15ch;
    font-size: clamp(2.2rem, 4.4vw, 4.25rem);
}

.ftd-hero__intro {
    max-width: 62ch;
    margin: 20px 0 0;
    color: var(--ftd-subtle);
    font-size: 1.02rem;
    line-height: 1.75;
}

.ftd-section {
    margin-top: clamp(40px, 6vw, 72px);
}

.ftd-team-groups {
    display: grid;
    gap: 28px;
}

.ftd-team-group {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ftd-team-group__title {
    margin: 0 0 18px;
    color: var(--ftd-ink);
    font-family: inherit;
    font-size: clamp(1.3rem, 2.3vw, 1.9rem);
    font-weight: 700;
    line-height: 1.15;
}

.ftd-section__header {
    margin-bottom: 24px;
}

.ftd-section__title {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.ftd-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ftd-grid--leadership {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ftd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--ftd-line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--ftd-shadow-soft);
    overflow: hidden;
}

.ftd-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(100, 114, 130, 0) 0%, rgba(100, 114, 130, 0.32) 24%, rgba(100, 114, 130, 0.06) 100%);
}

.ftd-card--leadership {
    background: #ffffff;
}

.ftd-card--priority {
    border-color: rgba(100, 114, 130, 0.22);
    box-shadow: 0 16px 30px rgba(22, 33, 49, 0.08);
}

.ftd-card__media {
    width: 100%;
}

.ftd-card__photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    object-fit: cover;
    border: 1px solid rgba(31, 39, 50, 0.08);
    background: var(--ftd-fog);
    box-shadow: none;
}

.ftd-card__photo--placeholder {
    display: grid;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8edf3 0%, #dbe4ec 100%);
    color: var(--ftd-subtle);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ftd-card__photo--placeholder span {
    padding: 0 18px;
    text-align: center;
}

.ftd-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
}

.ftd-card__name {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.ftd-card__title {
    margin: 0;
    color: var(--ftd-accent-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ftd-card__bio {
    width: 100%;
    color: var(--ftd-subtle);
    font-size: 0.95rem;
    line-height: 1.72;
}

.ftd-card__bio p {
    margin: 0;
}

.ftd-card__bio p + p {
    margin-top: 14px;
}

.ftd-empty-state {
    width: min(720px, calc(100% - 32px));
    margin: 48px auto;
    padding: 28px;
    border: 1px dashed var(--ftd-line);
    border-radius: 24px;
    background: #fbfcfe;
    color: var(--ftd-subtle);
    text-align: center;
}

.ftd-team-directory-page .page-header {
    display: none;
}

.ftd-team-directory-page .entry-title {
    margin: 0;
    color: var(--ftd-ink);
    font-family: inherit;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    text-align: center;
}

@media (max-width: 1024px) {
    .ftd-grid,
    .ftd-grid--leadership {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ftd-hero,
    .ftd-section {
        width: min(100%, calc(100% - 20px));
    }

    .ftd-team-directory-page .page-header {
        width: min(100%, calc(100% - 20px));
    }

    .ftd-grid,
    .ftd-grid--leadership {
        grid-template-columns: 1fr;
    }

    .ftd-card {
        padding: 22px;
        border-radius: 24px;
    }

    .ftd-card__photo {
        width: 100%;
    }
}