/* Logbook section on the homepage (was Proof CV): regular CV against a Logbook, an example card with badges, and
   the four steps of how much is checked. Uses the tokens in site.css. */
.pcv .head .lead { margin: 0; max-width: 30em; }
.pcv .head .lead b { display: block; color: var(--bone); font-weight: 600; margin-bottom: 6px; }
.pcv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .pcv-grid { grid-template-columns: 1fr; } }

.pcv-compare { display: grid; gap: 14px; }
.pcv-col { border-radius: 28px; border: 1px solid var(--line); padding: 24px 26px; }
.pcv-col h3 { font-size: 20px; margin-bottom: 14px; }
.pcv-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pcv-col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--ash); }
.pcv-col li b { color: var(--bone); font-weight: 600; }
.pcv-col.old { background: transparent; border-style: dashed; }
.pcv-col.old h3 { color: var(--ash); }
.pcv-col.old li { color: var(--mist); }
.pcv-col.old li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 10px; height: 2px; border-radius: 2px; background: var(--steel); }
.pcv-col.new { background: linear-gradient(160deg, rgba(0, 175, 255, .10), rgba(0, 175, 255, 0) 55%), var(--card); border-color: rgba(0, 175, 255, .32); }
.pcv-col.new li::before { content: ''; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230E0F12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.pcv-card { margin: 0; border-radius: 30px; background: var(--sheet); border: 1px solid var(--line-strong); padding: 24px; display: grid; gap: 18px; box-shadow: 0 30px 80px -40px rgba(0, 175, 255, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset; position: relative; overflow: hidden; }
.pcv-card::before { content: ''; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(93, 204, 255, .18); box-shadow: 0 0 0 36px rgba(93, 204, 255, .03), 0 0 0 72px rgba(93, 204, 255, .02); pointer-events: none; }
.pcv-top { display: flex; align-items: center; gap: 14px; }
.pcv-face { width: 56px; height: 56px; border-radius: 50%; background: var(--bone); flex: none; }
.pcv-top b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.pcv-top span { display: block; font-size: 14px; color: var(--ash); }
.pcv-level { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--ash); }
.pcv-level .pill { border-radius: 999px; padding: 4px 12px; background: var(--accent-wash); border: 1px solid rgba(0, 175, 255, .4); color: var(--accent-soft); font-weight: 500; }
.pcv-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.pcv-badges img { width: 48px; height: 48px; transform: rotate(var(--r, 0deg)); transition: transform .25s var(--ease); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.pcv-badges img:hover { transform: rotate(0deg) scale(1.12); }
.pcv-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pcv-jobs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); padding: 12px 14px; }
.pcv-jobs b { display: block; font-size: 15px; font-weight: 600; }
.pcv-jobs div span { font-size: 13px; color: var(--mist); }
.pcv-jobs .proof { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ash); white-space: nowrap; }
.pcv-hugo { display: flex; gap: 10px; align-items: flex-start; border-radius: 18px; border: 1px solid rgba(0, 175, 255, .28); background: rgba(0, 175, 255, .05); padding: 12px 14px; }
.pcv-hugo img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.pcv-hugo p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ash); }
.pcv-hugo b { color: var(--bone); font-weight: 600; }

.pcv-ladder { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.pcv-ladder li { position: relative; border-top: 2px solid var(--line-strong); padding: 16px 4px 0; display: grid; gap: 4px; font-size: 14px; color: var(--mist); }
.pcv-ladder li:nth-child(n+2) { border-top-color: rgba(0, 175, 255, calc(.25 * var(--lv, 1))); }
.pcv-ladder li:nth-child(2) { --lv: 1.4; } .pcv-ladder li:nth-child(3) { --lv: 2.6; } .pcv-ladder li:nth-child(4) { --lv: 4; }
.pcv-ladder b { color: var(--bone); font-size: 16px; font-weight: 600; }
.pcv-ladder .pcv-num { position: absolute; top: -13px; left: 0; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; display: block; text-align: center; line-height: 20px; font-size: 12px; font-weight: 600; background: var(--night); border: 2px solid var(--line-strong); color: var(--ash); }
.pcv-ladder li:nth-child(n+2) .step { border-color: var(--accent); color: var(--accent-soft); }
.pcv-ladder li:last-child .step { background: var(--accent); color: var(--night); }
@media (max-width: 760px) { .pcv-ladder { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 420px) { .pcv-card { padding: 18px; } .pcv-col { padding: 20px; } .pcv-jobs li { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .pcv-badges img { transition: none; } }
