.profile-page {
    --profile-ink: #17212b;
    --profile-muted: #53616d;
    --profile-line: #d4dde2;
    --profile-paper: #f5f7f8;
    --profile-blue: #245f9e;
    --profile-teal: #187b74;
    --profile-red: #a9473f;
    --profile-gold: #9a6b16;
    color: var(--profile-ink);
    background: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

.profile-page *,
.profile-page *::before,
.profile-page *::after {
    letter-spacing: 0;
}

.profile-container {
    max-width: 1180px;
}

.profile-hero {
    padding: 4.75rem 0 4rem;
    background: var(--profile-paper);
    border-bottom: 1px solid var(--profile-line);
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
    gap: 4.5rem;
    align-items: center;
}

.profile-eyebrow,
.profile-kicker {
    margin: 0 0 .8rem;
    color: var(--profile-blue);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.profile-hero h1 {
    margin: 0 0 1.1rem;
    color: var(--profile-ink);
    font-size: clamp(2.65rem, 4vw, 3.65rem);
    font-weight: 760;
    line-height: 1.04;
}

.profile-lede {
    max-width: 820px;
    margin: 0 0 1.15rem;
    color: var(--profile-ink);
    font-size: 1.7rem;
    font-weight: 580;
    line-height: 1.25;
}

.profile-intro {
    max-width: 790px;
    margin: 0;
    color: var(--profile-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1.8rem 0 1.25rem;
}

.profile-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .7rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.2;
}

.profile-btn-primary {
    color: #ffffff;
    background: var(--profile-blue);
    border-color: var(--profile-blue);
}

.profile-btn-primary:hover,
.profile-btn-primary:focus {
    color: #ffffff;
    background: #194f88;
    border-color: #194f88;
}

.profile-btn-secondary {
    color: var(--profile-ink);
    background: #ffffff;
    border-color: #aebbc3;
}

.profile-btn-secondary:hover,
.profile-btn-secondary:focus {
    color: var(--profile-blue);
    background: #ffffff;
    border-color: var(--profile-blue);
}

.profile-availability {
    margin: 0;
    color: var(--profile-muted);
    font-size: .95rem;
}

.profile-availability span {
    margin-right: .35rem;
    color: var(--profile-teal);
    font-weight: 800;
    text-transform: uppercase;
}

.profile-portrait {
    width: min(100%, 320px);
    margin: 0 auto;
}

.profile-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border: 1px solid #bcc7cd;
    border-radius: 6px;
    filter: saturate(.85) contrast(1.03);
}

.profile-portrait figcaption {
    display: grid;
    gap: .2rem;
    padding-top: .8rem;
    color: var(--profile-muted);
    font-size: .85rem;
    line-height: 1.4;
}

.profile-portrait figcaption strong {
    color: var(--profile-ink);
}

.profile-metrics {
    color: #ffffff;
    background: var(--profile-ink);
}

.profile-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-metric {
    min-height: 146px;
    padding: 2.1rem 1.5rem 1.8rem;
    border-top: 4px solid var(--profile-blue);
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.profile-metric:nth-child(2) {
    border-top-color: var(--profile-teal);
}

.profile-metric:nth-child(3) {
    border-top-color: #c05a50;
}

.profile-metric:nth-child(4) {
    border-top-color: #c49238;
    border-right: 0;
}

.profile-metric strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 2rem;
    line-height: 1;
}

.profile-metric span {
    display: block;
    max-width: 190px;
    color: #c8d1d8;
    font-size: .92rem;
    line-height: 1.4;
}

.profile-section {
    padding: 5.5rem 0;
}

.profile-section-heading {
    max-width: 860px;
    margin-bottom: 3rem;
}

.profile-section-heading-compact {
    margin-bottom: 2.4rem;
}

.profile-section-heading h2,
.profile-align-heading h2,
.profile-contact h2 {
    margin: 0 0 1rem;
    color: var(--profile-ink);
    font-size: 2.2rem;
    font-weight: 740;
    line-height: 1.15;
}

.profile-section-heading p:last-child,
.profile-align-heading > p:last-child {
    margin: 0;
    color: var(--profile-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.profile-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--profile-line);
    border-bottom: 1px solid var(--profile-line);
}

.profile-value-grid article {
    padding: 2rem 2rem 2.2rem 0;
}

.profile-value-grid article + article {
    padding-left: 2rem;
    border-left: 1px solid var(--profile-line);
}

.profile-value-grid i {
    color: var(--profile-teal);
    font-size: 1.55rem;
}

.profile-value-grid h3,
.profile-impact-card h3,
.profile-proof-card h3,
.profile-fit-grid h3,
.profile-align-detail h3 {
    margin: .8rem 0 .6rem;
    color: var(--profile-ink);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.3;
}

.profile-value-grid p,
.profile-impact-card p,
.profile-proof-card p,
.profile-fit-grid p {
    margin: 0;
    color: var(--profile-muted);
    line-height: 1.6;
}

.profile-impact-section {
    background: #eef3f3;
    border-top: 1px solid #dce5e5;
    border-bottom: 1px solid #dce5e5;
}

.profile-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.profile-impact-card {
    min-height: 218px;
    padding: 1.6rem;
    background: #ffffff;
    border: 1px solid #ccd8dc;
    border-top: 4px solid var(--profile-blue);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(23, 33, 43, .06);
}

.profile-impact-card:nth-child(2) {
    border-top-color: var(--profile-teal);
}

.profile-impact-card:nth-child(3) {
    border-top-color: var(--profile-red);
}

.profile-impact-card:nth-child(4) {
    border-top-color: var(--profile-gold);
}

.profile-impact-card > strong {
    display: block;
    color: var(--profile-ink);
    font-size: 2rem;
    line-height: 1;
}

.profile-impact-card > strong span {
    color: var(--profile-muted);
    font-size: 1rem;
}

.profile-evidence-note {
    margin: 1.25rem 0 0;
    color: #69767f;
    font-size: .82rem;
    line-height: 1.5;
}

.profile-timeline {
    border-bottom: 1px solid var(--profile-line);
}

.profile-timeline-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--profile-line);
}

.profile-timeline-date {
    color: var(--profile-blue);
    font-size: .9rem;
    font-weight: 800;
}

.profile-timeline-row h3 {
    margin: 0 0 .65rem;
    color: var(--profile-ink);
    font-size: 1.12rem;
    font-weight: 800;
}

.profile-timeline-row h3 span {
    color: var(--profile-muted);
    font-weight: 600;
}

.profile-timeline-row p {
    max-width: 890px;
    margin: 0;
    color: var(--profile-muted);
    line-height: 1.65;
}

.profile-align {
    padding: 5.5rem 0;
    color: #eef3f5;
    background: #1b2528;
}

.profile-align .profile-kicker {
    color: #62c2b7;
}

.profile-align-heading {
    max-width: 900px;
}

.profile-align-heading h2 {
    color: #ffffff;
    font-size: 3.2rem;
}

.profile-align-heading > p:last-child {
    color: #c8d2d5;
}

.profile-align-scale {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 3rem 0;
    border-top: 1px solid #455258;
    border-bottom: 1px solid #455258;
}

.profile-align-scale div {
    min-height: 132px;
    padding: 1.6rem 1.4rem 1.6rem 0;
}

.profile-align-scale div + div {
    padding-left: 1.4rem;
    border-left: 1px solid #455258;
}

.profile-align-scale strong,
.profile-align-scale span {
    display: block;
}

.profile-align-scale strong {
    margin-bottom: .45rem;
    color: #ffffff;
    font-size: 1.55rem;
}

.profile-align-scale span {
    color: #aebdc1;
    font-size: .9rem;
    line-height: 1.45;
}

.profile-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0 0 3rem;
    border: 1px solid #455258;
    border-radius: 6px;
    overflow: hidden;
}

.profile-flow div {
    position: relative;
    display: grid;
    min-height: 104px;
    place-content: center;
    gap: .55rem;
    text-align: center;
}

.profile-flow div + div {
    border-left: 1px solid #455258;
}

.profile-flow div:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -7px;
    width: 13px;
    height: 13px;
    content: "";
    transform: translateY(-50%) rotate(45deg);
    background: #1b2528;
    border-top: 1px solid #455258;
    border-right: 1px solid #455258;
}

.profile-flow i {
    color: #62c2b7;
    font-size: 1.35rem;
}

.profile-flow span {
    font-size: .88rem;
    font-weight: 750;
}

.profile-align-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
}

.profile-align-detail h3 {
    color: #ffffff;
}

.profile-align-detail p {
    margin: 0;
    color: #b8c5c9;
    line-height: 1.7;
}

.profile-align-proof {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #455258;
}

.profile-align-proof p {
    max-width: 730px;
    margin: 0;
    color: #c8d2d5;
    line-height: 1.6;
}

.profile-align-proof a,
.profile-proof-card a,
.profile-text-link {
    color: #2d6ca9;
    font-weight: 750;
    text-decoration: none;
}

.profile-align-proof a {
    flex: 0 0 auto;
    color: #75d5ca;
}

.profile-align-proof a:hover,
.profile-align-proof a:focus,
.profile-proof-card a:hover,
.profile-proof-card a:focus,
.profile-text-link:hover,
.profile-text-link:focus {
    text-decoration: underline;
}

.profile-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.profile-proof-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1.1rem;
    min-height: 260px;
    padding: 1.8rem;
    border: 1px solid var(--profile-line);
    border-radius: 6px;
}

.profile-proof-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    color: #ffffff;
    background: var(--profile-ink);
    border-radius: 6px;
    font-size: 1.25rem;
}

.profile-proof-label {
    color: var(--profile-teal) !important;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-proof-card h3 {
    margin-top: .35rem;
    font-size: 1.22rem;
}

.profile-proof-card a {
    display: inline-block;
    margin-top: 1.15rem;
}

.profile-fit-section {
    background: #f3f5f4;
    border-top: 1px solid #e0e5e2;
}

.profile-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.profile-fit-grid article {
    min-height: 230px;
    padding: 1.8rem;
    background: #ffffff;
    border: 1px solid #d7dedb;
    border-radius: 6px;
}

.profile-fit-grid article > span {
    color: var(--profile-red);
    font-size: .85rem;
    font-weight: 850;
}

.profile-contact {
    padding: 4.5rem 0;
    background: #e8eff0;
    border-top: 1px solid #cedbdd;
}

.profile-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
    gap: 3rem;
    align-items: center;
}

.profile-contact h2 {
    max-width: 770px;
    margin-bottom: 0;
}

.profile-contact-actions {
    display: grid;
    justify-items: start;
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .profile-hero-grid {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 2.5rem;
    }

    .profile-hero h1 {
        font-size: 3.4rem;
    }

    .profile-lede {
        font-size: 1.4rem;
    }

    .profile-impact-grid,
    .profile-align-scale {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-proof-grid {
        grid-template-columns: 1fr;
    }

    .profile-align-scale div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #455258;
    }

    .profile-align-scale div:nth-child(4) {
        border-top: 1px solid #455258;
    }

    .profile-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-flow div:nth-child(4) {
        border-top: 1px solid #455258;
        border-left: 0;
    }

    .profile-flow div:nth-child(5),
    .profile-flow div:nth-child(6) {
        border-top: 1px solid #455258;
    }

    .profile-flow div:nth-child(3)::after,
    .profile-flow div:nth-child(6)::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .profile-hero {
        padding: 3.2rem 0 3rem;
    }

    .profile-hero-grid,
    .profile-contact-grid {
        grid-template-columns: 1fr;
    }

    .profile-portrait {
        width: min(68vw, 240px);
        margin-left: 0;
    }

    .profile-hero h1 {
        font-size: 2.05rem;
    }

    .profile-lede {
        font-size: 1.3rem;
    }

    .profile-actions .profile-btn {
        width: 100%;
    }

    .profile-metrics-grid,
    .profile-value-grid,
    .profile-impact-grid,
    .profile-align-scale,
    .profile-align-detail,
    .profile-proof-grid,
    .profile-fit-grid {
        grid-template-columns: 1fr;
    }

    .profile-metric {
        min-height: 112px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .profile-metric:last-child {
        border-bottom: 0;
    }

    .profile-section,
    .profile-align {
        padding: 4rem 0;
    }

    .profile-section-heading h2,
    .profile-contact h2 {
        font-size: 1.8rem;
    }

    .profile-value-grid article,
    .profile-value-grid article + article {
        padding: 1.6rem 0;
        border-left: 0;
        border-bottom: 1px solid var(--profile-line);
    }

    .profile-value-grid article:last-child {
        border-bottom: 0;
    }

    .profile-impact-card,
    .profile-proof-card,
    .profile-fit-grid article {
        min-height: 0;
    }

    .profile-timeline-row {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .profile-timeline-row h3 span {
        display: block;
        margin-top: .2rem;
    }

    .profile-align-heading h2 {
        font-size: 2.5rem;
    }

    .profile-align-scale div,
    .profile-align-scale div + div,
    .profile-align-scale div:nth-child(3) {
        min-height: 0;
        padding: 1.25rem 0;
        border-top: 1px solid #455258;
        border-left: 0;
    }

    .profile-align-scale div:first-child {
        border-top: 0;
    }

    .profile-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-flow div:nth-child(3),
    .profile-flow div:nth-child(5) {
        border-left: 0;
    }

    .profile-flow div:nth-child(3),
    .profile-flow div:nth-child(4),
    .profile-flow div:nth-child(5),
    .profile-flow div:nth-child(6) {
        border-top: 1px solid #455258;
    }

    .profile-flow div:nth-child(2)::after,
    .profile-flow div:nth-child(4)::after {
        display: none;
    }

    .profile-flow div:nth-child(3)::after {
        display: block;
    }

    .profile-align-proof {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-page * {
        scroll-behavior: auto !important;
    }
}
