@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

.cs-portfolio-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.cs-portfolio-hero {
    position: relative;
    padding: clamp(90px, 12vw, 130px) 0 clamp(56px, 8vw, 78px);
    overflow: hidden;
    background: linear-gradient(180deg, #0b120b 0%, #131c13 55%, #1a2418 100%);
}

.cs-portfolio-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 25%, rgba(var(--cs-rgb-lime), 0.2), transparent 42%),
        radial-gradient(circle at 82% 75%, rgba(var(--cs-rgb-olive), 0.26), transparent 46%);
}

.cs-portfolio-kicker {
    margin: 0 0 12px;
    color: rgba(230, 242, 210, 0.88);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cs-portfolio-title {
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.cs-portfolio-lead {
    margin: 0;
    max-width: 62ch;
    color: rgba(228, 238, 217, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.cs-portfolio-grid-wrap {
    padding: clamp(56px, 8vw, 88px) 0;
    background: linear-gradient(180deg, #fdfef9 0%, #f1f6e7 100%);
}

.cs-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 22px);
}

.cs-portfolio-card {
    border: 1px solid rgba(var(--cs-rgb-olive), 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 38px rgba(35, 45, 28, 0.08);
}

.cs-portfolio-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

.cs-portfolio-card h3 {
    margin: 0;
    padding: 12px 14px 14px;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    color: var(--cs-olive-dark);
    line-height: 1.3;
}

@media (max-width: 980px) {
    .cs-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .cs-portfolio-grid {
        grid-template-columns: 1fr;
    }
}
