:root{
  --bg:#0b0b10;
  --panel:#121218;
  --panel2:#15151d;
  --text:#f4f4f6;
  --muted:#a8a8b3;
  --green:#00f58a;
  --line:#252532;
  --blue:#6374ad;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  background:radial-gradient(circle at top,#11131b 0,#09090d 38%,#050508 100%);
  color:var(--text);
  line-height:1.65;
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  min-height:74px;
  background:rgba(12,12,18,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);

  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;

  gap:24px;
  padding:0 28px;
}

.brand{
  color:var(--text);
  font-weight:800;
  text-decoration:none;
  font-size:20px;
  white-space:nowrap;
}

/* NAVIGATION */

.nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
  min-width:0;
}

.nav a{
  color:#d5d5dd;
  text-decoration:none;
  white-space:nowrap;
  font-size:17px;
  font-weight:600;
  transition:.2s ease;
}

.nav a:hover{
  color:var(--green);
}

/* BUTTONS */

.menu-btn,
.theme-btn{
  background:transparent;
  border:1px solid #333746;
  color:var(--text);
  border-radius:10px;
  cursor:pointer;
  transition:.2s ease;
}

.menu-btn:hover,
.theme-btn:hover{
  border-color:var(--green);
  color:var(--green);
}

.menu-btn{
  display:none;
  font-size:28px;
  padding:6px 14px;
}

.theme-btn{
  font-size:22px;
  padding:8px 14px;
}

/* MAIN */

main{
  max-width:1120px;
  margin:auto;
  padding:28px 20px;
}

/* HERO */

.hero{
  min-height:78vh;
  display:grid;
  gap:28px;
  align-items:center;
  padding:60px 0;
}

.eyebrow{
  color:var(--green);
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.hero h1{
  font-size:clamp(48px,10vw,92px);
  line-height:.95;
  margin:0;
}

.hero h2{
  font-size:clamp(24px,5vw,44px);
  margin:16px 0;
  color:#dcdce5;
}

.lead{
  font-size:clamp(18px,3.7vw,24px);
  color:#c7c7d0;
  max-width:840px;
}

/* CARDS */

.hero-card,
.cert,
.cards article,
.contact-grid a,
.contact-grid span{
  background:linear-gradient(145deg,var(--panel),var(--panel2));
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:0 0 0 1px rgba(255,255,255,.02);
}

.hero-card{
  border-color:rgba(0,245,138,.35);
  box-shadow:0 0 30px rgba(0,245,138,.14);
}

/* STATUS */

.status{
  display:inline-block;
  color:#05110b;
  background:var(--green);
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
}

/* BUTTONS */

.btn{
  display:inline-block;
  margin:8px 10px 0 0;
  padding:13px 18px;
  border:1px solid #3a3a45;
  border-radius:999px;
  color:var(--text);
  text-decoration:none;
  font-weight:800;
  transition:.2s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn.primary{
  background:var(--green);
  color:#07110c;
  border-color:var(--green);
}

/* SECTIONS */

.section{
  padding:70px 0;
}

.section-title{
  font-size:clamp(42px,8vw,76px);
  line-height:1.05;
  margin:0 0 46px;
  padding-left:26px;
  border-left:10px solid var(--green);
}

/* SKILLS */

.skill-group{
  margin:28px 0;
}

.skill-group h3{
  font-size:28px;
  color:var(--green);
  margin:0 0 14px;
}

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

.chips span{
  border:1px solid #2c2c37;
  border-radius:999px;
  padding:9px 16px;
  background:#111117;
  font-size:18px;
}

/* GRIDS */

.cert-grid,
.cards,
.contact-grid{
  display:grid;
  gap:22px;
}

.cards{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

/* CERTIFICATIONS */

.cert{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
}

.cert.highlight{
  border:4px solid var(--green);
  box-shadow:0 0 28px rgba(0,245,138,.35);
}

.cert h3,
.cards h3{
  font-size:24px;
  margin:0;
}

.cert p,
.cards p,
.company{
  color:var(--muted);
  margin:0;
}

.cert span{
  justify-self:start;
  background:var(--green);
  color:#06110b;
  border-radius:999px;
  padding:8px 14px;
  font-weight:800;
}

/* TIMELINE */

.timeline{
  border-left:6px solid var(--green);
  margin-left:8px;
}

.timeline-item{
  position:relative;
  padding:0 0 54px 38px;
}

.timeline-item:before{
  content:"";
  position:absolute;
  left:-17px;
  top:6px;
  width:28px;
  height:28px;
  background:var(--green);
  border-radius:50%;
}

.timeline time{
  color:var(--green);
  font-weight:900;
  font-size:24px;
}

.timeline h3{
  font-size:30px;
  margin:8px 0;
}

.timeline li{
  color:#d2d2d9;
  margin:8px 0;
}

/* ACHIEVEMENTS */

.achievement{
  margin:18px 0;
  padding:20px 22px;
  border-left:8px solid var(--green);
  border-radius:0 18px 18px 0;
  background:rgba(0,245,138,.12);
  color:var(--green);
  font-size:20px;
}

/* CONTACT */

.contact-grid a,
.contact-grid span{
  color:var(--text);
  text-decoration:none;
  font-size:20px;
}

/* BACK TO TOP */

.top{
  position:fixed;
  right:22px;
  bottom:26px;
  background:var(--green);
  color:#06110b;
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-decoration:none;
  font-size:34px;
  font-weight:900;
  box-shadow:0 0 0 4px rgba(255,255,255,.25);
}

/* FOOTER */

footer{
  text-align:center;
  color:var(--muted);
  padding:36px;
}

/* DESKTOP */

@media (min-width:850px){

  .hero{
    grid-template-columns:1.45fr .75fr;
  }

  .cert-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

/* MOBILE */

@media (max-width:849px){

  .site-header{
    grid-template-columns:auto 1fr auto;
    gap:14px;
    padding:0 14px;
  }

  .menu-btn{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    top:74px;
    left:0;
    right:0;

    background:#101016;
    border-bottom:1px solid var(--line);

    padding:12px 18px;

    flex-direction:column;
    align-items:flex-start;
    gap:0;
  }

  .nav.open{
    display:flex;
  }

  .nav a{
    width:100%;
    padding:14px 0;
    border-bottom:1px solid var(--line);
  }

  .brand{
    text-align:center;
    font-size:18px;
  }

  .theme-btn{
    font-size:20px;
    padding:6px 10px;
  }

}

/* SMALL PHONES */

@media (max-width:480px){

  .hero h1{
    font-size:56px;
  }

  .hero h2{
    font-size:28px;
  }

  .lead{
    font-size:18px;
  }

  .section-title{
    font-size:44px;
  }

  .timeline h3{
    font-size:24px;
  }

}

/* LIGHT MODE */

body.light{
  --bg:#f5f6fb;
  --panel:#fff;
  --panel2:#f8f9fd;
  --text:#20222a;
  --muted:#626775;
  --line:#dde1ea;
  background:#f5f6fb;
}

.light .site-header{
  background:rgba(255,255,255,.95);
}

.light .chips span{
  background:#fff;
}
