/* =========================
   RESET
========================= */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:#f5f6f3;
  color:#1b1f1d;
  line-height:1.6;
}


/* =========================
   GLOBAL
========================= */

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

section{
  padding:90px 0;
}

img{
  width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}


/* =========================
   HERO
========================= */

.hero{
  min-height:88vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:120px 20px 90px;
  background:
    radial-gradient(circle at top left, rgba(76,95,72,.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(76,95,72,.08), transparent 35%);
}

.hero__content{
  max-width:860px;
}

.hero__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  background:#e8ece5;
  color:#4b5f48;
  font-size:13px;
  font-weight:700;
  margin-bottom:28px;
}

.hero h1{
  font-size:clamp(48px, 8vw, 92px);
  line-height:1;
  letter-spacing:-3px;
  margin-bottom:28px;
}

.hero__text{
  max-width:720px;
  margin:0 auto;
  font-size:20px;
  color:#5f6863;
}

.hero__buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:42px;
}


/* =========================
   BUTTONS
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 28px;
  border-radius:16px;
  font-weight:700;
  transition:.2s ease;
}

.btn--primary{
  background:#4b5f48;
  color:#fff;
}

.btn--primary:hover{
  background:#394b37;
  transform:translateY(-2px);
}

.btn--ghost{
  border:1px solid #d5dcd2;
  background:#fff;
  color:#1b1f1d;
}

.btn--ghost:hover{
  transform:translateY(-2px);
  border-color:#b7c0b3;
}


/* =========================
   SECTION HEAD
========================= */

.section-head{
  margin-bottom:42px;
}

.section-head span{
  display:inline-block;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#4b5f48;
  margin-bottom:10px;
}

.section-head h2{
  font-size:clamp(30px, 4vw, 52px);
  line-height:1.1;
  letter-spacing:-1.5px;
}


/* =========================
   SKILLS
========================= */

.skills{
  padding-top:40px;
}

.badge-grid{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.skill-badge{
  padding:14px 18px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e1e6df;
  font-size:15px;
  font-weight:700;
  color:#344531;
  box-shadow:0 8px 20px rgba(40,52,42,.04);
}


/* =========================
   PROJECTS
========================= */

.project-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:28px;
}

.project-card{
  background:#fff;
  border-radius:28px;
  overflow:hidden;
  border:1px solid #e2e8df;
  transition:.25s ease;
  box-shadow:0 14px 30px rgba(30,40,32,.05);
}

.project-card:hover{
  transform:translateY(-6px);
}

.project-card__image{
  background:#dfe5dc;
  aspect-ratio:16 / 11;
  overflow:hidden;
}

.project-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.project-card__content{
  padding:28px;
}

.project-tag{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ec;
  color:#4b5f48;
  font-size:12px;
  font-weight:800;
  margin-bottom:18px;
}

.project-card h3{
  font-size:30px;
  letter-spacing:-1px;
  margin-bottom:12px;
}

.project-card p{
  color:#5f6863;
  font-size:16px;
}


/* =========================
   PDF SECTION
========================= */

.pdf-box{
  background:#fff;
  border-radius:36px;
  padding:60px;
  text-align:center;
  border:1px solid #e1e6df;
  box-shadow:0 18px 40px rgba(30,40,32,.05);
}

.pdf-box__tag{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:#eef2ec;
  color:#4b5f48;
  font-size:12px;
  font-weight:800;
  margin-bottom:18px;
}

.pdf-box h2{
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.05;
  letter-spacing:-2px;
  margin-bottom:18px;
}

.pdf-box p{
  max-width:720px;
  margin:0 auto 34px;
  color:#5f6863;
  font-size:18px;
}


/* =========================
   FOOTER
========================= */

.footer{
  padding:40px 0;
  border-top:1px solid #dfe5dc;
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  align-items:center;
  color:#5f6863;
}

.footer strong{
  color:#1b1f1d;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

  section{
    padding:70px 0;
  }

  .hero{
    min-height:auto;
    padding-top:110px;
  }

  .hero__text{
    font-size:18px;
  }

  .project-card__content{
    padding:24px;
  }

  .pdf-box{
    padding:40px 26px;
  }

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

}