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

html {
    scroll-behavior: smooth;
    background-color: var(--black);
}

:root {
    --black: #0a0a0a;
    --near-black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --mid-gray: #808080;
    --light-gray: #d4d4d4;
    --white: #f5f5f5;
    --accent: #ffffff;
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Film grain overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* Decorative geometric shapes */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300vh;
    transition: transform 0.1s ease-out;
}

.circle-1 {
    position: absolute;
    top: 5%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatSlow 20s ease-in-out infinite;
}

.circle-2 {
    position: absolute;
    top: 25%;
    left: -8%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: floatSlow 25s ease-in-out infinite reverse;
}

.circle-3 {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    animation: floatSlow 22s ease-in-out infinite;
}

.circle-4 {
    position: absolute;
    top: 75%;
    left: 5%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: floatSlow 28s ease-in-out infinite reverse;
}

.circle-5 {
    position: absolute;
    top: 95%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: floatSlow 24s ease-in-out infinite;
}

.semicircle-1 {
    position: absolute;
    top: 15%;
    left: 5%;
    width: 300px;
    height: 150px;
    border-radius: 300px 300px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    animation: floatMedium 18s ease-in-out infinite;
}

.semicircle-2 {
    position: absolute;
    top: 35%;
    right: 10%;
    width: 200px;
    height: 100px;
    border-radius: 0 0 200px 200px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    animation: floatMedium 22s ease-in-out infinite reverse;
}

.semicircle-3 {
    position: absolute;
    top: 60%;
    left: 15%;
    width: 250px;
    height: 125px;
    border-radius: 250px 250px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: none;
    animation: floatMedium 20s ease-in-out infinite;
}

.semicircle-4 {
    position: absolute;
    top: 85%;
    right: 5%;
    width: 280px;
    height: 140px;
    border-radius: 0 0 280px 280px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: none;
    animation: floatMedium 19s ease-in-out infinite reverse;
}

.arc-1 {
    position: absolute;
    top: 20%;
    right: -3%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    animation: floatSlow 30s ease-in-out infinite;
}

.arc-2 {
    position: absolute;
    top: 45%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    animation: floatSlow 26s ease-in-out infinite reverse;
}

.arc-3 {
    position: absolute;
    top: 70%;
    right: 8%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    animation: floatSlow 23s ease-in-out infinite;
}

.line-1 {
    position: absolute;
    top: 12%;
    right: 15%;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transform: rotate(-45deg);
    animation: pulse 8s ease-in-out infinite;
}

.line-2 {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent);
    transform: rotate(30deg);
    animation: pulse 10s ease-in-out infinite 2s;
}

.line-3 {
    position: absolute;
    top: 55%;
    right: 25%;
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.13),
            transparent);
    transform: rotate(-30deg);
    animation: pulse 9s ease-in-out infinite 1s;
}

.line-4 {
    position: absolute;
    top: 78%;
    left: 30%;
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.11),
            transparent);
    transform: rotate(45deg);
    animation: pulse 11s ease-in-out infinite 3s;
}

.line-5 {
    position: absolute;
    top: 92%;
    right: 18%;
    width: 220px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.14),
            transparent);
    transform: rotate(-20deg);
    animation: pulse 7s ease-in-out infinite 1.5s;
}

.dot-1 {
    position: absolute;
    top: 8%;
    left: 25%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.dot-2 {
    position: absolute;
    top: 22%;
    left: 15%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: twinkle 5s ease-in-out infinite 1s;
}

.dot-3 {
    position: absolute;
    top: 38%;
    right: 30%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: twinkle 6s ease-in-out infinite 2s;
}

.dot-4 {
    position: absolute;
    top: 52%;
    left: 35%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    animation: twinkle 5.5s ease-in-out infinite 0.5s;
}

.dot-5 {
    position: absolute;
    top: 68%;
    right: 22%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    animation: twinkle 4.5s ease-in-out infinite 1.5s;
}

.dot-6 {
    position: absolute;
    top: 82%;
    left: 28%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    animation: twinkle 5.2s ease-in-out infinite 2.5s;
}

.dot-7 {
    position: absolute;
    top: 96%;
    right: 12%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    animation: twinkle 6.5s ease-in-out infinite 3s;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-15px, -50px) rotate(-3deg);
    }

    75% {
        transform: translate(30px, -20px) rotate(4deg);
    }
}

@keyframes floatMedium {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-25px, 20px);
    }

    66% {
        transform: translate(15px, -25px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--black), transparent);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 1px;
    background: var(--white);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%,
            rgba(255, 255, 255, 0.03) 0%,
            transparent 50%);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    animation: slideDown 3s ease-in-out infinite;
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(80px);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-weight: 300;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--black);
}

/* Sections */
section {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 800px;
    line-height: 1.8;
    font-weight: 300;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-text {
    font-size: 1.15rem;
    color: var(--light-gray);
    line-height: 1.9;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.stat-item {
    padding: 2rem;
    border: 1px solid var(--dark-gray);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--white);
    transform: translateY(-5px);
}

.stat-number {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--mid-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--dark-gray);
}

.skill-category {
    padding: 3rem;
    border-right: 1px solid var(--dark-gray);
    border-bottom: 1px solid var(--dark-gray);
    transition: all 0.3s ease;
}

.skill-category:nth-child(3n) {
    border-right: none;
}

.skill-category:hover {
    background: var(--near-black);
}

.skill-category h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Projects Section */
.projects-grid {
    display: grid;
    gap: 6rem;
}

.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--dark-gray);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.project:nth-child(1) {
    animation-delay: 0.1s;
}

.project:nth-child(2) {
    animation-delay: 0.2s;
}

.project:nth-child(3) {
    animation-delay: 0.3s;
}

.project:nth-child(4) {
    animation-delay: 0.4s;
}

.project:nth-child(5) {
    animation-delay: 0.5s;
}

.project:nth-child(even) .project-content {
    order: 2;
}

.project:nth-child(even) .project-image {
    order: 1;
}

.project-image {
    aspect-ratio: 16/10;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dark-gray);
}

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

.project-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project:hover .project-image::before {
    opacity: 1;
}

.project-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1rem;
}

.project-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.project-description {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--dark-gray);
    color: var(--light-gray);
    letter-spacing: 1px;
    font-weight: 300;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 1rem;
}

.award-badge {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial {
    padding: 3rem;
    border: 1px solid var(--dark-gray);
    transition: all 0.3s ease;
}

.testimonial:hover {
    border-color: var(--white);
    transform: translateY(-10px);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--mid-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.blog-card {
    border: 1px solid var(--dark-gray);
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--white);
}

.blog-image {
    aspect-ratio: 16/10;
    background: var(--dark-gray);
}

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

.blog-content {
    padding: 2rem;
}

.blog-date {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1rem;
}

.blog-title {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 300;
    font-size: 0.95rem;
}

.read-more {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-email {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin: 3rem 0;
    font-weight: 700;
}

.contact-email a {
    color: var(--white);
    text-decoration: none;
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-email a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-email a:hover::after {
    transform: scaleX(1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.social-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

/* Footer */
footer {
    padding: 4rem;
    text-align: center;
    border-top: 1px solid var(--dark-gray);
    color: var(--mid-gray);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .contact-email {
        font-size: 2rem;
        margin: 2.5rem 0;
    }

    .about-content,
    .project {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-category:nth-child(2n) {
        border-right: none;
    }

    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.5rem 2rem;
    }

    nav.scrolled {
        padding: 0.5rem 2rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 2rem;
        right: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(10, 10, 10, 0.96);
        backdrop-filter: blur(14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    nav.open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav.open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    nav.open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    nav.open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-links a {
        display: inline-block;
        font-size: 0.85rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .projects-grid {
        display: grid;
        gap: 1rem;
    }

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

    .skill-category {
        border-right: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-email {
        font-size: 1.35rem;
        margin: 2rem 0 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1.25rem 2rem;
    }
}

@media (max-width: 480px) {
    .contact-email {
        font-size: 1.1rem;
    }

    .contact-email a::after {
        bottom: -3px;
    }
}

/* Blog Modal */
.blog-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.blog-modal-overlay.open {
    display: flex;
}

.blog-modal-box {
    background: var(--near-black);
    border: 1px solid var(--dark-gray);
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 4rem;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

.blog-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--mid-gray);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.blog-modal-close:hover {
    color: var(--white);
}

.blog-modal-date {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1rem;
}

.blog-modal-title {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-gray);
}

.blog-modal-body {
    font-size: 1.05rem;
    color: var(--light-gray);
    line-height: 1.9;
    font-weight: 300;
}

@media (max-width: 768px) {
    .blog-modal-box {
        padding: 2.5rem 1.5rem;
    }

    .blog-modal-title {
        font-size: 1.5rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}