/* ==========================================================================
   rismayilov.dev · Recruiter view (CV)
   Mirrors the original Europass-style CV: #004b80 header, #4d9aca accents,
   Open Sans, gray job headings, pipe-separated skills, CEFR table.
   ========================================================================== */

:root {
  --blue: #004b80;
  --blue-2: #0a5f9c;
  --accent: #4d9aca;
  --accent-soft: rgba(77, 154, 202, 0.14);
  --gray: #565656;
  --sep: #b4b4b4;
  --ink: #111111;
  --bg: #e8eef4;
  --paper: #ffffff;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 50% -180px, rgba(77, 154, 202, 0.28), transparent 70%),
    var(--bg);
  font: 15px/1.55 "Open Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- document viewer toolbar ---------- */
.viewer {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 max(16px, calc(50% - 470px));
  background: rgba(246, 249, 252, 0.78);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(0, 75, 128, 0.1);
  transition: box-shadow 0.3s ease;
}
.viewer.scrolled { box-shadow: 0 8px 24px -16px rgba(0, 40, 80, 0.45); }
.back {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 10px 8px 6px; border-radius: 10px;
  color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.back svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.back:hover { background: rgba(0, 75, 128, 0.07); }
.back:hover svg { transform: translateX(-3px); }
.doc { display: flex; align-items: center; gap: 10px; margin: 0 auto; min-width: 0; }
.pdf {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 36px; border-radius: 4px 9px 4px 4px;
  background: linear-gradient(160deg, #ef5b5b, #c53030);
  color: #fff; font: 800 9px "Open Sans", sans-serif; letter-spacing: 0.5px;
  box-shadow: 0 4px 10px -4px rgba(197, 48, 48, 0.6);
}
.doc-t { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.doc-t b { font-size: 14px; color: #13263a; }
.doc-t small { font-size: 12px; color: #6b7a8a; }
.actions { display: flex; gap: 8px; }
.vbtn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: 10px;
  border: 1px solid rgba(0, 75, 128, 0.18); background: #fff; color: var(--blue);
  font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease;
}
.vbtn svg { width: 17px; height: 17px; flex: none; }
.vbtn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(0, 75, 128, 0.55); }
.vbtn:active { transform: translateY(0); }
.vbtn.pri { background: var(--blue); border-color: var(--blue); color: #fff; position: relative; overflow: hidden; }
.vbtn.pri::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: sheen 3.6s ease-in-out 2.2s infinite;
}
@keyframes sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---------- the paper ---------- */
.paper {
  max-width: 920px; margin: 30px auto 24px; background: var(--paper);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 30px 70px -28px rgba(0, 45, 90, 0.45);
  animation: paperIn 0.9s var(--ease) both;
}
@keyframes paperIn { from { opacity: 0; transform: translateY(26px) scale(0.985); } }

/* ---------- header (matches CV) ---------- */
.cv-head {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 158px minmax(0, 1fr); align-items: center; gap: 28px;
  padding: 26px 40px 28px 26px; color: #fff; background: var(--blue);
}
.cv-head::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(77, 154, 202, 0.45), transparent 70%),
    radial-gradient(35% 45% at 85% 80%, rgba(10, 95, 156, 0.9), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.cv-head::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: sweep 1.6s var(--ease) 0.5s both;
}
@keyframes drift { to { transform: translate(6%, -4%) rotate(4deg); } }
@keyframes sweep { from { left: -40%; } to { left: 120%; } }

/* photo: completely static; click to enlarge */
.photo {
  width: 158px; height: 158px; border-radius: 50%; overflow: hidden; padding: 0; cursor: zoom-in;
  border: 5px solid #fff; background: #fff; position: relative; display: block;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zoom-badge {
  position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 75, 128, 0.88); color: #fff;
  opacity: 0; transition: opacity 0.2s ease;
}
.zoom-badge svg { width: 16px; height: 16px; }
.photo:hover .zoom-badge, .photo:focus-visible .zoom-badge { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(4, 18, 32, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img {
  width: min(460px, 84vw, 72vh); height: auto; aspect-ratio: 1; object-fit: cover; display: block;
  border-radius: 22px; border: 6px solid #fff; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  transform-origin: 0 0; will-change: transform;
}
.lb-fig figcaption {
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.2px;
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease 0.2s, transform 0.4s var(--ease) 0.2s;
}
.lightbox.open .lb-fig figcaption { opacity: 1; transform: none; }
.lb-x {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 18px; transition: background 0.2s ease;
}
.lb-x:hover { background: rgba(255, 255, 255, 0.26); }
body.lb-lock { overflow: hidden; }

.cv-name { margin: 0; font: 800 34px/1.1 "Open Sans", sans-serif; letter-spacing: 0.2px; }
.cv-name span { display: inline-block; opacity: 0; transform: translateY(14px); animation: letter 0.55s var(--ease) forwards; animation-delay: calc(0.35s + var(--i) * 32ms); }
@keyframes letter { to { opacity: 1; transform: none; } }
.name-rule { height: 2px; margin: 12px 0 14px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.55)); transform-origin: left; animation: grow 1s var(--ease) 0.75s both; }
@keyframes grow { from { transform: scaleX(0); } }

.contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 14.5px; }
.contacts li {
  position: relative; display: inline-block;
  padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0; transform: translateY(8px); animation: letter 0.6s var(--ease) forwards;
  animation-delay: calc(0.9s + var(--i, 0) * 70ms);
}
.contacts li:first-child, .contacts li.row-start { border-left: 0; padding-left: 0; }
.contacts b { font-weight: 700; margin-right: 5px; }
.contacts a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.55); text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.contacts a:hover { text-decoration-color: #fff; }
.cp {
  margin-left: 6px; vertical-align: middle; width: 24px; height: 24px; border-radius: 6px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 12px; line-height: 1;
  opacity: 0; transform: scale(0.8); transition: opacity 0.2s ease, transform 0.2s var(--ease), background 0.2s ease;
}
.contacts li:hover .cp, .cp:focus-visible { opacity: 1; transform: none; }
.cp:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- body & section headings ---------- */
.cv-body { padding: 8px 46px 44px; }
.cv-sec { margin-top: 30px; }
.cv-h {
  position: relative; margin: 0 0 16px; padding-bottom: 8px;
  font: 800 16.5px/1.2 "Open Sans", sans-serif; text-transform: uppercase; letter-spacing: 0.3px; color: #000;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.cv-h::before {
  content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(77, 154, 202, 0.5);
}
.cv-h::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform-origin: left;
}
.cv-h .hint { font: 600 12px "Open Sans", sans-serif; letter-spacing: 0; text-transform: none; color: #6b8aa3; }
.cv-h .hint::before { content: "✦ "; color: var(--accent); }

p { margin: 0 0 10px; }
.about-lead { font-size: 15.5px; margin-bottom: 4px; }
.sub-b { margin-top: 14px; margin-bottom: 6px; }
strong, b { font-weight: 700; }

/* bullets like the CV */
.dots { list-style: none; margin: 0; padding: 0 0 0 30px; }
.dots li { position: relative; padding: 2px 0 2px 12px; }
.dots li::before { content: "•"; position: absolute; left: 0; top: 2px; color: inherit; }

/* ---------- work experience ---------- */
.job {
  position: relative; margin: 0 -16px 10px; padding: 12px 16px 14px; border-radius: 10px;
  color: var(--gray);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.job::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent), var(--blue)); transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.job:hover { background: linear-gradient(90deg, rgba(77, 154, 202, 0.08), rgba(77, 154, 202, 0.02) 70%, transparent); }
.job:hover::before, .job.has-hit::before { transform: scaleY(1); }
.job-h { margin: 0; font-size: 14.5px; font-weight: 400; color: var(--gray); text-transform: uppercase; letter-spacing: 0.15px; }
.job-h b { font-weight: 700; }
.job-h span { white-space: normal; }
.now { font-style: normal; text-transform: none; display: inline-flex; align-items: center; gap: 6px; color: #187a45; font-weight: 700; }
.now i { width: 8px; height: 8px; border-radius: 50%; background: #22a55b; box-shadow: 0 0 0 0 rgba(34, 165, 91, 0.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 165, 91, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(34, 165, 91, 0); } }
.job-line { height: 2px; width: 50%; margin: 10px 0 12px; background: var(--accent); transform-origin: left; }
.job-line.full { width: 100%; }
.proj { margin: 0 0 6px; color: var(--gray); }
.proj b { color: var(--gray); }
.job strong {
  color: var(--gray);
  background: linear-gradient(transparent 62%, rgba(77, 154, 202, 0.25) 62%) no-repeat 0 0 / 0% 100%;
  transition: background-size 0.6s var(--ease);
}
.job:hover strong { background-size: 100% 100%; }

/* skill → experience highlight */
.dots li.hit { color: #1f2d3a; }
.dots li.hit::after {
  content: ""; position: absolute; inset: 0 -8px 0 4px; z-index: -1; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.6), rgba(255, 209, 102, 0.18));
  animation: mark 0.6s var(--ease) both;
}
.dots li { z-index: 0; }
@keyframes mark { from { transform: scaleX(0); transform-origin: left; } }
body.searching .job:not(.has-hit) { opacity: 0.45; }
body.searching #about .dots li:not(.hit) { opacity: 0.6; }
.job, #about .dots li { transition: opacity 0.35s ease, background 0.35s ease, box-shadow 0.35s ease; }
.job.has-hit { box-shadow: inset 0 0 0 1px rgba(77, 154, 202, 0.35); }

/* ---------- skills ---------- */
.skill-g { margin: 0 0 14px; }
.skill-g h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; color: var(--gray); }
.pipes { margin: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.sk {
  position: relative; border: 0; background: transparent; color: #222; cursor: pointer;
  padding: 3px 8px; margin: 0 2px; border-radius: 7px; font-size: 14.5px; text-align: left; line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.sk + .sk::before {
  content: ""; position: absolute; left: -3px; top: 22%; height: 56%; width: 1px; background: var(--sep);
}
.sk:hover { background: var(--accent-soft); color: var(--blue); transform: translateY(-1px); }
.sk.on { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(0, 75, 128, 0.8); }
.sk.on::before, .sk.on + .sk::before, .sk:hover::before, .sk:hover + .sk::before, .sk.row-start::before { opacity: 0; }

/* ---------- education ---------- */
.edu-date { margin: 0 0 2px; font-size: 14px; color: var(--gray); }
.edu-title { margin: 0; font-size: 15.5px; }
.edu-facts { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; margin: 0; }
.edu-facts span { padding: 0 12px; border-left: 1px solid var(--sep); }
.edu-facts span:first-child { padding-left: 0; border-left: 0; }

/* ---------- languages ---------- */
.mother { letter-spacing: 0.3px; }
.tbl-wrap { overflow-x: auto; margin: 4px 0 6px; }
.lang { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; min-width: 560px; }
.lang thead th { font-weight: 700; padding: 6px 8px; border-bottom: 2px solid var(--accent); }
.lang thead tr.sub th { font-weight: 400; color: #333; }
.lang tbody th { text-align: left; font-weight: 800; padding: 10px 8px; }
.lang tbody tr { border-bottom: 2px solid var(--accent); transition: background 0.25s ease; }
.lang tbody tr:hover { background: rgba(77, 154, 202, 0.07); }
.lang td { padding: 8px; }
.lvl { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 5px; cursor: default; }
.lvl b { font-weight: 600; }
.meter { display: flex; gap: 2px; }
.meter i { width: 7px; height: 6px; border-radius: 2px; background: #dde7ef; transition: background 0.35s ease; transition-delay: calc(var(--k) * 90ms + var(--d, 0ms)); }
.in .meter i.f { background: var(--accent); }
.lvl::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 5;
  transform: translate(-50%, 6px); opacity: 0; pointer-events: none; white-space: nowrap;
  background: #10263b; color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 7px;
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
}
.lvl:hover::after { opacity: 1; transform: translate(-50%, 0); }
.legend { margin: 6px 0 0; font-size: 12.5px; font-style: italic; color: var(--gray); }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal .cv-h::after, .js .cv-h.reveal::after { transform: scaleX(0); transition: transform 1s var(--ease) 0.15s; }
.js .reveal.in .cv-h::after, .js .cv-h.reveal.in::after { transform: scaleX(1); }
.js .reveal .cv-h::before, .js .cv-h.reveal::before { transform: scale(0); transition: transform 0.5s var(--ease) 0.1s; }
.js .reveal.in .cv-h::before, .js .cv-h.reveal.in::before { transform: scale(1); animation: dot 1.6s ease-out 0.6s 1; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(77, 154, 202, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(77, 154, 202, 0); } }
.js .reveal .job-line, .js .job.reveal .job-line { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.25s; }
.js .reveal.in .job-line { transform: scaleX(1); }
.js .reveal .dots li, .js .reveal .sk { opacity: 0; transform: translateX(-8px); transition: opacity 0.5s ease, transform 0.6s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; transition-delay: calc(0.12s + var(--i, 0) * 45ms); }
.js .reveal.in .dots li, .js .reveal.in .sk { opacity: 1; transform: none; }
.js .reveal.in .sk:hover { transform: translateY(-1px); transition-delay: 0s; }

/* ---------- floating UI ---------- */
.foot { text-align: center; margin: 0 0 40px; font-size: 13px; color: #5d7083; }
.foot a { color: var(--blue); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

.find {
  position: fixed; left: 50%; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px);
  padding: 7px 7px 7px 16px; border-radius: 999px; background: #0f2235; color: #fff; font-size: 14px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 24px); opacity: 0; visibility: hidden; transition: transform 0.4s var(--ease), opacity 0.3s ease, visibility 0s linear 0.4s;
}
.find.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 0.4s var(--ease), opacity 0.3s ease, visibility 0s; }
.find-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find-t b { color: #ffd166; }
.find button { border: 0; cursor: pointer; border-radius: 999px; height: 32px; padding: 0 12px; font-weight: 700; font-size: 13px; }
.find-go { background: #ffd166; color: #10263b; }
.find-x { background: rgba(255, 255, 255, 0.12); color: #fff; width: 32px; padding: 0 !important; }

.totop {
  position: fixed; right: 20px; bottom: 22px; z-index: 75; width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--blue); color: #fff; font-size: 18px; font-weight: 700;
  box-shadow: 0 12px 26px -10px rgba(0, 75, 128, 0.8);
  opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }

.toast {
  position: fixed; left: 50%; top: 74px; z-index: 90; padding: 9px 16px; border-radius: 10px;
  background: #0f2235; color: #fff; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -16px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .viewer { height: 56px; gap: 8px; padding: 0 10px; }
  .doc, .vbtn span, .back span { display: none; }
  .back { padding: 8px; }
  .actions { margin-left: auto; }
  .vbtn { width: 42px; padding: 0; justify-content: center; }
  .vbtn.pri { width: auto; padding: 0 14px; }
  .vbtn.pri span { display: inline; }
  .paper { margin: 0 0 18px; border-radius: 0; }
  .cv-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; padding: 26px 18px 24px; }
  .photo { width: 124px; height: 124px; border-width: 4px; }
  .cv-name { font-size: 28px; }
  .name-rule { width: 100%; }
  .contacts { flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
  .contacts li { border-left: 0; padding: 0; justify-content: center; text-align: center; }
  .contacts li a { overflow-wrap: anywhere; }
  .cp { opacity: 1; transform: none; }
  .cv-body { padding: 4px 18px 30px 30px; }
  .cv-h::before { left: -18px; }
  .dots { padding-left: 6px; }
  .job { margin: 0 -10px 8px; padding: 10px; }
  .job-line { width: 70%; }
  .sk { font-size: 14px; }
  .edu-facts { flex-direction: column; }
  .edu-facts span { border-left: 0; padding: 0; }
  .find { bottom: 78px; }
  .lang { min-width: 0; font-size: 12.5px; }
  .lang thead th { font-size: 10.5px; padding: 5px 2px; letter-spacing: 0; }
  .lang thead tr.sub th { font-size: 11px; }
  .lang tbody th { padding: 8px 4px 8px 0; font-size: 12px; }
  .lang td { padding: 6px 2px; }
  .meter i { width: 5px; height: 5px; }
  .lvl::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .cv-name span, .contacts li { opacity: 1; transform: none; }
}

/* ---------- print: like the original A4 ---------- */
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; font-size: 10pt; }
  .viewer, .progress, .find, .totop, .toast, .foot, .cp, .cv-h .hint, .lightbox, .zoom-badge { display: none !important; }
  .paper { margin: 0; max-width: none; box-shadow: none; border-radius: 0; animation: none; }
  .cv-head, .now i, .meter i.f, .cv-h::before, .cv-h::after, .job-line { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-head::before, .cv-head::after { display: none; }
  .js .reveal, .js .reveal .dots li, .js .reveal .sk, .cv-name span, .contacts li { opacity: 1 !important; transform: none !important; }
  .js .reveal .cv-h::after, .js .reveal .job-line, .js .cv-h.reveal::after { transform: none !important; }
  .js .reveal .cv-h::before, .js .cv-h.reveal::before { transform: none !important; }
  .meter i.f { background: var(--accent) !important; }
  .job { break-inside: avoid; margin: 0 0 6px; padding: 6px 0; }
  .job::before, .job strong { background: none !important; }
  .skill-g, .lang { break-inside: avoid; }
  .sk { padding: 0 6px; }
}
