/* ─────────────────────────────────────────
   CV PAGE
   Loaded after style.css — same tokens,
   fonts and grain. A quiet, printable record.
   ───────────────────────────────────────── */

.cv-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 9rem 2rem 6rem;
}

/* Header ------------------------------------------------ */
.cv-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: end;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid var(--ghost);
}

.cv-name {
    font-family: var(--brooklyn);
    font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 0.92;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
}

.cv-role {
    margin-top: 1rem;
    font-family: var(--kurdis);
    font-variation-settings: 'wght' 18;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mid);
}

.cv-meta {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--meta);
    line-height: 1.7;
}

.cv-download {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
}

.cv-download-more {
    font-family: var(--kurdis);
    font-variation-settings: 'wght' 16;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--meta);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s;
}

.cv-download-more:hover {
    color: var(--white);
}

.cv-download a {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--ghost);
    font-family: var(--kurdis);
    font-variation-settings: 'wght' 18;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s, border-color 0.25s;
}

.cv-download a:hover {
    color: var(--white);
    border-color: var(--white);
}

/* Intro prose ------------------------------------------- */
.cv-intro {
    max-width: 60ch;
    margin: 3rem 0 1rem;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.65;
    letter-spacing: 0.005em;
    color: var(--white);
}

/* Sections ---------------------------------------------- */
.cv-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--ghost);
}

.cv-section-label {
    font-family: var(--kurdis);
    font-variation-settings: 'wght' 16;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--meta);
    padding-top: 0.35rem;
}

.cv-entries {
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
}

/* A single filmography / education row ------------------- */
.cv-entry {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1.4rem;
    align-items: baseline;
}

.cv-year {
    font-family: var(--kurdis);
    font-variation-settings: 'wght' 14;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--meta);
    white-space: nowrap;
}

.cv-title {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.35;
    letter-spacing: 0.005em;
    color: var(--white);
}

.cv-title .cv-alt {
    font-weight: 300;
    font-size: 0.92rem;
    color: var(--meta);
}

.cv-detail {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--mid);
}

.cv-role-line {
    margin-top: 0.2rem;
    font-family: var(--kurdis);
    font-variation-settings: 'wght' 16;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--meta);
}

.cv-awards {
    margin-top: 0.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cv-awards li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--mid);
}

.cv-awards li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 14px;
    height: 1px;
    background: var(--ghost);
}

/* Memberships reuse credential look but locally scoped --- */
.cv-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cv-list li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--mid);
}

.cv-list a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--ghost);
    transition: color 0.25s, border-color 0.25s;
}

.cv-list a:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* Biography prose --------------------------------------- */
.cv-bio {
    max-width: 60ch;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cv-bio p {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--mid);
}

.cv-section:last-of-type {
    border-bottom: 0;
}

/* Responsive -------------------------------------------- */
@media (max-width: 720px) {
    .cv-main { padding: 7rem 1.4rem 4rem; }
    .cv-head { grid-template-columns: 1fr; gap: 1.6rem; align-items: start; }
    .cv-download { justify-self: start; align-items: flex-start; max-width: 100%; }
    .cv-download a, .cv-download-more { white-space: normal; }   /* German label is wider than a phone */
    .cv-section { grid-template-columns: 1fr; gap: 1rem; padding: 2.2rem 0; }
    .cv-entry { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* Print — the downloadable PDF. Keeps the site's black theme (on-brand),
   not a white paper sheet. Backgrounds are forced to render. ----------- */
@media print {
    /* Vertical page margins live on @page so every sheet — not just the first —
       keeps clear of the paper edge. The root html background propagates to the
       whole page canvas in print, so these margins stay black, not white. */
    @page { margin: 14mm 0; }

    html, body {
        background: #070707 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    body { color: var(--white); font-size: 10pt; line-height: 1.5; }

    nav, footer, .lang-switch, .cv-download, .skip-link, body::after { display: none !important; }

    .cv-main { max-width: none; margin: 0; padding: 0 18mm; }

    .cv-head { padding-bottom: 0.7rem; }
    .cv-name { font-size: 30pt; line-height: 1.02; letter-spacing: 0.05em; }
    .cv-role { margin-top: 0.6rem; font-size: 8pt; }
    .cv-meta { margin-top: 0.3rem; font-size: 8.5pt; line-height: 1.45; }

    .cv-intro { margin: 1rem 0 0.4rem; font-size: 9.5pt; line-height: 1.6; max-width: 72ch; }
    .cv-bio { max-width: 72ch; gap: 0.5rem; }
    .cv-bio p { font-size: 9.5pt; line-height: 1.62; margin-bottom: 0.5rem; }

    /* Biography gets its own clean page — a deliberate press sheet */
    .cv-section--bio {
        break-before: page;
        border-bottom: 0;
        padding-top: 2mm;
    }

    .cv-section {
        grid-template-columns: 110px 1fr;
        gap: 1.2rem;
        padding: 0.8rem 0;
        break-inside: avoid;
    }
    /* The television section is taller than a page; forcing it whole would
       strand it on its own sheet. Let it break between entries instead —
       each .cv-entry already carries break-inside: avoid. */
    .cv-section--tall { break-inside: auto; }
    .cv-section-label { font-size: 8pt; padding-top: 0.15rem; }

    .cv-entries { gap: 0.65rem; }
    .cv-entry { grid-template-columns: 64px 1fr; gap: 0.8rem; break-inside: avoid; }
    .cv-year { font-size: 8.5pt; }
    .cv-title { font-size: 11pt; line-height: 1.2; }
    .cv-title .cv-alt { font-size: 9pt; }
    .cv-detail { margin-top: 0.1rem; font-size: 8.5pt; line-height: 1.4; }
    .cv-role-line { margin-top: 0.1rem; font-size: 7.5pt; }
    .cv-awards { margin-top: 0.2rem; }
    .cv-awards li { font-size: 8pt; line-height: 1.35; padding-left: 0.9rem; }
    .cv-awards li::before { top: 0.6em; width: 10px; }

    .cv-list { gap: 0.4rem; }
    .cv-list li { font-size: 8.5pt; line-height: 1.4; }
}

/* Film titles linking to IMDb — subtle, inherits the title look */
.cv-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(237, 234, 228, 0.18);
    transition: border-color 0.3s, color 0.3s;
}
.cv-link:hover {
    border-bottom-color: rgba(237, 234, 228, 0.6);
}
