:root{
  --bg:#0b0c10;
  --panel:#12131a;
  --line:#26283a;
  --text:#e8e8ee;
  --muted:#b7b7c6;
  --btn:#e8e8ee;
  --btnText:#0b0c10;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none; opacity:.92}
a:hover{opacity:1}

.container{max-width:1080px; margin:0 auto; padding:0 16px}

.header{
  position:sticky; top:0; z-index:50;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.headerInner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px;
}
.logo{
  width:38px; height:38px;
  border:1px solid var(--line);
  border-radius:12px;
  display:grid; place-items:center;
  font-weight:800;
}

.nav{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.btn{
  display:inline-block;
  background:var(--btn);
  color:var(--btnText);
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
}
.btn.small{padding:9px 12px; border-radius:12px}
.btn.ghost{background:transparent; color:var(--text); border-color:var(--line)}

.menuBtn{
  display:none;
  width:44px; height:40px;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
}
.menuBtn span{
  display:block; height:2px; background:var(--text);
  margin:5px 0; border-radius:2px;
}

.mobileNav{
  display:none;
  padding:10px 16px 16px;
  border-top:1px solid var(--line);
}
.mobileNav a{display:block; padding:10px 6px; color:var(--muted)}
.mobileNav .btn{margin-top:8px; width:fit-content}

@media (max-width: 760px){
  .nav{display:none}
  .menuBtn{display:block}
  .mobileNav{display:block}
}

.hero{padding:34px 0 16px}
.heroGrid{
  display:grid; gap:18px;
  grid-template-columns: 1.35fr 1fr;
  align-items:start;
}
@media (max-width: 900px){
  .heroGrid{grid-template-columns:1fr}
}

.pill{
  display:inline-block;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  color:var(--muted);
  margin:0 0 10px;
}

h1{font-size:46px; margin:6px 0 10px; line-height:1.05}
.headline{color:var(--muted); max-width:62ch; font-size:16px; line-height:1.6}

.section{padding:30px 0}
.sectionHead{display:flex; align-items:baseline; justify-content:space-between; gap:14px; flex-wrap:wrap}

.sectionGrid{
  display:grid; gap:16px;
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 900px){
  .sectionGrid{grid-template-columns:1fr}
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
}

.cardTop{display:flex; gap:12px; align-items:center}
.avatar{
  width:44px; height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  display:grid; place-items:center;
  font-weight:800;
  color:var(--text);
}

.hr{border:0; border-top:1px solid var(--line); margin:14px 0}

.stats{
  display:grid; gap:10px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top:12px;
}
@media (max-width: 520px){
  .stats{grid-template-columns:1fr}
}

.stat{border:1px solid var(--line); border-radius:16px; padding:12px}
.muted{color:var(--muted)}
.small{font-size:13px}
.strong{font-weight:700}

.ctaRow{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 10px}
.linkRow{display:flex; gap:12px; flex-wrap:wrap; color:var(--muted)}

.miniRow{display:flex; gap:14px; flex-wrap:wrap; margin-top:12px}
.mini{border-bottom:1px dashed var(--line); color:var(--muted); padding-bottom:2px}

.list{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .grid{grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .grid{grid-template-columns: 1fr;} }

.project{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  display:flex; flex-direction:column; gap:10px;
  min-height: 210px;
}
.project h3{margin:0}
.project p{margin:0; color:var(--muted); line-height:1.55}

.tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:2px}
.tag{
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
  color:var(--muted);
}

.projectLinks{display:flex; gap:12px; flex-wrap:wrap; margin-top:8px}
.projectLinks a{border-bottom:1px dashed var(--line); color:var(--muted)}

.chips{display:flex; gap:10px; flex-wrap:wrap}
.chip{
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 12px;
  color:var(--muted);
}

.quickLinks{display:flex; flex-direction:column; gap:10px; margin-top:10px}
.footer{
  border-top:1px solid var(--line);
  padding:18px 0 36px;
  margin-top:10px;
}
.footerInner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}

/* ===== Minimal & Premium upgrade ===== */
body{
  background:
    radial-gradient(1100px 700px at 10% 8%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(900px 650px at 85% 20%, rgba(255,255,255,.04), transparent 55%),
    radial-gradient(900px 650px at 60% 92%, rgba(255,255,255,.03), transparent 55%),
    var(--bg);
}

.header{
  background: rgba(11,12,16,.72);
  backdrop-filter: blur(14px);
}

.card, .project{
  background: rgba(18,19,26,.78);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.card:hover, .project:hover{
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 26px 90px rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.12);
}

h1{
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2{
  letter-spacing: -0.02em;
}

.headline{
  font-size: 16px;
  line-height: 1.8;
  max-width: 64ch;
}

.muted{
  color: rgba(232,232,238,.74);
}

.btn{
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.btn:hover{
  transform: translateY(-1px);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
  box-shadow: 0 16px 46px rgba(0,0,0,.36);
}

.btn.ghost{
  background: rgba(255,255,255,.02);
}

.tag, .chip, .pill{
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.10);
}

.linkRow a, .projectLinks a, .mini{
  border-bottom-color: rgba(255,255,255,.14);
}

/* Smooth entrance */
.fadeInUp{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.fadeInUp.show{
  opacity:1;
  transform: translateY(0);
}


/* Mobile menu overlay */
.mobileOverlay[hidden]{display:none}
.mobileOverlay{
  position:fixed;
  inset:0;
  z-index:100;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:16px;
}

.mobilePanel{
  width:min(520px, 100%);
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:22px;
  padding:14px;
  margin-top:10px;
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
}

.mobileTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 6px 10px;
}

.mobileBrand{
  display:flex;
  gap:10px;
  align-items:center;
}

.avatarSmall{
  width:40px;
  height:40px;
  border:1px solid var(--line);
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
}

.closeBtn{
  width:42px;
  height:40px;
  border-radius:14px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  font-size:18px;
  cursor:pointer;
}

.mobileLinks{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px 6px 6px;
}

.mobileLinks a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 12px;
  border:1px solid var(--line);
  border-radius:16px;
  color:var(--text);
}

.mobileLinks a::after{
  content:"›";
  color:var(--muted);
  font-size:18px;
}

.mobileActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 6px 4px;
}

@media (min-width: 761px){
  .mobileOverlay{display:none !important}
}
