/* About me / CV page (about.html): who made Leafstats, the teams worked for, what the site does and how to get in touch.
   Uses the variables of index.css. Printing (the "Save as PDF" button) gives a light, one-column CV: see the end of the file. */

.cv-page {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 48px var(--pad) 96px;
    overflow-x: clip; /* (the glow behind the photo reaches past the edge: no sideways scroll for it) */
}

.cv-page .eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}

/* ---------- the top: name, line, buttons, facts - and the photo ---------- */

.cv-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 56px;
    align-items: center;
}

/* (a soft green light behind the photo) */
.cv-hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -60px;
    width: 560px;
    height: 560px;
    background: radial-gradient(closest-side, rgba(174, 232, 117, 0.13), transparent);
    pointer-events: none;
    z-index: -1;
}

/* ---------- first of all: looking for a team, and where to DM (a green band above everything else) ---------- */

/* (the headline and its line on the left, "DM me" and its two buttons stacked on the right, both in the middle of the band's height) */
.cv-lft {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 48px;
    margin-bottom: 56px;
    padding: 34px 40px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #bdf08c, #a2df66);
    color: var(--primary-ink);
    box-shadow: 0 24px 60px -32px rgba(174, 232, 117, 0.6);
}

.cv-lft-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(16, 21, 7, 0.72);
}

.cv-lft .cv-dot {
    background: var(--primary-ink);
}

.cv-lft .cv-dot::after {
    border-color: var(--primary-ink);
}

.cv-lft-title {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: clamp(40px, 4.9vw, 72px); /* (one line beside the buttons from about 1000 px wide; two even lines when narrower) */
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-wrap: balance;
}

.cv-lft-dm {
    display: grid;
    gap: 10px;
    min-width: 270px;
}

.cv-lft-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(16, 21, 7, 0.72);
}

.cv-lft-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--primary-ink);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--fast) var(--ease), background var(--fast) var(--ease);
}

.cv-lft-btn:hover {
    transform: translateY(-1px);
    background: #1f2a12;
}

.cv-lft-btn:focus-visible {
    outline: 3px solid var(--primary-ink);
    outline-offset: 3px;
}

.cv-lft-btn svg {
    flex: none;
}

.cv-lft-btn .cv-copied {
    margin-left: auto;
}

/* (read out, not shown: which site a DM button is for - the logo says it on screen) */
.cv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* (narrower - below where the line over the headline (about 420 px) and the headline still fit beside the buttons: the buttons go under
   the headline, side by side, and the headline takes the whole width; on a phone the buttons go one under the other) */
@media (max-width: 940px) {
    .cv-lft {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-lft-title {
        font-size: clamp(40px, 7vw, 64px);
    }

    .cv-lft-dm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .cv-lft-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .cv-lft {
        margin-bottom: 36px;
        padding: 24px 20px;
    }

    /* (the line over the headline in two whole parts: "Analyst · 2027 season" / "open to all regions", the dot by the first) */
    .cv-lft-kicker {
        align-items: flex-start;
        line-height: 1.5;
    }

    .cv-lft-kicker .cv-dot {
        margin-top: 5px;
    }

    .cv-lft-sep {
        display: none;
    }

    .cv-lft-more {
        display: block;
    }

    .cv-lft-dm {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ("Copy" on a Discord button: "Copied" after a click) */
.cv-copied {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(174, 232, 117, 0.16);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.is-copied .cv-copied {
    background: var(--primary);
    color: var(--primary-ink);
}

.cv-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    flex: none;
}

.cv-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: cv-ping 2.2s var(--ease) infinite;
}

@keyframes cv-ping {
    0% { transform: scale(0.6); opacity: 0.8; }
    80%, 100% { transform: scale(1.5); opacity: 0; }
}

.cv-name {
    font-family: var(--font-display);
    font-size: clamp(56px, 9vw, 108px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.01em;
}

.cv-realname {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dim);
}

.cv-lead {
    max-width: 62ch;
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dim);
}

.cv-lead strong {
    color: var(--text);
}

.cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.cv-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, max-content));
    gap: 12px 40px;
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.cv-facts dt {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cv-facts dd {
    margin: 4px 0 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.cv-photo {
    position: relative;
    margin: 0;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface-3);
    border: 1px solid rgba(174, 232, 117, 0.35);
    box-shadow: var(--shadow-lg), 0 0 0 6px rgba(174, 232, 117, 0.05);
}

.cv-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.cv-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 40px 18px 16px;
    background: linear-gradient(transparent, rgba(8, 10, 15, 0.92));
    font-size: 14px;
    font-weight: 700;
}

.cv-photo figcaption span {
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--primary);
    color: var(--primary-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- the four numbers ---------- */

.cv-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 56px;
}

.cv-stat {
    padding: 20px 20px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.cv-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
    line-height: 1;
    color: var(--primary);
}

.cv-stat strong small {
    font-size: 0.55em;
    margin-left: 2px;
    color: var(--text-dim);
}

.cv-stat span {
    display: block;
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--text-dim);
}

/* ---------- sections ---------- */

.cv-section {
    margin-top: 88px;
    scroll-margin-top: 90px;
}

.cv-section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.cv-section-head h2,
.cv-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.cv-section-head > p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ---------- experience: a line of badges, a card each ---------- */

.cv-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cv-job {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
}

/* (the line from one badge to the next) */
.cv-job:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 62px;
    bottom: -14px;
    width: 2px;
    background: linear-gradient(var(--border-strong), var(--border));
}

.cv-job-badge {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #000;
    border: 1px solid var(--border-strong);
    font-family: var(--font-display);
    font-size: 19px;
    letter-spacing: 0.02em;
    color: #fff;
}

.cv-job:first-child .cv-job-badge {
    border-color: rgba(174, 232, 117, 0.6);
    box-shadow: var(--primary-glow);
}

.cv-job-badge--x { background: rgba(77, 163, 255, 0.12); color: var(--blue); border-color: rgba(77, 163, 255, 0.4); }
.cv-job-badge--r { background: rgba(108, 92, 231, 0.16); color: #a99bff; border-color: rgba(108, 92, 231, 0.45); }
.cv-job-badge--leaf { background: var(--primary-soft); border-color: rgba(174, 232, 117, 0.4); }
.cv-job-badge--leaf img { width: 26px; height: auto; }

.cv-job-body {
    padding: 20px 24px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.cv-job-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
}

.cv-job-top h3 {
    font-size: 20px;
    font-weight: 800;
}

.cv-job-top h3 span {
    font-weight: 600;
    color: var(--text-dim);
}

.cv-when {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text);
    white-space: nowrap;
}

.cv-where {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.cv-points {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cv-points li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dim);
}

.cv-points li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
}

.cv-points strong {
    color: var(--text);
}

/* ---------- what the site does ---------- */

.cv-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cv-feature {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--fast) var(--ease);
}

.cv-feature:hover {
    border-color: rgba(174, 232, 117, 0.3);
}

.cv-feature h3 {
    font-size: 17px;
    font-weight: 800;
}

.cv-feature > p:not(.cv-tags) {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
}

.cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
}

.cv-tags span,
.cv-tags a {
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.cv-tags span {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.cv-tags a {
    background: var(--primary-soft);
    border: 1px solid rgba(174, 232, 117, 0.35);
    color: var(--primary);
    transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.cv-tags a:hover {
    background: rgba(174, 232, 117, 0.18);
    border-color: rgba(174, 232, 117, 0.6);
}

.cv-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.cv-tag-key {
    width: 12px;
    height: 12px;
    flex: none;
    border-radius: 3px;
    background: var(--primary-soft);
    border: 1px solid rgba(174, 232, 117, 0.6);
}

/* ---------- the video ---------- */

.cv-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.cv-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
}

/* ---------- what a team gets ---------- */

.cv-skills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cv-skills li {
    position: relative;
    padding: 20px 20px 20px 54px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

/* (a green tick in front of each) */
.cv-skills li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 22px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aee875' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
    border: 1px solid rgba(174, 232, 117, 0.4);
}

.cv-skills h3 {
    font-size: 16px;
    font-weight: 800;
}

.cv-skills p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

/* ---------- get in touch ---------- */

.cv-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 48px;
    align-items: center;
    margin-top: 88px;
    padding: 36px 40px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(174, 232, 117, 0.4);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(174, 232, 117, 0.14), transparent 60%),
        var(--surface);
}

.cv-cta p:not(.eyebrow) {
    max-width: 52ch;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dim);
}

.cv-cta-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.cv-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cv-socials:empty {
    display: none;
}

.cv-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}

.cv-social:hover {
    color: var(--primary);
    border-color: rgba(174, 232, 117, 0.5);
    background: var(--primary-soft);
}

.cv-social svg {
    width: 18px;
    height: 18px;
}

.cv-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* (on paper only: where the page and the video are) */
.cv-print-only {
    display: none;
}

.cv-cta p.cv-print-only {
    margin-top: 12px;
    font-weight: 700;
    color: var(--text);
}

/* ---------- smaller screens ---------- */

@media (max-width: 1100px) {
    .cv-features,
    .cv-skills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .cv-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
    }

    .cv-photo {
        height: 400px;
    }

    .cv-facts {
        gap: 12px 28px;
    }

    .cv-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-cta-links,
    .cv-socials,
    .cv-cta-buttons {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

/* (one column: the photo on top, as a banner, then the name) */
@media (max-width: 760px) {
    .cv-page {
        padding-top: 28px;
    }

    .cv-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .cv-photo {
        order: -1;
        height: min(340px, 82vw);
        width: 100%;
        max-width: 460px;
    }

    .cv-hero::before {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 420px;
        height: 420px;
    }

    .cv-features,
    .cv-skills {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-section,
    .cv-cta {
        margin-top: 64px;
    }

    .cv-cta {
        padding: 26px 22px;
    }
}

@media (max-width: 560px) {
    .cv-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
    }

    .cv-actions .btn {
        flex: 1 1 auto;
    }

    .cv-lead {
        font-size: 16px;
    }

    /* (no room for the badges beside the cards: the card's own title names the team) */
    .cv-job {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-job:not(:last-child)::before,
    .cv-job-badge {
        display: none;
    }

    .cv-job-body {
        padding: 18px;
    }

    .cv-job-top h3 {
        font-size: 18px;
    }

    .cv-highlights {
        gap: 10px;
    }

    .cv-stat {
        padding: 16px;
    }
}

@media (max-width: 340px) {
    .cv-highlights {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- printing / "Save as PDF": a light one-page-wide CV without the menu, buttons or video ---------- */

@media print {
    :root {
        --bg: #fff;
        --surface: #fff;
        --surface-2: #f3f5f7;
        --surface-3: #eef1f4;
        --border: #d9dee5;
        --border-strong: #c9d0d8;
        --text: #10141b;
        --text-dim: #333a46;
        --text-muted: #5b6372;
        --primary: #3d7d12;
        --primary-soft: #eef7e5;
    }

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

    .cv-print-only {
        display: block !important;
    }

    /* (a heading is never the last thing on a page, away from what it is the heading of) */
    .cv-section-head {
        break-after: avoid;
        break-inside: avoid;
    }

    .cv-photo figcaption {
        display: none;
    }

    html,
    body {
        background: #fff !important;
        color: var(--text) !important;
    }

    .nav,
    .mobile-menu,
    .footer,
    .tour-help,
    .cv-actions,
    .cv-dot,
    #video,
    .cv-note,
    .cv-cta-buttons,
    .cv-hero::before {
        display: none !important;
    }

    .cv-page {
        max-width: none;
        padding: 0;
    }

    .cv-hero {
        grid-template-columns: minmax(0, 1fr) 150px;
        gap: 24px;
    }

    .cv-photo {
        order: 0;
        height: 200px;
        box-shadow: none;
    }

    .cv-name {
        font-size: 54px;
    }

    /* (the band at the top: a green frame on paper, the DM names as plain text) */
    .cv-lft {
        margin-bottom: 18px;
        padding: 12px 18px 14px;
        gap: 8px 24px;
        border: 2px solid var(--primary);
        background: none;
        box-shadow: none;
        color: var(--text);
        break-inside: avoid;
    }

    .cv-lft-title {
        margin-top: 4px;
        font-size: 36px;
        color: var(--primary);
    }

    .cv-lft-btn {
        min-height: 0;
        padding: 0;
        background: none;
        color: var(--text);
        font-size: 13px;
    }

    .cv-lft-dm {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 22px;
        min-width: 0;
    }

    .cv-lft-btn {
        width: auto;
    }

    .cv-copied {
        display: none;
    }

    .cv-lead {
        font-size: 12.5px;
        margin-top: 10px;
    }

    .cv-section-head > p:not(.eyebrow),
    .cv-cta p:not(.eyebrow) {
        font-size: 12.5px;
        margin-top: 6px;
    }

    .cv-timeline {
        gap: 8px;
    }

    .cv-job {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
    }

    .cv-job:not(:last-child)::before {
        left: 19px;
        top: 44px;
        bottom: -8px;
    }

    .cv-job-badge {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 14px;
    }

    .cv-job-badge--leaf img {
        width: 18px;
    }

    .cv-job-body {
        padding: 12px 16px;
    }

    .cv-job-top h3 {
        font-size: 15px;
    }

    .cv-points {
        margin-top: 8px;
        gap: 4px;
    }

    .cv-points li {
        font-size: 12px;
    }

    .cv-feature {
        padding: 12px 14px;
    }

    .cv-feature h3,
    .cv-skills h3 {
        font-size: 13.5px;
    }

    .cv-feature > p:not(.cv-tags),
    .cv-skills p {
        font-size: 11.5px;
        margin-top: 4px;
    }

    .cv-tags {
        padding-top: 8px;
        gap: 4px;
    }

    .cv-tags span,
    .cv-tags a {
        padding: 2px 6px;
        font-size: 10px;
    }

    .cv-skills li {
        padding: 12px 12px 12px 40px;
    }

    .cv-skills li::before {
        left: 13px;
        top: 13px;
        width: 17px;
        height: 17px;
    }

    .cv-facts {
        margin-top: 14px;
        padding-top: 10px;
    }

    .cv-highlights {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 20px;
        gap: 8px;
    }

    .cv-stat {
        padding: 10px 12px;
    }

    .cv-stat strong {
        font-size: 28px;
    }

    .cv-section,
    .cv-cta {
        margin-top: 26px;
    }

    .cv-section-head {
        margin-bottom: 12px;
    }

    .cv-section-head h2,
    .cv-cta h2 {
        font-size: 24px;
    }

    .cv-job,
    .cv-feature,
    .cv-skills li,
    .cv-stat,
    .cv-cta {
        break-inside: avoid;
        box-shadow: none;
    }

    .cv-job-badge {
        background: #fff;
        color: var(--text);
        box-shadow: none !important;
    }

    .cv-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cv-skills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cv-cta {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px 20px;
        background: #fff;
    }

    .cv-cta-links {
        align-items: flex-start;
    }

    .cv-socials {
        justify-content: flex-start;
    }

    a {
        color: inherit;
    }
}
