.resume-body { background: var(--paper); }
.cv-main { width: min(calc(100% - 64px), 1180px); margin: 76px auto 0; }
.cv-hero { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: center; gap: 80px; padding-bottom: 60px; }
.cv-eyebrow { display: flex; align-items:center; gap:10px; font: 12px var(--mono); letter-spacing: .05em; }
.cv-eyebrow > span { width:10px; height:10px; background:var(--blue); border-radius:50%; }
.cv-hero h1 { font: clamp(70px,8vw,112px)/1.15 var(--display); letter-spacing: -.06em; margin: 28px 0 20px; }
.cv-hero h1 > span { display:block; font: 16px var(--mono); letter-spacing:.12em; margin-top:12px; }
.cv-position { font-size:18px; font-weight:800; margin:24px 0 12px; }
.cv-lead { display:inline; background:var(--yellow); box-decoration-break:clone; padding:3px 6px; font-size:24px; font-weight:800; letter-spacing:-.04em; }
.cv-intro { max-width:580px; font-size:15px; line-height:1.9; margin:22px 0; color:#5e5952; word-break:keep-all; }
.cv-contacts { display:flex; flex-wrap:wrap; gap:12px 24px; font:13px var(--mono); }
.cv-contacts a { text-decoration:underline; text-underline-offset:5px; }
.cv-profile { position:relative; background:var(--ink); border:var(--line); border-radius:28px; padding:16px; color:var(--paper); transform:rotate(2deg); box-shadow:8px 8px 0 var(--yellow); }
.cv-photo { background:white; border-radius:16px; overflow:hidden; }
.cv-photo img { display:block; width:100%; height:280px; object-fit:cover; object-position:center center; }
.cv-profile-info { padding:18px 8px 2px; }
.cv-profile-info > span { font:10px var(--mono); color:var(--yellow); letter-spacing:.08em; }
.cv-profile-info p { font-size:13px; line-height:1.7; margin-bottom:5px; }
.cv-stamp { position:absolute; right:-30px; bottom:75px; background:var(--yellow); color:var(--ink); border:var(--line); border-radius:50%; width:100px; height:100px; display:grid; place-content:center; font:700 14px/1.3 var(--mono); transform:rotate(-12deg); }
.cv-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:var(--line); border-radius:24px; background:var(--yellow); padding:30px 12px; }
.cv-facts > div { padding:0 22px; border-right:1px solid #17171744; }
.cv-facts > div:last-child { border:0; }
.cv-facts span,.cv-facts small { display:block; }
.cv-facts span { font:11px var(--mono); margin-bottom:10px; }
.cv-facts strong { font-size:21px; letter-spacing:-.05em; }
.cv-facts small { margin-top:5px; font-size:12px; }
.cv-skills { display:flex; flex-wrap:wrap; gap:8px; padding:26px 0 56px; }
.cv-skills span { font-size:12px; border:1px solid #b3aca1; border-radius:50px; padding:6px 12px; }
.cv-skills span:nth-child(-n+6) { border-color:var(--ink); background:var(--white); }
.cv-layout { display:grid; grid-template-columns:180px minmax(0,1fr); gap:52px; align-items:start; }
.cv-index { position:sticky; top:110px; display:flex; flex-direction:column; gap:4px; padding-top:8px; }
.cv-index a { display:flex; gap:14px; font-size:13px; padding:10px 12px; border-radius:10px; }
.cv-index a span { font:11px var(--mono); color:#777067; align-self:center; }
.cv-index a:hover,.cv-index a.is-active { background:var(--yellow); color:var(--ink); }
.cv-content { min-width:0; }
.cv-section { scroll-margin-top:115px; padding-bottom:70px; }
.cv-section-head { display:flex; align-items:center; gap:14px; border-bottom:2px solid var(--ink); padding-bottom:20px; margin-bottom:26px; }
.cv-number { border:var(--line); border-radius:50%; width:38px; height:38px; display:grid; place-items:center; font:13px var(--mono); flex-shrink:0; background:var(--yellow); }
.cv-section h2 { font-size:28px; margin:0; letter-spacing:-.05em; }
.cv-label { font:10px var(--mono); letter-spacing:.04em; }
.cv-section-head > .cv-label { margin-left:auto; color:#736c64; }
.cv-section h3 { font-size:19px; margin:0 0 8px; line-height:1.6; letter-spacing:-.04em; word-break:keep-all; }
.cv-section p { line-height:1.85; }
.cv-row,.cv-job { display:grid; grid-template-columns:170px minmax(0,1fr); gap:26px; border-bottom:1px solid #cfc7bc; padding:24px 0; }
.cv-row:first-child,.cv-job:first-of-type { padding-top:4px; }
.cv-period { font:12px/1.9 var(--mono); color:#514a42; }
.cv-period span { display:block; font-family:var(--sans); color:#777067; font-size:12px; margin-top:4px; }
.cv-row p { margin:0; font-size:14px; color:#625b53; }
.cv-pill { display:inline-block; margin-top:12px; background:#e3e9ff; color:#223ca8; font-size:11px; border-radius:30px; padding:4px 10px; }
.cv-job { padding:30px 0; }
.cv-role { font-size:13px; color:#655e55; margin:0 0 18px; }
.cv-section ul { margin:0; padding-left:18px; }
.cv-section li { font-size:14px; line-height:1.85; margin-bottom:9px; word-break:keep-all; overflow-wrap:anywhere; }
.cv-meta { font-size:11px; color:#746d64; margin:16px 0 0; }
.cv-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.cv-detail { border:var(--line); border-radius:22px; padding:24px; background:var(--white); }
.cv-detail:first-child { background:var(--yellow); }
.cv-detail h3 { margin-bottom:18px; }
.cv-detail li { font-size:13px; }
.cv-award { display:grid; grid-template-columns:130px minmax(0,1fr); gap:28px; border:var(--line); border-radius:24px; background:var(--yellow); padding:30px; }
.cv-award-badge { width:120px; height:120px; border:2px solid; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; font:38px var(--display); }
.cv-award-badge span { font:12px var(--mono); margin-top:5px; }
.cv-award p { font-size:13px; }
.cv-award .cv-label { margin:0 0 12px; font-size:10px; }
.cv-text-link { font-weight:700; font-size:13px; text-decoration:underline; text-underline-offset:5px; }
.cv-introduction { border:var(--line); border-radius:24px; background:var(--white); padding:32px; }
.cv-introduction p { font-size:14px; line-height:2.05; margin:0 0 28px; word-break:keep-all; overflow-wrap:anywhere; }
.cv-introduction p:last-child { margin-bottom:0; }
.cv-portfolio { display:flex; justify-content:space-between; align-items:center; gap:22px; padding:30px; border:var(--line); border-radius:24px; background:var(--ink); color:var(--white); }
.cv-portfolio small { display:block; font:11px var(--mono); color:var(--yellow); margin-bottom:12px; }
.cv-portfolio strong { display:block; font-size:24px; letter-spacing:-.04em; }
.cv-portfolio > b { display:grid; place-items:center; width:58px; height:58px; flex-shrink:0; border-radius:50%; background:var(--yellow); color:var(--ink); font-size:28px; }
.cv-preferences { margin:0; }
.cv-preferences > div { display:grid; grid-template-columns:140px minmax(0,1fr); gap:20px; padding:20px 0; border-bottom:1px solid #cfc7bc; }
.cv-preferences dt { font-size:13px; color:#746d64; }
.cv-preferences dd { margin:0; font-size:14px; line-height:1.9; word-break:keep-all; }
.cv-preferences small { display:block; margin-top:6px; color:#746d64; font-size:12px; }
.cv-signoff { border-top:2px solid; padding:30px 0 60px; text-align:right; }
.cv-signoff p { font-size:13px; }.cv-signoff strong { font-size:18px; }.cv-signoff small { display:block; font-size:11px; color:#746d64; margin-top:12px; }
.resume-body :is(a,button):focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
@media(max-width:1000px) { .cv-main { width:calc(100% - 48px); }.cv-hero { grid-template-columns:minmax(0,1fr) 240px; gap:40px; }.cv-photo img { height:240px; }.cv-stamp { right:-15px; }.cv-layout { grid-template-columns:140px minmax(0,1fr); gap:26px; }.cv-facts strong { font-size:17px; }.cv-row,.cv-job { grid-template-columns:1fr; gap:10px; }.cv-period span { display:inline; margin-left:12px; }.cv-detail-grid { grid-template-columns:1fr; } }
@media(max-width:700px) { .cv-main { width:calc(100% - 40px); margin-top:42px; }.cv-hero { grid-template-columns:1fr; gap:32px; padding-bottom:40px; }.cv-hero h1 { font-size:76px; }.cv-profile { width:230px; justify-self:center; }.cv-photo img { height:230px; }.cv-position { font-size:16px; }.cv-lead { font-size:21px; }.cv-facts { grid-template-columns:1fr 1fr; gap:24px 0; padding:24px 0; border-radius:20px; }.cv-facts > div { padding:0 14px; }.cv-facts > div:nth-child(2) { border:0; }.cv-facts strong { font-size:17px; }.cv-facts span { font-size:10px; }.cv-layout { display:block; }.cv-index { position:static; flex-direction:row; overflow-x:auto; margin-bottom:32px; padding:0 0 10px; }.cv-index a { white-space:nowrap; background:#e9e3d9; flex-shrink:0; }.cv-index a span { display:none; }.cv-skills { padding-bottom:28px; }.cv-section { padding-bottom:46px; }.cv-section h2 { font-size:25px; }.cv-section-head { gap:10px; }.cv-section-head > .cv-label { font-size:8px; }.cv-number { width:32px; height:32px; }.cv-award { grid-template-columns:1fr; padding:24px; gap:24px; }.cv-award-badge { width:90px; height:90px; font-size:30px; }.cv-introduction { padding:24px; }.cv-portfolio { padding:22px; }.cv-portfolio strong { font-size:19px; }.cv-preferences > div { grid-template-columns:85px minmax(0,1fr); gap:12px; } }
@media print { .site-header,.cv-index,.skip-link { display:none!important; }.cv-main { width:100%; margin:0; }.cv-hero { grid-template-columns:1fr 200px; gap:30px; }.cv-layout { display:block; }.cv-section { padding-bottom:24px; }.cv-row,.cv-job,.cv-detail { break-inside:avoid; }.cv-profile { transform:none; box-shadow:none; }.cv-stamp { display:none; } }@media (min-width:701px) and (max-width:1000px) { .cv-profile { margin-right: 20px; } .cv-stamp { right: -8px; } }

.cv-download { display:inline-flex; align-items:center; gap:28px; margin:0 0 24px; padding:13px 20px; border:var(--line); border-radius:99px; background:var(--yellow); font-size:14px; font-weight:700; box-shadow:3px 3px 0 var(--ink); }
.cv-download:hover { transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
@media print {
  @page { size:A4; margin:14mm; }
  * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .cv-download,.site-footer { display:none !important; }
  .cv-main { width:100%; margin:0; }
  .cv-hero { grid-template-columns:minmax(0,1fr) 170px; gap:24px; padding-bottom:26px; }
  .cv-hero h1 { font-size:62px; margin:16px 0; }
  .cv-hero h1 > span { font-size:12px; }
  .cv-position { font-size:14px; margin:16px 0 10px; }
  .cv-lead { font-size:18px; }
  .cv-intro { font-size:11px; margin:15px 0; }
  .cv-contacts { font-size:10px; gap:10px; }
  .cv-profile { width:auto; margin:0; border-radius:18px; padding:10px; }
  .cv-photo img { height:170px; }
  .cv-profile-info { padding:10px 3px 0; }
  .cv-profile-info p { font-size:10px; }
  .cv-eyebrow { font-size:9px; }
  .cv-facts { grid-template-columns:repeat(4,minmax(0,1fr)); padding:18px 0; gap:0; border-radius:16px; }
  .cv-facts > div { padding:0 10px; }
  .cv-facts strong { font-size:13px; }
  .cv-facts span,.cv-facts small { font-size:9px; }
  .cv-skills { padding:18px 0 24px; gap:6px; }
  .cv-skills span { font-size:9px; padding:4px 8px; }
  .cv-section { padding-bottom:22px; }
  .cv-section-head { padding-bottom:10px; margin-bottom:14px; break-after:avoid; }
  .cv-section h2 { font-size:22px; }
  .cv-section h3 { font-size:14px; }
  .cv-number { width:28px; height:28px; font-size:10px; }
  .cv-row,.cv-job { grid-template-columns:125px minmax(0,1fr); gap:18px; padding:16px 0; }
  .cv-period { font-size:10px; }
  .cv-row p,.cv-section li,.cv-role { font-size:11px; line-height:1.7; }
  .cv-detail-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .cv-detail { padding:18px; }
  .cv-detail li { font-size:10px; }
  .cv-award { padding:20px; grid-template-columns:100px minmax(0,1fr); break-inside:avoid; }
  .cv-award-badge { width:90px; height:90px; font-size:28px; }
  .cv-award p { font-size:11px; }
  .cv-introduction { padding:22px; }
  .cv-introduction p { font-size:11px; line-height:1.85; margin-bottom:18px; }
  .cv-portfolio { padding:20px; }
  .cv-portfolio strong { font-size:20px; }
  .cv-preferences > div { padding:12px 0; break-inside:avoid; }
  .cv-preferences dd,.cv-preferences dt { font-size:11px; }
  .cv-signoff { padding:20px 0 0; break-inside:avoid; }
  #career,#expertise,#introduction { break-before:page; }
}
@media print { #certificates, #portfolio { break-before: page; } }
@media print { .cv-period span { display:block; margin-left:0; } }
@media print { html, body.resume-body, .cv-main { background: #fff !important; } }
.cv-award { background: transparent; border: 0; border-bottom: 1px solid #cfc7bc; border-radius: 0; padding: 4px 0 24px; grid-template-columns: 170px minmax(0,1fr); gap: 26px; } @media(max-width:1000px) { .cv-award { grid-template-columns: 1fr; gap: 10px; } } @media print { .cv-award { grid-template-columns: 125px minmax(0,1fr); gap: 18px; padding: 4px 0 16px; } }

.cv-skill-groups { display:grid; gap:22px; padding:30px 0 54px; }
.cv-skill-group { display:grid; grid-template-columns:125px minmax(0,1fr); gap:20px; align-items:start; }
.cv-skill-group h2 { margin:7px 0 0; font-size:13px; font-weight:700; letter-spacing:-.025em; }
.cv-skill-items { display:flex; flex-wrap:wrap; gap:8px; }
.cv-skill-items > span { display:inline-flex; align-items:center; font-size:12px; padding:7px 12px; line-height:1.5; }
.cv-skill-tools .cv-skill-items > span { border:1px solid var(--ink); border-radius:6px; background:var(--white); box-shadow:2px 2px 0 var(--ink); }
.cv-skill-work .cv-skill-items > span { border:1px solid #aaa297; border-radius:99px; background:transparent; }
.cv-skill-style .cv-skill-items > span { border:1px solid transparent; border-radius:99px; background:#e5ebff; color:#294599; }
.cv-skill-style .cv-skill-items > span::before { content:""; width:5px; height:5px; background:currentColor; border-radius:50%; margin-right:7px; }
@media(max-width:700px) { .cv-skill-groups { gap:22px; padding:26px 0 34px; }.cv-skill-group { grid-template-columns:1fr; gap:10px; }.cv-skill-group h2 { margin:0; } }
@media print { .cv-skill-groups { gap:12px; padding:18px 0 24px; }.cv-skill-group { grid-template-columns:85px minmax(0,1fr); gap:12px; break-inside:avoid; }.cv-skill-group h2 { font-size:10px; margin-top:5px; }.cv-skill-items { gap:6px; }.cv-skill-items > span { font-size:9px; padding:4px 8px; }.cv-skill-tools .cv-skill-items > span { box-shadow:1px 1px 0 var(--ink); } }
@media print { #activities { break-before: page; } }
.cv-award .cv-label { font-family:var(--sans); font-size:14px; font-weight:600; line-height:1.7; color:var(--ink); letter-spacing:0; } @media print { .cv-award .cv-label { font-size:12px; } }

.cv-detail-ai { grid-column:1 / -1; } .cv-ai-example { border-top:1px solid #cfc7bc; padding-top:16px; margin-top:18px; } .cv-ai-example h4 { margin:0 0 8px; font-size:14px; } .cv-ai-example p { margin:0; font-size:13px; line-height:1.85; } @media print { .cv-ai-example h4 { font-size:11px; } .cv-ai-example p { font-size:10px; } }

.cv-tool-categories { display:grid; gap:14px; min-width:0; }
.cv-tool-category h3 { margin:0 0 8px; font-size:11px; font-weight:600; color:#615b53; }
@media print { .cv-tool-categories { gap:8px; } .cv-tool-category { break-inside:avoid; } .cv-tool-category h3 { font-size:9px; margin-bottom:5px; } }
@media print { .cv-skill-groups { padding:12px 0 14px; gap:8px; } .cv-tool-categories { gap:4px; } .cv-tool-category h3 { margin-bottom:3px; } .cv-skill-items > span { padding:3px 6px; } #education .cv-row { padding:10px 0; } }
