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

:root {
  --bg: #070b13;
  --bg2: #0c1120;
  --bg3: #111827;
  --blue: #3b82f6;
  --teal: #06d6a0;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --dim: #475569;
  --border: rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.14);
  --card-radius: 16px;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body.light {
  --bg:        #f8fafc;
  --bg2:       #f1f5f9;
  --bg3:       #e2e8f0;
  --text:      #0f172a;
  --muted:     #475569;
  --dim:       #94a3b8;
  --border:    rgba(0,0,0,0.08);
  --border-hi: rgba(0,0,0,0.16);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ─────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--blue), var(--teal)); border-radius: 2px; }

/* ── SKIP NAV ───────────────────────────────────────── */
.skip-nav {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--blue);
  color: #fff;
  padding: 12px 28px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.skip-nav:focus { top: 0; outline: none; }

/* ── FOCUS VISIBLE ─────────────────────────────────── */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── BUTTON ACTIVE STATES ──────────────────────────── */
.btn-primary:active { transform: translateY(0) !important; box-shadow: none !important; opacity: 0.9; }
.btn-ghost:active { opacity: 0.7; }

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(7, 11, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-brand span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: transparent !important;
  border: 1px solid rgba(14,165,233,0.3) !important;
  color: #0ea5e9 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: background .2s, border-color .2s !important;
}
.nav-cta:hover { background: rgba(14,165,233,0.08) !important; border-color: #0ea5e9 !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--muted); border-radius: 1px; transition: .3s; }

/* ── THEME TOGGLE ───────────────────────────────────── */
.theme-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hi);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.theme-btn:hover { color: var(--text); border-color: var(--blue); background: rgba(59,130,246,0.08); }
.theme-btn .icon-sun  { display: none; }
.theme-btn .icon-moon { display: block; }
body.light .theme-btn .icon-sun  { display: block; }
body.light .theme-btn .icon-moon { display: none; }

/* ── LIGHT MODE OVERRIDES ───────────────────────────── */
body.light nav.scrolled { background: rgba(248,250,252,0.85); }
body.light .skill-card,
body.light .xp-card,
body.light .edu-card,
body.light .cap-card,
body.light .form-card,
body.light .contact-link { background: #fff; }
body.light .stat-item { background: var(--bg); }
body.light .form-field input,
body.light .form-field textarea { background: var(--bg2); }
body.light body::before { opacity: 0.015; }

/* ── REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── SECTION WRAPPER ───────────────────────────────── */
section { position: relative; z-index: 1; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; width: 100%; }

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--blue);
}

/* ── HERO ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Grid lines background */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Glowing orb */
#hero::after {
  content: '';
  position: absolute;
  width: 750px; height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(6,214,160,0.05) 40%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hero-orb 12s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Additional aurora orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(6,214,160,0.09) 0%, transparent 70%);
  top: 18%; left: 74%;
  animation: orb-drift 18s ease-in-out infinite;
}
.hero-orb-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(167,139,250,0.07) 0%, transparent 70%);
  top: 72%; left: 20%;
  animation: orb-drift 24s ease-in-out infinite reverse;
}

@keyframes hero-orb {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -25px) scale(1.1); }
  66%  { transform: translate(-20px, 20px) scale(0.92); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0.4;
}
.scroll-hint-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-hint-anim 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-hint-anim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Tech ticker */
.tech-ticker {
  width: 100%;
  overflow: hidden;
  margin: 28px 0 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.ticker-track {
  display: inline-flex;
  gap: 22px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 840px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  position: relative;
  background: rgba(6,214,160,0.06);
  text-align: left;
}
.hero-eyebrow::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(6,214,160,0.4);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(6,214,160,0.4); }
  50%       { opacity: 0.5; box-shadow: 0 0 4px var(--teal); }
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.gradient-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
  color: var(--text);
}

.wave-letter {
  display: inline;
  animation: wave-letter-anim linear infinite;
}

@keyframes wave-letter-anim {
  0%, 100% { color: var(--text); }
  40%, 60% { color: var(--wave-color, var(--teal)); }
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

/* ── STATS STRIP ───────────────────────────────────── */
.stats-strip {
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1px;
  background: var(--border);
  margin-top: 80px;
}
.stats-strip::before,
.stats-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 30%, var(--teal) 70%, transparent 100%);
}
.stats-strip::before { top: 0; }
.stats-strip::after  { bottom: 0; }
.stat-item {
  background: var(--bg);
  padding: 36px 24px;
  transition: background 0.3s;
}
.stat-item:hover { background: var(--bg3); }
.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  display: block;
}
.stat-num span { color: var(--blue); }
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}


/* ── ABOUT ─────────────────────────────────────────── */
#about { padding: 120px 0 64px; }
.about-grid {
  display: grid;
  grid-template-columns: min(400px, 42%) 1fr;
  gap: 80px;
  align-items: center;
}

/* Bento grid */
.about-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  grid-template-rows: auto auto auto;
  gap: 16px;
  grid-template-areas:
    "avatar intro  intro"
    "avatar status cta  "
    "stack  stack  cta  ";
}
.bento-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: border-color .2s;
}
.bento-card:hover { border-color: var(--border-hi); }
.bento-avatar {
  grid-area: avatar;
  padding: 0;
  overflow: hidden;
  min-height: 380px;
}
.bento-intro  { grid-area: intro; }
.bento-status { grid-area: status; display: flex; flex-direction: column; justify-content: center; }
.bento-stack  { grid-area: stack; }
.bento-cta    { grid-area: cta; display: flex; flex-direction: column; justify-content: center; }
.bento-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.bento-stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.bento-stat-num span { color: var(--blue); }
.bento-stat-label { font-size: 12px; color: var(--muted); }
/* ── ABOUT LEFT ────────────────────────────────────── */
.about-left {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
}

/* Dots decoration */
.dot-grid {
  position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, var(--dim) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Glowing gradient ring wrapper */
.avatar-ring-wrap {
  position: relative;
  padding: 3px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 50%, var(--blue) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  box-shadow: 0 0 40px rgba(59,130,246,0.2), 0 0 80px rgba(6,214,160,0.1);
  z-index: 1;
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-avatar {
  width: 340px; height: 340px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 26px;
}
.about-avatar .initials {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  letter-spacing: -4px;
  user-select: none;
}

/* Badge below avatar */
.avatar-badge {
  background: var(--bg3);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 8px;
  z-index: 1;
}
.avatar-badge .avail-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  flex-shrink: 0;
}
.avatar-badge span { color: var(--muted); font-weight: 400; }

/* Mini stats row */
.about-mini-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}
.about-mini-stat {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 12px;
  gap: 3px;
}
.about-mini-stat-div {
  width: 1px; align-self: stretch;
  background: var(--border);
}
.ams-num {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.ams-num span { color: var(--blue); }
.ams-label {
  font-size: 10px; font-weight: 500;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── ABOUT RIGHT ───────────────────────────────────── */
.about-right { display: flex; flex-direction: column; }

/* Highlight list */
.about-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 28px;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}
.about-list li strong { color: var(--text); font-weight: 600; }
.abl-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: color-mix(in srgb, var(--aic) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--aic) 25%, transparent);
  color: var(--aic);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-text { color: var(--muted); margin-bottom: 32px; font-weight: 300; font-size: 17px; }

.tech-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  letter-spacing: 0.02em;
  transition: .2s;
}
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill.blue { border-color: rgba(59,130,246,0.3); color: var(--blue); background: rgba(59,130,246,0.08); }
.pill.teal { border-color: rgba(6,214,160,0.3); color: var(--teal); background: rgba(6,214,160,0.08); }

/* ── SKILLS ────────────────────────────────────────── */
#skills { padding: 64px 0 64px; background: var(--bg2); }
.skills-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* Grid fade when collapsed */
.skills-grid-wrap { position: relative; }
.skills-grid-wrap.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, var(--bg2));
  pointer-events: none;
}

/* See More / See Less button */
.skills-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.skills-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: 0.02em;
}
.skills-toggle-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59,130,246,0.06);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.08);
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.02em;
}
.filter-btn:hover { border-color: var(--border-hi); color: var(--text); }
.filter-btn.active { background: linear-gradient(90deg, var(--blue), var(--teal)); border-color: transparent; color: #fff; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.skill-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all .25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.skill-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.skill-card:hover::before { transform: scaleX(1); }
.skill-name { font-weight: 500; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.skill-cat { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.skill-bar { height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.skill-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}

/* ── EXPERIENCE ────────────────────────────────────── */
#experience { padding: 64px 0 64px; }

.xp-grid {
  display: grid;
  gap: 20px;
  position: relative;
  padding-left: 48px;
}

/* Timeline vertical line — aligned through dot centers */
.xp-grid::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue) 0%, var(--teal) 55%, transparent 100%);
  opacity: 0.18;
}

.xp-item { position: relative; }

/* Timeline dot */
.xp-dot {
  position: absolute;
  left: -48px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot-color, var(--blue));
  border: 2.5px solid var(--bg);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--dot-color, var(--blue)) 18%, transparent),
    0 0 16px color-mix(in srgb, var(--dot-color, var(--blue)) 45%, transparent);
  z-index: 2;
  transition: box-shadow 0.3s, transform 0.3s;
}
.xp-item:hover .xp-dot {
  transform: scale(1.2);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--dot-color, var(--blue)) 28%, transparent),
    0 0 24px color-mix(in srgb, var(--dot-color, var(--blue)) 65%, transparent);
}

/* Card */
.xp-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px 32px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.xp-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--blue), var(--teal));
  transform: scaleY(0);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  transform-origin: top;
}
.xp-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.xp-card:hover::after { transform: scaleY(1); }

/* Card header */
.xp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.xp-title-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.xp-company-badge {
  width: 46px; height: 46px;
  border-radius: 11px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.xp-role-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.xp-role {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.xp-company {
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
}
.xp-company a {
  color: inherit; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: opacity .2s;
}
.xp-company a:hover { opacity: 0.75; }

/* Meta (right side of header) */
.xp-meta {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.xp-current-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6,214,160,0.08);
  border: 1px solid rgba(6,214,160,0.22);
  color: var(--teal);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.xp-current-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
.xp-period {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: inline-block;
}
.xp-location { font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 4px; }

/* Bullets */
.xp-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 0;
}
.xp-bullets li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  font-weight: 300;
  line-height: 1.65;
}
.xp-bullets li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--dim);
  font-size: 12px;
  top: 2px;
}

/* Metrics callout */
.xp-metrics {
  display: flex;
  gap: 10px;
  margin: 20px 0 4px;
}
.xp-metric {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color .25s, background .25s;
}
.xp-card:hover .xp-metric {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.04);
}
.xp-metric-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.xp-metric-label {
  font-size: 10px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 500;
}

.xp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── EDUCATION ─────────────────────────────────────── */
#education { padding: 64px 0 120px; }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.edu-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.edu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--edu-color) 9%, transparent) 0%, transparent 65%);
  pointer-events: none;
  transition: opacity .3s;
  opacity: 0;
}
.edu-card:hover {
  border-color: color-mix(in srgb, var(--edu-color) 35%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -12px color-mix(in srgb, var(--edu-color) 18%, rgba(0,0,0,0.4));
}
.edu-card:hover::before { opacity: 1; }

/* Top row: logo + period + honor badge */
.edu-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.edu-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.edu-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.edu-period {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.edu-honor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Degree / field / school */
.edu-body { margin-bottom: 24px; position: relative; z-index: 1; }
.edu-degree {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.edu-field {
  font-size: 14px;
  color: var(--edu-color);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.edu-school {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.edu-school a {
  color: inherit; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.edu-school a:hover { color: var(--text); }

/* GPA + highlights row */
.edu-gpa-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.edu-gpa-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: color-mix(in srgb, var(--edu-color) 8%, var(--bg3));
  border: 1px solid color-mix(in srgb, var(--edu-color) 20%, transparent);
  border-radius: 14px;
  padding: 14px 18px;
  flex-shrink: 0;
  min-width: 72px;
}
.edu-gpa-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.edu-gpa-label {
  font-size: 9px;
  color: var(--dim);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.edu-highlights {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
  padding: 0;
}
.edu-highlights li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
  font-weight: 300;
  line-height: 1.55;
}
.edu-highlights li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--edu-color);
  opacity: 0.6;
}

/* Divider */
.edu-divider {
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--edu-color) 30%, transparent), transparent);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

/* Course pills */
.edu-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  position: relative; z-index: 1;
}
.edu-course-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--edu-color) 8%, rgba(255,255,255,0.02));
  border: 1px solid color-mix(in srgb, var(--edu-color) 20%, transparent);
  color: color-mix(in srgb, var(--edu-color) 80%, var(--text));
  letter-spacing: 0.02em;
  transition: background .2s, border-color .2s;
}
.edu-card:hover .edu-course-pill {
  background: color-mix(in srgb, var(--edu-color) 13%, rgba(255,255,255,0.03));
  border-color: color-mix(in srgb, var(--edu-color) 30%, transparent);
}

/* ── CAPABILITIES ──────────────────────────────────── */
#capabilities { padding: 120px 0; background: var(--bg2); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.cap-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--card-color, var(--blue)) 10%, transparent) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s;
}
.cap-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px -12px color-mix(in srgb, var(--card-color, var(--blue)) 22%, transparent);
}
.cap-card:hover::before { opacity: 1; }
.cap-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: filter .2s;
}
.cap-card:hover .cap-icon { filter: brightness(1.2); }
.cap-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cap-desc { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.65; }

/* ── CONTACT ───────────────────────────────────────── */
/* ── CONTACT ───────────────────────────────────────── */
#contact { padding: 120px 0; position: relative; }

/* Ambient glow behind the section */
.contact-glow {
  position: absolute;
  width: 700px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.07) 0%, rgba(6,214,160,0.04) 40%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(60px);
}

/* Centered section header */
.contact-header {
  text-align: center;
  margin-bottom: 64px;
}
.contact-header h2 { margin-bottom: 12px; }
.contact-header p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* ── Contact left column ── */
.contact-left { display: flex; flex-direction: column; gap: 32px; }

/* Availability badge */
.contact-avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6,214,160,0.07);
  border: 1px solid rgba(6,214,160,0.2);
  border-radius: 999px;
  padding: 9px 18px;
  width: fit-content;
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(6,214,160,0.35);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.avail-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* Contact links */
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg2);
  transition: all .25s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
  group: true;
}
.contact-link::before {
  content: '';
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--cl, var(--blue)) 6%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.contact-link:hover {
  border-color: color-mix(in srgb, var(--cl, var(--blue)) 35%, transparent);
  transform: translateX(5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.contact-link:hover::before { opacity: 1; }
.contact-link .cl-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: color-mix(in srgb, var(--cl, var(--blue)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cl, var(--blue)) 28%, transparent);
  color: var(--cl, var(--blue));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s, filter .25s;
}
.contact-link:hover .cl-icon { transform: scale(1.08); filter: brightness(1.2); }
.cl-body {
  display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0;
}
.cl-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.cl-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl-arrow {
  color: var(--dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}
.contact-link:hover .cl-arrow { opacity: 1; transform: translateX(0); color: var(--cl, var(--blue)); }

/* Perks */
.contact-perks { display: flex; flex-direction: column; gap: 10px; }
.contact-perk {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}
.contact-perk svg { color: var(--blue); flex-shrink: 0; opacity: 0.7; }

/* ── Form card ── */
.form-card {
  background: rgba(12,17,32,0.80);
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.form-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.2), transparent);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: rgba(59,130,246,0.04);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--dim); font-weight: 300; }

/* Send button */
.form-send-btn {
  width: 100%; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border: none; border-radius: 12px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position .4s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(59,130,246,0.25);
  margin-bottom: 14px;
}
.form-send-btn:hover {
  background-position: 100% 0%;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.35);
}
.form-send-btn:active { transform: translateY(0); }
.form-send-icon { display: flex; align-items: center; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--dim);
  font-weight: 300;
}

/* ── FOOTER ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--muted);
}
.footer-brand span { color: var(--blue); }
.footer-copy { font-size: 13px; color: var(--dim); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  background: rgba(255,255,255,0.02);
}
.footer-socials a:hover {
  border-color: var(--border-hi);
  color: var(--text);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── RESPONSIVE ────────────────────────────────────── */

/* ── Tablet (≤ 900px) ───────────────────────────────── */
@media (max-width: 900px) {
  /* Nav */
  nav { padding: 16px 24px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 64px;
    background: rgba(7,11,19,0.97); backdrop-filter: blur(16px);
    padding: 32px 24px; z-index: 99;
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open a { display: block; padding: 16px 0; font-size: 18px; color: var(--text); }

  /* Hero */
  #hero { padding: 100px 24px 60px; min-height: auto; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-left { align-items: center; }
  .about-avatar { width: 260px; height: 260px; }
  .about-mini-stats { width: 100%; max-width: 360px; }

  /* Skills */
  .skills-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  /* Experience */
  .xp-grid { padding-left: 32px; }
  .xp-dot { left: -32px; }
  .xp-grid::before { left: 3px; }
  .xp-header { flex-direction: column; gap: 10px; }
  .xp-meta { text-align: left; align-items: flex-start; }
  .xp-metrics { flex-wrap: wrap; }

  /* Education */
  .edu-grid { grid-template-columns: 1fr; }

  /* Capabilities */
  .cap-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  /* Sections */
  section { padding: 80px 0; }
}

/* ── Phone (≤ 600px) ────────────────────────────────── */
@media (max-width: 600px) {
  /* Typography */
  h1 { font-size: clamp(32px, 9vw, 42px); letter-spacing: -0.02em; }
  h2 { font-size: clamp(26px, 7vw, 34px); }
  .hero-sub { font-size: 15px; }
  .about-text { font-size: 15px; }

  /* Hero */
  #hero { padding: 90px 20px 48px; }
  .hero-orb-2, .hero-orb-3, .scroll-hint { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 12px; }
  .stat-num { font-size: 28px; }

  /* About */
  .about-avatar { width: 200px; height: 200px; }
  .avatar-ring-wrap { border-radius: 22px; }
  .about-avatar { border-radius: 20px; }
  .about-mini-stats { max-width: 100%; }
  .about-list li { font-size: 14px; }
  .about-actions { flex-direction: column; }
  .about-actions .btn { justify-content: center; text-align: center; }

  /* Skills */
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-filters { gap: 6px; }
  .filter-btn { font-size: 12px; padding: 6px 14px; }

  /* Experience — hide timeline on phones, just show cards */
  .xp-grid { padding-left: 0; }
  .xp-dot, .xp-grid::before { display: none; }
  .xp-card { padding: 20px; }
  .xp-role { font-size: 16px; }
  .xp-company-badge { width: 38px; height: 38px; font-size: 10px; border-radius: 9px; }
  .xp-metrics { gap: 8px; }
  .xp-metric { padding: 10px 12px; }
  .xp-metric-value { font-size: 18px; }

  /* Education */
  .edu-card { padding: 20px; }
  .edu-degree { font-size: 17px; }
  .edu-gpa-row { flex-direction: column; gap: 14px; }
  .edu-gpa-block { flex-direction: row; align-items: center; gap: 10px; width: 100%; justify-content: flex-start; padding: 10px 14px; }
  .edu-gpa-label { margin-top: 0; }

  /* Capabilities */
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card { padding: 24px; }

  /* Contact */
  .contact-header h2 { font-size: clamp(26px, 7vw, 34px); }
  .contact-link { padding: 12px 14px; }
  .cl-value { font-size: 13px; }
  .form-card { padding: 20px; }
  .contact-perks { gap: 8px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* ── PREFERS REDUCED MOTION ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .skill-fill { transition: none !important; }
  .ticker-track { animation: none !important; }
}
