/* ============================================
   CV PAGE — OVERRIDE & EXTENSION STYLES
   Base design system loaded from assets/style.css
   ============================================ */

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 9999;
    transition: width 0.05s linear;
}

/* Section layout for non-bg-alt sections */
.experience,
.projects,
.sprint-check,
.personal {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

@media (max-width: 768px) {
    .experience,
    .projects,
    .sprint-check,
    .personal {
        padding: 3rem 1.25rem;
    }
}

/* Nav scroll-spy active state */
.nav-links a.active {
    color: var(--accent);
}

/* ============================================
   HERO — CTAs row
   ============================================ */
.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-scroll-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-scroll-link:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ============================================
   PROFILE
   ============================================ */
.profile {
    border-top: 3px solid var(--accent);
}

.profile p {
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-sub);
    margin-bottom: 1rem;
}

.profile p:last-of-type {
    margin-bottom: 0;
}

/* Colleague tags */
.colleague-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.colleague-tags-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-style: italic;
    margin-right: 0.25rem;
}

.colleague-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: 99px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
}

/* ============================================
   PHOTO BANNER — placeholder for a professional photo
   To activate: set background-image on .photo-banner,
   hide .photo-banner-icon and .photo-banner-text
   ============================================ */
.photo-banner {
    width: 100%;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--bg) 0%, color-mix(in srgb, var(--accent) 8%, var(--bg)) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.photo-banner-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text);
    max-width: 680px;
    line-height: 1.7;
    margin: 0;
}

.photo-banner-attr {
    font-size: 0.85rem;
    color: var(--accent);
    margin: 0;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .photo-banner {
        height: 140px;
    }
}

/* ============================================
   VERTICAL TIMELINE
   ============================================ */
.vtl {
    position: relative;
    margin-top: 2rem;
    padding-left: 48px;
}

/* Connecting line */
.vtl::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 11px;
    width: 2px;
    background: var(--border);
}

/* Timeline entry */
.vtl-entry {
    position: relative;
    margin-bottom: 2rem;
}

.vtl-entry:last-child {
    margin-bottom: 0;
}

/* Dot — progressive sizing (larger = more recent/senior)
   All dots centered on the timeline line (12px from vtl left edge).
   Using transform to keep center alignment regardless of size. */
.vtl-dot {
    position: absolute;
    left: -36px;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border);
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: border-color 0.2s, background-color 0.2s;
}

.vtl-dot--sm { width: 18px; height: 18px; }
.vtl-dot--md { width: 20px; height: 20px; }
.vtl-dot--lg { width: 22px; height: 22px; }

.vtl-dot--current {
    width: 24px;
    height: 24px;
    border-color: var(--accent);
    background: var(--accent);
}

.vtl-entry:hover .vtl-dot {
    border-color: var(--accent);
}

/* Entry icon */
.vtl-icon {
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0.6;
    margin-right: 0.5rem;
    vertical-align: -3px;
}

.vtl-icon.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Content card */
.vtl-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.vtl-entry:hover .vtl-content {
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.06);
}

/* Expand button (wraps header + role + chevron) */
.vtl-expand-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    font-family: inherit;
    text-align: left;
    position: relative;
}

.vtl-chevron {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.4rem;
    color: var(--text-dim);
    transition: transform 0.2s;
}

.vtl-entry.expanded .vtl-chevron {
    transform: rotate(180deg);
}

/* Header row */
.vtl-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    padding-right: 2rem;
}

.vtl-header h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin: 0;
}

.vtl-period {
    font-size: 0.8rem;
    color: var(--text-dim);
    white-space: nowrap;
}

/* Role */
.vtl-role {
    font-size: 0.85rem;
    color: var(--accent);
    margin: 0.2rem 0 0;
    font-weight: 600;
}

/* Scrum callout — always visible */
.vtl-scrum {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin-top: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(var(--accent-rgb), 0.3);
}

/* Expandable details */
.vtl-expandable {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.vtl-entry.expanded .vtl-expandable {
    display: block;
    animation: vtlExpand 0.25s ease;
}

@keyframes vtlExpand {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Description */
.vtl-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

/* Tech tags */
.vtl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.vtl-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background-color: var(--bg-skill);
    color: var(--text-muted);
    border-radius: 99px;
}

/* Read more link */
.vtl-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}

.vtl-more:hover {
    text-decoration: underline;
}

/* FUTURE: employer/scene photo
.vtl-photo {
    display: block;
    width: 100%;
    height: 180px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    filter: brightness(0.7);
}
*/

/* Timeline mobile */
@media (max-width: 768px) {
    .vtl {
        padding-left: 36px;
    }

    .vtl::before {
        left: 9px;
    }

    .vtl-dot {
        left: -26px;
        top: 1.75rem;
    }

    /* Uniform dot size on mobile */
    .vtl-dot,
    .vtl-dot--sm,
    .vtl-dot--md,
    .vtl-dot--lg,
    .vtl-dot--current {
        width: 16px;
        height: 16px;
    }

    .vtl-dot--current {
        border-color: var(--accent);
        background: var(--accent);
    }

    .vtl-content {
        padding: 1.25rem;
    }
}

/* ============================================
   HOW I WORK WITH TEAMS — SCENARIO CARDS
   ============================================ */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
}

.scenario-card {
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 6px;
    padding: 1.75rem 1.5rem;
    background-color: var(--bg-card);
    transition: transform 0.2s, box-shadow 0.2s;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.1);
}

.scenario-icon {
    font-size: 1.6rem;
    color: var(--accent);
    opacity: 0.75;
    margin-bottom: 0.75rem;
    display: block;
}

.scenario-icon.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 32;
}

.scenario-card h3 {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.scenario-card p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.testimonial-card {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.2;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-icon.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-sub);
    margin: 0;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .testimonial {
        padding: 2rem 1.25rem;
    }
}

/* ============================================
   SPRINT HEALTH CHECK
   ============================================ */
.check-progress-wrap {
    max-width: 700px;
    margin-bottom: 1.25rem;
}

.check-progress-bar-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.check-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    position: relative;
    margin-bottom: 0.4rem;
    overflow: hidden;
}

.check-progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress, 0%);
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.check-progress-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.check-reset-btn {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
}

.check-reset-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.sprint-check-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    font-size: 0.95rem;
}

.check-questions {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
}

.check-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.check-question:first-child {
    border-top: 1px solid var(--border);
}

.check-question-text {
    font-size: 0.95rem;
    color: var(--text-sub);
    flex: 1;
}

.check-toggle {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.check-btn {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.check-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.check-btn.selected[data-answer="yes"] {
    background: rgba(var(--green-dark-rgb), 0.15);
    border-color: var(--green);
    color: var(--green);
}

.check-btn.selected[data-answer="no"] {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.check-result {
    margin-top: 2rem;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.check-result:not([hidden]) {
    animation: vtlExpand 0.3s ease;
}

.check-score-ring {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
}

.check-score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.check-score-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dim);
}

.check-feedback {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .check-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .check-result {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   PROJECTS
   ============================================ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 6px;
    padding: 1.5rem;
    background-color: var(--bg-card);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.1);
}

.project-card.placeholder {
    opacity: 0.45;
}

.project-card.placeholder:hover {
    transform: none;
    box-shadow: none;
}

.project-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background-color: var(--bg-skill);
    color: var(--text-muted);
    border-radius: 99px;
}

.project-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.project-links a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}

.project-links a:hover {
    text-decoration: underline;
}

/* ============================================
   CERTIFICATIONS GRID — 3 columns
   ============================================ */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
}

.cred-org {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   PERSONAL DETAILS
   ============================================ */
.personal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .personal-grid {
        grid-template-columns: 1fr;
    }
}

.personal-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.personal-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.personal-value {
    font-size: 0.95rem;
    color: var(--text-sub);
}

/* ============================================
   FOOTER
   ============================================ */
.cv-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-footer);
    padding: 2rem 1.5rem;
    text-align: center;
}

.cv-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cv-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.cv-footer-links a:hover {
    color: var(--accent);
}

.cv-pdf-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.cv-pdf-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.cv-footer p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

/* Contact line — hidden on screen, shown in print */
.print-contact {
    display: none;
}

/* Button resets for .cta-button as <button> and .cv-pdf-link as <button> */
button.cta-button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

button.cv-pdf-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   PRINT STYLES — compact 2-page CV reference sheet
   Inspired by standard Word CV templates:
   tight header, brief profile, experience list,
   skills, education, personal details.
   ============================================ */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page {
        size: A4;
        margin: 12mm 16mm;
    }

    body {
        font-size: 9.5pt;
        line-height: 1.35;
        background: #fff;
        color: #222;
    }

    /* Disable all animations and reveals */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* ---- HIDE: website-only sections ---- */
    .scroll-progress,
    .site-nav,
    .colleague-tags,
    .photo-banner,
    .hero-ctas,
    .sprint-check,
    .how-i-work,
    .testimonial,
    .projects,
    .cv-footer,
    .vtl-chevron,
    .vtl-more,
    .vtl-tags,
    .vtl-icon,
    .avail-dot,
    .scenario-icon {
        display: none !important;
    }

    /* ---- SHOW: print-only contact line ---- */
    .print-contact {
        display: block !important;
        font-size: 8.5pt;
        color: #555;
        margin-top: 0.3rem;
        letter-spacing: 0.02em;
    }

    /* ---- GLOBAL SECTION RESET ---- */
    section,
    .bg-alt {
        background: none !important;
        padding: 0.4rem 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    section h2 {
        font-size: 11pt;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #2563eb;
        margin-bottom: 0.3rem;
        padding-bottom: 0.15rem;
        border-bottom: 1.5pt solid #2563eb;
    }

    /* ---- HERO: compact header row ---- */
    .hero {
        padding: 0 !important;
        min-height: auto !important;
        text-align: left;
        background: none !important;
    }

    .hero::before { display: none; }

    .hero-content {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 0 0.75rem;
        align-items: start;
    }

    .hero-photo {
        width: 60px;
        height: 60px;
        grid-row: 1 / 4;
    }

    .hero h1 {
        font-size: 18pt;
        color: #111;
        margin: 0;
        line-height: 1.1;
        order: 1;
    }

    .hero-label {
        font-size: 9pt;
        color: #2563eb;
        margin: 0.1rem 0 0;
        order: 2;
        font-weight: 600;
        background: none;
        border: none;
        padding: 0;
        border-radius: 0;
    }

    .availability-badge {
        display: none !important;
    }

    .tagline {
        font-size: 8.5pt;
        color: #333;
        margin: 0.25rem 0 0;
        order: 3;
        grid-column: 1 / -1;
    }

    .print-contact {
        order: 4;
        grid-column: 1 / -1;
    }

    /* ---- PROFILE: short paragraph ---- */
    .profile {
        padding: 0.3rem 0 !important;
        border-top: none;
    }

    .profile h2 {
        margin-top: 0.3rem;
    }

    .profile p {
        font-size: 9pt;
        line-height: 1.4;
        margin-bottom: 0.2rem;
        max-width: 100%;
        color: #222;
    }

    /* ---- EXPERIENCE: dense list ---- */
    .vtl {
        padding-left: 0;
        margin-top: 0.2rem;
    }

    .vtl::before,
    .vtl-dot {
        display: none;
    }

    .vtl-entry {
        margin-bottom: 0.35rem;
        page-break-inside: avoid;
    }

    .vtl-content {
        background: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0.35rem;
        border-bottom: 0.5pt solid #ddd;
    }

    .vtl-entry:last-child .vtl-content {
        border-bottom: none;
        padding-bottom: 0;
    }

    .vtl-expand-btn {
        cursor: default;
    }

    /* Company + period on one line */
    .vtl-header {
        padding-right: 0;
    }

    .vtl-header h3 {
        font-size: 10pt;
        font-weight: 700;
        color: #111;
    }

    .vtl-period {
        font-size: 8.5pt;
        color: #444;
    }

    .vtl-role {
        font-size: 8.5pt;
        font-weight: 600;
        color: #2563eb;
        margin: 0;
    }

    /* SM callout — the key content for each role */
    .vtl-scrum {
        font-size: 8.5pt;
        line-height: 1.4;
        margin-top: 0.15rem;
        padding-left: 0.5rem;
        border-left: 1.5pt solid #2563eb;
        color: #222;
    }

    /* Hide expanded technical details in print — keep it short */
    .vtl-expandable {
        display: none !important;
    }

    /* ---- SKILLS: inline chips ---- */
    .skills-grid {
        gap: 0.25rem;
        margin-bottom: 0.15rem;
    }

    .skill-chip {
        font-size: 7.5pt;
        padding: 0.1rem 0.45rem;
        border: 0.5pt solid #ccc;
        background: #f5f7fa;
        color: #333;
    }

    .skill-chip--ai {
        border-color: #a0bfff;
        background: #eef3ff;
        color: #1a3a7a;
    }

    .skills-group-label {
        font-size: 7pt;
        margin-top: 0.4rem;
        margin-bottom: 0.15rem;
    }

    .skills-group-label:first-of-type {
        margin-top: 0;
    }

    /* ---- CREDENTIALS: compact row ---- */
    .credentials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        margin-top: 0.2rem;
    }

    .cred-card {
        padding: 0.4rem 0.5rem;
        border: none;
        border-left: 2pt solid #2563eb;
        border-top: none;
        border-radius: 0;
        background: none;
    }

    .cred-card:hover {
        transform: none;
        box-shadow: none;
    }

    .cred-card h3 {
        font-size: 9pt;
        margin-bottom: 0;
    }

    .cred-card p {
        font-size: 8pt;
        margin: 0;
        color: #444;
    }

    .cred-org {
        font-size: 7.5pt;
        color: #666;
    }

    /* ---- PERSONAL DETAILS: compact grid ---- */
    .personal-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.2rem 1rem;
        margin-top: 0.2rem;
    }

    .personal-label {
        font-size: 7pt;
        margin-bottom: 0;
        color: #555;
    }

    .personal-value {
        font-size: 8.5pt;
        color: #222;
    }
}
