/* ===========================================================
   Muhammad Shahbaz — Portfolio
   Colors/type/layout matched from the live "Sawad" Framer template
   (sawad.framer.website) via computed-style inspection.
   =========================================================== */

:root{
  --bg: #151312;
  --text: #ffffff;
  --muted: #998f8f;
  --ghost: rgba(182,180,189,0.2);
  --orange: #f46c38;
  --lime: #c5ff41;
  --card-radius: 16px;
  --maxw: 1180px;
  --ff: "Poppins", sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff);
  font-weight:400;
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--orange); color:#151312;}
a{color:inherit; text-decoration:none;}
svg{width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}

.grain{
  position:fixed; inset:0; pointer-events:none; z-index:998; opacity:0.04; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- PILL NAV ---------------- */
.pillnav{
  position:fixed; top:20px; left:50%; transform:translateX(-50%); z-index:100;
  display:flex; gap:6px; background:#100f0e; border:1px solid rgba(255,255,255,0.06);
  border-radius:100px; padding:10px 14px;
}
.pillnav a{
  width:20px; height:20px; color:#fff; opacity:0.85; transition:opacity .25s, color .25s, transform .25s;
  display:flex; align-items:center; justify-content:center;
}
.pillnav a:hover{opacity:1; color:var(--orange); transform:translateY(-2px);}

/* ---------------- HERO ---------------- */
.hero{
  max-width:var(--maxw); margin:0 auto;
  padding:100px 6vw 60px;
  display:grid; grid-template-columns:260px 1fr; gap:60px;
  align-items:start;
}

/* profile card */
.card{
  background:#fff; color:#151312; border-radius:var(--card-radius);
  padding:30px 20px; text-align:center; position:sticky; top:90px;
}
.card__photo{position:relative; width:100%; aspect-ratio:210/194; margin-bottom:18px;}
.card__ring{position:absolute; top:-26px; left:-10px; width:120%; height:70px; z-index:0;}
.card__art{
  position:relative; z-index:1; width:100%; height:100%; border-radius:var(--card-radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(244,108,56,0.9), rgba(21,19,18,0.95) 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.card__mono{
  font-weight:800; font-size:56px; color:rgba(255,255,255,0.92); letter-spacing:-0.02em;
}
.card__badge{
  position:absolute; bottom:-14px; left:50%; transform:translateX(-50%); z-index:2;
  width:32px; height:32px; border-radius:50%; background:var(--orange);
  display:flex; align-items:center; justify-content:center;
}
.card__badge svg{width:16px; height:16px; stroke:#151312; fill:#151312;}
.card__name{font-size:19px; font-weight:700; margin-bottom:10px;}
.card__tag{font-size:13px; color:#7a7574; line-height:1.5; margin-bottom:18px;}
.card__socials{display:flex; justify-content:center; gap:10px;}
.card__socials a{
  width:30px; height:30px; border-radius:50%; background:rgba(244,108,56,0.12); color:var(--orange);
  display:flex; align-items:center; justify-content:center; transition:background .25s, color .25s;
}
.card__socials a svg{width:15px; height:15px;}
.card__socials a:hover{background:var(--orange); color:#fff;}

/* hero right */
.hero__main{min-width:0;}
.tag{
  display:inline-block; font-size:12px; letter-spacing:0.12em; color:var(--muted);
  border:1px solid rgba(255,255,255,0.12); border-radius:100px; padding:6px 14px; margin-bottom:22px;
}
.hero__title{
  font-family:var(--ff); font-weight:800; text-transform:uppercase;
  font-size:clamp(44px, 7vw, 90px); line-height:0.98; letter-spacing:-0.01em; color:var(--text);
}
.ghost{color:var(--ghost);}
.hero__lead{
  margin-top:22px; max-width:520px; color:var(--muted); font-size:16px; line-height:1.7;
}
.stats{display:flex; gap:44px; margin-top:40px; flex-wrap:wrap;}
.stat{display:flex; flex-direction:column; gap:6px;}
.stat__num{font-size:clamp(30px,4vw,42px); font-weight:800;}
.stat__num i{color:var(--orange); font-style:normal;}
.stat__label{font-size:12px; color:var(--muted); line-height:1.4;}

.bento{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:44px;}
.bento__card{
  position:relative; border-radius:var(--card-radius); padding:24px; min-height:150px;
  display:flex; flex-direction:column; justify-content:space-between; overflow:hidden;
  transition:transform .3s;
}
.bento__card:hover{transform:translateY(-4px);}
.bento__card svg{width:26px; height:26px;}
.bento__card p{font-size:14px; font-weight:700; text-transform:uppercase; line-height:1.4; letter-spacing:0.01em;}
.bento__card--orange{background:var(--orange); color:#1a0e08;}
.bento__card--orange svg{stroke:#1a0e08;}
.bento__card--lime{background:var(--lime); color:#101a00;}
.bento__card--lime svg{stroke:#101a00;}
.bento__arrow{
  position:absolute; right:16px; bottom:16px; width:34px; height:34px; border-radius:50%;
  border:1.5px solid currentColor; display:flex; align-items:center; justify-content:center;
}
.bento__arrow svg{width:16px; height:16px;}

/* ---------------- SECTIONS / GHOST HEADINGS ---------------- */
.section{max-width:var(--maxw); margin:0 auto; padding:90px 6vw;}
.section__ghostwrap{margin-bottom:50px;}
.ghostheading{
  font-family:var(--ff); font-weight:800; text-transform:uppercase;
  font-size:clamp(34px,6vw,72px); line-height:1; letter-spacing:-0.01em;
}
.ghostheading i{color:var(--orange); font-style:normal;}

/* ---------------- HIGHLIGHTS LIST ---------------- */
.rowlist{display:flex; flex-direction:column;}
.rowitem{
  display:flex; align-items:center; gap:22px; padding:22px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:padding-left .3s;
}
.rowitem:hover{padding-left:10px;}
.rowitem__thumb{
  width:64px; height:64px; flex:none; border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:13px; letter-spacing:0.02em;
}
.rowitem__thumb--a{background:var(--orange); color:#1a0e08;}
.rowitem__thumb--b{background:var(--lime); color:#101a00;}
.rowitem__text{display:flex; flex-direction:column; gap:6px; flex:1; min-width:0;}
.rowitem__text strong{font-size:18px; font-weight:700;}
.rowitem__text em{font-style:normal; color:var(--muted); font-size:14px; line-height:1.5;}
.rowitem__arrow{width:22px; height:22px; color:var(--orange); flex:none; transition:transform .3s;}
.rowitem:hover .rowitem__arrow{transform:translate(4px,-4px);}

/* ---------------- EXPERIENCE LIST ---------------- */
.explist{display:flex; flex-direction:column;}
.expitem{
  display:flex; justify-content:space-between; align-items:flex-start; gap:20px;
  padding:26px 0; border-bottom:1px solid rgba(255,255,255,0.08);
}
.expitem__main h3{font-size:20px; font-weight:700; margin-bottom:10px;}
.expitem__main p{color:var(--muted); font-size:15px; line-height:1.65; max-width:680px; margin-bottom:12px;}
.expitem__date{font-size:12px; color:var(--muted); letter-spacing:0.04em; text-transform:uppercase;}
.expitem__arrow{width:20px; height:20px; color:var(--orange); flex:none; margin-top:4px;}

/* ---------------- TOOLS ---------------- */
.toolgrid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px 40px;}
.tool{display:flex; align-items:center; gap:16px;}
.tool__icon{
  width:52px; height:52px; border-radius:12px; padding:12px; flex:none;
  display:flex; align-items:center; justify-content:center;
}
.tool h4{font-size:16px; font-weight:600;}
.tool em{font-style:normal; color:var(--muted); font-size:13px;}

/* ---------------- CONTACT FORM ---------------- */
.form{display:flex; flex-direction:column; gap:26px; max-width:760px;}
.form__row{display:grid; grid-template-columns:1fr 1fr; gap:26px;}
.form label{display:flex; flex-direction:column; gap:8px;}
.form span{font-size:13px; color:var(--muted);}
.form input, .form select, .form textarea{
  background:transparent; border:none; border-bottom:1px solid rgba(255,255,255,0.18);
  padding:10px 2px; color:var(--text); font-family:var(--ff); font-size:15px; resize:vertical;
}
.form select{appearance:none; -webkit-appearance:none;}
.form input::placeholder, .form textarea::placeholder{color:rgba(255,255,255,0.3);}
.form input:focus, .form select:focus, .form textarea:focus{outline:none; border-color:var(--orange);}
.form button{
  align-self:flex-start; margin-top:6px; background:var(--orange); color:#151312; border:none;
  padding:14px 34px; border-radius:8px; font-family:var(--ff); font-weight:600; font-size:14px;
  cursor:pointer; transition:background .25s, transform .25s;
}
.form button:hover{background:var(--lime); transform:translateY(-2px);}

/* ---------------- FLOATING CTAs ---------------- */
.floatstack{
  position:fixed; right:24px; bottom:24px; z-index:90; display:flex; flex-direction:column; gap:10px; align-items:flex-end;
}
.pill{
  font-size:13px; font-weight:600; padding:11px 20px; border-radius:100px; white-space:nowrap;
  transition:transform .25s, filter .25s;
}
.pill:hover{transform:translateY(-2px); filter:brightness(1.08);}
.pill--orange{background:var(--orange); color:#1a0e08;}
.pill--lime{background:var(--lime); color:#101a00;}
.pill--dark{background:#100f0e; color:var(--muted); border:1px solid rgba(255,255,255,0.08); font-weight:400;}

.status{
  position:fixed; left:24px; bottom:24px; z-index:90;
  display:flex; align-items:center; gap:8px;
  background:#100f0e; border:1px solid rgba(255,255,255,0.08); border-radius:100px;
  padding:10px 16px; font-size:12.5px; color:var(--muted);
}
.status__dot{
  width:8px; height:8px; border-radius:50%; background:#4ade80;
  box-shadow:0 0 0 0 rgba(74,222,128,0.6); animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(74,222,128,0.5);}
  70%{box-shadow:0 0 0 8px rgba(74,222,128,0);}
  100%{box-shadow:0 0 0 0 rgba(74,222,128,0);}
}

/* ---------------- FOOTER ---------------- */
.footer{
  max-width:var(--maxw); margin:0 auto; padding:30px 6vw 90px;
  font-size:12.5px; color:var(--muted);
}

/* ---------------- REVEAL ---------------- */
.reveal{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width:900px){
  .hero{grid-template-columns:1fr; padding-top:110px;}
  .card{position:static; max-width:280px; margin:0 auto 40px;}
  .bento{grid-template-columns:1fr;}
  .toolgrid{grid-template-columns:1fr;}
  .form__row{grid-template-columns:1fr;}
  .expitem{flex-direction:column;}
  .floatstack{right:14px; bottom:14px;}
  .status{left:14px; bottom:14px; font-size:11px; padding:8px 12px;}
}
@media(max-width:520px){
  .pillnav{padding:8px 10px; gap:3px;}
  .pillnav a{width:17px; height:17px;}
  .rowitem{gap:14px;}
  .rowitem__thumb{width:50px; height:50px;}
}
