:root {
  --ink: #161817;
  --text: #343a38;
  --muted: #69716e;
  --line: #d8ddda;
  --soft: #f5f7f5;
  --white: #ffffff;
  --accent: #76b7bd;
  --accent-deep: #3f7f85;
  --accent-soft: #e7f5f6;
  --mint: #a8f4dd;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #e9edeb;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.42;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(118, 183, 189, 0.28);
  background: rgba(255, 255, 255, 0.92);
  padding: 13px 24px;
  backdrop-filter: blur(18px);
}
.toolbar-brand { font-size: 14px; font-weight: 850; letter-spacing: -0.02em; }
.toolbar-brand span { color: var(--accent-deep); }
.toolbar-actions { display: flex; gap: 9px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 800;
}
.button.secondary { background: var(--white); color: var(--ink); }
.document-shell { padding: 36px 20px 56px; }
.cv-page {
  width: min(100%, 210mm);
  min-height: 297mm;
  margin: 0 auto;
  background: var(--white);
  padding: 12mm 13mm 10mm;
  box-shadow: 0 26px 80px rgba(22, 24, 23, 0.15);
}
.cv-header { position: relative; padding-bottom: 7mm; border-bottom: 1px solid var(--line); }
.cv-header::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 24mm;
  height: 3mm;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
  content: "";
}
.kicker {
  margin: 0 0 3mm;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 3mm;
  font-size: 38px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.role {
  max-width: 120mm;
  margin: 0;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.promise { max-width: 145mm; margin: 4mm 0 0; color: var(--text); font-size: 11px; line-height: 1.45; }
.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2mm 5mm;
  margin-top: 5mm;
  color: var(--muted);
  font-size: 9px;
  font-weight: 680;
}
.contact-line a { color: var(--ink); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3mm;
  padding: 5mm 0;
  border-bottom: 1px solid var(--line);
}
.stat { border-left: 2px solid var(--accent); padding-left: 3mm; }
.stat strong { display: block; margin-bottom: 0.5mm; font-size: 17px; line-height: 1; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 8px; line-height: 1.25; }
.cv-body {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.78fr);
  gap: 8mm;
  padding-top: 6mm;
}
.section + .section { margin-top: 5mm; }
.section-title {
  display: flex;
  align-items: center;
  gap: 2.5mm;
  margin: 0 0 3mm;
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-title::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.experience { position: relative; padding-left: 5mm; }
.experience::before {
  position: absolute;
  top: 2mm;
  bottom: 0;
  left: 0.9mm;
  width: 1px;
  background: var(--line);
  content: "";
}
.experience-item { position: relative; padding-bottom: 3.6mm; }
.experience-item:last-child { padding-bottom: 0; }
.experience-item::before {
  position: absolute;
  top: 1.4mm;
  left: -5mm;
  width: 2.2mm;
  height: 2.2mm;
  border: 1.2px solid var(--accent-deep);
  border-radius: 50%;
  background: var(--white);
  content: "";
}
.experience-item.current::before { border-color: var(--mint); background: var(--mint); }
.experience-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 4mm; margin-bottom: 1mm; }
.experience-topline strong { font-size: 11px; line-height: 1.16; }
.date { flex-shrink: 0; color: var(--accent-deep); font-size: 8px; font-weight: 850; }
.organization { margin: 0 0 1.5mm; color: var(--muted); font-size: 8.5px; font-weight: 760; }
.experience-item p { margin: 0; color: var(--text); font-size: 8.8px; line-height: 1.4; }
.compact-list { margin: 1.8mm 0 0; padding: 0 0 0 4mm; color: var(--text); font-size: 8.6px; }
.compact-list li + li { margin-top: 1mm; }
.highlight-box { border: 1px solid rgba(63, 127, 133, 0.22); border-radius: 4mm; background: var(--accent-soft); padding: 4mm; }
.highlight-box p { margin: 0; color: var(--text); font-size: 9px; line-height: 1.43; }
.highlight-box strong { color: var(--ink); }
.tag-list { display: flex; flex-wrap: wrap; gap: 1.5mm; }
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  padding: 1.3mm 2.2mm;
  color: var(--text);
  font-size: 7.6px;
  font-weight: 720;
}
.certificate-list, .reference-list { margin: 0; padding: 0; list-style: none; }
.certificate-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2mm;
  border-bottom: 1px solid var(--line);
  padding: 1.6mm 0;
  font-size: 8px;
  line-height: 1.25;
}
.certificate-list li:first-child { padding-top: 0; }
.certificate-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.certificate-list strong { font-weight: 760; }
.certificate-list span { color: var(--muted); font-weight: 700; text-align: right; }
.language-list { display: grid; gap: 1.5mm; }
.language { display: flex; align-items: center; justify-content: space-between; gap: 3mm; font-size: 8.3px; }
.language span { color: var(--muted); }
.language-dots { display: flex; gap: 1mm; }
.language-dots i { width: 2mm; height: 2mm; border-radius: 50%; background: var(--accent); }
.reference-list { display: flex; flex-wrap: wrap; gap: 1.5mm 3mm; }
.reference-list li { color: var(--text); font-size: 8px; font-weight: 760; }
.cv-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10mm;
  margin-top: 6mm;
  border-top: 1px solid var(--line);
  padding-top: 3mm;
  color: var(--muted);
  font-size: 7.5px;
}
.cv-footer strong { color: var(--ink); }
.language-nav { display: flex; gap: 8px; align-items: center; }
.language-nav a { border-radius: 999px; padding: 7px; font-size: 12px; font-weight: 750; }
.language-nav a[aria-current] { background: var(--accent-soft); color: var(--accent-deep); }
.language-nav a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
@media (max-width: 760px) {
  .toolbar { padding: 11px 14px; }
  .toolbar-brand span, .toolbar .secondary { display: none; }
  .toolbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  .document-shell { padding: 18px 10px 30px; }
  .cv-page { min-height: 0; padding: 24px 20px; }
  .cv-header::after { width: 18mm; }
  h1 { font-size: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cv-body { grid-template-columns: 1fr; }
  .cv-footer { align-items: flex-start; flex-direction: column; gap: 2mm; }
}
@media (max-width: 520px) {
  .toolbar-brand { display: none; }
  .toolbar { gap: 6px; }
  .button { padding: 9px 12px; font-size: 12px; }
}
@media print {
  @page { size: A4; margin: 0; }
  body { background: var(--white); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .toolbar { display: none; }
  .document-shell { padding: 0; }
  .cv-page { width: 210mm; height: 297mm; min-height: 0; margin: 0; padding: 10mm 13mm 7mm; box-shadow: none; overflow: hidden; }
  .cv-header { padding-bottom: 6mm; }
  .stats { padding: 4mm 0; }
  .cv-body { padding-top: 5mm; }
  .section + .section { margin-top: 4mm; }
  .cv-footer { margin-top: 4mm; }
}
