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

body {
    font-family: 'Geist Mono', 'JetBrains Mono', 'Courier New', monospace;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 60px;
}

.name {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: #000000;
}

.name img {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
}

nav {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 20px;
}

nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

nav a:hover {
    color: #000000;
}

.social {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.social a {
    color: #1a1a1a;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.7;
    font-size: 28px;
}

.social a i {
    display: block;
}

.social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Project Grid - GUARANTEED 30PX GAPS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    display: block;
    width: 100%;
    margin: 0;
    text-decoration: none;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-card h3 {
    display: none;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

footer p:first-child {
    font-size: 18px;
    margin-bottom: 12px;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #000000;
}

/* About Page */
.about-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.about-image {
    width: 100%;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.profile-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.profile-default {
    opacity: 1;
    z-index: 1;
}

.profile-hover {
    opacity: 0;
    z-index: 2;
}

.profile-image-container:hover .profile-default {
    opacity: 0;
}

.profile-image-container:hover .profile-hover {
    opacity: 1;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    padding: 15px 20px;
    background: #ffffff;
}

.about-image .client-logos {
    padding: 20px 0 0 0;
    gap: 0px;
}

.client-logos img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    padding: 8px;
    box-sizing: border-box;
}

.client-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logos img:nth-child(4) {
    transform: translateY(-6px);
}

.about-image .client-logos img:nth-child(4) {
    transform: translateY(-10px);
}

.client-logos img:nth-child(6) {
    transform: translateY(4px);
}

.client-logos img:nth-child(7) {
    transform: translateY(-7px);
}

.about-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #000000;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

.content-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0;
}

.contact-details {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details p {
    margin-bottom: 10px;
}

.about-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.about-social a {
    color: #1a1a1a;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.7;
    font-size: 28px;
}

.about-social a i {
    display: block;
}

.about-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.cv-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #000000;
    border-radius: 4px;
    transition: background 0.3s ease, border-color 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cv-button:hover {
    background: #333333;
    border-color: #333333;
}

/* UltraTruth Preview in About Page */
.ultratruth-preview {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.ultratruth-preview h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ultratruth-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

.expand-btn {
    display: block;
    margin: 20px auto 0;
    width: 40px;
    height: 40px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.expand-btn:hover {
    background: #333333;
    transform: scale(1.1);
}

/* Contact Page */
.contact-container {
    max-width: 600px;
    margin-bottom: 60px;
}

.contact-container h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #000000;
}

.contact-container > p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 15px;
}

.contact-container .contact-details {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.contact-container .client-logos {
    margin-top: 40px;
    padding: 20px 0 0 0;
    border: none;
    grid-template-columns: repeat(4, 1fr);
}

/* Manifesto Page */
.manifesto-container {
    max-width: 800px;
    margin-bottom: 60px;
}

.manifesto-container h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #000000;
}

.manifesto-container p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

/* Project Page */
.project-container {
    max-width: 1000px;
    margin-bottom: 60px;
}

.project-container h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #000000;
}

.project-description {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 60px;
    max-width: 700px;
}

.project-image {
    width: 100%;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-video {
    width: 100%;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-image.black-container {
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 300px;
}

.project-image.black-container img {
    width: auto;
    max-width: 40%;
    height: auto;
}

.project-image.no-gap {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #000000;
}

.back-link::before {
    content: "← ";
    margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .container {
        padding: 50px 25px;
    }
}

@media (max-width: 1366px) {
    .container {
        padding: 40px 20px;
    }
}

@media (max-width: 1280px) {
    .container {
        padding: 35px 15px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 30px 10px;
    }
}

/* Tablet and below */
@media (max-width: 768px) {
    .container {
        padding: 30px 40px;
    }

    .name {
        font-size: 36px;
    }

    .name img {
        height: 70px;
    }

    nav {
        gap: 30px;
    }

    nav a {
        font-size: 14px;
    }

    .social a {
        font-size: 24px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: auto;
    }

    .profile-image-container {
        height: 400px;
    }

    .about-content h2,
    .contact-container h2 {
        font-size: 28px;
    }

    .about-social a {
        font-size: 24px;
    }

    .manifesto-container h2,
    .project-container h2 {
        font-size: 36px;
    }

    .manifesto-container p,
    .project-description {
        font-size: 16px;
    }

    .about-image .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container .client-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 24px;
    }

    .name {
        font-size: 28px;
    }

    .name img {
        height: 80px;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 12px;
    }

    .social {
        gap: 16px;
    }

    .social a {
        font-size: 20px;
    }

    .project-grid {
        gap: 16px;
    }

    .about-image {
        height: auto;
    }

    .profile-image-container {
        height: 300px;
    }

    .profile-hover {
        display: none;
    }

    .about-image .client-logos {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .about-image .client-logos img {
        padding: 6px;
        max-width: 120px;
    }

    .contact-container .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container .client-logos img {
        padding: 6px;
        max-width: 120px;
    }

    .client-logos img:nth-child(5) {
        transform: translateY(-5px);
    }

    .client-logos img:nth-child(6) {
        transform: translateY(-2px);
    }

    .about-content h2,
    .contact-container h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-social a {
        font-size: 20px;
    }

    .contact-details h3 {
        font-size: 16px;
    }

    .cv-button {
        font-size: 12px;
        padding: 10px 24px;
    }

    .manifesto-container h2,
    .project-container h2 {
        font-size: 28px;
    }

    .project-container h2 {
        font-size: 22px;
    }

    .manifesto-container p,
    .project-description {
        font-size: 14px;
    }

    footer p:first-child {
        font-size: 16px;
    }

    footer p {
        font-size: 12px;
    }

    .danlogo-img {
        transform: scale(2);
    }

    .project-image.black-container {
        min-height: 150px;
    }
}
