/* ============================================
   Homepage - Hero-Researcher Design
   ============================================ */

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: var(--axis-bg-alt);
    border-bottom: 1px solid var(--axis-border);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--axis-accent);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--axis-text);
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--axis-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 140px;
}

/* ============================================
   What I Do Section
   ============================================ */
.what-i-do-section {
    padding: var(--space-2xl) 0;
    background: var(--axis-bg);
}

.what-i-do-section .section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.focus-card {
    background: var(--axis-bg-alt);
    border: 1px solid var(--axis-border);
    padding: var(--space-xl);
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.focus-card:hover {
    border-color: var(--axis-accent);
    transform: translateY(-4px);
}

.focus-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--axis-bg);
    border: 1px solid var(--axis-border);
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
    color: var(--axis-accent);
}

.focus-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.focus-description {
    color: var(--axis-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.focus-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--axis-accent);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.focus-link:hover {
    color: var(--axis-accent-hover);
}

.focus-link i {
    transition: transform 0.2s ease;
}

.focus-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
}

.section-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--axis-accent);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.section-link:hover {
    color: var(--axis-accent-hover);
}

.section-link i {
    transition: transform 0.2s ease;
}

.section-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Featured Projects Section
   ============================================ */
.featured-projects-section {
    padding: var(--space-2xl) 0;
    background: var(--axis-bg-alt);
    border-top: 1px solid var(--axis-border);
}

.project-card {
    background: var(--axis-bg);
    border: 1px solid var(--axis-border);
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--axis-accent);
    transform: translateY(-4px);
}

.project-thumbnail {
    background: var(--axis-bg-alt);
    border-bottom: 1px solid var(--axis-border);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--axis-accent);
}

.project-content {
    padding: var(--space-lg);
}

.project-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.project-description {
    color: var(--axis-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.project-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--axis-accent);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.project-link:hover {
    color: var(--axis-accent-hover);
}

.project-link i {
    transition: transform 0.2s ease;
}

.project-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Latest Writing Section
   ============================================ */
.latest-writing-section {
    padding: var(--space-2xl) 0;
    background: var(--axis-bg);
    border-top: 1px solid var(--axis-border);
}

.writing-card {
    background: var(--axis-bg-alt);
    border: 1px solid var(--axis-border);
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.writing-card:hover {
    border-color: var(--axis-accent);
    transform: translateY(-4px);
}

.writing-content {
    padding: var(--space-lg);
}

.writing-meta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
}

.writing-date {
    font-size: 0.8125rem;
    color: var(--axis-text-light);
}

.writing-category {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--axis-accent);
    background: var(--axis-bg);
    padding: var(--space-xs) var(--space-sm);
}

.writing-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.writing-title a {
    color: var(--axis-text);
}

.writing-title a:hover {
    color: var(--axis-accent);
}

.writing-excerpt {
    color: var(--axis-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.writing-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--axis-accent);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.writing-link:hover {
    color: var(--axis-accent-hover);
}

.writing-link i {
    transition: transform 0.2s ease;
}

.writing-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Playground Section
   ============================================ */
.playground-section {
    padding: var(--space-2xl) 0;
    background: var(--axis-bg-alt);
    border-top: 1px solid var(--axis-border);
    overflow: hidden;
}

.playground-scroll {
    position: relative;
    margin-top: var(--space-lg);
    padding: 0 var(--space-lg);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--axis-border-dark) var(--axis-bg);
}

.playground-scroll::-webkit-scrollbar {
    height: 8px;
}

.playground-scroll::-webkit-scrollbar-track {
    background: var(--axis-bg);
}

.playground-scroll::-webkit-scrollbar-thumb {
    background: var(--axis-border-dark);
    border-radius: 4px;
}

.playground-track {
    display: flex;
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
    min-width: min-content;
}

.playground-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--axis-bg);
    border: 1px solid var(--axis-border);
    min-width: 120px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.playground-item:hover {
    border-color: var(--axis-accent);
    transform: translateY(-4px);
}

.playground-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--axis-bg-alt);
    border: 1px solid var(--axis-border);
    font-size: 1.5rem;
    color: var(--axis-accent);
}

.playground-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--axis-text);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--space-2xl) 0;
    background: var(--axis-bg);
    border-top: 1px solid var(--axis-border);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
}

.about-bio {
    color: var(--axis-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--axis-text);
    padding: var(--space-md) var(--space-lg);
    background: var(--axis-bg-alt);
    border: 1px solid var(--axis-border);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.about-link:hover {
    border-color: var(--axis-accent);
    color: var(--axis-accent);
}

.about-link i {
    font-size: 1.125rem;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-xl) 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .focus-card,
    .project-card,
    .writing-card {
        margin-bottom: var(--space-md);
    }

    .playground-track {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .playground-item {
        min-width: 100px;
        padding: var(--space-md);
    }

    .about-links {
        flex-direction: column;
        align-items: center;
    }

    .about-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .focus-icon,
    .playground-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
