:root {
            --deepblue: #344979;
            --periwinkle: #5d6da5;
            --lavender: #9896bb;
            --pale-lavender: #c6c6e8;
            --blush: #f7e5eb;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Work Sans', sans-serif;
            background: var(--blush);
            color: var(--deepblue);
            min-height: 100vh;
            padding: 40px 20px;
        }

        .ribbon {
            position: fixed;
            left: -10px;
            top: 100px;
            background: var(--deepblue);
            color: var(--blush);
            padding: 0.75rem 1.5rem 0.75rem 1.25rem;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 600;
            box-shadow: 4px 4px 15px rgba(52, 73, 121, 0.3);
            z-index: 1000;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 15px, 100% 100%, 0 100%);
        }

        .ribbon:hover {
            background: var(--periwinkle);
            left: 0;
            box-shadow: 8px 6px 25px rgba(52, 73, 121, 0.4);
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 50px rgba(52, 73, 121, 0.15);
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, var(--deepblue) 0%, var(--periwinkle) 100%);
            color: white;
            padding: 60px 40px;
            text-align: center;
        }

        .header h1 {
            font-family: 'DM Serif Display', serif;
            font-size: 2.5em;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .header p {
            font-size: 1.2em;
            opacity: 0.95;
        }

        .content {
            padding: 50px 40px;
        }

        .section {
            margin-bottom: 50px;
        }

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

        .section-title {
            font-family: 'DM Serif Display', serif;
            font-size: 1.8em;
            color: var(--deepblue);
            margin-bottom: 20px;
            font-weight: 700;
            border-bottom: 3px solid var(--periwinkle);
            padding-bottom: 10px;
        }

        .about-text {
            color: var(--deepblue);
            line-height: 1.8;
            font-size: 1.05em;
            opacity: 0.85;
        }

        .skills-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 12px;
            margin-top: 20px;
        }

        .skill-item {
            color: var(--deepblue);
            padding: 12px 0;
            font-size: 0.95em;
            border-left: 3px solid var(--periwinkle);
            padding-left: 15px;
            opacity: 0.85;
        }

        .job {
            margin-bottom: 20px;
            padding: 25px;
            border: 2px solid var(--pale-lavender);
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .job:hover {
            border-color: var(--periwinkle);
            box-shadow: 0 4px 20px rgba(93, 109, 165, 0.15);
            transform: translateY(-2px);
        }

        .job.expanded {
            border-color: var(--periwinkle);
            box-shadow: 0 8px 30px rgba(93, 109, 165, 0.2);
        }

        .job-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }

        .job-title {
            font-size: 1.3em;
            color: var(--deepblue);
            font-weight: 700;
        }

        .job-date {
            color: var(--periwinkle);
            font-weight: 600;
            font-size: 0.95em;
        }

        .job-company {
            font-size: 1.1em;
            color: var(--periwinkle);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .job-description {
            color: var(--deepblue);
            line-height: 1.7;
            opacity: 0.85;
        }

        .job-details {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            margin-top: 15px;
        }

        .job.expanded .job-details {
            max-height: 1000px;
        }

        .job-details-content {
            padding-top: 15px;
            border-top: 1px solid var(--pale-lavender);
        }

        .job-details h4 {
            color: var(--deepblue);
            font-size: 1em;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .job-details ul {
            list-style: none;
            padding-left: 0;
        }

        .job-details li {
            color: var(--deepblue);
            opacity: 0.85;
            line-height: 1.7;
            padding-left: 20px;
            position: relative;
            margin-bottom: 8px;
        }

        .job-details li::before {
            content: '•';
            color: var(--periwinkle);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        .expand-indicator {
            display: inline-block;
            margin-left: 10px;
            color: var(--periwinkle);
            font-size: 0.8em;
            transition: transform 0.3s ease;
        }

        .job.expanded .expand-indicator {
            transform: rotate(180deg);
        }

        .project {
            margin-bottom: 25px;
            padding: 25px;
            background: var(--blush);
            border-radius: 15px;
            transition: all 0.3s ease;
        }

        .project:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(93, 109, 165, 0.15);
        }

        .project-header {
            margin-bottom: 15px;
        }

        .project-title {
            font-size: 1.3em;
            color: var(--deepblue);
            font-weight: 700;
            margin-bottom: 5px;
        }

        .project-tech {
            font-size: 0.85em;
            color: var(--periwinkle);
            font-weight: 600;
        }

        .project-description {
            color: var(--deepblue);
            line-height: 1.7;
            opacity: 0.85;
        }

        .project-link {
            display: inline-block;
            margin-top: 10px;
            color: var(--periwinkle);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9em;
            transition: color 0.3s ease;
        }

        .project-link:hover {
            color: var(--deepblue);
        }

        /* Vertical Timeline Navigation */
        .timeline-nav {
            position: fixed;
            right: 40px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .timeline-nav::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--pale-lavender);
            transform: translateX(-50%);
        }

        .nav-dot {
            position: relative;
            width: 12px;
            height: 12px;
            background: white;
            border: 2px solid var(--pale-lavender);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .nav-dot:hover {
            background: var(--periwinkle);
            border-color: var(--periwinkle);
            transform: scale(1.3);
        }

        .nav-dot.active {
            background: var(--deepblue);
            border-color: var(--deepblue);
            transform: scale(1.5);
        }

        .nav-dot-label {
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--deepblue);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            background: white;
            padding: 5px 12px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(52, 73, 121, 0.1);
        }

        .nav-dot:hover .nav-dot-label {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .timeline-nav {
                display: none;
            }

            .ribbon {
                font-size: 0.75rem;
                padding: 0.6rem 1.25rem 0.6rem 1rem;
                top: 80px;
            }

            .header {
                padding: 40px 30px;
            }

            .header h1 {
                font-size: 2em;
            }

            .content {
                padding: 40px 30px;
            }

            .section-title {
                font-size: 1.5em;
            }

            .skills-list {
                grid-template-columns: 1fr;
            }

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

            .job {
                padding: 20px;
            }

            .project {
                padding: 20px;
            }
        }