.home-cv-section{max-width:1184px;margin:54px auto 65px;padding:0 24px}
.home-cv-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.home-cv-heading h2{margin:0;font-size:clamp(1.85rem,3.5vw,3rem);line-height:1.08;letter-spacing:-.05em}
.home-cv-heading p:not(.eyebrow){margin:10px 0 0;color:#56657b}
.home-cv-heading>a{white-space:nowrap;color:#8e5c0b;font-size:.9rem;font-weight:750}
.home-cv-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.home-cv-card{min-width:0;overflow:hidden;border:1px solid #e1dacb;border-radius:14px;background:#fff;box-shadow:0 10px 24px #3429120b;transition:transform .2s,box-shadow .2s}
.home-cv-card:hover{transform:translateY(-4px);box-shadow:0 17px 30px #3429121b}
.home-cv-card:focus-visible{outline:3px solid #d9a743;outline-offset:3px}
.home-cv-paper{--accent:#254f78;position:relative;display:flex;flex-direction:column;aspect-ratio:7/8;margin:12px 12px 0;padding:15px 13px;background:#fff;border:1px solid #e0e5ec;box-shadow:0 4px 12px #12243a18;overflow:hidden;color:#253449}
.home-cv-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--accent);color:white;font-size:.68rem;font-weight:800}
.home-cv-name{margin-top:9px;color:var(--accent);font-weight:850;font-size:clamp(.7rem,1.2vw,1rem);line-height:1.1}
.home-cv-role{font-size:.55rem;text-transform:uppercase;letter-spacing:.08em;margin-top:3px}
.home-cv-lines{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;margin-top:16px}
.home-cv-lines i{display:block;height:23px;background:repeating-linear-gradient(to bottom,#b9c2ce 0 2px,transparent 2px 7px);opacity:.7}
.home-cv-lines i:nth-child(1),.home-cv-lines i:nth-child(2){grid-column:span 2;height:19px}
.home-cv-badge{position:absolute;right:10px;bottom:8px;color:var(--accent);font-size:.55rem;font-weight:800}
.home-cv-caption{display:block;padding:11px 13px 13px;min-height:65px}
.home-cv-caption strong,.home-cv-caption small{display:block;line-height:1.2}
.home-cv-caption strong{font-size:.83rem}.home-cv-caption small{margin-top:4px;color:#68748a;font-size:.7rem}
.home-cv-portfolio .home-cv-paper{--accent:#b65440;background:linear-gradient(90deg,#d0e3e1 0 35%,#fff 35%);padding-left:40%}.home-cv-portfolio .home-cv-mark{border-radius:3px}
.home-cv-minimal .home-cv-paper{--accent:#37534b;padding-top:38px}.home-cv-minimal .home-cv-mark{display:none}.home-cv-minimal .home-cv-name{font-weight:500;font-family:Georgia,serif;border-bottom:2px solid var(--accent);padding-bottom:7px}
.home-cv-timeline .home-cv-paper{--accent:#175f86;border-top:15px solid var(--accent)}.home-cv-timeline .home-cv-lines{border-left:3px solid var(--accent);padding-left:10px;grid-template-columns:1fr}
.home-cv-columns .home-cv-paper{--accent:#315b9c;background:linear-gradient(90deg,#e5eefb 0 36%,white 36%)}.home-cv-columns .home-cv-mark{border-radius:0}.home-cv-columns .home-cv-lines{grid-template-columns:1fr 2fr}
.home-cv-gradient .home-cv-paper{--accent:#7246ab;background:linear-gradient(150deg,#7344ad 0 32%,white 32%);padding-top:28px}.home-cv-gradient .home-cv-name,.home-cv-gradient .home-cv-role{background:white;padding:2px 5px}
.home-cv-serif .home-cv-paper{--accent:#745b43;background:#fcf9f1;text-align:center;align-items:center}.home-cv-serif .home-cv-mark{display:none}.home-cv-serif .home-cv-name{font-family:Georgia,serif;font-size:1.15rem;font-weight:400}.home-cv-serif .home-cv-lines{width:100%}
.home-cv-dark .home-cv-paper{--accent:#a87c37;background:#1b2230;color:#f1e4c5}.home-cv-dark .home-cv-name,.home-cv-dark .home-cv-badge{color:#d6b36c}.home-cv-dark .home-cv-mark{background:transparent;border:1px solid #d6b36c}.home-cv-dark .home-cv-lines i{background:repeating-linear-gradient(to bottom,#baae9a 0 2px,transparent 2px 7px)}
.home-cv-ats .home-cv-paper{--accent:#176f72;padding-top:28px}.home-cv-ats .home-cv-mark{display:none}.home-cv-ats .home-cv-name{font-size:1rem;border-bottom:1px solid #263b45;padding-bottom:5px}.home-cv-ats .home-cv-lines{grid-template-columns:1fr}.home-cv-ats .home-cv-lines i{height:12px}
.home-cv-signature .home-cv-paper{--accent:#315db6;background:linear-gradient(#eaf1ff 0 36%,white 36%)}.home-cv-signature .home-cv-mark{border-radius:7px}.home-cv-signature .home-cv-badge{right:0;bottom:0;padding:5px 9px;background:var(--accent);color:white}
@media(max-width:900px){.home-cv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.home-cv-section{margin:35px auto 48px;padding:0 18px}.home-cv-heading{display:block}.home-cv-heading>a{display:inline-block;margin-top:12px}.home-cv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-cv-paper{margin:8px 8px 0;padding:12px 9px}.home-cv-caption{padding:9px}.home-cv-name{font-size:.78rem}}

/* Portraits rendered by the live CV engine, in the original compact grid. */
.home-cv-paper{padding:0;aspect-ratio:290/370;display:block}
.home-cv-paper .cv-preview-image{display:block;width:100%;height:100%;object-fit:fill}
@media(max-width:600px){.home-cv-paper{padding:0}}

.home-cv-paper{aspect-ratio:7/8;overflow:hidden}
.home-cv-paper .cv-preview-image{object-fit:cover;object-position:top}
.home-cv-paper{aspect-ratio:1000/1414}
.home-cv-paper .cv-preview-image{object-fit:contain;object-position:center top}
