.cv-main { color: var(--paper); }
.cv-main [id] { scroll-margin-top: 110px; }
.cv-main h1, .cv-main h2, .cv-main h3, .cv-main h4, .cv-main p, .cv-main figure { margin: 0; }
.cv-main h1, .cv-main h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
.cv-main h3, .cv-main h4 { font-family: var(--sans); }
.cv-main a { text-underline-offset: 5px; }
.cv-intro { display: grid; grid-template-columns: 1.18fr .82fr; gap: 72px; align-items: center; padding-block: 42px 72px; }
.cv-back { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: .8rem; text-decoration: none; margin-bottom: 37px; }
.cv-back:hover { color: var(--paper); }
.cv-intro .eyebrow { margin-bottom: 21px; }
.cv-intro h1 { font-size: clamp(2.65rem, 4.65vw, 4.3rem); line-height: 1.08; max-width: 700px; }
.cv-intro h1 em { color: var(--pink); font-weight: inherit; }
.cv-lead { font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 540px; margin-top: 25px !important; }
.cv-country-line { font-size: .73rem; line-height: 1.8; letter-spacing: .025em; color: var(--gold); margin-top: 23px !important; }
.cv-country-line span { margin-inline: 5px; opacity: .65; }
.cv-jump-links { display: flex; flex-wrap: wrap; gap: 11px 21px; margin-top: 31px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.cv-jump-links a { color: var(--paper); text-decoration: none; font-size: .75rem; line-height: 1.6; }
.cv-jump-links span { color: var(--pink); padding-left: 6px; }
.cv-jump-links a:hover { color: var(--pink); }
.cv-portrait { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 4px 4px 23px 4px; background: var(--surface); }
.cv-portrait img { display: block; width: 100%; height: auto; }
.cv-portrait figcaption { padding: 20px 23px 22px; display: flex; flex-direction: column; gap: 6px; }
.cv-portrait figcaption span:first-child { font-size: .86rem; font-weight: 600; }
.cv-portrait figcaption span:last-child { color: var(--muted); font-size: .73rem; }
.cv-section { padding-block: 66px; }
.cv-foundation { background: var(--surface); border-block: 1px solid rgba(255,255,255,.07); }
.cv-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.cv-section-heading .eyebrow { margin-bottom: 13px; }
.cv-section-heading h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.16; }
.cv-section-heading > p { color: var(--muted); line-height: 1.75; font-size: .89rem; max-width: 315px; }
.cv-foundation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cv-credential { display: flex; align-items: flex-start; gap: 21px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: var(--bg); }
.cv-credential-highlight { border-color: rgba(210,43,100,.42); }
.cv-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 66px; width: 66px; height: 66px; padding: 8px; background: #f6f4ef; border-radius: 5px; }
.cv-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cv-place { color: var(--gold); font-size: .65rem; font-weight: 600; line-height: 1.6; letter-spacing: .085em; text-transform: uppercase; }
.cv-credential h3 { font-size: 1.13rem; line-height: 1.4; margin-top: 7px; font-weight: 600; letter-spacing: -.025em; }
.cv-institution { font-size: .86rem; line-height: 1.65; color: var(--paper); margin-top: 8px !important; }
.cv-description { font-size: .83rem; line-height: 1.8; color: var(--muted); margin-top: 15px !important; }
.cv-advanced-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cv-study { padding: 28px 25px 29px; border-top: 1px solid rgba(255,255,255,.2); background: linear-gradient(180deg,rgba(255,255,255,.025),transparent); }
.cv-study-top { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.cv-study .cv-logo { width: 60px; height: 60px; flex-basis: 60px; }
.cv-study h3 { font-size: 1.24rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.45; }
.cv-study .cv-institution { margin-top: 15px !important; }
.cv-affiliation { color: var(--muted); font-size: .77rem; line-height: 1.7; margin-top: 6px !important; }
.cv-recognition { background: var(--surface); border-block: 1px solid rgba(255,255,255,.07); }
.cv-certification { display: flex; gap: 29px; align-items: center; background: var(--bg); border: 1px solid rgba(191,161,95,.32); border-radius: 8px; padding: 31px; }
.cv-logo-large { width: 86px; height: 86px; flex-basis: 86px; padding: 10px; }
.cv-certification h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.5; margin-top: 7px; }
.cv-certification .cv-description { margin-top: 9px !important; }
.cv-membership-title { font-weight: 500; letter-spacing: -.02em; font-size: 1.06rem; padding-top: 32px; padding-bottom: 5px; }
.cv-memberships { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 45px; }
.cv-memberships li { display: flex; align-items: center; gap: 20px; padding-block: 26px; border-bottom: 1px solid rgba(255,255,255,.1); min-width: 0; }
.cv-memberships h4 { font-size: .99rem; line-height: 1.55; font-weight: 500; letter-spacing: -.02em; margin-top: 4px; }
.cv-memberships h4 + p { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.cv-closing { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 72px; }
.cv-closing .eyebrow { margin-bottom: 14px; }
.cv-closing h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.16; }
.cv-closing p:not(.eyebrow) { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-top: 16px; }
.cv-closing-links { display: flex; flex-direction: column; gap: 17px; flex: 0 0 230px; }
.cv-primary-link { display: flex; justify-content: space-between; align-items: center; padding: 17px 22px; border-radius: 5px; background: var(--pink); color: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; }
.cv-primary-link:hover { filter: brightness(1.1); }
.cv-secondary-link { display: flex; justify-content: space-between; padding-inline: 22px; color: var(--paper); font-size: .81rem; text-decoration: none; }
.cv-secondary-link:hover { color: var(--pink); }
.cv-main a:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; border-radius: 3px; }
@media (max-width: 1000px) {
    .cv-intro { gap: 36px; grid-template-columns: 1.1fr .9fr; }
    .cv-intro h1 { font-size: clamp(2.5rem, 5.3vw, 3.8rem); }
    .cv-back { margin-bottom: 28px; }
    .cv-jump-links { column-gap: 16px; }
    .cv-credential { padding: 23px; gap: 17px; }
    .cv-credential .cv-logo { width: 56px; height: 56px; flex-basis: 56px; }
    .cv-advanced-grid { gap: 14px; }
    .cv-study { padding-inline: 18px; }
    .cv-study-top { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cv-memberships { column-gap: 25px; }
}
@media (max-width: 760px) {
    .cv-intro { grid-template-columns: 1fr; padding-block: 28px 44px; gap: 32px; }
    .cv-back { margin-bottom: 27px; }
    .cv-intro .eyebrow { margin-bottom: 16px; }
    .cv-intro h1 { font-size: clamp(2.45rem, 7.2vw, 3.55rem); max-width: 590px; }
    .cv-lead { margin-top: 21px !important; max-width: 590px; font-size: .93rem; }
    .cv-country-line { margin-top: 20px !important; }
    .cv-jump-links { margin-top: 24px; gap: 13px 19px; padding-top: 20px; }
    .cv-portrait { max-width: 460px; width: 100%; }
    .cv-section { padding-block: 44px; }
    .cv-section-heading { display: block; margin-bottom: 26px; }
    .cv-section-heading h2 { font-size: clamp(2rem, 6vw, 2.6rem); }
    .cv-section-heading > p { max-width: 540px; margin-top: 17px; font-size: .86rem; }
    .cv-foundation-grid { grid-template-columns: 1fr; gap: 15px; }
    .cv-credential { padding: 23px; }
    .cv-advanced-grid { grid-template-columns: 1fr; gap: 12px; }
    .cv-study { padding: 24px; }
    .cv-study-top { flex-direction: row; align-items: center; gap: 17px; margin-bottom: 20px; }
    .cv-study h3 { font-size: 1.15rem; }
    .cv-certification { padding: 23px; gap: 20px; align-items: flex-start; }
    .cv-logo-large { width: 65px; height: 65px; flex-basis: 65px; padding: 8px; }
    .cv-certification h3 { font-size: 1.13rem; }
    .cv-memberships { grid-template-columns: 1fr; }
    .cv-memberships li { padding-block: 22px; }
    .cv-closing { display: block; padding-block: 45px; }
    .cv-closing-links { margin-top: 28px; max-width: 330px; }
}
@media (max-width: 420px) {
    .cv-intro h1 { font-size: 2.45rem; }
    .cv-country-line { font-size: .66rem; }
    .cv-country-line span { margin-inline: 3px; }
    .cv-portrait figcaption { padding: 18px; }
    .cv-credential { padding: 20px; gap: 15px; }
    .cv-credential .cv-logo { width: 48px; height: 48px; flex-basis: 48px; padding: 5px; }
    .cv-credential h3 { font-size: 1.04rem; }
    .cv-certification { flex-direction: column; gap: 18px; padding: 21px; }
    .cv-certification h3 { font-size: 1.14rem; }
    .cv-memberships { gap: 0; }
    .cv-memberships li { gap: 16px; }
    .cv-memberships .cv-logo { width: 57px; height: 57px; flex-basis: 57px; padding: 6px; }
    .cv-memberships h4 { font-size: .92rem; }
    .cv-jump-links { flex-direction: column; gap: 12px; }
    .cv-jump-links a { width: fit-content; }
}
