/* ═══ CV PAGE SPECIFIC ═══ */

/* Page Header */
.page-header {
    min-height: 42vh;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--border);
}

.ph-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.ph-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(212,160,23,.12);
    top: -30%;
    right: -5%;
}

.ph-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(108,43,217,.1);
    bottom: -20%;
    left: 5%;
}

.ph-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(108,43,217,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(108,43,217,.04) 1px,transparent 1px);
    background-size: 60px 60px;
}

#ph-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    pointer-events: none;
    opacity: .7;
}

.ph-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 3rem 4%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: flex-end;
}

.ph-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--fm);
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.2rem;
    animation: fadeUp .7s var(--ease) both;
}

    .ph-breadcrumb a {
        color: var(--muted);
        text-decoration: none;
        transition: color .2s;
    }

        .ph-breadcrumb a:hover {
            color: var(--purple-3);
        }

.ph-breadcrumb-sep {
    color: var(--border-2);
}

.ph-breadcrumb-cur {
    color: var(--gold-2);
}

.ph-num {
    font-family: var(--fm);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--purple-3);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    animation: fadeUp .7s .05s var(--ease) both;
}

    .ph-num::before {
        content: '';
        width: 18px;
        height: 1px;
        background: var(--purple-3);
    }

.ph-title {
    font-family: var(--fd);
    font-size: clamp(3rem,6vw,5.5rem);
    letter-spacing: .04em;
    line-height: .95;
    animation: fadeUp .8s .1s var(--ease) both;
}

    .ph-title em {
        font-family: var(--fb);
        font-style: italic;
        background: var(--g-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.ph-desc {
    font-size: .9rem;
    font-weight: 300;
    color: rgba(240,238,255,.45);
    line-height: 1.7;
    max-width: 480px;
    margin-top: .9rem;
    animation: fadeUp .8s .18s var(--ease) both;
}

.ph-download {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem 1.8rem;
    background: var(--g-gold);
    border: none;
    border-radius: 3px;
    font-family: var(--fs);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    cursor: none;
    transition: transform .25s,box-shadow .25s;
    animation: fadeUp .8s .22s var(--ease) both;
    white-space: nowrap;
}

    .ph-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(212,160,23,.4);
    }

/* Kinematic Scene */
#scene-cv-track {
    height: 320vh;
}

#scene-cv {
    background: var(--black-2);
}

.sc-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(108,43,217,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(108,43,217,.04) 1px,transparent 1px);
    background-size: 55px 55px;
}

.sc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.sc-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(212,160,23,.12);
    top: -20%;
    right: -10%;
}

.sc-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(108,43,217,.1);
    bottom: -15%;
    left: -5%;
}

#sc-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    pointer-events: none;
}

.sc-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 4%;
    max-width: 1000px;
}

.sc-bgword {
    font-family: var(--fd);
    font-size: clamp(6rem,16vw,16rem);
    letter-spacing: .08em;
    line-height: .85;
    background: linear-gradient(135deg,rgba(212,160,23,.18),rgba(108,43,217,.12));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
}

.sc-tag {
    font-family: var(--fm);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
}

    .sc-tag::before, .sc-tag::after {
        content: '';
        width: 22px;
        height: 1px;
        background: var(--gold-2);
    }

.sc-quote {
    font-family: var(--fb);
    font-style: italic;
    font-size: clamp(1.4rem,3vw,2.6rem);
    color: var(--white);
    line-height: 1.4;
    max-width: 780px;
    margin: 0 auto;
}

    .sc-quote em {
        color: var(--gold-2);
        font-style: normal;
    }

.sc-line {
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--gold),transparent);
    margin: 1.4rem auto 0;
    width: 0;
}

/* CV Body */
.cv-section {
    position: relative;
    z-index: 2;
    padding: 8rem 4%;
}

.cv-inner {
    max-width: 1260px;
    margin: 0 auto;
}

.cv-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

/* Timeline */
.tl-block {
    margin-bottom: 4rem;
}

.tl-block-title {
    font-family: var(--fd);
    font-size: 1.5rem;
    letter-spacing: .06em;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}

    .tl-block-title::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--g-full);
        flex-shrink: 0;
    }

.timeline {
    position: relative;
    padding-left: 1.6rem;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: 6px;
        bottom: 0;
        width: 1.5px;
        background: linear-gradient(180deg,var(--purple),var(--blue),rgba(108,43,217,.1));
    }

.tl-item {
    position: relative;
    margin-bottom: 2.2rem;
    padding-left: 1.4rem;
}

    .tl-item::before {
        content: '';
        position: absolute;
        left: -1.6rem;
        top: 5px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: var(--black);
        border: 2px solid var(--border-2);
        transition: border-color .3s,background .3s;
    }

    .tl-item:hover::before {
        border-color: var(--gold-2);
        background: var(--gold-2);
    }

.tl-period {
    font-family: var(--fm);
    font-size: .68rem;
    letter-spacing: .1em;
    color: var(--gold-2);
    margin-bottom: .3rem;
}

.tl-title {
    font-family: var(--fd);
    font-size: 1.05rem;
    letter-spacing: .04em;
    margin-bottom: .2rem;
}

.tl-org {
    font-family: var(--fm);
    font-size: .75rem;
    color: var(--purple-3);
    margin-bottom: .5rem;
}

.tl-desc {
    font-size: .84rem;
    font-weight: 300;
    color: rgba(240,238,255,.48);
    line-height: 1.7;
}

.tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .6rem;
}

.tltag {
    padding: .2rem .55rem;
    border-radius: 3px;
    font-family: var(--fm);
    font-size: .62rem;
    background: rgba(108,43,217,.14);
    color: var(--purple-3);
    border: 1px solid rgba(108,43,217,.25);
}

/* Sidebar */
.cv-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sb-card {
    background: var(--black-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
}

    .sb-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--g-full);
    }

.sb-title {
    font-family: var(--fd);
    font-size: 1rem;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}

.lang-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .7rem;
}

.lang-name {
    font-size: .85rem;
    font-family: var(--fs);
    font-weight: 500;
}

.lang-dots {
    display: flex;
    gap: 3px;
}

.ldot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.lf {
    background: var(--gold-2);
}

.le {
    background: rgba(255,255,255,.1);
}

.award-item {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin-bottom: .9rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--border);
}

    .award-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.award-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

.award-title {
    font-family: var(--fd);
    font-size: .88rem;
    letter-spacing: .03em;
    margin-bottom: .15rem;
}

.award-org {
    font-family: var(--fm);
    font-size: .65rem;
    color: var(--muted);
}

.cert-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
}

    .cert-item:last-child {
        border-bottom: none;
    }

.cert-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--purple-3);
    flex-shrink: 0;
}

.dl-card {
    background: var(--black-3);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    padding: 1.6rem;
    text-align: center;
}

.dl-card-title {
    font-family: var(--fd);
    font-size: 1.1rem;
    letter-spacing: .05em;
    margin-bottom: .4rem;
}

.dl-card-sub {
    font-size: .8rem;
    font-weight: 300;
    color: rgba(240,238,255,.4);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    background: var(--g-gold);
    border: none;
    border-radius: 3px;
    font-family: var(--fs);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--black);
    cursor: none;
    text-decoration: none;
    transition: transform .2s,box-shadow .2s;
    width: 100%;
    justify-content: center;
}

    .dl-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(212,160,23,.35);
    }

/* CV Responsive */
@media(max-width:1000px) {
    .cv-layout {
        grid-template-columns: 1fr;
    }

    .cv-sidebar {
        position: static;
    }
}

@media(max-width:768px) {
    .ph-inner {
        grid-template-columns: 1fr;
    }

    .ph-download {
        display: none;
    }
}