.cv-document{padding:150px var(--gutter) 90px;max-width:1600px;margin:auto}
.cv-opening{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7vw;padding-block:20px 90px}
.cv-opening .case-back{margin-bottom:36px}
.cv-opening h1{font-size:clamp(64px,9vw,144px);line-height:.95;letter-spacing:-.065em}
.cv-profession{font-size:clamp(24px,2.5vw,36px);margin-top:28px}
.cv-summary{align-self:end}
.cv-summary>p:first-child{font-size:clamp(24px,2.5vw,36px);line-height:1.3;letter-spacing:-.03em}
.cv-actions{display:flex;flex-wrap:wrap;gap:16px 32px;margin-top:34px;align-items:center}
.cv-actions>a,.cv-actions>button{min-height:44px;display:inline-flex;align-items:center;font-size:16px}
.cv-actions>button{background:transparent;padding:0;border-bottom:1px solid currentColor}
.cv-location{color:var(--muted);margin-top:24px;font-size:16px}
.cv-section{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:7vw;padding-block:48px 64px}
.cv-section h2{font-size:clamp(32px,4vw,58px);line-height:1.05;letter-spacing:-.045em}
.cv-practice{list-style:none;margin:0;padding:0;font-size:clamp(22px,2vw,30px);line-height:1.6}
.cv-role{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:32px;margin-bottom:44px;break-inside:avoid}
.cv-role h3{font-size:24px;line-height:1.2;font-weight:400}
.cv-role .career-role{font-size:19px;line-height:1.35;margin-bottom:12px}
.cv-role p:not(.career-role){font-size:16px;line-height:1.55;color:var(--muted)}
.cv-selected{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.cv-selected>a{font-size:24px;line-height:1.2;min-height:44px}
.cv-selected span{display:block;font-size:15px;line-height:1.45;color:var(--muted);margin-top:10px}
.cv-recognition p{font-size:18px;line-height:1.55;margin-bottom:20px;max-width:38em;break-inside:avoid}
@media(max-width:800px){.cv-opening,.cv-section{grid-template-columns:1fr;gap:36px}.cv-role{grid-template-columns:1fr;gap:14px}.cv-opening{padding-bottom:40px}.cv-document{padding-top:130px}.cv-section{padding-block:32px}.cv-selected{grid-template-columns:1fr}}
@media print{
 @page{size:A4;margin:16mm}
 html,body{--paper:#fff!important;--ink:#15181e!important;--muted:#4e5157!important;--surface:#f5f6f8!important;background:#fff!important;color:#15181e!important;color-scheme:light}
 body header,body footer,body dialog,.skip-link,.cv-actions button,.page-field,.spatial-cursor,.page-wave,.portfolio-loader,.page-shutter{display:none!important}
 .cv-document{padding:0;max-width:none}.cv-opening{padding:0 0 12mm;gap:10mm;grid-template-columns:1fr 1fr}.cv-opening h1{font-size:44pt}.cv-profession{font-size:17pt;margin-top:5mm}.cv-summary>p:first-child{font-size:12pt}.cv-opening .case-back{display:none}.cv-actions{margin-top:5mm}.cv-actions>a{font-size:10pt}.cv-location{font-size:10pt;margin-top:3mm}
 .cv-section{padding:7mm 0;gap:10mm;grid-template-columns:1fr 2fr}.cv-section h2{font-size:20pt;break-after:avoid}.cv-practice{font-size:12pt}.cv-role{display:block;margin-bottom:6mm}.cv-role h3{font-size:13pt;margin-bottom:2mm}.cv-role .career-role{font-size:11pt;margin-bottom:2mm}.cv-role p:not(.career-role),.cv-recognition p{font-size:10pt;line-height:1.4;color:#32353b}.cv-selected>a{font-size:13pt;min-height:0;break-inside:avoid}.cv-selected span{font-size:10pt}.cv-selected{gap:6mm;grid-template-columns:repeat(2,minmax(0,1fr))}.cv-recognition p{margin-bottom:4mm}
 .tm-line,.text-mask,.letter-mask{overflow:visible!important}.tm-line>span,.text-mask>span,.letter-mask>span{transform:none!important;opacity:1!important}
}

/* Compact complete A4 document without changing the screen layout. */
@media print{.cv-opening{padding-bottom:8mm}.cv-section{padding:4mm 0}.cv-practice{font-size:11pt;line-height:1.45}.cv-role{margin-bottom:4mm}.cv-role h3{margin-bottom:1.5mm}.cv-role .career-role{margin-bottom:1.5mm}.cv-recognition p{margin-bottom:3mm}.cv-selected{gap:4mm}.cv-section h2{font-size:18pt}}
