/* Desktop-only experiment inspired by the reference's profile/work proportions.
   Original tablet and mobile styles remain untouched below 1100px. */
@media (min-width: 1100px) {
    .container {
        display: grid;
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
        column-gap: clamp(40px, 4vw, 64px);
        max-width: 1600px;
        padding: 40px 40px 0;
        align-items: start;
    }

    header {
        grid-column: 1;
        grid-row: 1 / 3;
        position: sticky;
        top: 32px;
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        scrollbar-width: thin;
        padding: 0;
        border: 0;
    }

    .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    /* Flatten only the desktop wrapper so the projects link can follow the bio. */
    .profile-paintings {
        display: contents;
    }

    .profile-paintings .profile-melt {
        width: min(100%, 288px);
        flex: 0 0 auto;
        align-self: center;
        border-radius: 16px;
    }

    .header-text {
        order: 1;
    }

    .vibe-projects-link {
        order: 2;
        margin: 0 auto;
        font-size: .9rem;
    }

    .blog-link {
        margin-bottom: -12px;
    }

    .header-text h1 {
        font-size: 2.4rem;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .header-text .tagline {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .header-links {
        justify-content: center;
        gap: 24px;
        padding-bottom: 8px;
    }

    main {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        padding: 0 0 32px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline::before {
        left: 6px;
    }

    .tl-entry:not(.pub) {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        column-gap: 20px;
        row-gap: 8px;
    }

    .tl-entry:not(.pub) > .tl-main {
        display: contents;
    }

    .tl-entry:not(.pub) .tl-logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }

    .tl-entry:not(.pub) .tl-body {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .tl-entry:not(.pub) > .tl-date {
        grid-column: 1;
        grid-row: 2;
        position: static;
        width: auto;
        padding: 0;
        text-align: center;
        font-size: .82rem;
    }

    .tl-entry:not(.pub) > .tl-dot {
        top: 25px;
    }

    .tl-entry.pub {
        margin-bottom: 56px;
    }

    .tl-entry.pub .tl-main {
        gap: clamp(24px, 2.5vw, 40px);
        align-items: flex-start;
    }

    .tl-entry.pub .pub-preview {
        flex: 0 0 54%;
        min-width: 0;
    }

    .tl-entry.pub .tl-logo {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Fit the complete NeuralSVG teaser without cropping its edges. */
    .tl-entry.pub .tl-logo[data-paper-title="neuralsvg"] img {
        object-fit: contain;
    }

    .tl-entry.pub .tl-role {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .tl-entry.pub .tl-desc {
        margin-top: 12px;
        line-height: 1.6;
    }

    .tl-body {
        min-width: 0;
    }

    .sub-links a {
        padding: 4px 9px;
    }

    footer {
        grid-column: 2;
        grid-row: 2;
    }
}
