/* ============================================================
   DESIGN SYSTEM — "BLUEPRINT"
   Deep navy base · electric cyan accent · sharp geometry
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #050d1a;
  --navy2:      #091426;
  --navy3:      #0d1f3c;
  --navy4:      #122448;
  --cyan:       #00d4ff;
  --cyan-dim:   #0099bb;
  --cyan-glow:  rgba(0, 212, 255, 0.15);
  --cyan-glow2: rgba(0, 212, 255, 0.06);
  --white:      #f0f6ff;
  --muted:      #7a9ab8;
  --border:     rgba(0, 212, 255, 0.12);
  --border2:    rgba(0, 212, 255, 0.25);
  --radius:     4px;
  --radius-lg:  10px;
  --header-h:   68px;
  --max-w:      1040px;
  --t:          0.3s ease;
  --font:       'Space Grotesk', sans-serif;
  --mono:       'JetBrains Mono', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--cyan); text-decoration: none; transition: color var(--t); }
a:hover { color: #fff; }
img, video { max-width: 100%; height: auto; display: block; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--cyan);
  letter-spacing: 3px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}

.nav-left, .nav-right { display: flex; gap: 32px; }

nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t);
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--t);
}
nav a:hover, nav a.active { color: var(--cyan); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: var(--t);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(5, 13, 26, 0.97);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav a {
  display: block;
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--t), background var(--t);
}
.mobile-nav a:hover { color: var(--cyan); background: var(--cyan-glow2); }

/* ============================================================
   HERO — INDEX
   ============================================================ */
.hero-index {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 48px 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-index::after {
  content: '';
  position: absolute;
  top: 30%; left: 55%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--cyan);
}

.hero-index h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-index h1 span { color: var(--cyan); }

.hero-index .sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hexagon profile photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--cyan), transparent 60%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  z-index: 0;
}
.hero-photo-wrap img {
  width: 300px;
  height: 340px;
  object-fit: cover;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  position: relative;
  z-index: 1;
  filter: saturate(0.85);
  transition: filter var(--t);
}
.hero-photo-wrap:hover img { filter: saturate(1.1); }

/* Corner brackets */
.bracket-box { position: relative; display: inline-block; }
.bracket-box::before, .bracket-box::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0.5;
}
.bracket-box::before { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.bracket-box::after  { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

/* Stats row */
.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--cyan);
  color: var(--navy);
  background: var(--cyan);
  transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t);
  cursor: pointer;
}
.btn:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-1px);
}
.btn:active { transform: scale(0.97); }

.btn-outline {
  background: transparent;
  color: var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan);
  color: var(--navy);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 48px;
}

.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before { content: '//'; opacity: 0.5; }

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.sep {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 60px 0;
}

/* ============================================================
   FEATURE CARD
   ============================================================ */
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--navy2);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--cyan);
}
.feature-card:hover {
  border-color: var(--border2);
  box-shadow: 0 0 40px var(--cyan-glow2), inset 0 0 40px var(--cyan-glow2);
}
.feature-card h2 { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 4px 0; }
.feature-card .fc-logo img { width: 64px; filter: brightness(1.2); }

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--navy2);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-strip::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.07), transparent 70%);
  pointer-events: none;
}
.contact-strip h2 { font-size: 28px; color: var(--white); margin-bottom: 10px; }
.contact-strip p { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: var(--navy3);
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.contact-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.contact-links a i { font-size: 14px; color: var(--cyan); }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 60px) 48px 50px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p { font-size: 15px; color: var(--muted); max-width: 540px; }

/* ============================================================
   ABOUT GRID
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid.rev { direction: rtl; }
.about-grid.rev > * { direction: ltr; }

.about-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: saturate(0.7) brightness(0.9);
  transition: filter var(--t), border-color var(--t);
}
.about-grid img:hover {
  filter: saturate(1) brightness(1);
  border-color: var(--border2);
}
.about-grid p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.about-grid h2 { font-size: 26px; color: var(--white); margin-bottom: 20px; font-weight: 700; }

/* Pull quote */
.pull-quote {
  position: relative;
  margin: 28px 0;
  padding: 20px 24px 20px 28px;
  border-left: 2px solid var(--cyan);
  background: var(--cyan-glow2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 16px;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  letter-spacing: 0.2px;
}
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 64px;
  color: var(--cyan);
  opacity: 0.2;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   SKILLS / LANGUAGES
   ============================================================ */
.skills-box, .lang-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--navy2);
  padding: 36px 40px;
  max-width: 860px;
  margin: 0 auto 28px;
  transition: border-color var(--t);
}
.skills-box:hover, .lang-box:hover { border-color: var(--border2); }

.skills-box h3, .lang-box h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skills-box h3::before, .lang-box h3::before { content: '//'; opacity: 0.5; }

.skills-list { list-style: none; }
.skills-list li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  flex-wrap: wrap;
}
.skills-list li:last-child { border-bottom: none; }
.skills-list li strong {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  min-width: 140px;
  letter-spacing: 0.5px;
}
.skills-list li span { color: var(--muted); }

.lang-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.lang-list li {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--navy3);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  transition: border-color var(--t), color var(--t);
}
.lang-list li:hover { border-color: var(--cyan); color: var(--cyan); }
.lang-list li strong { color: var(--white); }

/* ============================================================
   EXPERIENCE — EXP CARD
   ============================================================ */
.exp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--navy2);
  padding: 36px;
  margin-bottom: 20px;
  transition: border-color var(--t), box-shadow var(--t);
}
.exp-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px var(--cyan-glow2);
}

.exp-card-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.exp-logo {
  flex-shrink: 0;
}
.exp-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  background: var(--navy3);
}
.exp-meta { flex: 1; }
.exp-meta h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.exp-org {
  color: var(--cyan);
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 13px;
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--navy3);
}
.exp-tag-active {
  color: var(--cyan);
  border-color: rgba(0,212,255,0.3);
  background: var(--cyan-glow2);
  animation: activePulse 2.5s infinite;
}

.exp-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.exp-section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.8;
  margin: 24px 0 12px;
}
.exp-list {
  padding-left: 20px;
  margin-bottom: 8px;
}
.exp-list li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tech-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.18);
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* Internship card highlight */
.internship-card {
  border-color: rgba(0, 212, 255, 0.25) !important;
  background: linear-gradient(135deg, var(--navy2) 0%, #0a1a2a 100%) !important;
}
.internship-card:hover {
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12) !important;
  border-color: rgba(0, 212, 255, 0.4) !important;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -28px; top: 20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--navy);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.timeline-content {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color var(--t);
}
.timeline-content:hover { border-color: var(--border2); }

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.timeline-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-org {
  font-size: 13px;
  color: var(--cyan);
  font-family: var(--mono);
}
.timeline-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--navy3);
  flex-shrink: 0;
}
.timeline-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.timeline-highlights span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--navy3);
}

/* ============================================================
   PROJECT TIMELINE CARDS
   ============================================================ */
.proj-timeline-card {
  cursor: pointer;
}

/* Logo left, content middle, toggle right */
.proj-timeline-card .timeline-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.proj-timeline-card .timeline-header .exp-logo {
  flex-shrink: 0;
}
.proj-timeline-card .timeline-header > div[style] {
  flex: 1;
}

.proj-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  opacity: 0.5;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.proj-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--navy3);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), box-shadow var(--t);
  flex-shrink: 0;
  user-select: none;
}
.proj-timeline-card:hover .proj-toggle {
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Collapsible body */
.proj-timeline-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.proj-timeline-body.open {
  max-height: 3000px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 4px;
}

/* PDF viewer */
.pdf-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
  transition: border-color var(--t);
}
.pdf-wrap:hover { border-color: var(--border2); }
.pdf-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.3s;
  letter-spacing: 1px;
}
.pdf-wrap:hover .pdf-label { opacity: 0; }
.pdf-wrap iframe {
  width: 100%;
  height: 540px;
  border: none;
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pdf-wrap:hover iframe { opacity: 1; pointer-events: auto; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 48px 80px;
  position: relative;
  z-index: 1;
}
.contact-page::before {
  content: '';
  position: absolute;
  top: 30%; left: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.05), transparent 65%);
  pointer-events: none;
}

.contact-wrapper { width: 100%; max-width: 700px; }
.contact-wrapper h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.contact-wrapper > p { font-size: 14px; color: var(--muted); margin-bottom: 36px; }

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 36px;
}
.ch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--navy2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.ch-item:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}
.ch-item i { color: var(--cyan); font-size: 16px; flex-shrink: 0; }

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--navy2);
  padding: 40px;
  transition: border-color var(--t);
}
.contact-form:focus-within { border-color: var(--border2); }
.contact-form h2 {
  font-size: 15px;
  font-family: var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  opacity: 0.8;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(122,154,184,0.4); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan-dim);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--cyan); }
  50%       { opacity: 0.4; box-shadow: 0 0 14px var(--cyan); }
}
@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.3); }
  50%       { box-shadow: 0 0 0 4px rgba(0,212,255,0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — TABLET (≤820px)
   ============================================================ */
@media (max-width: 820px) {
  .nav-left, .nav-right { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .logo { position: static; transform: none; }
  header { justify-content: space-between; padding: 0 24px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-eyebrow { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-wrap img { width: 220px; height: 250px; }
  .stats-row { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid.rev { direction: ltr; }

  .exp-card-header { flex-direction: column; }
  .timeline-header { flex-wrap: wrap; }
  .timeline-date { align-self: flex-start; }

  .contact-channels { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .contact-page { padding-left: 24px; padding-right: 24px; }

  .section { padding: 60px 24px; }
  .page-hero { padding-left: 24px; padding-right: 24px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-index { padding: calc(var(--header-h) + 24px) 20px 60px; }
  .hero-index h1 { font-size: 34px; }
  .contact-strip { padding: 36px 24px; }
  .skills-box, .lang-box { padding: 24px 20px; }
  .skills-list li strong { min-width: unset; width: 100%; }
  .feature-card { flex-direction: column; }
  .timeline { padding-left: 24px; }
  .timeline-dot { left: -21px; }
  .proj-timeline-card .timeline-header .exp-logo { display: none; }
}