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

body {
    background: #fff;
    color: #111;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    height: 60px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.logo {
    font-family: 'sans-serif', sans-serif;
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul a {
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

nav ul a:hover { color: #111; }

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* HERO */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 6vw 5rem;
    animation: fadeUp 0.7s ease both;
}

/* AVATAR */
.avatar-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.8rem;
    border: 3px solid #eee;
    flex-shrink: 0;
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.badge {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.badge span {
    background: #f3f3f3;
    color: #555;
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.hero p {
    color: #666;
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-dark:hover { background: #333; }

.btn-outline {
    border: 1px solid #ddd;
    color: #444;
    background: #fff;
}

.btn-outline:hover { border-color: #aaa; color: #111; }

/* DIVIDER */
.divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 0 6vw;
}

/* POSTS SECTION */
.posts-section {
    padding: 4rem 6vw;
    animation: fadeUp 0.7s 0.1s ease both;
    text-align: center;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #aaa;
    margin-bottom: 2rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #111;
    gap: 1rem;
    transition: all 0.15s;
}

.post-item:first-child { border-top: 1px solid #f0f0f0; }

.post-item:hover .post-title { color: #555; }

.post-left { display: flex; flex-direction: column; gap: 0.3rem; }

.post-cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bbb;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.post-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    color: #bbb;
    font-size: 0.78rem;
}

.arrow { font-size: 0.9rem; color: #ccc; }
.post-item:hover .arrow { color: #888; }

/* NEWSLETTER */
.newsletter {
    margin: 0 6vw 4rem;
    padding: 2.5rem;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.2s ease both;
}

.newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.newsletter p { color: #888; font-size: 0.85rem; }

.nl-form {
    display: flex;
    gap: 0;
    min-width: 280px;
}

.nl-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-right: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    outline: none;
    border-radius: 4px 0 0 4px;
    background: #fff;
}

.nl-form button {
    padding: 0.7rem 1.4rem;
    background: #111;
    color: #fff;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background 0.2s;
}

.nl-form button:hover { background: #333; }

/* TOPICS */
.topics {
    padding: 0 6vw 4rem;
    animation: fadeUp 0.7s 0.25s ease both;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.topic-tag {
    padding: 0.4rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.topic-tag:hover {
    border-color: #111;
    color: #111;
}

/* FOOTER */
footer {
    border-top: 1px solid #eee;
    padding: 2rem 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer p { color: #bbb; font-size: 0.78rem; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #111; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .post-right .post-date { display: none; }
    .newsletter { padding: 2rem 1.5rem; }
    .nl-form { min-width: 100%; width: 100%; }
    
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #eee;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul.active {
        max-height: 500px;
    }
    
    nav ul li {
        border-bottom: 1px solid #eee;
    }
    
    nav ul a {
        display: block;
        padding: 1rem 6vw;
    }
}
    .newsletter { padding: 2rem 1.5rem; }
    .nl-form { min-width: 100%; width: 100%; }
}