/* Color Variables and Base Reset */
:root {
    --bg-color: #F4F3EE; /* Anthropic-style cream/off-white */
    --text-primary: #191919;
    --text-secondary: #525252;
    --border-color: #D1CFC7;
    --accent-color: #191919;
    --link-color: #8C4332; /* Subtle rust for links, reminiscent of Claude's accents */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: var(--text-primary);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Navigation */
header {
    background-color: rgba(244, 243, 238, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Hero Section */
#hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    max-width: 1000px;
    margin: 80px auto 0;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Main Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--text-primary);
}

/* Replaced Cards with Clean List Items */
.list-item {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.list-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.list-item h3 {
    font-size: 1.5rem;
}

.date {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.description {
    color: var(--text-primary);
}

ul {
    margin-left: 1.2rem;
    color: var(--text-primary);
}

ul li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

ul li::marker {
    color: var(--text-secondary);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.skill-category p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Animations */
.fade-section {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .date {
        margin-top: 0.25rem;
        margin-bottom: 1rem;
    }
    .contact-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
