:root {
    --header-image: url('../img/home_header_image.jpg');
}

header {
    background-image: var(--header-image);
    background-size: cover;
    background-position: center;
    height: 12.5rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--standard-padding);
}

.header-content {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0.3125rem var(--standard-padding);
    display: inline-block;
    color: var(--primary-color);
}

.subtitle {
    font-size: var(--text-xs);
    line-height: var(--text-xs--line-height);
    font-weight: bold;
    margin-bottom: 0.625rem;
}

.header-line {
    border: none;
    height: 0.125rem;
    background-color: var(--primary-color);
    width: 60%;
    margin: 0 auto 0.625rem;
}

.portfolio-intro h3 {
    border-bottom: 0.125rem solid var(--accent-color);
    padding-bottom: 0.3125rem;
    min-width: 40%;
    display: inline-block;
}

.portfolio-intro p:first-of-type {
    font-style: italic;
}

.vision-section {
    background-color: var(--background-blue-light);
    padding: 0 var(--standard-padding);
}

.snapshot-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin-top: 1rem;
    background-color: var(--background-gray-light);
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
}

.snapshot-text {
    padding: var(--standard-padding);
}

.snapshot-text ul {
    list-style: none;
    padding-left: 0;
}

.snapshot-text li {
    padding-left: 0;
}

.snapshot-image {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 0;
    max-width: 100%;
    text-align: center;
}

.snapshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.key-differentiators-section {
    text-align: left;
}

.key-differentiators-section h2 {
    text-align: center;
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
}

.key-differentiators-section .subtitle-2 {
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
    color: var(--primary-color);
}

.differentiators-diagram-container {
    text-align: center;
    position: relative;
    max-width: 18.75rem;
    margin: 1rem auto;
}

.differentiators-diagram {
    width: 100%;
    max-width: 18.75rem;
    height: auto;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--standard-padding);
    margin-bottom: var(--section-margin);
}

.differentiator-card {
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
}

.differentiator-card h3 {
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.625rem;
    color: var(--background-white);
    padding: 0.625rem;
}

.differentiator-card p {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.differentiator-card.card-1 h3 {
    background-color: var(--differentiator-title-bg-1);
}

.differentiator-card.card-2 h3 {
    background-color: var(--differentiator-title-bg-2);
}

.differentiator-card.card-3 h3 {
    background-color: var(--differentiator-title-bg-3);
}

.differentiator-card.card-4 h3 {
    background-color: var(--differentiator-title-bg-4);
}

.quote-section {
    background-color: var(--background-gray-light);
    padding: var(--standard-padding);
    text-align: center;
    margin-top: var(--section-margin);
}

.quote-section p {
    margin: 0.3125rem 0;
    font-size: var(--text-base);
    line-height: var(--text-base--line-height);
}

.diagram-text {
    position: absolute;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: clamp(0.6rem, 2vw, var(--text-sm));
    line-height: 1.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text-empowering {
    top: 18%;
    left: 50%;
}

.text-strategic {
    top: 50%;
    left: 78%;
}

.text-digital {
    top: 82%;
    left: 50%;
}

.text-insights {
    top: 50%;
    left: 22%;
}

@media (width >= 40rem) {
    .subtitle {
        font-size: var(--text-xs);
        line-height: var(--text-xs--line-height);
    }

    .snapshot-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }

    .snapshot-text {
        padding: 0 var(--standard-padding);
    }

    .snapshot-image {
        margin-top: 0;
        max-width: 30%;
    }

    .key-differentiators-section h2 {
        font-size: var(--text-2xl);
        line-height: var(--text-2xl--line-height);
    }

    .key-differentiators-section .subtitle-2 {
        font-size: var(--text-sm);
        line-height: var(--text-sm--line-height);
    }

    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}