/* ============================================================
   JEEVAN GEORGE JOSEPH — PORTFOLIO
   Bauhaus · Editorial · 2026
   Fonts: Clash Display / Satoshi / JetBrains Mono
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700&f[]=satoshi@400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --red:    #E63946;
  --blue:   #1D3557;
  --yellow: #FFD60A;
  --black:  #080808;
  --white:  #F0EBE1;
  --dark:   #131313;
  --mid:    #222;

  --font-d: 'Clash Display', sans-serif;
  --font-b: 'Satoshi', sans-serif;
  --font-m: 'JetBrains Mono', monospace;

  --ease:   cubic-bezier(0.76, 0, 0.24, 1);
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--yellow); color: var(--black); }

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); }

/* ─── CURSOR ─────────────────────────────────────────── */
.c-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width .35s var(--ease), height .35s var(--ease),
              background .35s ease, border-color .35s ease;
}
.c-ring.hover {
  width: 72px; height: 72px;
  background: rgba(255,214,10,.12);
  border-color: var(--yellow);
}
.c-ring.clicking { transform: translate(-50%,-50%) scale(0.8); }
.c-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10002;
  transform: translate(-50%, -50%);
}

/* ─── LOADER ─────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transition: opacity .9s ease .1s, visibility .9s ease .1s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.ld-name {
  display: flex;
  gap: 2px;
  overflow: hidden;
}
.ld-char {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: .4em;
  color: var(--white);
  opacity: 0;
  transform: translateY(60px);
  animation: ldCharIn .7s var(--ease) forwards;
}
.ld-char:nth-child(1){ animation-delay:.05s }
.ld-char:nth-child(2){ animation-delay:.12s }
.ld-char:nth-child(3){ animation-delay:.19s }
@keyframes ldCharIn { to { opacity:1; transform:translateY(0); } }
.ld-bar {
  width: 220px;
  height: 1px;
  background: var(--mid);
  overflow: hidden;
  position: relative;
}
.ld-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--yellow);
  animation: ldFill 1.6s var(--ease) forwards;
}
@keyframes ldFill { to { inset: 0; } }
.ld-pct {
  font-family: var(--font-m);
  font-size: .7rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.25);
}

/* ─── NAV — editorial 3-zone bar ──────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background .4s ease, backdrop-filter .4s ease, height .4s ease;
}
#main-nav.solid {
  height: 52px;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
/* Zone 1 — logo */
.nav-logo {
  font-family: var(--font-d);
  font-size: 1.15rem;
  letter-spacing: .3em;
  color: var(--white);
  justify-self: start;
}
/* Zone 2 — live section tracker */
.nav-tracker {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .4s ease .1s, transform .4s var(--ease) .1s;
}
#main-nav.solid .nav-tracker {
  opacity: 1;
  transform: translateY(0);
}
.nav-tracker-num {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .2em;
  color: var(--yellow);
}
.nav-tracker-sep {
  width: 28px; height: 1px;
  background: rgba(255,255,255,.18);
}
.nav-tracker-label {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  transition: color .3s ease;
}
/* Zone 3 — menu toggle */
.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px 0;
  justify-self: end;
}
.nav-menu-btn-label {
  font-family: var(--font-m);
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  transition: color .3s ease;
}
.nav-menu-btn:hover .nav-menu-btn-label { color: var(--white); }
.nav-menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-menu-icon span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: all .4s var(--ease);
}
.nav-menu-icon span:nth-child(1) { width: 20px; }
.nav-menu-icon span:nth-child(2) { width: 12px; }
.nav-menu-icon.open span:nth-child(1) { width: 20px; transform: translateY(6px) rotate(45deg); }
.nav-menu-icon.open span:nth-child(2) { width: 20px; transform: rotate(-45deg); }
/* Hide the old inline links — we use the overlay exclusively */
.nav-links { display: none; }

/* ── Full-screen nav overlay ──────────────────────────── */
.mob-nav {
  display: flex;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 80px;
  gap: 0;
  opacity: 0;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path .9s var(--ease), opacity .3s ease;
}
.mob-nav.open {
  pointer-events: all;
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
/* Overlay left-side decoration */
.mob-nav::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--yellow), var(--red));
}
/* Nav number + link rows */
.mob-nav-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  overflow: hidden;
}
.mob-nav-row:first-child { border-top: 1px solid rgba(255,255,255,.04); }
.mob-num {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.2);
  padding-top: 4px;
}
.mob-nav-row a {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: .03em;
  color: rgba(255,255,255,.12);
  display: block;
  transform: translateY(110%);
  transition: color .3s ease, transform .8s var(--ease);
}
.mob-nav.open .mob-nav-row a {
  transform: translateY(0);
}
/* Stagger each link in */
.mob-nav-row:nth-child(1) a { transition-delay: .08s; }
.mob-nav-row:nth-child(2) a { transition-delay: .14s; }
.mob-nav-row:nth-child(3) a { transition-delay: .20s; }
.mob-nav-row:nth-child(4) a { transition-delay: .26s; }
.mob-nav-row:nth-child(5) a { transition-delay: .32s; }
.mob-nav-row:nth-child(6) a { transition-delay: .38s; }
.mob-nav-row a:hover { color: var(--white); }
/* Bottom info strip inside overlay */
.mob-nav-foot {
  position: absolute;
  bottom: 48px; left: 80px; right: 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.mob-nav-foot-item {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  line-height: 1.8;
}
.mob-nav-foot-item a:hover { color: var(--yellow); }

/* ─── CHAR SPLIT ANIMATION ───────────────────────────── */
.char-wrap { display: inline-block; overflow: hidden; line-height: 1.05; vertical-align: top; }
.char {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .85s var(--ease);
  transition-delay: calc(var(--i) * .045s + .15s);
}
.char-space { display: inline-block; width: .28em; }
[data-split].active .char { transform: translateY(0); }

/* ─── CLIP WIPE REVEAL ───────────────────────────────── */
.wipe {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 1.1s var(--ease);
}
.wipe.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

/* Fade up (for body text, secondary elements) */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s var(--ease);
}
.fade-up.active { opacity: 1; transform: translateY(0); }

/* ─── HERO ───────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Subtle grid overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
/* Geometric accent - orbiting rings */
.hero-orbit {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring:nth-child(1) {
  width: 520px; height: 520px;
  border: 1px solid rgba(230,57,70,.2);
  animation: orbitSpin 60s linear infinite;
}
.orbit-ring:nth-child(2) {
  width: 360px; height: 360px;
  border: 1px solid rgba(255,214,10,.15);
  animation: orbitSpin 40s linear infinite reverse;
}
.orbit-ring:nth-child(3) {
  width: 200px; height: 200px;
  border: 1px solid rgba(29,53,87,.4);
  animation: orbitSpin 25s linear infinite;
}
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
@keyframes orbitSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
/* Red block accent */
.hero-red-accent {
  position: absolute;
  bottom: 120px; right: 60px;
  width: 60px; height: 60px;
  background: var(--red);
  opacity: .6;
  animation: floatAccent 7s ease-in-out infinite;
}
.hero-blue-accent {
  position: absolute;
  top: 140px; right: 200px;
  width: 20px; height: 20px;
  background: var(--blue);
  animation: floatAccent 5s ease-in-out infinite 1s;
}
@keyframes floatAccent {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-12px,-18px) rotate(45deg); }
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 48px;
  padding-top: 120px;
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.status-pip {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pipPulse 2.4s ease infinite;
}
@keyframes pipPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,214,10,.5); }
  60% { box-shadow: 0 0 0 10px rgba(255,214,10,0); }
}
.status-text {
  font-family: var(--font-m);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* The main name */
.hero-name {
  font-family: var(--font-d);
  font-size: clamp(5.5rem, 15vw, 18rem);
  line-height: .85;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 36px;
}
.name-line {
  display: block;
  overflow: hidden;
}
.name-slide {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.name-slide.show { transform: translateY(0); }
.name-slide:nth-child(1) { transition-delay: .05s; }
.name-slide:nth-child(2) { transition-delay: .15s; }
.name-slide:nth-child(3) { transition-delay: .25s; }
.name-accent { color: var(--yellow); }

/* Thin rule with label */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.hero-rule-line { flex: 0 0 60px; height: 1px; background: var(--red); }
.hero-rule-label {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.hero-sub {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  margin-bottom: 52px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
/* Magnetic buttons */
.btn-m {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-m);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 17px 36px;
  border: 1.5px solid;
  transition: background .35s ease, color .35s ease,
              border-color .35s ease, transform .5s var(--spring);
  cursor: none;
  will-change: transform;
}
.btn-fill {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  font-weight: 700;
}
.btn-fill:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-line {
  background: transparent;
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.2);
}
.btn-line:hover { border-color: var(--white); color: var(--white); }

/* Hero stat row */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 40px;
}
.h-stat {
  padding-right: 48px;
  margin-right: 48px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.h-stat:last-child { border-right: none; margin-right: 0; }
.h-stat-n {
  font-family: var(--font-d);
  font-size: 2.8rem;
  letter-spacing: .02em;
  color: var(--yellow);
  line-height: 1;
}
.h-stat-l {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-top: 6px;
}

/* Hero marquee strip */
.hero-ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  overflow: hidden;
}
.hero-ticker-inner {
  display: flex;
  width: max-content;
  animation: marqueeLeft 35s linear infinite;
}
.hero-ticker-inner span {
  font-family: var(--font-m);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  padding: 0 40px;
}
.hero-ticker-inner .t-dot { color: var(--red); font-size: .5rem; padding: 0 10px; }

/* ─── RUNNING BAND ───────────────────────────────────── */
.band {
  overflow: hidden;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: 14px 0;
}
.band.b-yellow { background: var(--yellow); }
.band.b-red    { background: var(--red); }
.band-inner {
  display: flex;
  width: max-content;
  animation: marqueeLeft 22s linear infinite;
}
.band-inner.rev { animation-direction: reverse; }
.band-word {
  font-family: var(--font-d);
  font-size: 1.1rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 40px;
  flex-shrink: 0;
}
.band-sep { color: rgba(0,0,0,.3); padding: 0 4px; }

/* ─── SECTION BASE ───────────────────────────────────── */
section { padding: 130px 0; position: relative; overflow: hidden; }
.container { max-width: 1340px; margin: 0 auto; padding: 0 80px; }
.s-eyebrow {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.s-eyebrow::before {
  content: '';
  display: block; width: 20px; height: 1px;
  background: var(--yellow);
}
.s-title {
  font-family: var(--font-d);
  font-size: clamp(3.2rem, 6.5vw, 7rem);
  letter-spacing: -.01em;
  line-height: .9;
  color: var(--white);
  margin-bottom: 80px;
}
/* Section number decoration */
.s-deco {
  position: absolute;
  top: 80px; right: 60px;
  font-family: var(--font-d);
  font-size: 14rem;
  line-height: 1;
  color: rgba(255,255,255,.025);
  pointer-events: none;
  user-select: none;
}

/* On light sections */
.light-section .s-eyebrow { color: rgba(0,0,0,.3); }
.light-section .s-eyebrow::before { background: var(--red); }
.light-section .s-title { color: var(--black); }
.light-section .s-deco { color: rgba(0,0,0,.035); }

/* ─── ABOUT ──────────────────────────────────────────── */
#about { background: var(--white); color: var(--black); }
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  margin-bottom: 0;
}
/* Bauhaus mosaic */
.about-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  min-height: 520px;
}
.mos { cursor: default; transition: filter .3s ease; }
.mos:hover { filter: brightness(1.2); }
.mos-r { background: var(--red); }
.mos-b { background: var(--blue); }
.mos-y { background: var(--yellow); }
.mos-k { background: var(--black); }
.mos-g { background: #1A1A1A; }
.mos-s2 { grid-column: span 2; }

/* About text panel */
.about-panel {
  background: var(--black);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-bigq {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}
.about-bigq .yel { color: var(--yellow); }
.about-para {
  font-size: .98rem;
  line-height: 1.85;
  color: rgba(255,255,255,.42);
  margin-bottom: 48px;
}
/* Fact grid */
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.07);
}
.fact-cell {
  background: var(--black);
  padding: 18px 20px;
}
.fc-label {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 6px;
}
.fc-val {
  font-size: .88rem;
  font-weight: 500;
  color: var(--white);
}
.fc-val a:hover { color: var(--yellow); }

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,.12);
}
.astat-cell {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}
.astat-cell.red-bg { background: var(--red); }
.astat-n {
  font-family: var(--font-d);
  font-size: 5rem;
  line-height: 1;
  color: var(--black);
  letter-spacing: -.02em;
  transition: transform .4s var(--spring);
}
.astat-cell:hover .astat-n { transform: scale(1.05); }
.astat-cell.red-bg .astat-n { color: var(--white); }
.astat-l {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  margin-top: 10px;
}
.astat-cell.red-bg .astat-l { color: rgba(255,255,255,.55); }

/* ─── SKILLS (MARQUEE STRIPS) ────────────────────────── */
#skills { background: var(--black); padding: 130px 0 0; }
#skills > .container { padding-bottom: 72px; }
.skills-strips { border-top: 1px solid rgba(255,255,255,.05); }
.m-strip {
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: relative;
}
.m-strip:hover .m-inner { animation-play-state: paused; }
.m-strip::before {
  content: attr(data-cat);
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
  line-height: 1.4;
  background: #080808;
}
.m-strip.s-lang::before  { color: var(--yellow); border-left: 3px solid rgba(255,214,10,.5); }
.m-strip.s-ai::before    { color: var(--red);    border-left: 3px solid rgba(230,57,70,.5); }
.m-strip.s-back::before  { color: rgba(255,255,255,.4); }
.m-strip.s-cloud::before { color: #6BA3BE; }
.m-strip.s-db::before    { color: rgba(255,255,255,.3); }

.m-inner {
  display: flex;
  width: max-content;
  padding-left: 120px;
  animation: marqueeLeft 40s linear infinite;
}
.m-strip.rev .m-inner { animation-direction: reverse; }
/* Different durations */
.m-strip:nth-child(1) .m-inner { animation-duration: 28s; }
.m-strip:nth-child(2) .m-inner { animation-duration: 50s; }
.m-strip:nth-child(3) .m-inner { animation-duration: 35s; }
.m-strip:nth-child(4) .m-inner { animation-duration: 38s; }
.m-strip:nth-child(5) .m-inner { animation-duration: 24s; }

.skill-word {
  font-family: var(--font-d);
  font-size: 1.5rem;
  letter-spacing: .04em;
  padding: 18px 32px;
  white-space: nowrap;
  transition: color .3s ease;
}
.sep-dot {
  display: flex;
  align-items: center;
  font-size: .45rem;
}
/* Color per strip */
.s-lang  .skill-word { color: rgba(255,255,255,.55); }
.s-lang  .skill-word:hover { color: var(--yellow); }
.s-lang  .sep-dot { color: rgba(255,214,10,.3); }
.s-ai    .skill-word { color: var(--red); opacity:.7; }
.s-ai    .skill-word:hover { opacity:1; }
.s-ai    .sep-dot { color: rgba(230,57,70,.3); }
.s-back  .skill-word { color: rgba(255,255,255,.5); }
.s-back  .skill-word:hover { color: var(--white); }
.s-back  .sep-dot { color: rgba(255,255,255,.15); }
.s-cloud .skill-word { color: #6BA3BE; opacity:.65; }
.s-cloud .skill-word:hover { opacity:1; }
.s-cloud .sep-dot { color: rgba(107,163,190,.3); }
.s-db    .skill-word { color: rgba(255,255,255,.45); }
.s-db    .skill-word:hover { color: var(--white); }
.s-db    .sep-dot { color: rgba(255,255,255,.15); }

/* ─── EXPERIENCE ─────────────────────────────────────── */
#experience { background: var(--white); color: var(--black); }
.exp-list { padding-left: 20px; }
.exp-entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 52px 0;
  border-top: 1px solid rgba(0,0,0,.1);
  position: relative;
  transition: background .3s ease;
}
/* Accent bar lives outside the padding so it never overlaps text */
.exp-entry::before {
  content: '';
  position: absolute;
  left: -24px; top: 0;
  width: 4px; height: 0;
  transition: height .5s var(--ease);
}
.exp-entry:nth-child(1)::before { background: var(--yellow); }
.exp-entry:nth-child(2)::before { background: var(--red); }
.exp-entry:nth-child(3)::before { background: #6BA3BE; }
.exp-entry:hover::before { height: 100%; }
.exp-entry:last-child { border-bottom: 1px solid rgba(0,0,0,.1); }

.exp-meta-col {}
.exp-period {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .18em;
  color: rgba(0,0,0,.35);
  margin-bottom: 14px;
}
.exp-co {
  font-family: var(--font-d);
  font-size: 1.2rem;
  letter-spacing: .04em;
  color: var(--black);
  margin-bottom: 16px;
}
.exp-badge {
  display: inline-block;
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 5px 12px;
  color: var(--white);
  margin-bottom: 6px;
}
.exp-badge.yel { background: var(--yellow); color: var(--black); }
.exp-badge.red { background: var(--red); }
.exp-badge.blue { background: var(--blue); }

.exp-content-col {}
.exp-role {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: .01em;
  color: var(--black);
  margin-bottom: 28px;
  line-height: 1.05;
}
.exp-blist { list-style: none; }
.exp-blist li {
  font-size: .93rem;
  color: rgba(0,0,0,.55);
  padding: 10px 0 10px 26px;
  position: relative;
  line-height: 1.65;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.exp-blist li:last-child { border-bottom: none; }
.exp-blist li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: .85rem;
}

/* ─── PROJECTS (ACCORDION LIST) ──────────────────────── */
#projects { background: var(--black); }
.proj-list {
  border-top: 1px solid rgba(255,255,255,.06);
}
.proj-row {
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
  cursor: none;
}
/* Left accent bar that grows on hover/open */
.proj-bar {
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  transition: height .5s var(--ease);
}
.proj-row:hover .proj-bar,
.proj-row.open  .proj-bar { height: 100%; }
.proj-bar.r { background: var(--red); }
.proj-bar.y { background: var(--yellow); }
.proj-bar.b { background: var(--blue); }

.proj-top {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  transition: padding .4s var(--ease);
}
.proj-row:hover .proj-top { padding: 44px 16px; }

.proj-i {
  font-family: var(--font-d);
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.12);
  transition: color .3s ease;
}
.proj-row:hover .proj-i,
.proj-row.open  .proj-i { color: var(--yellow); }

.proj-head {}
.proj-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  letter-spacing: -.01em;
  line-height: .95;
  color: rgba(255,255,255,.4);
  transition: color .4s ease, transform .4s var(--ease);
  position: relative;
}
/* Glitch effect */
.proj-title::before,
.proj-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}
.proj-row:hover .proj-title {
  color: var(--white);
  transform: translateX(10px);
}
.proj-row.open .proj-title {
  color: var(--white);
}
.proj-row:hover .proj-title::before {
  opacity: .65;
  color: var(--red);
  animation: g1 .35s steps(3) infinite;
  clip-path: polygon(0 10%,100% 10%,100% 38%,0 38%);
}
.proj-row:hover .proj-title::after {
  opacity: .55;
  color: #6BA3BE;
  animation: g2 .35s steps(3) infinite .07s;
  clip-path: polygon(0 62%,100% 62%,100% 85%,0 85%);
}
@keyframes g1 {
  0%   { transform: translate(0)     skewX(0deg);  }
  25%  { transform: translate(-6px)  skewX(-3deg); }
  50%  { transform: translate(5px)   skewX(2deg);  }
  75%  { transform: translate(-3px)  skewX(0deg);  }
  100% { transform: translate(0);                   }
}
@keyframes g2 {
  0%   { transform: translate(0);   }
  25%  { transform: translate(6px); }
  50%  { transform: translate(-5px);}
  75%  { transform: translate(3px); }
  100% { transform: translate(0);   }
}

.proj-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transition: opacity .3s ease;
  min-width: 140px;
}
.proj-row:hover .proj-side { opacity: 1; }
.proj-period {
  font-family: var(--font-m);
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.proj-chips { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.proj-chip {
  font-family: var(--font-m);
  font-size: .52rem;
  letter-spacing: .08em;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.35);
}
/* Toggle arrow */
.proj-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,.2);
  transition: transform .4s var(--ease), color .3s ease;
}
.proj-row.open .proj-arrow { transform: rotate(45deg); color: var(--yellow); }

/* Expand body */
.proj-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .7s var(--ease);
}
.proj-row.open .proj-body { max-height: 500px; }
.proj-body-inner {
  padding: 0 0 52px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.proj-desc {
  font-size: .93rem;
  color: rgba(255,255,255,.38);
  line-height: 1.75;
}
.proj-pts { list-style: none; }
.proj-pts li {
  font-size: .88rem;
  color: rgba(255,255,255,.32);
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.04);
  line-height: 1.5;
}
.proj-pts li::before { content: '▸'; position: absolute; left: 0; color: var(--yellow); }

/* ─── ACHIEVEMENTS ───────────────────────────────────── */
#achievements { background: var(--white); color: var(--black); }
.ach-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,.1);
}
.ach-col {
  background: var(--white);
  padding: 64px 60px;
}
.ach-col.dark { background: var(--black); }
.ach-col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.ach-col.dark .ach-col-head { border-color: rgba(255,255,255,.08); }
.ach-pip { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.ach-pip.y { background: var(--yellow); }
.ach-pip.r { background: var(--red); }
.ach-col-ttl {
  font-family: var(--font-d);
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: var(--black);
}
.ach-col.dark .ach-col-ttl { color: var(--white); }
.ach-entry {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: padding-left .3s ease;
}
.ach-col.dark .ach-entry { border-color: rgba(255,255,255,.05); }
.ach-entry:last-child { border-bottom: none; }
.ach-entry:hover { padding-left: 10px; }
.ach-entry-ttl {
  font-weight: 700;
  font-size: .93rem;
  color: var(--black);
  margin-bottom: 4px;
}
.ach-col.dark .ach-entry-ttl { color: var(--white); }
.ach-entry-src {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .12em;
  color: rgba(0,0,0,.35);
}
.ach-col.dark .ach-entry-src { color: rgba(255,255,255,.25); }

/* ─── EDUCATION ──────────────────────────────────────── */
#education { background: var(--black); }
.edu-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.edu-vis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  min-height: 380px;
}
.ev { transition: filter .3s ease; cursor: default; }
.ev:hover { filter: brightness(1.3); }
.edu-info {
  padding: 64px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.edu-uni {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 16px;
}
.edu-deg {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: .02em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.edu-loc {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .18em;
  color: rgba(255,255,255,.22);
  margin-bottom: 44px;
}
.edu-cgpa {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  background: var(--yellow);
  padding: 22px 36px;
  align-self: flex-start;
}
.cgpa-big {
  font-family: var(--font-d);
  font-size: 5.5rem;
  line-height: .85;
  letter-spacing: -.03em;
  color: var(--black);
}
.cgpa-meta {
  padding-bottom: 8px;
}
.cgpa-sub {
  font-family: var(--font-m);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  line-height: 1.6;
}

/* ─── CONTACT ────────────────────────────────────────── */
#contact { background: var(--black); }
.contact-giant {
  font-family: var(--font-d);
  font-size: clamp(5rem, 13vw, 17rem);
  letter-spacing: -.025em;
  line-height: .85;
  color: var(--white);
  margin-bottom: 56px;
}
.cg-line { display: block; overflow: hidden; }
.cg-slide {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.cg-slide.show { transform: translateY(0); }
.cg-slide:nth-child(2) { transition-delay: .1s; }
.cg-highlight { color: var(--yellow); }
.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.35);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 72px;
}
.contact-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.05);
  overflow: hidden;
}
.c-link {
  background: var(--black);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid transparent;
  transition: border-color .3s ease, transform .4s var(--ease), background .3s ease;
  cursor: none;
}
.c-link:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  background: var(--dark);
}
.c-ico {
  font-size: 1.3rem;
  transition: transform .3s var(--spring);
}
.c-link:hover .c-ico { transform: scale(1.25) rotate(-5deg); }
.c-lbl {
  font-family: var(--font-m);
  font-size: .52rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}
.c-val {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  word-break: break-all;
  line-height: 1.4;
}
.c-arr {
  font-size: .9rem;
  color: rgba(255,255,255,.12);
  transition: color .3s ease, transform .3s ease;
  margin-top: auto;
}
.c-link:hover .c-arr { color: var(--yellow); transform: translate(4px,-4px); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f-logo {
  font-family: var(--font-d);
  font-size: 1.15rem;
  letter-spacing: .22em;
  color: rgba(255,255,255,.25);
}
.f-copy {
  font-family: var(--font-m);
  font-size: .55rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.15);
}
.f-shapes { display: flex; gap: 8px; align-items: center; }
.fsq { width: 10px; height: 10px; background: var(--yellow); }
.fci { width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.ftr { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--blue); }

/* ─── KEYFRAMES ──────────────────────────────────────── */
@keyframes marqueeLeft {
  to { transform: translateX(-50%); }
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 48px; }
  .hero-body { padding: 100px 48px 48px; }
  footer { padding: 36px 48px; }
  .contact-links { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 280px 1fr; }
  .exp-entry { grid-template-columns: 180px 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .container { padding: 0 28px; }
  .hero-body { padding: 90px 28px 32px; }
  section { padding: 90px 0; }
  #main-nav { padding: 18px 28px; }
  #main-nav.solid { padding: 14px 28px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-mosaic { min-height: 160px; grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr; }
  .mos-s2 { grid-column: span 1; }
  .about-stats { grid-template-columns: 1fr; }
  .ach-cols { grid-template-columns: 1fr; }
  .edu-card { grid-template-columns: 1fr; }
  .edu-vis { grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr; min-height: 80px; }
  .exp-entry { grid-template-columns: 1fr; gap: 20px; }
  .proj-body-inner { grid-template-columns: 1fr; padding-left: 0; }
  .proj-top { grid-template-columns: 44px 1fr auto; }
  .proj-side { display: none; }
  .contact-links { grid-template-columns: 1fr 1fr; }
  footer { padding: 32px 28px; flex-direction: column; gap: 16px; }
  .s-deco { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-orbit { display: none; }
  .hero-red-accent, .hero-blue-accent { display: none; }
}
@media (max-width: 520px) {
  .contact-links { grid-template-columns: 1fr; }
  .proj-title { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .char, .name-slide, .cg-slide { transform: none !important; }
  .wipe { clip-path: none !important; }
}
