/* =========================================================
   COLOR SYSTEM
   ========================================================= */

:root {
    --black: #080708;

    --french-blue: #203d84;
    --crayola-blue: #3772ff;

    --scarlet-rush: #df2935;

    --atomic-tangerine: #ee7a3b;
    --amber-glow: #f6a23e;
    --golden-pollen: #fdca40;
    --light-gold: #f2d993;

    --alabaster-grey: #e6e8e6;

    /* Semantic colors */
    --text-primary: #e6e8e6;
    --text-secondary: #9fa3a0;
    --text-muted: #686b69;

    --border: #202124;
    --surface: #101011;
    --surface-light: #171719;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--text-primary);

    font-family: "IBM Plex Sans", sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 7, 8, 0.88);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-container {
    width: 100%;
    max-width: 1200px;

    height: 70px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    color: var(--text-primary);

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.04em;

    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--crayola-blue);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 32px;

    list-style: none;
}

.nav-links a {
    position: relative;

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 500;

    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--french-blue),
        var(--crayola-blue)
    );

    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-btn {
    display: none;

    padding: 7px 10px;

    color: var(--text-primary);

    background: transparent;

    border: 1px solid var(--border);

    font-size: 20px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.mobile-menu-btn:hover {
    color: var(--crayola-blue);

    border-color: var(--french-blue);

    background: var(--surface);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    display: none;

    padding: 16px 24px;

    background: rgba(8, 7, 8, 0.98);

    border-top: 1px solid var(--border);
}

.mobile-menu a {
    display: block;

    padding: 12px 0;

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 500;

    border-bottom: 1px solid var(--border);

    transition: color 0.2s ease;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--crayola-blue);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(55, 114, 255, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(32, 61, 132, 0.16),
            transparent 30%
        ),
        var(--black);
}


/* =========================================================
   HERO AMBIENT GLOW
   ========================================================= */

.hero::before {
    content: "";

    position: absolute;

    top: -250px;
    right: -200px;

    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(55, 114, 255, 0.08),
        transparent 70%
    );

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    bottom: -300px;
    left: -200px;

    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(32, 61, 132, 0.08),
        transparent 70%
    );

    pointer-events: none;
}


/* =========================================================
   HERO CONTAINER
   ========================================================= */

.hero-container {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 120px 24px 80px;
}


/* =========================================================
   TERMINAL LINE
   ========================================================= */

.terminal-line {
    margin-bottom: 18px;

    color: var(--crayola-blue);

    font-family: "IBM Plex Mono", monospace;

    font-size: 14px;
    font-weight: 400;

    letter-spacing: 0.03em;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero h1 {
    display: inline-block;

    color: transparent;

    background: linear-gradient(
        100deg,
        var(--alabaster-grey) 0%,
        var(--alabaster-grey) 35%,
        var(--crayola-blue) 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    font-size: clamp(56px, 9vw, 120px);

    font-weight: 700;

    line-height: 0.9;

    letter-spacing: -0.05em;
}


/* =========================================================
   HERO ROLE
   ========================================================= */

.hero h2 {
    margin-top: 32px;

    color: var(--alabaster-grey);

    font-size: clamp(24px, 4vw, 42px);

    font-weight: 500;

    line-height: 1.15;

    opacity: 1;

    transition: opacity 0.5s ease;
}

.hero h2::first-line {
    color: var(--crayola-blue);
}

.hero h2.role-fade-out {
    opacity: 0;
}

.hero h2.role-fade-in {
    animation: roleFadeIn 0.5s ease forwards;
}

@keyframes roleFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-description {
    max-width: none;

    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    color: var(--black);

    background: linear-gradient(
        135deg,
        var(--crayola-blue),
        var(--french-blue)
    );

    border: 1px solid var(--crayola-blue);

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 8px 30px rgba(55, 114, 255, 0.15);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.btn-primary:hover {
    filter: brightness(1.12);

    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(55, 114, 255, 0.25);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    color: var(--text-primary);

    background: rgba(16, 16, 17, 0.7);

    border: 1px solid var(--border);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn-secondary:hover {
    color: var(--crayola-blue);

    background: var(--surface);

    border-color: var(--french-blue);
}

.hero-status {
    margin-top: 18px;

    color: var(--text-secondary);

    font-family: "IBM Plex Mono", monospace;

    font-size: 13px;

    letter-spacing: 0.03em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .nav-container {
        height: 64px;

        padding: 0 18px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-container {
        padding: 110px 18px 60px;
    }

    .hero h1 {
        font-size: clamp(48px, 16vw, 80px);
    }

    .hero h2 {
        margin-top: 24px;

        font-size: 25px;
    }

    .hero-description {
        font-size: 15px;

        line-height: 1.7;
    }

    .hero-actions {
        margin-top: 28px;

        flex-direction: column;

        align-items: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;

        max-width: 220px;
    }
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about {
    position: relative;

    padding: 140px 0;

    background: var(--black);

    overflow: hidden;
}


/* =========================================================
   SECTION CONTAINER
   ========================================================= */

.section-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.section-label {
    margin-bottom: 70px;

    color: var(--crayola-blue);

    font-family: "IBM Plex Mono", monospace;

    font-size: 13px;
    font-weight: 400;

    letter-spacing: 0.12em;
}


/* =========================================================
   ABOUT CONTENT
   ========================================================= */

.about-content {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: start;
}


/* =========================================================
   ABOUT HEADING
   ========================================================= */

.about-heading h2 {
    max-width: 480px;

    color: var(--alabaster-grey);

    font-size: clamp(38px, 5vw, 64px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -0.035em;
}

.about-heading h2 span {
    display: block;

    color: transparent;

    background: linear-gradient(
        90deg,
        var(--crayola-blue),
        var(--french-blue),
        var(--crayola-blue)
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    animation: aboutTextGradient 7s ease-in-out infinite;
}

@keyframes aboutTextGradient {

    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}


/* =========================================================
   ABOUT TEXT
   ========================================================= */

.about-text {
    max-width: 650px;
}

.about-text p {
    margin-bottom: 24px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.85;
}

.about-text p:first-child {
    color: var(--text-primary);

    font-size: 19px;
}


/* =========================================================
   ABOUT META
   ========================================================= */

.about-meta {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 50px;

    padding-top: 30px;

    border-top: 1px solid var(--border);
}

.about-meta div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.about-meta span {
    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 11px;

    letter-spacing: 0.12em;
}

.about-meta strong {
    color: var(--text-primary);

    font-size: 14px;

    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   ABOUT SUBTLE GLOW
   ========================================================= */

.about::before {
    content: "";

    position: absolute;

    top: 20%;
    right: -250px;

    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle,
        rgba(55, 114, 255, 0.055),
        transparent 70%
    );

    pointer-events: none;
}


/* =========================================================
   ABOUT RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .about {
        padding: 100px 0;
    }

    .section-container {
        padding: 0 18px;
    }

    .section-label {
        margin-bottom: 45px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-heading h2 {
        font-size: clamp(38px, 11vw, 58px);
    }

    .about-text p {
        font-size: 16px;
    }

    .about-text p:first-child {
        font-size: 17px;
    }

    .about-meta {
        grid-template-columns: 1fr;

        gap: 24px;

        margin-top: 40px;
    }
}

/* =========================================================
   TECH STACK
   ========================================================= */

.stack {
    position: relative;

    padding: 140px 0;

    background: var(--surface);

    overflow: hidden;
}


/* =========================================================
   STACK HEADER
   ========================================================= */

.stack-header {
    max-width: 850px;

    margin-bottom: 80px;
}

.stack-header h2 {
    max-width: none;

    color: var(--alabaster-grey);

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -0.035em;
}

.stack-header h2 span {
    display: inline;

    color: transparent;

    background: linear-gradient(
        90deg,
        var(--crayola-blue),
        var(--french-blue),
        var(--crayola-blue)
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    animation: stackHeadingGradient 6s ease-in-out infinite;
}

@keyframes stackHeadingGradient {

    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.stack-header p {
    max-width: none;

    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   STACK GRID
   ========================================================= */

.stack-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


/* =========================================================
   STACK GROUP
   ========================================================= */

.stack-group {
    position: relative;

    min-height: 240px;

    padding: 32px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(16, 16, 17, 0.35);

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.stack-group:hover {
    background: rgba(55, 114, 255, 0.035);

    border-color: #2c3d68;
}


/* =========================================================
   STACK NUMBER
   ========================================================= */

.stack-number {
    margin-bottom: 38px;

    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 12px;

    letter-spacing: 0.08em;
}


/* =========================================================
   STACK TITLE
   ========================================================= */

.stack-group h3 {
    margin-bottom: 20px;

    color: var(--text-primary);

    font-size: 22px;

    font-weight: 500;

    letter-spacing: -0.01em;
}


/* =========================================================
   STACK ITEMS
   ========================================================= */

.stack-items {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.stack-items span {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 0 12px;

    color: var(--text-secondary);

    background: var(--surface-light);

    border: 1px solid var(--border);

    font-family: "IBM Plex Mono", monospace;

    font-size: 12px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.stack-items span:hover {
    color: var(--crayola-blue);

    background: rgba(55, 114, 255, 0.06);

    border-color: var(--french-blue);
}


/* =========================================================
   STACK DECORATIVE GLOW
   ========================================================= */

.stack::before {
    content: "";

    position: absolute;

    top: -250px;
    right: -200px;

    width: 550px;
    height: 550px;

    background: radial-gradient(
        circle,
        rgba(55, 114, 255, 0.055),
        transparent 70%
    );

    pointer-events: none;
}


/* =========================================================
   STACK RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .stack {
        padding: 100px 0;
    }

    .stack-header {
        margin-bottom: 55px;
    }

    .stack-header h2 {
        font-size: clamp(38px, 11vw, 58px);
    }

    .stack-header p {
        font-size: 16px;
    }

    .stack-grid {
        grid-template-columns: 1fr;
    }

    .stack-group {
        min-height: auto;

        padding: 26px;
    }

    .stack-number {
        margin-bottom: 28px;
    }

    .stack-group h3 {
        font-size: 20px;
    }
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects {
    position: relative;

    padding: 140px 0;

    background: var(--black);

    overflow: hidden;
}


/* =========================================================
   PROJECTS HEADER
   ========================================================= */

.projects-header {
    max-width: 850px;

    margin-bottom: 80px;
}

.projects-header h2 {
    max-width: 700px;

    color: var(--alabaster-grey);

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -0.035em;
}

.projects-header h2 span {
    display: inline;

    color: transparent;

    background: linear-gradient(
        90deg,
        var(--crayola-blue),
        var(--french-blue),
        var(--crayola-blue)
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    animation: projectsHeadingGradient 6s ease-in-out infinite;
}

@keyframes projectsHeadingGradient {

    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.projects-header p {
    max-width: none;

    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   PROJECT LIST
   ========================================================= */

.projects-list {
    border-top: 1px solid var(--border);
}


/* =========================================================
   PROJECT
   ========================================================= */

.project {
    position: relative;

    display: grid;

    grid-template-columns: 70px 1fr 60px;

    gap: 30px;

    align-items: center;

    padding: 42px 0;

    border-bottom: 1px solid var(--border);

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}

.project:hover {
    padding-left: 20px;
}


/* =========================================================
   PROJECT INDEX
   ========================================================= */

.project-index {
    align-self: start;

    padding-top: 5px;

    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 12px;

    letter-spacing: 0.08em;
}


/* =========================================================
   PROJECT MAIN
   ========================================================= */

.project-main {
    min-width: 0;
}


/* =========================================================
   PROJECT TOP
   ========================================================= */

.project-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.project-top h3 {
    color: var(--text-primary);

    font-size: clamp(22px, 3vw, 30px);

    font-weight: 500;

    line-height: 1.2;

    letter-spacing: -0.02em;

    transition: color 0.25s ease;
}

.project:hover .project-top h3 {
    color: var(--crayola-blue);
}


/* =========================================================
   PROJECT STATUS
   ========================================================= */

.project-status {
    flex-shrink: 0;

    padding: 5px 9px;

    color: var(--text-muted);

    border: 1px solid var(--border);

    font-family: "IBM Plex Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.08em;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.project:hover .project-status {
    color: var(--crayola-blue);

    border-color: var(--french-blue);
}


/* =========================================================
   PROJECT DESCRIPTION
   ========================================================= */

.project-description {
    max-width: 750px;

    margin-bottom: 24px;

    color: var(--text-secondary);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   PROJECT STACK
   ========================================================= */

.project-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.project-stack span {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 0 10px;

    color: var(--text-muted);

    background: var(--surface);

    border: 1px solid var(--border);

    font-family: "IBM Plex Mono", monospace;

    font-size: 11px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.project-stack span:hover {
    color: var(--crayola-blue);

    background: rgba(55, 114, 255, 0.05);

    border-color: var(--french-blue);
}


/* =========================================================
   PROJECT ARROW
   ========================================================= */

.project-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: var(--text-muted);

    border: 1px solid var(--border);

    font-size: 20px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.project:hover .project-arrow {
    color: var(--crayola-blue);

    border-color: var(--french-blue);

    background: rgba(55, 114, 255, 0.05);

    transform: translateX(5px);
}


/* =========================================================
   PROJECT AMBIENT GLOW
   ========================================================= */

.projects::before {
    content: "";

    position: absolute;

    top: 10%;
    right: -300px;

    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(55, 114, 255, 0.045),
        transparent 70%
    );

    pointer-events: none;
}


/* =========================================================
   PROJECTS RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .projects {
        padding: 100px 0;
    }

    .projects-header {
        margin-bottom: 55px;
    }

    .projects-header h2 {
        font-size: clamp(38px, 11vw, 58px);
    }

    .projects-header p {
        font-size: 16px;
    }

    .project {
        grid-template-columns: 40px 1fr;

        gap: 18px;

        padding: 32px 0;
    }

    .project:hover {
        padding-left: 8px;
    }

    .project-arrow {
        display: none;
    }

    .project-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .project-top h3 {
        font-size: 23px;
    }

    .project-description {
        font-size: 14px;
    }

    .project-status {
        font-size: 9px;
    }
}

/* =========================================================
   QUALIFICATIONS
   ========================================================= */

.qualifications {
    position: relative;

    padding: 140px 0;

    background: var(--surface);

    overflow: hidden;
}


/* =========================================================
   QUALIFICATIONS HEADER
   ========================================================= */

.qualifications-header {
    max-width: 850px;

    margin-bottom: 90px;
}

.qualifications-header h2 {
    max-width: none;

    color: var(--alabaster-grey);

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -0.035em;
}

.qualifications-header h2 span {
    display: inline;

    color: transparent;

    background: linear-gradient(
        90deg,
        var(--crayola-blue),
        var(--french-blue),
        var(--crayola-blue)
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    animation: qualificationGradient 6s ease-in-out infinite;
}

@keyframes qualificationGradient {

    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.qualifications-header p {
    max-width: none;

    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
    position: relative;

    max-width: 950px;

    margin: 0 auto;
}


/* =========================================================
   TIMELINE VERTICAL LINE
   ========================================================= */

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 150px;

    width: 1px;

    background: linear-gradient(
        to bottom,
        transparent,
        var(--french-blue) 10%,
        var(--border) 50%,
        var(--french-blue) 90%,
        transparent
    );
}


/* =========================================================
   TIMELINE ITEM
   ========================================================= */

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 120px 60px 1fr;

    gap: 0;

    min-height: 220px;
}


/* =========================================================
   TIMELINE YEAR
   ========================================================= */

.timeline-year {
    padding-top: 4px;

    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 13px;

    letter-spacing: 0.05em;

    text-align: right;
}


/* =========================================================
   TIMELINE MARKER
   ========================================================= */

.timeline-marker {
    position: relative;

    z-index: 2;

    width: 11px;
    height: 11px;

    margin: 5px auto 0;

    background: var(--black);

    border: 2px solid var(--crayola-blue);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(55, 114, 255, 0.06);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--crayola-blue);

    transform: scale(1.25);

    box-shadow:
        0 0 0 7px rgba(55, 114, 255, 0.08),
        0 0 20px rgba(55, 114, 255, 0.25);
}


/* =========================================================
   TIMELINE CONTENT
   ========================================================= */

.timeline-content {
    padding: 0 0 70px 35px;
}

.timeline-type {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--crayola-blue);

    font-family: "IBM Plex Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.12em;
}

.timeline-content h3 {
    margin-bottom: 10px;

    color: var(--text-primary);

    font-size: clamp(22px, 3vw, 30px);

    font-weight: 500;

    line-height: 1.2;

    transition: color 0.25s ease;
}

.timeline-item:hover .timeline-content h3 {
    color: var(--crayola-blue);
}

.timeline-content p {
    margin-bottom: 8px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.7;
}

.timeline-content small {
    color: var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   QUALIFICATIONS AMBIENT GLOW
   ========================================================= */

.qualifications::after {
    content: "";

    position: absolute;

    right: -250px;
    bottom: -250px;

    width: 550px;
    height: 550px;

    background: radial-gradient(
        circle,
        rgba(55, 114, 255, 0.05),
        transparent 70%
    );

    pointer-events: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .qualifications {
        padding: 100px 0;
    }

    .qualifications-header {
        margin-bottom: 65px;
    }

    .qualifications-header h2 {
        font-size: clamp(38px, 11vw, 58px);
    }

    .qualifications-header p {
        font-size: 16px;
    }

    .timeline {
        margin-left: 0;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-item {
        grid-template-columns: 30px 1fr;

        min-height: 190px;
    }

    .timeline-year {
        grid-column: 2;

        grid-row: 1;

        padding: 0;

        margin-bottom: 8px;

        text-align: left;

        font-size: 12px;
    }

    .timeline-marker {
        grid-column: 1;

        grid-row: 1;

        margin: 4px 0 0;
    }

    .timeline-content {
        grid-column: 2;

        grid-row: 2;

        padding: 0 0 55px;
    }

    .timeline-content h3 {
        font-size: 22px;
    }

    .timeline-content p {
        font-size: 15px;
    }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    position: relative;

    padding: 140px 0;

    background: var(--black);

    overflow: hidden;
}


/* =========================================================
   CONTACT CONTENT
   ========================================================= */

.contact-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


/* =========================================================
   CONTACT HEADING
   ========================================================= */

.contact-heading h2 {
    max-width: 600px;

    color: var(--alabaster-grey);

    font-size: clamp(42px, 5vw, 68px);

    font-weight: 600;

    line-height: 1.02;

    letter-spacing: -0.04em;
}

.contact-heading h2 span {
    display: block;

    color: transparent;

    background: linear-gradient(
        90deg,
        var(--crayola-blue),
        var(--french-blue),
        var(--crayola-blue)
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    animation: contactHeadingGradient 8s ease-in-out infinite;
}

@keyframes contactHeadingGradient {

    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.contact-heading p {
    max-width: 520px;

    margin-top: 28px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT LINKS
   ========================================================= */

.contact-links {
    border-top: 1px solid var(--border);
}


/* =========================================================
   CONTACT ITEM
   ========================================================= */

.contact-item {
    display: grid;

    grid-template-columns: 90px 1fr 40px;

    gap: 20px;

    align-items: center;

    min-height: 82px;

    border-bottom: 1px solid var(--border);

    transition:
        padding-left 0.25s ease,
        background 0.25s ease;
}

.contact-item:hover {
    padding-left: 12px;

    background: rgba(55, 114, 255, 0.025);
}


/* =========================================================
   CONTACT LABEL
   ========================================================= */

.contact-label {
    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.1em;
}


/* =========================================================
   CONTACT VALUE
   ========================================================= */

.contact-value {
    overflow: hidden;

    color: var(--text-secondary);

    font-size: 14px;

    white-space: nowrap;
    text-overflow: ellipsis;

    transition: color 0.25s ease;
}

.contact-item:hover .contact-value {
    color: var(--text-primary);
}


/* =========================================================
   CONTACT ARROW
   ========================================================= */

.contact-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: var(--text-muted);

    border: 1px solid var(--border);

    font-size: 17px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.contact-item:hover .contact-arrow {
    color: var(--crayola-blue);

    border-color: var(--french-blue);

    transform: translateX(5px);
}


/* =========================================================
   CONTACT AMBIENT GLOW
   ========================================================= */

.contact::before {
    content: "";

    position: absolute;

    top: -250px;
    left: 40%;

    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(55, 114, 255, 0.055),
        transparent 70%
    );

    pointer-events: none;

    animation: contactGlow 12s ease-in-out infinite alternate;
}

@keyframes contactGlow {

    0% {
        transform: translateX(-80px) scale(0.9);
    }

    100% {
        transform: translateX(100px) scale(1.1);
    }
}


/* =========================================================
   CONTACT RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .contact {
        padding: 100px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .contact-heading h2 {
        font-size: clamp(40px, 11vw, 60px);
    }

    .contact-heading p {
        font-size: 15px;
    }

    .contact-item {
        grid-template-columns: 70px 1fr 36px;

        gap: 12px;

        min-height: 76px;
    }

    .contact-value {
        font-size: 13px;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: relative;

    padding: 55px 0 25px;

    background: var(--surface);

    border-top: 1px solid var(--border);
}


/* =========================================================
   FOOTER CONTAINER
   ========================================================= */

.footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   FOOTER LEFT
   ========================================================= */

.footer-logo {
    display: block;

    margin-bottom: 7px;

    color: var(--text-primary);

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.footer-left p {
    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 11px;
}


/* =========================================================
   FOOTER RIGHT
   ========================================================= */

.footer-right {
    display: flex;

    align-items: center;

    gap: 14px;

    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 11px;
}

.footer-right a {
    color: var(--text-secondary);

    transition: color 0.25s ease;
}

.footer-right a:hover {
    color: var(--crayola-blue);
}

.footer-divider {
    color: var(--border);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    width: 100%;
    max-width: 1200px;

    margin: 45px auto 0;
    padding: 20px 24px 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);

    font-family: "IBM Plex Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.02em;
}


/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .footer {
        padding-top: 45px;
    }

    .footer-container {
        padding: 0 18px;

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-right {
        gap: 10px;
    }

    .footer-bottom {
        margin-top: 35px;

        padding: 18px;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }
}