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

:root {
    --cream: #faf8f3;
    --dark-brown: #3d3028;
    --warm-brown: #8b7355;
    --soft-orange: #e8a87c;
    --muted-green: #a8b5a0;
}

body {
    background: var(--cream);
    color: var(--dark-brown);
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.grain {
    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='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 30px;
    position: relative;
    z-index: 2;
}

.intro {
    margin-bottom: 70px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.name {
    font-size: 4rem;
    font-weight: 400;
    color: var(--dark-brown);
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.tagline {
    font-size: 1.1rem;
    color: var(--warm-brown);
    font-style: italic;
    font-weight: 300;
}

section {
    margin-bottom: 60px;
    animation: slideUp 0.8s ease-out backwards;
}

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

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

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

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--warm-brown);
    margin-bottom: 20px;
    text-transform: lowercase;
    border-bottom: 2px solid var(--soft-orange);
    padding-bottom: 8px;
    display: inline-block;
}

p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.about p:last-child {
    margin-bottom: 0;
}

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.project-card {
    background: rgba(139, 115, 85, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--soft-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateX(8px);
    box-shadow: -4px 4px 0 var(--muted-green);
}

.project-card h3 {
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 8px;
    font-weight: 500;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--warm-brown);
    margin: 0;
}

.current-list {
    list-style: none;
    margin-top: 20px;
}

.current-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    color: var(--dark-brown);
}

.current-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--soft-orange);
    font-weight: bold;
}

.contact {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 115, 85, 0.2);
}

.reach-out {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--warm-brown);
}

.links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.links a {
    color: var(--dark-brown);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 16px;
    border: 2px solid var(--soft-orange);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.links a:hover {
    background: var(--soft-orange);
    color: var(--cream);
    transform: translateY(-2px);
}

.footnote {
    font-size: 0.9rem;
    color: var(--warm-brown);
    font-style: italic;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Blog page styles */
.breadcrumb {
    margin-bottom: 40px;
}

.breadcrumb a {
    color: var(--warm-brown);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--soft-orange);
}

.page-header {
    margin-bottom: 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--dark-brown);
    margin-bottom: 10px;
    text-transform: lowercase;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--warm-brown);
    font-style: italic;
}

.blog-entry {
    background: rgba(139, 115, 85, 0.03);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-top: 3px solid var(--soft-orange);
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--dark-brown);
    margin-bottom: 10px;
    text-transform: lowercase;
    border: none;
    padding: 0;
}

.entry-date {
    font-size: 0.9rem;
    color: var(--warm-brown);
    font-style: italic;
    display: block;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content.poem {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: var(--dark-brown);
    padding: 20px;
    border-left: 3px solid var(--muted-green);
    background: rgba(168, 181, 160, 0.05);
}

.entry-content.poem p {
    margin: 0;
}

.blog-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 115, 85, 0.2);
}

.home-link {
    color: var(--dark-brown);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--soft-orange);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.home-link:hover {
    background: var(--soft-orange);
    color: var(--cream);
    transform: translateY(-2px);
}

.inline-link {
    color: var(--soft-orange);
    text-decoration: none;
    border-bottom: 1px solid var(--soft-orange);
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--dark-brown);
    border-bottom-color: var(--dark-brown);
}

.blog-link-section p {
    margin: 0;
}

@media (max-width: 600px) {
    .name {
        font-size: 3rem;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    .links {
        flex-direction: column;
        gap: 15px;
    }
    
    .links a {
        display: block;
    }

    .blog-entry {
        padding: 25px;
    }

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

    .entry-title {
        font-size: 1.5rem;
    }
}