.cv-page .page-hero {
    position: relative;
    padding: 140px 0 72px;
    overflow: hidden;
}

.cv-page .hero-background-subtle {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(97, 199, 202, 0.12) 0%, rgba(248, 250, 251, 0.9) 55%, #fff 100%);
    z-index: -1;
}

.cv-page .cv-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(2, 104, 153, 0.08);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.cv-page .page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.cv-profile {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.cv-portrait {
    margin: 0;
    width: 320px;
    height: 440px;
    border-radius: 22px;
    overflow: hidden;
    background: #12315c;
    box-shadow: 0 18px 40px rgba(2, 104, 153, 0.18);
}

.cv-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 18%;
}

.cv-profile-copy {
    text-align: left;
}

.cv-page .page-subtitle {
    max-width: 640px;
    margin: 0 0 22px;
    color: var(--text-gray);
    font-size: 18px;
}

.cv-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    margin-bottom: 28px;
    color: var(--text-gray);
    font-size: 15px;
}

.cv-meta a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.cv-meta a:hover {
    text-decoration: underline;
}

.cv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.cv-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 28px;
    border-radius: 50px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: #fff;
    font-weight: 600;
    text-decoration: none;
}

.cv-btn-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

.cv-section {
    padding: 72px 0;
}

.cv-section--alt {
    background: var(--bg-light);
}

.cv-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 36px);
    color: var(--secondary-color);
    margin-bottom: 12px;
    scroll-margin-top: 110px;
}

.cv-lead {
    max-width: 760px;
    margin-bottom: 28px;
    color: var(--text-gray);
}

.cv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cv-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
}

.cv-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.cv-card p,
.cv-note {
    color: var(--text-gray);
    margin: 0;
}

.cv-note--spaced {
    margin-top: 18px;
}

.cv-card-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.cv-practice {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.cv-highlight {
    background: #fff;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
}

.cv-highlight h3 {
    margin-bottom: 8px;
    color: var(--secondary-color);
}

@media (max-width: 800px) {
    .cv-page .page-hero {
        padding: 100px 0 32px;
    }

    .cv-profile {
        grid-template-columns: 1fr;
        gap: 22px;
        justify-items: center;
    }

    .cv-portrait {
        width: min(68vw, 240px);
        height: 320px;
        margin: 0 auto;
        border-radius: 18px;
    }

    .cv-profile-copy {
        width: 100%;
        text-align: center;
    }

    .cv-page .page-title {
        font-size: 32px;
    }

    .cv-page .page-subtitle {
        margin-right: auto;
        margin-left: auto;
        font-size: 16px;
    }

    .cv-meta {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-bottom: 22px;
    }

    .cv-meta a,
    .cv-meta span {
        overflow-wrap: anywhere;
    }

    .cv-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cv-hero-actions .btn-primary,
    .cv-hero-actions .cv-btn-secondary {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }

    .cv-section {
        padding: 40px 0;
    }

    .cv-section h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .cv-lead {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .cv-grid,
    .cv-practice {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cv-card,
    .cv-highlight {
        padding: 18px 16px;
    }

    .cv-card h3 {
        font-size: 17px;
        line-height: 1.35;
    }
}
