/* ==================================================
   BIOGRAPHY / ARTIST CV
   ================================================== */

.artist-cv {
    --cv-text: #d6d6d6;
    --cv-heading: #f2f0ec;
    --cv-muted: #858585;
    --cv-soft: #a7a7a7;
    --cv-line: rgba(255, 255, 255, 0.12);
    --cv-line-strong: rgba(255, 255, 255, 0.22);

    width: 100%;
    color: var(--cv-text);

    font-family: 'Oswald', sans-serif;
}

.artist-cv,
.artist-cv *,
.artist-cv *::before,
.artist-cv *::after {
    box-sizing: border-box;
}


/* =========================
   SECTIONS
   ========================= */

.cv-section {
    position: relative;
    padding-bottom: 60px;
    margin-bottom: 46px;
    border-bottom: 1px solid var(--cv-line);
}

.cv-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.cv-section-number {
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 400;
    line-height: 1;

    letter-spacing: 0.2em;
    color: var(--cv-muted);
}

.cv-heading {
    margin: 0 0 34px;

    font-size: clamp(20px, 1.65vw, 28px);
    font-weight: 400;
    line-height: 1.25;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--cv-heading);
}


/* =========================
   SUBHEADINGS
   ========================= */

.cv-subheading {
    margin: 30px 0 12px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #bdbdbd;
}

.cv-subheading:first-child {
    margin-top: 0;
}


/* =========================
   EDUCATION TIMELINE
   ========================= */

.cv-timeline {
    position: relative;
}

.cv-timeline::before {
    content: "";
    position: absolute;

    top: 6px;
    bottom: 6px;
    left: 132px;

    width: 1px;
    background: var(--cv-line-strong);
}

.cv-timeline-row {
    position: relative;

    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    column-gap: 70px;

    padding-bottom: 28px;
}

.cv-timeline-row:last-child {
    padding-bottom: 0;
}

.cv-timeline-year {
    font-size: 27px;
    font-weight: 300;
    line-height: 1.15;

    letter-spacing: -0.02em;
    color: var(--cv-muted);
}

.cv-timeline-content {
    position: relative;

    padding-top: 1px;

    font-size: 15px;
    line-height: 1.65;

    color: #b8b8b8;
}

.cv-timeline-content::before {
    content: "";

    position: absolute;
    top: 9px;
    left: -46px;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #969696;
}


/* =========================
   CV ROWS
   ========================= */

.cv-list {
    width: 100%;
}

.cv-row {
    display: grid;
    grid-template-columns:
        86px
        minmax(260px, 1.35fr)
        minmax(220px, 1fr);

    column-gap: 30px;
    align-items: start;

    padding: 14px 0;

    border-bottom: 1px solid var(--cv-line);
}

.cv-row:last-child {
    border-bottom: 0;
}

.cv-year {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;

    color: var(--cv-muted);
}

.cv-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    letter-spacing: 0.055em;
    text-transform: uppercase;

    color: #d7d7d7;
}

.cv-title em {
    font-style: italic;
}

.cv-subtitle {
    display: block;

    margin-top: 4px;

    font-size: 13px;
    line-height: 1.5;

    letter-spacing: 0;
    text-transform: none;

    color: #969696;
}

.cv-place {
    font-size: 14px;
    line-height: 1.55;

    color: #999;
}


/* =========================
   COMPACT ROWS
   ========================= */

.cv-row.cv-compact {
    grid-template-columns: 86px minmax(0, 1fr);
}

.cv-row.cv-compact .cv-place {
    grid-column: 2;
    margin-top: 3px;
}


/* =========================
   PROJECT BLOCK
   ========================= */

.cv-project {
    margin-bottom: 22px;
}

.cv-project-title {
    margin-bottom: 4px;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #ddd;
}

.cv-project-role {
    margin-bottom: 18px;

    font-size: 13px;
    line-height: 1.5;

    color: var(--cv-muted);
}


/* =========================
   EXPANDABLE GROUP HISTORY
   ========================= */

.cv-extra {
    display: none;
}

.artist-cv.cv-expanded .cv-extra {
    display: grid;
}

.cv-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 28px;
    padding: 18px 22px;

    border: 1px solid rgba(255, 255, 255, 0.32);
    background: transparent;

    color: #ddd;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.cv-toggle:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.025);
}

.cv-toggle-label {
    flex: 1;

    text-align: center;

    font-size: 11px;
    line-height: 1.3;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cv-toggle-icon {
    position: relative;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;
}

.cv-toggle-icon::before,
.cv-toggle-icon::after {
    content: "";

    position: absolute;
    background: #ccc;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.cv-toggle-icon::before {
    top: 8px;
    left: 2px;

    width: 14px;
    height: 1px;
}

.cv-toggle-icon::after {
    top: 2px;
    left: 8px;

    width: 1px;
    height: 14px;
}

.artist-cv.cv-expanded .cv-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.cv-note {
    max-width: 680px;

    margin-top: 16px;

    font-size: 12px;
    line-height: 1.6;

    color: #707070;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1024px) {

    .cv-section {
        padding-bottom: 50px;
        margin-bottom: 40px;
    }

    .cv-row {
        grid-template-columns:
            72px
            minmax(210px, 1.15fr)
            minmax(180px, 0.9fr);

        column-gap: 22px;
    }

    .cv-timeline::before {
        left: 114px;
    }

    .cv-timeline-row {
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 58px;
    }

    .cv-timeline-content::before {
        left: -38px;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .cv-section {
        padding-bottom: 38px;
        margin-bottom: 34px;
    }

    .cv-section-number {
        margin-bottom: 9px;
        font-size: 11px;
    }

    .cv-heading {
        margin-bottom: 25px;

        font-size: 18px;
        line-height: 1.45;

        letter-spacing: 0.12em;
    }


    /* Timeline */

    .cv-timeline::before {
        left: 4px;
    }

    .cv-timeline-row {
        display: block;

        padding-left: 28px;
        padding-bottom: 27px;
    }

    .cv-timeline-year {
        margin-bottom: 7px;

        font-size: 21px;
    }

    .cv-timeline-content {
        font-size: 14px;
        line-height: 1.55;
    }

    .cv-timeline-content::before {
        top: -27px;
        left: -28px;

        width: 9px;
        height: 9px;
    }


    /* CV rows */

    .cv-row,
    .cv-row.cv-compact {
        display: grid;
        grid-template-columns: 1fr;

        row-gap: 5px;

        padding: 17px 0;
    }

    .cv-row.cv-compact .cv-place {
        grid-column: auto;
    }

    .cv-year {
        margin-bottom: 2px;

        font-size: 20px;
    }

    .cv-title {
        font-size: 13px;
        line-height: 1.5;
    }

    .cv-subtitle {
        font-size: 12px;
    }

    .cv-place {
        margin-top: 1px;

        font-size: 12px;
        line-height: 1.5;

        color: #777;
    }

    .cv-subheading {
        margin-top: 26px;
        font-size: 11px;
    }


    /* Button */

    .cv-toggle {
        padding: 15px 14px;
    }

    .cv-toggle-label {
        font-size: 9px;
        letter-spacing: 0.14em;
    }

}
/* =========================================
   COMPLETE EXHIBITION HISTORY — NO JS
   ========================================= */

.cv-history-details {
    width: 100%;
    margin-top: 0;
}

.cv-history-details summary {
    list-style: none;
}

.cv-history-details summary::-webkit-details-marker {
    display: none;
}

.cv-history-content {
    width: 100%;
}

/* BUTTON */

.cv-history-toggle {
    width: 100%;
    margin-top: 28px;
    padding: 18px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border: 1px solid rgba(255,255,255,.32);

    background: transparent;
    color: #ddd;

    cursor: pointer;

    transition:
        border-color .25s ease,
        background-color .25s ease;
}

.cv-history-toggle:hover {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.025);
}

.cv-history-label {
    flex: 1;

    text-align: center;

    font-size: 11px;
    line-height: 1.3;

    letter-spacing: .22em;
    text-transform: uppercase;
}


/* PLUS ICON */

.cv-history-icon {
    position: relative;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;
}

.cv-history-icon::before,
.cv-history-icon::after {
    content: "";

    position: absolute;

    background: #ccc;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.cv-history-icon::before {
    width: 14px;
    height: 1px;

    left: 2px;
    top: 8px;
}

.cv-history-icon::after {
    width: 1px;
    height: 14px;

    left: 8px;
    top: 2px;
}


/* WHEN OPEN */

.cv-history-details[open] .cv-history-icon::after {
    opacity: 0;
    transform: rotate(90deg);
}

.cv-history-details[open] .cv-history-toggle {
    border-color: rgba(255,255,255,.5);
}


/* CHANGE TEXT */

.cv-history-hide {
    display: none;
}

.cv-history-details[open] .cv-history-show {
    display: none;
}

.cv-history-details[open] .cv-history-hide {
    display: inline;
}


/* MOBILE */

@media (max-width:767px) {

    .cv-history-toggle {
        padding: 15px 14px;
    }

    .cv-history-label {
        font-size: 9px;
        letter-spacing: .14em;
    }

}

