@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;700&display=swap');

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

html {
    scroll-padding-top: 110px;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, #1a1a1a 49px, #1a1a1a 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, #1a1a1a 49px, #1a1a1a 50px);
    pointer-events: none;
    opacity: 0.3;
}

.accent {
    position: fixed;
    width: 50%;
    height: 100%;
    background: #ff3333;
    top: 0;
    left: 50%;
    z-index: 5;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    padding: 10px 20px 20px 20px;
    z-index: 100;
}

.site-welcome {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: lowercase;
    color: #ffff00;
    letter-spacing: -0.02em;
    background: #000;
    padding: 10px 20px;
    text-decoration: none;
}

.breadcrumbs {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    background: #000;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


.breadcrumbs a {
    color: #ffff00;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span {
    color: #fff;
}

.nav-links-right {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    margin-left: auto;
}

.nav-link {
    padding: 15px 30px;
    background: #fff;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 4px solid #ffff00;
    box-shadow: 12px 12px 0 #ff3333;
    white-space: nowrap;
}

.nav-link:hover {
    background: #ffff00;
    color: #0a0a0a;
    border-color: #ffff00;
    transform: translate(6px, 6px);
    box-shadow: 6px 6px 0 #0044cc;
}

.hero-section {
    position: relative;
    width: 100%;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    z-index: 5;
    border: 8px solid #0044cc;
    box-shadow: 12px 12px 0 #001166;
    position: relative;
    display: block;
    background: #1a1a1a;
}

h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 6rem;
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    padding: 15px 30px 25px 30px;
    background: #0044cc;
    width: fit-content;
    max-width: 100%;
    box-shadow: 12px 12px 0 #001166;
    position: absolute;
    bottom: -40px;
    left: -30px;
    z-index: 10;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h1 span {
    display: block;
    color: #ffffff;
    text-shadow: 6px 6px 0 #0033aa, 12px 12px 0 #002288, 18px 18px 0 #001166;
}

h1 span:nth-child(1) {
    color: #ffffff;
    text-shadow: 6px 6px 0 #0033aa, 12px 12px 0 #002288, 18px 18px 0 #001166;
}

h2 {
    width: 100%;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0 20px;
    margin-top: 10vh;
    line-height: 1.8;
    position: relative;
    z-index: 10;
}

h2 span {
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #8888ff;
}

.meta-item {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #ffff00;
}

.content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #ff3333;
}

.project-link-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
    border: none;
}

.project-data {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.data-label {
    color: #ffff00;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.data-value {
    color: #fff;
}

.data-value a {
    color: #8888ff;
    text-decoration: none;
    word-break: break-all;
}

.data-value a:hover {
    color: #ffff00;
}

.external-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: #fff;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    border: 4px solid #ffff00;
    box-shadow: 12px 12px 0 #ff3333;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.external-link:hover {
    background: #ffff00;
    color: #0a0a0a;
    border-color: #ffff00;
    transform: translate(6px, 6px);
    box-shadow: 6px 6px 0 #0044cc;
}

.external-link::after {
    content: ' →';
}

.testimonials {
    width: 100%;
    padding: 0 20px;
    margin-top: 8vh;
    position: relative;
    z-index: 10;
}

.testimonials h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: #ffff00;
}

.quote {
    background: rgba(0, 0, 0, 0.40);
    border-left: 4px solid #ff3333;
    padding: 20px 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.quote-author {
    text-align: right;
    font-size: 1.2rem;
    font-style: normal;
    color: #fff;
    margin-top: 10px;
}

.quote-name,
.quote-subject {
    color: #ffff00;
    font-weight: 700;
}

.contributions {
    width: 100%;
    padding: 0 20px;
    margin-top: 8vh;
    position: relative;
    z-index: 10;
}

.contributions h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: #ffff00;
}

.contributions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.contribution-card {
    background: #fff;
    border: 4px solid #fff;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: #0a0a0a;
    display: block;
    box-shadow: 12px 12px 0 #ff3333;
}

.contribution-card:hover {
    border-color: #ffff00;
    background: #ffff00;
    transform: translate(6px, 6px);
    box-shadow: 6px 6px 0 #0044cc;
}

.contribution-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1rem;
}

.contribution-info {
    padding: 15px;
    background: #fff;
}

.contribution-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: #0a0a0a;
    transition: color 0.2s ease;
}

.contribution-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #0a0a0a;
    transition: color 0.2s ease;
}

.contribution-card:hover .contribution-title,
.contribution-card:hover .contribution-description {
    color: #0a0a0a;
}

.contribution-card:hover .contribution-thumbnail,
.contribution-card:hover .contribution-info {
    background: #ffff00;
}

.view-all-contributions {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 4px solid #fff;
    box-shadow: 12px 12px 0 #ff3333;
}

.view-all-contributions:hover {
    background: #ffff00;
    color: #0a0a0a;
    border-color: #ffff00;
    transform: translate(6px, 6px);
    box-shadow: 6px 6px 0 #0044cc;
}

.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: auto 0 0 0;
    padding: 0;
    position: relative;
    z-index: 10;
}

.links h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 3vh;
    padding: 0 20px;
    margin-top: 8vh;
    color: #ffff00;
}

.links a {
    padding: 20px 20px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: none;
    border-top: 1px solid #333;
    transition: all 0.2s ease;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links a::after {
    content: '→';
    font-size: 2rem;
    transition: transform 0.2s ease;
}

.links a:hover {
    background: #ffff00;
    color: #0a0a0a;
    padding-left: 40px;
}

.links a:hover::after {
    transform: translateX(10px);
    color: #ff3333;
}

.links a:last-child {
    border-bottom: 1px solid #333;
}

footer {
    width: 100%;
    padding: 40px 20px 40px 20px;
    font-size: 0.7rem;
    opacity: 0.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 150px;
    }
    .container {
        max-width: 100vw;
        padding: 0 20px;
    }
    .hero-section {
        margin-top: 2vh;
    }
    h1 {
        font-size: clamp(2.5rem, 12vw, 6rem);
        left: 10px;
    }
    .hero-image {
        width: 100%;
        max-width: 100%;
    }
    .project-link-container {
        flex-direction: column;
    }
    .breadcrumbs {
        flex-shrink: 1;
        min-width: 0;
    }
    .nav-links-right {
        flex-shrink: 0;
    }
    .nav-links {
        row-gap: 5px;
        column-gap: 15px;
        padding-bottom: 10px;
    }
    .nav-link {
        padding: 12px 20px;
        font-size: 0.9rem;
        border: 3px solid #ffff00;
        box-shadow: 8px 8px 0 #ff3333;
    }
    .nav-link:hover {
        box-shadow: 4px 4px 0 #0044cc;
    }
}
