/* BASE */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}
body{
  background:#000;
  color:#fff;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }

:root{
  --stroke: rgba(255,255,255,0.10);
  --stroke2: rgba(255,255,255,0.07);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.55);
  --radius: 18px;
  --shadow: 0 22px 60px rgba(0,0,0,0.65);
  --accent: rgba(59,130,246,0.85);
}

.container{
  width:min(1150px, calc(100% - 48px));
  margin:0 auto;
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(0,0,0,0.65);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-weight:900;
  font-size:18px;
}
.btn{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.04);
  font-size:13px;
  font-weight:800;
}

/* HERO */
.hero{
  padding:64px 0 0;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-140px 0 auto 0;
  height:420px;
  background:
    radial-gradient(circle at 20% 20%, rgba(59,130,246,0.16), transparent 55%),
    radial-gradient(circle at 70% 0%, rgba(255,255,255,0.07), transparent 60%);
  pointer-events:none;
}

.hero-wrap{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:22px;
}

.kicker{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--muted2);
}

.page-title{
  font-size:52px;
  font-weight:950;
  letter-spacing:-0.04em;
  margin-top:8px;
}

.page-sub{
  margin-top:12px;
  max-width:720px;
  color:var(--muted2);
  line-height:1.8;
}

.hero-pills{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.hero-pill{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  font-size:13px;
  font-weight:800;
}
.hero-pill.active{
  border-color:rgba(59,130,246,0.85);
  background:rgba(59,130,246,0.15);
}

.hero-note-box{
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  border-radius:18px;
  padding:18px;
  color:var(--muted);
  line-height:1.7;
}

.hero-divider{
  margin-top:30px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
}

/* PROJECTS */
.project-list{
  margin-top:18px;
}
.project-row{
  padding:28px 0;
  border-bottom:1px solid var(--stroke2);
}
.row-link{
  display:grid;
  grid-template-columns:1.1fr 1.4fr;
  gap:22px;
}
.row-media{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
}
.row-media img{
  height:280px;
  width:100%;
  object-fit:cover;
}
.meta{
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--muted2);
}
.name{
  font-size:26px;
  font-weight:950;
  margin-top:6px;
}
.desc{
  margin-top:10px;
  color:var(--muted);
  line-height:1.75;
}

.project-actions{
  margin-top:14px;
}
.live-btn{
  padding:10px 14px;
  border-radius:12px;
  font-size:13px;
  font-weight:900;
  border:1px solid rgba(59,130,246,0.7);
  background:rgba(59,130,246,0.15);
}
/* =========================================
     FOOTER
  ========================================= */
  .footer{
    padding: 70px 0 30px;
  }
  
  .footer-inner{
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
  }
  
  .footer-logo{
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }
  
  .footer-brand p{
    color: var(--muted);
    line-height: 1.7;
    max-width: 360px;
    margin-bottom: 18px;
  }
  
  .footer-socials{
    display: flex;
    gap: 10px;
  }
  
  .footer-socials a{
    width: 38px;
    height: 38px;
  
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
  
    background: rgba(255,255,255,0.03);
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    font-weight: 900;
    font-size: 13px;
  
    transition: 0.18s ease;
  }
  
  .footer-socials a:hover{
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.06);
  }
  
  .footer-col h4{
    font-size: 14px;
    margin-bottom: 14px;
  }
  
  .footer-col a{
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.18s ease;
  }
  
  .footer-col a:hover{
    color: #fff;
    opacity: 0.95;
  }
  
  .footer-bottom{
    margin-top: 28px;
    padding-top: 18px;
  
    border-top: 1px solid rgba(255,255,255,0.08);
  
    color: var(--muted2);
    font-size: 13px;
  
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
  }

/* RESPONSIVE */
@media(max-width:980px){
  .hero-wrap,
  .row-link{
    grid-template-columns:1fr;
  }
  .footer-inner{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand{
    grid-column: 1 / -1;
  }

  .footer-brand p{
    max-width: 520px;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-title{ font-size:42px; }
}
@media(max-width:560px){
  .page-title{ font-size:34px; }
  .row-media img{ height:220px; }
  .footer{
    padding: 56px 0 24px;
  }

  .footer-inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col h4{
    margin-bottom: 10px;
  }

  .footer-col a{
    margin-bottom: 8px;
  }

  .footer-socials{
    gap: 12px;
  }

  .footer-bottom{
    text-align: left;
    font-size: 12px;
  }
}
