/* style.css */

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

body{
    font-family:'Inter', sans-serif;
    background:#f5f5f3;
    color:#171717;
    min-height:100vh;
    overflow-x:hidden;
}

.page-shell{
    width:min(1280px, 92%);
    margin:auto;
    padding:70px 0 60px;
    position:relative;
    z-index:2;
}

/* Background glow */

.background-glow{
    position:fixed;
    border-radius:50%;
    filter:blur(110px);
    z-index:0;
    opacity:.45;
}

.glow-one{
    width:340px;
    height:340px;
    background:#8ec5ff;
    top:-80px;
    left:-80px;
}

.glow-two{
    width:360px;
    height:360px;
    background:#c8f0dd;
    top:80px;
    right:-120px;
}

/* Hero */

.hero{
    text-align:center;
    margin-bottom:60px;
}

.eyebrow{
    font-size:.8rem;
    letter-spacing:.18em;
    font-weight:700;
    color:#6f6f6f;
    margin-bottom:18px;
}

h1{
    font-size:clamp(3rem, 7vw, 5.2rem);
    line-height:1;
    font-weight:800;
    letter-spacing:-0.04em;
}

.subtitle{
    margin-top:16px;
    font-size:1.3rem;
    color:#444;
    font-weight:500;
}

.intro{
    margin:18px auto 0;
    max-width:620px;
    line-height:1.6;
    color:#666;
    font-size:1rem;
}

/* Cards */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(310px, 1fr));
    gap:28px;
    margin-top:20px;
}

.card{
    text-decoration:none;
    color:inherit;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(255,255,255,.8);
    backdrop-filter:blur(10px);
    border-radius:24px;
    overflow:hidden;
    box-shadow:
        0 10px 35px rgba(0,0,0,.06);
    transition:.28s ease;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:
        0 18px 45px rgba(0,0,0,.12);
}

.image-wrap{
    height:240px;
    overflow:hidden;
}

.image-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.card:hover img{
    transform:scale(1.05);
}

.card-content{
    padding:26px;
}

.card-content h2{
    font-size:1.9rem;
    line-height:1.1;
    margin-bottom:14px;
    font-weight:800;
    letter-spacing:-0.03em;
}

.pill{
    display:inline-block;
    padding:8px 14px;
    border-radius:999px;
    background:#efefef;
    color:#555;
    font-size:.88rem;
    font-weight:600;
    margin-bottom:16px;
}

.card-content p{
    color:#666;
    line-height:1.6;
    font-size:.97rem;
}

/* Footer */

.footer{
    margin-top:70px;
    padding-top:30px;
    border-top:1px solid #dddddd;
    text-align:center;
}

.footer p{
    color:#555;
    margin-bottom:18px;
}

.socials{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.socials a{
    text-decoration:none;
    color:#111;
    font-weight:700;
    transition:.2s ease;
}

.socials a:hover{
    opacity:.6;
}

/* Mobile */

@media (max-width:700px){

    .page-shell{
        padding-top:50px;
    }

    .hero{
        margin-bottom:42px;
    }

    .image-wrap{
        height:210px;
    }

    .card-content h2{
        font-size:1.55rem;
    }

}