/* ===== Design tokens ===== */
:root {
  --bg: #070a12;
  --bg-alt: #0b1020;
  --surface: rgba(21, 28, 46, 0.6);
  --surface-solid: #141b2d;
  --surface-2: #1b2335;
  --border: rgba(56, 71, 104, 0.4);
  --border-solid: #263148;
  --text: #e9eefb;
  --text-dim: #9aa7bd;
  --text-mute: #6b788f;
  --brand: #38bdf8;
  --brand-2: #818cf8;
  --brand-3: #c084fc;
  --accent: #22d3ee;
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
  --glow: 0 0 40px -8px rgba(56, 189, 248, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient page background */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(800px 600px at 15% -5%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(700px 600px at 100% 20%, rgba(129, 140, 248, 0.10), transparent 55%),
    radial-gradient(600px 600px at 50% 110%, rgba(192, 132, 252, 0.08), transparent 60%);
}
/* Subtle grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 600; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.glass {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
}

/* ===== Cursor glow ===== */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: 0;
  margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), transparent 65%);
  transform: translate3d(-1000px, -1000px, 0);
  transition: opacity .3s; opacity: 0;
}

/* ===== Animated custom cursor ===== */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .25s; will-change: transform; }
.cursor-dot {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(56,189,248,.9);
}
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(56,189,248,.6);
  transition: opacity .25s, width .2s ease, height .2s ease, margin .2s ease, border-color .2s, background .2s;
}
.cursor-ring.is-hover {
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-color: rgba(129,140,248,.8);
  background: rgba(129,140,248,.08);
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body, body a, body button { cursor: none; }
}
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 10, 18, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7, 10, 18, 0.88); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; }
.nav__brand span { color: var(--brand); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color .2s; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .25s;
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 8px 16px; border: 1px solid var(--border-solid); border-radius: 999px;
  color: var(--text) !important;
}
.nav__cta:hover { border-color: var(--brand); background: rgba(56,189,248,.08); box-shadow: var(--glow); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 101; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 120px 0 90px; overflow: hidden; min-height: auto; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; top: -120px; left: -60px; background: radial-gradient(circle, #38bdf8, transparent 70%); animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 480px; height: 480px; top: 10%; right: -80px; background: radial-gradient(circle, #818cf8, transparent 70%); animation: float2 20s ease-in-out infinite; }
.blob--3 { width: 400px; height: 400px; bottom: -120px; left: 35%; background: radial-gradient(circle, #c084fc, transparent 70%); animation: float3 18s ease-in-out infinite; opacity: .4; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,60px) scale(1.08); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-50px) scale(1.12); } }

.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(56,71,104,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,71,104,.14) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero__content { min-width: 0; }

/* ===== Hero portrait (circular avatar) ===== */
.hero__portrait { display: flex; justify-content: center; align-self: center; }
.portrait { position: relative; width: min(370px, 82vw); aspect-ratio: 1; margin-top: 12px; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.portrait__glow {
  position: absolute; z-index: 0; inset: -8%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(56,189,248,.5), transparent 60%),
    radial-gradient(circle at 62% 68%, rgba(129,140,248,.42), transparent 62%);
  filter: blur(36px);
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: .85; } 50% { opacity: 1; } }

/* Amazing animated ring */
.avatar { position: absolute; inset: 0; z-index: 1; border-radius: 50%; }
.avatar__ring {
  position: absolute; inset: -12px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, var(--brand), var(--brand-2), var(--brand-3), var(--accent), var(--brand));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
  animation: spin 7s linear infinite;
  filter: drop-shadow(0 0 16px rgba(56,189,248,.55));
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar__inner {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 1;
  background: linear-gradient(160deg, #172a4d 0%, #101a30 52%, #0a0c12 100%);
  border: 4px solid rgba(7,10,18,.9);
  box-shadow: inset 0 2px 20px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.14);
}
.avatar__inner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,.28), transparent 55%);
}
.avatar__img {
  position: absolute; z-index: 2; left: 50%; bottom: -3%; transform: translateX(-50%);
  width: 96%; height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.portrait__badge {
  position: absolute; z-index: 3; bottom: 6%; right: -2%;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--text);
  background: rgba(7,10,18,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
  box-shadow: var(--shadow);
}
.hero__eyebrow {
  color: var(--brand); font-size: 14px; font-weight: 500;
  font-family: "JetBrains Mono", monospace; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(56,189,248,.05); backdrop-filter: blur(8px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.hero__title { font-size: clamp(46px, 8.5vw, 92px); font-weight: 900; letter-spacing: -2.5px; line-height: 1; }
.hero__subtitle { font-size: clamp(22px, 4vw, 40px); font-weight: 600; color: var(--text-dim); margin-top: 10px; letter-spacing: -0.5px; }
.grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.hero__lead { max-width: 640px; color: var(--text-dim); font-size: 18px; margin-top: 28px; }
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .18s, box-shadow .25s, background .2s, border-color .2s; position: relative; overflow: hidden; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #070a12; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(56,189,248,.6); }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn--primary:hover::after { left: 140%; }
.btn--ghost { border: 1px solid var(--border-solid); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); background: rgba(56,189,248,.06); transform: translateY(-2px); }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 68px; max-width: 660px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 38px; font-weight: 900; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -1px; }
.stat__label { color: var(--text-mute); font-size: 13px; margin-top: 2px; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-solid); border-radius: 999px; display: flex; justify-content: center; padding-top: 8px; z-index: 2; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--brand); animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Client marquee ===== */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: "JetBrains Mono", monospace; font-size: 15px; color: var(--text-mute); white-space: nowrap; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 64px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__eyebrow { color: var(--brand); font-family: "JetBrains Mono", monospace; font-size: 13px; margin-bottom: 12px; letter-spacing: 1px; }
.section__title { font-size: clamp(29px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 46px; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.about__text p { color: var(--text-dim); margin-bottom: 18px; font-size: 16.5px; }
.about__card { border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.about__card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mute); margin-bottom: 14px; }
.about__card h3:not(:first-child) { margin-top: 24px; }
.about__card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.about__card li { position: relative; padding-left: 20px; color: var(--text-dim); font-size: 15px; }
.about__card li::before { content: "▹"; position: absolute; left: 0; color: var(--brand); }

/* ===== Cloud technologies visual ===== */
.cloudviz { position: relative; border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow); overflow: hidden; }
.cloudviz__orb { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; z-index: 0; }
.cloudviz__orb--1 { width: 220px; height: 220px; top: -60px; right: -50px; background: radial-gradient(circle, rgba(56,189,248,.5), transparent 70%); animation: float1 14s ease-in-out infinite; }
.cloudviz__orb--2 { width: 200px; height: 200px; bottom: -70px; left: -50px; background: radial-gradient(circle, rgba(129,140,248,.45), transparent 70%); animation: float2 18s ease-in-out infinite; }
.cloudviz__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tech {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 12.5px; font-weight: 600;
  backdrop-filter: blur(6px);
  animation: techFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.5s);
  transition: transform .2s, border-color .25s, box-shadow .25s, color .2s;
}
.tech b { font-size: 26px; line-height: 1; font-weight: 400; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.tech:hover { transform: translateY(-4px) scale(1.05); border-color: rgba(56,189,248,.6); box-shadow: var(--glow); color: var(--text); }
@keyframes techFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cloudviz__caption { position: relative; z-index: 1; text-align: center; margin-top: 20px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-mute); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--surface-2); border: 1px solid var(--border-solid); color: var(--text-dim); padding: 6px 12px; border-radius: 999px; font-size: 13px; transition: color .2s, border-color .2s, background .2s; }
.chips span:hover { color: var(--text); border-color: var(--brand); background: rgba(56,189,248,.08); }
.chips--lg span { font-size: 14px; padding: 8px 14px; }

/* Tilt / glow shell */
.tilt { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; transform-style: preserve-3d; will-change: transform; }
.tilt:hover { border-color: rgba(56,189,248,.5); box-shadow: var(--shadow), var(--glow); }

/* ===== Experience boxes ===== */
.xp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.xp {
  position: relative; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); overflow: hidden;
}
.xp::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  opacity: .8;
}
.xp__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.xp__date { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--text-mute); }
.xp__badge { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--brand); background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3); padding: 3px 10px; border-radius: 999px; animation: badgeGlow 2.5s ease-in-out infinite; }
@keyframes badgeGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(56,189,248,.35); } 50% { box-shadow: 0 0 14px 0 rgba(56,189,248,.35); } }
.xp h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.xp__role { color: var(--brand-2); font-size: 15px; margin: 6px 0 10px; font-weight: 500; }
.xp__loc { color: var(--text-dim); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.xp__loc::before { content: "📍"; font-size: 13px; }

/* ===== Core Technical Expertise ===== */
.expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exp {
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--text);
  transition: transform .2s, border-color .25s, box-shadow .25s, background .25s;
}
.exp:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.5); box-shadow: var(--glow); }
.exp__mark {
  flex: none; font-size: 16px; color: var(--brand);
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== Certifications ===== */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert { background: var(--surface-solid); border: 1px solid var(--border-solid); border-radius: var(--radius); padding: 22px; transition: transform .18s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.cert::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(56,189,248,.08), transparent 60%); opacity: 0; transition: opacity .25s; }
.cert:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--glow); }
.cert:hover::before { opacity: 1; }
.cert__code { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 500; color: var(--brand); background: rgba(56,189,248,.1); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; position: relative; }
.cert p { color: var(--text-dim); font-size: 15px; position: relative; }

/* ===== Consultation & Training ===== */
.training__lead { max-width: 720px; color: var(--text-dim); font-size: 17.5px; margin: -28px 0 44px; }
.training__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.track { border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.track__icon { font-size: 28px; margin-bottom: 14px; display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(135deg, rgba(56,189,248,.15), rgba(129,140,248,.12)); border: 1px solid var(--border); }
.track h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.track p { color: var(--text-dim); font-size: 14.5px; }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.format { border-radius: var(--radius); padding: 24px; transition: transform .2s, border-color .25s, box-shadow .25s; }
.format:hover { transform: translateY(-4px); border-color: rgba(129,140,248,.5); box-shadow: 0 0 40px -8px rgba(129,140,248,.4); }
.format__tag { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--brand-2); background: rgba(129,140,248,.12); border: 1px solid rgba(129,140,248,.3); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.format h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.format p { color: var(--text-dim); font-size: 14.5px; }

.training__cta { margin-top: 44px; text-align: center; padding: 40px 28px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(56,189,248,.08), rgba(129,140,248,.08)); border: 1px solid var(--border); }
.training__cta p { font-size: 18px; color: var(--text); margin-bottom: 22px; font-weight: 500; }

/* ===== Education ===== */
.edu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edu--single { grid-template-columns: 1fr; max-width: 560px; }
.edu__item { border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .25s, box-shadow .25s; }
.edu__item:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.45); box-shadow: var(--glow); }
.edu__item h3 { font-size: 17px; margin-bottom: 8px; }
.edu__org { color: var(--text-dim); font-size: 14px; }
.edu__gpa { color: var(--brand); font-family: "JetBrains Mono", monospace; font-size: 13px; margin-top: 10px; }

/* ===== Contact ===== */
.contact { text-align: center; }
.contact .section__eyebrow, .contact .section__title { text-align: center; }
.contact__lead { max-width: 600px; margin: 0 auto 44px; color: var(--text-dim); font-size: 17px; }
.contact__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; text-align: left; }
.contact__card { border-radius: var(--radius); padding: 20px 22px; display: flex; align-items: center; gap: 16px; transition: border-color .25s, transform .18s, box-shadow .25s; }
.contact__links .contact__card:nth-child(5) { grid-column: 1 / -1; }
a.contact__card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--glow); }
a.contact__card:hover .contact__icon { transform: scale(1.08) rotate(-3deg); }
.contact__icon { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px -8px rgba(0,0,0,.6); transition: transform .2s; }
.contact__icon svg { width: 23px; height: 23px; }
.contact__icon--mail { background: linear-gradient(135deg, #38bdf8, #818cf8); }
.contact__icon--phone { background: linear-gradient(135deg, #22d3ee, #38bdf8); }
.contact__icon--wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.contact__icon--li { background: linear-gradient(135deg, #0a66c2, #0a4a8f); }
.contact__icon--loc { background: linear-gradient(135deg, #c084fc, #818cf8); }
.contact__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact__label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mute); }
.contact__value { font-size: 15.5px; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-mute); font-size: 14px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 0 0 auto; top: 0; height: 100vh; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; background: rgba(7,10,18,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 60px 32px; transform: translateX(100%); transition: transform .4s cubic-bezier(.22,1,.36,1); }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 18px; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: 16px; border-color: var(--brand) !important; }
  .nav__toggle { display: flex; }
  .about__grid { grid-template-columns: 1fr; }
  .expertise { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .training__grid { grid-template-columns: 1fr; }
  .edu { grid-template-columns: 1fr; }
  .contact__links { grid-template-columns: 1fr; }
  .xp-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__portrait { order: -1; }
  .portrait { margin-top: 0; }
  .hero__eyebrow { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { margin-left: auto; margin-right: auto; }
  .portrait { width: min(240px, 62vw); }
  .hero__scroll { display: none; }
  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 460px) {
  .certs { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
