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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #e8e4de;
    color: #2c2c2c;
    line-height: 1.5;
    padding: 2rem 1rem;
    min-height: 100vh;
}

/* Paper effect */
.paper {
    max-width: 800px;
    margin: 0 auto;
    background: #fdfcfa;
    padding: 4rem 5rem;
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.05),
        0 2px 4px rgba(0,0,0,0.05),
        0 8px 16px rgba(0,0,0,0.05);
    position: relative;
}

/* Subtle lined paper pattern */
.paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 27px,
        rgba(0,0,0,0.02) 27px,
        rgba(0,0,0,0.02) 28px
    );
    pointer-events: none;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d4d0c8;
}

h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.title {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 1.5rem;
}

.contact {
    font-size: 0.8125rem;
    color: #555;
    letter-spacing: 0.02em;
}

.dot {
    margin: 0 0.75rem;
    color: #ccc;
}

/* Sections */
.section {
    margin-bottom: 2.5rem;
    position: relative;
}

h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e4de;
    letter-spacing: 0.02em;
}

/* Profile Text */
.profile-text {
    font-size: 0.9375rem;
    color: #444;
    line-height: 1.7;
}

/* Work List */
.work-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.work-item strong {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.work-item p {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.6;
}

/* Projects List */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8e4de;
}

.project-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.project-header strong {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a1a;
}

.project-header a,
.project-header span {
    font-size: 0.75rem;
    color: #888;
    text-decoration: none;
}

.project-header a:hover {
    color: #666;
    text-decoration: underline;
}

.project-description {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.6;
}

.project-description a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s;
}

.project-description a:hover {
    border-color: #666;
}

/* Skills */
.skills {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.skill-group {
    font-size: 0.8125rem;
    display: flex;
    gap: 0.5rem;
}

.skill-category {
    color: #333;
    font-weight: 500;
    min-width: 100px;
}

.skill-group span:last-child {
    color: #666;
}

/* Work History */
.work-history {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-entry {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8e4de;
}

.work-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.work-header strong {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a1a;
}

.work-header strong a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s;
}

.work-header strong a:hover {
    border-color: #666;
}

.work-header span {
    font-size: 0.8125rem;
    color: #888;
}

.work-description {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.6;
}

.work-description a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s;
}

.work-description a:hover {
    border-color: #666;
}

/* CTA Section */
.section-cta {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e4de;
}

.cta-text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pricing-hint {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 0.75rem;
    color: #666;
    background: #f5f3f0;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.price-tag strong {
    color: #1a1a1a;
}

.cta-button {
    display: inline-block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 0.125rem;
    transition: color 0.2s, border-color 0.2s;
}

.cta-button:hover {
    color: #666;
    border-color: #666;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e4de;
    letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 700px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .paper {
        padding: 2.5rem 2rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    .skill-group {
        flex-direction: column;
        gap: 0.125rem;
    }
    
    .skill-category {
        min-width: auto;
    }
    
    .work-header,
    .project-header {
        flex-direction: column;
        gap: 0.125rem;
    }
}

/* Print optimization */
@media print {
    body {
        background: none;
        padding: 0;
    }
    
    .paper {
        box-shadow: none;
        padding: 0;
    }
}
