/* =========================================================
   MUSTAKIM SHAIKH PORTFOLIO — Premium CSS (igloo.inc inspired)
   ========================================================= */

/* ── TOKENS ── */
:root {
  --bg: #06080f;
  --bg-alt: #080c16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.07);
  --bhi: rgba(99, 102, 241, 0.35);
  --primary: #6366f1;
  --pglow: rgba(99, 102, 241, 0.45);
  --accent: #22d3ee;
  --accent2: #a78bfa;
  --green: #10b981;
  --text: #e2e8f0;
  --muted: #64748b;
  --dim: #94a3b8;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'Fira Code', monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --r: 14px;
  --rl: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

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

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

/* ── CURSOR ── */
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform .08s, width .2s, height .2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(99, 102, 241, 0.6);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform .14s, width .25s, height .25s, opacity .25s, border-color .25s;
}

.cursor-grow #cursor-dot {
  width: 14px;
  height: 14px;
}

.cursor-grow #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}

#nav.stuck {
  background: rgba(6, 8, 15, 0.92);
  backdrop-filter: blur(24px);
  padding: 1rem 4rem;
  border-bottom-color: var(--border);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.bracket {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--dim);
  position: relative;
  transition: color .2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width .3s var(--ease);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, .3);
  padding: .45rem 1.2rem;
  border-radius: 8px;
  transition: all .25s;
}

.nav-cta:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(6, 8, 15, .98);
  backdrop-filter: blur(24px);
  padding: 2rem;
  gap: 1.5rem;
  z-index: 499;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dim);
}

.mobile-menu a:hover {
  color: #fff;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(99, 102, 241, .12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(34, 211, 238, .06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 9rem 4rem 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1.1rem;
  border: 1px solid rgba(16, 185, 129, .28);
  background: rgba(16, 185, 129, .07);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(20px);
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.75)
  }
}

.hero-heading {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -4px;
  margin-bottom: .9rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-line {
  display: block;
}

.hero-name-color {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: var(--mono);
  font-size: clamp(.9rem, 2vw, 1.15rem);
  color: var(--accent);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(20px);
  min-height: 1.8em;
}

.code-slash {
  color: var(--muted);
}

.caret {
  display: inline-block;
  animation: blinkCaret 1s step-end infinite;
}

@keyframes blinkCaret {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--dim);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
}

.hero-sub em {
  font-style: normal;
  color: var(--accent);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hstat {
  display: flex;
  flex-direction: column;
}

.hstat-n {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.hstat-u {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
}

.hstat-l {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .05em;
  margin-top: 3px;
}

.hsep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-socials {
  display: flex;
  gap: .75rem;
  opacity: 0;
  transform: translateY(20px);
}

.soc-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 1rem;
  transition: all .25s;
}

.soc-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, .1);
  transform: translateY(-3px);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-track {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1)
  }

  50% {
    opacity: .4;
    transform: scaleY(.6)
  }
}

/* ── BUTTONS ── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  padding: .9rem 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4338ca);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 0 30px var(--pglow);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--pglow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: .9rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, .08);
  transform: translateY(-2px);
}

/* ── LAYOUT ── */
.section {
  padding: 8rem 0;
}

.section-dark {
  background: var(--bg-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.sec-label {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--primary);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.sec-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 3.5rem;
}

.grad {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.about-lead strong {
  color: var(--accent);
}

.about-body {
  color: var(--dim);
  margin-bottom: 1rem;
}

.about-body strong {
  color: var(--text);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}

.about-badges span {
  padding: .3rem .9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--dim);
  transition: all .2s;
}

.about-badges span:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Profile Card */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 2rem;
  text-align: center;
}

.pc-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 50px rgba(99, 102, 241, .4);
}

.pc-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .2rem;
}

.pc-title {
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pc-info {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pc-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .55rem;
  background: var(--surface2);
  border-radius: 8px;
  font-size: .83rem;
  color: var(--dim);
}

.pc-row span:first-child {
  font-size: 1rem;
}

.pc-row a {
  color: var(--accent);
}

.pc-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--green);
  background: rgba(16, 185, 129, .08);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 100px;
  padding: .35rem .9rem;
}

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.8rem;
  transition: all .3s var(--ease);
  opacity: 0;
  transform: translateY(35px);
}

.skill-block:hover {
  border-color: var(--bhi);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .4), 0 0 15px rgba(99, 102, 241, .08);
}

.sb-icon {
  font-size: 2rem;
  margin-bottom: .8rem;
}

.skill-block h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.sb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.sb-pills span {
  padding: .3rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  cursor: default;
  transition: transform .2s;
}

.sb-pills span:hover {
  transform: scale(1.06);
}

.p-ai {
  background: rgba(99, 102, 241, .14);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, .28);
}

.p-fw {
  background: rgba(34, 211, 238, .1);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, .22);
}

.p-ml {
  background: rgba(167, 139, 250, .1);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, .22);
}

.p-db {
  background: rgba(16, 185, 129, .09);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, .22);
}

.p-cloud {
  background: rgba(245, 158, 11, .09);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, .22);
}

.p-plat {
  background: rgba(236, 72, 153, .09);
  color: #f9a8d4;
  border: 1px solid rgba(236, 72, 153, .22);
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), rgba(99, 102, 241, .1));
}

.tl-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(-25px);
}

.tl-dot {
  position: absolute;
  left: -2.9rem;
  top: 1.8rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--bg);
  transition: all .3s;
}

.tl-dot--active {
  background: var(--primary);
  box-shadow: 0 0 14px var(--primary);
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 2rem;
  transition: all .3s var(--ease);
}

.tl-card:hover {
  border-color: var(--bhi);
  transform: translateX(5px);
}

.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}

.tl-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .2rem;
}

.tl-company {
  font-size: .85rem;
  color: var(--accent);
}

.tl-date {
  font-size: .75rem;
  color: var(--muted);
  white-space: nowrap;
  background: var(--surface2);
  padding: .3rem .85rem;
  border-radius: 100px;
}

.tl-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.tl-card li {
  font-size: .88rem;
  color: var(--dim);
  margin-bottom: .5rem;
  line-height: 1.65;
}

.tl-card li strong {
  color: var(--text);
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tl-tags span {
  font-size: .73rem;
  font-weight: 500;
  padding: .2rem .7rem;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  border-radius: 100px;
  color: #a5b4fc;
}

/* ── PROJECTS ── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.proj-featured {
  grid-column: 1/-1;
}

.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  transition: all .35s var(--ease);
  opacity: 0;
  transform: translateY(40px);
}

.proj-card:hover {
  border-color: var(--bhi);
  transform: translateY(-7px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, .45);
}

.proj-img {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.proj-featured .proj-img {
  height: 350px;
}

.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.proj-card:hover .proj-img img {
  transform: scale(1.06);
}

.proj-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 15, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.proj-card:hover .proj-img-overlay {
  opacity: 1;
}

.proj-gh-btn {
  padding: .75rem 1.75rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  border-radius: 10px;
  transition: all .2s;
}

.proj-gh-btn:hover {
  background: #4338ca;
  transform: scale(1.04);
}

.proj-info {
  padding: 1.75rem;
}

.proj-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}

.proj-num {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--primary);
}

.proj-gh-icon {
  color: var(--muted);
  transition: color .2s;
  display: flex;
}

.proj-gh-icon:hover {
  color: var(--primary);
}

.proj-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .7rem;
}

.proj-info p {
  font-size: .88rem;
  color: var(--dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.proj-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}

.proj-highlights span {
  font-size: .73rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 100px;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
  color: var(--accent);
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.proj-stack span {
  font-size: .73rem;
  font-family: var(--mono);
  padding: .2rem .6rem;
  background: var(--surface2);
  border-radius: 5px;
  color: var(--muted);
}

/* ── CERTIFICATIONS ── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem;
  transition: all .3s var(--ease);
  opacity: 0;
  transform: scale(.95);
}

.cert-card:hover {
  border-color: rgba(167, 139, 250, .4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.cert-badge {
  display: inline-block;
  padding: .3rem .75rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, .25), rgba(167, 139, 250, .15));
  border: 1px solid rgba(99, 102, 241, .3);
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 800;
  color: #a5b4fc;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.cert-card h4 {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.4;
}

.cert-card p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .85rem;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.cert-tags span {
  font-size: .7rem;
  padding: .18rem .6rem;
  border-radius: 100px;
  background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .18);
  color: var(--accent);
}

/* ── CONTACT ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-sub {
  font-size: 1rem;
  color: var(--dim);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-sub strong {
  color: var(--accent);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.clink {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .25s;
}

.clink:hover {
  border-color: var(--bhi);
  transform: translateX(5px);
  background: var(--surface2);
}

.clink>span:first-child {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.clink small {
  display: block;
  font-size: .7rem;
  color: var(--muted);
  margin-bottom: 1px;
}

.clink strong {
  font-size: .88rem;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fg input,
.fg textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border .25s, box-shadow .25s;
  resize: vertical;
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .2);
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: .78rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: .78rem;
  color: var(--muted);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ── REVEAL ANIMATIONS (initial state) ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    max-width: 480px;
  }

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

@media (max-width:768px) {
  #nav {
    padding: 1rem 1.5rem;
  }

  #nav.stuck {
    padding: .8rem 1.5rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-inner {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .proj-grid {
    grid-template-columns: 1fr;
  }

  .proj-featured {
    grid-column: auto;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}