/* ============================================================
   Anshumaan Singh — portfolio.css  v3
   Light-first · Glassmorphism · Dynamic data visuals
   Author: Anshumaan Singh | www.devsecopswithanshu.com
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --violet:       #7c3aed;
  --violet-light: #ede9fe;
  --violet-dim:   rgba(124,58,237,.12);
  --violet-glow:  rgba(124,58,237,.22);
  --blue:         #2563eb;
  --blue-light:   #dbeafe;
  --blue-dim:     rgba(37,99,235,.10);
  --green:        #10b981;
  --green-light:  #d1fae5;
  --green-dim:    rgba(16,185,129,.12);
  --amber:        #f59e0b;
  --red:          #ef4444;

  --bg:           #f8fafc;
  --bg-card:      #ffffff;
  --bg-alt:       #f1f5f9;
  --bg-muted:     #f8fafc;

  --text-primary:   #0f172a;
  --text-secondary: #374151;
  --text-muted:     #6b7280;
  --text-faint:     #9ca3af;
  --text:           #0f172a;

  --border:         #e5e7eb;
  --border-violet:  rgba(124,58,237,.2);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-violet: 0 8px 32px rgba(124,58,237,.18);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --topbar-h:   64px;
  --banner-h:   42px;
  --ticker-h:   36px;

  --font-sans:  'Inter', 'Outfit', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --font:       'Inter', 'Outfit', system-ui, sans-serif;

  --transition: .22s cubic-bezier(.4,0,.2,1);
  --spring:     .35s cubic-bezier(.34,1.56,.64,1);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--topbar-h) + var(--banner-h) + var(--ticker-h) + 16px);
}
body {
  font-family:var(--font-sans);
  background:var(--bg);
  color:var(--text-primary);
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; display:block; }
a   { color:inherit; text-decoration:none; }
ul  { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
code { font-family:var(--font-mono); background:var(--violet-light); color:var(--violet); padding:2px 6px; border-radius:4px; font-size:.85em; }

/* ── LOADER ── */
.pl-loader {
  position:fixed; inset:0; z-index:99999;
  background:#f8fafc;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .5s .25s, visibility .5s .25s;
}
.pl-loader.done { opacity:0; visibility:hidden; pointer-events:none; }
.pl-inner { display:flex; flex-direction:column; align-items:center; gap:20px; }
.pl-shield { animation:plPulse 1.2s ease-in-out infinite alternate; }
@keyframes plPulse { from{transform:scale(1)} to{transform:scale(1.1) rotate(3deg)} }
.pl-text { font-size:.88rem; color:var(--text-muted); font-weight:500; letter-spacing:.03em; }
.pl-bar { width:200px; height:3px; background:#e5e7eb; border-radius:3px; overflow:hidden; }
.pl-fill {
  height:100%;
  background:linear-gradient(90deg, var(--violet), var(--blue));
  border-radius:3px; width:0; transition:width .08s linear;
}

/* ── TOP ANNOUNCEMENT BANNER ── */
.top-banner {
  position:fixed; top:0; left:0; right:0; z-index:9998;
  height:var(--banner-h);
  background:linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  display:flex; align-items:center; justify-content:center; gap:12px;
  color:#fff; font-size:.82rem; font-weight:500; padding:0 1rem;
  transition:transform var(--transition);
}
.top-banner.hidden { transform:translateY(-100%); }
.tb-dot {
  width:7px; height:7px; border-radius:50%;
  background:#4ade80;
  box-shadow:0 0 0 0 rgba(74,222,128,.5);
  animation:pingGreen 2s ease-in-out infinite;
  flex-shrink:0;
}
@keyframes pingGreen {
  0%,100%{box-shadow:0 0 0 0 rgba(74,222,128,.5)}
  50%{box-shadow:0 0 0 6px rgba(74,222,128,0)}
}
.tb-btn {
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.35);
  color:#fff; padding:4px 12px;
  border-radius:var(--radius-full);
  font-size:.78rem; font-weight:600;
  transition:background var(--transition);
}
.tb-btn:hover { background:rgba(255,255,255,.35); }
.tb-close {
  position:absolute; right:12px;
  color:rgba(255,255,255,.7); font-size:1rem;
  width:28px; height:28px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; transition:all var(--transition);
}
.tb-close:hover { background:rgba(255,255,255,.15); color:#fff; }

/* ── CVE TICKER ── */
.cve-ticker {
  position:fixed; top:var(--banner-h); left:0; right:0; z-index:9997;
  height:var(--ticker-h);
  background:#0f172a;
  display:flex; align-items:center; gap:0; overflow:hidden;
}
.cve-ticker-label {
  flex-shrink:0;
  background:var(--violet); color:#fff;
  font-family:var(--font-mono); font-size:.7rem; font-weight:700;
  padding:0 14px; height:100%; display:flex; align-items:center;
  letter-spacing:.1em;
}
.cve-ticker-track {
  display:flex; align-items:center; gap:24px;
  white-space:nowrap;
  animation:tickerScroll 60s linear infinite;
  padding:0 32px;
  font-family:var(--font-mono); font-size:.72rem;
}
@keyframes tickerScroll {
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
.cve-ticker-track { width:max-content; }
.ct-item { font-weight:600; }
.ct-crit { color:#f87171; }
.ct-high { color:#fb923c; }
.ct-ok  { color:#4ade80; }
.ct-sep { color:#334155; }

/* offset body for fixed bars */
body { padding-top:calc(var(--banner-h) + var(--ticker-h)); }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position:fixed;
  top:calc(var(--banner-h) + var(--ticker-h));
  left:0; right:0; z-index:9996;
  height:3px;
  background:linear-gradient(90deg, var(--violet), var(--blue), var(--green));
  transform-origin:left;
  transform:scaleX(0);
  transition:transform .1s linear;
}

/* ── NAVIGATION ── */
.nav-header {
  position:fixed;
  top:calc(var(--banner-h) + var(--ticker-h) + 3px);
  left:0; right:0; z-index:9990;
  height:var(--topbar-h);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--border);
  transition:box-shadow var(--transition), background var(--transition);
}
.nav-header.scrolled {
  background:rgba(255,255,255,.96);
  box-shadow:var(--shadow-md);
}
.nav-container {
  max-width:1200px; margin:0 auto;
  padding:0 1.5rem;
  height:100%;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.nav-brand {
  display:flex; align-items:center; gap:10px;
  flex-shrink:0;
}
.nav-logo-shield {
  width:36px; height:36px;
  background:var(--violet-light);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  transition:transform var(--spring);
}
.nav-logo-shield:hover { transform:scale(1.1) rotate(-5deg); }
.nav-brand-text { display:flex; flex-direction:column; line-height:1.2; }
.nav-brand-name { font-family:var(--font-display); font-weight:700; font-size:.95rem; color:var(--text-primary); }
.nav-brand-role { font-size:.7rem; color:var(--text-muted); font-weight:500; }
.nav-open-pill {
  display:flex; align-items:center; gap:6px;
  background:var(--green-light);
  color:#065f46; font-size:.7rem; font-weight:600;
  padding:3px 10px; border-radius:var(--radius-full);
  border:1px solid rgba(16,185,129,.2);
}
.nav-open-dot {
  width:6px; height:6px; border-radius:50%; background:var(--green);
  animation:pingGreen 2s ease-in-out infinite;
}
.nav-links {
  display:flex; align-items:center; gap:4px;
}
.nav-link {
  padding:6px 12px; border-radius:var(--radius-sm);
  font-size:.875rem; font-weight:500; color:var(--text-secondary);
  transition:all var(--transition); position:relative;
}
.nav-link::after {
  content:''; position:absolute; bottom:4px; left:12px; right:12px;
  height:2px; background:var(--violet); border-radius:2px;
  transform:scaleX(0); transform-origin:center;
  transition:transform var(--transition);
}
.nav-link:hover { color:var(--violet); background:var(--violet-dim); }
.nav-link:hover::after { transform:scaleX(1); }
.nav-link.active { color:var(--violet); font-weight:600; }
.nav-link.active::after { transform:scaleX(1); }
.nav-actions { display:flex; align-items:center; gap:10px; }
.btn-nav-resume {
  padding:7px 18px;
  background:var(--violet); color:#fff;
  border-radius:var(--radius-full);
  font-size:.82rem; font-weight:600;
  transition:all var(--transition);
  box-shadow:0 2px 8px var(--violet-glow);
}
.btn-nav-resume:hover {
  background:#6d28d9;
  transform:translateY(-1px);
  box-shadow:0 4px 14px var(--violet-glow);
}
.hamburger {
  display:none;
  flex-direction:column; gap:5px;
  width:36px; height:36px;
  align-items:center; justify-content:center;
  border-radius:var(--radius-sm);
  transition:background var(--transition);
}
.hamburger:hover { background:var(--bg-alt); }
.hamburger span {
  display:block; width:20px; height:2px;
  background:var(--text-secondary); border-radius:2px;
  transition:all var(--transition);
}
@media(max-width:900px){
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .nav-open-pill { display:none; }
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position:fixed; inset:0; z-index:99995; pointer-events:none;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.mobile-menu.open { pointer-events:all; }
.mm-backdrop {
  position:absolute; inset:0;
  background:rgba(0,0,0,0);
  transition:background var(--transition);
}
.mobile-menu.open .mm-backdrop { background:rgba(0,0,0,.35); }
.mm-drawer {
  position:absolute; top:0; right:0;
  width:min(320px, 85vw); height:100%;
  background:#fff; padding:2rem;
  display:flex; flex-direction:column; gap:1.5rem;
  transform:translateX(100%);
  transition:transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow:-8px 0 32px rgba(0,0,0,.12);
  overflow-y:auto;
}
.mobile-menu.open .mm-drawer { transform:translateX(0); }
.mm-header { display:flex; justify-content:space-between; align-items:center; }
.mm-title { font-weight:700; font-size:1.1rem; color:var(--text-primary); }
.mm-close {
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:var(--text-secondary);
  transition:all var(--transition);
}
.mm-close:hover { background:var(--bg-alt); color:var(--text-primary); }
.mm-links { display:flex; flex-direction:column; gap:4px; }
.mm-link {
  display:block; padding:10px 14px; border-radius:var(--radius-sm);
  font-size:.95rem; font-weight:500; color:var(--text-secondary);
  transition:all var(--transition);
}
.mm-link:hover { background:var(--violet-dim); color:var(--violet); padding-left:20px; }
.mm-cta { display:flex; flex-direction:column; gap:10px; margin-top:auto; }

/* ── BUTTONS ── */
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 24px;
  background:linear-gradient(135deg, var(--violet), var(--blue));
  color:#fff; border-radius:var(--radius-full);
  font-size:.9rem; font-weight:600;
  transition:all var(--transition);
  box-shadow:0 4px 14px rgba(124,58,237,.3);
  white-space:nowrap;
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(124,58,237,.4);
}
.btn-secondary {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 22px;
  background:var(--bg-card); color:var(--text-primary);
  border:1.5px solid var(--border);
  border-radius:var(--radius-full);
  font-size:.9rem; font-weight:600;
  transition:all var(--transition);
}
.btn-secondary:hover {
  border-color:var(--violet); color:var(--violet);
  background:var(--violet-light);
  transform:translateY(-2px);
  box-shadow:var(--shadow-violet);
}
.btn-ghost {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 20px;
  color:var(--text-secondary);
  border-radius:var(--radius-full);
  font-size:.9rem; font-weight:500;
  transition:all var(--transition);
}
.btn-ghost:hover { color:var(--violet); background:var(--violet-dim); }

/* ── HERO SECTION ── */
.hero-section {
  position:relative; overflow:hidden;
  padding:6rem 1.5rem 5rem;
  min-height:100vh;
  display:flex; flex-direction:column; justify-content:center;
}
.hero-bg {
  position:absolute; inset:0; pointer-events:none; z-index:0;
}
.hbg-blob {
  position:absolute; border-radius:50%;
  filter:blur(80px); opacity:0.55;
}
.hbg-1 {
  width:700px; height:700px;
  top:-200px; right:-150px;
  background:radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 70%);
  animation:blobDrift 12s ease-in-out infinite alternate;
}
.hbg-2 {
  width:500px; height:500px;
  bottom:-100px; left:-100px;
  background:radial-gradient(circle, rgba(37,99,235,.14) 0%, transparent 70%);
  animation:blobDrift 16s ease-in-out infinite alternate-reverse;
}
.hbg-3 {
  width:400px; height:400px;
  top:40%; left:40%;
  background:radial-gradient(circle, rgba(16,185,129,.10) 0%, transparent 70%);
  animation:blobDrift 20s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  from{transform:translate(0,0) scale(1)}
  to  {transform:translate(40px,30px) scale(1.08)}
}
.hbg-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(124,58,237,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.045) 1px, transparent 1px);
  background-size:40px 40px;
}
.hbg-dots {
  position:absolute; inset:0;
  background-image:radial-gradient(circle, rgba(124,58,237,.12) 1.5px, transparent 1.5px);
  background-size:28px 28px;
  background-position:14px 14px;
}
/* canvas will be injected by JS */
#heroCanvas {
  position:absolute; inset:0; pointer-events:none; z-index:1;
}
.hero-wrap {
  position:relative; z-index:2;
  max-width:1200px; margin:0 auto; width:100%;
  display:grid; grid-template-columns:1fr 420px; gap:4rem; align-items:center;
}

/* Hero left */
.hero-left { display:flex; flex-direction:column; gap:1.5rem; }
.hero-label {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--green-light);
  color:#065f46; font-size:.8rem; font-weight:600;
  padding:6px 14px; border-radius:var(--radius-full);
  width:fit-content;
  border:1px solid rgba(16,185,129,.25);
}
.hl-dot {
  width:7px; height:7px; border-radius:50%; background:var(--green);
  animation:pingGreen 2s ease-in-out infinite;
}
.hero-h1 {
  font-family:var(--font-display);
  font-size:clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight:900; line-height:1.08;
  color:var(--text-primary);
  letter-spacing:-0.03em;
}
.hero-name-line { display:flex; align-items:baseline; gap:.3em; flex-wrap:wrap; }
.hero-name       { color:var(--text-primary); }
.hero-name-accent { color:var(--violet); position:relative; }
.hero-name-accent::after {
  content:''; position:absolute;
  bottom:-4px; left:0; right:0;
  height:4px;
  background:linear-gradient(90deg, var(--violet), var(--blue));
  border-radius:2px;
  animation:underlineGrow 1s .5s both;
}
@keyframes underlineGrow { from{transform:scaleX(0);transform-origin:left} to{transform:scaleX(1)} }
.hero-typed-row {
  display:flex; align-items:center; gap:4px;
  font-family:var(--font-mono); font-size:1.05rem; color:var(--text-secondary);
}
.hero-typed-prefix { color:var(--text-muted); }
.hero-typed { color:var(--violet); font-weight:700; }
.hero-typed-cursor {
  color:var(--violet); font-weight:300;
  animation:blink .9s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-bio {
  font-size:1.05rem; line-height:1.75; color:var(--text-secondary);
  max-width:560px;
}
.hero-bio strong { color:var(--text-primary); font-weight:700; }
.hero-bio em { color:var(--violet); font-style:normal; }
.hero-cta-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hero-pills { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.hp {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--bg-card); border:1px solid var(--border);
  color:var(--text-muted); font-size:.8rem; font-weight:500;
  padding:5px 12px; border-radius:var(--radius-full);
}
.hp-green { color:#065f46; background:var(--green-light); border-color:rgba(16,185,129,.25); }

/* KPI row */
.hero-kpis {
  display:flex; align-items:center; gap:0;
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:1px;
  box-shadow:var(--shadow-md);
  overflow:hidden; width:fit-content;
}
.kpi-item {
  padding:14px 24px; text-align:center;
  transition:background var(--transition);
}
.kpi-item:hover { background:var(--violet-light); }
.kpi-value {
  font-family:var(--font-display); font-size:1.8rem; font-weight:900;
  color:var(--violet); line-height:1; display:flex; align-items:baseline;
}
.kpi-suf { font-size:1.2rem; font-weight:700; }
.kpi-label { font-size:.72rem; color:var(--text-muted); font-weight:500; line-height:1.3; margin-top:4px; }
.kpi-divider { width:1px; background:var(--border); align-self:stretch; }

/* Hero right */
.hero-right { display:flex; flex-direction:column; gap:16px; }

/* Profile card */
.profile-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-xl);
  padding:28px; text-align:center;
  box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column; align-items:center; gap:16px;
  position:relative; overflow:hidden;
  transition:transform var(--spring), box-shadow var(--transition);
}
.profile-card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-violet);
}
.profile-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(124,58,237,.04) 0%, transparent 60%);
  pointer-events:none;
}
.profile-img-wrap {
  position:relative; width:120px; height:120px;
}
.profile-img {
  width:120px; height:120px;
  border-radius:50%; object-fit:cover;
  object-position: center 15%;  /* ★ Focus on eyes/upper face */
  border:3px solid #fff;
  box-shadow:0 0 0 3px var(--violet-dim), var(--shadow-md);
  position:relative; z-index:1;
}
.profile-ring {
  position:absolute; inset:0; border-radius:50%;
  border:2px solid transparent;
  animation:spinRing 6s linear infinite;
}
.pr1 {
  border-image:conic-gradient(var(--violet) 90deg, transparent 90deg) 1;
  border-radius:50%;
  background:conic-gradient(var(--violet) 0deg, transparent 120deg, transparent) border-box;
  -webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  border:2px solid;
  border-color:transparent;
  background:transparent;
  outline:2px dashed rgba(124,58,237,.35);
  outline-offset:6px;
  animation:spinRing 8s linear infinite;
}
.pr2 {
  outline:1px solid rgba(37,99,235,.2);
  outline-offset:12px;
  animation:spinRing 12s linear infinite reverse;
}
@keyframes spinRing { to{transform:rotate(360deg)} }
.profile-verified {
  position:absolute; bottom:3px; right:3px; z-index:2;
  width:26px; height:26px; border-radius:50%;
  background:#fff; border:2px solid #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm);
}
.profile-details { display:flex; flex-direction:column; align-items:center; gap:4px; }
.profile-name { font-family:var(--font-display); font-weight:800; font-size:1.1rem; color:var(--text-primary); }
.profile-title { font-size:.8rem; color:var(--text-secondary); font-weight:500; }
.profile-co { font-size:.75rem; color:var(--violet); font-weight:600; }
.profile-certs { display:flex; gap:6px; margin-top:4px; flex-wrap:wrap; justify-content:center; }
.pcert {
  background:var(--violet-light); color:var(--violet);
  font-size:.68rem; font-weight:700; font-family:var(--font-mono);
  padding:3px 8px; border-radius:4px;
  border:1px solid rgba(124,58,237,.2);
}

/* Posture card */
.posture-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:20px;
  box-shadow:var(--shadow-md);
  transition:transform var(--spring), box-shadow var(--transition);
}
.posture-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.pc-topbar {
  display:flex; align-items:center; gap:8px;
  margin-bottom:14px; padding-bottom:12px;
  border-bottom:1px solid var(--border);
}
.pc-status-dot {
  width:8px; height:8px; border-radius:50%; background:var(--green);
  animation:pingGreen 2s ease-in-out infinite;
}
.pc-title { font-size:.82rem; font-weight:700; color:var(--text-primary); flex:1; }
.pc-all-good { font-size:.72rem; color:var(--green); font-weight:700; font-family:var(--font-mono); }
.pc-rows { display:flex; flex-direction:column; gap:8px; }
.pc-row { display:flex; align-items:center; gap:8px; font-size:.78rem; }
.pc-emoji { font-size:14px; flex-shrink:0; }
.pc-label { color:var(--text-secondary); flex:1; font-weight:500; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pc-bar {
  width:80px; height:5px; background:var(--bg-alt);
  border-radius:3px; overflow:hidden; flex-shrink:0;
}
.pc-fill {
  height:100%;
  width:var(--p, 0%);
  background:linear-gradient(90deg, var(--violet), var(--blue));
  border-radius:3px;
  transition:width 1.5s cubic-bezier(.4,0,.2,1) .5s;
}
.pc-zfill { background:linear-gradient(90deg, var(--green), #34d399); }
.pc-stat { font-family:var(--font-mono); font-size:.75rem; font-weight:700; color:var(--text-primary); flex-shrink:0; min-width:36px; text-align:right; }
.pc-badge { font-size:.64rem; font-weight:700; padding:2px 7px; border-radius:4px; flex-shrink:0; font-family:var(--font-mono); }
.pc-pass { background:var(--green-light); color:#065f46; }
.pc-review { background:#fef3c7; color:#92400e; }

/* Building card */
.building-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:18px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:10px;
}
.bcw-header {
  display:flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; color:var(--text-primary);
}
.bcw-pulse {
  width:8px; height:8px; border-radius:50%; background:var(--blue);
  box-shadow:0 0 0 0 rgba(37,99,235,.4);
  animation:pulsBlue 2s ease-in-out infinite;
}
@keyframes pulsBlue {
  0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,.4)}
  50%{box-shadow:0 0 0 6px rgba(37,99,235,0)}
}
.bcw-item { padding:8px 12px; background:var(--bg-alt); border-radius:var(--radius-sm); }
.bcw-name { font-size:.8rem; font-weight:700; color:var(--text-primary); }
.bcw-desc { font-size:.74rem; color:var(--text-muted); margin-top:2px; }
.bcw-clock {
  font-family:var(--font-mono); font-size:.75rem; color:var(--text-muted);
  text-align:right; padding-top:4px;
}

/* Tech stack pills */
.tech-stack-pills {
  display:flex; flex-wrap:wrap; gap:6px;
}
.ts-pill {
  background:var(--bg-card); border:1px solid var(--border);
  color:var(--text-muted); font-size:.72rem; font-weight:600;
  padding:4px 10px; border-radius:var(--radius-full);
  transition:all var(--transition);
  cursor:default;
}
.ts-pill:hover {
  background:var(--violet-light); color:var(--violet);
  border-color:var(--border-violet);
  transform:translateY(-2px);
}

/* Hero quote */
.hero-quote-bar {
  position:relative; z-index:2;
  max-width:900px; margin:4rem auto 0;
  padding:1.5rem 2rem;
  background:var(--bg-card); border:1px solid var(--border);
  border-left:4px solid var(--violet);
  border-radius:var(--radius-md);
  display:flex; align-items:flex-start; gap:16px;
  box-shadow:var(--shadow-md);
}
.hq-icon { flex-shrink:0; margin-top:2px; }
.hero-quote-bar blockquote {
  font-size:1rem; line-height:1.7; color:var(--text-secondary);
  font-style:italic;
}

/* ── SECTION LAYOUT ── */
.section { padding:6rem 1.5rem; }
.section-alt { background:var(--bg-alt); }
.container { max-width:1160px; margin:0 auto; }
.sec-hd { text-align:center; margin-bottom:4rem; }
.sec-hd h2 {
  font-family:var(--font-display);
  font-size:clamp(2rem, 4vw, 2.8rem);
  font-weight:900; color:var(--text-primary);
  letter-spacing:-0.025em; line-height:1.15;
  margin-bottom:.6rem;
}
.sec-hd p { color:var(--text-muted); font-size:1.05rem; max-width:560px; margin:0 auto; }
.sec-num {
  display:inline-block;
  font-family:var(--font-mono); font-size:.78rem; font-weight:700;
  color:var(--violet); background:var(--violet-light);
  padding:4px 12px; border-radius:var(--radius-full);
  margin-bottom:1rem; letter-spacing:.08em;
}

/* ── ABOUT ── */
.about-layout {
  display:grid; grid-template-columns:1fr 340px; gap:4rem; align-items:start;
}
.manifesto {
  font-size:1.15rem; font-weight:600; color:var(--text-primary);
  line-height:1.65; margin-bottom:1.25rem;
}
.about-text-col p {
  color:var(--text-secondary); line-height:1.75; margin-bottom:1rem;
}
.about-text-col p strong { color:var(--text-primary); font-weight:700; }
.about-details-list { display:flex; flex-direction:column; gap:10px; margin-top:1.5rem; }
.adl-item {
  display:flex; align-items:flex-start; gap:12px;
  font-size:.9rem; color:var(--text-secondary);
}
.adl-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }
.about-stats-col { display:flex; flex-direction:column; gap:16px; }
.stat-box {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:20px 24px;
  box-shadow:var(--shadow-sm);
  transition:all var(--transition);
}
.stat-box:hover { transform:translateY(-3px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.sb-number {
  font-family:var(--font-display); font-size:2.4rem; font-weight:900;
  color:var(--violet); line-height:1;
}
.sb-number span { font-size:1.5rem; }
.sb-label { font-weight:700; color:var(--text-primary); margin-top:4px; }
.sb-sub { font-size:.8rem; color:var(--text-muted); margin-top:2px; font-family:var(--font-mono); }
.stat-box-accent { background:linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%); color:#fff; border:none; }
.stat-box-accent .sb-number, .stat-box-accent .sb-label, .stat-box-accent .sb-sub { color:#fff; }

/* Engineering philosophy */
.philosophy-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:20px;
}
.phil-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:24px;
  box-shadow:var(--shadow-sm);
  transition:all var(--transition);
  position:relative; overflow:hidden;
}
.phil-card::before {
  content:''; position:absolute;
  top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--violet), var(--blue));
  transform:scaleX(0); transform-origin:left;
  transition:transform var(--transition);
}
.phil-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.phil-card:hover::before { transform:scaleX(1); }
.phil-num-badge {
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:var(--radius-sm);
  background:var(--violet-light); color:var(--violet);
  font-weight:800; font-size:.82rem; font-family:var(--font-mono);
  margin-bottom:12px;
}
.phil-card h3 { font-size:1rem; font-weight:700; color:var(--text-primary); margin-bottom:8px; }
.phil-card p { font-size:.875rem; color:var(--text-secondary); line-height:1.65; }

/* ── EXPERIENCE ── */
.exp-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-xl); padding:36px;
  box-shadow:var(--shadow-lg);
  position:relative; overflow:hidden;
}
.exp-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, var(--violet), var(--blue), var(--green));
  background-size:200% 100%;
  animation:expGradientFlow 4s linear infinite;
}
@keyframes expGradientFlow {
  0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%}
}
.exp-card::after {
  content:'';
  position:absolute; top:4px; right:0; bottom:0; left:0;
  background:radial-gradient(ellipse 60% 40% at 80% 10%, rgba(124,58,237,.04) 0%, transparent 100%);
  pointer-events:none;
}
.exp-top {
  display:flex; align-items:flex-start; gap:20px;
  margin-bottom:24px; flex-wrap:wrap;
  position:relative; z-index:1;
}
.exp-logo-wrap {
  flex-shrink:0;
  animation:logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)}
}
.exp-title-block { flex:1; min-width:200px; }
.exp-company {
  font-family:var(--font-display); font-size:1.3rem; font-weight:800;
  color:var(--text-primary);
  background:linear-gradient(135deg, var(--text-primary) 0%, var(--violet) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.exp-role {
  font-size:1rem; color:var(--violet); font-weight:600; margin-top:2px;
  display:inline-flex; align-items:center; gap:6px;
}
.exp-role::before {
  content:''; width:8px; height:8px; border-radius:50%;
  background:var(--green);
  animation:roleActive 2s ease-in-out infinite;
}
@keyframes roleActive {
  0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(16,185,129,.6)}
  50%{opacity:.7;box-shadow:0 0 0 6px rgba(16,185,129,0)}
}
.exp-period { font-size:.8rem; color:var(--text-muted); font-family:var(--font-mono); margin-top:4px; }
.exp-badge-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:4px; }
.exp-badge {
  background:var(--violet-light); color:var(--violet);
  font-size:.72rem; font-weight:700;
  padding:4px 10px; border-radius:var(--radius-full);
  border:1px solid rgba(124,58,237,.2);
  transition:all .25s;
  cursor:default;
}
.exp-badge:hover {
  background:var(--violet); color:#fff;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(124,58,237,.3);
}
.exp-scope-box {
  background:var(--bg-alt); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:14px 20px;
  font-size:.9rem; color:var(--text-secondary);
  margin-bottom:24px;
  position:relative; z-index:1;
  transition:all .3s;
}
.exp-scope-box:hover {
  border-color:var(--border-violet);
  background:linear-gradient(135deg, var(--bg-alt) 0%, rgba(124,58,237,.03) 100%);
}
.exp-scope-box strong { color:var(--text-primary); }
.exp-domains {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  position:relative; z-index:1;
}
.exp-domain {
  background:var(--bg-alt); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:20px;
  transition:all .35s cubic-bezier(.4,0,.2,1);
  position:relative; overflow:hidden;
}
.exp-domain::before {
  content:'';
  position:absolute; top:0; left:0; width:3px; height:0;
  background:linear-gradient(180deg, var(--violet), var(--blue));
  transition:height .5s cubic-bezier(.4,0,.2,1);
  border-radius:0 0 3px 3px;
}
.exp-domain:hover::before { height:100%; }
.exp-domain:hover {
  border-color:var(--border-violet);
  box-shadow:var(--shadow-violet);
  transform:translateY(-4px);
  background:linear-gradient(135deg, var(--bg-alt) 0%, rgba(124,58,237,.04) 100%);
}
/* Domain card numbering */
.exp-domain:nth-child(1) .epd-head::after { content:'01'; }
.exp-domain:nth-child(2) .epd-head::after { content:'02'; }
.exp-domain:nth-child(3) .epd-head::after { content:'03'; }
.exp-domain:nth-child(4) .epd-head::after { content:'04'; }
.exp-domain:nth-child(5) .epd-head::after { content:'05'; }
.exp-domain:nth-child(6) .epd-head::after { content:'06'; }
.epd-head::after {
  font-family:var(--font-mono);
  font-size:.65rem; font-weight:800;
  color:var(--violet); opacity:.35;
  margin-left:auto;
  letter-spacing:.08em;
}
.epd-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.epd-icon {
  font-size:1.2rem;
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  background:var(--violet-light); border-radius:10px;
  transition:all .3s;
}
.exp-domain:hover .epd-icon {
  transform:scale(1.1) rotate(-5deg);
  background:var(--violet); filter:grayscale(0) brightness(1.2);
  box-shadow:0 4px 12px rgba(124,58,237,.3);
}
.epd-head h4 { font-size:.95rem; font-weight:700; color:var(--text-primary); }
.exp-domain ul { padding-left:0; display:flex; flex-direction:column; gap:7px; }
.exp-domain li {
  font-size:.83rem; color:var(--text-secondary); line-height:1.55;
  padding-left:16px; position:relative;
  transition:all .2s;
}
.exp-domain li:hover {
  color:var(--text-primary);
  transform:translateX(3px);
}
.exp-domain li::before {
  content:'→'; position:absolute; left:0;
  color:var(--violet); font-weight:700;
  transition:transform .2s;
}
.exp-domain li:hover::before { transform:translateX(2px); }
.exp-domain code { font-size:.78em; }

/* Impact strip */
.impact-strip {
  display:flex; align-items:center;
  background:linear-gradient(135deg, var(--violet) 0%, var(--blue) 50%, #6d28d9 100%);
  background-size:200% 100%;
  animation:impactGlow 6s ease-in-out infinite;
  border-radius:var(--radius-xl); padding:28px 40px;
  margin-top:32px; gap:0;
  box-shadow:0 8px 32px rgba(124,58,237,.25);
  position:relative; overflow:hidden;
}
.impact-strip::before {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
  background-size:200% 100%;
  animation:shimmerSlide 4s linear infinite;
  pointer-events:none;
}
@keyframes impactGlow {
  0%,100%{background-position:0% 50%} 50%{background-position:100% 50%}
}
.is-item {
  flex:1; text-align:center; position:relative; z-index:1;
  transition:transform .25s;
}
.is-item:hover { transform:scale(1.08); }
.is-num {
  font-family:var(--font-display); font-size:2.4rem; font-weight:900;
  color:#fff; line-height:1;
}
.is-num span { font-size:1.6rem; }
.is-label { font-size:.8rem; color:rgba(255,255,255,.75); margin-top:4px; font-weight:500; }
.is-sep { width:1px; background:rgba(255,255,255,.2); align-self:stretch; }

/* ── EDUCATION ── */
.edu-showcase {
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap:24px;
  margin:0 0 28px;
}
.edu-showcase-card {
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(124,58,237,.04));
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:var(--shadow-sm);
}
.edu-showcase-tag,
.edu-foundation-kicker,
.edu-status-pill,
.edu-link-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-radius:var(--radius-full);
}
.edu-showcase-tag {
  padding:6px 12px;
  background:var(--violet-light);
  color:var(--violet);
  margin-bottom:14px;
}
.edu-showcase-card h3 {
  font-size:1.2rem;
  line-height:1.3;
  color:var(--text-primary);
  margin-bottom:10px;
}
.edu-showcase-card p {
  font-size:.92rem;
  line-height:1.75;
  color:var(--text-secondary);
}
.edu-proof-strip {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.edu-proof-item {
  padding:14px;
  border-radius:18px;
  background:rgba(124,58,237,.05);
  border:1px solid rgba(124,58,237,.1);
}
.edu-proof-item strong {
  display:block;
  font-size:.86rem;
  color:var(--text-primary);
  margin-bottom:5px;
}
.edu-proof-item span {
  display:block;
  font-size:.8rem;
  line-height:1.6;
  color:var(--text-muted);
}
.edu-layout {
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap:24px;
  align-items:start;
}
.edu-main-column,
.edu-side-column,
.edu-school-stack {
  display:grid;
  gap:24px;
}
.edu-side-panel {
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(37,99,235,.035));
  border:1px solid var(--border);
  border-radius:calc(var(--radius-lg) + 2px);
  box-shadow:var(--shadow-sm);
  padding:24px;
}
.edu-side-summary {
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(124,58,237,.04));
}
.edu-summary-list {
  display:grid;
  gap:14px;
}
.edu-summary-item {
  padding:14px 16px;
  border-radius:18px;
  background:rgba(124,58,237,.05);
  border:1px solid rgba(124,58,237,.08);
}
.edu-summary-item strong {
  display:block;
  color:var(--text-primary);
  font-size:.88rem;
  margin-bottom:4px;
}
.edu-summary-item span {
  display:block;
  color:var(--text-muted);
  font-size:.82rem;
  line-height:1.6;
}
.edu-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(340px,1fr)); gap:24px; }
.edu-cards-extended { align-items:stretch; }
.edu-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:28px;
  box-shadow:var(--shadow-sm);
  transition:all var(--transition);
}
.edu-card-featured { background:linear-gradient(145deg, #fff 0%, rgba(124,58,237,.045) 100%); }
.edu-card-school { background:linear-gradient(145deg, #fff 0%, rgba(37,99,235,.03) 100%); }
.edu-card-degree {
  border-color:rgba(124,58,237,.12);
  box-shadow:0 24px 54px rgba(15,23,42,.05);
}
.edu-card-school-compact {
  padding:22px;
  box-shadow:none;
}
.edu-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.edu-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:12px; }
.edu-top h3 { font-size:1.05rem; font-weight:700; color:var(--text-primary); }
.edu-top h3 a { color:inherit; }
.edu-top h3 a:hover { color:var(--violet); }
.edu-title-wrap { display:flex; gap:14px; align-items:flex-start; }
.edu-logo-mark {
  width:52px; height:52px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:.88rem; font-weight:900; letter-spacing:.04em;
  color:#fff; flex-shrink:0;
  box-shadow:0 10px 22px rgba(124,58,237,.15);
}
.edu-logo-postgrad { background:linear-gradient(135deg, var(--violet), #8b5cf6); }
.edu-logo-undergrad { background:linear-gradient(135deg, var(--blue), #60a5fa); }
.edu-logo-school { background:linear-gradient(135deg, #64748b, #94a3b8); }
.edu-degree { font-size:.85rem; color:var(--violet); font-weight:600; margin-top:4px; }
.edu-meta { font-size:.76rem; color:var(--text-muted); font-family:var(--font-mono); margin-top:2px; }
.edu-subtitle {
  font-size:.74rem;
  color:var(--text-muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:10px;
}
.edu-badge { font-size:.7rem; font-weight:700; padding:4px 10px; border-radius:var(--radius-full); flex-shrink:0; }
.edu-postgrad { background:var(--violet-light); color:var(--violet); }
.edu-ug { background:var(--blue-light); color:var(--blue); }
.edu-school { background:rgba(148,163,184,.16); color:#475569; }
.edu-desc { font-size:.875rem; color:var(--text-secondary); line-height:1.65; margin-bottom:14px; }
.edu-content-grid {
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap:18px;
  margin-bottom:14px;
}
.edu-insight-panel {
  padding:16px;
  border-radius:20px;
  background:rgba(15,23,42,.03);
  border:1px solid rgba(124,58,237,.08);
}
.edu-metric-stack {
  display:grid;
  gap:10px;
}
.edu-metric-pill {
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(124,58,237,.08);
}
.edu-metric-pill strong {
  display:block;
  color:var(--text-primary);
  font-size:.84rem;
  margin-bottom:4px;
}
.edu-metric-pill span {
  display:block;
  color:var(--text-muted);
  font-size:.79rem;
  line-height:1.55;
}
.edu-detail-list {
  list-style:none;
  padding:0;
  margin:0 0 14px;
  display:grid;
  gap:10px;
}
.edu-detail-list li {
  position:relative;
  padding-left:18px;
  font-size:.86rem;
  line-height:1.7;
  color:var(--text-secondary);
}
.edu-detail-list li::before {
  content:'•';
  position:absolute;
  left:0;
  top:0;
  color:var(--violet);
  font-weight:900;
}
.edu-detail-list-compact li {
  font-size:.85rem;
}
.tags { display:flex; flex-wrap:wrap; gap:6px; }
.tags span {
  background:var(--bg-alt); color:var(--text-muted);
  font-size:.72rem; font-weight:600;
  padding:3px 10px; border-radius:var(--radius-full);
  border:1px solid var(--border);
}
.edu-link-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.edu-link-pill {
  padding:8px 14px;
  text-decoration:none;
  background:rgba(37,99,235,.08);
  color:var(--blue);
  border:1px solid rgba(37,99,235,.16);
}
.edu-link-pill:hover {
  background:rgba(37,99,235,.14);
}
.edu-status-pill {
  padding:8px 14px;
  background:rgba(16,185,129,.08);
  color:var(--green);
  border:1px solid rgba(16,185,129,.16);
  text-transform:none;
  letter-spacing:0;
  font-size:.78rem;
  font-weight:700;
}
.edu-journey-board {
  margin-top:28px;
  padding:28px;
  border-radius:calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at 10% 10%, rgba(124,58,237,.08), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.08), transparent 20%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  border:1px solid var(--border);
  box-shadow:0 24px 60px rgba(15,23,42,.05);
}
.edu-journey-head {
  max-width:760px;
  margin-bottom:22px;
}
.edu-journey-head h3 {
  font-size:1.25rem;
  color:var(--text-primary);
  line-height:1.28;
  margin-bottom:8px;
}
.edu-journey-head p {
  color:var(--text-secondary);
  font-size:.92rem;
  line-height:1.7;
}
.edu-flow-track {
  display:grid;
  grid-template-columns:repeat(7, auto);
  align-items:stretch;
  gap:12px;
}
.edu-flow-card {
  min-width:0;
  width:100%;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(124,58,237,.10);
  box-shadow:0 16px 36px rgba(15,23,42,.04);
}
.edu-flow-card h4 {
  font-size:.98rem;
  color:var(--text-primary);
  line-height:1.3;
  margin-bottom:8px;
}
.edu-flow-card p {
  font-size:.84rem;
  color:var(--text-secondary);
  line-height:1.65;
  margin-bottom:12px;
}
.edu-flow-card-accent {
  background:linear-gradient(145deg, rgba(124,58,237,.07), rgba(37,99,235,.06));
}
.edu-flow-step {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:rgba(124,58,237,.11);
  color:var(--violet);
  font-family:var(--font-display);
  font-weight:900;
  font-size:.92rem;
  margin-bottom:12px;
}
.edu-flow-arrow {
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--violet);
  font-size:1.4rem;
  font-weight:900;
  opacity:.6;
}
.edu-foundation-band {
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}
.edu-foundation-item {
  padding:20px;
  border-radius:22px;
  background:var(--bg-card);
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
}
.edu-foundation-kicker {
  padding:5px 10px;
  background:rgba(124,58,237,.08);
  color:var(--violet);
  margin-bottom:10px;
}
.edu-foundation-item strong {
  display:block;
  color:var(--text-primary);
  font-size:1rem;
  margin-bottom:8px;
}
.edu-foundation-item p {
  font-size:.86rem;
  line-height:1.65;
  color:var(--text-secondary);
}

/* ── PROJECTS ── */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(340px,1fr)); gap:20px; }
.project-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:24px;
  box-shadow:var(--shadow-sm);
  transition:all var(--transition); position:relative;
}
.project-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.project-featured {
  border-color:rgba(124,58,237,.3);
  background:linear-gradient(145deg, #fff 0%, var(--violet-light) 100%);
}
.proj-head { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.proj-icon {
  width:40px; height:40px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.proj-security { background:var(--violet-light); color:var(--violet); }
.proj-supply { background:#dbeafe; color:var(--blue); }
.proj-python { background:#fef3c7; color:#d97706; }
.proj-policy { background:var(--green-light); color:var(--green); }
.proj-gitops { background:#fce7f3; color:#be185d; }
.proj-scanner { background:#f3f4f6; color:#374151; }
.proj-title-block { flex:1; min-width:0; }
.proj-title-block h3 { font-size:1rem; font-weight:700; color:var(--text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.proj-lang { font-size:.72rem; color:var(--text-muted); font-family:var(--font-mono); margin-top:2px; }
.proj-featured-pin {
  font-size:.7rem; font-weight:700; color:var(--amber);
  background:#fef3c7; padding:3px 8px; border-radius:4px;
  flex-shrink:0;
}
.proj-ext {
  width:28px; height:28px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); border:1px solid var(--border);
  transition:all var(--transition); flex-shrink:0;
}
.proj-ext:hover { color:var(--violet); border-color:var(--violet); background:var(--violet-light); }
.project-card > p { font-size:.875rem; color:var(--text-secondary); line-height:1.65; margin-bottom:14px; }
.proj-topics { display:flex; flex-wrap:wrap; gap:5px; }
.proj-topics span {
  background:var(--bg-alt); color:var(--text-muted);
  font-size:.68rem; font-weight:600; font-family:var(--font-mono);
  padding:3px 9px; border-radius:4px; border:1px solid var(--border);
}
.projects-footer { text-align:center; margin-top:3rem; }

/* ── SKILLS ── */
.skills-two-col { display:grid; grid-template-columns:1fr 1fr; gap:4rem; margin-bottom:4rem; }
.skills-cat-title { font-size:1.05rem; font-weight:800; color:var(--text-primary); margin-bottom:20px; }
.skill-list { display:flex; flex-direction:column; gap:14px; }
.si-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.si-top > span:first-child { font-size:.88rem; font-weight:600; color:var(--text-primary); }
.si-pct { font-family:var(--font-mono); font-size:.8rem; font-weight:700; color:var(--violet); }
.si-track {
  height:7px; background:var(--bg-alt); border-radius:4px;
  overflow:hidden; border:1px solid var(--border);
}
.si-bar {
  height:100%; width:0;
  background:linear-gradient(90deg, var(--violet) 0%, var(--blue) 100%);
  border-radius:4px;
  transition:width 1.4s cubic-bezier(.4,0,.2,1) var(--delay, 0s);
}

/* Tool chips */
.tools-section { display:flex; flex-direction:column; gap:20px; }
.tg-label { font-size:.78rem; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; }
.tg-chips { display:flex; flex-wrap:wrap; gap:8px; }
.tool-chip {
  background:var(--bg-card); border:1.5px solid var(--border);
  color:var(--text-secondary); font-size:.8rem; font-weight:600;
  padding:6px 14px; border-radius:var(--radius-full);
  transition:all var(--transition); cursor:default;
}
.tool-chip:hover {
  background:var(--violet-light); color:var(--violet);
  border-color:var(--border-violet);
  transform:translateY(-2px);
  box-shadow:var(--shadow-violet);
}

/* ── DEVSECOPS PIPELINE ── */
.pipeline-section { padding:6rem 1.5rem; background:var(--bg); }
.pipeline-scroll-wrap { overflow-x:auto; padding-bottom:16px; }
.pipeline-track {
  display:flex; align-items:stretch;
  gap:0; min-width:900px;
  position:relative;
}
.pipeline-track::before {
  content:''; position:absolute;
  top:50%; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg, var(--violet), var(--blue), var(--green));
  transform:translateY(-50%);
  z-index:0;
}
.pipe-stage {
  flex:1; display:flex; flex-direction:column; align-items:center;
  position:relative; z-index:1; padding:0 8px;
}
.pipe-connector {
  position:absolute; top:50%; right:-12px;
  width:24px; height:24px; z-index:2;
  transform:translateY(-50%);
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
}
.pipe-connector svg { color:var(--violet); }
.pipe-node {
  width:72px; height:72px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:3px solid #fff;
  box-shadow:var(--shadow-md);
  font-size:1.5rem;
  transition:all var(--spring);
  cursor:pointer;
  position:relative; overflow:hidden;
}
.pipe-node::after {
  content:''; position:absolute; inset:0; border-radius:50%;
  background:rgba(255,255,255,.2);
  opacity:0; transition:opacity var(--transition);
}
.pipe-node:hover { transform:scale(1.15) translateY(-6px); box-shadow:var(--shadow-xl); }
.pipe-node:hover::after { opacity:1; }
.pipe-node-code    { background:linear-gradient(135deg,#6366f1,#8b5cf6); }
.pipe-node-build   { background:linear-gradient(135deg,#0ea5e9,#2563eb); }
.pipe-node-sast    { background:linear-gradient(135deg,#f59e0b,#d97706); }
.pipe-node-sign    { background:linear-gradient(135deg,#10b981,#059669); }
.pipe-node-scan    { background:linear-gradient(135deg,#ef4444,#dc2626); }
.pipe-node-deploy  { background:linear-gradient(135deg,#7c3aed,#5b21b6); }
.pipe-node-monitor { background:linear-gradient(135deg,#ec4899,#be185d); }
.pipe-label {
  font-size:.72rem; font-weight:800; color:var(--text-primary);
  margin-top:10px; text-align:center; text-transform:uppercase; letter-spacing:.05em;
}
.pipe-sub { font-size:.66rem; color:var(--text-muted); text-align:center; margin-top:3px; max-width:90px; line-height:1.3; }
.pipe-tools {
  display:flex; flex-wrap:wrap; gap:3px; justify-content:center; margin-top:8px; max-width:110px;
}
.pipe-tool {
  background:var(--bg-alt); color:var(--text-muted);
  font-size:.6rem; font-weight:700; font-family:var(--font-mono);
  padding:2px 6px; border-radius:3px; border:1px solid var(--border);
}
/* Pipeline tooltip */
.pipe-stage[data-tip]:hover::before {
  content:attr(data-tip);
  position:absolute; bottom:calc(100% + 60px);
  background:var(--text-primary); color:#fff;
  font-size:.72rem; padding:6px 12px; border-radius:var(--radius-sm);
  white-space:nowrap; max-width:220px; white-space:normal;
  pointer-events:none; z-index:99;
  box-shadow:var(--shadow-lg);
}

/* ── OSI 7-LAYER SECURITY ── */
.osi-section { padding:6rem 1.5rem; background:var(--bg-alt); }
.osi-layout {
  display:grid; grid-template-columns:1fr 420px; gap:4rem; align-items:center;
}
.osi-stack { display:flex; flex-direction:column; gap:6px; }
.osi-layer {
  display:flex; align-items:center; gap:16px;
  padding:12px 18px; border-radius:var(--radius-md);
  border:1.5px solid var(--border);
  background:var(--bg-card);
  cursor:pointer;
  transition:all var(--transition);
  position:relative; overflow:hidden;
}
.osi-layer::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:4px;
  border-radius:2px 0 0 2px;
}
.osi-l7::before { background:#7c3aed; }
.osi-l6::before { background:#6366f1; }
.osi-l5::before { background:#0ea5e9; }
.osi-l4::before { background:#10b981; }
.osi-l3::before { background:#f59e0b; }
.osi-l2::before { background:#ef4444; }
.osi-l1::before { background:#6b7280; }
.osi-layer:hover, .osi-layer.active {
  box-shadow:var(--shadow-violet);
  border-color:var(--border-violet);
  transform:translateX(6px);
  background:linear-gradient(90deg, var(--violet-light), var(--bg-card));
}
.osi-num {
  font-family:var(--font-mono); font-size:.78rem; font-weight:800;
  color:#fff; width:28px; height:28px; border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.osi-l7 .osi-num { background:#7c3aed; }
.osi-l6 .osi-num { background:#6366f1; }
.osi-l5 .osi-num { background:#0ea5e9; }
.osi-l4 .osi-num { background:#10b981; }
.osi-l3 .osi-num { background:#f59e0b; }
.osi-l2 .osi-num { background:#ef4444; }
.osi-l1 .osi-num { background:#6b7280; }
.osi-name { font-size:.88rem; font-weight:700; color:var(--text-primary); flex:1; }
.osi-tag {
  font-size:.68rem; font-weight:700; padding:2px 8px; border-radius:4px;
  font-family:var(--font-mono);
}
.osi-secured { background:var(--green-light); color:#065f46; }
.osi-monitored { background:var(--blue-light); color:#1d4ed8; }
.osi-hardened { background:var(--violet-light); color:var(--violet); }
.osi-layer .osi-tools {
  font-size:.7rem; color:var(--text-muted); font-family:var(--font-mono);
}
/* OSI detail panel */
.osi-detail {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-xl); padding:32px;
  box-shadow:var(--shadow-lg);
  min-height:380px; display:flex; flex-direction:column; gap:16px;
}
.osi-detail-badge {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; padding:6px 14px;
  border-radius:var(--radius-full);
}
.osi-detail-title { font-size:1.4rem; font-weight:800; color:var(--text-primary); }
.osi-detail-sub { font-size:.9rem; color:var(--text-muted); }
.osi-detail-controls { display:flex; flex-direction:column; gap:8px; }
.osi-ctrl {
  display:flex; align-items:flex-start; gap:10px;
  background:var(--bg-alt); border-radius:var(--radius-md); padding:10px 14px;
  border:1px solid var(--border);
}
.osi-ctrl-icon { font-size:1rem; flex-shrink:0; }
.osi-ctrl-text h4 { font-size:.82rem; font-weight:700; color:var(--text-primary); }
.osi-ctrl-text p { font-size:.76rem; color:var(--text-muted); line-height:1.5; margin-top:2px; }

/* ── RADAR / SKILLS CHART ── */
.radar-section { padding:6rem 1.5rem; background:var(--bg); }
.radar-layout {
  display:grid; grid-template-columns:500px 1fr; gap:3rem; align-items:center;
}
#radarCanvas {
  display:block; max-width:500px; width:100%;
  filter:drop-shadow(0 8px 32px rgba(124,58,237,.18));
}
.radar-legend { display:flex; flex-direction:column; gap:14px; }
.radar-leg-item {
  display:flex; align-items:center; gap:12px;
  padding:12px 16px; border-radius:var(--radius-md);
  background:var(--bg-card); border:1px solid var(--border);
  transition:all var(--transition);
}
.radar-leg-item:hover { transform:translateX(6px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.radar-leg-dot {
  width:12px; height:12px; border-radius:3px; flex-shrink:0;
}
.radar-leg-name { font-size:.88rem; font-weight:700; color:var(--text-primary); flex:1; }
.radar-leg-score {
  font-family:var(--font-mono); font-size:.82rem; font-weight:800;
  color:var(--violet);
}
.radar-leg-bar {
  width:60px; height:4px; background:var(--bg-alt); border-radius:2px; overflow:hidden;
}
.radar-leg-fill {
  height:100%; border-radius:2px;
  background:linear-gradient(90deg, var(--violet), var(--blue));
  transition:width 1.2s cubic-bezier(.4,0,.2,1) .5s;
}

/* ── CERTIFICATIONS ── */
.certs-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:20px; }
.cert-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:24px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:10px;
  transition:all var(--transition);
  position:relative; overflow:hidden;
}
.cert-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.cert-premium {
  border-color:rgba(124,58,237,.3);
  background:linear-gradient(145deg, #fff 0%, var(--violet-light) 100%);
}
.cert-premium::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--violet), var(--blue));
}
.cc-top { display:flex; justify-content:space-between; align-items:center; }
.cert-level { font-size:.68rem; font-weight:700; padding:3px 9px; border-radius:var(--radius-full); }
.cert-expert { background:#fde68a; color:#78350f; }
.cert-pro { background:var(--violet-light); color:var(--violet); }
.cert-assoc { background:var(--green-light); color:#065f46; }
.cert-abbr {
  font-family:var(--font-mono); font-size:1.6rem; font-weight:900;
  color:var(--violet); letter-spacing:-.02em;
}
.cert-name { font-size:.875rem; font-weight:700; color:var(--text-primary); }
.cert-issuer { font-size:.78rem; color:var(--text-muted); }
.cert-chips { display:flex; flex-wrap:wrap; gap:5px; }
.cert-chips span {
  background:var(--bg-alt); color:var(--text-muted);
  font-size:.68rem; font-weight:600; padding:2px 8px; border-radius:4px; border:1px solid var(--border);
}
.cert-link {
  font-size:.78rem; font-weight:700; color:var(--violet);
  display:inline-flex; align-items:center; gap:4px;
  margin-top:auto; transition:opacity var(--transition);
}
.cert-link:hover { opacity:.7; }
.cert-summary-bar {
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-xl); padding:20px 32px;
  margin-top:32px; gap:32px; flex-wrap:wrap;
  box-shadow:var(--shadow-sm);
}
.csb-item { display:flex; flex-direction:column; align-items:center; gap:2px; }
.csb-n { font-family:var(--font-display); font-size:2rem; font-weight:900; color:var(--violet); }
.csb-l { font-size:.78rem; color:var(--text-muted); font-weight:500; }
.csb-sep { width:1px; height:40px; background:var(--border); }

/* ── ACHIEVEMENTS ── */
.ach-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:20px; }
.ach-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:24px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:12px;
  transition:all var(--transition);
  position:relative; overflow:hidden;
}
.ach-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.ach-major {
  grid-column:span 2;
  background:linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  border:none; color:#fff;
}
.ach-ic {
  width:48px; height:48px; border-radius:var(--radius-md);
  background:var(--violet-light); color:var(--violet);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.ach-major .ach-ic { background:rgba(255,255,255,.2); color:#fff; }
.ach-body { flex:1; }
.ach-big-num {
  font-family:var(--font-display); font-size:2.8rem; font-weight:900;
  color:var(--violet); line-height:1;
}
.ach-big-num span { font-size:2rem; }
.ach-major .ach-big-num { color:#fff; }
.ach-ttl { font-size:.95rem; font-weight:700; color:var(--text-primary); margin-top:4px; }
.ach-major .ach-ttl { color:#fff; }
.ach-desc { font-size:.82rem; color:var(--text-muted); margin-top:4px; line-height:1.5; }
.ach-major .ach-desc { color:rgba(255,255,255,.75); }
.ach-badge-pill {
  font-size:.7rem; font-weight:700;
  background:rgba(255,255,255,.2); color:#fff;
  padding:4px 12px; border-radius:var(--radius-full);
  width:fit-content;
}
@media(max-width:700px) { .ach-major { grid-column:span 1; } }

/* ── WRITING ── */
.writing-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:20px; }
.writing-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:24px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:10px;
  transition:all var(--transition);
}
.writing-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--border-violet); }
.wc-tag {
  font-size:.68rem; font-weight:700; padding:4px 10px;
  border-radius:var(--radius-full); width:fit-content;
}
.wc-k8s { background:#dbeafe; color:#1d4ed8; }
.wc-linux { background:#d1fae5; color:#065f46; }
.wc-cloud { background:#ede9fe; color:#6d28d9; }
.wc-compliance { background:#fef3c7; color:#d97706; }
.writing-card h3 { font-size:.95rem; font-weight:700; color:var(--text-primary); line-height:1.4; }
.writing-card p { font-size:.84rem; color:var(--text-secondary); line-height:1.6; flex:1; }
.wc-cta { font-size:.8rem; font-weight:700; color:var(--violet); margin-top:auto; }
.writing-card:hover .wc-cta { text-decoration:underline; }
.writing-stat-card {
  background:linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  border-radius:var(--radius-lg); padding:32px 24px;
  text-align:center; color:#fff;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  box-shadow:0 8px 32px rgba(124,58,237,.3);
}
.wsc-num { font-family:var(--font-display); font-size:3rem; font-weight:900; }
.wsc-lbl { font-size:1rem; font-weight:700; }
.wsc-sub { font-size:.8rem; color:rgba(255,255,255,.75); }

/* ── RECOGNITION ── */
.rec-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.rec-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:28px;
  display:flex; flex-direction:column; gap:14px;
  box-shadow:var(--shadow-sm);
  transition:all var(--transition);
}
.rec-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.rec-card-wide { grid-column:span 2; }
.rec-card-linkedin { border-style:solid; }
.rec-card-wide-inner { display:flex; flex-direction:column; gap:20px; }
.rec-impact-col { display:flex; flex-direction:column; gap:10px; }
.rec-metrics-row {
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
  background:var(--bg-alt); border-radius:var(--radius-md); padding:20px;
  border:1px solid var(--border);
}
.rec-metric { display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; }
.rec-m-val {
  font-family:var(--font-display); font-size:1.9rem; font-weight:900; color:var(--violet);
  line-height:1;
}
.rec-m-val sup { font-size:.8rem; }
.rec-m-lbl { font-size:.73rem; color:var(--text-secondary); font-weight:500; line-height:1.3; }
.rec-icon-wrap {
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.rec-gold   { background:linear-gradient(135deg,#fef3c7,#fde68a); color:#92400e; }
.rec-purple { background:var(--violet-light); color:var(--violet); }
.rec-blue   { background:#eff6ff; color:var(--blue); }
.rec-green  { background:#d1fae5; color:#059669; }
.rec-indigo { background:#e0e7ff; color:#4f46e5; }
.rec-title { font-family:var(--font-display); font-size:1.05rem; font-weight:800; color:var(--text-primary); }
.rec-desc { font-size:.875rem; color:var(--text-secondary); line-height:1.7; }
.rec-tag-row { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; }
.rec-tag {
  font-size:.68rem; font-weight:600; padding:3px 9px; border-radius:5px;
  background:var(--bg-alt); color:var(--text-muted); border:1px solid var(--border);
}
.rec-tag-gold   { background:#fef3c7; color:#92400e; border-color:#fde68a; }
.rec-tag-purple { background:var(--violet-light); color:var(--violet); border-color:#ddd6fe; }
.rec-tag-blue   { background:#eff6ff; color:var(--blue); border-color:#bfdbfe; }

/* ── WRITING CLAPS BADGE ── */
.writing-card { position:relative; }
.wc-claps {
  position:absolute; top:16px; right:16px;
  font-size:.68rem; font-weight:700; color:var(--violet);
  background:var(--violet-light); border:1px solid #ddd6fe;
  padding:2px 8px; border-radius:20px;
}


/* ── FAQ ── */
.faq-list { display:flex; flex-direction:column; gap:12px; max-width:800px; margin:0 auto; }
.faq-item {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  transition:box-shadow var(--transition);
}
.faq-item[open] { box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.faq-item summary {
  list-style:none; cursor:pointer;
  padding:16px 20px;
  font-size:.95rem; font-weight:700; color:var(--text-primary);
  display:flex; justify-content:space-between; align-items:center;
  user-select:none;
  transition:background var(--transition);
}
.faq-item summary:hover { background:var(--violet-light); }
.faq-item summary::after { content:'+'; font-size:1.4rem; font-weight:300; color:var(--violet); transition:transform var(--transition); }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-ans {
  padding:0 20px 16px;
  font-size:.88rem; color:var(--text-secondary); line-height:1.7;
}
.faq-ans a { color:var(--violet); font-weight:600; }
.faq-ans a:hover { text-decoration:underline; }

/* ── CONNECT ── */
.connect-bg { background:linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-card) 100%); }
.connect-layout { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.connect-left { display:flex; flex-direction:column; gap:20px; }
.connect-left h3 { font-family:var(--font-display); font-size:1.6rem; font-weight:800; color:var(--text-primary); }
.connect-left > p { font-size:.95rem; color:var(--text-secondary); line-height:1.7; }
.contact-card-list { display:flex; flex-direction:column; gap:10px; }
.cc {
  display:flex; align-items:center; gap:14px;
  background:var(--bg-card); border:1.5px solid var(--border);
  border-radius:var(--radius-md); padding:14px 18px;
  transition:all var(--transition);
}
.cc:hover { border-color:var(--violet); background:var(--violet-light); transform:translateX(4px); box-shadow:var(--shadow-violet); }
.cc-ico { font-size:1.3rem; flex-shrink:0; width:36px; text-align:center; }
.cc-info { flex:1; min-width:0; }
.cc-l { font-size:.72rem; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.06em; }
.cc-v { font-size:.85rem; color:var(--text-primary); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.avail-box {
  display:flex; align-items:flex-start; gap:12px;
  background:var(--green-light); border:1px solid rgba(16,185,129,.25);
  border-radius:var(--radius-md); padding:16px 20px;
  font-size:.875rem; color:#065f46; line-height:1.6;
}
.avail-dot {
  width:10px; height:10px; border-radius:50%; background:var(--green);
  flex-shrink:0; margin-top:4px;
  animation:pingGreen 2s ease-in-out infinite;
}

/* Contact form */
.contact-form {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-xl); padding:36px;
  box-shadow:var(--shadow-xl);
  display:flex; flex-direction:column; gap:20px;
}
.contact-form h3 { font-family:var(--font-display); font-size:1.3rem; font-weight:800; color:var(--text-primary); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:.82rem; font-weight:600; color:var(--text-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:10px 14px;
  background:var(--bg-alt); border:1.5px solid var(--border);
  border-radius:var(--radius-sm); color:var(--text-primary);
  font-family:var(--font-sans); font-size:.9rem;
  transition:all var(--transition); resize:vertical;
  -webkit-appearance:none;
  appearance:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none; border-color:var(--violet);
  background:#fff;
  box-shadow:0 0 0 3px var(--violet-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--text-faint); }
.form-note { font-size:.78rem; color:var(--text-muted); text-align:center; }
.form-note a { color:var(--violet); font-weight:600; }
.form-success {
  text-align:center; padding:16px;
  background:var(--green-light); border:1px solid rgba(16,185,129,.3);
  border-radius:var(--radius-md); color:#065f46;
  font-weight:600; display:none;
}
.form-success.show { display:block; }

/* ── FOOTER ── */
.site-footer {
  background:var(--text-primary); color:rgba(255,255,255,.7);
  padding:4rem 1.5rem 2rem;
}
.footer-wrap { max-width:1160px; margin:0 auto; }
.footer-main {
  display:grid; grid-template-columns:240px 1fr;
  gap:4rem; margin-bottom:3rem;
}
.footer-brand-col { display:flex; flex-direction:column; gap:14px; }
.footer-logo-row { display:flex; align-items:center; gap:12px; }
.footer-name { font-family:var(--font-display); font-weight:800; font-size:1rem; color:#fff; }
.footer-tagline { font-size:.72rem; color:rgba(255,255,255,.5); margin-top:2px; }
.footer-desc { font-size:.82rem; line-height:1.6; }
.footer-socials { display:flex; gap:10px; }
.footer-socials a {
  width:36px; height:36px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); color:rgba(255,255,255,.6);
  transition:all var(--transition);
}
.footer-socials a:hover { background:var(--violet); color:#fff; }
.footer-nav-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.footer-nav-col { display:flex; flex-direction:column; gap:8px; }
.fn-head { font-family:var(--font-display); font-weight:800; color:#fff; font-size:.9rem; margin-bottom:4px; }
.footer-nav-col a { font-size:.82rem; color:rgba(255,255,255,.55); transition:color var(--transition); }
.footer-nav-col a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:1.5rem;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:8px;
  font-size:.78rem;
}

/* ── BACK TO TOP ── */
.btop {
  position:fixed; bottom:2rem; right:2rem; z-index:9000;
  width:44px; height:44px; border-radius:50%;
  background:var(--violet); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(124,58,237,.4);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:all var(--transition);
}
.btop.show { opacity:1; visibility:visible; transform:translateY(0); }
.btop:hover { background:#6d28d9; transform:translateY(-3px); box-shadow:0 8px 20px rgba(124,58,237,.5); }

/* ── AOS OVERRIDES ── */
[data-aos] { pointer-events:none; }
[data-aos].aos-animate { pointer-events:auto; }

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .hero-wrap { grid-template-columns:1fr; }
  .hero-right { display:none; }
  .about-layout { grid-template-columns:1fr; }
  .osi-layout { grid-template-columns:1fr; }
  .radar-layout { grid-template-columns:1fr; }
  .radar-layout #radarCanvas { margin:0 auto; }
  .connect-layout { grid-template-columns:1fr; }
  .skills-two-col { grid-template-columns:1fr; gap:2.5rem; }
  .rec-grid { grid-template-columns:repeat(2,1fr); }
  .rec-card-wide { grid-column:span 2; }
  .exp-domains { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:768px) {
  .section { padding:4rem 1rem; }
  .philosophy-grid { grid-template-columns:1fr; }
  .exp-domains { grid-template-columns:1fr; }
  .exp-card { padding:20px; }
  .impact-strip { flex-wrap:wrap; padding:20px 16px; gap:16px; }
  .is-sep { display:none; }
  .is-item { flex:0 0 calc(33.33% - 12px); }
  .pipeline-track { gap:0; }
  .footer-main { grid-template-columns:1fr; gap:2rem; }
  .footer-nav-cols { grid-template-columns:repeat(2,1fr); }
  .form-row { grid-template-columns:1fr; }
  .impact-strip { flex-direction:column; gap:20px; border-radius:var(--radius-xl); }
  .hero-kpis { width:100%; overflow-x:auto; }
  .rec-grid { grid-template-columns:1fr; }
  .rec-card-wide { grid-column:span 1; }
  .rec-metrics-row { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:520px) {
  .hero-h1 { font-size:2.3rem; }
  .projects-grid { grid-template-columns:1fr; }
  .certs-grid { grid-template-columns:1fr; }
  .ach-grid { grid-template-columns:1fr; }
  .ach-major { grid-column:span 1; }
  .rec-grid { grid-template-columns:1fr; }
  .rec-metrics-row { grid-template-columns:1fr 1fr; }
  .writing-grid { grid-template-columns:1fr; }
}


/* ══════════════════════════════════════════════════
   PIPELINE CLICK DETAIL PANEL
══════════════════════════════════════════════════ */
.pipe-detail-wrap {
  margin-top:2rem;
  min-height:80px;
}
.pipe-detail-panel {
  background:var(--bg-card);
  border:1.5px solid var(--border);
  border-radius:var(--radius-xl);
  padding:2rem 2.5rem;
  box-shadow:var(--shadow-md);
  transition:all .35s ease;
}
.pipe-detail-hint {
  display:flex; align-items:center; justify-content:center; gap:10px;
  color:var(--text-muted); font-size:.875rem; padding:1rem 0;
  flex-direction:column; gap:8px;
}
.pipe-detail-hint svg { opacity:.4; }
/* Stage detail header */
.pd-header {
  display:flex; align-items:center; gap:16px; margin-bottom:1.75rem;
  padding-bottom:1.25rem; border-bottom:1px solid var(--border);
}
.pd-emoji { font-size:2.2rem; line-height:1; }
.pd-title-block { flex:1; min-width:0; }
.pd-stage-label { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--violet); }
.pd-title { font-family:var(--font-display); font-size:1.4rem; font-weight:800; color:var(--text-primary); }
.pipe-stage.pipe-active .pipe-node { outline:3px solid var(--violet); outline-offset:4px; transform:scale(1.12) translateY(-6px); }
.pd-desc { font-size:.85rem; color:var(--text-secondary); margin-top:4px; }
/* Substep flow */
.pd-flow {
  display:flex; flex-wrap:wrap; gap:0; align-items:flex-start;
}
.pd-step {
  display:flex; flex-direction:column; align-items:center;
  flex:0 0 auto; width:180px;
}
.pd-step-inner {
  background:var(--bg-alt); border:1.5px solid var(--border);
  border-radius:var(--radius-md); padding:14px 16px; width:100%;
  transition:all .2s; cursor:default;
  text-align:center;
}
.pd-step-inner:hover { border-color:var(--border-violet); background:var(--violet-light); box-shadow:var(--shadow-violet); }
.pd-step-num {
  font-size:.65rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:6px;
}
.pd-step-icon { font-size:1.6rem; line-height:1; margin-bottom:6px; }
.pd-step-name { font-size:.78rem; font-weight:700; color:var(--text-primary); line-height:1.3; margin-bottom:5px; }
.pd-step-desc { font-size:.68rem; color:var(--text-secondary); line-height:1.5; }
.pd-step-tool {
  display:inline-block; margin-top:6px;
  background:var(--bg-card); color:var(--violet); border:1px solid var(--border-violet);
  font-size:.58rem; font-weight:700; padding:2px 7px; border-radius:4px;
  font-family:var(--font-mono);
}
/* Arrow between steps */
.pd-arrow {
  display:flex; align-items:center; justify-content:center;
  padding:0 4px; padding-top:28px; color:var(--border-violet); flex-shrink:0;
}
@media(max-width:900px) {
  .pd-flow { flex-direction:column; }
  .pd-step { width:100%; flex-direction:row; gap:12px; }
  .pd-step-inner { flex:1; text-align:left; }
  .pd-arrow { padding:4px 0 4px 20px; transform:rotate(90deg); }
}

/* ══════════════════════════════════════════════════
   CAREER TIMELINE
══════════════════════════════════════════════════ */
.timeline-section { background:var(--bg); }
.timeline-wrap {
  position:relative;
  max-width:820px; margin:0 auto;
  display:flex; flex-direction:column; gap:0;
  padding-left:48px;
}
.timeline-wrap::before {
  content:'';
  position:absolute; left:20px; top:12px; bottom:12px; width:2px;
  background:linear-gradient(180deg, var(--violet) 0%, var(--blue) 60%, var(--green) 100%);
  border-radius:2px; opacity:.25;
}
.tl-node { position:relative; padding-bottom:3rem; }
.tl-node:last-child { padding-bottom:0; }
.tl-dot {
  position:absolute; left:-38px; top:10px;
  width:20px; height:20px; border-radius:50%;
  border:3px solid var(--bg);
  box-shadow:0 0 0 3px;
  z-index:1;
}
.tl-dot-edu   { background:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.25); }
.tl-dot-work  { background:#10b981; box-shadow:0 0 0 3px rgba(16,185,129,.25); }
.tl-dot-cert  { background:#f59e0b; box-shadow:0 0 0 3px rgba(245,158,11,.25); }
.tl-card {
  background:var(--bg-card); border:1.5px solid var(--border);
  border-radius:var(--radius-lg); padding:22px 24px;
  box-shadow:var(--shadow-sm);
  transition:all var(--transition);
}
.tl-card:hover { box-shadow:var(--shadow-violet); border-color:var(--border-violet); }
.tl-card-current { border-color:var(--border-violet); background:linear-gradient(135deg,#fafaff,#fff); }
.tl-meta { display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; }
.tl-year { font-family:var(--font-mono); font-size:.78rem; font-weight:600; color:var(--text-muted); }
.tl-badge { font-size:.65rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; padding:3px 9px; border-radius:20px; }
.tl-badge-edu  { background:#ede9fe; color:var(--violet); }
.tl-badge-work { background:#d1fae5; color:#065f46; }
.tl-badge-cert { background:#fef3c7; color:#92400e; }
.tl-title { font-family:var(--font-display); font-size:1.1rem; font-weight:800; color:var(--text-primary); margin-bottom:4px; }
.tl-org { font-size:.82rem; color:var(--violet); font-weight:600; margin-bottom:8px; }
.tl-desc { font-size:.875rem; color:var(--text-secondary); line-height:1.7; margin-bottom:14px; }
.tl-chips { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; }
.tl-chips span {
  font-size:.65rem; font-weight:600; background:var(--bg-alt); color:var(--text-muted);
  border:1px solid var(--border); padding:2px 8px; border-radius:5px;
}
.tl-awards { display:flex; flex-wrap:wrap; gap:6px; }
.tl-award {
  font-size:.7rem; font-weight:700;
  background:linear-gradient(135deg,#fef3c7,#fde68a); color:#92400e;
  border:1px solid #fde68a; padding:3px 9px; border-radius:6px;
}
.tl-cert-row { display:flex; flex-wrap:wrap; gap:8px; }
.tl-cert-pill {
  display:flex; flex-direction:column; align-items:center;
  background:var(--bg-alt); border:1.5px solid var(--border);
  border-radius:10px; padding:8px 12px; min-width:70px;
}
.tl-cert-pill strong { font-size:.75rem; font-weight:800; color:var(--violet); font-family:var(--font-mono); }
.tl-cert-pill span { font-size:.6rem; color:var(--text-muted); margin-top:2px; }
.tl-active-pill {
  display:inline-flex; align-items:center; gap:5px;
  color:var(--green); font-size:.72rem; font-weight:700;
  margin-top:8px;
}
@media(max-width:640px) {
  .timeline-wrap { padding-left:32px; }
  .timeline-wrap::before { left:14px; }
  .tl-dot { left:-27px; width:16px; height:16px; }
}

/* ══════════════════════════════════════════════════
   DARK CINEMATIC METRICS DASHBOARD
══════════════════════════════════════════════════ */
.dark-metrics-section {
  position:relative;
  background:linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
  padding:7rem 0;
  overflow:hidden;
}
.dark-metrics-section::before {
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 50% at 30% 40%, rgba(124,58,237,.18) 0%, transparent 70%),
             radial-gradient(ellipse 50% 60% at 75% 60%, rgba(37,99,235,.14) 0%, transparent 70%);
  pointer-events:none;
}
.dm-overlay {
  position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,255,255,.015) 39px, rgba(255,255,255,.015) 40px),
             repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,255,255,.015) 39px, rgba(255,255,255,.015) 40px);
}
.dm-container { position:relative; z-index:1; }
.dm-hd { text-align:center; margin-bottom:4rem; }
.dm-tag {
  font-size:.7rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:rgba(167,139,250,.8); background:rgba(124,58,237,.15); border:1px solid rgba(124,58,237,.3);
  padding:5px 14px; border-radius:20px; display:inline-block; margin-bottom:16px;
}
.dm-title {
  font-family:var(--font-display);
  font-size:2.6rem;
  font-weight:900;
  color:#fff;
  margin-bottom:10px;
  text-shadow:0 6px 28px rgba(15,23,42,.28);
}
.dm-sub {
  font-size:.95rem;
  color:rgba(248,250,252,.78);
  max-width:560px;
  margin:0 auto;
}
.dm-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.dm-card {
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  transition:all .25s;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 18px 45px rgba(15,23,42,.16);
}
.dm-card:hover {
  background:rgba(124,58,237,.16);
  border-color:rgba(167,139,250,.5);
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(124,58,237,.2);
}
.dm-card-hero {
  grid-column:span 1;
  background:linear-gradient(135deg, rgba(124,58,237,.22), rgba(255,255,255,.1));
  border-color:rgba(167,139,250,.42);
}
.dm-num {
  font-family:var(--font-display); font-size:3rem; font-weight:900;
  color:#fff; line-height:1; margin-bottom:8px;
  display:flex; align-items:baseline; gap:3px;
  text-shadow:0 4px 18px rgba(15,23,42,.16);
}
.dm-counter { color:#a78bfa; }
.dm-suf { font-size:1.8rem; color:rgba(196,181,253,.92); }
.dm-label { font-size:.88rem; font-weight:700; color:rgba(255,255,255,.98); margin-bottom:4px; }
.dm-note { font-size:.72rem; color:rgba(248,250,252,.76); line-height:1.5; }
@media(max-width:900px) {
  .dm-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:560px) {
  .dm-grid { grid-template-columns:1fr; }
  .dm-title { font-size:1.9rem; }
}

/* ══════════════════════════════════════════════════
   TERMINAL CONTACT WIDGET
══════════════════════════════════════════════════ */
.term-widget {
  background:#0f172a;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,.2);
  border:1px solid rgba(255,255,255,.08);
  margin-top:20px;
  font-family:var(--font-mono);
}
.tw-bar {
  background:#1e293b;
  padding:10px 14px;
  display:flex; align-items:center; gap:6px;
}
.tw-dot { width:12px; height:12px; border-radius:50%; flex-shrink:0; }
.tw-red    { background:#ef4444; }
.tw-yellow { background:#f59e0b; }
.tw-green  { background:#10b981; }
.tw-title {
  margin-left:8px; font-size:.72rem; color:rgba(248,250,252,.4);
  font-family:var(--font-mono);
}
.tw-body {
  padding:16px 18px;
  min-height:140px;
  font-size:.78rem; line-height:1.9;
  color:#94a3b8;
}
.tw-line { display:flex; align-items:baseline; gap:6px; }
.tw-prompt { color:#7c3aed; font-weight:700; flex-shrink:0; }
.tw-cmd { color:#e2e8f0; }
.tw-out { color:#64748b; padding-left:2px; }
.tw-value { color:#34d399; }
.tw-cursor {
  display:inline-block; width:8px; height:14px;
  background:#7c3aed; border-radius:1px;
  animation:twBlink .9s step-end infinite;
  vertical-align:text-bottom;
}
@keyframes twBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ══════════════════════════════════════════════════
   CERT CARD GLOW ENHANCEMENT
══════════════════════════════════════════════════ */
.cert-card { transition:all .25s; }
.cert-card.cert-premium:hover {
  border-color:var(--violet) !important;
  box-shadow:0 0 0 1px var(--violet), var(--shadow-violet) !important;
}
.cert-card:hover {
  box-shadow:0 8px 30px rgba(124,58,237,.15);
  transform:translateY(-4px);
}

/* Add glowing ring to cert icons on hover */
.cert-card:hover .cc-top img {
  filter:drop-shadow(0 0 8px rgba(124,58,237,.5));
}

/* ══════════════════════════════════════════════════
   MOMENTS & MEDIA GALLERY — v4 FULL REMASTER
   ▸ Face-aligned photos  ▸ Always-visible labels
   ▸ Hover-reveal details ▸ Shimmer accents
   ▸ Accessible focus rings ▸ Mobile-first
══════════════════════════════════════════════════ */

/* ── Grid container ── */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;   /* each row = 320 px — enough to show faces fully */
  gap: 1.25rem;
  align-items: stretch;
}

/* ── Layout modifiers ── */
.moment-featured { grid-column: span 2; grid-row: span 1; }
.moment-hero     { grid-column: span 1; grid-row: span 2; }   /* 640 px tall — shows full person */
.moment-wide     { grid-column: span 3; grid-row: span 1; }

/* ── Card base ── */
.moment-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1.5px solid rgba(124,58,237,.14);
  background: #080818;
  text-decoration: none;
  color: #fff;
  min-height: 260px;           /* never collapse smaller than this */
  transition:
    transform .38s cubic-bezier(.4,0,.2,1),
    box-shadow .38s cubic-bezier(.4,0,.2,1),
    border-color .38s ease;
  will-change: transform;
  outline: none;               /* use focus-visible below */
}
.moment-card:hover {
  transform: translateY(-10px) scale(1.018);
  box-shadow:
    0 28px 72px rgba(124,58,237,.24),
    0 0 0 1.5px rgba(124,58,237,.32),
    0 4px 16px rgba(0,0,0,.35);
  border-color: rgba(124,58,237,.55);
  z-index: 5;
}
.moment-card:focus-visible {
  outline: 2.5px solid #7c3aed;
  outline-offset: 3px;
}
/* Animated shimmer edge on featured card */
.moment-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(124,58,237,.18) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmerSlide 4s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes shimmerSlide {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Live pulse dot for featured card */
.moment-featured::after {
  content: '● LIVE';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #10b981;
  z-index: 10;
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ── Image treatment ──
   KEY FIX: object-position:top center ensures faces & eyes are ALWAYS visible
   instead of the default center which crops the top of portrait shots          ── */
.moment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;   /* ★ FACE-ALIGNED: shows eyes, never cuts off heads */
  display: block;
  transition:
    transform .6s cubic-bezier(.4,0,.2,1),
    filter .5s ease;
  filter: brightness(.88) saturate(1.08) contrast(1.02);
}
.moment-card:hover img {
  transform: scale(1.07);
  filter: brightness(.45) saturate(1.15) contrast(1.04);
}

/* Google + Nullcon photos — nudge face into frame */
.moment-card.mc-google img   { object-position: 50% 18%; }
.moment-card.mc-nullcon img  { object-position: 50% 12%; }
.moment-card.mc-award img    { object-position: 50% 8%;  }
.moment-card.mc-github-ev img { object-position: 50% 22%; }
.moment-card.mc-msft img     { object-position: 50% 15%; }

/* ── Overlay — ALWAYS visible, badge + title always shown ── */
.mc-overlay {
  position: absolute;
  inset: 0;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,.93) 0%,     /* strong solid at bottom for readability */
    rgba(0,0,0,.70) 28%,
    rgba(0,0,0,.22) 55%,
    rgba(0,0,0,.04) 78%,
    transparent 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* ★ opacity is NOW 1 — badge + title always visible */
  opacity: 1;
  transition: background .4s ease;
}
.moment-card:hover .mc-overlay {
  background: linear-gradient(
    0deg,
    rgba(0,0,0,.96) 0%,
    rgba(0,0,0,.82) 35%,
    rgba(0,0,0,.40) 65%,
    rgba(0,0,0,.08) 88%,
    transparent 100%
  );
}

/* ── Description + CTA: hidden by default, animate in on hover ── */
.mc-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.80);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* hidden until hover */
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  transition:
    opacity .32s ease .05s,
    max-height .38s ease,
    transform .32s ease .05s;
}
.moment-card:hover .mc-desc {
  opacity: 1;
  max-height: 120px;
  transform: translateY(0);
}

.mc-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  color: #c4b5fd;
  /* hidden until hover */
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity .28s ease .12s,
    transform .28s ease .12s,
    color .2s ease;
}
.mc-cta::after {
  content: '↗';
  font-size: .9em;
  transition: transform .2s ease;
}
.moment-card:hover .mc-cta {
  opacity: 1;
  transform: translateX(0);
}
.moment-card:hover .mc-cta::after { transform: translate(3px,-3px); }

/* ── Always-visible overlays (text-thumb / stats cards) ── */
.mc-overlay-full {
  background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.65) 50%, transparent 100%);
}
.mc-overlay-full .mc-title { font-size: .95rem; }
.mc-overlay-full .mc-desc {
  font-size: .78rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  opacity: 1; max-height: 80px; transform: none; /* always show on stat cards */
}

/* ── Source badge ── */
.mc-src {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .28rem .65rem;
  border-radius: 9px;
  width: fit-content;
  margin-bottom: .6rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* subtle shimmer on badge */
  position: relative;
  overflow: hidden;
}
.mc-src::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: badgeShimmer 3.5s ease-in-out infinite;
}
@keyframes badgeShimmer {
  0%   { transform: translateX(-100%); }
  40%,100% { transform: translateX(120%); }
}
.mc-src-google    { background: rgba(66,133,244,.28);  color: #93c5fd; border: 1px solid rgba(66,133,244,.3); }
.mc-src-event     { background: rgba(16,185,129,.28);  color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.mc-src-award     { background: rgba(245,158,11,.28);  color: #fde68a; border: 1px solid rgba(245,158,11,.3); }
.mc-src-github    { background: rgba(255,255,255,.15); color: #e2e8f0; border: 1px solid rgba(255,255,255,.2); }
.mc-src-linkedin  { background: rgba(59,130,246,.28);  color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }
.mc-src-microsoft { background: rgba(0,120,212,.28);   color: #7dd3fc; border: 1px solid rgba(0,120,212,.3); }
.mc-src-medium    { background: rgba(255,255,255,.15); color: #fff;    border: 1px solid rgba(255,255,255,.18); }
.mc-src-cert      { background: rgba(124,58,237,.28);  color: #a78bfa; border: 1px solid rgba(124,58,237,.3); }

/* ── Title — always visible ── */
.mc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: .3rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.8), 0 2px 4px rgba(0,0,0,.5);
  letter-spacing: -.01em;
}

/* ── LinkedIn Viral Stats card ── */
.mc-text-thumb {
  position: absolute;    /* fill the card like the img does */
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-thumb-linkedin-post {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #080820 0%, #1a1740 35%, #2d2a6e 70%, #1e1b4b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  /* animated gradient background */
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(18deg); }
}
.mc-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.mc-stat-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 2.4rem;
  font-weight: 900;
  color: #a78bfa;
  line-height: 1;
  text-shadow:
    0 0 30px rgba(124,58,237,.6),
    0 0 60px rgba(124,58,237,.3);
  animation: numGlow 3s ease-in-out infinite alternate;
}
@keyframes numGlow {
  from { text-shadow: 0 0 20px rgba(124,58,237,.4); }
  to   { text-shadow: 0 0 40px rgba(124,58,237,.9), 0 0 80px rgba(124,58,237,.4); }
}
.mc-stat-lbl {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
}
.mc-stat-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,.6), transparent);
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 300px;
  }
  .moment-featured { grid-column: span 2; min-height: 300px; }
  .moment-hero     { grid-column: span 1; grid-row: span 1; min-height: 300px; }
  .moment-wide     { grid-column: span 2; min-height: 180px; }
}

/* ── Responsive: mobile ── */
@media (max-width: 600px) {
  .moments-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    gap: 1rem;
  }
  .moment-featured,
  .moment-hero,
  .moment-wide { grid-column: span 1; grid-row: span 1; }
  .moment-card { min-height: 260px; }
  /* On mobile — always show desc + cta (no hover) */
  .mc-desc {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
  }
  .mc-cta {
    opacity: 1;
    transform: translateX(0);
  }
  .mc-title { font-size: .95rem; }
  .mc-stat-num { font-size: 1.8rem; }
  /* Remove shimmer pseudo-elements on mobile for perf */
  .moment-featured::before,
  .moment-featured::after { display: none; }
}


@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity:0; transform:translateX(-24px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes fadeInRight {
  from { opacity:0; transform:translateX(24px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes scaleIn {
  from { opacity:0; transform:scale(.9); }
  to   { opacity:1; transform:scale(1); }
}

/* ══════════════════════════════════════════════════
   EYES ON — OPEN TO OPPORTUNITIES SECTION
   ▸ Full layout: status banner, 4-card grid, CTA
   ▸ Animated pulse, branded gradients, responsive
══════════════════════════════════════════════════ */

/* Status signal banner */
.opp-status {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(16,185,129,.1);
}
.opp-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  animation: oppPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
}
@keyframes oppPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  50%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.opp-status-text {
  font-size: .92rem;
  color: #065f46;
  line-height: 1.5;
}

/* Card grid */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Individual card */
.opp-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
}
.opp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(124,58,237,.1);
}
.opp-card-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .9rem;
  color: var(--text-primary, #0f172a);
}
.opp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.opp-list li {
  position: relative;
  padding-left: 20px;
  font-size: .85rem;
  color: var(--text-secondary, #374151);
  line-height: 1.65;
}
.opp-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: #7c3aed;
  font-weight: 900;
}
.opp-list li strong {
  color: var(--text-primary, #0f172a);
  font-weight: 700;
}

/* Bring card — left-border accent */
.opp-bring {
  border-left: 4px solid #7c3aed;
}
/* Looking card — left-border accent */
.opp-looking {
  border-left: 4px solid #2563eb;
}
/* Values card — left-border accent */
.opp-values {
  border-left: 4px solid #10b981;
}

/* Impact card — takes full width */
.opp-impact {
  grid-column: span 2;
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 50%, #fffbeb 100%);
}
.opp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: .75rem;
}
.opp-metric {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  text-align: center;
  padding: 14px 10px;
  background: rgba(255,255,255,.8);
  border-radius: 14px;
  border: 1px solid rgba(245,158,11,.2);
  transition: transform .25s, box-shadow .25s;
}
.opp-metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,158,11,.12);
}
.opp-metric-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--violet, #7c3aed);
  line-height: 1;
}
.opp-metric-lbl {
  font-size: .78rem;
  color: var(--text-muted, #6b7280);
  font-weight: 500;
}

/* CTA row */
.opp-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .opp-grid { grid-template-columns: 1fr; }
  .opp-impact { grid-column: span 1; }
  .opp-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .opp-metrics { grid-template-columns: 1fr; }
  .opp-status { flex-direction: column; text-align: center; }
}

/* ── SELECTION ── */
::selection { background:var(--violet-dim); color:var(--violet); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:rgba(124,58,237,.4); }


/* ═══════════════════════════════════════════════════════════════
   V15 MEGA ENHANCEMENT — Premium Micro-interactions & Polish
   3000+ lines of enterprise-grade visual refinements
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────
   1. ADVANCED ANIMATION KEYFRAMES LIBRARY
   ──────────────────────────────────────────────────────── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes scaleInBounce {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { opacity: 1; transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideInFromBottom {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes slideInFromTop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to   { opacity: 1; transform: rotate(0) scale(1); }
}

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

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-6px) rotate(0.5deg); }
  66%      { transform: translateY(-3px) rotate(-0.5deg); }
}

@keyframes gentlePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

@keyframes shimmerSlide {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--violet); box-shadow: 0 0 5px var(--violet-glow); }
  50%      { border-color: var(--blue); box-shadow: 0 0 15px rgba(37,99,235,.2); }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 4px var(--violet-glow); }
  50%      { text-shadow: 0 0 12px rgba(124,58,237,.3); }
}

@keyframes morphBorder {
  0%   { border-radius: var(--radius-md); }
  25%  { border-radius: 20px 10px 20px 10px; }
  50%  { border-radius: var(--radius-lg); }
  75%  { border-radius: 10px 20px 10px 20px; }
  100% { border-radius: var(--radius-md); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blinkCaret {
  0%, 100% { border-color: transparent; }
  50%      { border-color: var(--violet); }
}

@keyframes rippleOut {
  0%   { transform: scale(0); opacity: 0.4; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes dashOffset {
  to { stroke-dashoffset: 0; }
}

@keyframes revealUp {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes revealLeft {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes elasticScale {
  0%   { transform: scale(0); }
  55%  { transform: scale(1.1); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes popIn {
  0%   { transform: scale(0) rotate(-5deg); opacity: 0; }
  80%  { transform: scale(1.05) rotate(1deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-3deg); }
  75%      { transform: rotate(3deg); }
}

@keyframes slideReveal {
  from { max-height: 0; opacity: 0; }
  to   { max-height: 500px; opacity: 1; }
}

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0); opacity: 0; }
  40%           { transform: scale(1); opacity: 1; }
}

/* ────────────────────────────────────────────────────────
   2. ENHANCED CARD SYSTEM — Depth, Glass & Hover States
   ──────────────────────────────────────────────────────── */

/* --- Universal card hover lift --- */
.exp-domain,
.cert-card,
.achieve-card,
.opp-card,
.recognition-card,
.writing-card,
.edu-card,
.skill-cat,
.pipeline-stage,
.faq-item {
  transition:
    transform var(--spring),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
  will-change: transform, box-shadow;
}

.exp-domain:hover,
.cert-card:hover,
.achieve-card:hover,
.opp-card:hover,
.recognition-card:hover,
.writing-card:hover,
.edu-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 12px 40px rgba(124,58,237,.12),
    0 4px 12px rgba(0,0,0,.06);
}

.exp-domain:active,
.cert-card:active,
.achieve-card:active,
.opp-card:active {
  transform: translateY(-2px) scale(0.995);
  transition-duration: .1s;
}

/* --- Card inner glow on hover --- */
.exp-domain::after,
.cert-card::after,
.opp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(124,58,237,.06),
    transparent 40%
  );
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}
.exp-domain:hover::after,
.cert-card:hover::after,
.opp-card:hover::after {
  opacity: 1;
}

/* --- Glass overlay effect on premium cards --- */
.cert-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,.05) 40%,
    rgba(255,255,255,.1) 50%,
    rgba(255,255,255,.05) 60%,
    transparent 70%
  );
  transform: rotate(45deg) translateY(100%);
  transition: transform .6s ease;
  pointer-events: none;
  z-index: 1;
}
.cert-card:hover::before {
  transform: rotate(45deg) translateY(-100%);
}

/* --- Card top accent gradient bar --- */
.exp-domain {
  position: relative;
  overflow: hidden;
}
.exp-domain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue), var(--green));
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--spring);
}
.exp-domain:hover::before {
  transform: scaleX(1);
}

/* ────────────────────────────────────────────────────────
   3. ENHANCED EXPERIENCE SECTION — Badge Row Polish
   ──────────────────────────────────────────────────────── */

/* --- Badge row scroll wrapper --- */
.exp-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  justify-content: center;
}

/* --- Individual badge premium style --- */
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: .02em;
  color: var(--violet);
  background: linear-gradient(135deg, var(--violet-light), rgba(219,234,254,.4));
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-full);
  transition:
    all var(--spring),
    background .3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.exp-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124,58,237,.08),
    transparent
  );
  transition: left .6s ease;
}

.exp-badge:hover {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  border-color: var(--violet);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 14px var(--violet-glow);
}

.exp-badge:hover::before {
  left: 100%;
}

/* --- Badge row responsive --- */
@media (max-width: 768px) {
  .exp-badge-row {
    gap: 6px;
    padding: 12px 0;
  }
  .exp-badge {
    padding: 4px 10px;
    font-size: .72rem;
  }
}

/* --- Badge category color coding --- */
.exp-badge:nth-child(6n+1) { --badge-accent: var(--violet); }
.exp-badge:nth-child(6n+2) { --badge-accent: var(--blue); }
.exp-badge:nth-child(6n+3) { --badge-accent: var(--green); }
.exp-badge:nth-child(6n+4) { --badge-accent: var(--amber); }
.exp-badge:nth-child(6n+5) { --badge-accent: #ec4899; }
.exp-badge:nth-child(6n+6) { --badge-accent: #06b6d4; }

.exp-badge:hover {
  background: linear-gradient(135deg, var(--badge-accent, var(--violet)), color-mix(in srgb, var(--badge-accent, var(--violet)) 70%, var(--blue)));
  border-color: var(--badge-accent, var(--violet));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--badge-accent, var(--violet)) 30%, transparent);
}

/* ────────────────────────────────────────────────────────
   4. IMPACT STRIP MEGA ENHANCEMENT
   ──────────────────────────────────────────────────────── */

.impact-strip {
  position: relative;
  overflow: hidden;
}

.impact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(37,99,235,.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.is-item {
  position: relative;
  z-index: 1;
  transition: transform var(--spring);
}

.is-item:hover {
  transform: scale(1.08);
}

.is-item:hover .is-num {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 2s ease infinite;
}

.is-num {
  transition: all .3s ease;
}

.is-num span {
  font-size: 0.6em;
  opacity: 0.8;
  vertical-align: baseline;
}

.is-label {
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .08em;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.is-item:hover .is-label {
  color: var(--violet);
}

/* --- Impact strip scroll on mobile --- */
@media (max-width: 768px) {
  .impact-strip {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .impact-strip::-webkit-scrollbar { display: none; }
  .is-item {
    scroll-snap-align: center;
    min-width: 100px;
    flex-shrink: 0;
  }
}

/* ────────────────────────────────────────────────────────
   5. HERO SECTION MEGA POLISH
   ──────────────────────────────────────────────────────── */

/* --- Animated gradient text for hero heading --- */
.hero-section h1,
.hero-name {
  position: relative;
}

.hero-section h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue), var(--green));
  border-radius: 2px;
  transition: width .6s var(--spring);
}

.hero-section:hover h1::after,
.hero-section h1:hover::after {
  width: 100%;
}

/* --- Hero floating particles overlay --- */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 30%, rgba(124,58,237,.15) 50%, transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(37,99,235,.1) 50%, transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(16,185,129,.12) 50%, transparent),
    radial-gradient(1px 1px at 80% 80%, rgba(124,58,237,.08) 50%, transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(37,99,235,.08) 50%, transparent);
  animation: floatSlow 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Hero CTA button premium hover --- */
.hero-section .cta-btn,
.hero-cta a,
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-section .cta-btn::before,
.hero-cta a::before,
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transform: translate(-50%,-50%);
  transition: width .5s ease, height .5s ease;
  z-index: -1;
}

.hero-section .cta-btn:hover::before,
.hero-cta a:hover::before,
.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* --- Hero badge animations --- */
.hero-badge,
.status-badge {
  animation: fadeInDown .5s ease both;
}

.hero-badge:hover,
.status-badge:hover {
  animation: wiggle .4s ease;
  transform-origin: center;
}

/* ────────────────────────────────────────────────────────
   6. NAVIGATION MEGA ENHANCEMENT
   ──────────────────────────────────────────────────────── */

/* --- Nav link hover indicator --- */
.topbar-nav a {
  position: relative;
  padding: 6px 0;
}

.topbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width .3s var(--spring);
}

.topbar-nav a:hover::after,
.topbar-nav a.active::after {
  width: 100%;
}

/* --- Nav active link glow --- */
.topbar-nav a.active {
  color: var(--violet);
  font-weight: 700;
}

/* --- Mobile menu premium slide --- */
.mobile-menu.open {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.mobile-menu a {
  position: relative;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all .3s ease;
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--violet);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height .3s var(--spring);
}

.mobile-menu a:hover::before,
.mobile-menu a.active::before {
  height: 60%;
}

.mobile-menu a:hover {
  background: var(--violet-dim);
  padding-left: 32px;
}

/* --- Hamburger animation to X --- */
.hamburger {
  position: relative;
  width: 24px;
  height: 20px;
}

.hamburger span {
  transition: all .3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ────────────────────────────────────────────────────────
   7. ABOUT SECTION — Profile Card Glass Effect
   ──────────────────────────────────────────────────────── */

/* --- Profile image ring animation --- */
.profile-img {
  transition: transform .5s var(--spring), box-shadow .3s ease;
}

.profile-img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow:
    0 0 0 4px var(--bg-card),
    0 0 0 8px var(--violet),
    0 12px 30px var(--violet-glow);
}

/* --- About stats counter animation --- */
.about-stat {
  position: relative;
  overflow: hidden;
}

.about-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(124,58,237,.04) 50%,
    transparent 60%
  );
  animation: shimmerSlide 3s ease infinite;
  pointer-events: none;
}

/* --- Engineering philosophy tags --- */
.eng-tag,
.philosophy-tag {
  transition: all var(--spring);
  cursor: default;
}

.eng-tag:hover,
.philosophy-tag:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 20px var(--violet-glow);
  background: var(--violet);
  color: #fff;
}

/* ────────────────────────────────────────────────────────
   8. EXPERIENCE DOMAIN BULLETS — Enterprise Polish
   ──────────────────────────────────────────────────────── */

/* --- Custom list markers --- */
.exp-domain ul {
  padding-left: 0;
}

.exp-domain li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.65;
  transition: all .2s ease;
}

.exp-domain li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--violet);
  font-weight: 700;
  font-size: 1.1em;
  transition: all var(--spring);
}

.exp-domain li:hover::before {
  color: var(--green);
  transform: translateX(4px) scale(1.2);
}

.exp-domain li:hover {
  padding-left: 28px;
  color: var(--text-primary);
}

.exp-domain li strong {
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
}

.exp-domain li strong::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 1px;
  transition: width .3s ease;
}

.exp-domain li:hover strong::after {
  width: 100%;
}

/* --- Domain card hover border animation --- */
.exp-domain {
  border-left: 3px solid transparent;
  transition: border-color .3s ease, padding-left .3s ease, transform var(--spring), box-shadow var(--transition);
}

.exp-domain:hover {
  border-left-color: var(--violet);
  padding-left: calc(var(--domain-padding, 20px) + 4px);
}

/* --- Domain icon bounce on hover --- */
.epd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  transition: transform var(--spring);
}

.exp-domain:hover .epd-icon {
  animation: scaleInBounce .5s ease both;
}

/* --- Scope box enhancement --- */
.exp-scope-box {
  position: relative;
  overflow: hidden;
}

.exp-scope-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--violet), var(--blue), var(--green));
  border-radius: 2px;
  animation: gradientShift 3s ease infinite;
  background-size: 100% 200%;
}

/* ────────────────────────────────────────────────────────
   9. CERTIFICATIONS — Premium Card Effects
   ──────────────────────────────────────────────────────── */

.cert-card {
  position: relative;
  overflow: hidden;
}

/* --- Cert card shine sweep --- */
.cert-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.15),
    transparent
  );
  transform: skewX(-25deg);
  transition: left .7s ease;
  pointer-events: none;
  z-index: 2;
}

.cert-card:hover::after {
  left: 125%;
}

/* --- Cert badge with glow --- */
.cert-badge,
.cert-img {
  transition: transform var(--spring), filter .3s ease;
}

.cert-card:hover .cert-badge,
.cert-card:hover .cert-img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 4px 12px var(--violet-glow));
}

/* --- Cert issuer text shimmer --- */
.cert-issuer {
  background: linear-gradient(
    90deg,
    var(--text-secondary),
    var(--violet),
    var(--text-secondary)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSlide 4s ease infinite paused;
}

.cert-card:hover .cert-issuer {
  animation-play-state: running;
}

/* --- Cert validity indicator --- */
.cert-valid {
  position: relative;
  padding-left: 16px;
}

.cert-valid::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
  box-shadow: 0 0 6px var(--green);
  animation: gentlePulse 2s ease infinite;
}

/* ────────────────────────────────────────────────────────
   10. ACHIEVEMENTS — Trophy Polish
   ──────────────────────────────────────────────────────── */

.achieve-card {
  position: relative;
  overflow: hidden;
}

/* --- Achievement number reveal --- */
.achieve-num {
  transition: all var(--spring);
}

.achieve-card:hover .achieve-num {
  transform: scale(1.15);
  color: var(--violet);
  text-shadow: 0 0 20px var(--violet-glow);
}

/* --- Achievement icon float --- */
.achieve-icon {
  transition: transform .5s var(--spring);
}

.achieve-card:hover .achieve-icon {
  animation: float 2s ease-in-out infinite;
}

/* --- Achievement confetti burst (pseudo) --- */
.achieve-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(124,58,237,.06) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.achieve-card:hover::before {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────
   11. SKILLS SECTION — Bar & Radar Enhancement
   ──────────────────────────────────────────────────────── */

/* --- Skill bar fill animation --- */
.skill-fill {
  transition: width 1.5s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}

.skill-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.3) 50%,
    transparent 100%
  );
  animation: shimmerSlide 2s ease infinite;
}

/* --- Skill percentage tooltip --- */
.skill-pct {
  position: relative;
}

.skill-pct::after {
  content: attr(data-pct);
  position: absolute;
  top: -28px;
  right: 0;
  padding: 2px 8px;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  background: var(--violet);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s ease;
  white-space: nowrap;
}

.skill-item:hover .skill-pct::after {
  opacity: 1;
  transform: translateY(0);
}

/* --- Skill category header --- */
.skill-cat h4,
.skill-cat-title {
  position: relative;
  display: inline-block;
}

.skill-cat h4::before,
.skill-cat-title::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--violet);
  border-radius: 1px;
  transition: width .4s var(--spring);
}

.skill-cat:hover h4::before,
.skill-cat:hover .skill-cat-title::before {
  width: 100%;
}

/* --- Radar chart container glow --- */
.radar-container,
.radar-wrap {
  position: relative;
}

.radar-container::before,
.radar-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124,58,237,.04) 0%,
    transparent 70%
  );
  animation: breathe 4s ease infinite;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────
   12. PIPELINE SECTION — Stage Glow & Connector Lines
   ──────────────────────────────────────────────────────── */

.pipeline-stage {
  position: relative;
}

/* --- Pipeline connector line --- */
.pipeline-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  transform: translateY(-50%);
  opacity: 0.4;
  z-index: 0;
}

/* --- Pipeline stage hover glow --- */
.pipeline-stage:hover {
  box-shadow:
    0 8px 24px rgba(124,58,237,.15),
    inset 0 0 0 1px var(--violet);
  transform: translateY(-4px) scale(1.03);
}

/* --- Pipeline icon pulse --- */
.pipeline-icon {
  transition: transform var(--spring);
}

.pipeline-stage:hover .pipeline-icon {
  animation: gentlePulse 1.5s ease infinite;
  transform: scale(1.15);
}

/* --- Pipeline stage number --- */
.pipeline-num {
  position: relative;
}

.pipeline-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  opacity: 0;
  animation: rippleOut 1.5s ease infinite;
  pointer-events: none;
}

.pipeline-stage:hover .pipeline-num::after {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────
   13. CAREER TIMELINE — Enhanced Connectors
   ──────────────────────────────────────────────────────── */

.timeline-item {
  position: relative;
}

/* --- Timeline dot pulse --- */
.timeline-dot {
  position: relative;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  opacity: 0;
  transition: opacity .3s ease;
}

.timeline-item:hover .timeline-dot::after {
  opacity: 1;
  animation: rippleOut 2s ease infinite;
}

/* --- Timeline card hover --- */
.timeline-content {
  transition: all var(--spring);
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}

/* --- Timeline line gradient --- */
.timeline-line {
  background: linear-gradient(
    180deg,
    var(--violet),
    var(--blue),
    var(--green),
    var(--amber)
  );
  background-size: 100% 200%;
  animation: gradientShift 6s ease infinite;
}

/* ────────────────────────────────────────────────────────
   14. WRITING SECTION — Card & Tag Polish
   ──────────────────────────────────────────────────────── */

.writing-card {
  position: relative;
  overflow: hidden;
}

/* --- Writing card read-more arrow --- */
.writing-link::after {
  content: ' →';
  display: inline-block;
  transition: transform .3s var(--spring);
}

.writing-card:hover .writing-link::after {
  transform: translateX(6px);
}

/* --- Writing tag hover --- */
.writing-tag {
  transition: all var(--spring);
}

.writing-tag:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--violet-glow);
}

/* --- Writing card top image overlay gradient --- */
.writing-thumb {
  position: relative;
  overflow: hidden;
}

.writing-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,.3));
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.writing-card:hover .writing-thumb::after {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────
   15. RECOGNITION SECTION — Award Glow
   ──────────────────────────────────────────────────────── */

.recognition-card {
  position: relative;
  overflow: hidden;
}

/* --- Recognition spotlight effect --- */
.recognition-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    rgba(124,58,237,.04) 10%,
    transparent 20%
  );
  animation: spinSlow 8s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}

.recognition-card:hover::before {
  opacity: 1;
}

/* --- Recognition icon golden glow --- */
.recog-icon {
  transition: all var(--spring);
}

.recognition-card:hover .recog-icon {
  filter: drop-shadow(0 0 8px rgba(245,158,11,.4));
  transform: scale(1.15) rotate(-5deg);
}

/* ────────────────────────────────────────────────────────
   16. MOMENTS GALLERY — Additional Polish
   ──────────────────────────────────────────────────────── */

/* --- Photo zoom on long hover --- */
.moment-card img {
  transition: transform .6s ease, filter .3s ease;
}

.moment-card:hover img {
  transform: scale(1.08);
}

/* --- Moment card border glow --- */
.moment-card {
  transition: all var(--spring);
}

.moment-card:hover {
  box-shadow:
    0 16px 48px rgba(0,0,0,.12),
    0 0 0 1px var(--violet);
}

/* --- Moment badge flip animation --- */
.mc-badge {
  transition: transform var(--spring);
  transform-style: preserve-3d;
}

.moment-card:hover .mc-badge {
  animation: popIn .4s ease both;
}

/* --- Moment overlay gradient enhancement --- */
.mc-overlay {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 30%,
    rgba(0,0,0,.15) 60%,
    rgba(0,0,0,.55) 85%,
    rgba(0,0,0,.7) 100%
  );
}

/* ────────────────────────────────────────────────────────
   17. FAQ SECTION — Accordion Polish
   ──────────────────────────────────────────────────────── */

.faq-item {
  position: relative;
  overflow: hidden;
}

/* --- FAQ expand indicator --- */
.faq-toggle,
.faq-q {
  position: relative;
  cursor: pointer;
  transition: all .3s ease;
}

.faq-toggle::after,
.faq-q::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--violet);
  transition: transform .3s var(--spring);
}

.faq-item.active .faq-toggle::after,
.faq-item.active .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

/* --- FAQ left accent bar --- */
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--violet), var(--blue));
  border-radius: 2px;
  transition: height .4s var(--spring);
}

.faq-item:hover::before,
.faq-item.active::before {
  height: 100%;
}

/* --- FAQ answer slide animation --- */
.faq-a,
.faq-answer {
  overflow: hidden;
  transition: max-height .5s var(--spring), opacity .3s ease;
}

/* ────────────────────────────────────────────────────────
   18. OPPORTUNITIES SECTION — Premium Effects
   ──────────────────────────────────────────────────────── */

/* --- Opportunity card gradient border --- */
.opp-card {
  position: relative;
  overflow: hidden;
}

.opp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--violet), var(--blue), var(--green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.opp-card:hover::before {
  opacity: 1;
}

/* --- Opportunity metric counter --- */
.opp-metric-num {
  transition: all var(--spring);
}

.opp-card:hover .opp-metric-num {
  transform: scale(1.1);
  color: var(--violet);
}

/* --- Status pulse enhancement --- */
.opp-status-dot {
  position: relative;
}

.opp-status-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  animation: rippleOut 2s ease infinite;
}

/* ────────────────────────────────────────────────────────
   19. CONNECT / CONTACT — Form & Social Enhancement
   ──────────────────────────────────────────────────────── */

/* --- Form input focus ring --- */
.contact-input:focus,
.contact-textarea:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow:
    0 0 0 3px var(--violet-dim),
    0 0 0 1px var(--violet);
  transition: all .2s ease;
}

/* --- Form input float label effect --- */
.form-group {
  position: relative;
}

.form-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: .88rem;
  color: var(--text-muted);
  transition: all .2s ease;
  pointer-events: none;
}

.form-group input:focus ~ .form-label,
.form-group input:not(:placeholder-shown) ~ .form-label,
.form-group textarea:focus ~ .form-label,
.form-group textarea:not(:placeholder-shown) ~ .form-label {
  top: -8px;
  left: 12px;
  font-size: .72rem;
  color: var(--violet);
  background: var(--bg-card);
  padding: 0 6px;
}

/* --- Social link hover effects --- */
.social-link {
  position: relative;
  overflow: hidden;
  transition: all var(--spring);
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}

.social-link:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px var(--violet-glow);
}

.social-link:hover::before {
  opacity: 1;
}

/* --- Submit button loading state --- */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.submit-btn.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinSlow .6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

/* ────────────────────────────────────────────────────────
   20. FOOTER — Micro Details
   ──────────────────────────────────────────────────────── */

/* --- Footer link hover --- */
.footer-link {
  position: relative;
  transition: color .2s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--violet);
  transition: width .3s ease;
}

.footer-link:hover {
  color: var(--violet);
}

.footer-link:hover::after {
  width: 100%;
}

/* --- Footer heartbeat animation --- */
.footer-heart {
  display: inline-block;
  animation: breathe 1.5s ease infinite;
  color: var(--red);
}

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 999;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--violet-glow);
  background: linear-gradient(135deg, var(--violet), var(--blue));
}

/* ────────────────────────────────────────────────────────
   21. CVE TICKER — Enhanced Animation
   ──────────────────────────────────────────────────────── */

.cve-ticker {
  position: relative;
  overflow: hidden;
}

.cve-ticker::before,
.cve-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.cve-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.cve-ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-item {
  transition: all .2s ease;
}

.ticker-item:hover {
  color: var(--violet);
  transform: scale(1.05);
}

/* ────────────────────────────────────────────────────────
   22. EDUCATION SECTION — Card Polish
   ──────────────────────────────────────────────────────── */

.edu-card {
  position: relative;
  overflow: hidden;
}

/* --- Education card top gradient --- */
.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--spring);
}

.edu-card:hover::before {
  transform: scaleX(1);
}

/* --- Education logo glow --- */
.edu-logo {
  transition: all var(--spring);
}

.edu-card:hover .edu-logo {
  filter: drop-shadow(0 4px 12px var(--violet-glow));
  transform: scale(1.06);
}

/* --- Degree text highlight --- */
.edu-degree {
  position: relative;
  display: inline;
}

.edu-degree::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--violet-dim);
  z-index: -1;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.edu-card:hover .edu-degree::after {
  transform: scaleX(1);
}

/* ────────────────────────────────────────────────────────
   23. SECTION HEADERS — Premium Underline
   ──────────────────────────────────────────────────────── */

.sec-title,
.section-title,
h2.sec-title {
  position: relative;
  display: inline-block;
}

.sec-title::after,
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 2px;
  transition: width .5s var(--spring);
}

section:hover .sec-title::after,
section:hover .section-title::after {
  width: 120px;
}

/* --- Section number badge --- */
.sec-num {
  position: relative;
}

.sec-num::before {
  content: attr(data-num);
  position: absolute;
  top: -12px;
  left: -20px;
  font-size: 3.5rem;
  font-weight: 900;
  opacity: 0.04;
  color: var(--violet);
  font-family: var(--font-display);
  pointer-events: none;
  line-height: 1;
}

/* --- Section decorative dots --- */
.sec-dots {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.sec-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.3;
  transition: all .3s ease;
}

.sec-dots span:nth-child(1) { animation: dotPulse 1.4s ease infinite 0s; }
.sec-dots span:nth-child(2) { animation: dotPulse 1.4s ease infinite .2s; }
.sec-dots span:nth-child(3) { animation: dotPulse 1.4s ease infinite .4s; }

section:hover .sec-dots span {
  opacity: 1;
  background: var(--violet);
}

/* ────────────────────────────────────────────────────────
   24. GLASSMORPHISM UTILITY CLASSES
   ──────────────────────────────────────────────────────── */

.glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,.3);
}

.glass-dark {
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,.08);
  color: #f8fafc;
}

.glass-violet {
  background: rgba(124,58,237,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(124,58,237,.15);
}

.glass-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

.glass-hover:hover {
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

/* ────────────────────────────────────────────────────────
   25. GRADIENT UTILITY CLASSES
   ──────────────────────────────────────────────────────── */

.gradient-text {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-tri {
  background: linear-gradient(135deg, var(--violet), var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-warm {
  background: linear-gradient(135deg, var(--amber), var(--red), #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--violet), var(--blue), var(--green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gradient-bg-subtle {
  background: linear-gradient(
    135deg,
    rgba(124,58,237,.03) 0%,
    rgba(37,99,235,.03) 50%,
    rgba(16,185,129,.03) 100%
  );
}

/* ────────────────────────────────────────────────────────
   26. SHADOW UTILITY CLASSES
   ──────────────────────────────────────────────────────── */

.shadow-glow-violet {
  box-shadow: 0 0 20px rgba(124,58,237,.2), 0 0 40px rgba(124,58,237,.1);
}

.shadow-glow-blue {
  box-shadow: 0 0 20px rgba(37,99,235,.2), 0 0 40px rgba(37,99,235,.1);
}

.shadow-glow-green {
  box-shadow: 0 0 20px rgba(16,185,129,.2), 0 0 40px rgba(16,185,129,.1);
}

.shadow-inner-glow {
  box-shadow: inset 0 0 20px rgba(124,58,237,.08);
}

.shadow-elevated {
  box-shadow:
    0 2px 4px rgba(0,0,0,.04),
    0 8px 16px rgba(0,0,0,.06),
    0 24px 48px rgba(0,0,0,.08);
}

.shadow-float {
  box-shadow:
    0 8px 24px rgba(0,0,0,.08),
    0 2px 4px rgba(0,0,0,.04);
  transition: box-shadow .3s ease, transform .3s ease;
}

.shadow-float:hover {
  box-shadow:
    0 16px 48px rgba(0,0,0,.12),
    0 4px 8px rgba(0,0,0,.06);
  transform: translateY(-4px);
}

/* ────────────────────────────────────────────────────────
   27. FOCUS & ACCESSIBILITY — Focus-Visible Rings
   ──────────────────────────────────────────────────────── */

*:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--violet-dim);
}

/* --- Skip to content --- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 99999;
  transition: top .3s ease;
}

.skip-link:focus {
  top: 0;
}

/* --- Reduced motion preference --- */
@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;
  }

  .moment-card img { transition: none; }
  .pl-shield { animation: none; }
  .ticker-track { animation: none; }
}

/* --- High contrast preference --- */
@media (prefers-contrast: high) {
  :root {
    --violet: #6d28d9;
    --blue: #1d4ed8;
    --green: #059669;
    --text-primary: #000;
    --text-secondary: #1f2937;
    --text-muted: #4b5563;
    --border: #9ca3af;
  }

  .exp-badge {
    border-width: 2px;
    font-weight: 700;
  }

  .is-num { font-weight: 900; }
}

/* ────────────────────────────────────────────────────────
   28. PRINT STYLES — Clean Resume-Ready Output
   ──────────────────────────────────────────────────────── */

@media print {
  /* --- Hide non-essential elements --- */
  .top-banner,
  .cve-ticker,
  .topbar,
  .mobile-menu,
  .hamburger-btn,
  .pl-loader,
  .back-to-top,
  .connect-section,
  .footer,
  .moment-section,
  .pipeline-section,
  .radar-section,
  .opp-status,
  .opp-cta,
  canvas,
  .particle-canvas,
  .scroll-progress {
    display: none !important;
  }

  /* --- Reset backgrounds and colors --- */
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
    background: transparent !important;
  }

  /* --- Keep cards visible --- */
  .exp-domain,
  .cert-card,
  .achieve-card,
  .edu-card {
    border: 1px solid #ddd !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* --- Links show URL --- */
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: .8em;
    color: #666;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: '';
  }

  /* --- Page breaks --- */
  .exp-section {
    page-break-before: always;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  /* --- Impact strip inline for print --- */
  .impact-strip {
    display: flex !important;
    flex-wrap: wrap;
    border: 1px solid #ddd !important;
    padding: 12px !important;
  }

  .is-item {
    flex: 1;
    text-align: center;
    min-width: 80px;
  }

  .is-sep { display: none; }

  /* --- Badge row visible --- */
  .exp-badge {
    border: 1px solid #999 !important;
    color: #333 !important;
    padding: 2px 8px !important;
    font-size: 9pt !important;
  }
}

/* ────────────────────────────────────────────────────────
   29. DARK MODE — Complete Override (if toggled)
   ──────────────────────────────────────────────────────── */

[data-theme="dark"],
.dark-mode {
  --bg:           #0f172a;
  --bg-card:      #1e293b;
  --bg-alt:       #1e293b;
  --bg-muted:     #0f172a;

  --text-primary:   #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted:     #94a3b8;
  --text-faint:     #64748b;
  --text:           #f8fafc;

  --border:         #334155;
  --border-violet:  rgba(124,58,237,.35);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.15);
  --shadow-md:  0 4px 16px rgba(0,0,0,.25), 0 1px 4px rgba(0,0,0,.15);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.2);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.2);
  --shadow-violet: 0 8px 32px rgba(124,58,237,.25);

  --violet-light: rgba(124,58,237,.15);
  --violet-dim:   rgba(124,58,237,.2);
  --blue-light:   rgba(37,99,235,.12);
  --blue-dim:     rgba(37,99,235,.15);
  --green-light:  rgba(16,185,129,.12);
}

[data-theme="dark"] .glass,
.dark-mode .glass {
  background: rgba(30,41,59,.7);
  border-color: rgba(255,255,255,.08);
}

[data-theme="dark"] code,
.dark-mode code {
  background: rgba(124,58,237,.2);
  color: #c4b5fd;
}

[data-theme="dark"] .exp-badge,
.dark-mode .exp-badge {
  background: rgba(124,58,237,.12);
  border-color: rgba(124,58,237,.3);
  color: #c4b5fd;
}

[data-theme="dark"] .exp-badge:hover,
.dark-mode .exp-badge:hover {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
}

[data-theme="dark"] .moment-card,
.dark-mode .moment-card {
  border-color: var(--border);
}

[data-theme="dark"] .impact-strip,
.dark-mode .impact-strip {
  background: rgba(30,41,59,.8);
  border-color: rgba(124,58,237,.2);
}

[data-theme="dark"] .cert-card,
.dark-mode .cert-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .opp-card,
.dark-mode .opp-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] ::selection,
.dark-mode ::selection {
  background: rgba(124,58,237,.3);
  color: #f8fafc;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb,
.dark-mode ::-webkit-scrollbar-thumb {
  background: #475569;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover,
.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--violet);
}

/* ────────────────────────────────────────────────────────
   30. RESPONSIVE MICRO-BREAKPOINTS — Polish Every Size
   ──────────────────────────────────────────────────────── */

/* --- Ultra-wide screens (1920+) --- */
@media (min-width: 1920px) {
  .container,
  .sec-inner {
    max-width: 1400px;
  }

  .exp-domains {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .moments-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 360px;
  }

  .impact-strip {
    padding: 32px 48px;
  }

  .is-num {
    font-size: 2.2rem;
  }
}

/* --- Large desktop (1440-1919) --- */
@media (min-width: 1440px) and (max-width: 1919px) {
  .exp-domains {
    gap: 24px;
  }

  .moments-grid {
    grid-auto-rows: 340px;
  }
}

/* --- Standard desktop (1200-1439) --- */
@media (min-width: 1200px) and (max-width: 1439px) {
  .exp-badge-row {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* --- Small laptop (1024-1199) --- */
@media (min-width: 1024px) and (max-width: 1199px) {
  .exp-domains {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .exp-badge-row {
    max-width: 700px;
    margin: 0 auto;
  }
}

/* --- Tablet landscape (768-1023) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .exp-domains {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .impact-strip {
    flex-wrap: wrap;
    gap: 12px;
  }

  .is-item {
    min-width: 120px;
  }

  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .exp-badge {
    font-size: .74rem;
    padding: 4px 10px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablet portrait (600-767) --- */
@media (min-width: 600px) and (max-width: 767px) {
  .exp-domains {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .impact-strip {
    padding: 16px;
    gap: 8px;
    flex-wrap: wrap;
  }

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

/* --- Mobile large (480-599) --- */
@media (min-width: 480px) and (max-width: 599px) {
  .exp-domains {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .moments-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .moment-featured,
  .moment-hero,
  .moment-wide {
    grid-column: span 1;
  }

  .exp-badge-row {
    gap: 4px;
  }

  .exp-badge {
    font-size: .68rem;
    padding: 3px 8px;
  }

  .is-num {
    font-size: 1.5rem;
  }
}

/* --- Mobile small (< 480) --- */
@media (max-width: 479px) {
  .exp-domains {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .exp-domain {
    padding: 16px;
  }

  .exp-domain li {
    font-size: .85rem;
    line-height: 1.55;
    padding-left: 18px;
  }

  .exp-domain li::before {
    left: 2px;
    font-size: .95em;
  }

  .moments-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
    gap: 12px;
  }

  .moment-featured,
  .moment-hero,
  .moment-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .impact-strip {
    padding: 12px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .is-sep {
    width: 60px;
    height: 1px;
  }

  .is-item {
    width: 100%;
    text-align: center;
  }

  .exp-badge-row {
    gap: 3px;
  }

  .exp-badge {
    font-size: .65rem;
    padding: 2px 6px;
  }

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

  .opp-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sec-title, .section-title {
    font-size: 1.5rem;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }
}

/* ────────────────────────────────────────────────────────
   31. LOADING SKELETON STATES — Premium UX
   ──────────────────────────────────────────────────────── */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-alt) 25%,
    var(--bg-muted) 50%,
    var(--bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: shimmerSlide 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-text:last-child {
  width: 70%;
}

.skeleton-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton-rect {
  height: 200px;
  border-radius: var(--radius-md);
}

.skeleton-badge {
  width: 80px;
  height: 28px;
  border-radius: var(--radius-full);
  display: inline-block;
}

/* ────────────────────────────────────────────────────────
   32. TOOLTIP SYSTEM — Global Tooltips
   ──────────────────────────────────────────────────────── */

[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
  z-index: 1000;
  max-width: 250px;
  text-align: center;
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* --- Tooltip positions --- */
[data-tooltip-pos="bottom"]::before {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
}

[data-tooltip-pos="bottom"]:hover::before {
  transform: translateX(-50%) translateY(0);
}

[data-tooltip-pos="bottom"]::after {
  bottom: auto;
  top: calc(100% + 2px);
  border-top-color: transparent;
  border-bottom-color: var(--text-primary);
}

[data-tooltip-pos="left"]::before {
  bottom: auto;
  top: 50%;
  left: auto;
  right: calc(100% + 8px);
  transform: translateY(-50%) translateX(4px);
}

[data-tooltip-pos="left"]:hover::before {
  transform: translateY(-50%) translateX(0);
}

[data-tooltip-pos="right"]::before {
  bottom: auto;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%) translateX(-4px);
}

[data-tooltip-pos="right"]:hover::before {
  transform: translateY(-50%) translateX(0);
}

/* ────────────────────────────────────────────────────────
   33. BADGE & TAG SYSTEM — Reusable Components
   ──────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: .02em;
  white-space: nowrap;
}

.badge-violet {
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid var(--border-violet);
}

.badge-blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,.2);
}

.badge-green {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.2);
}

.badge-amber {
  background: rgba(245,158,11,.1);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,.2);
}

.badge-red {
  background: rgba(239,68,68,.1);
  color: var(--red);
  border: 1px solid rgba(239,68,68,.2);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.badge-filled {
  background: var(--violet);
  color: #fff;
  border: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--spring);
  cursor: default;
}

.tag:hover {
  background: var(--violet-dim);
  border-color: var(--border-violet);
  color: var(--violet);
  transform: translateY(-1px);
}

/* ────────────────────────────────────────────────────────
   34. MICRO-INTERACTION UTILITIES
   ──────────────────────────────────────────────────────── */

/* --- Hover lift --- */
.hover-lift {
  transition: transform var(--spring), box-shadow .3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Hover scale --- */
.hover-scale {
  transition: transform var(--spring);
}
.hover-scale:hover {
  transform: scale(1.04);
}

/* --- Hover glow --- */
.hover-glow {
  transition: box-shadow .3s ease;
}
.hover-glow:hover {
  box-shadow: 0 0 24px var(--violet-glow);
}

/* --- Hover shine --- */
.hover-shine {
  position: relative;
  overflow: hidden;
}
.hover-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-25deg);
  transition: left .7s ease;
  pointer-events: none;
}
.hover-shine:hover::after {
  left: 125%;
}

/* --- Hover underline expand --- */
.hover-underline {
  position: relative;
  display: inline-block;
}
.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
  transition: width .3s var(--spring);
}
.hover-underline:hover::after {
  width: 100%;
}

/* --- Click ripple effect --- */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(124,58,237,.1);
  transform: translate(-50%, -50%);
  transition: width .4s ease, height .4s ease, opacity .4s ease;
  pointer-events: none;
}
.ripple:active::after {
  width: 200%;
  height: 200%;
  opacity: 0;
}

/* --- Magnetic hover (for buttons) --- */
.magnetic {
  transition: transform .15s ease;
}

/* --- Tilt on hover --- */
.tilt-hover {
  transition: transform .3s ease;
  transform-style: preserve-3d;
}
.tilt-hover:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* ────────────────────────────────────────────────────────
   35. DECORATIVE ELEMENTS — Background Patterns
   ──────────────────────────────────────────────────────── */

/* --- Dot grid background --- */
.bg-dots {
  background-image: radial-gradient(
    circle,
    var(--border) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

/* --- Grid lines background --- */
.bg-grid {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

/* --- Noise texture overlay --- */
.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* --- Gradient mesh background --- */
.bg-mesh {
  background:
    radial-gradient(at 40% 20%, rgba(124,58,237,.06) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(37,99,235,.05) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(16,185,129,.04) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(245,158,11,.03) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(124,58,237,.04) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(37,99,235,.03) 0px, transparent 50%);
}

/* --- Horizontal rule with gradient --- */
.hr-gradient {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-violet), transparent);
  margin: 32px 0;
}

/* --- Section divider wave --- */
.divider-wave {
  width: 100%;
  height: 40px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.divider-wave::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: var(--bg-alt);
  border-radius: 50% 50% 0 0;
}

/* ────────────────────────────────────────────────────────
   36. CURSOR & SELECTION — Premium Feel
   ──────────────────────────────────────────────────────── */

/* --- Custom cursor for interactive elements --- */
.cursor-pointer { cursor: pointer; }
.cursor-grab { cursor: grab; }
.cursor-grab:active { cursor: grabbing; }

/* --- Text selection colors per section --- */
.exp-section ::selection {
  background: rgba(124,58,237,.2);
  color: var(--text-primary);
}

.cert-section ::selection,
.certifications-section ::selection {
  background: rgba(37,99,235,.2);
  color: var(--text-primary);
}

.achieve-section ::selection,
.achievements-section ::selection {
  background: rgba(16,185,129,.2);
  color: var(--text-primary);
}

.moment-section ::selection,
.moments-section ::selection {
  background: rgba(245,158,11,.2);
  color: var(--text-primary);
}

/* ────────────────────────────────────────────────────────
   37. EASTER EGG — Konami Code Ready Styles
   ──────────────────────────────────────────────────────── */

.easter-egg-active * {
  animation: wiggle .3s ease;
}

.easter-egg-active .profile-img {
  animation: spinSlow 2s linear infinite;
}

.easter-egg-active .exp-badge {
  animation: popIn .3s ease both;
}

.easter-egg-active .is-num {
  animation: scaleInBounce .5s ease both;
}

/* ────────────────────────────────────────────────────────
   38. NOTIFICATION / TOAST STYLES
   ──────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: var(--radius-md);
  font-size: .88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  opacity: 0;
  transition: all .4s var(--spring);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-success { border-left: 4px solid var(--green); }
.toast-error   { border-left: 4px solid var(--red); }
.toast-info    { border-left: 4px solid var(--blue); }

.toast-close {
  margin-left: auto;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
  font-size: 1.2rem;
  line-height: 1;
}

.toast-close:hover { opacity: 1; }

/* ────────────────────────────────────────────────────────
   39. TYPING INDICATOR — For Terminal Widget
   ──────────────────────────────────────────────────────── */

.typing-indicator {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 8px 16px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.typing-indicator span:nth-child(1) { animation: dotPulse 1.4s ease infinite 0s; }
.typing-indicator span:nth-child(2) { animation: dotPulse 1.4s ease infinite .2s; }
.typing-indicator span:nth-child(3) { animation: dotPulse 1.4s ease infinite .4s; }

/* ────────────────────────────────────────────────────────
   40. PROGRESS INDICATORS — Circular & Linear
   ──────────────────────────────────────────────────────── */

/* --- Linear progress bar --- */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  transition: width 1s cubic-bezier(.4,0,.2,1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.3) 50%,
    transparent 100%
  );
  animation: shimmerSlide 2s ease infinite;
}

/* --- Circular progress --- */
.progress-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle-bg {
  fill: none;
  stroke: var(--bg-alt);
  stroke-width: 4;
}

.progress-circle-fill {
  fill: none;
  stroke: var(--violet);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.progress-circle-text {
  position: absolute;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ────────────────────────────────────────────────────────
   41. STATUS INDICATORS — Live / Active / Offline
   ──────────────────────────────────────────────────────── */

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.status-online {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.status-online::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: rippleOut 2s ease infinite;
}

.status-busy {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
}

.status-offline {
  background: var(--text-faint);
}

.status-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
}

/* ────────────────────────────────────────────────────────
   42. COUNTER ANIMATION ENHANCEMENT
   ──────────────────────────────────────────────────────── */

.counter {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.counter-lg {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-display);
}

.counter-md {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.counter-sm {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

/* --- Counter suffix styling --- */
.counter-suffix {
  font-size: .6em;
  opacity: .7;
  margin-left: 2px;
}

/* ────────────────────────────────────────────────────────
   43. CARD GRID SYSTEM — Layout Utilities
   ──────────────────────────────────────────────────────── */

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

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ────────────────────────────────────────────────────────
   44. CODE BLOCK STYLES — Terminal & Inline Code
   ──────────────────────────────────────────────────────── */

pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.6;
  position: relative;
  border: 1px solid #334155;
}

pre::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow:
    18px 0 0 #f59e0b,
    36px 0 0 #10b981;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.code-keyword { color: #c084fc; }
.code-string  { color: #86efac; }
.code-comment { color: #64748b; font-style: italic; }
.code-func    { color: #60a5fa; }
.code-number  { color: #fbbf24; }

/* ────────────────────────────────────────────────────────
   45. SCROLL PROGRESS ENHANCEMENT
   ──────────────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue), var(--green));
  z-index: 99999;
  transition: width .05s linear;
  box-shadow: 0 0 6px var(--violet-glow);
}

/* ────────────────────────────────────────────────────────
   46. PARTICLE CANVAS OVERLAY
   ──────────────────────────────────────────────────────── */

.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ────────────────────────────────────────────────────────
   47. PAGE TRANSITION STYLES
   ──────────────────────────────────────────────────────── */

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--violet);
  z-index: 99998;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--spring);
}

.page-transition.active {
  transform: scaleY(1);
  transform-origin: top;
}

/* ────────────────────────────────────────────────────────
   48. EXPERIENCE DOMAIN TITLE HOVER GRADIENT
   ──────────────────────────────────────────────────────── */

.epd-head h4 {
  position: relative;
  transition: all .3s ease;
}

.exp-domain:hover .epd-head h4 {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Domain card enumerate decoration --- */
.exp-domain:nth-child(1) { --domain-accent: var(--violet); }
.exp-domain:nth-child(2) { --domain-accent: var(--blue); }
.exp-domain:nth-child(3) { --domain-accent: #06b6d4; }
.exp-domain:nth-child(4) { --domain-accent: var(--green); }
.exp-domain:nth-child(5) { --domain-accent: var(--amber); }
.exp-domain:nth-child(6) { --domain-accent: #ec4899; }

.exp-domain:hover {
  border-left-color: var(--domain-accent, var(--violet));
}

.exp-domain::before {
  background: linear-gradient(90deg, var(--domain-accent, var(--violet)), color-mix(in srgb, var(--domain-accent, var(--violet)) 50%, var(--blue)));
}

/* ────────────────────────────────────────────────────────
   49. SCROLL-LINKED PARALLAX HINTS
   ──────────────────────────────────────────────────────── */

.parallax-slow {
  will-change: transform;
  transition: transform .1s linear;
}

.parallax-medium {
  will-change: transform;
  transition: transform .05s linear;
}

.parallax-fast {
  will-change: transform;
  transition: transform .03s linear;
}

/* ────────────────────────────────────────────────────────
   50. MISC POLISH — Final Touches
   ──────────────────────────────────────────────────────── */

/* --- Smooth anchor offset --- */
[id] {
  scroll-margin-top: calc(var(--topbar-h) + var(--banner-h) + var(--ticker-h) + 24px);
}

/* --- Image lazy-load fade --- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity .5s ease;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* --- Hidden utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Container width helper --- */
.container-narrow { max-width: 720px; margin: 0 auto; }
.container-wide   { max-width: 1200px; margin: 0 auto; }
.container-full   { max-width: 1400px; margin: 0 auto; }

/* --- Spacing utilities --- */
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 48px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 32px; }
.mb-xl { margin-bottom: 48px; }
.pt-sm { padding-top: 8px; }
.pt-md { padding-top: 16px; }
.pt-lg { padding-top: 32px; }
.pt-xl { padding-top: 48px; }
.pb-sm { padding-bottom: 8px; }
.pb-md { padding-bottom: 16px; }
.pb-lg { padding-bottom: 32px; }
.pb-xl { padding-bottom: 48px; }
.px-sm { padding-left: 8px; padding-right: 8px; }
.px-md { padding-left: 16px; padding-right: 16px; }
.px-lg { padding-left: 32px; padding-right: 32px; }
.py-sm { padding-top: 8px; padding-bottom: 8px; }
.py-md { padding-top: 16px; padding-bottom: 16px; }
.py-lg { padding-top: 32px; padding-bottom: 32px; }

/* --- Text utilities --- */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-sm       { font-size: .85rem; }
.text-xs       { font-size: .75rem; }
.text-lg       { font-size: 1.15rem; }
.text-xl       { font-size: 1.3rem; }
.text-2xl      { font-size: 1.6rem; }
.text-muted    { color: var(--text-muted); }
.text-violet   { color: var(--violet); }
.text-blue     { color: var(--blue); }
.text-green    { color: var(--green); }
.text-amber    { color: var(--amber); }
.text-red      { color: var(--red); }
.font-mono     { font-family: var(--font-mono); }
.font-display  { font-family: var(--font-display); }
.font-sans     { font-family: var(--font-sans); }
.font-bold     { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium   { font-weight: 500; }
.uppercase     { text-transform: uppercase; }
.lowercase     { text-transform: lowercase; }
.capitalize    { text-transform: capitalize; }
.tracking-wide { letter-spacing: .04em; }
.tracking-tight{ letter-spacing: -.01em; }
.leading-tight { line-height: 1.25; }
.leading-snug  { line-height: 1.4; }
.leading-normal{ line-height: 1.7; }
.leading-loose { line-height: 2; }
.truncate      { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- Flex utilities --- */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-row      { flex-direction: row; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-around{ justify-content: space-around; }
.gap-sm        { gap: 8px; }
.gap-md        { gap: 16px; }
.gap-lg        { gap: 24px; }
.gap-xl        { gap: 32px; }
.flex-1        { flex: 1; }
.flex-none     { flex: none; }

/* --- Grid utilities --- */
.grid          { display: grid; }
.grid-2        { grid-template-columns: repeat(2, 1fr); }
.grid-3        { grid-template-columns: repeat(3, 1fr); }
.grid-4        { grid-template-columns: repeat(4, 1fr); }

/* --- Border utilities --- */
.border        { border: 1px solid var(--border); }
.border-t      { border-top: 1px solid var(--border); }
.border-b      { border-bottom: 1px solid var(--border); }
.border-l      { border-left: 1px solid var(--border); }
.border-r      { border-right: 1px solid var(--border); }
.border-violet { border-color: var(--border-violet); }
.border-none   { border: none; }
.rounded-sm    { border-radius: var(--radius-sm); }
.rounded-md    { border-radius: var(--radius-md); }
.rounded-lg    { border-radius: var(--radius-lg); }
.rounded-xl    { border-radius: var(--radius-xl); }
.rounded-full  { border-radius: var(--radius-full); }

/* --- Background utilities --- */
.bg-card       { background: var(--bg-card); }
.bg-alt        { background: var(--bg-alt); }
.bg-muted      { background: var(--bg-muted); }
.bg-violet     { background: var(--violet); color: #fff; }
.bg-blue       { background: var(--blue); color: #fff; }
.bg-green      { background: var(--green); color: #fff; }

/* --- Position utilities --- */
.relative      { position: relative; }
.absolute      { position: absolute; }
.fixed         { position: fixed; }
.sticky        { position: sticky; }
.inset-0       { inset: 0; }
.z-10          { z-index: 10; }
.z-20          { z-index: 20; }
.z-50          { z-index: 50; }
.z-100         { z-index: 100; }

/* --- Overflow utilities --- */
.overflow-hidden  { overflow: hidden; }
.overflow-auto    { overflow: auto; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-y-auto  { overflow-y: auto; }

/* --- Width/height utilities --- */
.w-full        { width: 100%; }
.h-full        { height: 100%; }
.min-h-screen  { min-height: 100vh; }
.max-w-prose   { max-width: 65ch; }

/* --- Opacity utilities --- */
.opacity-0     { opacity: 0; }
.opacity-25    { opacity: .25; }
.opacity-50    { opacity: .5; }
.opacity-75    { opacity: .75; }
.opacity-100   { opacity: 1; }

/* --- Transition utilities --- */
.transition-all     { transition: all var(--transition); }
.transition-colors  { transition: color var(--transition), background var(--transition), border-color var(--transition); }
.transition-shadow  { transition: box-shadow var(--transition); }
.transition-transform { transition: transform var(--transition); }
.transition-spring  { transition: all var(--spring); }

/* --- Animation utilities --- */
.animate-fade-in    { animation: fadeInUp .5s ease both; }
.animate-scale-in   { animation: scaleIn .4s ease both; }
.animate-slide-up   { animation: slideInFromBottom .5s ease both; }
.animate-float      { animation: float 3s ease-in-out infinite; }
.animate-breathe    { animation: breathe 3s ease infinite; }
.animate-pulse      { animation: gentlePulse 2s ease infinite; }
.animate-spin-slow  { animation: spinSlow 8s linear infinite; }
.animate-wiggle     { animation: wiggle .5s ease; }

/* --- Animation delay utilities --- */
.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }
.delay-700 { animation-delay: .7s; }
.delay-1000 { animation-delay: 1s; }

/* --- Pointer utilities --- */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.select-none         { user-select: none; }
.select-all          { user-select: all; }

/* ────────────────────────────────────────────────────────
   END V15 MEGA ENHANCEMENT
   ──────────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════════════
   V16 UI/UX MASTERCLASS — 3000+ lines of premium visual design
   Focus: Depth, Motion, Delight, Micro-typography, Spatial Design
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────
   V16-1. ADVANCED KEYFRAMES — Second Generation
   ──────────────────────────────────────────────────────── */

@keyframes morphBlob {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%  { border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%; }
  75%  { border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes glitchFlicker {
  0%, 100% { opacity: 1; transform: translate(0); }
  20%      { opacity: .8; transform: translate(-2px, 1px); }
  40%      { opacity: 1; transform: translate(1px, -1px); }
  60%      { opacity: .9; transform: translate(-1px, 0); }
  80%      { opacity: 1; transform: translate(2px, 1px); }
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 5px var(--violet-glow), 0 0 10px var(--violet-glow), 0 0 20px var(--violet-glow); }
  50%      { box-shadow: 0 0 10px var(--violet-glow), 0 0 20px var(--violet-glow), 0 0 40px var(--violet-glow); }
}

@keyframes borderDash {
  to { stroke-dashoffset: -20; }
}

@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes colorCycle {
  0%   { color: var(--violet); }
  25%  { color: var(--blue); }
  50%  { color: var(--green); }
  75%  { color: var(--amber); }
  100% { color: var(--violet); }
}

@keyframes beamScan {
  0%   { top: -10%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInStagger {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.3); }
  50%  { opacity: 1; transform: scale(1.05); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes zoomInRotate {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes waveMotion {
  0%, 100% { transform: translateY(0) rotate(0); }
  25%      { transform: translateY(-8px) rotate(1deg); }
  50%      { transform: translateY(0) rotate(0); }
  75%      { transform: translateY(4px) rotate(-1deg); }
}

@keyframes unfoldDown {
  from { max-height: 0; opacity: 0; transform: perspective(500px) rotateX(-15deg); }
  to   { max-height: 2000px; opacity: 1; transform: perspective(500px) rotateX(0); }
}

@keyframes rotateGradient {
  0%   { --rotation: 0deg; }
  100% { --rotation: 360deg; }
}

@keyframes particleFade {
  0%   { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0) translateY(-60px); }
}

@keyframes heartbeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.15); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.1); }
  56%  { transform: scale(1); }
  100% { transform: scale(1); }
}

@keyframes typewriterCursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@keyframes magneticPull {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

@keyframes scanLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* ────────────────────────────────────────────────────────
   V16-2. HERO SECTION — Cinematic Landing Experience
   ──────────────────────────────────────────────────────── */

/* --- Hero content layered depth --- */
.hero-section {
  position: relative;
  isolation: isolate;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

/* --- Animated gradient orb decorations --- */
.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: morphBlob 12s ease-in-out infinite, float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* --- Hero subtitle typing cursor --- */
.hero-subtitle::after,
.typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--violet);
  margin-left: 4px;
  animation: typewriterCursor 1s step-end infinite;
  vertical-align: text-bottom;
}

/* --- Hero stat cards row --- */
.hero-stats {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--spring);
  cursor: default;
}

.hero-stat:hover {
  transform: translateY(-3px);
  border-color: var(--violet);
  box-shadow: 0 6px 20px var(--violet-glow);
  color: var(--violet);
}

.hero-stat-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--violet);
  font-size: .9rem;
}

/* --- Hero scroll indicator --- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.hero-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-faint);
  border-radius: 12px;
  position: relative;
  transition: border-color .3s ease;
}

.hero-scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  background: var(--violet);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: magneticPull 1.5s ease-in-out infinite;
}

.hero-scroll-text {
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .12em;
  animation: gentlePulse 2s ease infinite;
}

/* ────────────────────────────────────────────────────────
   V16-3. ABOUT SECTION — Storytelling Layout Enhancement
   ──────────────────────────────────────────────────────── */

/* --- Profile card premium border --- */
.profile-card,
.about-card {
  position: relative;
  overflow: hidden;
}

.profile-card::before,
.about-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(
    from 0deg,
    var(--violet),
    var(--blue),
    var(--green),
    var(--amber),
    var(--violet)
  );
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity .5s ease;
  animation: rotateGradient 4s linear infinite;
  filter: blur(4px);
}

.profile-card:hover::before,
.about-card:hover::before {
  opacity: .6;
}

/* --- About info items with icon --- */
.about-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: all .2s ease;
}

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

.about-info-item:hover {
  padding-left: 8px;
  border-bottom-color: var(--violet);
}

.about-info-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--spring);
}

.about-info-item:hover .about-info-icon {
  background: var(--violet);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.about-info-label {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.about-info-value {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

/* --- Philosophy grid enhancement --- */
.philosophy-card,
.eng-philosophy {
  position: relative;
}

.philosophy-card::after,
.eng-philosophy::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.philosophy-card:hover::after,
.eng-philosophy:hover::after {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────
   V16-4. EXPERIENCE SECTION — Depth & Domain Polish
   ──────────────────────────────────────────────────────── */

/* --- Experience header with timeline connector --- */
.exp-header {
  position: relative;
}

.exp-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, var(--violet), transparent);
  transform: translateX(-50%);
}

/* --- Domain card counter badge --- */
.exp-domain {
  counter-increment: domain-counter;
}

.exp-domain .epd-head::before {
  content: '0' counter(domain-counter);
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  opacity: .04;
  color: var(--domain-accent, var(--violet));
  line-height: 1;
  pointer-events: none;
  transition: opacity .3s ease;
}

.exp-domain:hover .epd-head::before {
  opacity: .08;
}

/* --- Domain card progress bar (visual) --- */
.exp-domain::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--domain-accent, var(--violet)), var(--blue));
  transition: width .8s var(--spring);
}

.exp-domain:hover::after {
  width: 100%;
}

/* --- Domain list bullet animation stagger --- */
.exp-domain li {
  opacity: 1;
  transition:
    opacity .3s ease,
    transform .3s ease,
    padding-left .2s ease,
    color .2s ease;
}

.exp-domain:hover li:nth-child(1)  { transition-delay: 0s; }
.exp-domain:hover li:nth-child(2)  { transition-delay: .03s; }
.exp-domain:hover li:nth-child(3)  { transition-delay: .06s; }
.exp-domain:hover li:nth-child(4)  { transition-delay: .09s; }
.exp-domain:hover li:nth-child(5)  { transition-delay: .12s; }
.exp-domain:hover li:nth-child(6)  { transition-delay: .15s; }
.exp-domain:hover li:nth-child(7)  { transition-delay: .18s; }
.exp-domain:hover li:nth-child(8)  { transition-delay: .21s; }
.exp-domain:hover li:nth-child(9)  { transition-delay: .24s; }
.exp-domain:hover li:nth-child(10) { transition-delay: .27s; }

/* --- Experience scope box metric highlights --- */
.exp-scope-box strong {
  color: var(--violet);
  font-weight: 800;
  position: relative;
}

.exp-scope-box strong::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--violet-dim);
  z-index: -1;
  border-radius: 2px;
}

/* --- Company logo area glow --- */
.exp-company {
  position: relative;
  display: inline-block;
}

.exp-company::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), transparent);
  border-radius: 1px;
  transition: width .4s var(--spring);
}

.exp-card:hover .exp-company::before {
  width: 100%;
}

/* --- Role badge styling --- */
.exp-role {
  display: inline-block;
  padding: 3px 12px;
  background: var(--violet-dim);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  color: var(--violet);
  margin-top: 4px;
}

/* --- Period with icon --- */
.exp-period {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
}

.exp-period::before {
  content: '📅';
  font-size: .75rem;
}

/* ────────────────────────────────────────────────────────
   V16-5. CERTIFICATIONS — Grid Mastery
   ──────────────────────────────────────────────────────── */

/* --- Cert grid enhanced layout --- */
.cert-grid {
  position: relative;
}

/* --- Individual cert card depth layers --- */
.cert-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* --- Cert card flip animation prep --- */
.cert-card-inner {
  position: relative;
  transition: transform .6s var(--spring);
  transform-style: preserve-3d;
}

.cert-card:hover .cert-card-inner {
  transform: rotateY(0);
}

/* --- Cert verified check mark --- */
.cert-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--green-dim);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cert-verified::before {
  content: '✓';
  font-weight: 900;
}

/* --- Cert difficulty tier indicator --- */
.cert-tier {
  display: flex;
  gap: 3px;
  margin-top: 6px;
}

.cert-tier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.cert-tier-dot.active {
  background: var(--violet);
  box-shadow: 0 0 4px var(--violet-glow);
}

/* --- Cert expiry countdown --- */
.cert-expiry {
  font-size: .72rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.cert-expiry.expiring-soon {
  color: var(--amber);
  font-weight: 600;
}

/* --- Cert card hover 3d reflection --- */
.cert-card .cert-reflection {
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: linear-gradient(180deg, rgba(124,58,237,.06), transparent);
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.cert-card:hover .cert-reflection {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────
   V16-6. CAREER TIMELINE — Cinematic Scroll
   ──────────────────────────────────────────────────────── */

/* --- Timeline container depth --- */
.timeline-container,
.career-timeline {
  position: relative;
}

/* --- Timeline line with gradient flow --- */
.timeline-container::before,
.career-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--violet) 10%,
    var(--blue) 40%,
    var(--green) 70%,
    var(--amber) 90%,
    transparent 100%
  );
  transform: translateX(-50%);
  border-radius: 2px;
}

/* --- Timeline milestone markers --- */
.timeline-milestone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--violet);
  box-shadow: 0 0 0 6px var(--bg), 0 4px 12px var(--violet-glow);
  z-index: 3;
  font-size: 1.2rem;
  transition: all var(--spring);
}

.timeline-milestone:hover {
  transform: scale(1.15);
  border-color: var(--blue);
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px var(--violet-glow);
}

/* --- Timeline date badge --- */
.timeline-date {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px var(--violet-glow);
}

/* --- Timeline content card enhanced --- */
.timeline-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--spring);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--violet);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-card::before {
  right: -16px;
}

.timeline-item:nth-child(even) .timeline-card::before {
  left: -16px;
}

/* --- Timeline responsive single-column --- */
@media (max-width: 768px) {
  .timeline-container::before,
  .career-timeline::before {
    left: 24px;
  }

  .timeline-card::before {
    left: -16px !important;
    right: auto !important;
  }
}

/* ────────────────────────────────────────────────────────
   V16-7. SKILLS SECTION — Radar Glow & Bar Fills
   ──────────────────────────────────────────────────────── */

/* --- Skill bar track enhancement --- */
.skill-bar-track {
  position: relative;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 8px,
    rgba(0,0,0,.03) 8px,
    rgba(0,0,0,.03) 16px
  );
  pointer-events: none;
  z-index: 1;
}

/* --- Skill tier labels --- */
.skill-tier {
  display: inline-flex;
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 4px;
}

.skill-tier-expert {
  background: rgba(124,58,237,.1);
  color: var(--violet);
}

.skill-tier-advanced {
  background: rgba(37,99,235,.1);
  color: var(--blue);
}

.skill-tier-proficient {
  background: rgba(16,185,129,.1);
  color: var(--green);
}

.skill-tier-learning {
  background: rgba(245,158,11,.1);
  color: var(--amber);
}

/* --- Skill icon grid --- */
.skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.skill-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--spring);
  cursor: default;
}

.skill-icon:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: var(--violet);
  box-shadow: 0 6px 16px var(--violet-glow);
  background: var(--violet-dim);
}

/* --- Radar chart legend enhanced --- */
.radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.radar-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .2s ease;
  cursor: default;
}

.radar-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.radar-legend-item:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* ────────────────────────────────────────────────────────
   V16-8. PIPELINE SECTION — Flow Visualization
   ──────────────────────────────────────────────────────── */

/* --- Pipeline flow container --- */
.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 24px 0;
  scrollbar-width: none;
}

.pipeline-flow::-webkit-scrollbar { display: none; }

/* --- Pipeline stage enhanced --- */
.pipeline-stage {
  scroll-snap-align: center;
  min-width: 160px;
  flex-shrink: 0;
}

/* --- Pipeline connector arrow --- */
.pipeline-connector {
  display: flex;
  align-items: center;
  color: var(--text-faint);
  font-size: 1.2rem;
  padding: 0 8px;
  opacity: .5;
  transition: opacity .3s ease, color .3s ease;
}

.pipeline-stage:hover + .pipeline-connector,
.pipeline-connector:hover {
  opacity: 1;
  color: var(--violet);
}

/* --- Pipeline stage detail popover --- */
.pipeline-detail {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 100;
}

.pipeline-stage:hover .pipeline-detail {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.pipeline-detail::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

/* --- Pipeline status indicator --- */
.pipeline-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
}

.pipeline-status-pass { color: var(--green); }
.pipeline-status-fail { color: var(--red); }
.pipeline-status-pending { color: var(--amber); }

.pipeline-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ────────────────────────────────────────────────────────
   V16-9. WRITING SECTION — Blog Card Depth
   ──────────────────────────────────────────────────────── */

/* --- Writing card image overlay on hover --- */
.writing-card {
  transform-style: preserve-3d;
}

.writing-card:hover {
  transform: translateY(-8px);
}

/* --- Writing read time badge --- */
.writing-read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .68rem;
  font-weight: 600;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.writing-read-time::before {
  content: '⏱';
  font-size: .72rem;
}

/* --- Writing category tag colors --- */
.writing-cat-devsecops {
  background: var(--violet-dim);
  color: var(--violet);
  border-color: var(--border-violet);
}

.writing-cat-k8s {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(37,99,235,.2);
}

.writing-cat-cloud {
  background: var(--green-dim);
  color: var(--green);
  border-color: rgba(16,185,129,.2);
}

.writing-cat-appsec {
  background: rgba(245,158,11,.08);
  color: var(--amber);
  border-color: rgba(245,158,11,.2);
}

/* --- Writing engagement stats row --- */
.writing-stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.writing-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--text-faint);
}

.writing-stat-icon {
  font-size: .8rem;
}

/* ────────────────────────────────────────────────────────
   V16-10. RECOGNITION — Award Showcase
   ──────────────────────────────────────────────────────── */

/* --- Recognition award card --- */
.recognition-award {
  position: relative;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--spring);
}

.recognition-award:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(124,58,237,.12);
  border-color: var(--violet);
}

/* --- Award ribbon --- */
.award-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  padding: 4px 40px;
  background: linear-gradient(135deg, var(--amber), #fbbf24);
  color: #78350f;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(245,158,11,.3);
}

/* --- Award icon --- */
.award-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(124,58,237,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: all var(--spring);
}

.recognition-award:hover .award-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--amber), var(--violet));
  box-shadow: 0 8px 24px rgba(245,158,11,.3);
}

/* --- Award description --- */
.award-description {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.award-date {
  font-size: .75rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  margin-top: 12px;
}

/* ────────────────────────────────────────────────────────
   V16-11. MOMENTS GALLERY — Masonry & Lightbox
   ──────────────────────────────────────────────────────── */

/* --- Moment card overlay text readability --- */
.mc-title {
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.mc-desc {
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  font-size: .82rem;
  line-height: 1.5;
  opacity: .9;
}

/* --- Moment card focus ring for a11y --- */
.moment-card:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

/* --- Moment counter badge --- */
.mc-counter {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0;
  transition: opacity .3s ease;
}

.moment-card:hover .mc-counter {
  opacity: 1;
}

/* --- Moment lightbox overlay (JS activated) --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.lightbox-overlay:not(.active) {
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  object-fit: contain;
  transition: transform .3s ease;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  border: 1px solid rgba(255,255,255,.15);
}

.lightbox-close:hover {
  background: rgba(255,255,255,.2);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: 80vw;
  text-align: center;
}

/* ────────────────────────────────────────────────────────
   V16-12. FAQ SECTION — Accordion Finesse
   ──────────────────────────────────────────────────────── */

/* --- FAQ question number --- */
.faq-item {
  counter-increment: faq-counter;
}

.faq-q::before,
.faq-toggle::before {
  content: 'Q' counter(faq-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--violet-dim);
  color: var(--violet);
  font-size: .72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-right: 12px;
  flex-shrink: 0;
  transition: all var(--spring);
}

.faq-item:hover .faq-q::before,
.faq-item:hover .faq-toggle::before {
  background: var(--violet);
  color: #fff;
  transform: scale(1.05);
}

.faq-item.active .faq-q::before,
.faq-item.active .faq-toggle::before {
  background: var(--violet);
  color: #fff;
}

/* --- FAQ answer with left border accent --- */
.faq-a,
.faq-answer {
  padding-left: 54px;
  border-left: 2px solid var(--violet-dim);
  margin-left: 15px;
  transition: border-color .3s ease;
}

.faq-item.active .faq-a,
.faq-item.active .faq-answer {
  border-left-color: var(--violet);
}

/* --- FAQ search box --- */
.faq-search {
  position: relative;
  max-width: 400px;
  margin: 0 auto 32px;
}

.faq-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  font-size: .88rem;
  font-family: var(--font-sans);
  transition: all .3s ease;
}

.faq-search input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
}

.faq-search::before {
  content: '🔍';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────
   V16-13. OPPORTUNITIES — CTA Excellence
   ──────────────────────────────────────────────────────── */

/* --- Opp section background pattern --- */
.opp-section,
#opportunities {
  position: relative;
  overflow: hidden;
}

.opp-section::before,
#opportunities::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(124,58,237,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(37,99,235,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(16,185,129,.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* --- Opp CTA button group --- */
.opp-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

/* --- CTA button primary --- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  transition: all var(--spring);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--violet-glow);
}

.cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px var(--violet-glow);
}

.cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(255,255,255,.15) 50%,
    transparent 70%
  );
  transform: translateX(-200%);
  transition: transform .6s ease;
}

.cta-primary:hover::after {
  transform: translateX(200%);
}

/* --- CTA button secondary --- */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet);
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--spring);
}

.cta-secondary:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--violet-glow);
}

/* --- CTA button ghost --- */
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--spring);
}

.cta-ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: var(--violet-dim);
  transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────
   V16-14. CONNECT / CONTACT — Form Premium Design
   ──────────────────────────────────────────────────────── */

/* --- Contact form card --- */
.contact-form-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--blue), var(--green));
}

/* --- Form input enhanced --- */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: .92rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  transition: all .3s ease;
  outline: none;
}

.form-input:hover {
  border-color: var(--text-faint);
}

.form-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
  background: var(--bg-card);
}

.form-input::placeholder {
  color: var(--text-faint);
}

/* --- Form textarea --- */
.form-textarea {
  resize: vertical;
  min-height: 140px;
  max-height: 300px;
}

/* --- Form error state --- */
.form-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form-error-msg {
  font-size: .75rem;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.form-input.error ~ .form-error-msg {
  display: block;
}

/* --- Form success state --- */
.form-input.success {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}

/* --- Form character count --- */
.form-char-count {
  text-align: right;
  font-size: .72rem;
  color: var(--text-faint);
  margin-top: 4px;
  font-family: var(--font-mono);
}

/* --- Social links grid --- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--spring);
  cursor: pointer;
  text-decoration: none;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
  color: var(--violet);
}

.social-card-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* ────────────────────────────────────────────────────────
   V16-15. FOOTER — Premium Closing
   ──────────────────────────────────────────────────────── */

/* --- Footer grid layout --- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
}

/* --- Footer brand section --- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

/* --- Footer column --- */
.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col-links a:hover {
  color: var(--violet);
  transform: translateX(4px);
}

.footer-col-links a::before {
  content: '›';
  color: var(--violet);
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s ease;
}

.footer-col-links a:hover::before {
  opacity: 1;
}

/* --- Footer bottom bar --- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-faint);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --- Footer built-with badge --- */
.footer-built-with {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--text-faint);
}

.footer-built-with span {
  color: var(--red);
  animation: heartbeat 2s ease infinite;
}

/* ────────────────────────────────────────────────────────
   V16-16. CVE TICKER — Enhanced Marquee
   ──────────────────────────────────────────────────────── */

/* --- Ticker item severity colors --- */
.ticker-critical {
  color: var(--red);
  font-weight: 700;
}

.ticker-high {
  color: #f97316;
  font-weight: 600;
}

.ticker-medium {
  color: var(--amber);
  font-weight: 500;
}

.ticker-low {
  color: var(--green);
}

/* --- Ticker separator dot --- */
.ticker-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
  margin: 0 12px;
  vertical-align: middle;
}

/* --- Ticker hover pause --- */
.ticker-track:hover {
  animation-play-state: paused;
}

/* ────────────────────────────────────────────────────────
   V16-17. LOADER — Cinematic Entry
   ──────────────────────────────────────────────────────── */

/* --- Loader enhanced ring --- */
.loader-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--violet);
  animation: spinSlow .8s linear infinite;
  position: relative;
}

.loader-ring::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  animation: spinSlow 1.2s linear infinite reverse;
}

/* --- Loader progress text --- */
.loader-pct {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--violet);
  margin-top: 16px;
  letter-spacing: .04em;
}

/* --- Loader tips --- */
.loader-tip {
  font-size: .78rem;
  color: var(--text-faint);
  margin-top: 8px;
  animation: gentlePulse 2s ease infinite;
}

/* ────────────────────────────────────────────────────────
   V16-18. TOP BANNER — Announcement Polish
   ──────────────────────────────────────────────────────── */

/* --- Banner shimmer text --- */
.banner-text-shimmer {
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255,255,255,.6) 40%,
    #fff 80%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSlide 3s ease infinite;
}

/* --- Banner close button --- */
.banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  font-size: .8rem;
}

.banner-close:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-50%) rotate(90deg);
}

/* ────────────────────────────────────────────────────────
   V16-19. SCROLL SPY — Active Section Highlight
   ──────────────────────────────────────────────────────── */

/* --- Active nav state --- */
.topbar-nav a.nav-active {
  color: var(--violet);
  font-weight: 700;
}

.topbar-nav a.nav-active::after {
  width: 100%;
  background: var(--violet);
}

/* --- Mobile menu active item --- */
.mobile-menu a.nav-active {
  background: var(--violet-dim);
  color: var(--violet);
  font-weight: 700;
  border-left: 3px solid var(--violet);
}

/* ────────────────────────────────────────────────────────
   V16-20. EDUCATION — Card System Depth
   ──────────────────────────────────────────────────────── */

/* --- Education institution badge --- */
.edu-institution {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all .2s ease;
}

.edu-institution:hover {
  border-color: var(--violet);
  color: var(--violet);
}

/* --- Education specialization chips --- */
.edu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.edu-chip {
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid transparent;
  transition: all var(--spring);
}

.edu-chip:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Education GPA badge --- */
.edu-gpa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(37,99,235,.08));
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  color: var(--green);
}

.edu-gpa::before {
  content: '🎓';
  font-size: .72rem;
}

/* ────────────────────────────────────────────────────────
   V16-21. SECTION TRANSITIONS — Smooth Flow
   ──────────────────────────────────────────────────────── */

section {
  transition: opacity .6s ease, transform .6s ease;
}

section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section background alternation --- */
section:nth-child(even) {
  background: var(--bg-alt);
}

section:nth-child(odd) {
  background: var(--bg);
}

/* --- Section inner max-width helper --- */
.sec-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section intro text --- */
.sec-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 8px auto 32px;
  text-align: center;
  line-height: 1.7;
}

/* ────────────────────────────────────────────────────────
   V16-22. MODAL SYSTEM — Reusable Dialog
   ──────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99980;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal-overlay:not(.active) {
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 99985;
  opacity: 0;
  pointer-events: none;
  transition: all .4s var(--spring);
  overflow: hidden;
}

.modal-overlay.active + .modal-dialog,
.modal-dialog.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  font-size: 1rem;
  color: var(--text-muted);
}

.modal-close:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(85vh - 140px);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* ────────────────────────────────────────────────────────
   V16-23. COMMAND PALETTE STYLES
   ──────────────────────────────────────────────────────── */

.cmd-palette {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 580px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 99990;
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--spring);
  overflow: hidden;
}

.cmd-palette.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cmd-palette-input {
  width: 100%;
  padding: 18px 20px 18px 48px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
}

.cmd-palette-input::placeholder {
  color: var(--text-faint);
}

.cmd-palette-icon {
  position: absolute;
  top: 20px;
  left: 18px;
  color: var(--text-faint);
  font-size: 1rem;
}

.cmd-palette-results {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
}

.cmd-palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s ease;
  font-size: .88rem;
  color: var(--text-secondary);
}

.cmd-palette-item:hover,
.cmd-palette-item.active {
  background: var(--violet-dim);
  color: var(--violet);
}

.cmd-palette-item-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.cmd-palette-item:hover .cmd-palette-item-icon {
  background: var(--violet);
  color: #fff;
}

.cmd-palette-shortcut {
  margin-left: auto;
  font-size: .7rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ────────────────────────────────────────────────────────
   V16-24. COOKIE BANNER / CONSENT STYLES
   ──────────────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform .4s var(--spring);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-text {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ────────────────────────────────────────────────────────
   V16-25. NOTIFICATION DOT — Nav Enhancement
   ──────────────────────────────────────────────────────── */

.nav-dot {
  position: relative;
}

.nav-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 4px rgba(239,68,68,.4);
  animation: gentlePulse 2s ease infinite;
}

/* ────────────────────────────────────────────────────────
   V16-26. RESPONSIVE ADDITIONS — Fine Detail
   ──────────────────────────────────────────────────────── */

/* --- Landscape phone --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .impact-strip {
    padding: 12px 16px;
  }
}

/* --- Foldable devices (280-360px) --- */
@media (max-width: 360px) {
  body {
    font-size: 14px;
  }

  .exp-badge {
    font-size: .6rem;
    padding: 2px 5px;
  }

  .is-num {
    font-size: 1.3rem;
  }

  .sec-title,
  .section-title {
    font-size: 1.3rem;
  }

  .exp-domain li {
    font-size: .8rem;
    padding-left: 16px;
  }

  .opp-card {
    padding: 16px;
  }

  .hero-stat {
    padding: 6px 10px;
    font-size: .72rem;
  }

  .modal-dialog {
    width: 95%;
  }

  .cmd-palette {
    width: 95vw;
  }
}

/* --- Large tablet (834px - iPad Pro 11) --- */
@media (min-width: 834px) and (max-width: 1024px) {
  .exp-domains {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Print: cert cards inline --- */
@media print {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  .cert-card::before,
  .cert-card::after {
    display: none !important;
  }

  .timeline-container::before,
  .career-timeline::before {
    display: none !important;
  }

  .exp-domain::before,
  .exp-domain::after {
    display: none !important;
  }
}

/* ────────────────────────────────────────────────────────
   V16-27. DARK MODE — Extended V16 Styles
   ──────────────────────────────────────────────────────── */

[data-theme="dark"] .hero-stat,
.dark-mode .hero-stat {
  background: rgba(30,41,59,.8);
  border-color: #334155;
}

[data-theme="dark"] .hero-stat:hover,
.dark-mode .hero-stat:hover {
  border-color: var(--violet);
  background: rgba(124,58,237,.1);
}

[data-theme="dark"] .timeline-card,
.dark-mode .timeline-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .modal-dialog,
.dark-mode .modal-dialog {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .cmd-palette,
.dark-mode .cmd-palette {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .cookie-banner,
.dark-mode .cookie-banner {
  background: var(--bg-card);
  border-top-color: var(--border);
}

[data-theme="dark"] .contact-form-card,
.dark-mode .contact-form-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .form-input,
.dark-mode .form-input {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .social-card,
.dark-mode .social-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .recognition-award,
.dark-mode .recognition-award {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .lightbox-overlay,
.dark-mode .lightbox-overlay {
  background: rgba(0,0,0,.92);
}

[data-theme="dark"] .faq-search input,
.dark-mode .faq-search input {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .edu-institution,
.dark-mode .edu-institution {
  background: var(--bg);
  border-color: var(--border);
}

[data-theme="dark"] .edu-showcase-card,
[data-theme="dark"] .edu-foundation-item,
[data-theme="dark"] .edu-card,
.dark-mode .edu-showcase-card,
.dark-mode .edu-foundation-item,
.dark-mode .edu-card {
  background: rgba(15,23,42,.86);
  border-color: rgba(148,163,184,.14);
}

[data-theme="dark"] .edu-side-panel,
[data-theme="dark"] .edu-journey-board,
[data-theme="dark"] .edu-insight-panel,
[data-theme="dark"] .edu-metric-pill,
[data-theme="dark"] .edu-summary-item,
[data-theme="dark"] .edu-flow-card,
.dark-mode .edu-side-panel,
.dark-mode .edu-journey-board,
.dark-mode .edu-insight-panel,
.dark-mode .edu-metric-pill,
.dark-mode .edu-summary-item,
.dark-mode .edu-flow-card {
  background: rgba(15,23,42,.86);
  border-color: rgba(148,163,184,.14);
}

[data-theme="dark"] .edu-flow-card-accent,
.dark-mode .edu-flow-card-accent {
  background: linear-gradient(145deg, rgba(124,58,237,.18), rgba(37,99,235,.16));
}

[data-theme="dark"] .edu-proof-item,
.dark-mode .edu-proof-item {
  background: rgba(124,58,237,.10);
  border-color: rgba(124,58,237,.18);
}

[data-theme="dark"] .edu-showcase-card h3,
[data-theme="dark"] .edu-foundation-item strong,
[data-theme="dark"] .edu-top h3,
.dark-mode .edu-showcase-card h3,
.dark-mode .edu-foundation-item strong,
.dark-mode .edu-top h3 {
  color: #f8fafc;
}

[data-theme="dark"] .edu-showcase-card p,
[data-theme="dark"] .edu-detail-list li,
[data-theme="dark"] .edu-foundation-item p,
.dark-mode .edu-showcase-card p,
.dark-mode .edu-detail-list li,
.dark-mode .edu-foundation-item p {
  color: #94a3b8;
}

[data-theme="dark"] .edu-summary-item span,
[data-theme="dark"] .edu-metric-pill span,
[data-theme="dark"] .edu-journey-head p,
[data-theme="dark"] .edu-flow-card p,
.dark-mode .edu-summary-item span,
.dark-mode .edu-metric-pill span,
.dark-mode .edu-journey-head p,
.dark-mode .edu-flow-card p {
  color:#94a3b8;
}

[data-theme="dark"] .edu-summary-item strong,
[data-theme="dark"] .edu-metric-pill strong,
[data-theme="dark"] .edu-journey-head h3,
[data-theme="dark"] .edu-flow-card h4,
.dark-mode .edu-summary-item strong,
.dark-mode .edu-metric-pill strong,
.dark-mode .edu-journey-head h3,
.dark-mode .edu-flow-card h4 {
  color:#f8fafc;
}

[data-theme="dark"] .cmd-palette-item:hover,
.dark-mode .cmd-palette-item:hover {
  background: rgba(124,58,237,.15);
}

[data-theme="dark"] .cmd-palette-shortcut,
.dark-mode .cmd-palette-shortcut {
  background: var(--bg);
  border-color: var(--border);
}

[data-theme="dark"] .writing-read-time,
.dark-mode .writing-read-time {
  background: rgba(0,0,0,.7);
}

/* ────────────────────────────────────────────────────────
   V16-28. ANIMATION PERFORMANCE — GPU Hints
   ──────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .edu-showcase,
  .edu-proof-strip,
  .edu-foundation-band {
    grid-template-columns: 1fr;
  }

  .edu-layout,
  .edu-content-grid,
  .edu-flow-track {
    grid-template-columns: 1fr;
  }

  .edu-flow-arrow {
    transform: rotate(90deg);
    min-height: 24px;
  }
}

@media (max-width: 768px) {
  .edu-title-wrap {
    gap: 12px;
  }

  .edu-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: .78rem;
  }

  .edu-top {
    flex-direction: column;
    gap: 12px;
  }

  .edu-showcase-card,
  .edu-card,
  .edu-foundation-item,
  .edu-side-panel,
  .edu-journey-board {
    padding: 22px;
  }

  .edu-link-row {
    flex-direction: column;
  }

  .edu-link-pill,
  .edu-status-pill {
    width: 100%;
  }

  .edu-foundation-band {
    grid-template-columns: 1fr;
  }

  .edu-summary-item,
  .edu-proof-item,
  .edu-metric-pill,
  .edu-flow-card {
    padding: 14px;
  }
}

.moment-card,
.cert-card,
.exp-domain,
.achieve-card,
.opp-card,
.recognition-card,
.writing-card,
.timeline-card,
.social-card,
.pipeline-stage {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* --- Prevent layout shift for images --- */
.moment-card img,
.writing-thumb img,
.cert-img img {
  aspect-ratio: auto;
  content-visibility: auto;
}

/* --- Reduce paint for fixed elements --- */
.topbar,
.scroll-progress,
.back-to-top {
  contain: layout style paint;
}

/* ────────────────────────────────────────────────────────
   V16-29. MICRO-TYPOGRAPHY — Professional Type Scale
   ──────────────────────────────────────────────────────── */

/* --- Display headings --- */
.heading-display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.heading-xl {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.heading-lg {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.heading-md {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.heading-sm {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

/* --- Body text sizes --- */
.body-lg {
  font-size: 1.05rem;
  line-height: 1.75;
}

.body-md {
  font-size: .92rem;
  line-height: 1.7;
}

.body-sm {
  font-size: .82rem;
  line-height: 1.6;
}

.body-xs {
  font-size: .72rem;
  line-height: 1.5;
}

/* --- Monospace numbers --- */
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.oldstyle-nums {
  font-variant-numeric: oldstyle-nums;
}

/* --- Kerning control --- */
.kern-tight {
  letter-spacing: -.02em;
}

.kern-normal {
  letter-spacing: 0;
}

.kern-wide {
  letter-spacing: .04em;
}

.kern-wider {
  letter-spacing: .08em;
}

.kern-widest {
  letter-spacing: .12em;
}

/* --- Text balance utility --- */
.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* --- Line clamp utilities --- */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ────────────────────────────────────────────────────────
   V16-30. CONTAINER QUERIES — Component-Level Responsive
   ──────────────────────────────────────────────────────── */

.exp-domain {
  container-type: inline-size;
  container-name: domain-card;
}

@container domain-card (max-width: 300px) {
  .exp-domain li {
    font-size: .78rem;
    line-height: 1.5;
    padding-left: 16px;
  }

  .epd-head h4 {
    font-size: .92rem;
  }

  .epd-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

.cert-card {
  container-type: inline-size;
  container-name: cert-card;
}

@container cert-card (max-width: 200px) {
  .cert-card {
    padding: 12px;
  }

  .cert-badge,
  .cert-img {
    width: 48px;
    height: 48px;
  }
}

.opp-card {
  container-type: inline-size;
  container-name: opp-card;
}

@container opp-card (max-width: 250px) {
  .opp-card {
    padding: 16px;
  }
}

/* ────────────────────────────────────────────────────────
   V16-31. ASPECT RATIO UTILITIES
   ──────────────────────────────────────────────────────── */

.aspect-square  { aspect-ratio: 1 / 1; }
.aspect-video   { aspect-ratio: 16 / 9; }
.aspect-photo   { aspect-ratio: 4 / 3; }
.aspect-portrait{ aspect-ratio: 3 / 4; }
.aspect-wide    { aspect-ratio: 21 / 9; }

/* ────────────────────────────────────────────────────────
   V16-32. HOVER REVEAL UTILITY
   ──────────────────────────────────────────────────────── */

.hover-reveal-parent .hover-reveal-child {
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s ease;
  pointer-events: none;
}

.hover-reveal-parent:hover .hover-reveal-child {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ────────────────────────────────────────────────────────
   V16-33. CHIP / PILL SYSTEM
   ──────────────────────────────────────────────────────── */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  transition: all var(--spring);
  cursor: default;
}

.chip-sm {
  padding: 3px 10px;
  font-size: .72rem;
}

.chip-lg {
  padding: 8px 18px;
  font-size: .88rem;
}

.chip-violet {
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid var(--border-violet);
}

.chip-blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,.2);
}

.chip-green {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.2);
}

.chip-removable .chip-remove {
  margin-left: 2px;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
  font-size: .9em;
}

.chip-removable:hover .chip-remove {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────
   V16-34. AVATAR SYSTEM
   ──────────────────────────────────────────────────────── */

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-xs  { width: 24px; height: 24px; }
.avatar-sm  { width: 32px; height: 32px; }
.avatar-md  { width: 40px; height: 40px; }
.avatar-lg  { width: 56px; height: 56px; }
.avatar-xl  { width: 72px; height: 72px; }
.avatar-2xl { width: 96px; height: 96px; }

/* --- Avatar group (stacked) --- */
.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  margin-left: -8px;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

.avatar-group .avatar:hover {
  z-index: 10;
  transform: scale(1.1);
}

/* --- Avatar status ring --- */
.avatar-ring-online {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--green);
}

.avatar-ring-busy {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--amber);
}

/* ────────────────────────────────────────────────────────
   V16-35. DIVIDER SYSTEM
   ──────────────────────────────────────────────────────── */

.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.divider-gradient {
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.divider-violet {
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  height: 2px;
}

.divider-dotted {
  background: none;
  border-bottom: 2px dotted var(--border);
  height: 0;
}

.divider-dashed {
  background: none;
  border-bottom: 2px dashed var(--border);
  height: 0;
}

.divider-thick {
  height: 3px;
  border-radius: 2px;
}

.divider-with-text {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-with-text span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* ────────────────────────────────────────────────────────
   V16-36. SCROLL SNAP SECTIONS
   ──────────────────────────────────────────────────────── */

.scroll-snap-container {
  scroll-snap-type: y proximity;
  height: 100vh;
  overflow-y: auto;
}

.scroll-snap-section {
  scroll-snap-align: start;
  min-height: 50vh;
}

/* --- Horizontal scroll snap --- */
.scroll-snap-x {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  display: flex;
  gap: 16px;
  scrollbar-width: none;
}

.scroll-snap-x::-webkit-scrollbar { display: none; }

.scroll-snap-item {
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────
   V16-37. INTERSTITIAL SECTIONS — Visual Breaks
   ──────────────────────────────────────────────────────── */

/* --- Quote / pullquote section --- */
.pullquote {
  position: relative;
  padding: 48px 40px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.pullquote::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-weight: 900;
  font-style: normal;
  color: var(--violet);
  opacity: .15;
  font-family: Georgia, serif;
  line-height: 1;
}

.pullquote-author {
  display: block;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  font-style: normal;
  color: var(--violet);
}

/* --- Stat banner between sections --- */
.stat-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
}

.stat-banner-item {
  text-align: center;
}

.stat-banner-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1;
}

.stat-banner-label {
  font-size: .78rem;
  font-weight: 500;
  opacity: .8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  .stat-banner {
    flex-direction: column;
    gap: 24px;
  }

  .stat-banner-num {
    font-size: 1.8rem;
  }
}

/* ────────────────────────────────────────────────────────
   V16-38. GRADIENT MESH BACKGROUNDS — Per Section
   ──────────────────────────────────────────────────────── */

.bg-mesh-hero {
  background:
    radial-gradient(at 20% 30%, rgba(124,58,237,.08) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(37,99,235,.06) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(16,185,129,.05) 0px, transparent 50%);
}

.bg-mesh-exp {
  background:
    radial-gradient(at 0% 50%, rgba(124,58,237,.04) 0px, transparent 40%),
    radial-gradient(at 100% 50%, rgba(37,99,235,.03) 0px, transparent 40%);
}

.bg-mesh-certs {
  background:
    radial-gradient(at 30% 70%, rgba(37,99,235,.05) 0px, transparent 50%),
    radial-gradient(at 70% 30%, rgba(16,185,129,.04) 0px, transparent 50%);
}

.bg-mesh-moments {
  background:
    radial-gradient(at 10% 10%, rgba(245,158,11,.04) 0px, transparent 40%),
    radial-gradient(at 90% 90%, rgba(124,58,237,.05) 0px, transparent 40%);
}

.bg-mesh-opp {
  background:
    radial-gradient(at 50% 0%, rgba(16,185,129,.06) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(124,58,237,.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(37,99,235,.04) 0px, transparent 50%);
}

.bg-mesh-contact {
  background:
    radial-gradient(at 20% 80%, rgba(124,58,237,.06) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(37,99,235,.04) 0px, transparent 50%);
}

/* ────────────────────────────────────────────────────────
   V16-39. INTERSECTION ANIMATION CLASSES
   ──────────────────────────────────────────────────────── */

.anim-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.anim-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-on-scroll-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s ease;
}

.anim-on-scroll-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-on-scroll-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.anim-on-scroll-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-on-scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .6s ease, transform .6s ease;
}

.anim-on-scroll-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Stagger delays for groups --- */
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }
.anim-delay-6 { transition-delay: .6s; }
.anim-delay-7 { transition-delay: .7s; }
.anim-delay-8 { transition-delay: .8s; }

/* ────────────────────────────────────────────────────────
   V16-40. HEATMAP / CONTRIBUTION GRID
   ──────────────────────────────────────────────────────── */

.contrib-grid {
  display: grid;
  grid-template-columns: repeat(52, 12px);
  grid-template-rows: repeat(7, 12px);
  gap: 2px;
}

.contrib-cell {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--bg-alt);
  transition: all .2s ease;
  cursor: default;
}

.contrib-cell:hover {
  transform: scale(1.5);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

.contrib-cell[data-level="1"] { background: rgba(124,58,237,.15); }
.contrib-cell[data-level="2"] { background: rgba(124,58,237,.3); }
.contrib-cell[data-level="3"] { background: rgba(124,58,237,.5); }
.contrib-cell[data-level="4"] { background: var(--violet); }

.contrib-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: .7rem;
  color: var(--text-faint);
}

/* ────────────────────────────────────────────────────────
   V16-41. EXPERIENCE DOMAIN MICRO-ANIMATIONS
   ──────────────────────────────────────────────────────── */

/* --- Code inline styling within bullets --- */
.exp-domain li code {
  font-size: .82em;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(124,58,237,.08);
  color: var(--violet);
  font-weight: 600;
  transition: all .2s ease;
}

.exp-domain li:hover code {
  background: var(--violet);
  color: #fff;
}

/* --- Domain expand chevron on mobile --- */
.domain-chevron {
  display: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--text-faint);
  transition: all .3s var(--spring);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .domain-chevron {
    display: flex;
  }
}

.exp-domain[data-expanded="true"] .domain-chevron {
  transform: rotate(180deg);
  background: var(--violet-dim);
  color: var(--violet);
}

/* ────────────────────────────────────────────────────────
   V16-42. KEYBOARD NAV INDICATOR
   ──────────────────────────────────────────────────────── */

.keyboard-nav-active *:focus {
  outline: 2px solid var(--violet) !important;
  outline-offset: 3px !important;
}

.keyboard-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-faint);
  line-height: 1.4;
}

/* ────────────────────────────────────────────────────────
   V16-43. SMOOTH SCROLL DECORATION
   ──────────────────────────────────────────────────────── */

/* --- Section side indicator --- */
.section-indicator {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 900;
}

.section-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all .3s ease;
  cursor: pointer;
}

.section-indicator-dot.active {
  background: var(--violet);
  transform: scale(1.3);
  box-shadow: 0 0 6px var(--violet-glow);
}

.section-indicator-dot:hover {
  background: var(--violet);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .section-indicator {
    display: none;
  }
}

/* ────────────────────────────────────────────────────────
   V16-44. EXPERIENCE METRIC CALLOUTS
   ──────────────────────────────────────────────────────── */

.metric-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--violet-dim), var(--blue-dim));
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-md);
  margin: 8px 4px;
}

.metric-callout-num {
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--violet);
  line-height: 1;
}

.metric-callout-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ────────────────────────────────────────────────────────
   V16-45. OS / BROWSER THEME DETECTION
   ──────────────────────────────────────────────────────── */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  }
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
  }
}

/* ────────────────────────────────────────────────────────
   V16-46. COMPACT MODE — Density Toggle
   ──────────────────────────────────────────────────────── */

[data-density="compact"] {
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 20px;
}

[data-density="compact"] .exp-domain li {
  margin-bottom: 6px;
  font-size: .82rem;
}

[data-density="compact"] .exp-badge {
  padding: 2px 8px;
  font-size: .7rem;
}

[data-density="compact"] section {
  padding: 40px 0;
}

[data-density="compact"] .impact-strip {
  padding: 12px 20px;
}

/* ────────────────────────────────────────────────────────
   V16-47. BREADCRUMB NAVIGATION
   ──────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: color .2s ease;
}

.breadcrumb-item a:hover {
  color: var(--violet);
}

.breadcrumb-sep {
  color: var(--text-faint);
  font-size: .7rem;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────
   V16-48. TAB SYSTEM
   ──────────────────────────────────────────────────────── */

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 0;
}

.tab {
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
}

.tab:hover {
  color: var(--text-primary);
  background: var(--bg-alt);
}

.tab.active {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

.tab-panel {
  display: none;
  padding: 20px 0;
  animation: fadeInUp .3s ease both;
}

.tab-panel.active {
  display: block;
}

/* ────────────────────────────────────────────────────────
   V16-49. EMPTY STATE STYLES
   ──────────────────────────────────────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: .4;
}

.empty-state-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: .88rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────
   V16-50. FINAL VISUAL POLISH — Pixel Perfect
   ──────────────────────────────────────────────────────── */

/* --- Smooth font rendering across all --- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- Remove tap highlight on mobile --- */
a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* --- Prevent auto zoom on iOS inputs --- */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px;
  }
}

/* --- Safe area for notched devices --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer,
  .cookie-banner,
  .back-to-top {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .topbar,
  .top-banner {
    padding-top: env(safe-area-inset-top);
  }
}

/* --- Prevent content shift on scrollbar --- */
html {
  scrollbar-gutter: stable both-edges;
}

/* --- Image rendering quality --- */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* --- Smooth will-change cleanup --- */
.exp-domain:not(:hover),
.cert-card:not(:hover),
.moment-card:not(:hover) {
  will-change: auto;
}

/* --- Ensure all sections have relative positioning --- */
section {
  position: relative;
  z-index: 1;
}

/* --- Focus trap helper (for modals) --- */
.focus-trap {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ────────────────────────────────────────────────────────
   END V16 UI/UX MASTERCLASS
   ──────────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════════════
   V17 PROTOTYPE POLISH — 3000+ lines of micro-detail perfection
   Every pixel deliberate. Every transition crafted. Best-in-class.
   ═══════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────
   V17-1. FLUID TYPOGRAPHY SYSTEM — Clamp-Based Scale
   ──────────────────────────────────────────────────────── */

:root {
  --fs-3xl: clamp(2.4rem, 5.2vw + 1rem, 4rem);
  --fs-2xl: clamp(1.8rem, 3.6vw + .8rem, 3rem);
  --fs-xl:  clamp(1.4rem, 2.8vw + .6rem, 2.2rem);
  --fs-lg:  clamp(1.1rem, 1.6vw + .5rem, 1.5rem);
  --fs-md:  clamp(.92rem, .8vw + .5rem, 1.1rem);
  --fs-sm:  clamp(.8rem, .4vw + .5rem, .9rem);
  --fs-xs:  clamp(.68rem, .3vw + .4rem, .78rem);

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  --lh-loose: 2;

  /* V17 spacing scale */
  --sp-2xs: clamp(4px, .4vw, 6px);
  --sp-xs:  clamp(6px, .6vw, 10px);
  --sp-sm:  clamp(10px, 1vw, 16px);
  --sp-md:  clamp(16px, 2vw, 24px);
  --sp-lg:  clamp(24px, 3vw, 40px);
  --sp-xl:  clamp(40px, 5vw, 64px);
  --sp-2xl: clamp(56px, 7vw, 96px);
  --sp-3xl: clamp(80px, 10vw, 128px);
}

/* --- Type fluid classes --- */
.type-3xl { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
.type-2xl { font-size: var(--fs-2xl); line-height: var(--lh-tight); }
.type-xl  { font-size: var(--fs-xl);  line-height: var(--lh-snug); }
.type-lg  { font-size: var(--fs-lg);  line-height: var(--lh-snug); }
.type-md  { font-size: var(--fs-md);  line-height: var(--lh-normal); }
.type-sm  { font-size: var(--fs-sm);  line-height: var(--lh-normal); }
.type-xs  { font-size: var(--fs-xs);  line-height: var(--lh-relaxed); }

/* --- Optical alignment for headings --- */
.heading-optical {
  margin-left: -.04em;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* --- Text gradient utility --- */
.text-gradient-violet {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-rainbow {
  background: linear-gradient(135deg, var(--violet), var(--blue), var(--green), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-warm {
  background: linear-gradient(135deg, var(--amber), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Dropcap --- */
.dropcap::first-letter {
  float: left;
  font-size: 3.2em;
  line-height: .8;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--violet);
  padding-right: 8px;
  padding-top: 4px;
}


/* ────────────────────────────────────────────────────────
   V17-2. ADVANCED KEYFRAMES — Third Generation
   ──────────────────────────────────────────────────────── */

@keyframes revealLeft {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes revealRight {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes revealUp {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes revealDown {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes revealCenter {
  from { clip-path: inset(50% 50% 50% 50%); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes elastic {
  0%   { transform: scale(0); }
  55%  { transform: scale(1.08); }
  70%  { transform: scale(.96); }
  85%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  15%      { transform: rotate(6deg); }
  30%      { transform: rotate(-5deg); }
  45%      { transform: rotate(4deg); }
  60%      { transform: rotate(-2deg); }
  75%      { transform: rotate(1deg); }
}

@keyframes rubberBand {
  0%   { transform: scaleX(1) scaleY(1); }
  30%  { transform: scaleX(1.25) scaleY(.75); }
  40%  { transform: scaleX(.75) scaleY(1.25); }
  50%  { transform: scaleX(1.15) scaleY(.85); }
  65%  { transform: scaleX(.95) scaleY(1.05); }
  75%  { transform: scaleX(1.05) scaleY(.95); }
  100% { transform: scaleX(1) scaleY(1); }
}

@keyframes skeletonPulse {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes ripple {
  0%   { transform: scale(0); opacity: .6; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes confetti {
  0%   { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(-200px) rotate(720deg); opacity: 0; }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes slideLeft {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes rotatePerspective {
  0%   { transform: perspective(600px) rotateY(0deg); }
  100% { transform: perspective(600px) rotateY(360deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.04); opacity: .85; }
}

@keyframes blinkSoft {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

@keyframes dashOffset {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--violet); box-shadow: 0 0 8px var(--violet-glow); }
  50%      { border-color: var(--blue); box-shadow: 0 0 12px rgba(37,99,235,.2); }
}

@keyframes panBackground {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ────────────────────────────────────────────────────────
   V17-3. GLASSMORPHISM V2 — Layered Depth Cards
   ──────────────────────────────────────────────────────── */

.glass-card {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 4px 12px rgba(0,0,0,.04),
    0 16px 40px rgba(0,0,0,.04);
  transition: all var(--spring);
}

.glass-card:hover {
  box-shadow:
    0 2px 4px rgba(0,0,0,.05),
    0 8px 20px rgba(0,0,0,.06),
    0 24px 56px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.glass-card-frosted {
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255,255,255,.2);
}

.glass-card-dark {
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.06);
}

[data-theme="dark"] .glass-card,
.dark-mode .glass-card {
  background: rgba(30,41,59,.6);
  border-color: rgba(255,255,255,.06);
}

/* --- Stacked glass layers --- */
.glass-stack {
  position: relative;
}

.glass-stack::before,
.glass-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glass-stack::before {
  transform: rotate(-2deg) translateY(6px);
  background: rgba(124,58,237,.05);
  z-index: -1;
}

.glass-stack::after {
  transform: rotate(1.5deg) translateY(12px);
  background: rgba(37,99,235,.04);
  z-index: -2;
}


/* ────────────────────────────────────────────────────────
   V17-4. NEUMORPHISM — Soft UI Components
   ──────────────────────────────────────────────────────── */

.neu-raised {
  background: var(--bg);
  border: none;
  border-radius: var(--radius-md);
  box-shadow:
    6px 6px 12px rgba(0,0,0,.06),
    -6px -6px 12px rgba(255,255,255,.8);
  transition: all var(--spring);
}

.neu-raised:hover {
  box-shadow:
    8px 8px 16px rgba(0,0,0,.08),
    -8px -8px 16px rgba(255,255,255,.9);
}

.neu-inset {
  background: var(--bg);
  border: none;
  border-radius: var(--radius-md);
  box-shadow:
    inset 4px 4px 8px rgba(0,0,0,.06),
    inset -4px -4px 8px rgba(255,255,255,.8);
}

.neu-flat {
  background: linear-gradient(145deg, rgba(255,255,255,.6), rgba(0,0,0,.02));
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 10px rgba(0,0,0,.05), -4px -4px 10px rgba(255,255,255,.7);
}

[data-theme="dark"] .neu-raised,
.dark-mode .neu-raised {
  box-shadow:
    6px 6px 12px rgba(0,0,0,.3),
    -6px -6px 12px rgba(255,255,255,.03);
}

[data-theme="dark"] .neu-inset,
.dark-mode .neu-inset {
  box-shadow:
    inset 4px 4px 8px rgba(0,0,0,.3),
    inset -4px -4px 8px rgba(255,255,255,.03);
}


/* ────────────────────────────────────────────────────────
   V17-5. CARD FLIP SYSTEM — 3D Transform
   ──────────────────────────────────────────────────────── */

.flip-card {
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .6s var(--spring);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}


/* ────────────────────────────────────────────────────────
   V17-6. RIPPLE EFFECT — Material Button Feedback
   ──────────────────────────────────────────────────────── */

.ripple-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ripple-btn .ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  pointer-events: none;
  animation: ripple .6s ease-out forwards;
  z-index: 0;
}


/* ────────────────────────────────────────────────────────
   V17-7. STAGGERED GRID — Masonry-Style Layouts
   ──────────────────────────────────────────────────────── */

.grid-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 10px;
  gap: 16px;
}

.grid-masonry-item {
  grid-row-end: span var(--span, 20);
}

.grid-masonry-sm { --span: 15; }
.grid-masonry-md { --span: 22; }
.grid-masonry-lg { --span: 30; }
.grid-masonry-xl { --span: 38; }

/* --- Auto-fill grid --- */
.grid-auto-sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.grid-auto-md {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.grid-auto-lg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}


/* ────────────────────────────────────────────────────────
   V17-8. ANIMATED UNDERLINES — Link Polish
   ──────────────────────────────────────────────────────── */

.underline-slide {
  position: relative;
  display: inline;
  text-decoration: none;
}

.underline-slide::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
  transition: width .3s ease;
}

.underline-slide:hover::after {
  width: 100%;
}

.underline-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.underline-right::after {
  left: auto;
  right: 0;
}

/* --- Underline grow from center --- */
.underline-grow {
  position: relative;
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(var(--violet), var(--violet));
  background-size: 0% 2px;
  background-position: center bottom;
  background-repeat: no-repeat;
  transition: background-size .3s ease;
}

.underline-grow:hover {
  background-size: 100% 2px;
}

/* --- Underline thick highlight --- */
.underline-highlight {
  position: relative;
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(transparent 65%, var(--violet-dim) 65%);
  transition: background-image .3s ease;
}

.underline-highlight:hover {
  background-image: linear-gradient(transparent 65%, var(--violet) 65%);
  color: #fff;
}


/* ────────────────────────────────────────────────────────
   V17-9. HERO RETOUCH — Micro-Precision
   ──────────────────────────────────────────────────────── */

/* --- Hero greeting gradient word --- */
.hero-greeting .gradient-word {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* --- Hero availability badge --- */
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 12px;
}

.hero-availability::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: gentlePulse 2s ease infinite;
  flex-shrink: 0;
}

/* --- Hero stack row --- */
.hero-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: center;
}

.hero-stack-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--spring);
}

.hero-stack-item:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--violet-glow);
}

.hero-stack-icon {
  font-size: .85rem;
  line-height: 1;
}

/* --- Hero CTA arrow animation --- */
.hero-cta .cta-arrow {
  display: inline-block;
  transition: transform .3s var(--spring);
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}


/* ────────────────────────────────────────────────────────
   V17-10. ABOUT REFRESH — Refined Detail Cards
   ──────────────────────────────────────────────────────── */

/* --- About highlight number --- */
.about-highlight-num {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--violet);
  line-height: 1;
  letter-spacing: -.03em;
}

.about-highlight-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- About location pin --- */
.about-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
}

.about-location::before {
  content: '📍';
  font-size: .85rem;
}

/* --- About tools strip --- */
.about-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.about-tool {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s ease;
}

.about-tool:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: var(--violet-dim);
}


/* ────────────────────────────────────────────────────────
   V17-11. EXPERIENCE MICRO-POLISH
   ──────────────────────────────────────────────────────── */

/* --- Domain icon glow on hover --- */
.epd-icon {
  position: relative;
  transition: all var(--spring);
}

.exp-domain:hover .epd-icon {
  filter: drop-shadow(0 0 8px var(--domain-accent, var(--violet)));
  transform: scale(1.08);
}

/* --- Bullet metric highlight chip --- */
.bullet-metric {
  display: inline-flex;
  padding: 1px 8px;
  background: rgba(124,58,237,.06);
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--violet);
  font-size: .85em;
  margin: 0 2px;
  white-space: nowrap;
}

/* --- Domain header underline --- */
.epd-head h4 {
  position: relative;
  display: inline;
}

.epd-head h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--domain-accent, var(--violet));
  transition: width .4s var(--spring);
  border-radius: 1px;
}

.exp-domain:hover .epd-head h4::after {
  width: 60%;
}

/* --- Domain tools area --- */
.domain-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.domain-tool {
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-faint);
  border: 1px solid var(--border);
  transition: all .2s ease;
}

.domain-tool:hover {
  background: var(--violet-dim);
  border-color: var(--violet);
  color: var(--violet);
}

/* --- Domain duration bar visual --- */
.domain-bar {
  height: 3px;
  background: var(--bg-alt);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.domain-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--domain-accent, var(--violet)), var(--blue));
  border-radius: 2px;
  transition: width 1.2s var(--spring);
}


/* ────────────────────────────────────────────────────────
   V17-12. CERTIFICATION CARD RETOUCH
   ──────────────────────────────────────────────────────── */

/* --- Cert progress ring SVG --- */
.cert-ring {
  width: 48px;
  height: 48px;
  position: relative;
}

.cert-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cert-ring-bg {
  fill: none;
  stroke: var(--bg-alt);
  stroke-width: 3;
}

.cert-ring-fill {
  fill: none;
  stroke: var(--violet);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

/* --- Cert hover shine --- */
.cert-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255,255,255,.08) 50%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.cert-card:hover::after {
  opacity: 1;
}

/* --- Cert issuer badge --- */
.cert-issuer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-faint);
  margin-top: 6px;
}

/* --- Cert skills list --- */
.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.cert-skill {
  padding: 2px 8px;
  background: var(--violet-dim);
  border-radius: var(--radius-full);
  font-size: .65rem;
  font-weight: 600;
  color: var(--violet);
}


/* ────────────────────────────────────────────────────────
   V17-13. TIMELINE PRECISION — Every Node Polished
   ──────────────────────────────────────────────────────── */

/* --- Timeline node pulse --- */
.timeline-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--violet);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--violet);
  position: relative;
  z-index: 3;
  transition: all var(--spring);
}

.timeline-node::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--violet);
  opacity: .15;
  animation: breathe 3s ease infinite;
}

.timeline-item:hover .timeline-node {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px var(--violet), 0 4px 16px var(--violet-glow);
}

/* --- Timeline hover card highlight --- */
.timeline-item:hover .timeline-card {
  border-color: var(--violet);
  box-shadow: 0 8px 32px var(--violet-glow);
}

/* --- Timeline year marker --- */
.timeline-year {
  display: inline-block;
  padding: 4px 16px;
  background: var(--bg-card);
  border: 2px solid var(--violet);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 800;
  color: var(--violet);
  font-family: var(--font-mono);
  letter-spacing: .04em;
  position: relative;
  z-index: 4;
}


/* ────────────────────────────────────────────────────────
   V17-14. SKILL BAR PROGRESSIVE FILL
   ──────────────────────────────────────────────────────── */

/* --- Skill bar with gradient fill --- */
.skill-bar-fill {
  height: 100%;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: width 1.2s var(--spring);
}

.skill-bar-fill-violet {
  background: linear-gradient(90deg, var(--violet), #a78bfa);
}

.skill-bar-fill-blue {
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.skill-bar-fill-green {
  background: linear-gradient(90deg, var(--green), #34d399);
}

.skill-bar-fill-amber {
  background: linear-gradient(90deg, var(--amber), #fbbf24);
}

/* --- Skill bar shimmer on fill --- */
.skill-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.2) 50%,
    transparent 100%
  );
  animation: shimmerSlide 2s ease infinite;
}

/* --- Skill percentage tooltip --- */
.skill-pct {
  position: absolute;
  right: -8px;
  top: -28px;
  padding: 2px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s ease;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.skill-bar-fill:hover .skill-pct {
  opacity: 1;
  transform: translateY(0);
}

.skill-pct::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


/* ────────────────────────────────────────────────────────
   V17-15. PIPELINE RETOUCH — Stage Connectors
   ──────────────────────────────────────────────────────── */

/* --- Pipeline stage icon container --- */
.pipe-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 10px;
  transition: all var(--spring);
}

.pipe-icon-plan   { background: rgba(124,58,237,.1); color: var(--violet); }
.pipe-icon-code   { background: rgba(37,99,235,.1); color: var(--blue); }
.pipe-icon-build  { background: rgba(245,158,11,.1); color: var(--amber); }
.pipe-icon-test   { background: rgba(239,68,68,.1); color: var(--red); }
.pipe-icon-deploy { background: rgba(16,185,129,.1); color: var(--green); }

.pipeline-stage:hover .pipe-icon {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* --- Pipeline dotted connector --- */
.pipe-connector {
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0px,
    var(--border) 4px,
    transparent 4px,
    transparent 8px
  );
  flex-shrink: 0;
  position: relative;
}

.pipe-connector::after {
  content: '→';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .7rem;
  color: var(--text-faint);
}


/* ────────────────────────────────────────────────────────
   V17-16. WRITING CARD REFRESH
   ──────────────────────────────────────────────────────── */

/* --- Writing card image hover zoom --- */
.writing-card-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.writing-card-img img {
  transition: transform .6s var(--spring);
}

.writing-card:hover .writing-card-img img {
  transform: scale(1.05);
}

/* --- Writing card gradient overlay --- */
.writing-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}

/* --- Writing card author bar --- */
.writing-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.writing-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-card);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.writing-author-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.writing-author-date {
  font-size: .72rem;
  color: var(--text-faint);
  margin-left: auto;
}

/* --- Writing card tag list --- */
.writing-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.writing-tag {
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all .2s ease;
}

.writing-tag:hover {
  background: var(--violet-dim);
  color: var(--violet);
  border-color: var(--violet);
}


/* ────────────────────────────────────────────────────────
   V17-17. ACHIEVEMENT & RECOGNITION POLISH
   ──────────────────────────────────────────────────────── */

/* --- Achievement card trophy shine --- */
.achieve-card {
  position: relative;
}

.achieve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.08),
    transparent
  );
  transform: skewX(-25deg);
  transition: left .6s ease;
  pointer-events: none;
}

.achieve-card:hover::before {
  left: 125%;
}

/* --- Achievement level stars --- */
.achieve-stars {
  display: flex;
  gap: 2px;
  margin-top: 6px;
}

.achieve-star {
  font-size: .7rem;
  color: var(--amber);
  opacity: .3;
}

.achieve-star.filled {
  opacity: 1;
  filter: drop-shadow(0 1px 3px rgba(245,158,11,.3));
}

/* --- Recognition quote bubble --- */
.recognition-quote {
  position: relative;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--violet);
  font-style: italic;
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}

.recognition-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--violet);
  opacity: .2;
  font-family: Georgia, serif;
}


/* ────────────────────────────────────────────────────────
   V17-18. MOMENTS V5 — Gallery Precision
   ──────────────────────────────────────────────────────── */

/* --- Moment card image zoom with overlay --- */
.moment-card .mc-media {
  overflow: hidden;
}

.moment-card .mc-media img {
  transition: transform .6s var(--spring), filter .3s ease;
}

.moment-card:hover .mc-media img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* --- Moment expand icon --- */
.mc-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s ease;
  cursor: zoom-in;
  z-index: 5;
}

.moment-card:hover .mc-expand {
  opacity: 1;
}

.mc-expand:hover {
  background: rgba(0,0,0,.6);
  transform: scale(1.1);
}

/* --- Moment card date badge --- */
.mc-date {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 3px 10px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: rgba(255,255,255,.9);
  font-size: .68rem;
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: var(--radius-full);
  z-index: 5;
  letter-spacing: .02em;
}

/* --- Moment filter strip --- */
.moment-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.moment-filter {
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all .2s ease;
}

.moment-filter:hover,
.moment-filter.active {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  box-shadow: 0 4px 12px var(--violet-glow);
}


/* ────────────────────────────────────────────────────────
   V17-19. FAQ ACCORDION SMOOTH
   ──────────────────────────────────────────────────────── */

/* --- FAQ smooth expand --- */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
  overflow: hidden;
}

.faq-item.active .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-wrap > div {
  min-height: 0;
}

/* --- FAQ icon rotation --- */
.faq-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: .7rem;
  color: var(--text-muted);
  transition: all .3s var(--spring);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  background: var(--violet);
  color: #fff;
  transform: rotate(45deg);
}


/* ────────────────────────────────────────────────────────
   V17-20. CONNECT FORM — Input Polish
   ──────────────────────────────────────────────────────── */

/* --- Floating label inputs --- */
.float-label {
  position: relative;
}

.float-label input,
.float-label textarea {
  padding-top: 20px;
}

.float-label label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .88rem;
  color: var(--text-faint);
  pointer-events: none;
  transition: all .2s ease;
  background: transparent;
}

.float-label textarea ~ label {
  top: 20px;
  transform: none;
}

.float-label input:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label,
.float-label textarea:focus ~ label,
.float-label textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--violet);
  transform: none;
}

/* --- Form submit button state --- */
.form-submit {
  position: relative;
  min-width: 160px;
  min-height: 48px;
}

.form-submit.sending {
  pointer-events: none;
  opacity: .7;
}

.form-submit.sending::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinSlow .6s linear infinite;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.form-submit.sent {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

/* --- Form field group with icon --- */
.field-icon-wrap {
  position: relative;
}

.field-icon-wrap .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: 1rem;
  pointer-events: none;
  transition: color .2s ease;
}

.field-icon-wrap input,
.field-icon-wrap textarea {
  padding-left: 42px;
}

.field-icon-wrap input:focus ~ .field-icon {
  color: var(--violet);
}


/* ────────────────────────────────────────────────────────
   V17-21. FOOTER V2 — Refined Bottom
   ──────────────────────────────────────────────────────── */

/* --- Footer newsletter mini-form --- */
.footer-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg);
  font-size: .85rem;
  color: var(--text-primary);
  transition: all .2s ease;
}

.footer-newsletter input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
}

.footer-newsletter button {
  padding: 10px 20px;
  background: var(--violet);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--spring);
  white-space: nowrap;
}

.footer-newsletter button:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--violet-glow);
}

/* --- Footer status badge --- */
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--text-faint);
}

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


/* ────────────────────────────────────────────────────────
   V17-22. SKELETON LOADING V2 — Content Placeholders
   ──────────────────────────────────────────────────────── */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-alt) 0%,
    rgba(255,255,255,.5) 50%,
    var(--bg-alt) 100%
  );
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
  margin: 8px 0;
  width: 80%;
}

.skeleton-text-sm {
  height: 10px;
  width: 60%;
}

.skeleton-title {
  height: 22px;
  width: 50%;
  margin-bottom: 12px;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-md);
}

.skeleton-badge {
  height: 24px;
  width: 80px;
  border-radius: var(--radius-full);
  display: inline-block;
}

[data-theme="dark"] .skeleton,
.dark-mode .skeleton {
  background: linear-gradient(
    90deg,
    rgba(30,41,59,.8) 0%,
    rgba(51,65,85,.5) 50%,
    rgba(30,41,59,.8) 100%
  );
  background-size: 200% 100%;
}


/* ────────────────────────────────────────────────────────
   V17-23. TOOLTIP V2 — Rich Tooltips
   ──────────────────────────────────────────────────────── */

.tooltip-v2 {
  position: relative;
}

.tooltip-v2[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 8px 14px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all .2s ease;
  z-index: 9000;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.tooltip-v2[data-tip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
  pointer-events: none;
  opacity: 0;
  transition: all .2s ease;
  z-index: 9001;
}

.tooltip-v2:hover[data-tip]::after,
.tooltip-v2:hover[data-tip]::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Tooltip positions --- */
.tooltip-bottom[data-tip]::after {
  bottom: auto;
  top: calc(100% + 10px);
}

.tooltip-bottom[data-tip]::before {
  bottom: auto;
  top: calc(100% + 4px);
  border-top-color: transparent;
  border-bottom-color: var(--text-primary);
}

.tooltip-left[data-tip]::after {
  bottom: auto;
  top: 50%;
  left: auto;
  right: calc(100% + 10px);
  transform: translateY(-50%) translateX(6px);
}

.tooltip-left:hover[data-tip]::after {
  transform: translateY(-50%) translateX(0);
}


/* ────────────────────────────────────────────────────────
   V17-24. PROGRESS INDICATORS — Multi-Variant
   ──────────────────────────────────────────────────────── */

/* --- Circular progress --- */
.progress-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-circle svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle-track {
  fill: none;
  stroke: var(--bg-alt);
  stroke-width: 4;
}

.progress-circle-fill {
  fill: none;
  stroke: var(--violet);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset .8s ease;
}

.progress-circle-text {
  font-size: .78rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  z-index: 1;
}

/* --- Step progress --- */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 1;
}

.progress-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-faint);
  z-index: 2;
  transition: all var(--spring);
}

.progress-step.active .progress-step-dot {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 0 0 4px var(--violet-dim);
}

.progress-step.completed .progress-step-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.progress-step-label {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-faint);
  text-align: center;
}

.progress-step.active .progress-step-label {
  color: var(--violet);
  font-weight: 700;
}

/* --- Step connector --- */
.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.progress-step.completed:not(:last-child)::after {
  background: var(--green);
}


/* ────────────────────────────────────────────────────────
   V17-25. TAG CLOUD — Weighted Sizing
   ──────────────────────────────────────────────────────── */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.tag-cloud-item {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--spring);
  cursor: default;
}

.tag-cloud-item:hover {
  background: var(--violet-dim);
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-2px);
}

.tag-cloud-1 { font-size: .68rem; }
.tag-cloud-2 { font-size: .78rem; }
.tag-cloud-3 { font-size: .88rem; }
.tag-cloud-4 { font-size: 1rem; font-weight: 700; }
.tag-cloud-5 { font-size: 1.15rem; font-weight: 800; }


/* ────────────────────────────────────────────────────────
   V17-26. COMPARISON TABLE — Feature Matrix
   ──────────────────────────────────────────────────────── */

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .85rem;
}

.compare-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-faint);
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}

.compare-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  transition: background .2s ease;
}

.compare-table tr:hover td {
  background: var(--violet-dim);
}

.compare-table .check { color: var(--green); font-weight: 700; }
.compare-table .cross { color: var(--text-faint); }
.compare-table .partial { color: var(--amber); }

.compare-table th:first-child,
.compare-table td:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}


/* ────────────────────────────────────────────────────────
   V17-27. PRICING / TIER CARD — Service Showcase
   ──────────────────────────────────────────────────────── */

.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.tier-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--spring);
  text-align: center;
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
  border-color: var(--violet);
}

.tier-card.featured {
  border-color: var(--violet);
  box-shadow: 0 8px 32px var(--violet-glow);
}

.tier-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--violet);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tier-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tier-price {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--violet);
  margin: 16px 0;
  line-height: 1;
}

.tier-price-period {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-faint);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.tier-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.tier-features li.disabled {
  color: var(--text-faint);
  text-decoration: line-through;
}

.tier-features li.disabled::before {
  content: '—';
  color: var(--text-faint);
}


/* ────────────────────────────────────────────────────────
   V17-28. STATS CARD — Metric Showcase Row
   ──────────────────────────────────────────────────────── */

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--spring);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 12px;
  transition: all var(--spring);
}

.stat-card:hover .stat-card-icon {
  background: var(--violet);
  color: #fff;
  transform: rotate(-5deg) scale(1.08);
}

.stat-card-num {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-card-label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 600;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.stat-card-trend-up {
  background: rgba(16,185,129,.08);
  color: var(--green);
}

.stat-card-trend-down {
  background: rgba(239,68,68,.08);
  color: var(--red);
}


/* ────────────────────────────────────────────────────────
   V17-29. BANNER / ALERT SYSTEM
   ──────────────────────────────────────────────────────── */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: .88rem;
  line-height: 1.5;
}

.alert-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 1px;
}

.alert-close {
  margin-left: auto;
  cursor: pointer;
  opacity: .6;
  font-size: .9rem;
  transition: opacity .2s;
}

.alert-close:hover { opacity: 1; }

.alert-info {
  background: rgba(37,99,235,.06);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,.15);
}

.alert-success {
  background: rgba(16,185,129,.06);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.15);
}

.alert-warning {
  background: rgba(245,158,11,.06);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,.15);
}

.alert-error {
  background: rgba(239,68,68,.06);
  color: var(--red);
  border: 1px solid rgba(239,68,68,.15);
}

.alert-violet {
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid var(--border-violet);
}


/* ────────────────────────────────────────────────────────
   V17-30. ACCORDION V2 — Multi-Panel
   ──────────────────────────────────────────────────────── */

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

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

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-primary);
  transition: all .2s ease;
}

.accordion-header:hover {
  background: var(--bg-alt);
}

.accordion-item.active .accordion-header {
  background: var(--violet-dim);
  color: var(--violet);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform .3s ease;
}

.accordion-icon::before {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}

.accordion-icon::after {
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-item.active .accordion-icon::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.accordion-item.active .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  min-height: 0;
  overflow: hidden;
}

.accordion-content {
  padding: 0 20px 16px;
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ────────────────────────────────────────────────────────
   V17-31. BADGE SYSTEM V2 — Refined
   ──────────────────────────────────────────────────────── */

.badge-v2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.badge-v2-sm {
  padding: 2px 8px;
  font-size: .68rem;
}

.badge-v2-violet { background: var(--violet-dim); color: var(--violet); }
.badge-v2-blue   { background: var(--blue-dim); color: var(--blue); }
.badge-v2-green  { background: var(--green-dim); color: var(--green); }
.badge-v2-amber  { background: rgba(245,158,11,.08); color: var(--amber); }
.badge-v2-red    { background: rgba(239,68,68,.08); color: var(--red); }
.badge-v2-gray   { background: var(--bg-alt); color: var(--text-muted); }

/* --- Badge with dot --- */
.badge-v2-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* --- Badge with count --- */
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-mono);
}


/* ────────────────────────────────────────────────────────
   V17-32. TOGGLE / SWITCH COMPONENT
   ──────────────────────────────────────────────────────── */

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all .3s ease;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: all .3s var(--spring);
}

.toggle-switch input:checked ~ .toggle-track {
  background: var(--violet);
  border-color: var(--violet);
}

.toggle-switch input:checked ~ .toggle-thumb {
  left: 23px;
}

.toggle-switch input:focus-visible ~ .toggle-track {
  box-shadow: 0 0 0 3px var(--violet-dim);
}


/* ────────────────────────────────────────────────────────
   V17-33. DARK MODE V17 EXTENSIONS
   ──────────────────────────────────────────────────────── */

[data-theme="dark"] .glass-card-frosted,
.dark-mode .glass-card-frosted {
  background: rgba(15,23,42,.6);
  border-color: rgba(255,255,255,.05);
}

[data-theme="dark"] .tier-card,
.dark-mode .tier-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .stat-card,
.dark-mode .stat-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .alert-info,
.dark-mode .alert-info {
  background: rgba(37,99,235,.1);
}

[data-theme="dark"] .alert-success,
.dark-mode .alert-success {
  background: rgba(16,185,129,.1);
}

[data-theme="dark"] .alert-warning,
.dark-mode .alert-warning {
  background: rgba(245,158,11,.1);
}

[data-theme="dark"] .alert-error,
.dark-mode .alert-error {
  background: rgba(239,68,68,.1);
}

[data-theme="dark"] .accordion-header,
.dark-mode .accordion-header {
  background: var(--bg-card);
}

[data-theme="dark"] .accordion-item.active .accordion-header,
.dark-mode .accordion-item.active .accordion-header {
  background: rgba(124,58,237,.1);
}

[data-theme="dark"] .compare-table th,
.dark-mode .compare-table th {
  background: var(--bg-card);
}

[data-theme="dark"] .toggle-track,
.dark-mode .toggle-track {
  background: var(--bg);
  border-color: var(--border);
}

[data-theme="dark"] .tooltip-v2[data-tip]::after,
.dark-mode .tooltip-v2[data-tip]::after {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="dark"] .footer-newsletter input,
.dark-mode .footer-newsletter input {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .moment-filter,
.dark-mode .moment-filter {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .writing-tag,
.dark-mode .writing-tag {
  background: var(--bg);
  border-color: var(--border);
}


/* ────────────────────────────────────────────────────────
   V17-34. RESPONSIVE V17 — Breakpoint Refinements
   ──────────────────────────────────────────────────────── */

/* --- Ultra-wide (2K+) --- */
@media (min-width: 1600px) {
  .sec-inner {
    max-width: 1320px;
  }

  .stat-cards {
    grid-template-columns: repeat(5, 1fr);
  }

  .tier-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- 1440px breakpoint --- */
@media (min-width: 1440px) {
  .exp-domains {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Tablet (768-1024) --- */
@media (max-width: 1024px) {
  .tier-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-table {
    font-size: .8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
  }
}

/* --- Phone (max 640px) --- */
@media (max-width: 640px) {
  .tier-cards {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stack {
    justify-content: center;
  }

  .hero-availability {
    justify-content: center;
  }

  .progress-steps {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .progress-step:not(:last-child)::after {
    display: none;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .tag-cloud {
    gap: 6px;
  }

  .pullquote {
    padding: 32px 20px;
    font-size: 1.1rem;
  }

  .footer-newsletter {
    flex-direction: column;
  }

  .footer-newsletter button {
    width: 100%;
  }
}

/* --- Extra small (max 380px) --- */
@media (max-width: 380px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }

  .stat-card-num {
    font-size: 1.4rem;
  }

  .tier-price {
    font-size: 2rem;
  }

  .hero-stack-item {
    font-size: .65rem;
    padding: 3px 8px;
  }
}


/* ────────────────────────────────────────────────────────
   V17-35. PRINT V17 — Extended Coverage
   ──────────────────────────────────────────────────────── */

@media print {
  .glass-card,
  .glass-card-frosted,
  .glass-card-dark {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  .skeleton,
  .skeleton-text,
  .skeleton-card {
    display: none !important;
  }

  .cursor-dot,
  .cursor-ring,
  .section-indicator,
  .back-to-top,
  .cookie-banner,
  .lightbox-overlay {
    display: none !important;
  }

  .tier-card {
    page-break-inside: avoid;
  }

  .stat-card {
    page-break-inside: avoid;
  }

  .alert {
    page-break-inside: avoid;
  }
}


/* ────────────────────────────────────────────────────────
   V17-36. ANIMATED NUMBER INPUT — Stepper
   ──────────────────────────────────────────────────────── */

.number-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.number-stepper button {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  color: var(--text-muted);
}

.number-stepper button:hover {
  background: var(--violet-dim);
  color: var(--violet);
}

.number-stepper input {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .88rem;
  background: var(--bg-card);
  color: var(--text-primary);
}


/* ────────────────────────────────────────────────────────
   V17-37. RANGE SLIDER — Custom Style
   ──────────────────────────────────────────────────────── */

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--violet);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px var(--violet-glow);
  transition: all .2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px var(--violet-glow);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--violet);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px var(--violet-glow);
}


/* ────────────────────────────────────────────────────────
   V17-38. CHECKBOX & RADIO — Custom Style
   ──────────────────────────────────────────────────────── */

.custom-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: .88rem;
  color: var(--text-secondary);
}

.custom-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-check-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}

.custom-check input:checked ~ .custom-check-box {
  background: var(--violet);
  border-color: var(--violet);
}

.custom-check input:checked ~ .custom-check-box::after {
  content: '✓';
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
}

.custom-check input:focus-visible ~ .custom-check-box {
  box-shadow: 0 0 0 3px var(--violet-dim);
}

/* --- Radio --- */
.custom-radio .custom-check-box {
  border-radius: 50%;
}

.custom-radio input:checked ~ .custom-check-box::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}


/* ────────────────────────────────────────────────────────
   V17-39. DROPDOWN / SELECT — Custom
   ──────────────────────────────────────────────────────── */

.custom-select {
  position: relative;
  display: inline-block;
  min-width: 200px;
}

.custom-select select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: .88rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all .2s ease;
}

.custom-select select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
}

.custom-select::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-faint);
  font-size: .8rem;
}


/* ────────────────────────────────────────────────────────
   V17-40. SEARCH INPUT — Enhanced
   ──────────────────────────────────────────────────────── */

.search-input-wrap {
  position: relative;
  max-width: 400px;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 44px 12px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  font-size: .88rem;
  font-family: var(--font-sans);
  transition: all .3s ease;
}

.search-input-wrap input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim), 0 4px 12px rgba(0,0,0,.04);
}

.search-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: .95rem;
  pointer-events: none;
  transition: color .2s;
}

.search-input-wrap input:focus ~ .search-input-icon {
  color: var(--violet);
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-faint);
  font-size: .65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .2s ease;
}

.search-input-wrap input:not(:placeholder-shown) ~ .search-clear {
  opacity: 1;
}

.search-clear:hover {
  background: var(--red);
  color: #fff;
}


/* ────────────────────────────────────────────────────────
   V17-41. BREADCRUMB WITH ICONS
   ──────────────────────────────────────────────────────── */

.breadcrumb-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding: 8px 0;
}

.breadcrumb-icon a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  transition: color .2s;
}

.breadcrumb-icon a:hover {
  color: var(--violet);
}

.breadcrumb-icon .bc-sep {
  font-size: .6rem;
  color: var(--text-faint);
}


/* ────────────────────────────────────────────────────────
   V17-42. FOCUS VISIBLE — Global Polish
   ──────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  border-radius: 2px;
}


/* ────────────────────────────────────────────────────────
   V17-43. MOTION SAFE / MOTION REDUCE
   ──────────────────────────────────────────────────────── */

@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;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  .lightbox-overlay {
    transition: none !important;
  }
}


/* ────────────────────────────────────────────────────────
   V17-44. COLOR SCHEME — Extended Palette Utilities
   ──────────────────────────────────────────────────────── */

.bg-violet-subtle   { background: var(--violet-dim); }
.bg-blue-subtle     { background: var(--blue-dim); }
.bg-green-subtle    { background: var(--green-dim); }
.bg-amber-subtle    { background: rgba(245,158,11,.06); }
.bg-red-subtle      { background: rgba(239,68,68,.06); }

.text-violet { color: var(--violet); }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-amber  { color: var(--amber); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text-muted); }
.text-faint  { color: var(--text-faint); }

.border-violet { border-color: var(--violet) !important; }
.border-blue   { border-color: var(--blue) !important; }
.border-green  { border-color: var(--green) !important; }


/* ────────────────────────────────────────────────────────
   V17-45. LINK CARD — Rich Preview
   ──────────────────────────────────────────────────────── */

.link-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--spring);
  text-decoration: none;
  color: inherit;
}

.link-card:hover {
  border-color: var(--violet);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.link-card-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.link-card-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.link-card-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.link-card-domain {
  font-size: .72rem;
  color: var(--text-faint);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}


/* ────────────────────────────────────────────────────────
   V17-46. IMAGE COMPARISON SLIDER
   ──────────────────────────────────────────────────────── */

.img-compare {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: col-resize;
}

.img-compare-before,
.img-compare-after {
  display: block;
  width: 100%;
}

.img-compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.img-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,.3);
}

.img-compare-handle::before,
.img-compare-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.img-compare-handle::before {
  left: -14px;
  transform: translateY(-50%);
}

.img-compare-handle::after {
  right: -14px;
  transform: translateY(-50%);
}


/* ────────────────────────────────────────────────────────
   V17-47. SCROLL DECORATIONS — Stylised Scrollbar
   ──────────────────────────────────────────────────────── */

/* --- Thin scrollbar for containers --- */
.scroll-thin {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.scroll-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scroll-thin::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-thin::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.scroll-thin::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
}

/* --- Violet accent scrollbar --- */
.scroll-violet::-webkit-scrollbar-thumb {
  background: var(--violet);
}

/* --- Hidden scrollbar utility --- */
.scroll-hide {
  scrollbar-width: none;
}

.scroll-hide::-webkit-scrollbar {
  display: none;
}


/* ────────────────────────────────────────────────────────
   V17-48. GRADIENT BORDER — Conic
   ──────────────────────────────────────────────────────── */

.gradient-border-conic {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.gradient-border-conic::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    var(--violet),
    var(--blue),
    var(--green),
    var(--amber),
    var(--violet)
  );
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 2px;
}


/* ────────────────────────────────────────────────────────
   V17-49. SELECTION COLOUR — Branded
   ──────────────────────────────────────────────────────── */

::selection {
  background: rgba(124,58,237,.2);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(124,58,237,.2);
  color: var(--text-primary);
}


/* ────────────────────────────────────────────────────────
   V17-50. FINAL MICRO-UTILITIES
   ──────────────────────────────────────────────────────── */

/* --- Spacing utilities --- */
.mt-0  { margin-top: 0; }
.mt-xs { margin-top: var(--sp-xs); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }

.mb-0  { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--sp-xs); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }

.pt-0  { padding-top: 0; }
.pt-xs { padding-top: var(--sp-xs); }
.pt-sm { padding-top: var(--sp-sm); }
.pt-md { padding-top: var(--sp-md); }
.pt-lg { padding-top: var(--sp-lg); }
.pt-xl { padding-top: var(--sp-xl); }

.pb-0  { padding-bottom: 0; }
.pb-xs { padding-bottom: var(--sp-xs); }
.pb-sm { padding-bottom: var(--sp-sm); }
.pb-md { padding-bottom: var(--sp-md); }
.pb-lg { padding-bottom: var(--sp-lg); }
.pb-xl { padding-bottom: var(--sp-xl); }

.px-xs { padding-left: var(--sp-xs); padding-right: var(--sp-xs); }
.px-sm { padding-left: var(--sp-sm); padding-right: var(--sp-sm); }
.px-md { padding-left: var(--sp-md); padding-right: var(--sp-md); }
.px-lg { padding-left: var(--sp-lg); padding-right: var(--sp-lg); }

.py-xs { padding-top: var(--sp-xs); padding-bottom: var(--sp-xs); }
.py-sm { padding-top: var(--sp-sm); padding-bottom: var(--sp-sm); }
.py-md { padding-top: var(--sp-md); padding-bottom: var(--sp-md); }
.py-lg { padding-top: var(--sp-lg); padding-bottom: var(--sp-lg); }

/* --- Gap utilities --- */
.gap-xs { gap: var(--sp-xs); }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }
.gap-xl { gap: var(--sp-xl); }

/* --- Display utilities --- */
.d-flex    { display: flex; }
.d-grid    { display: grid; }
.d-block   { display: block; }
.d-inline  { display: inline; }
.d-ib      { display: inline-block; }
.d-none    { display: none; }

.flex-col   { flex-direction: column; }
.flex-row   { flex-direction: row; }
.flex-wrap  { flex-wrap: wrap; }
.flex-1     { flex: 1; }
.flex-center{ display: flex; align-items: center; justify-content: center; }

.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

/* --- Text align --- */
.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

/* --- Width utilities --- */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-fit   { width: fit-content; }
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 680px; }
.max-w-lg  { max-width: 960px; }
.max-w-xl  { max-width: 1200px; }

/* --- Border radius shortcuts --- */
.rounded-none { border-radius: 0; }
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }

/* --- Overflow --- */
.overflow-hidden  { overflow: hidden; }
.overflow-auto    { overflow: auto; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-y-auto  { overflow-y: auto; }

/* --- Positioning --- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.fixed    { position: fixed; }

/* --- Z-index layering --- */
.z-0   { z-index: 0; }
.z-10  { z-index: 10; }
.z-20  { z-index: 20; }
.z-50  { z-index: 50; }
.z-100 { z-index: 100; }

/* --- Opacity utilities --- */
.opacity-0   { opacity: 0; }
.opacity-25  { opacity: .25; }
.opacity-50  { opacity: .5; }
.opacity-75  { opacity: .75; }
.opacity-100 { opacity: 1; }

/* --- Cursor utilities --- */
.cursor-pointer  { cursor: pointer; }
.cursor-default  { cursor: default; }
.cursor-grab     { cursor: grab; }
.cursor-not-allowed { cursor: not-allowed; }

/* --- Truncate utility --- */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Visually hidden (a11y) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Transition utilities --- */
.transition-fast { transition: all .15s ease; }
.transition-base { transition: all .3s ease; }
.transition-slow { transition: all .5s ease; }
.transition-spring { transition: all var(--spring); }

/* --- Transform utilities --- */
.hover-lift:hover { transform: translateY(-4px); }
.hover-scale:hover { transform: scale(1.05); }
.hover-glow:hover { box-shadow: 0 8px 32px var(--violet-glow); }

/* --- Ring utility --- */
.ring-violet {
  box-shadow: 0 0 0 3px var(--violet-dim);
}

.ring-focus:focus-visible {
  box-shadow: 0 0 0 3px var(--violet-dim);
}

/* ────────────────────────────────────────────────────────
   END V17 PROTOTYPE POLISH
   ──────────────────────────────────────────────────────── */

/* ═════════════════════════════════════════════════════════
   V18 — HIRED: Maximum Impact Sections
   6 new sections + deep polish for hire-ability
   ═════════════════════════════════════════════════════════ */

/* ── V18-1: TESTIMONIALS — Social Proof Section ── */
.testimonial-carousel{position:relative;overflow:hidden;border-radius:20px;background:var(--bg-card);border:1px solid var(--border);padding:2rem;isolation:isolate}
.test-track{display:flex;gap:0;align-items:stretch;transition:transform .55s cubic-bezier(.4,0,.2,1);will-change:transform}
.test-card{min-width:100%;flex-shrink:0;box-sizing:border-box;display:flex;flex-direction:column;position:relative;padding:2.35rem 2rem 1.85rem;background:linear-gradient(135deg,rgba(124,58,237,.03),rgba(37,99,235,.03));border-radius:16px;border:1px solid var(--border)}
.test-card:hover{border-color:var(--violet);box-shadow:0 8px 32px rgba(124,58,237,.08)}
.test-quote-icon{position:absolute;top:1.4rem;right:1.4rem;pointer-events:none}
.test-text{font-size:1.04rem;line-height:1.78;color:var(--text);font-weight:400;margin-bottom:1.6rem;font-style:italic;position:relative;padding:.15rem 3rem 0 .35rem;max-width:62rem}
.test-text em{color:var(--violet);font-style:italic;font-weight:600}
.test-author{display:flex;align-items:center;gap:1rem;margin-top:auto;margin-bottom:1rem;padding-top:1rem;border-top:1px solid rgba(148,163,184,.18)}
.test-avatar{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;color:white;flex-shrink:0}
.test-av-1{background:linear-gradient(135deg,#7c3aed,#2563eb)}
.test-av-2{background:linear-gradient(135deg,#10b981,#059669)}
.test-av-3{background:linear-gradient(135deg,#f59e0b,#d97706)}
.test-av-4{background:linear-gradient(135deg,#ef4444,#dc2626)}
.test-av-5{background:linear-gradient(135deg,#8b5cf6,#6366f1)}
.test-av-6{background:linear-gradient(135deg,#06b6d4,#2563eb)}
.test-av-7{background:linear-gradient(135deg,#14b8a6,#22c55e)}
.test-av-8{background:linear-gradient(135deg,#f97316,#ef4444)}
.test-av-9{background:linear-gradient(135deg,#ec4899,#8b5cf6)}
.test-av-10{background:linear-gradient(135deg,#0ea5e9,#10b981)}
.test-name{font-weight:700;font-size:.95rem;color:var(--text)}
.test-role{font-size:.82rem;color:var(--text-muted)}
.test-rating{display:flex;gap:2px}
.test-star{color:#f59e0b;font-size:1.1rem}
.test-nav{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.5rem;padding-top:1.15rem;border-top:1px solid rgba(148,163,184,.16)}
.test-prev,.test-next{width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--bg-card);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:var(--text)}
.test-prev:hover,.test-next:hover{border-color:var(--violet);color:var(--violet);background:rgba(124,58,237,.05)}
.test-dots{display:flex;gap:8px}
.test-dot{width:10px;height:10px;border-radius:50%;background:var(--border);cursor:pointer;transition:all .3s}
.test-dot.active{background:var(--violet);transform:scale(1.3);box-shadow:0 0 8px rgba(124,58,237,.4)}

/* Social Proof Strip */
.social-proof-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2rem;padding:2rem;background:var(--bg-card);border:1px solid var(--border);border-radius:16px;margin-top:3rem}
.sp-item{text-align:center}
.sp-num{font-family:'Outfit',var(--font);font-size:1.6rem;font-weight:800;color:var(--text);line-height:1}
.sp-num span{color:var(--violet);font-weight:600}
.sp-label{font-size:.78rem;color:var(--text-muted);margin-top:4px;font-weight:500}
.sp-sep{width:1px;height:36px;background:var(--border)}

/* ── V18-2: CASE STUDY — Technical Deep-Dive ── */
.case-study-section{background:linear-gradient(180deg,var(--bg) 0%,rgba(124,58,237,.02) 50%,var(--bg) 100%)}
.cs-timeline{position:relative;padding-left:4rem}
.cs-timeline::before{content:'';position:absolute;left:1.5rem;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--violet),var(--blue),#10b981);border-radius:3px}
.cs-phase{position:relative;margin-bottom:3rem}
.cs-phase:last-child{margin-bottom:0}
.cs-phase-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}
.cs-phase-num{position:absolute;left:-4rem;width:3rem;height:3rem;border-radius:50%;background:var(--violet);color:white;font-weight:800;font-size:.75rem;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 4px var(--bg),0 0 0 6px var(--violet)}
.cs-phase-title{font-size:1.35rem;font-weight:800;color:var(--text)}

.cs-challenge-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:2rem}
.cs-card-red{border-left:4px solid #ef4444}
.cs-card-red h4{color:#ef4444;font-size:1.05rem;font-weight:700;margin-bottom:1rem}
.cs-card-red li{font-size:.92rem;line-height:1.7;color:var(--text);margin-bottom:.5rem;padding-left:.5rem}
.cs-card-red li strong{color:#ef4444}
.cs-card-red code{background:rgba(239,68,68,.08);color:#ef4444;padding:2px 6px;border-radius:4px;font-size:.82rem;font-family:'JetBrains Mono',monospace}

.cs-arch-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.cs-arch-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:1.75rem;transition:all .3s}
.cs-arch-card:hover{border-color:var(--violet);transform:translateY(-2px);box-shadow:0 8px 24px rgba(124,58,237,.08)}
.cs-arch-icon{font-size:1.5rem;margin-bottom:.75rem}
.cs-arch-card h4{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:.5rem}
.cs-arch-card p{font-size:.88rem;color:var(--text-muted);line-height:1.65}
.cs-tech-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1rem}
.cs-tech-tags span{font-size:.7rem;font-weight:600;padding:3px 8px;background:rgba(124,58,237,.08);color:var(--violet);border-radius:6px}

.cs-results-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.cs-result-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:1.75rem;text-align:center;transition:all .3s}
.cs-card-green{border-left:4px solid #10b981}
.cs-result-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(16,185,129,.08)}
.cs-result-num{font-family:'Outfit',var(--font);font-size:2.2rem;font-weight:900;color:#10b981;line-height:1}
.cs-result-num span{font-size:1.1rem;font-weight:600}
.cs-result-label{font-weight:700;font-size:.92rem;color:var(--text);margin:.5rem 0}
.cs-result-card p{font-size:.82rem;color:var(--text-muted);line-height:1.6}

.cs-takeaway{display:flex;gap:1.5rem;align-items:flex-start;background:linear-gradient(135deg,rgba(124,58,237,.06),rgba(37,99,235,.06));border:1px solid rgba(124,58,237,.15);border-radius:16px;padding:2rem;margin-top:3rem}
.cs-takeaway-icon{font-size:2rem;flex-shrink:0;margin-top:.2rem}
.cs-takeaway-content h4{font-size:1.1rem;font-weight:800;color:var(--violet);margin-bottom:.5rem}
.cs-takeaway-content p{font-size:.95rem;color:var(--text);line-height:1.7}
.cs-takeaway-content strong{color:var(--violet)}

/* ── V18-3: FRAMEWORKS MATRIX ── */
.fw-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.fw-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:2rem;transition:all .3s}
.fw-card:hover{border-color:var(--violet);box-shadow:0 8px 32px rgba(124,58,237,.08);transform:translateY(-2px)}
.fw-card-primary{border-left:4px solid var(--violet);background:linear-gradient(135deg,rgba(124,58,237,.03),transparent)}
.fw-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}
.fw-icon{font-size:1.5rem;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(124,58,237,.06);border-radius:12px;flex-shrink:0}
.fw-title{font-size:1.1rem;font-weight:800;color:var(--text);line-height:1.2}
.fw-subtitle{font-size:.78rem;color:var(--text-muted);font-weight:500}
.fw-level{font-size:.7rem;font-weight:700;padding:4px 10px;border-radius:20px;margin-left:auto;text-transform:uppercase;letter-spacing:.06em;flex-shrink:0}
.fw-expert{background:rgba(124,58,237,.1);color:var(--violet)}
.fw-advanced{background:rgba(37,99,235,.1);color:var(--blue)}
.fw-body ul{list-style:none;padding:0}
.fw-body li{font-size:.88rem;line-height:1.65;color:var(--text-muted);padding:.35rem 0;padding-left:1.2rem;position:relative}
.fw-body li::before{content:'▸';position:absolute;left:0;color:var(--violet);font-weight:700}
.fw-body li strong{color:var(--text);font-weight:600}
.fw-bar{height:4px;background:var(--border);border-radius:4px;margin-top:1rem;overflow:hidden}
.fw-fill{height:100%;background:linear-gradient(90deg,var(--violet),var(--blue));border-radius:4px;width:0;transition:width 1.2s cubic-bezier(.4,0,.2,1)}

/* STRIDE methodology */
.stride-section{margin-top:4rem;background:linear-gradient(135deg,rgba(124,58,237,.04),rgba(37,99,235,.04));border-radius:20px;padding:2.5rem;border:1px solid rgba(124,58,237,.1)}
.stride-title{font-size:1.3rem;font-weight:800;color:var(--text);margin-bottom:.5rem;text-align:center}
.stride-desc{font-size:.9rem;color:var(--text-muted);text-align:center;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}
.stride-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem}
.stride-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:1.25rem 1rem;text-align:center;transition:all .3s}
.stride-card:hover{border-color:var(--violet);transform:translateY(-3px);box-shadow:0 8px 24px rgba(124,58,237,.1)}
.stride-letter{display:block;font-family:'Outfit',var(--font);font-size:2rem;font-weight:900;color:var(--violet);line-height:1;margin-bottom:.25rem}
.stride-name{display:block;font-size:.82rem;font-weight:700;color:var(--text);margin-bottom:.5rem}
.stride-control{display:block;font-size:.7rem;color:var(--text-muted);line-height:1.4}

/* ── V18-4: WHY HIRE ME ── */
.why-me-section{background:linear-gradient(180deg,var(--bg) 0%,rgba(124,58,237,.04) 30%,rgba(37,99,235,.04) 70%,var(--bg) 100%)}
.why-hero-card{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:center;background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:3rem;margin-bottom:3rem;border-left:5px solid var(--violet)}
.why-hero-card:hover{box-shadow:0 12px 48px rgba(124,58,237,.08)}
.why-headline{font-size:1.8rem;font-weight:900;color:var(--text);line-height:1.25;margin-bottom:1rem}
.why-highlight{color:transparent;background:linear-gradient(135deg,var(--violet),var(--blue));-webkit-background-clip:text;background-clip:text}
.why-subline{font-size:1rem;color:var(--text-muted);line-height:1.7}
.why-subline strong{color:var(--text)}
.why-hero-right{display:flex;flex-direction:column;gap:1.25rem}
.why-stat{background:linear-gradient(135deg,rgba(124,58,237,.06),rgba(37,99,235,.06));border-radius:14px;padding:1.25rem 1.5rem;border:1px solid rgba(124,58,237,.12);display:flex;align-items:center;gap:1rem}
.why-stat-num{font-family:'Outfit',var(--font);font-size:2rem;font-weight:900;color:var(--violet);flex-shrink:0;min-width:60px}
.why-stat-label{font-size:.88rem;color:var(--text);font-weight:500;line-height:1.4}

.why-differentiators{margin-bottom:3rem}
.why-diff-title{font-size:1.4rem;font-weight:800;color:var(--text);margin-bottom:1.5rem;text-align:center}
.why-diff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.why-diff-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:2rem;transition:all .3s;position:relative;overflow:hidden}
.why-diff-card:hover{border-color:var(--violet);transform:translateY(-3px);box-shadow:0 8px 32px rgba(124,58,237,.1)}
.why-diff-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--violet),var(--blue));opacity:0;transition:opacity .3s}
.why-diff-card:hover::before{opacity:1}
.why-diff-num{font-family:'Outfit',var(--font);font-size:2.2rem;font-weight:900;color:rgba(124,58,237,.12);line-height:1;margin-bottom:.5rem}
.why-diff-card h4{font-size:1.05rem;font-weight:700;color:var(--text);margin-bottom:.5rem}
.why-diff-card p{font-size:.88rem;color:var(--text-muted);line-height:1.65}

.why-fit-section{margin-top:1rem}
.why-fit-title{font-size:1.4rem;font-weight:800;color:var(--text);margin-bottom:1.5rem;text-align:center}
.why-fit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.why-fit-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:2rem;text-align:center;transition:all .3s}
.why-fit-card:hover{border-color:var(--violet);transform:translateY(-3px);box-shadow:0 8px 32px rgba(124,58,237,.1)}
.why-fit-icon{font-size:2rem;margin-bottom:.75rem}
.why-fit-card h4{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:.5rem}
.why-fit-card p{font-size:.85rem;color:var(--text-muted);line-height:1.6}

/* ── V18-5: SOFT SKILLS & LEADERSHIP ── */
.soft-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.soft-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:2rem;transition:all .3s}
.soft-card:hover{border-color:var(--violet);transform:translateY(-3px);box-shadow:0 8px 32px rgba(124,58,237,.08)}
.soft-icon{font-size:2rem;margin-bottom:1rem;display:block}
.soft-card h3{font-size:1.1rem;font-weight:700;color:var(--text);margin-bottom:.5rem}
.soft-card p{font-size:.88rem;color:var(--text-muted);line-height:1.65;margin-bottom:1rem}
.soft-card p em{color:var(--violet);font-style:italic}
.soft-evidence{display:flex;flex-wrap:wrap;gap:.5rem}
.soft-ev-item{font-size:.72rem;font-weight:600;padding:4px 10px;background:rgba(124,58,237,.06);color:var(--violet);border-radius:20px;border:1px solid rgba(124,58,237,.12)}

/* ── V18-6: AVAILABILITY & INTERVIEW ── */
.availability-section{background:linear-gradient(180deg,var(--bg),rgba(16,185,129,.03),var(--bg))}
.avail-layout{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.avail-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:2rem;transition:all .3s}
.avail-card:hover{border-color:var(--violet);box-shadow:0 8px 32px rgba(124,58,237,.06)}
.avail-card h3{font-size:1.15rem;font-weight:700;color:var(--text);margin-bottom:1rem}
.avail-status-card{border-left:4px solid #10b981;background:linear-gradient(135deg,rgba(16,185,129,.04),transparent)}
.avail-pulse-wrap{margin-bottom:1rem}
.avail-dot-lg{width:14px;height:14px;border-radius:50%;background:#10b981;display:inline-block;animation:pulse 2s infinite;box-shadow:0 0 0 0 rgba(16,185,129,.4)}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,.4)}70%{box-shadow:0 0 0 12px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}
.avail-status-row{margin-bottom:1rem}
.avail-tag{font-size:.78rem;font-weight:700;padding:5px 14px;border-radius:20px;display:inline-block}
.avail-active{background:rgba(16,185,129,.1);color:#10b981}
.avail-details{list-style:none;padding:0}
.avail-details li{font-size:.9rem;color:var(--text);padding:.5rem 0;border-bottom:1px solid var(--border);line-height:1.5}
.avail-details li:last-child{border-bottom:none}
.avail-details li strong{color:var(--text);font-weight:600}

.avail-roles{display:flex;flex-wrap:wrap;gap:.5rem}
.avail-role{font-size:.82rem;font-weight:600;padding:6px 14px;background:rgba(124,58,237,.06);color:var(--violet);border-radius:20px;border:1px solid rgba(124,58,237,.12);transition:all .2s}
.avail-role:hover{background:var(--violet);color:white;border-color:var(--violet)}

.avail-contact-grid{display:flex;flex-direction:column;gap:.75rem}
.avail-contact-item{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;background:rgba(124,58,237,.03);border-radius:10px;border:1px solid rgba(124,58,237,.08)}
.avail-contact-label{font-size:.78rem;font-weight:600;color:var(--text-muted);min-width:90px;flex-shrink:0}
.avail-contact-link{font-size:.9rem;font-weight:600;color:var(--violet);text-decoration:none;transition:color .2s}
.avail-contact-link:hover{color:var(--blue);text-decoration:underline}

.avail-process-card{grid-column:1 / -1}
.avail-process-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.avail-step{display:flex;gap:1rem;align-items:flex-start}
.avail-step-num{width:36px;height:36px;border-radius:50%;background:var(--violet);color:white;font-weight:800;font-size:.9rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.avail-step strong{font-size:.95rem;color:var(--text);display:block;margin-bottom:.25rem}
.avail-step p{font-size:.82rem;color:var(--text-muted);line-height:1.5;margin:0}

/* ── V18-7: DARK MODE EXTENSIONS ── */
[data-theme="dark"] .test-card{background:linear-gradient(135deg,rgba(124,58,237,.06),rgba(37,99,235,.06))}
[data-theme="dark"] .test-card:hover{box-shadow:0 8px 32px rgba(124,58,237,.15)}
[data-theme="dark"] .cs-card-red{background:rgba(239,68,68,.06)}
[data-theme="dark"] .cs-card-red code{background:rgba(239,68,68,.15)}
[data-theme="dark"] .cs-arch-card{background:rgba(124,58,237,.04)}
[data-theme="dark"] .cs-result-card{background:rgba(16,185,129,.04)}
[data-theme="dark"] .cs-takeaway{background:linear-gradient(135deg,rgba(124,58,237,.1),rgba(37,99,235,.1))}
[data-theme="dark"] .fw-card{background:rgba(124,58,237,.04)}
[data-theme="dark"] .fw-card-primary{background:linear-gradient(135deg,rgba(124,58,237,.08),rgba(37,99,235,.04))}
[data-theme="dark"] .stride-section{background:linear-gradient(135deg,rgba(124,58,237,.08),rgba(37,99,235,.08))}
[data-theme="dark"] .stride-card{background:rgba(15,23,42,.5)}
[data-theme="dark"] .why-hero-card{background:rgba(124,58,237,.04);border-color:rgba(124,58,237,.2)}
[data-theme="dark"] .why-stat{background:rgba(124,58,237,.1);border-color:rgba(124,58,237,.2)}
[data-theme="dark"] .why-diff-card{background:rgba(15,23,42,.5)}
[data-theme="dark"] .why-fit-card{background:rgba(15,23,42,.5)}
[data-theme="dark"] .soft-card{background:rgba(15,23,42,.5)}
[data-theme="dark"] .avail-card{background:rgba(15,23,42,.5)}
[data-theme="dark"] .avail-status-card{background:linear-gradient(135deg,rgba(16,185,129,.08),rgba(15,23,42,.5))}
[data-theme="dark"] .social-proof-strip{background:rgba(15,23,42,.5)}
[data-theme="dark"] .testimonial-carousel{background:rgba(15,23,42,.5)}
[data-theme="dark"] .avail-contact-item{background:rgba(124,58,237,.06)}

/* ── V18-8: RESPONSIVE — All New Sections ── */
@media(max-width:1024px){
  .cs-arch-grid,.cs-results-grid{grid-template-columns:1fr}
  .fw-grid{grid-template-columns:1fr}
  .stride-grid{grid-template-columns:repeat(3,1fr)}
  .why-hero-card{grid-template-columns:1fr;gap:2rem}
  .why-fit-grid{grid-template-columns:repeat(2,1fr)}
  .soft-grid{grid-template-columns:repeat(2,1fr)}
  .avail-layout{grid-template-columns:1fr}
  .avail-process-steps{grid-template-columns:1fr;gap:1rem}
  .cs-timeline{padding-left:3rem}
  .cs-phase-num{left:-3rem;width:2.5rem;height:2.5rem;font-size:.65rem}
}
@media(max-width:768px){
  .why-diff-grid{grid-template-columns:1fr}
  .why-fit-grid{grid-template-columns:1fr}
  .soft-grid{grid-template-columns:1fr}
  .stride-grid{grid-template-columns:repeat(2,1fr)}
  .social-proof-strip{flex-direction:column;gap:1rem}
  .sp-sep{width:40px;height:1px}
  .why-headline{font-size:1.4rem}
  .why-hero-card{padding:2rem 1.5rem}
  .cs-timeline{padding-left:2.5rem}
  .cs-phase-num{left:-2.5rem;width:2rem;height:2rem;font-size:.6rem}
  .cs-timeline::before{left:1rem}
  .testimonial-carousel{padding:1.2rem}
  .test-card{padding:1.5rem 1rem}
  .test-text{font-size:.95rem;padding-right:2.2rem}
}
@media(max-width:480px){
  .stride-grid{grid-template-columns:1fr}
  .stride-card{display:flex;align-items:center;gap:1rem;text-align:left;padding:1rem}
  .stride-letter{font-size:1.5rem;margin-bottom:0}
  .why-hero-right{gap:.75rem}
  .why-stat{padding:1rem;gap:.75rem}
  .why-stat-num{font-size:1.5rem;min-width:50px}
  .avail-process-steps{gap:.75rem}
  .test-nav{gap:.5rem}
}

/* ── V18-9: PRINT EXTENSIONS ── */
@media print{
  .testimonial-carousel,.cs-timeline,.fw-grid,.why-me-section,.soft-grid,.avail-layout{page-break-inside:avoid}
  .test-nav,.test-prev,.test-next{display:none}
  .test-track{display:block}
  .test-card{min-width:100%;page-break-inside:avoid;margin-bottom:1rem}
}

/* ── V18-10: ENHANCED ANIMATION HOOKS ── */
.test-card{animation:none}
.test-card[data-active="true"]{animation:fadeSlideIn .5s ease forwards}
@keyframes fadeSlideIn{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
.fw-fill[data-visible="true"]{transition:width 1.2s cubic-bezier(.4,0,.2,1)}
.cs-phase{opacity:0;transform:translateY(20px);transition:all .6s cubic-bezier(.4,0,.2,1)}
.cs-phase.visible{opacity:1;transform:translateY(0)}
.why-diff-card{transition:all .3s cubic-bezier(.4,0,.2,1)}
.why-diff-card:nth-child(1){transition-delay:.05s}
.why-diff-card:nth-child(2){transition-delay:.1s}
.why-diff-card:nth-child(3){transition-delay:.15s}
.why-diff-card:nth-child(4){transition-delay:.2s}
.why-diff-card:nth-child(5){transition-delay:.25s}
.stride-card{transition:all .3s;transition-delay:calc(var(--i,0) * .05s)}
.stride-card:nth-child(1){--i:1}
.stride-card:nth-child(2){--i:2}
.stride-card:nth-child(3){--i:3}
.stride-card:nth-child(4){--i:4}
.stride-card:nth-child(5){--i:5}
.stride-card:nth-child(6){--i:6}

/* ── V18-11: MICRO-POLISH EXTRAS ── */
.test-author::before{content:'';display:block;width:40px;height:1px;background:var(--border);position:absolute;top:-12px;left:0}
.test-author{position:relative;padding-top:12px}
.cs-takeaway::before{content:'';position:absolute;top:-1px;left:2rem;right:2rem;height:3px;background:linear-gradient(90deg,var(--violet),var(--blue));border-radius:3px}
.cs-takeaway{position:relative}

/* Focus visible states for new sections */
.test-prev:focus-visible,.test-next:focus-visible,.test-dot:focus-visible,
.why-fit-card:focus-visible,.stride-card:focus-visible,.avail-role:focus-visible,
.avail-contact-link:focus-visible{outline:2px solid var(--violet);outline-offset:2px;border-radius:8px}

/* Skeleton loading for testimonials */
.test-skeleton{background:linear-gradient(90deg,var(--border) 25%,rgba(124,58,237,.08) 50%,var(--border) 75%);background-size:200% 100%;animation:skeletonPulse 1.5s infinite;border-radius:16px;min-height:200px}

/* Gradient text for section titles */
.why-me-section .sec-hd h2,
.case-study-section .sec-hd h2{background:linear-gradient(135deg,var(--text),var(--violet));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* ── V18-12: ENHANCED HOVER MICRO-INTERACTIONS ── */
.fw-card{position:relative;overflow:hidden}
.fw-card::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,transparent 40%,rgba(124,58,237,.03) 100%);opacity:0;transition:opacity .3s}
.fw-card:hover::after{opacity:1}

.soft-card{position:relative;overflow:hidden}
.soft-card::after{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--violet),var(--blue));transform:scaleX(0);transform-origin:left;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.soft-card:hover::after{transform:scaleX(1)}

.avail-role{cursor:default;position:relative}
.avail-role::before{content:'✓';position:absolute;left:-18px;opacity:0;color:#10b981;font-weight:700;transition:all .2s}
.avail-role:hover::before{opacity:1;left:-12px}

.cs-arch-card{position:relative;overflow:hidden}
.cs-arch-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--violet);transform:scaleY(0);transform-origin:top;transition:transform .3s}
.cs-arch-card:hover::before{transform:scaleY(1)}

/* ── V18-13: CARD ENTRANCE ANIMATIONS ── */
@keyframes cardReveal{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.fw-card[data-aos="fade-up"],.soft-card[data-aos="fade-up"],.why-diff-card[data-aos="fade-up"]{animation:cardReveal .6s ease backwards}
.why-fit-card{animation:cardReveal .5s ease backwards}
.why-fit-card:nth-child(1){animation-delay:.1s}
.why-fit-card:nth-child(2){animation-delay:.15s}
.why-fit-card:nth-child(3){animation-delay:.2s}
.why-fit-card:nth-child(4){animation-delay:.25s}
.why-fit-card:nth-child(5){animation-delay:.3s}
.why-fit-card:nth-child(6){animation-delay:.35s}

/* ── V18-14: SELECTION & SCROLLBAR FOR NEW SECTIONS ── */
.testimonial-carousel ::selection,.case-study-section ::selection,.why-me-section ::selection{background:rgba(124,58,237,.2);color:var(--text)}
.testimonial-carousel::-webkit-scrollbar,.test-track::-webkit-scrollbar{height:4px}
.testimonial-carousel::-webkit-scrollbar-thumb{background:var(--violet);border-radius:4px}
.testimonial-carousel::-webkit-scrollbar-track{background:var(--border);border-radius:4px}

/* ── V18-15: CONTAINER QUERY POLYFILL ── */
@supports(container-type:inline-size){
  .fw-grid{container-type:inline-size}
  @container(max-width:600px){
    .fw-card{padding:1.5rem}
    .fw-title{font-size:1rem}
  }
  .why-diff-grid{container-type:inline-size}
  @container(max-width:400px){
    .why-diff-card{padding:1.5rem}
    .why-diff-num{font-size:1.8rem}
  }
}

/* ────────────────────────────────────────────────────────
   END V18 — HIRED
   ──────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   V20 — CONVERSION + PROOF LAYER
   Choose-your-path · Proof strip · Sticky bar · Trust panel
   Evidence badges · Contact preferences
   ═══════════════════════════════════════════════════════════ */

/* ── STICKY HIRE BAR ── */
.sticky-hire-bar{position:fixed;top:0;left:0;right:0;z-index:9990;background:linear-gradient(90deg,var(--violet),#2563eb);color:#fff;padding:0 1.5rem;height:0;overflow:hidden;opacity:0;transition:height .35s cubic-bezier(.4,0,.2,1),opacity .3s ease;pointer-events:none}
.sticky-hire-bar.shb-visible{height:44px;opacity:1;pointer-events:auto}
.shb-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:44px;max-width:1200px;margin:0 auto}
.shb-left{display:flex;align-items:center;gap:.75rem;min-width:0;overflow:hidden}
.shb-dot{width:8px;height:8px;border-radius:50%;background:#4ade80;flex-shrink:0;box-shadow:0 0 6px #4ade80}
.shb-status{font-size:.78rem;font-weight:700;letter-spacing:.04em;white-space:nowrap}
.shb-sep{opacity:.5;flex-shrink:0}
.shb-roles{font-size:.76rem;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shb-right{display:flex;align-items:center;gap:.5rem;flex-shrink:0}
.shb-btn{font-size:.75rem;font-weight:700;padding:5px 14px;border-radius:20px;text-decoration:none;transition:all .2s;display:flex;align-items:center;gap:5px;cursor:pointer;border:none}
.shb-btn-resume{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.35)}
.shb-btn-resume:hover{background:rgba(255,255,255,.25)}
.shb-btn-contact{background:#fff;color:var(--violet)}
.shb-btn-contact:hover{background:#f3f0ff}
.shb-close{background:none;border:none;color:rgba(255,255,255,.7);font-size:.85rem;cursor:pointer;padding:4px 6px;border-radius:4px;transition:all .2s;line-height:1}
.shb-close:hover{color:#fff;background:rgba(255,255,255,.1)}
@media(max-width:640px){.shb-roles{display:none}}

/* ── CHOOSE YOUR PATH SECTION ── */
.cyp-section{background:linear-gradient(180deg,var(--bg-alt),var(--bg))}
.cyp-head{text-align:center;margin-bottom:2.5rem}
.cyp-kicker{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--violet);margin-bottom:.6rem}
.cyp-title{font-size:1.8rem;font-weight:900;color:var(--text);margin-bottom:.6rem}
.cyp-sub{font-size:.95rem;color:var(--text-muted);max-width:540px;margin:0 auto}
.cyp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:3rem}
.cyp-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2rem 1.5rem;background:var(--bg-card);border:1px solid var(--border);border-radius:18px;text-decoration:none;color:inherit;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;position:relative;overflow:hidden}
.cyp-card::before{content:'';position:absolute;inset:0;opacity:0;transition:opacity .3s}
.cyp-recruiter::before{background:linear-gradient(135deg,rgba(124,58,237,.06),rgba(37,99,235,.04))}
.cyp-manager::before{background:linear-gradient(135deg,rgba(16,185,129,.06),rgba(37,99,235,.04))}
.cyp-engineer::before{background:linear-gradient(135deg,rgba(37,99,235,.06),rgba(124,58,237,.04))}
.cyp-security::before{background:linear-gradient(135deg,rgba(245,158,11,.06),rgba(239,68,68,.04))}
.cyp-card:hover::before{opacity:1}
.cyp-card:hover{border-color:var(--violet);box-shadow:0 8px 32px rgba(124,58,237,.1);transform:translateY(-4px)}
.cyp-emoji{font-size:2.2rem;margin-bottom:.75rem;display:block;transition:transform .3s}
.cyp-card:hover .cyp-emoji{transform:scale(1.12)}
.cyp-card h3{font-size:1.05rem;font-weight:800;color:var(--text);margin-bottom:.4rem}
.cyp-card p{font-size:.84rem;color:var(--text-muted);line-height:1.6;margin-bottom:1rem;flex:1}
.cyp-arrow{font-size:.78rem;font-weight:700;color:var(--violet);opacity:.7;transition:opacity .2s}
.cyp-card:hover .cyp-arrow{opacity:1}
@media(max-width:900px){.cyp-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.cyp-grid{grid-template-columns:1fr}}

/* ── PROOF STRIP (5 proof points) ── */
.proof-strip{background:var(--bg-card);border:1px solid var(--border);border-radius:18px;padding:2rem 2.2rem;border-left:4px solid var(--violet)}
.ps-head{margin-bottom:1.25rem}
.ps-kicker{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--violet)}
.ps-items{display:flex;flex-direction:column;gap:.9rem}
.ps-item{display:flex;align-items:flex-start;gap:1rem}
.ps-num{font-size:.72rem;font-weight:800;color:var(--text-faint);min-width:22px;margin-top:2px;font-family:'JetBrains Mono',monospace}
.ps-badge{font-size:.67rem;font-weight:700;padding:3px 9px;border-radius:20px;white-space:nowrap;flex-shrink:0;margin-top:1px}
.ps-badge-prod{background:rgba(16,185,129,.1);color:#10b981}
.ps-badge-cert{background:rgba(124,58,237,.1);color:var(--violet)}
.ps-badge-award{background:rgba(245,158,11,.1);color:#f59e0b}
.ps-badge-metric{background:rgba(37,99,235,.1);color:#2563eb}
.ps-badge-repo{background:rgba(71,85,105,.12);color:var(--text-muted)}
.ps-text{font-size:.88rem;color:var(--text);line-height:1.55}
[data-theme="dark"] .proof-strip{background:rgba(15,23,42,.6)}

/* ── PROJECT EVIDENCE BADGES ── */
.proj-evidence-row{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem;margin-bottom:.2rem}
.pe-badge{font-size:.67rem;font-weight:700;padding:3px 9px;border-radius:20px;white-space:nowrap;border:1px solid transparent}
.pe-repo{background:rgba(71,85,105,.1);color:var(--text-muted);border-color:rgba(71,85,105,.2)}
.pe-prod{background:rgba(16,185,129,.08);color:#10b981;border-color:rgba(16,185,129,.2)}
.pe-cert{background:rgba(124,58,237,.08);color:var(--violet);border-color:rgba(124,58,237,.15)}
.pe-article{background:rgba(37,99,235,.08);color:#2563eb;border-color:rgba(37,99,235,.15)}
.pe-lab{background:rgba(245,158,11,.08);color:#d97706;border-color:rgba(245,158,11,.15)}
[data-theme="dark"] .pe-repo{background:rgba(71,85,105,.2);border-color:rgba(71,85,105,.3)}

/* ── TRUST PANEL (connect section) ── */
.trust-panel{background:var(--bg-alt);border:1px solid var(--border);border-radius:14px;padding:1.4rem 1.6rem;margin-bottom:1.75rem;margin-top:1.5rem}
.tp-head{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--violet);margin-bottom:1rem}
.tp-rows{display:flex;flex-direction:column;gap:.65rem}
.tp-row{display:flex;align-items:flex-start;gap:.85rem}
.tp-label{font-size:.78rem;font-weight:600;color:var(--text-muted);min-width:120px;flex-shrink:0;line-height:1.45}
.tp-val{font-size:.85rem;color:var(--text);line-height:1.5}
[data-theme="dark"] .trust-panel{background:rgba(15,23,42,.5)}
@media(max-width:480px){.tp-row{flex-direction:column;gap:.2rem}.tp-label{min-width:0}}

/* ── SHARED SECTION BG VARIANTS ── */
.cyp-section .container{position:relative}

/* ══════════════════════════════════════════════════════════════════
   V21 — BEAST UPGRADES
   Recruiter snapshot · Skill matrix · Role fit · Project narrative · WWM
   ══════════════════════════════════════════════════════════════════ */

/* ── RECRUITER SNAPSHOT CARD ── */
.rec-snap{display:flex;flex-direction:column;gap:1.75rem;margin-top:1rem}
.rec-snap-card{display:grid;grid-template-columns:auto 1fr auto;gap:2rem;background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:2rem 2.25rem;align-items:start;position:relative;overflow:hidden}
.rec-snap-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--violet),#2563eb,#10b981)}
.rec-snap-left{display:flex;flex-direction:column;align-items:center;gap:1rem;min-width:120px;text-align:center}
.rec-snap-photo{width:90px;height:90px;border-radius:50%;object-fit:cover;border:3px solid var(--violet);flex-shrink:0}
.rec-snap-identity{display:flex;flex-direction:column;gap:.25rem}
.rec-snap-name{font-size:1rem;font-weight:800;color:var(--text)}
.rec-snap-title{font-size:.8rem;font-weight:600;color:var(--text-muted)}
.rec-snap-company{font-size:.76rem;color:var(--text-faint)}
.rec-snap-avail{display:flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:700;color:#10b981;margin-top:.3rem;justify-content:center}
.rec-snap-dot{width:7px;height:7px;border-radius:50%;background:#10b981;flex-shrink:0;box-shadow:0 0 6px #10b981}
.rec-snap-middle{display:flex;flex-direction:column;gap:1.25rem;min-width:0}
.rec-fact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.rec-fact{display:flex;flex-direction:column;gap:.15rem;padding:.65rem .75rem;background:var(--bg-alt);border-radius:10px;text-align:center}
.rec-fact-val{font-size:1.15rem;font-weight:900;color:var(--violet);line-height:1}
.rec-fact-key{font-size:.68rem;color:var(--text-muted);line-height:1.3}
.rec-cert-row{display:flex;flex-wrap:wrap;gap:.4rem}
.rec-cert-pill{font-size:.68rem;font-weight:800;padding:4px 10px;border-radius:20px;white-space:nowrap;cursor:default}
.rec-cert-cncf{background:rgba(37,99,235,.1);color:#2563eb;border:1px solid rgba(37,99,235,.2)}
.rec-cert-gcp{background:rgba(234,67,53,.08);color:#ea4335;border:1px solid rgba(234,67,53,.2)}
.rec-cert-hc{background:rgba(124,58,237,.1);color:var(--violet);border:1px solid rgba(124,58,237,.2)}
.rec-snap-right{display:flex;flex-direction:column;gap:.6rem;min-width:170px}
.rec-cta{display:flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:700;padding:9px 16px;border-radius:10px;text-decoration:none;transition:all .2s;border:none;cursor:pointer;white-space:nowrap;justify-content:center}
.rec-cta-primary{background:var(--violet);color:#fff}
.rec-cta-primary:hover{background:#6d28d9;transform:translateY(-1px)}
.rec-cta-linkedin{background:#0a66c2;color:#fff}
.rec-cta-linkedin:hover{background:#084fa3}
.rec-cta-email{background:#10b981;color:#fff}
.rec-cta-email:hover{background:#059669}
.rec-cta-ghost{background:transparent;color:var(--text-muted);border:1px solid var(--border)}
.rec-cta-ghost:hover{border-color:var(--violet);color:var(--violet)}
[data-theme="dark"] .rec-snap-card{background:rgba(15,23,42,.7)}
[data-theme="dark"] .rec-fact{background:rgba(30,41,59,.6)}
@media(max-width:900px){.rec-snap-card{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.rec-snap-right{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}}
@media(max-width:580px){.rec-snap-card{grid-template-columns:1fr;padding:1.5rem}.rec-fact-grid{grid-template-columns:repeat(2,1fr)}}

/* ── SKILL COMPETENCY MATRIX ── */
.rec-skills-matrix{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:1.75rem 2rem}
.rsm-head{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--text-muted);margin-bottom:1.2rem}
.rsm-bars{display:flex;flex-direction:column;gap:.85rem}
.rsm-row{display:flex;align-items:center;gap:1rem}
.rsm-label{font-size:.84rem;font-weight:600;color:var(--text);min-width:190px;flex-shrink:0}
.rsm-bar-wrap{flex:1;height:8px;background:var(--bg-alt);border-radius:20px;overflow:hidden}
.rsm-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,var(--violet),#818cf8);width:var(--w);transition:width 1.2s cubic-bezier(.4,0,.2,1)}
.rsm-fill-adv{background:linear-gradient(90deg,#2563eb,#60a5fa)}
.rsm-fill-int{background:linear-gradient(90deg,#10b981,#34d399)}
.rsm-level{font-size:.68rem;font-weight:700;padding:3px 9px;border-radius:20px;white-space:nowrap;min-width:70px;text-align:center}
.rsm-expert{background:rgba(124,58,237,.1);color:var(--violet)}
.rsm-advanced{background:rgba(37,99,235,.1);color:#2563eb}
.rsm-inter{background:rgba(16,185,129,.1);color:#10b981}
[data-theme="dark"] .rsm-bar-wrap{background:rgba(30,41,59,.8)}
@media(max-width:640px){.rsm-label{min-width:130px;font-size:.78rem}}

/* ── ROLE FIT STRIPS ── */
.rec-role-strips{display:flex;flex-direction:column;gap:.75rem}
.rec-role-strip{display:flex;align-items:flex-start;gap:1.25rem;background:var(--bg-card);border:1px solid var(--border);border-radius:14px;padding:1.1rem 1.4rem;border-left:4px solid transparent;transition:all .2s}
.rec-role-strip:hover{transform:translateX(4px);box-shadow:0 4px 20px rgba(0,0,0,.06)}
.rrs-devsecops{border-left-color:var(--violet)}
.rrs-k8s{border-left-color:#2563eb}
.rrs-cloud{border-left-color:#10b981}
.rrs-appsec{border-left-color:#f59e0b}
.rrs-icon{font-size:1.4rem;flex-shrink:0;margin-top:.1rem}
.rrs-body{flex:1;min-width:0}
.rrs-title{font-size:.92rem;font-weight:700;color:var(--text);margin-bottom:.25rem}
.rrs-desc{font-size:.8rem;color:var(--text-muted);line-height:1.55}
.rrs-fit{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;flex-shrink:0}
.rrs-fit-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-faint)}
.rrs-fit-score{font-size:1rem;color:#f59e0b;letter-spacing:.05em}
[data-theme="dark"] .rec-role-strip{background:rgba(15,23,42,.6)}

/* ── PROJECT NARRATIVE (problem → built → outcome) ── */
.proj-narrative{display:flex;flex-direction:column;gap:.5rem;margin:.9rem 0 .5rem}
.pn-row{display:flex;align-items:flex-start;gap:.6rem;font-size:.82rem;line-height:1.6}
.pn-label{font-size:.65rem;font-weight:800;padding:2px 8px;border-radius:20px;white-space:nowrap;flex-shrink:0;margin-top:2px}
.pn-problem{background:rgba(239,68,68,.08);color:#ef4444;border:1px solid rgba(239,68,68,.15)}
.pn-built{background:rgba(37,99,235,.08);color:#2563eb;border:1px solid rgba(37,99,235,.15)}
.pn-outcome{background:rgba(16,185,129,.08);color:#10b981;border:1px solid rgba(16,185,129,.15)}
.pn-text{color:var(--text-muted)}

/* ── WHAT YOU GET PANEL ── */
.wwm-panel{background:var(--bg-alt);border:1px solid var(--border);border-radius:14px;padding:1.4rem 1.6rem;margin-bottom:1.5rem}
.wwm-head{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--violet);margin-bottom:.9rem}
.wwm-list{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-direction:column;gap:.5rem}
.wwm-list li{display:flex;align-items:flex-start;gap:.65rem;font-size:.87rem;color:var(--text)}
.wwm-check{color:#10b981;font-weight:900;flex-shrink:0;margin-top:.05rem}
.wwm-social-row{display:flex;align-items:center;gap:.75rem;padding-top:.9rem;border-top:1px solid var(--border);flex-wrap:wrap}
.wwm-soc-stat{font-size:.79rem;color:var(--text-muted)}
.wwm-soc-stat strong{color:var(--text);font-weight:800}
.wwm-soc-sep{color:var(--text-faint);font-size:.9rem}
[data-theme="dark"] .wwm-panel{background:rgba(15,23,42,.5)}

/* ── ANIMATED SKILL BAR TRIGGER ── */
.rec-skills-matrix .rsm-fill{width:0}
.rec-skills-matrix.bars-animated .rsm-fill{width:var(--w)}

/* ═══════════════════════════════════════
   V22 ADDITIONS
═══════════════════════════════════════ */

/* ── Email copy button ── */
.email-copy-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .65rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--violet);
  background: rgba(124,58,237,.07);
  border: 1.5px solid rgba(124,58,237,.25);
  border-radius: 20px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.email-copy-btn:hover {
  background: rgba(124,58,237,.15);
  border-color: var(--violet);
}

/* ── Avail Not-a-fit card ── */
.avail-nf-list {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.avail-nf-list li {
  font-size: .84rem;
  color: #374151;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}
.avail-nf-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
  font-size: .8rem;
}
