.hero {
    padding: 86px 0 72px;
}

.hero-inner {
    position: relative;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-kicker span {
    width: 34px;
    height: 2px;
    background: var(--accent-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 36px;
    align-items: stretch;
}

.hero-content {
    padding: 24px 0;
}

.hero-title {
    max-width: 980px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(48px, 8vw, 118px);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 28px;
}

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

.hero-subtitle {
    max-width: 690px;
    font-size: clamp(17px, 2vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-hero-primary {
    background: var(--accent-primary);
    color: #101010;
    border: 1px solid var(--accent-primary);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-panel {
    min-height: 520px;
    padding: 28px;
    border-radius: 34px;
    border: 1px solid var(--border-color);
    background:
        linear-gradient(160deg, rgba(198, 255, 61, 0.92), rgba(255, 255, 255, 0.82)),
        radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.18), transparent 30%);
    color: #101010;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-panel-top,
.hero-panel-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-weight: 800;
}

.hero-panel-top i {
    font-size: 28px;
}

.hero-panel-number {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(78px, 9vw, 128px);
    font-weight: 800;
    line-height: 0.9;
}

.hero-panel-bottom p {
    max-width: 330px;
    font-size: 18px;
}

.intro-section,
.filters-section,
.projects-section,
.cta-section {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 40px;
    align-items: end;
}

.intro-grid h2,
.filters-header h2,
.cta-content h2 {
    max-width: 820px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(34px, 5vw, 72px);
    line-height: 1;
    font-weight: 800;
}

.intro-grid p,
.cta-content p {
    color: var(--text-secondary);
    font-size: 18px;
}

.filters-section {
    padding-bottom: 46px;
}

.filters-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.projects-section {
    padding-top: 52px;
    min-height: 420px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 20px;
    gap: 16px;
    color: var(--text-secondary);
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.project-card {
    min-width: 0;
    background: var(--bg-secondary);
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    margin-bottom: 20px;
}


.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--accent-primary));
    filter: saturate(0.94) contrast(1.03);
}

.project-info {
    padding: 22px;
}

.project-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-badge {
    padding: 8px 13px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.cta-section {
    padding-bottom: 96px;
}

.cta-content {
    padding: clamp(32px, 6vw, 72px);
    border-radius: 36px;
    background: var(--text-primary);
    color: var(--bg-primary);
    display: grid;
    gap: 22px;
    align-items: start;
    overflow: hidden;
    position: relative;
}

.cta-content::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.9;
}

.cta-content .section-label,
.cta-content p,
.cta-content h2,
.cta-content a {
    position: relative;
    z-index: 1;
}

.cta-content .section-label {
    color: color-mix(in srgb, var(--bg-primary) 72%, transparent);
}

.cta-content p {
    max-width: 560px;
    color: color-mix(in srgb, var(--bg-primary) 76%, transparent);
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 360px;
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 58px 0 52px;
    }

    .hero-title {
        font-size: clamp(44px, 14vw, 72px);
    }

    .hero-panel {
        min-height: 300px;
        border-radius: 26px;
    }

    .intro-section,
    .filters-section,
    .projects-section,
    .cta-section {
        padding: 50px 0;
    }

    .filters-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-image {
        height: 250px;
    }
}

@media (max-width: 560px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: auto;
    }
}
.project-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-year {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
