/* ═══════════════════════════════════════════════
   THEME VARIABLES
═══════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg: #04060f;
  --bg2: #080d1e;
  --surface: #0c1228;
  --surface2: #111830;
  --accent1: #e879f9;
  --accent2: #06b6d4;
  --accent3: #fbbf24;
  --accent4: #34d399;
  --text: #f1f5f9;
  --text2: #94a3b8;
  --border: rgba(232,121,249,0.18);
  --border2: rgba(6,182,212,0.15);
  --nav-bg: rgba(4,6,15,0.8);
  --card-shadow: 0 8px 40px rgba(232,121,249,0.08);
  --glow1: rgba(232,121,249,0.15);
  --glow2: rgba(6,182,212,0.12);
}
[data-theme="light"] {
  --bg: #f8f6ff;
  --bg2: #f0eeff;
  --surface: #ffffff;
  --surface2: #faf8ff;
  --accent1: #9333ea;
  --accent2: #0891b2;
  --accent3: #d97706;
  --accent4: #059669;
  --text: #1e1b4b;
  --text2: #6b7280;
  --border: rgba(147,51,234,0.2);
  --border2: rgba(8,145,178,0.18);
  --nav-bg: rgba(248,246,255,0.88);
  --card-shadow: 0 4px 24px rgba(147,51,234,0.08);
  --glow1: rgba(147,51,234,0.08);
  --glow2: rgba(8,145,178,0.06);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ═══════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════ */
/* cursor: small glowing dot + trailing orbs */
#cursor-dot {
  position: fixed;
  width: 12px; height: 12px;
  background: radial-gradient(circle, #fff 30%, var(--accent2) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px var(--accent2), 0 0 22px var(--accent2), 0 0 40px rgba(6,182,212,0.4);
  transition: transform 0.08s, width 0.2s, height 0.2s;
}
#cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 2px solid var(--accent1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%) rotate(0deg);
  opacity: 0.6;
  transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
}
/* spinning dashes on hover */
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 58px; height: 58px; opacity: 1;
  border-color: var(--accent1);
  border-style: dashed;
  box-shadow: 0 0 18px var(--accent1);
  animation: spin-ring 1.2s linear infinite;
}
@keyframes spin-ring { to { transform: translate(-50%,-50%) rotate(360deg); } }
#cursor-trail-canvas { position:fixed; top:0; left:0; width:100%; height:100%; z-index:9997; pointer-events:none; }
#cursor-trail-canvas { position:fixed; top:0; left:0; width:100%; height:100%; z-index:9997; pointer-events:none; }

/* ═══════════════════════════════════════════════
   BACKGROUNDS
═══════════════════════════════════════════════ */
#neural-bg { position:fixed; top:0; left:0; width:100%; height:100%; z-index:0; opacity:0.25; }

#brain-canvas {
  position: fixed;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 860px;
  height: 860px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

.content { position:relative; z-index:1; }

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
nav {
  position: fixed; top:0; left:0; right:0; z-index:200;
  display: flex; justify-content:space-between; align-items:center;
  padding: 1rem 4rem;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s;
}
.nav-logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 0.02em;
}
.nav-links { display:flex; gap:2rem; list-style:none; align-items:center; }
.nav-links a {
  font-family: 'Kalam', cursive;
  font-size: 1rem;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-3px; left:0; width:0; height:2px;
  background: var(--accent1); transition: width 0.3s; border-radius:2px;
}
.nav-links a:hover { color: var(--accent1); }
.nav-links a:hover::after { width:100%; }

/* THEME TOGGLE */
.theme-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  cursor: none;
  display: flex; align-items:center; gap:0.5rem;
  font-family: 'Kalam', cursive;
  font-size: 0.85rem;
  color: var(--text2);
  transition: all 0.3s;
}
.theme-btn:hover { border-color: var(--accent1); color: var(--accent1); }
.theme-icon { font-size: 1rem; transition: transform 0.4s; }
.theme-btn:hover .theme-icon { transform: rotate(20deg); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 4rem 4rem;
  position: relative;
}
.hero-eyebrow {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.95rem;
  color: var(--accent2);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  animation: fadeSlideUp 0.8s ease both;
  display: flex; align-items:center; gap:0.6rem;
}
.hero-eyebrow::before { content:'✏️'; font-size:1rem; }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 0.5rem;
  animation: fadeSlideUp 0.8s 0.15s ease both;
}
.hero h1 .name-hand {
  font-family: 'Caveat', cursive;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent1), var(--accent2), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
  line-height: 1.1;
  animation: fadeSlideUp 0.8s 0.25s ease both;
}
.hero-role {
  font-family: 'Kalam', cursive;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--accent4);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s 0.35s ease both;
}
.hero-role span { color: var(--text2); }
.hero-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 3rem;
  animation: fadeSlideUp 0.8s 0.45s ease both;
}
.hero-desc strong { color: var(--accent1); font-family: 'Kalam', cursive; font-size: 1.1em; }
.hero-cta { display:flex; gap:1.2rem; animation: fadeSlideUp 0.8s 0.55s ease both; flex-wrap:wrap; }

.btn-primary {
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #fff;
  font-family: 'Kalam', cursive;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: none;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 4px 20px var(--glow1);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--glow1); }

.btn-outline {
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--accent1);
  font-family: 'Kalam', cursive;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent1);
  border-radius: 8px;
  cursor: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline:hover { background: var(--glow1); transform: translateY(-3px); }

.hero-stats {
  position: absolute; right: 4rem; bottom: 4rem;
  display: flex; flex-direction: column; gap: 1.8rem;
  animation: fadeSlideUp 0.8s 0.65s ease both;
}
.stat { text-align:right; }
.stat-num {
  font-family: 'Caveat', cursive;
  font-size: 3rem; font-weight: 700;
  color: var(--accent1); line-height: 1;
}
.stat-label {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.72rem;
  color: var(--text2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
section { padding: 6rem 4rem; }
.section-alt { background: var(--bg2); transition: background 0.4s; }

.section-tag {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.85rem;
  color: var(--accent2);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display:flex; align-items:center; gap:0.5rem;
}
.section-tag::before { content:'~'; color: var(--accent1); font-size:1.2em; }

.section-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  color: var(--text);
}
.section-title::after {
  content: '';
  position: absolute; bottom:-6px; left:0;
  width: 50%; height: 3px;
  background: linear-gradient(to right, var(--accent1), var(--accent2), transparent);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════ */
.skills-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem; }

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.skill-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0;
  height:3px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s;
  border-radius: 12px 12px 0 0;
}
.skill-card:hover { border-color: var(--border2); transform: translateY(-5px); box-shadow: 0 16px 50px var(--glow1); }
.skill-card:hover::before { transform: scaleX(1); }

.skill-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.skill-name {
  font-family: 'Kalam', cursive;
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.skill-tags { display:flex; flex-wrap:wrap; gap:0.4rem; margin-top:1rem; }
.tag {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.7rem; padding: 0.25rem 0.7rem;
  background: var(--glow2); border: 1px solid var(--border2);
  color: var(--accent2); border-radius:20px;
}
.tag.p { background: var(--glow1); border-color: var(--border); color: var(--accent1); }
.tag.a { background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.25); color: var(--accent3); }
.tag.g { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.25); color: var(--accent4); }

.skill-bar-wrap { margin-top: 0.8rem; }
.skill-bar-label {
  display:flex; justify-content:space-between;
  font-family: 'Architects Daughter', cursive;
  font-size: 0.7rem; color: var(--text2); margin-bottom: 0.35rem;
}
.skill-bar { height: 4px; background: var(--surface2); border-radius: 4px; overflow:hidden; }
.skill-bar-fill {
  height:100%;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  border-radius: 4px; width:0;
  transition: width 1.6s cubic-bezier(0.22,1,0.36,1);
}

/* ═══════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════ */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1.5rem; }

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.35s;
  position: relative;
  cursor: none;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.project-card::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  opacity:0; transition: opacity 0.35s;
  border-radius:14px;
  pointer-events:none;
}
.project-card:hover { border-color: var(--accent1); transform: translateY(-6px); box-shadow: 0 20px 60px var(--glow1); }
.project-card:hover::after { opacity:1; }

.project-card.coming-soon {
  border: 2px dashed var(--border2);
  background: transparent;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; min-height:230px;
}
.coming-soon-badge {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--accent2); border: 1px solid var(--accent2);
  border-radius:20px; padding: 0.3rem 1rem;
  margin-bottom: 1rem; animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge { 0%,100%{opacity:1} 50%{opacity:0.4} }
.coming-soon-title { font-family:'Caveat',cursive; font-size:1.4rem; font-weight:700; color:var(--text2); margin-bottom:0.4rem; }
.coming-soon-sub { font-family:'Architects Daughter',cursive; font-size:0.75rem; color:var(--text2); opacity:0.5; }

.project-num { font-family:'Architects Daughter',cursive; font-size:0.72rem; color:var(--text2); margin-bottom:1rem; letter-spacing:0.15em; }
.project-title { font-family:'Caveat',cursive; font-size:1.5rem; font-weight:700; margin-bottom:0.75rem; color:var(--text); position:relative; z-index:1; }
.project-desc { font-family:'Space Grotesk',sans-serif; font-size:0.82rem; color:var(--text2); line-height:1.8; margin-bottom:1.5rem; position:relative; z-index:1; }
.project-footer { display:flex; justify-content:space-between; align-items:center; padding-top:1.2rem; border-top:1px solid var(--border); position:relative; z-index:1; }
.project-arrow { color:var(--accent1); font-size:1.3rem; transition:transform 0.3s; }
.project-card:hover .project-arrow { transform: translate(4px,-4px); }

/* ═══════════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════════ */
.timeline { position:relative; padding-left:2.5rem; }
.timeline::before {
  content:''; position:absolute; left:0; top:0;
  width:2px; height:100%;
  background: linear-gradient(to bottom, var(--accent1), var(--accent2), transparent);
  border-radius:2px;
}
.timeline-item {
  position:relative; margin-bottom:3.5rem; padding-left:2rem;
  opacity:0; transform:translateX(-20px);
  transition: all 0.6s ease;
}
.timeline-item.visible { opacity:1; transform:translateX(0); }
.timeline-dot {
  position:absolute; left:-2.7rem; top:0.3rem;
  width:14px; height:14px; border-radius:50%;
  background:var(--accent1);
  box-shadow: 0 0 0 3px var(--bg), 0 0 16px var(--accent1);
}
.timeline-date { font-family:'Architects Daughter',cursive; font-size:0.75rem; color:var(--accent1); letter-spacing:0.15em; margin-bottom:0.5rem; }
.timeline-title { font-family:'Caveat',cursive; font-size:1.4rem; font-weight:700; margin-bottom:0.3rem; color:var(--text); }
.timeline-org { font-family:'Kalam',cursive; font-size:0.9rem; color:var(--text2); margin-bottom:0.8rem; }
.timeline-desc { font-family:'Space Grotesk',sans-serif; font-size:0.82rem; color:var(--text2); line-height:1.8; }

/* ═══════════════════════════════════════════════
   CERTIFICATES
═══════════════════════════════════════════════ */
.certs-grid { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.5rem; }
.cert-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:1.2rem 1.6rem;
  display:flex; align-items:center; gap:1rem;
  transition:all 0.3s; box-shadow:var(--card-shadow);
}
.cert-card:hover { border-color:var(--accent3); transform:translateY(-3px); box-shadow:0 8px 30px rgba(251,191,36,0.1); }
.cert-icon { font-size:1.6rem; }
.cert-name { font-family:'Kalam',cursive; font-size:0.95rem; font-weight:700; color:var(--text); }
.cert-issuer { font-family:'Architects Daughter',cursive; font-size:0.68rem; color:var(--text2); margin-top:0.2rem; }

/* ═══════════════════════════════════════════════
   LEARNING NOW
═══════════════════════════════════════════════ */
.learning-now {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 1.8rem 2rem;
}
.learning-header {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.learning-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent4);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: live-pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.learning-label {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.8rem; letter-spacing: 0.15em;
  color: var(--accent4); text-transform: uppercase;
}
.learning-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.learning-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: all 0.3s;
}
.learning-card:hover { border-color: var(--accent4); transform: translateY(-3px); }
.learning-card.lc-new {
  border: 1.5px dashed var(--accent2);
  opacity: 0.7;
}
.lc-icon { font-size: 1.4rem; }
.lc-title {
  font-family: 'Kalam', cursive;
  font-size: 0.88rem; font-weight: 700;
  color: var(--text);
}
.lc-bar {
  height: 3px; background: var(--surface);
  border-radius: 4px; overflow: hidden;
  margin-top: 0.3rem;
}
.lc-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent4), var(--accent2));
  border-radius: 4px;
}
.lc-anim { animation: loading-bar 2.5s ease-in-out infinite; }
@keyframes loading-bar {
  0%,100% { width: 5%; } 50% { width: 35%; }
}
.lc-pct {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.65rem; color: var(--text2);
}

/* ═══════════════════════════════════════════════
   GOOGLE BADGES
═══════════════════════════════════════════════ */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.4rem;
}
.badge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 0.7rem;
  transition: all 0.35s;
  box-shadow: var(--card-shadow);
}
.badge-card:hover {
  border-color: var(--accent3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(251,191,36,0.12);
}
.badge-img-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.badge-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.badge-empty-icon { font-size: 2.2rem; opacity: 0.5; }
.badge-name {
  font-family: 'Kalam', cursive;
  font-size: 0.92rem; font-weight: 700;
  color: var(--text);
}
.badge-issuer {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.65rem; color: var(--text2);
}
.badge-link {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.68rem;
  color: var(--accent2);
  text-decoration: none;
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  transition: all 0.3s;
  margin-top: 0.3rem;
}
.badge-link:hover { background: var(--glow2); color: var(--accent2); }
.badge-placeholder .badge-img-wrap { border-style: dashed; }
.badge-add {
  border: 2px dashed var(--border2);
  background: transparent;
  justify-content: center;
  min-height: 200px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s;
}
.badge-add:hover { opacity: 0.85; border-color: var(--accent2); }
.badge-add-icon {
  font-size: 2.2rem; color: var(--accent2);
  font-family: 'Permanent Marker', cursive;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
/* intro banner */
.contact-intro {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 1.6rem 2rem;
  margin-bottom: 2.5rem;
}
.contact-intro-avatar {
  font-size: 2.8rem; flex-shrink: 0;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  border-radius: 50%; border: 1.5px solid var(--border);
}
.contact-intro-text p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; color: var(--text2); line-height: 1.8; margin: 0 0 0.3rem;
}
.contact-intro-text strong { color: var(--accent1); }

/* grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }

/* social tiles */
.contact-social { display: flex; flex-direction: column; gap: 1rem; }
.social-label {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text2); margin-bottom: 0.4rem;
}
.social-tile {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1rem 1.3rem;
  text-decoration: none; color: var(--text);
  transition: all 0.3s; cursor: none;
}
.social-tile:hover {
  border-color: var(--accent1); transform: translateX(6px);
  box-shadow: 0 6px 24px var(--glow1);
}
.social-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.social-name {
  font-family: 'Kalam', cursive; font-size: 0.95rem;
  font-weight: 700; color: var(--text);
}
.social-handle {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.68rem; color: var(--text2);
  word-break: break-all; margin-top: 0.15rem;
}
.social-arrow { margin-left: auto; color: var(--accent1); font-size: 1.1rem; flex-shrink: 0; }
.social-tile:hover .social-arrow { transform: translate(3px,-3px); transition: transform 0.3s; }

/* form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
}
.form-title {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 1.4rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.72rem; color: var(--text2);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.form-input, .form-textarea {
  background: var(--bg2); border: 1.5px solid var(--border);
  color: var(--text); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; padding: 0.85rem 1rem;
  outline: none; border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.4s;
  resize: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 0 3px var(--glow1);
  background: var(--surface);
}
.form-textarea { height: 120px; }
.send-btn { width: 100%; justify-content: center; position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.send-loader {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}


/* ═══════════════════════════════════════════════
   PHOTO SECTION
═══════════════════════════════════════════════ */
.photo-section {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-top: 3rem;
}
.photo-frame {
  position: relative;
  flex-shrink: 0;
}
.photo-frame img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid var(--accent1);
  box-shadow: 0 0 0 6px var(--glow1), 0 0 40px var(--glow1);
  display: block;
}
.photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed var(--accent2);
  opacity: 0.5;
  animation: spin-slow 12s linear infinite;
}
.photo-ring2 {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid var(--accent1);
  opacity: 0.2;
  animation: spin-slow 20s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.photo-info { flex: 1; }
.photo-name {
  font-family: 'Permanent Marker', cursive;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.photo-role {
  font-family: 'Kalam', cursive;
  font-size: 1rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}
.photo-bio {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 1.4rem;
  max-width: 480px;
}
.photo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.photo-chip {
  font-family: 'Architects Daughter', cursive;
  font-size: 0.7rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border2);
  color: var(--accent2);
  background: var(--glow2);
}
@media(max-width:700px){
  .photo-section { flex-direction:column; text-align:center; padding:2rem 1.5rem; }
  .photo-chips { justify-content:center; }
  .photo-frame img { width:150px; height:150px; }
}
/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  padding:2.5rem 4rem; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
}
footer p { font-family:'Architects Daughter',cursive; font-size:0.78rem; color:var(--text2); }
footer .footer-hand { font-family:'Permanent Marker',cursive; font-size:0.9rem; color:var(--accent1); }

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.7s ease,transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ═══════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════ */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--accent1); border-radius:3px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media(max-width:900px){
  nav { padding:1rem 1.5rem; }
  .nav-links { gap:1rem; }
  section { padding:4rem 1.5rem; }
  .hero { padding:7rem 1.5rem 4rem; }
  .hero-stats { position:static; flex-direction:row; flex-wrap:wrap; margin-top:2.5rem; gap:1.5rem; }
  .stat { text-align:left; }
  .contact-grid { grid-template-columns:1fr; gap:2rem; } .form-row { grid-template-columns:1fr; }
  footer { flex-direction:column; gap:1rem; text-align:center; }
  #brain-canvas { width:380px!important; height:380px!important; right:-50px; opacity:0.55; }
}
@media(max-width:600px){
  .nav-links { display:none; }
  .hero h1 { font-size:2.5rem; }
  #brain-canvas { width:220px!important; height:220px!important; opacity:0.4; }
}