/* ══════════════════════════════════════════
   Page — Resume (Private)
   v29 — Kahina Flip

   Hero: full-screen Three.js pixel-flip
   Same engine as homepage hero.
   ══════════════════════════════════════════ */

/* ── Hero: full-screen Three.js container ── */
.resume-hero-flip,
#resume-hero-flip {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    background: #121212;
    cursor: crosshair;
}

.resume-hero-flip canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Header: white logo + white burger */
.page-resume .site-header {
    background: transparent;
}

.page-resume .site-header .logo-img {
    filter: none !important;
}

.page-resume .site-header .menu-toggle .bar {
    background: var(--kahina-dark-text) !important;
}

.page-resume.menu-open .site-header .logo-img {
    filter: brightness(0) !important;
}

.page-resume.menu-open .site-header .menu-toggle .bar {
    background: var(--kahina-primary) !important;
}

.page-resume .site-main {
    padding-top: 0;
}


/* ── Scroll indicator ── */
.resume-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.6s var(--kahina-ease);
}

.resume-scroll-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 248, 246, 0.35);
}

.resume-scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(248, 248, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.resume-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 248, 246, 0.6);
    animation: resumeScrollLine 1.8s var(--kahina-ease) infinite;
}

@keyframes resumeScrollLine {
    0%   { top: -100%; }
    100% { top: 100%; }
}


/* ══════════════════════════════════════════
   Experience
   ══════════════════════════════════════════ */
.resume-experience {
    padding: 120px 0;
    border-top: 1px solid var(--kahina-border);
}

.resume-job {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--kahina-border);
}

.resume-job:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.resume-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 16px;
}

.resume-job-title {
    font-family: var(--kahina-font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.resume-job-company {
    font-size: 0.95rem;
    color: var(--kahina-text-muted);
    margin-top: 4px;
}

.resume-job-date {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kahina-text-muted);
    white-space: nowrap;
    padding-top: 6px;
}

.resume-job-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kahina-text-muted);
    margin-bottom: 40px;
    max-width: 700px;
}

.resume-role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.resume-role-block h3 {
    font-family: var(--kahina-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--kahina-border);
}

.resume-role-block ul,
.resume-job-list {
    list-style: none;
    padding: 0;
}

.resume-role-block li,
.resume-job-list li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--kahina-text-muted);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.resume-role-block li::before,
.resume-job-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background: var(--kahina-text-muted);
}


/* Achievements & Skills now use process-timeline-section classes from process.css */


/* ══════════════════════════════════════════
   Education
   ══════════════════════════════════════════ */
.resume-education {
    padding: 120px 0;
    border-top: 1px solid var(--kahina-border);
}

.resume-edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 48px;
}

.resume-edu-title {
    font-family: var(--kahina-font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.resume-edu-field {
    font-size: 1rem;
    color: var(--kahina-text-muted);
    font-style: italic;
}

.resume-edu-school {
    font-size: 1rem;
    color: var(--kahina-text);
    margin-bottom: 4px;
}

.resume-edu-year {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kahina-text-muted);
}

.resume-edu-note {
    padding-top: 32px;
    border-top: 1px solid var(--kahina-border);
}

.resume-edu-note p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--kahina-text-muted);
    max-width: 800px;
}


/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .resume-edu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .resume-experience,
    .resume-education {
        padding: 80px 0;
    }

    .resume-job {
        margin-bottom: 48px;
        padding-bottom: 48px;
    }

    .resume-job-header {
        flex-direction: column;
        gap: 8px;
    }

    .resume-scroll-indicator {
        bottom: 20px;
    }
}


/* ══════════════════════════════════════════
   Education list (new long text)
   ══════════════════════════════════════════ */
.resume-edu-note p {
    margin-bottom: 1rem;
}

.resume-edu-note p:last-child {
    margin-bottom: 0;
}

.resume-edu-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    max-width: 800px;
}

.resume-edu-list li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--kahina-text-muted);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.resume-edu-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background: var(--kahina-text-muted);
}


/* ══════════════════════════════════════════
   How I Work — note section
   ══════════════════════════════════════════ */
.resume-note {
    padding: 120px 0;
    border-top: 1px solid var(--kahina-border);
}

.resume-note .section-heading {
    margin-bottom: 64px;
}

.resume-note-body {
    max-width: 820px;
}

.resume-note-lead {
    font-family: var(--kahina-font-display);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--kahina-text);
    margin-bottom: 32px;
}

.resume-note-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--kahina-text-muted);
    margin-bottom: 1.25rem;
}

.resume-note-body p strong {
    color: var(--kahina-text);
    font-weight: 700;
}

.resume-note-sign {
    margin-top: 32px !important;
    font-family: var(--kahina-font-display);
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--kahina-text) !important;
    line-height: 1.5 !important;
}

.resume-note-author {
    margin-top: 8px !important;
    font-family: var(--kahina-font-display);
    font-size: 1rem;
    color: var(--kahina-text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .resume-note {
        padding: 80px 0;
    }

    .resume-note .section-heading {
        margin-bottom: 40px;
    }
}


/* ══════════════════════════════════════════
   Print-only header — hidden on screen
   Revealed by resume-print.css at print time
   ══════════════════════════════════════════ */
.print-header {
    display: none !important;
}
