/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --off-white: #f8f8f6;
  --light: #f2f2f0;
  --gray-100: #ebebeb;
  --gray-200: #d6d6d4;
  --gray-400: #9a9a96;
  --gray-600: #5a5a56;
  --dark: #141412;
  --accent: #0a0a0a;
  --accent-blue: #1a56db;
  --accent-light: #eef2ff;
  --green: #16a34a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;

  --nav-h: 72px;
  --container: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}

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

/* =============================================
   LOADER
   ============================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--dark);
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--dark);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* =============================================
   CURSOR
   ============================================= */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--dark);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.3s;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(20,20,18,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor.is-hover { transform: translate(-50%, -50%) scale(2.5); background: var(--accent-blue); }
.cursor-follower.is-hover { width: 60px; height: 60px; border-color: rgba(26,86,219,0.2); }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-100);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-right: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--dark);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--dark); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  background: var(--dark);
  color: var(--white);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover { background: var(--accent-blue); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--dark);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 0 0;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,18,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,18,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 100%);
  pointer-events: none;
}

/* Gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0;
  animation: orb-fade-in 2s 1.2s forwards;
}

@keyframes orb-fade-in { to { opacity: 1; } }

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  top: -100px; right: 5%;
  animation-name: orb-fade-in, orb-drift-1;
  animation-duration: 2s, 18s;
  animation-delay: 1.2s, 1.2s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.09) 0%, transparent 70%);
  bottom: 10%; right: 20%;
  animation-name: orb-fade-in, orb-drift-2;
  animation-duration: 2s, 22s;
  animation-delay: 1.5s, 1.5s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244,114,182,0.07) 0%, transparent 70%);
  top: 30%; left: -80px;
  animation-name: orb-fade-in, orb-drift-3;
  animation-duration: 2s, 26s;
  animation-delay: 1.8s, 1.8s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(-30px, 40px); }
  66%       { transform: translate(20px, -30px); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(40px, -50px); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, 40px); }
}

/* 2-column hero layout */
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  flex: 1;
}

.hero-content { width: 100%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--light);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 32px;
  opacity: 0;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.4);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 13vw, 160px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -4px;
  margin-bottom: 28px;
  overflow: hidden;
}

.name-line {
  display: block;
  transform: translateY(110%);
  color: var(--dark);
}

.accent-line {
  color: transparent;
  -webkit-text-stroke: 2px var(--dark);
}

.hero-role {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 24px;
  opacity: 0;
}

.role-separator { color: var(--gray-200); }

.hero-bio {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

.btn-primary:hover { background: var(--accent-blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.25); }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover { border-color: var(--dark); transform: translateY(-2px); }

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-plus { font-family: var(--font-display); font-size: 24px; font-weight: 800; }

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-100);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  opacity: 0;
  animation: fade-in-up 1s 2.5s forwards;
}

@keyframes fade-in-up {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* =============================================
   PROFILE PHOTO — Hero & About
   ============================================= */

/* About card photo */
.about-avatar-photo {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: none !important;
  padding: 2px;
  background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #06b6d4, #10b981, #f59e0b, #6366f1) !important;
  animation: ring-spin 4s linear infinite;
  flex-shrink: 0;
}

.about-avatar-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #fff;
  display: block;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero floating photo card */
.card-photo {
  width: 160px;
  top: 14%;
  right: 8%;
  z-index: 6;
  padding: 6px;
  border-radius: 50%;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.profile-photo-wrap {
  position: relative;
  width: 148px;
  height: 148px;
}

/* Spinning conic gradient ring */
.profile-photo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #10b981, #06b6d4, #6366f1);
  animation: ring-spin 3s linear infinite;
  z-index: 0;
}

.profile-photo-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
  z-index: 1;
}

.profile-photo-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
  display: block;
  border: 3px solid var(--white);
}

.profile-photo-status {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-600);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(20,20,18,0.1);
  z-index: 10;
}

.profile-status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.float-photo {
  animation: float-photo 5s ease-in-out infinite;
}

@keyframes float-photo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* =============================================
   HERO VISUAL PANEL - Floating Cards
   ============================================= */
.hero-visual {
  position: relative;
  height: 480px;
  opacity: 0;
  transform: translateX(40px);
}

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

/* Float animations */
@keyframes float-a {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-14px) rotate(-2deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0px) rotate(1.5deg); }
  50%       { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}

.float-a { animation: float-a 5s ease-in-out infinite; }
.float-b { animation: float-b 6.5s ease-in-out 0.8s infinite; }
.float-c { animation: float-c 4.8s ease-in-out 1.4s infinite; }

/* Base card */
.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 8px 40px rgba(20,20,18,0.07), 0 1px 0 rgba(255,255,255,0.8) inset;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}

.float-card:hover {
  box-shadow: 0 20px 60px rgba(20,20,18,0.12), 0 1px 0 rgba(255,255,255,0.8) inset;
}

/* Card 1 - Role */
.card-role {
  top: 0; left: 0;
  width: 260px;
  transform: rotate(-2deg);
  z-index: 3;
}

.fc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.fc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.fc-dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }

.fc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.fc-company {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

.fc-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.fc-meta {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.fc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fc-tags span {
  padding: 3px 10px;
  background: var(--light);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
}

/* Card 2 - Steward */
.card-steward {
  bottom: 30px; right: 0;
  width: 240px;
  transform: rotate(1.5deg);
  z-index: 2;
}

.fc-icon {
  font-size: 28px;
  line-height: 1;
}

.fc-app-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.fc-app-sub {
  font-size: 11px;
  color: var(--gray-400);
}

.mini-chart {
  margin: 12px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--off-white);
  padding: 8px 0 0;
}

.mini-chart svg {
  display: block;
  width: 100%;
  height: 60px;
}

.fc-stat-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.fc-mini-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fc-mini-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.fc-mini-label {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Card 3 - Stack */
.card-stack {
  top: 160px; right: 20px;
  width: 200px;
  transform: rotate(-1deg);
  z-index: 4;
  padding: 16px 18px;
}

.fc-stack-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.fc-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.sp-ts    { background: #dbeafe; color: #1d4ed8; }
.sp-react { background: #e0f2fe; color: #0369a1; }
.sp-next  { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
.sp-ai    { background: #ede9fe; color: #6d28d9; }
.sp-node  { background: #dcfce7; color: #15803d; }
.sp-tail  { background: #f0fdfa; color: #0f766e; }

/* Deco ring */
.hero-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(20,20,18,0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: ring-spin 40s linear infinite;
}

.hero-ring::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(26,86,219,0.5);
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =============================================
   HERO MARQUEE TICKER
   ============================================= */
.hero-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
  padding: 16px 0;
  margin-top: auto;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 10;
}

.hero-marquee::before,
.hero-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.hero-marquee::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 0 16px;
  letter-spacing: 0.01em;
}

.marquee-track .sep {
  color: var(--gray-200);
  padding: 0 2px;
  font-weight: 400;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   CONTAINER & SECTION
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 120px 0; }

.section-header {
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--dark);
}

.section-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--dark);
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
}

.about-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.about-body strong { color: var(--dark); font-weight: 600; }

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.cert-pill {
  padding: 6px 14px;
  background: var(--light);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}

.about-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.about-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.about-avatar {
  width: 52px; height: 52px;
  background: var(--dark);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.about-card-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-card-info p {
  font-size: 13px;
  color: var(--gray-400);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
}

/* =============================================
   SKILLS
   ============================================= */
.skills { background: var(--off-white); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  overflow: hidden;
}

.skill-category {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}

.skill-category:hover::before { transform: translateY(0); }

.skill-category:hover .skill-icon,
.skill-category:hover h3,
.skill-category:hover p { color: var(--white); position: relative; z-index: 1; }

.skill-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.skill-category h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.skill-category p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-600);
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

/* =============================================
   EXPERIENCE
   ============================================= */
.experience { background: var(--white); }

.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-top: 4px;
  position: relative;
}

.timeline-left::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 10px;
  bottom: -48px;
  width: 1px;
  background: var(--gray-100);
}

.timeline-item:last-child .timeline-left::after { display: none; }

.timeline-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  text-align: right;
}

.timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 2px solid var(--white);
  outline: 1px solid var(--gray-200);
  position: absolute;
  right: -29px;
  top: 10px;
}

.timeline-dot.current { background: var(--dark); outline-color: var(--dark); }

.timeline-content { padding-top: 0; }

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.timeline-role {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.timeline-company {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
}

.timeline-badge {
  padding: 3px 10px;
  background: var(--light);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.timeline-bullets li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.timeline-bullets li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--gray-200);
  font-size: 20px;
  line-height: 1.3;
}

.timeline-bullets li strong { color: var(--dark); font-weight: 600; }
.timeline-bullets li em { color: var(--dark); font-style: italic; font-weight: 500; }

.timeline-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-stack span {
  padding: 4px 12px;
  background: var(--light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
}

/* =============================================
   PROJECTS
   ============================================= */
.projects { background: var(--off-white); }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(20,20,18,0.08);
}

.project-card.featured {
  grid-column: 1 / -1;
}

.project-card.featured .project-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.project-visual {
  background: var(--off-white);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-radius: 0;
}

.project-visual.small { min-height: 160px; padding: 24px; }

.project-mockup {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(20,20,18,0.06);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--off-white);
}

.mockup-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
}

.mockup-bar span:first-child { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }

.mockup-content { padding: 16px; }

/* Steward mockup */
.mockup-content.steward .mockup-chart {
  height: 80px;
  background: linear-gradient(135deg, var(--accent-light), var(--light));
  border-radius: 8px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.mockup-content.steward .mockup-chart::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to right, transparent, rgba(26,86,219,0.08), transparent);
  clip-path: polygon(0 60%, 15% 30%, 30% 50%, 50% 20%, 65% 40%, 80% 10%, 100% 30%, 100% 100%, 0 100%);
  background: rgba(26,86,219,0.15);
}

.mockup-rows { display: flex; flex-direction: column; gap: 8px; }
.mockup-row { height: 10px; background: var(--gray-100); border-radius: 4px; }
.mockup-row.short { width: 60%; }

/* Payment mockup */
.mockup-stat-row { display: flex; gap: 8px; margin-bottom: 10px; }
.mockup-stat-box { flex: 1; height: 44px; background: var(--light); border-radius: 8px; }

.mockup-table { display: flex; flex-direction: column; gap: 6px; }
.mockup-table-row { height: 8px; background: var(--gray-100); border-radius: 4px; }

/* Bank mockup */
.mockup-form { display: flex; flex-direction: column; gap: 8px; }
.mockup-input { height: 28px; background: var(--light); border-radius: 6px; border: 1px solid var(--gray-100); }
.mockup-btn { height: 32px; background: var(--dark); border-radius: 6px; width: 80%; margin-top: 4px; }

/* Applicant mockup */
.mockup-list { display: flex; flex-direction: column; gap: 8px; }
.mockup-list-item { height: 28px; background: var(--light); border-radius: 8px; }
.mockup-list-item.short { width: 70%; }

.project-info { padding: 32px; }

.project-card.featured .project-info { padding: 40px; }

.project-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.project-tag {
  padding: 4px 12px;
  background: var(--light);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-tag.ai {
  background: var(--accent-light);
  color: var(--accent-blue);
}

.project-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.project-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.project-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-stack span {
  padding: 4px 12px;
  background: var(--light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1.5px solid var(--gray-200);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.project-link:hover { color: var(--accent-blue); border-color: var(--accent-blue); }

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--dark); overflow: hidden; position: relative; }

.contact::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact .section-tag { color: rgba(255,255,255,0.4); }

.contact-inner {
  text-align: center;
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.4);
}

.contact-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
}

.contact-links { margin-bottom: 40px; }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.contact-email:hover { border-color: var(--white); }

.contact-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.c-social {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  padding: 8px 0;
}

.c-social:hover { color: var(--white); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   MAGNETIC
   ============================================= */
.magnetic { display: inline-block; }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal-up { opacity: 0; transform: translateY(30px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; padding-top: 40px; }
  .hero-visual { height: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured .project-card-inner { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 120px 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 0 24px; }

  .hero-inner { padding: 0 24px; grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; width: fit-content; }

  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .section-title { letter-spacing: -1.5px; }

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

  .timeline-item { grid-template-columns: 1fr; gap: 16px; }
  .timeline-left { flex-direction: row; align-items: center; justify-content: space-between; }
  .timeline-left::after { display: none; }
  .timeline-dot { position: static; }

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

  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}
