/* ── ROOT ─────────────────────────────── */
:root {
  --bg: #060608;
  --bg2: #0d0d12;
  --acc: #7c3aed;
  --acc2: #38bdf8;
  --acc3: #f472b6;
  --acc-g: rgba(124, 58, 237, .45);
  --acc2-g: rgba(56, 189, 248, .35);
  --txt: #fff;
  --txt2: rgba(255, 255, 255, .55);
  --txt3: rgba(255, 255, 255, .25);
  --surf: rgba(255, 255, 255, .04);
  --surf2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .07);
  --font: 'Outfit', sans-serif;
  --font2: 'Syne', sans-serif;
  --font3: 'Space Mono', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --tr: all .4s var(--ease);
}

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  cursor: none
}

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

button {
  cursor: none;
  font-family: var(--font);
  border: none;
  background: none
}

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

/* ── UTILS ─────────────────────────────── */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 5%
}

.section {
  padding: 10rem 0
}

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

.dot {
  color: var(--acc)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
  cursor: none;
  z-index: 1
}

.btn-glow {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  color: #fff;
  box-shadow: 0 0 30px var(--acc-g)
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px var(--acc-g)
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--txt);
  backdrop-filter: blur(8px)
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, .3);
  background: var(--surf2)
}

.sec-label {
  font-family: var(--font3);
  font-size: .8rem;
  color: var(--acc2);
  letter-spacing: .2rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem
}

.sec-title {
  font-family: var(--font2);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem
}

.sec-sub {
  font-size: 1.1rem;
  color: var(--txt2);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 3.5rem
}

/* ── PRELOADER ─────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center
}

.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 260px
}

.pre-logo {
  font-family: var(--font2);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px
}

.pre-bar-wrap {
  width: 100%;
  height: 2px;
  background: var(--surf2);
  border-radius: 4px;
  overflow: hidden
}

.pre-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc2));
  border-radius: 4px;
  transition: width .05s linear
}

.pre-count {
  font-family: var(--font3);
  font-size: .85rem;
  color: var(--txt2)
}

/* ── CURSOR ─────────────────────────────── */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%)
}

#cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s
}

#cursor-follower.hovered {
  width: 60px;
  height: 60px;
  border-color: var(--acc);
  background: rgba(124, 58, 237, .1)
}

/* ── NAV ─────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  padding: 1.8rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--tr)
}

#navbar.scrolled {
  padding: 1rem 5%;
  /* background: rgba(6, 6, 8, .85); */
  backdrop-filter: blur(16px);
  /* border-bottom: 1px solid var(--border) */
}

.nav-logo {
  font-family: var(--font2);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px
}

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

.nl {
  font-size: .85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12rem;
  position: relative;
  overflow: hidden;
  padding: .2rem 0
}

.nl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--acc), var(--acc2));
  transition: width .4s var(--ease)
}

.nl:hover::after,
.nl.active::after {
  width: 100%
}

.nl:hover,
.nl.active {
  color: var(--acc2)
}

.nav-cta {
  padding: .6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--tr);
  backdrop-filter: blur(8px)
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  border-color: transparent;
  color: #fff
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 600
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--tr);
  border-radius: 2px
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .6s var(--ease)
}

.mobile-menu.open {
  transform: translateX(0)
}

.mobile-menu ul {
  list-style: none;
  text-align: center
}

.mob-link {
  font-family: var(--font2);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  padding: .5rem 0;
  transition: var(--tr)
}

.mob-link:hover {
  color: var(--acc2)
}

.mob-close {
  position: absolute;
  top: 2rem;
  right: 5%;
  font-size: 1.5rem;
  color: var(--txt2);
  background: none;
  border: none;
  cursor: none
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden
}

/* CRITICAL: pointer-events none so scroll wheel passes through to Lenis */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .5
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  max-width: 1360px;
  /* margin: 0 auto; */
  width: 100%
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1rem;
  backdrop-filter: blur(8px);
  margin-bottom: 2.5rem;
  opacity: 0
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--acc2);
  border-radius: 50%;
  animation: blink 2s infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.hero-title {
  font-family: var(--font2);
  font-size: clamp(3.5rem, 9vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
  overflow: hidden
}

.title-line {
  overflow: hidden;
  display: block
}

.tl-inner {
  display: block;
  transform: translateY(110%)
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--txt2);
  line-height: 1.7;
  /* max-width: 560px; */
  margin-bottom: 2.5rem;
  opacity: 0
}

.hero-sub strong {
  color: var(--txt);
  font-weight: 600
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  opacity: 0;
  margin-bottom: 4rem
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  opacity: 0
}

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

.hs span:first-child {
  font-family: var(--font2);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hs p {
  font-size: .78rem;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .1rem
}

.hs-divider {
  width: 1px;
  height: 50px;
  background: var(--border)
}

.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  right: 5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  opacity: 0
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: #fff;
  border-radius: 2px;
  animation: sw 2s infinite
}

@keyframes sw {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(12px);
    opacity: 0
  }
}

.hero-scroll-hint span {
  font-size: .72rem;
  letter-spacing: .15rem;
  text-transform: uppercase;
  color: var(--txt2);
  writing-mode: vertical-rl
}

/* ── MARQUEE ─────────────────────────────── */
.marquee-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: .9rem 0
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 30s linear infinite
}

.marquee-track span {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05rem;
  white-space: nowrap;
  color: var(--txt2)
}

.marquee-track .sep {
  color: var(--acc)
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ── ABOUT ───────────────────────────────── */
.about {
  background: var(--bg)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: center
}

/* 3D Card */
.about-visual {
  perspective: 1000px
}

.av-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .1s linear;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4)
}

.av-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--acc-g) 0%, transparent 60%);
  pointer-events: none;
  opacity: .5;
  animation: rotate 8s linear infinite
}

@keyframes rotate {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.av-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.av-avatar {
  position: relative;
  margin-bottom: 1.5rem
}

.av-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--acc), var(--acc2)) border-box;
  animation: spin 4s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.av-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
}

.av-card h3 {
  font-family: var(--font2);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .3rem
}

.av-role {
  color: var(--txt2);
  font-size: .9rem;
  margin-bottom: 1.5rem
}

.av-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 1.5rem
}

.av-tags span {
  padding: .35rem .9rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .78rem;
  color: var(--acc2)
}

.av-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem
}

.av-socials {
  display: flex;
  gap: 1rem
}

.av-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--tr);
  color: var(--txt2)
}

.av-socials a:hover {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  border-color: transparent;
  color: #fff
}

/* About text */
.about-text .sec-label,
.about-text .sec-title {
  margin-bottom: 1rem
}

.about-para {
  color: var(--txt2);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  font-size: 1.05rem
}

.about-para strong {
  color: var(--txt);
  font-weight: 600
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 2rem 0
}

.am-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .92rem;
  color: var(--txt2)
}

.am-item i {
  color: var(--acc2);
  width: 16px
}

/* ── SKILLS ──────────────────────────────── */
.skills {
  background: var(--bg2);
  padding-bottom: 0
}

.skills .container {
  margin-bottom: 4rem
}

.skills-list {
  border-top: 1px solid var(--border)
}

.skill-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 2.2rem 5%;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: var(--tr);
  cursor: none
}

.skill-row::before {
  content: attr(data-num);
  position: absolute;
  left: 2%;
  font-family: var(--font3);
  font-size: .72rem;
  color: var(--txt3)
}

.skill-row:hover {
  background: var(--surf)
}

.sr-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: 2.5rem
}

.sr-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--acc2);
  transition: var(--tr);
  flex-shrink: 0
}

.skill-row:hover .sr-icon {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  border-color: transparent;
  color: #fff;
  transform: rotate(-5deg)
}

.sr-left h3 {
  font-family: var(--font2);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .3rem
}

.sr-left p {
  font-size: .85rem;
  color: var(--txt2)
}

.sr-bar {
  width: 180px;
  height: 4px;
  background: var(--surf2);
  border-radius: 4px;
  overflow: hidden
}

.sr-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc2));
  border-radius: 4px;
  transition: width 1.2s var(--ease)
}

.sr-pct {
  font-family: var(--font3);
  font-size: .85rem;
  color: var(--acc2);
  min-width: 36px;
  text-align: right
}

/* ── EXPERIENCE ──────────────────────────── */
.experience {
  background: var(--bg)
}

.timeline {
  position: relative;
  margin-top: 4rem
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--acc), transparent)
}

.tl-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding-left: 3rem;
  position: relative
}

.tl-dot {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border: 2px solid var(--acc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1
}

.tl-dot span {
  width: 8px;
  height: 8px;
  background: var(--acc);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--acc-g)
}

.tl-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  flex: 1;
  transition: var(--tr)
}

.tl-card:hover {
  background: var(--surf2);
  transform: translateX(6px);
  border-color: rgba(124, 58, 237, .25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4)
}

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

.tlc-header h3 {
  font-family: var(--font2);
  font-size: 1.5rem;
  font-weight: 700
}

.tlc-header h4 {
  color: var(--txt2);
  font-weight: 400;
  font-size: 1rem;
  margin-top: .3rem
}

.tlc-header h4 span {
  color: var(--txt3)
}

.tl-badge {
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  background: rgba(56, 189, 248, .1);
  color: var(--acc2);
  white-space: nowrap;
  height: fit-content
}

.tl-list {
  list-style: none;
  margin-bottom: 1.5rem
}

.tl-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.65;
  margin-bottom: .6rem;
  font-size: .95rem
}

.tl-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--acc)
}

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

.tl-tags span {
  padding: .3rem .9rem;
  background: rgba(124, 58, 237, .1);
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 50px;
  font-size: .78rem;
  color: var(--acc)
}

/* ── PROJECTS ─────────────────────────────── */
.projects {
  background: var(--bg2)
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1rem
}

.proj-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--tr)
}

.proj-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, .3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5)
}

.pc-visual {
  position: relative;
  height: 280px;
  overflow: hidden
}

.pc-canvas-wrap {
  width: 100%;
  height: 100%
}

.proj-canvas {
  width: 100%;
  height: 100%;
  display: block
}

.pc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(6, 6, 8, .7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: var(--tr)
}

.proj-card:hover .pc-overlay {
  opacity: 1
}

.pc-link {
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  background: #fff;
  color: #000;
  transition: var(--tr);
  transform: translateY(15px);
  display: flex;
  align-items: center;
  gap: .4rem
}

.proj-card:hover .pc-link {
  transform: translateY(0)
}

.pc-link.pc-gh {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3)
}

.pc-link:hover {
  background: var(--acc);
  color: #fff;
  border-color: transparent
}

.pc-info {
  padding: 2rem
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem
}

.pc-tags span {
  font-size: .75rem;
  color: var(--acc2);
  text-transform: uppercase;
  letter-spacing: .08rem
}

.pc-info h3 {
  font-family: var(--font2);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .7rem
}

.pc-info p {
  color: var(--txt2);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 1.2rem
}

.pc-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--acc2);
  transition: var(--tr)
}

.pc-arrow:hover {
  gap: 1rem;
  color: var(--acc)
}

/* ── CONTACT ─────────────────────────────── */
.contact {
  background: var(--bg)
}

.contact-inner {
  position: relative;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden
}

.contact-bg-orb {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--acc-g) 0%, transparent 65%);
  pointer-events: none
}

.contact-heading {
  font-family: var(--font2);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1
}

.contact-sub {
  color: var(--txt2);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 1
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1
}

.cg-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  transition: var(--tr)
}

.cg-item:hover {
  background: var(--surf2);
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, .3)
}

.cgi-icon {
  width: 46px;
  height: 46px;
  background: rgba(124, 58, 237, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--acc2);
  transition: var(--tr);
  flex-shrink: 0
}

.cg-item:hover .cgi-icon {
  background: var(--acc);
  color: #fff;
  box-shadow: 0 0 20px var(--acc-g)
}

.cg-item span {
  display: block;
  font-size: .72rem;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .08rem;
  margin-bottom: .2rem
}

.cg-item strong {
  font-size: .8rem;
  font-weight: 500
}

.contact-btn {
  position: relative;
  z-index: 1
}

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

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

.footer-logo {
  font-family: var(--font2);
  font-size: 1.4rem;
  font-weight: 800
}

.footer p {
  font-size: .85rem;
  color: var(--txt2)
}

.footer-socials {
  display: flex;
  gap: 1rem
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--txt2);
  transition: var(--tr)
}

.footer-socials a:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff
}

/* ── FADE-UP (initial hidden state) ─────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px)
}

.reveal-up {}

/* ── SCROLLBAR ─────────────────────── */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--acc), var(--acc2));
  border-radius: 3px
}

/* ── RESPONSIVE ──────────────────────────── */
@media(max-width:1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem
  }

  .about-visual {
    max-width: 400px;
    margin: 0 auto
  }

  .projects-grid {
    grid-template-columns: 1fr
  }

  .sr-bar {
    width: 120px
  }
}

@media(max-width:768px) {

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

  .hamburger {
    display: flex
  }

  .section {
    padding: 6rem 0
  }

  .skill-row {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .sr-bar {
    width: 100%
  }

  .tlc-header {
    flex-direction: column
  }

  .contact-inner {
    padding: 4rem 2rem
  }

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

  .hero-stats {
    gap: 1.5rem
  }

  .hs span:first-child {
    font-size: 2rem
  }
}

@media(max-width:480px) {
  .hero-actions {
    flex-direction: column
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center
  }
}