/* ============================================================
   PRATHAM VATS — Portfolio Stylesheet
   Author  : Pratham Vats
   Version : 2.0.0
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

:root {
  --bg:     #050a14;
  --bg2:    #07101f;
  --bg3:    #0b1628;
  --cyan:   #00e5ff;
  --cyan2:  #00b4d8;
  --purple: #7c3aed;
  --pink:   #ff006e;
  --green:  #39ff14;
  --amber:  #ffb703;
  --text:   #e2e8f0;
  --muted:  #64748b;
  --muted2: #94a3b8;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --glass:   rgba(255,255,255,0.04);
  --font-h: 'Orbitron', monospace;
  --font-m: 'JetBrains Mono', monospace;
  --ease:   cubic-bezier(.4,0,.2,1);
  --nav-h:  62px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-m);
  overflow-x: hidden;
}

::selection { background: var(--cyan); color: #000; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  border-radius: 2px;
}

a { text-decoration: none; color: inherit; }
#sc { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── Glass Card ── */
.gc {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 12px;
  border: 1px solid var(--border2);
  transition: all .3s var(--ease);
  position: relative;
}
.gc:hover {
  border-color: transparent;
  background: rgba(255,255,255,0.07);
  box-shadow:
    0 0 0 1px var(--cyan),
    0 0 20px rgba(0,229,255,.12),
    0 8px 32px rgba(0,0,0,.5);
  transform: translateY(-3px);
}

/* ── Keyframes ── */
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(.7); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes blink {
  0%,100% { opacity:1; }
  50%      { opacity:0; }
}
@keyframes xf {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-10px); }
}
@keyframes xp {
  0%,100% { opacity:.5; transform:scale(1); }
  50%      { opacity:.1; transform:scale(.3); }
}
@keyframes tka { to { transform:translateX(-50%); } }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, border-bottom .3s;
}
#nav.stuck {
  background: rgba(5,10,20,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
}

.nw {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nlogo {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  flex-shrink: 0;
}
.nb  { color: var(--cyan); }
.ndot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.nl {
  display: flex;
  gap: .1rem;
  list-style: none;
}
.nl a {
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: .35rem .7rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.nl a:hover,
.nl a.active {
  color: var(--cyan);
  border-color: rgba(0,229,255,.2);
  background: rgba(0,229,255,.06);
}

.nr { display: flex; align-items: center; gap: .6rem; }

.ncta {
  font-family: var(--font-m);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .42rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,.07);
  transition: all .22s;
  white-space: nowrap;
}
.ncta:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 18px rgba(0,229,255,.4);
}

/* Hamburger */
.hb {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.hb span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: all .3s;
}
.hb.open span:nth-child(1) { transform: rotate(45deg)  translate(4px,4px); }
.hb.open span:nth-child(2) { opacity: 0; }
.hb.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile drawer */
.mdr {
  position: fixed;
  top: 0; right: -100%;
  width: 260px; height: 100vh;
  background: var(--bg3);
  border-left: 1px solid var(--border2);
  z-index: 199;
  transition: right .32s var(--ease);
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.mdr.open { right: 0; }
.mdr a {
  font-family: var(--font-m);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mdr a:hover { color: var(--cyan); }

/* Overlay */
.mov {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 198;
  display: none;
  cursor: pointer;
}
.mov.open { display: block; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 3.5rem 0;
  position: relative;
  z-index: 1;
}
section + section { border-top: 1px solid var(--border); }

.eyebrow {
  font-family: var(--font-m);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .5rem;
}
.eyebrow::before { content: '//'; opacity: .4; }

.stitle {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.5rem,3.2vw,2.4rem);
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}

.gline {
  height: 2px;
  width: 44px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 1px;
  margin-bottom: 1.75rem;
}

/* Buttons */
.btn-primary {
  font-family: var(--font-m);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .72rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #000;
  box-shadow: 0 0 18px rgba(0,229,255,.28);
  transition: all .26s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0,229,255,.55);
}

.btn-ghost {
  font-family: var(--font-m);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .72rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border2);
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: all .26s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,.07);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  text-align: center;
  overflow: hidden;
}

.xmark {
  position: absolute;
  font-family: var(--font-m);
  font-size: 1rem;
  color: rgba(0,229,255,.18);
  pointer-events: none;
  animation: xf 6s ease-in-out infinite;
}
.xdot {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,229,255,.5);
  pointer-events: none;
  animation: xp 4s ease-in-out infinite;
}

/* Status badge */
.h-ey {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  border: 1px solid rgba(0,229,255,.22);
  border-radius: 100px;
  padding: .36rem 1rem;
  background: rgba(0,229,255,.05);
}
.ldot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Name */
.hname {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  letter-spacing: .05em;
  line-height: .93;
  margin-bottom: .65rem;
}
.hname .l1 { display: block; color: #fff; }
.hname .l2 {
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(0,229,255,.3));
}

/* Credibility line */
.h-cred {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-m);
  font-size: .78rem;
  color: var(--muted2);
  margin-bottom: .9rem;
  letter-spacing: .04em;
}
.h-cred .sep   { color: rgba(0,229,255,.3); margin: 0 .1rem; }
.h-cred strong { color: #fff; font-weight: 700; }
.h-cred .badge-role {
  background: rgba(0,229,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,.25);
  border-radius: 4px;
  padding: .18rem .55rem;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Typewriter */
.htw {
  font-family: var(--font-m);
  font-size: .92rem;
  color: var(--cyan);
  min-height: 1.5rem;
  margin-bottom: .85rem;
  letter-spacing: .04em;
}
.twc {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--cyan);
  vertical-align: -.08em;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

/* Tagline */
.htag {
  font-size: .8rem;
  color: var(--muted2);
  max-width: 500px;
  margin: 0 auto .9rem;
  line-height: 1.7;
  letter-spacing: .02em;
}
.htag strong { color: var(--cyan); }

/* Buttons row */
.hbtns {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.4rem;
}

/* Stats bar */
.hstats {
  display: flex;
  gap: 1px;
  background: var(--border2);
  border-radius: 8px;
  overflow: hidden;
  max-width: 580px;
  width: 100%;
}
.hs {
  flex: 1;
  padding: .8rem .75rem;
  text-align: center;
  background: rgba(255,255,255,.03);
  transition: background .2s;
  cursor: default;
}
.hs:hover { background: rgba(0,229,255,.07); }
.hsn {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  margin-bottom: .12rem;
}
.hsl {
  font-size: .57rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
}

/* Ticker */
.tkw {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,229,255,.025);
  margin-top: 1.5rem;
  height: 38px;
  display: flex;
  align-items: center;
}
.tki {
  display: flex;
  width: max-content;
  animation: tka 30s linear infinite;
}
.tkw:hover .tki { animation-play-state: paused; }
.tw {
  font-family: var(--font-m);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ts { color: var(--cyan); margin: 0 1rem; opacity: .45; }

/* ============================================================
   ABOUT
   ============================================================ */
#about .ag {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.avwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}
.avring {
  position: relative;
  width: 130px; height: 130px;
}
.avring::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(0,229,255,.28);
  animation: spin 14s linear infinite;
}
.avring::after {
  content: '';
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px dashed rgba(124,58,237,.18);
  animation: spin 22s linear reverse infinite;
}
.avinner {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), #160a2e);
  border: 2px solid rgba(0,229,255,.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  box-shadow: 0 0 28px rgba(0,229,255,.14), inset 0 0 28px rgba(0,229,255,.04);
  position: relative;
  z-index: 1;
}

.sbadge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(57,255,20,.22);
  border-radius: 100px;
  padding: .26rem .7rem;
  background: rgba(57,255,20,.05);
}
.sbadge .d {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

.mstats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .4rem;
  width: 100%;
}
.ms {
  padding: .6rem .4rem;
  text-align: center;
  border-radius: 7px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border2);
  transition: all .22s;
  cursor: default;
}
.ms:hover {
  border-color: rgba(0,229,255,.32);
  background: rgba(0,229,255,.07);
  transform: translateY(-2px);
}
.msn {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  margin-bottom: .1rem;
}
.msl {
  font-size: .52rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted2);
  line-height: 1.3;
}

/* About text */
.atext .abio {
  font-size: .82rem;
  line-height: 1.8;
  color: var(--muted2);
  margin-bottom: 1rem;
}
.atext .abio strong { color: var(--cyan); font-weight: 700; }
.atext .abio .hl {
  background: rgba(0,229,255,.1);
  color: #fff;
  padding: .03rem .28rem;
  border-radius: 2px;
  font-weight: 700;
}

.about-blist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}
.about-blist li {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--muted2);
  padding-left: 1.2rem;
  position: relative;
}
.about-blist li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: .7rem;
  top: .02rem;
}
.about-blist li strong { color: #fff; }

/* Terminal */
.term {
  border-radius: 10px;
  overflow: hidden;
  background: #060b12;
  margin-top: 1.1rem;
  border: 1px solid rgba(0,229,255,.25);
  box-shadow: 0 0 30px rgba(0,229,255,.06);
}
.tbar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: #0d1117;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tdots { display: flex; gap: 5px; }
.td { width: 10px; height: 10px; border-radius: 50%; }
.td.r { background: #ff5f57; }
.td.y { background: #febc2e; }
.td.g { background: #28c840; }
.ttl {
  font-family: var(--font-m);
  font-size: .65rem;
  color: var(--muted);
  margin-left: .3rem;
}
.tbody {
  padding: 1rem 1.2rem;
  font-family: var(--font-m);
  font-size: .73rem;
  line-height: 1.9;
  min-height: 170px;
  overflow-y: auto;
  max-height: 260px;
}
.tc  { color: var(--cyan); }
.to  { color: rgba(255,255,255,.62); }
.tp  { color: var(--muted); }
.tcur {
  display: inline-block;
  width: 7px; height: .82em;
  background: var(--cyan);
  vertical-align: -.05em;
  animation: blink 1s step-end infinite;
}

/* ============================================================
   WHY HIRE ME
   ============================================================ */
#whyhire {
  background: linear-gradient(180deg,transparent,rgba(0,229,255,.015),transparent);
}
.whygrid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.whycard {
  padding: 1.2rem 1.1rem;
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border2);
  transition: all .3s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.whycard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,transparent,rgba(0,229,255,.03));
  opacity: 0;
  transition: opacity .3s;
}
.whycard:hover::before { opacity: 1; }
.whycard:hover {
  border-color: rgba(0,229,255,.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(0,229,255,.08);
}
.wico  { font-size: 1.6rem; margin-bottom: .75rem; display: block; }
.wtit  {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.wdesc { font-size: .72rem; line-height: 1.65; color: var(--muted2); }
.wdesc strong { color: var(--cyan); }

/* Differentiator strip */
.diff-strip {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  background: rgba(0,229,255,.03);
  border: 1px solid rgba(0,229,255,.1);
}
.diff-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  color: var(--muted2);
  letter-spacing: .03em;
}
.diff-item::before { content: '✓'; color: var(--green); font-weight: 700; font-size: .72rem; }

/* ============================================================
   SKILLS
   ============================================================ */
#skills .slayout {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Orbit */
.orbit {
  position: relative;
  width: 360px; height: 360px;
  flex-shrink: 0;
}
.oring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px dashed;
}
.oring.r1 { width:120px; height:120px; border-color:rgba(0,229,255,.18); }
.oring.r2 { width:200px; height:200px; border-color:rgba(124,58,237,.13); }
.oring.r3 { width:300px; height:300px; border-color:rgba(255,0,110,.09); }
.ocenter {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), #160a2e);
  border: 1.5px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: .5rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .08em;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 0 20px rgba(0,229,255,.2);
  z-index: 10;
}

.orw {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-origin: 0 0;
}
.oitem {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: default;
  transition: all .28s var(--ease);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.oitem:hover {
  background: rgba(0,229,255,.12);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0,229,255,.3);
  z-index: 20;
  transform: scale(1.2) !important;
}
.olbl {
  font-family: var(--font-m);
  font-size: .34rem;
  letter-spacing: .04em;
  color: var(--muted2);
  margin-top: .06rem;
  text-align: center;
  white-space: nowrap;
}
.oitem:hover .olbl { color: var(--cyan); }

/* Skill bars */
.bwrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.skg {
  padding: .85rem 1rem;
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border2);
  transition: border-color .28s;
}
.skg:hover { border-color: rgba(0,229,255,.3); }
.sgt {
  font-family: var(--font-m);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sgt::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 5px var(--cyan);
  flex-shrink: 0;
}
.skrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}
.skrow:last-child { margin-bottom: 0; }
.skn { font-size: .68rem; color: var(--text); width: 155px; flex-shrink: 0; }
.sktr {
  flex: 1; height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  overflow: hidden;
}
.skf {
  height: 100%;
  border-radius: 100px;
  width: 0;
  transition: width 1.1s var(--ease);
}
.skf.g1 { background: linear-gradient(90deg, var(--cyan),   var(--cyan2)); }
.skf.g2 { background: linear-gradient(90deg, var(--purple), var(--pink));  }
.skf.g3 { background: linear-gradient(90deg, var(--amber),  #ff9f1c);     }
.skf.g4 { background: linear-gradient(90deg, var(--green),  var(--cyan));  }
.skp { font-size: .58rem; color: var(--muted2); width: 26px; text-align: right; flex-shrink: 0; }

/* Pills */
.ptitle {
  font-family: var(--font-m);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 2rem 0 .5rem;
}
.pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.pill {
  font-family: var(--font-m);
  font-size: .62rem;
  letter-spacing: .04em;
  padding: .26rem .68rem;
  border-radius: 4px;
  color: var(--muted2);
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border2);
  transition: all .2s;
  cursor: default;
}
.pill:hover {
  color: var(--cyan);
  background: rgba(0,229,255,.08);
  border-color: rgba(0,229,255,.3);
  transform: translateY(-2px);
}

/* ATS keyword block */
.ats-wrap {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgba(124,58,237,.04);
  border: 1px solid rgba(124,58,237,.18);
}
.ats-label {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ats-label::before { content: '#'; opacity: .5; }
.ats-pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.ats-pill {
  font-size: .6rem;
  letter-spacing: .04em;
  padding: .2rem .55rem;
  border-radius: 3px;
  color: #c4b5fd;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.2);
  cursor: default;
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
.tl {
  position: relative;
  padding-left: 1.5rem;
}
.tl::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
}
.tli { position: relative; padding-left: 1.5rem; }
.tldot {
  position: absolute;
  left: -2rem; top: 1.2rem;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,229,255,.28);
  border: 2.5px solid var(--bg);
}
.ecard { padding: 1.25rem 1.4rem; border-radius: 12px; }
.ecard:hover { transform: translateX(5px) translateY(-2px) !important; }
.ehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}
.erole {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1.2;
}
.eco  { color: var(--cyan); font-size: .75rem; margin: .22rem 0; }
.emeta { font-size: .62rem; color: var(--muted2); letter-spacing: .04em; }
.cbdg {
  font-family: var(--font-m);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 100px;
  background: rgba(57,255,20,.1);
  color: var(--green);
  border: 1px solid rgba(57,255,20,.22);
  white-space: nowrap;
  flex-shrink: 0;
}
.tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: .55rem 0; }
.tag {
  font-family: var(--font-m);
  font-size: .56rem;
  letter-spacing: .04em;
  padding: .16rem .52rem;
  border-radius: 3px;
  color: var(--muted2);
  background: var(--glass);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border2);
  transition: all .18s;
  cursor: default;
}
.tag:hover {
  color: var(--cyan);
  border-color: rgba(0,229,255,.32);
  background: rgba(0,229,255,.07);
}
.blist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .44rem;
}
.blist li {
  font-size: .77rem;
  line-height: 1.62;
  color: var(--muted2);
  padding-left: 1.1rem;
  position: relative;
}
.blist li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: .7rem;
}
.blist li strong { color: #fff; }
.met {
  display: inline;
  background: rgba(0,229,255,.1);
  color: var(--cyan);
  border-radius: 3px;
  padding: .02rem .3rem;
  font-weight: 700;
  font-size: .75rem;
}

/* ============================================================
   GITHUB
   ============================================================ */
#github .gh2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: .9rem;
}
.ghc { padding: .9rem; border-radius: 10px; }
.ghc img { width: 100%; display: block; border-radius: 5px; }

/* ============================================================
   PROJECTS
   ============================================================ */
.pcat {
  font-family: var(--font-m);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pcat::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 5px var(--cyan);
  flex-shrink: 0;
}
.pcat::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.pg2 { display: grid; grid-template-columns: 1fr 1fr;      gap: .9rem; margin-bottom: .9rem; }
.pg3 { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }

.pc {
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border2);
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}
.pc:hover {
  border-color: rgba(0,229,255,.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0,0,0,.5), 0 0 28px rgba(0,229,255,.08);
}
.pthumb {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg,rgba(0,229,255,.05),rgba(124,58,237,.05));
  border-bottom: 1px solid var(--border);
}
.pbody {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pbg { display: flex; gap: .32rem; margin-bottom: .5rem; }
.pb {
  font-family: var(--font-m);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .16rem .52rem;
  border-radius: 100px;
}
.pb-w { background:rgba(255,183,3,.12);  color:var(--amber); border:1px solid rgba(255,183,3,.22); }
.pb-o { background:rgba(0,229,255,.1);   color:var(--cyan);  border:1px solid rgba(0,229,255,.2);  }
.pimpact {
  font-size: .68rem;
  color: var(--green);
  background: rgba(57,255,20,.06);
  border: 1px solid rgba(57,255,20,.14);
  border-radius: 4px;
  padding: .28rem .65rem;
  margin-bottom: .55rem;
  letter-spacing: .02em;
  font-weight: 500;
}
.ptit {
  font-family: var(--font-h);
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1.3;
  margin-bottom: .4rem;
}
.pdesc { font-size: .68rem; line-height: 1.6; color: var(--muted2); margin-bottom: .6rem; flex: 1; }
.pdesc strong { color: var(--cyan); }
.pbuls { list-style: none; margin-bottom: .6rem; }
.pbuls li {
  font-size: .62rem;
  line-height: 1.5;
  color: var(--muted);
  padding-left: .8rem;
  position: relative;
  margin-bottom: .18rem;
}
.pbuls li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: .85rem;
  line-height: 1.2;
}
.pfoot {
  display: flex;
  gap: .32rem;
  flex-wrap: wrap;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.pl {
  font-family: var(--font-m);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .24rem .6rem;
  border-radius: 3px;
  background: var(--glass);
  border: 1px solid var(--border2);
  color: var(--muted2);
  transition: all .18s;
}
.pl:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,.07);
  box-shadow: 0 0 8px rgba(0,229,255,.15);
}

/* ============================================================
   EDUCATION
   ============================================================ */
#education .eg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.educ { padding: 1.25rem; border-radius: 12px; }
.edico { font-size: 1.8rem; margin-bottom: .65rem; display: block; }
.eddeg {
  font-family: var(--font-h);
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1.25;
  margin-bottom: .4rem;
}
.eduni { font-size: .72rem; color: var(--cyan); margin-bottom: .18rem; }
.eddur { font-size: .62rem; color: var(--muted2); margin-bottom: .9rem; }

/* CGPA ring */
.cgpab {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem;
  border-radius: 8px;
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.1);
  margin-bottom: .9rem;
}
.crw { position: relative; width: 68px; height: 68px; flex-shrink: 0; }
.crw svg { width: 68px; height: 68px; transform: rotate(-90deg); }
.rg-bg   { fill:none; stroke:rgba(255,255,255,.06); stroke-width:5; }
.rg-fill { fill:none; stroke:url(#cg); stroke-width:5; stroke-linecap:round; transition:stroke-dashoffset 1.5s var(--ease); }
.crins {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cgn { font-family:var(--font-h); font-size:.85rem; font-weight:700; color:var(--cyan); }
.cgd { font-size:.42rem; color:var(--muted2); }
.cgi .big { font-family:var(--font-h); font-size:.92rem; color:#fff; }
.cgi .sm  { font-size:.62rem; color:var(--muted2); margin-top:.12rem; line-height:1.5; }

.cpills { display: flex; flex-wrap: wrap; gap: .32rem; }
.cp {
  font-family: var(--font-m);
  font-size: .6rem;
  padding: .22rem .6rem;
  border-radius: 3px;
  color: var(--muted2);
  background: var(--glass);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border2);
  transition: all .18s;
  cursor: default;
}
.cp:hover { color: var(--cyan); border-color: rgba(0,229,255,.28); }

/* Certifications */
.certs { display: flex; flex-direction: column; gap: .6rem; }
.citem {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem;
  border-radius: 9px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  transition: all .26s var(--ease);
  cursor: default;
}
.citem:hover {
  border-color: rgba(124,58,237,.4);
  background: rgba(124,58,237,.07);
  transform: translateX(5px);
}
.cico { font-size: 1.2rem; flex-shrink: 0; margin-top: .04rem; }
.ctit {
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: .14rem;
  line-height: 1.3;
}
.ciss { font-size: .6rem; color: var(--muted2); margin-bottom: .28rem; }
.cst {
  display: inline-block;
  font-family: var(--font-m);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .15rem .48rem;
  border-radius: 100px;
}
.cs-e { background:rgba(57,255,20,.1);  color:var(--green); border:1px solid rgba(57,255,20,.22); }
.cs-p { background:rgba(255,183,3,.1);  color:var(--amber); border:1px solid rgba(255,183,3,.22); }
.cs-l { background:rgba(0,229,255,.1);  color:var(--cyan);  border:1px solid rgba(0,229,255,.22); }

/* ============================================================
   WRITING CARD
   ============================================================ */
.writing-card {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: 12px;
  transition: all .3s var(--ease);
}
.writing-card:hover {
  border-color: rgba(0,229,255,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(0,229,255,.08);
}
.wcard-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1rem;
}
.wcard-body { flex: 1; }
.wcard-title {
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  line-height: 1.35;
  margin-bottom: .55rem;
}
.wcard-desc {
  font-size: .76rem;
  line-height: 1.75;
  color: var(--muted2);
  margin-bottom: .75rem;
  max-width: 680px;
}
.wcard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.wcard-tag {
  font-family: var(--font-m);
  font-size: .58rem;
  letter-spacing: .04em;
  padding: .18rem .52rem;
  border-radius: 3px;
  color: var(--muted2);
  background: var(--glass);
  border: 1px solid var(--border2);
}
.wcard-status {
  font-size: .62rem;
  color: var(--amber);
  letter-spacing: .02em;
  margin-left: .2rem;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
#social-proof {
  background: linear-gradient(180deg,transparent,rgba(124,58,237,.015),transparent);
}
.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.sp-card {
  padding: 1.4rem 1.5rem 1.1rem;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border2);
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.sp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.04), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.sp-card:hover::before { opacity: 1; }
.sp-card:hover {
  border-color: rgba(124,58,237,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(124,58,237,.09);
}
.sp-quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: .7;
  color: var(--purple);
  opacity: .35;
  margin-bottom: .6rem;
  user-select: none;
}
.sp-text {
  font-size: .78rem;
  line-height: 1.8;
  color: var(--muted2);
  margin-bottom: 1rem;
  font-style: italic;
}
.sp-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .8rem;
}
.sp-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: .54rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124,58,237,.3);
}
.sp-name {
  font-family: var(--font-h);
  font-size: .64rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  margin-bottom: .15rem;
}
.sp-role { font-size: .58rem; color: var(--muted); letter-spacing: .04em; }
.sp-add-cta { border-top: 1px solid var(--border); padding-top: .7rem; }
.sp-link {
  font-size: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple);
  opacity: .7;
  transition: opacity .2s;
}
.sp-link:hover { opacity: 1; text-decoration: underline; }

.sp-nudge {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.1rem;
  border-radius: 10px;
  background: rgba(124,58,237,.04);
  border: 1px solid rgba(124,58,237,.15);
}
.sp-nudge-ico { font-size: 1.3rem; flex-shrink: 0; }
.sp-nudge-text {
  font-size: .72rem;
  color: var(--muted2);
  line-height: 1.6;
}
.sp-nudge-text a {
  color: var(--purple);
  font-weight: 700;
  transition: color .2s;
}
.sp-nudge-text a:hover { color: var(--pink); }

@media (max-width: 768px) {
  .sp-grid { grid-template-columns: 1fr; }
  .writing-card { flex-direction: column; gap: .75rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact .cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.ch {
  font-family: var(--font-h);
  font-size: clamp(1.3rem,2.6vw,2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.csub {
  font-size: .78rem;
  line-height: 1.75;
  color: var(--muted2);
  margin-bottom: 1.2rem;
  max-width: 340px;
}
.clinks { display: flex; flex-direction: column; gap: .5rem; }
.cl {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem .95rem;
  border-radius: 9px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  transition: all .26s var(--ease);
}
.cl:hover {
  border-color: var(--cyan);
  background: rgba(0,229,255,.06);
  transform: translateX(5px);
  box-shadow: 0 0 16px rgba(0,229,255,.1);
}
.clico {
  width: 30px; height: 30px;
  border-radius: 5px;
  background: rgba(0,229,255,.1);
  border: 1px solid rgba(0,229,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.clico svg { width: 13px; height: 13px; fill: var(--cyan); }
.cll  { font-size:.54rem; color:var(--muted2); letter-spacing:.1em; text-transform:uppercase; margin-bottom:.1rem; }
.clv  { font-size:.74rem; color:var(--text); font-weight:500; }
.clar { margin-left:auto; color:var(--muted2); transition:all .2s; font-size:.72rem; }
.cl:hover .clar { color: var(--cyan); transform: translateX(3px); }

.resbtn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  font-family: var(--font-m);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .78rem 1.6rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #000;
  box-shadow: 0 0 16px rgba(0,229,255,.2);
  transition: all .26s var(--ease);
}
.resbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,229,255,.42);
}

/* Contact form */
.cf { display: flex; flex-direction: column; gap: .65rem; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.fg { display: flex; flex-direction: column; gap: .28rem; }
.fg label {
  font-family: var(--font-m);
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
}
.fg input,
.fg textarea {
  font-family: var(--font-m);
  font-size: .75rem;
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border2);
  border-radius: 5px;
  padding: .6rem .85rem;
  outline: none;
  resize: none;
  transition: all .2s;
  -webkit-appearance: none;
}
.fg input::placeholder,
.fg textarea::placeholder { color: var(--muted); }
.fg input:focus,
.fg textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,229,255,.05);
  box-shadow: 0 0 12px rgba(0,229,255,.1);
}
.fg textarea { min-height: 90px; }

.form-status {
  font-size: .7rem;
  padding: .55rem .85rem;
  border-radius: 5px;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(57,255,20,.08);
  border: 1px solid rgba(57,255,20,.25);
  color: var(--green);
}
.form-status.err {
  display: block;
  background: rgba(255,0,110,.08);
  border: 1px solid rgba(255,0,110,.25);
  color: #ff6b9d;
}

.fsub {
  font-family: var(--font-m);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .78rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #000;
  box-shadow: 0 0 16px rgba(0,229,255,.2);
  transition: all .26s var(--ease);
  width: 100%;
}
.fsub:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,229,255,.42);
}
.fsub:disabled { opacity: .6; cursor: not-allowed; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  position: relative;
  z-index: 1;
}
.fi {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
}
.flogo  { font-family:var(--font-h); font-size:.82rem; font-weight:700; color:var(--cyan); letter-spacing:.12em; }
.fcopy  { font-size:.6rem; color:var(--muted); letter-spacing:.04em; }
.flinks { display:flex; gap:.55rem; }
.flinks a {
  font-size: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted2);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .28rem;
}
.flinks a:hover { color: var(--cyan); }
.flinks svg { width:12px; height:12px; fill:currentColor; }
.fline {
  width: 100%;
  text-align: center;
  font-size: .56rem;
  color: var(--muted);
  letter-spacing: .08em;
  padding-top: .9rem;
  margin-top: .65rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-m);
}

/* ── Back to top ── */
#btt {
  position: fixed;
  bottom: 1.4rem; right: 1.4rem;
  z-index: 90;
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border2);
  color: var(--cyan);
  font-family: var(--font-m);
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  box-shadow: 0 0 12px rgba(0,229,255,.07);
}
#btt.show { opacity: 1; pointer-events: auto; }
#btt:hover {
  background: rgba(0,229,255,.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0,229,255,.22);
}

/* ── Scroll reveal ── */
.r {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .52s var(--ease), transform .52s var(--ease);
}
.r.in { opacity: 1; transform: translateY(0); }
/* Hero elements start visible */
#hero .r { opacity: 1; transform: translateY(0); }
.r[data-d="1"] { transition-delay: .09s; }
.r[data-d="2"] { transition-delay: .18s; }
.r[data-d="3"] { transition-delay: .27s; }
.r[data-d="4"] { transition-delay: .36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  #about .ag { grid-template-columns:1fr; gap:1.5rem; }
  #about .ag .avwrap { flex-direction:row; flex-wrap:wrap; justify-content:center; }
  #skills .slayout { flex-direction:column; }
  .orbit { width:280px; height:280px; margin:0 auto; }
  #education .eg,
  #contact .cg { grid-template-columns:1fr; gap:1.25rem; }
  .pg3 { grid-template-columns:1fr 1fr; }
  #github .gh2 { grid-template-columns:1fr; }
  .pg2 { grid-template-columns:1fr; }
  .whygrid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 768px) {
  .wrap    { padding:0 1rem; }
  section  { padding:2.5rem 0; }
  .nl      { display:none; }
  .hb      { display:flex; }
  .hname   { font-size:clamp(2.2rem,10vw,3.5rem); }
  .hstats  { flex-wrap:wrap; }
  .hs      { min-width:45%; flex:none; }
  .pg3,
  .pg2     { grid-template-columns:1fr; }
  .fr      { grid-template-columns:1fr; }
  .whygrid { grid-template-columns:1fr; }
}

@media (max-width: 480px) {
  .hbtns  { flex-direction:column; align-items:center; }
  .mstats { grid-template-columns:1fr 1fr 1fr; }
  .h-cred { font-size:.68rem; }
}