/* Визитка /chief — дополнение к app.css «Заколлабища» (ризограф в две краски).
   Всё остальное — штатные классы сайта: sheet, prof-top, prof-swap, contacts, list, kpis, panel. */

/* --- обложка-оттиск вместо фото --- */
.ch-cover {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px;
  aspect-ratio: 8 / 3; padding: 26px 30px; overflow: hidden; isolation: isolate;
  border-bottom: 2px solid var(--ink); background-color: var(--card);
}
.ch-cover::after { /* второй растр розовой краской со сдвигом */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--pink-soft) 1.6px, transparent 1.8px); background-size: 9px 9px; background-position: 4px 4px;
  -webkit-mask: linear-gradient(115deg, transparent 35%, #000 75%); mask: linear-gradient(115deg, transparent 35%, #000 75%);
}
.ch-print {
  position: relative; isolation: isolate; display: block; white-space: pre-line;
  font: 400 clamp(30px, 4.4vw, 52px)/1 var(--display); letter-spacing: -.02em; color: var(--ink);
}
.ch-print::before { content: attr(data-print); position: absolute; inset: 0; z-index: -1; white-space: pre-line; color: var(--pink); transform: translate(4px, 3px); }
.ch-venn { position: relative; grid-column: 2; grid-row: 1 / span 2; width: clamp(150px, 19vw, 230px); aspect-ratio: 1.5; }
.ch-venn i { position: absolute; top: 0; width: 66.6%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: var(--blend); transition: transform .35s ease; }
.ch-venn i:first-of-type { left: 0; background: var(--blue); }
.ch-venn i:last-of-type { right: 0; background: var(--pink); }
.ch-venn b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 400 clamp(24px, 3vw, 36px)/1 var(--display); color: var(--paper); letter-spacing: -.02em; z-index: 1; }
.sheet:hover .ch-venn i:first-of-type { transform: translateX(6px); }
.sheet:hover .ch-venn i:last-of-type { transform: translateX(-6px); }
.ch-stamp {
  grid-column: 2; justify-self: center; align-self: end; display: inline-flex; align-items: center; height: 29px; padding: 0 12px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); font-size: 12.5px; font-weight: 700; color: var(--ink);
  transform: rotate(-2deg); box-shadow: 2px 2px 0 var(--blue);
}

/* --- шапка карточки --- */
.chief .prof-top { align-items: flex-start; }
.mono.lg.ch-mono { position: relative; overflow: visible; width: 124px; height: 124px; background: var(--ink); border: 2px solid var(--ink); margin-top: -58px; box-shadow: 0 0 0 4px var(--card), 5px 5px 0 4px var(--pink); }
.ch-mono img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ch-mono b { position: absolute; right: -8px; bottom: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--pink); color: var(--on-pink); border: 2px solid var(--on-pink); font: 400 13px/1 var(--display); box-shadow: 2px 2px 0 var(--blue); }
.ch-motto { margin-top: 8px; font-weight: 750; font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.chief .prof-top > div { padding-top: 2px; }
.ch-role { margin-top: 8px; color: var(--ink-soft); font-size: 15px; font-weight: 600; max-width: 60ch; }
.ch-meta { margin-top: 10px; }
.ch-mcta { display: none; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chief .prof-swap p { white-space: normal; }
.ch-who { margin-top: 6px; font-size: 15px; line-height: 1.6; max-width: 72ch; }
.ch-status { margin-top: 10px; gap: 7px 18px; }
.ch-status dt { max-width: 26ch; }
.ch-proj { margin-top: 6px; }
.ch-proj .mono { width: 34px; height: 34px; font-size: 13px; border-width: 1px; }
.ch-soon { opacity: .75; }
.ch-soon .mono { border-style: dashed; }
.ch-age { display: contents; }
.ch-age[hidden] { display: none; }
.ch-proj > a:first-child .mono { background: var(--pink); color: var(--on-pink); border-color: var(--on-pink); }
.ch-stack { margin-top: 8px; }
.ch-stack span { display: inline-flex; align-items: center; height: 29px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--rule-strong); font-size: 13px; font-weight: 600; background: var(--card); }
.ch-open { vertical-align: 2px; margin-left: 6px; }
.ch-contacts { margin-top: 10px; font-size: 15px; }
.ch-contacts a { text-decoration-color: var(--rule-strong); }

/* --- боковая колонка --- */
.ch-ctas { display: grid; gap: 8px; margin-top: 12px; }
.ch-tools { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 8px -10px -4px; }
.ch-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ch-kpis .kpi b { font: 400 22px/1.1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.ch-side-h { margin: 2px 6px 6px; }
.ch-aka { padding: 0 4px; }

/* --- QR --- */
.ch-qr { border: 2px solid var(--ink); border-radius: var(--r); padding: 20px 22px; text-align: center; background: var(--card); color: var(--ink); box-shadow: 6px 6px 0 var(--pink); }
.ch-qr::backdrop { background: rgba(16, 20, 46, .55); }
.ch-qr img { margin: 0 auto 8px; border: 1.5px solid var(--ink); }
.ch-qr-t { font: 400 20px/1.1 var(--display); margin-bottom: 12px; }
.ch-qr .btn { margin-top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 760px) {
  .ch-mcta { display: flex; }
  .ch-cover { aspect-ratio: auto; grid-template-columns: minmax(0, 1fr); padding: 20px 18px 18px; }
  .ch-venn { grid-column: 1; grid-row: auto; width: 120px; justify-self: end; margin: -6px 0 -12px; order: -1; }
  .ch-stamp { grid-column: 1; justify-self: end; }
  .ch-status { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ch-status dd { margin-bottom: 8px; }
}
@media (max-width: 520px) {
  .mono.lg.ch-mono { width: 92px; height: 92px; margin-top: -40px; }
  .ch-contacts { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ch-venn i { transition: none; } }
