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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0a;
    color: #ADADAD;
    line-height: 1;
    scroll-behavior: smooth;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #333;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: opacity 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.current {
    text-decoration: underline;
}

main:not(.case-study-main):not(.portfolio-main) {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 10;
    background-color: #0a0a0a;
}

h1 {
    font-size: 52px;
    font-weight: 500;
    margin-bottom: 3rem;
    line-height: 1.2em;
    letter-spacing: -0.09em;
    color: #ffffff;
}

h1 .word {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    animation: blurIn 0.6s ease-out forwards;
    will-change: transform, opacity, filter;
}

h1 .word:nth-child(1) { animation-delay: 0.0s; }
h1 .word:nth-child(2) { animation-delay: 0.1s; }
h1 .word:nth-child(3) { animation-delay: 0.2s; }
h1 .word:nth-child(4) { animation-delay: 0.3s; }
h1 .word:nth-child(5) { animation-delay: 0.4s; }
h1 .word:nth-child(6) { animation-delay: 0.5s; }
h1 .word:nth-child(7) { animation-delay: 0.6s; }
h1 .word:nth-child(8) { animation-delay: 0.7s; }
h1 .word:nth-child(9) { animation-delay: 0.8s; }
h1 .word:nth-child(10) { animation-delay: 0.9s; }

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(0%);
    }
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0%);
    }
}

.content {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: -0.04em;
    font-weight: 500;
}

.content p {
    margin-bottom: 2rem;
}

.highlight-link {
    color: #E35700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.highlight-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.subscribe-form {
    margin: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #0a0a0a;
    color: #ADADAD;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: #E35700;
}

.email-input::placeholder {
    color: #666;
}

.subscribe-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    display: block;
    font-family: 'Inter', sans-serif;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.profile-image {
    margin: 3rem 0 2rem;
    text-align: center;
}

.profile-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    background-color: #222;
    border: 2px solid #333;
}


.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    font-size: 1rem;
    line-height: 1.3;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.final-note {
    color: #A6A6A6;
    font-size: 0.95rem;
}

/* Thought Article Styles */
.thought-article {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background-color: #0a0a0a;
}

.article-header {
    margin-bottom: 3rem;
}

.article-image {
    margin-bottom: 3rem;
}

.article-image img {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.article-header h1 {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: -0.08em;
    color: #ffffff;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 0.9rem;
    color: #A6A6A6;
    margin-bottom: 2rem;
}

.article-date, .article-reading-time {
    color: #A6A6A6;
}

.article-content {
    margin-bottom: 4rem;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.06em;
    color: #ffffff;
    margin-bottom: 2rem;
}

.article-content p {
    font-size: 18px;
    line-height: 40px;
    letter-spacing: -0.04em;
    color: #bbbbbb;
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-footer {
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.article-likes {
    margin-bottom: 2rem;
    text-align: center;
}

.like-button {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #ADADAD;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.like-button:hover {
    color: #E35700;
}

.like-button.liked .heart {
    color: #E35700;
}

.heart {
    font-size: 18px;
    transition: all 0.3s ease;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.like-count {
    font-weight: 500;
    min-width: 20px;
    text-align: left;
}

.article-navigation {
    margin-bottom: 2rem;
}

.nav-button {
    color: #E35700;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-button:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.article-share p {
    color: #A6A6A6;
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 768px) {
    main {
        padding: 1rem 1rem;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .content {
        font-size: 1.5rem;
    }
    
    nav {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .profile-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .content {
        font-size: 1rem;
        line-height: 1.9;
    }
    
    .profile-image img {
        width: 100%;
        height: auto;
    }
    
    .email-input, .subscribe-btn {
        font-size: 0.95rem;
        padding: 0.9rem;
    }
    
    .article-header h1 {
        font-size: 36px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content p {
        font-size: 16px;
        line-height: 36px;
    }
    
    .article-image img {
        height: 400px;
    }
}