/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* Site Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.site-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.social-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #5a6c7d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #1a1a1a;
}

/* Typography Hierarchy */
h1 {
    font-size: 2.75rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #5a6c7d;
    line-height: 1.5;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

p {
    font-size: 1rem;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 1rem;
}

em {
    font-style: italic;
}

strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Header */
header {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Industries */
.industries {
    margin-top: 2rem;
}

.industries-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #5a6c7d;
    margin-bottom: 0.75rem;
}

.industry-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f1f3f5;
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
    white-space: nowrap;
}

.and-more {
    display: inline-block;
    padding: 0.5rem 0.25rem;
    color: #5a6c7d;
    font-size: 0.875rem;
    font-weight: 400;
    font-style: italic;
}

/* Intro Section */
.intro {
    margin-bottom: 4rem;
}

/* Case Studies */
.case-studies {
    margin-bottom: 4rem;
}

.case-study {
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.case-study:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.case-study-title {
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    transition: background-color 0.2s ease;
}

.case-study-title:hover {
    background-color: #f8f9fa;
}

.expand-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #5a6c7d;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.expand-icon.expanded {
    transform: rotate(45deg);
}

.case-study-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.case-study-content.expanded {
    max-height: 2000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.case-item {
    margin-bottom: 1.5rem;
}

.case-item:last-child {
    margin-bottom: 0;
}

.case-item h4 {
    margin-top: 0;
}

/* Toolkit Section */
.toolkit {
    margin-bottom: 4rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.toolkit:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toolkit-title {
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    transition: background-color 0.2s ease;
}

.toolkit-title:hover {
    background-color: #f8f9fa;
}

.toolkit-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.toolkit-content.expanded {
    max-height: 2500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.toolkit-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.toolkit-item:last-of-type {
    border-bottom: none;
}

.toolkit-item h4 {
    margin-top: 0;
}

.example {
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid #e2e8f0;
    font-size: 0.95rem;
    color: #5a6c7d;
}

.toolkit-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

/* Projects Section */
.projects {
    margin-bottom: 4rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.projects:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.projects-title {
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    transition: background-color 0.2s ease;
}

.projects-title:hover {
    background-color: #f8f9fa;
}

.projects-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.projects-content.expanded {
    max-height: 1500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.project-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.project-item h4 {
    margin-top: 0;
}

.project-item h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-item h4 a:hover {
    color: #5a6c7d;
}

/* CTA Section */
.cta {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.cta h3 {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #2c3e50;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

/* Resume Section */
.resume-section {
    margin-bottom: 4rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.resume-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.resume-title {
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    transition: background-color 0.2s ease;
}

.resume-title:hover {
    background-color: #f8f9fa;
}

.resume-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.resume-content.expanded {
    max-height: 1500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Credentials */
.credentials {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.credentials h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials-list li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 1rem;
}

.credentials-list li::before {
    content: "•";
    color: #1a1a1a;
    font-weight: bold;
    display: inline-block;
    width: 1.5rem;
}

/* Skills */
.skills {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.skills h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.375rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1a1a1a;
    border: 2px solid #fafbfc;
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.timeline-content h4 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.company {
    color: #5a6c7d;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
}

footer p {
    font-size: 0.875rem;
    color: #5a6c7d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    .case-study-title,
    .toolkit-title,
    .resume-title {
        padding: 1.25rem;
    }

    .cta {
        padding: 2rem 1.5rem;
    }
}
