/* ============================================================
   AMMAR YOUSUF · IT SUPPORT ENGINEER
   styles.css — Light Theme Portfolio Stylesheet
   ============================================================ */

/* ============================================================
   0 · CSS VARIABLES & RESET
   ============================================================ */

:root {
  --gold:         #B76E79;
  --gold-light:   #D4A0A8;
  --gold-dark:    #8C4A55;
  --gold-faint:   rgba(183,110,121,0.07);
  --gold-border:  rgba(183,110,121,0.28);
  --gold-glow:    rgba(183,110,121,0.18);

  --bronze:        #CD7F32;
  --bronze-light:  #E0A060;
  --bronze-dark:   #9A5C20;
  --bronze-faint:  rgba(205,127,50,0.07);
  --bronze-border: rgba(205,127,50,0.28);

  --bg:           #FAF0EF;
  --bg-2:         #F3E5E6;
  --bg-card:      rgba(255,255,255,0.80);
  --bg-card-hov:  rgba(255,255,255,0.95);

  --text-primary:   #1C1A17;
  --text-secondary: #4A4035;
  --text-muted:     #8A7D6A;
  --text-dim:       #B5A898;

  --border:       rgba(0,0,0,0.09);
  --border-gold:  rgba(183,110,121,0.30);

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  --shadow-gold:  0 0 32px rgba(183,110,121,0.14);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.10);

  --nav-h: 84px;
  --font-barlow:   'Barlow Condensed', sans-serif;
  --font-playfair: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-barlow);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.drawer-open { overflow: hidden; padding-right: var(--scrollbar-width, 0px); }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   1 · BACKGROUND ATMOSPHERE
   ============================================================ */

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.25;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(183,110,121,0.10) 0%, transparent 70%);
  transform: var(--py-slow, translateY(0px));
}
.orb-2 {
  width: 500px; height: 500px;
  top: 40%; right: -100px;
  background: radial-gradient(circle, rgba(220,160,168,0.08) 0%, transparent 70%);
  transform: translateY(var(--py-mid, 0px));
}
.orb-3 {
  width: 400px; height: 400px;
  bottom: 10%; left: 30%;
  background: radial-gradient(circle, rgba(183,110,121,0.06) 0%, transparent 70%);
  transform: translateY(var(--py-fast, 0px));
}

canvas#heroCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

/* ============================================================
   2 · SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #8C4A55, #B76E79, #CD7F32, #D4A0A8);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   3 · CUSTOM CURSOR
   ============================================================ */

.cursor-dot, .cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(183,110,121,0.5);
  opacity: 0.6;
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

/* ============================================================
   4 · NAVIGATION
   ============================================================ */

.nav-header {
  background: rgba(250,240,239,0.88) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-header.scrolled {
  background: rgba(250,240,239,0.97) !important;
  box-shadow: 0 1px 24px rgba(0,0,0,0.10);
}

.nav-logo-img-wrap {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  background: rgba(183,110,121,0.06);
  padding: 2px;
}

.nav-logo-name { color: var(--text-primary); }
.nav-logo-divider { background: var(--border-gold); }

.nav-link {
  position: relative;
  color: var(--text-muted) !important;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--gold) !important; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-link .ripple {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(183,110,121,0.35);
  animation: ripple-out 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-out {
  to { transform: scale(16); opacity: 0; }
}

.nav-resume-btn {
  background: rgba(183,110,121,0.06) !important;
  border: 1px solid var(--border-gold) !important;
  color: var(--text-primary) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-resume-btn:hover {
  background: rgba(183,110,121,0.14) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* Logo dropdown */
.nav-logo-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: rgba(250,240,239,0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px;
  z-index: 900;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.nav-logo-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nld-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.nld-logo { width: 32px; height: 32px; border-radius: 6px; }
.nld-name {
  display: block;
  font-family: var(--font-playfair);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}
.nld-role {
  display: block;
  font-family: var(--font-barlow);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nld-links { display: flex; flex-direction: column; gap: 2px; }
.nld-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.nld-link i { width: 14px; color: var(--gold); opacity: 0.7; }
.nld-link:hover { background: var(--gold-faint); color: var(--text-primary); }
.nld-resume {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 12px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.2s;
}
.nld-resume:hover { background: rgba(183,110,121,0.14); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 810;
}
.ham-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open .ham-bar--top { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-bar--mid { opacity: 0; }
.hamburger.open .ham-bar--bot { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-link  { display: none !important; }
  .nav-logo-chevron { display: inline-flex !important; }
}

/* ============================================================
   5 · MOBILE DRAWER
   ============================================================ */

#mobileDrawer {
  position: fixed;
  inset: 0;
  z-index: 850;
  pointer-events: none;
}
#mobileDrawer.open { pointer-events: auto; }

#mobileDrawerOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.30);
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
#mobileDrawer.open #mobileDrawerOverlay { opacity: 1; }

#mobileDrawerPanel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: rgba(250,240,239,0.99);
  border-left: 1px solid var(--border-gold);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 0 24px;
  backdrop-filter: blur(24px);
  box-shadow: -4px 0 32px rgba(0,0,0,0.12);
}
#mobileDrawer.open #mobileDrawerPanel { transform: translateX(0); }

.mob-drawer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.mob-drawer-logo { border-radius: 6px; width: 32px; height: 32px; }
.mob-drawer-name {
  flex: 1;
  font-family: var(--font-barlow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.mob-drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.mob-drawer-close:hover { background: rgba(0,0,0,0.06); color: var(--text-primary); }

.mob-drawer-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 18px;
  padding: 8px 12px;
  background: rgba(183,110,121,0.06);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
}
.mob-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  animation: pulse-dot 2s infinite;
}
.mob-status-label {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mob-drawer-links { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; flex: 1; }
.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.mob-link.active, .mob-link:hover {
  background: var(--gold-faint);
  color: var(--gold);
}
.mob-link-icon { width: 18px; text-align: center; color: var(--gold); opacity: 0.7; }
.mob-link-text { flex: 1; }
.mob-link-arrow { font-size: 10px; color: var(--text-dim); }

.mob-drawer-footer { padding: 16px 18px 0; }
.mob-drawer-resume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, rgba(183,110,121,0.12), rgba(183,110,121,0.06));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.2s;
  margin-bottom: 14px;
}
.mob-drawer-resume:hover { background: rgba(183,110,121,0.18); }
.mob-drawer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.mob-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ============================================================
   6 · FLOATING ACTION BUTTON
   ============================================================ */

.fab-container {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 600;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}
.fab-main {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze-dark), var(--bronze), var(--gold));
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(183,110,121,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.fab-main:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(183,110,121,0.55); }

.fab-icon-main, .fab-icon-close {
  position: absolute;
  transition: transform 0.25s, opacity 0.25s;
}
.fab-icon-close { opacity: 0; transform: rotate(-90deg); }
.fab-main.open .fab-icon-main { opacity: 0; transform: rotate(90deg); }
.fab-main.open .fab-icon-close { opacity: 1; transform: rotate(0deg); }

.fab-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
}
.fab-container.open .fab-options {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.fab-option {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
  position: relative;
}
.fab-option:hover { background: rgba(183,110,121,0.10); transform: scale(1.1); }
.fab-option::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%; transform: translateY(-50%);
  background: rgba(250,240,239,0.97);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.fab-option:hover::before { opacity: 1; }
.fab-option-whatsapp { color: #25D366; border-color: rgba(37,211,102,0.3); }

/* ============================================================
   7 · LAYOUT / CONTAINER / SECTION
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.sec-num {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.7;
}
.sec-title {
  font-family: var(--font-playfair);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.sec-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent);
}
.section-intro {
  font-family: var(--font-barlow);
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

/* ============================================================
   8 · HERO SECTION
   ============================================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 32px) 24px 60px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: linear-gradient(160deg, #FAF0EF 0%, #F3E2E4 40%, #F0DED0 70%, #ECE0D5 100%);
}

/* Background grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(183,110,121,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183,110,121,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  transform: translateY(var(--py-slow, 0px));
}

.hero-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(183,110,121,0.25), transparent);
  animation: scan 8s linear infinite;
  z-index: 2;
}
@keyframes scan { 0%{top:0} 100%{top:100%} }

/* Morphing shapes */
.hero-morph-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.morph-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: morph-float 12s ease-in-out infinite;
}
.morph-1 {
  width: 400px; height: 400px;
  background: var(--gold);
  top: 10%; left: 5%;
  animation-delay: 0s;
}
.morph-2 {
  width: 300px; height: 300px;
  background: #D4A0A8;
  top: 50%; right: 8%;
  animation-delay: -4s;
}
.morph-3 {
  width: 350px; height: 350px;
  background: #B76E79;
  bottom: 5%; left: 40%;
  animation-delay: -8s;
}
@keyframes morph-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(20px,-30px) scale(1.1); }
  66%      { transform: translate(-15px, 20px) scale(0.92); }
}

/* Glitch lines */
.hero-glitch-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glitch-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183,110,121,0.20), transparent);
  animation: glitch-flicker 8s ease-in-out infinite;
}
.gl-1 { top: 25%; animation-delay: 0s; }
.gl-2 { top: 55%; animation-delay: -3s; }
.gl-3 { top: 78%; animation-delay: -6s; }
@keyframes glitch-flicker {
  0%,100%{ opacity: 0; } 48%{ opacity: 0; } 50%{ opacity: 1; } 52%{ opacity: 0; }
  78%{ opacity: 0; } 80%{ opacity: 0.5; } 82%{ opacity: 0; }
}

/* Floating nodes */
.hero-nodes { position: absolute; inset: 0; pointer-events: none; }
.hnode {
  position: absolute;
  width: 38px; height: 38px;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--gold);
  background: rgba(183,110,121,0.07);
  animation: hnode-float 6s ease-in-out infinite;
  opacity: 0.5;
  backdrop-filter: blur(4px);
}
.hnode-1 { top: 15%; left: 8%; animation-delay: 0s; }
.hnode-2 { top: 30%; right: 12%; animation-delay: -1.5s; }
.hnode-3 { top: 60%; left: 5%; animation-delay: -3s; }
.hnode-4 { top: 20%; right: 25%; animation-delay: -0.8s; }
.hnode-5 { bottom: 20%; right: 8%; animation-delay: -2s; }
.hnode-6 { bottom: 30%; left: 18%; animation-delay: -4s; }
@keyframes hnode-float {
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-14px); }
}

/* Hero layout */
.hero-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ID Card */
.id-card {
  width: 260px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 0 0 1px rgba(183,110,121,0.08) inset;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
}
.id-card-header { margin-bottom: 16px; }
.id-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.id-chip {
  width: 32px; height: 22px;
  background: linear-gradient(135deg, #c48090, #e8aab5, #a06070);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(183,110,121,0.3);
}
.id-corp-tag {
  font-family: var(--font-barlow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.7;
  text-transform: uppercase;
}
.id-photo-wrap {
  position: relative;
  width: 90px; height: 90px;
  margin: 0 auto 16px;
}
.id-photo {
  width: 90px; height: 90px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}
.id-photo-frame {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px solid rgba(183,110,121,0.2);
}
.id-status-ring {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
}
.id-status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100%{ box-shadow: 0 0 0 2px rgba(34,197,94,0.25); }
  50%    { box-shadow: 0 0 0 4px rgba(34,197,94,0.08); }
}

.id-name-block { text-align: center; margin-bottom: 14px; }
.id-name {
  font-family: var(--font-playfair);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.id-role {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.id-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.id-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-barlow);
  font-size: 12px;
  color: var(--text-secondary);
}
.id-meta-row i { color: var(--gold); width: 12px; font-size: 11px; }
.id-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
.id-sector {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--gold);
}
.id-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.id-barcode {
  width: 70px; height: 24px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 1px,
    transparent 1px, transparent 3px
  );
  opacity: 0.25;
}
.id-code {
  font-family: var(--font-barlow);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow-line {
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.eyebrow-text {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.headline-top, .headline-mid, .headline-bot {
  display: block;
  font-family: var(--font-playfair);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.headline-top { font-size: clamp(28px, 4vw, 48px); color: var(--text-primary); }
.headline-mid {
  font-size: clamp(36px, 5.5vw, 68px);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.headline-mid em { font-style: italic; }
.headline-bot { font-size: clamp(28px, 4vw, 48px); color: var(--text-primary); }

.hero-brief {
  font-family: var(--font-barlow);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
}
.hero-brief strong { color: var(--text-primary); }

/* KPIs */
.hero-kpis {
  display: flex;
  align-items: center;
  gap: 0;
}
.kpi-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
}
.kpi-block:first-child { padding-left: 0; }
.kpi-inner {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.kpi-num {
  font-family: var(--font-playfair);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.kpi-unit {
  font-family: var(--font-barlow);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}
.kpi-label {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.kpi-sep {
  width: 1px;
  height: 36px;
  background: var(--border-gold);
  flex-shrink: 0;
}

/* CTA buttons row */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Ticker */
.hero-ticker {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ticker-sep { color: var(--gold); opacity: 0.5; }
@keyframes ticker-scroll { 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: bounce-up 2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 35px;
  border: 1.5px solid var(--border-gold);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
}
.scroll-text {
  font-family: var(--font-barlow);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes scroll-wheel { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(8px);opacity:0.3} }
@keyframes bounce-up { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-6px)} }

/* ============================================================
   9 · BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--bronze-dark), var(--bronze), var(--gold));
  color: #fff;
  box-shadow: 0 4px 18px rgba(183,110,121,0.30);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 6px 24px rgba(183,110,121,0.50);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--gold-faint);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
}

/* ============================================================
   10 · ABOUT SECTION
   ============================================================ */

.about-section { background: transparent; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.bio-lead {
  font-family: var(--font-barlow);
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.bio-lead strong { color: var(--gold); }
.bio-body {
  font-family: var(--font-barlow);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.bio-body strong { color: var(--text-primary); }

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.astat-num {
  font-family: var(--font-playfair);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}
.astat-label {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* About panel */
.about-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.panel-sla-ring { display: flex; justify-content: center; }
.ring-wrapper {
  position: relative;
  width: 130px; height: 130px;
}
.ring-wrapper svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(0,0,0,0.08); stroke-width: 8; }
.ring-fg {
  fill: none;
  stroke: url(#gGold);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.ring-val {
  font-family: var(--font-playfair);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.ring-pct {
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.ring-lbl {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel-achievements { display: flex; flex-direction: column; gap: 14px; }
.ach-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ach-item:hover { border-color: var(--border-gold); background: var(--bg-card-hov); }
.ach-icon {
  width: 36px; height: 36px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}
.ach-text { display: flex; flex-direction: column; gap: 2px; }
.ach-text strong {
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.ach-text span {
  font-family: var(--font-barlow);
  font-size: 12px;
  color: var(--text-muted);
}

.panel-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.p-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.p-chip i { font-size: 10px; }

/* ============================================================
   11 · PROJECTS SECTION
   ============================================================ */

.projects-section {}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.project-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hov);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold), 0 8px 32px rgba(0,0,0,0.10);
}
.pc-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-icon {
  width: 44px; height: 44px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.pc-sector-tag {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(0,0,0,0.03);
}
.pc-title {
  font-family: var(--font-playfair);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}
.pc-challenge-solution { display: flex; flex-direction: column; gap: 12px; }
.pc-block { display: flex; flex-direction: column; gap: 6px; }
.pc-block-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pc-block-label.challenge { color: #D97706; }
.pc-block-label.solution  { color: #059669; }
.pc-block-text {
  font-family: var(--font-barlow);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.pc-impact {
  padding: 12px;
  background: rgba(183,110,121,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.pc-impact strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pc-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-tool-badge {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}
.pc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.2s;
}
.pc-link:hover { background: var(--gold-faint); }

/* ============================================================
   12 · EXPERIENCE SECTION
   ============================================================ */

.exp-section {}
.exp-timeline { display: flex; flex-direction: column; gap: 24px; }

.exp-item { position: relative; }
.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.exp-card:hover { border-color: var(--border-gold); background: var(--bg-card-hov); }

.exp-header { margin-bottom: 18px; }
.exp-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.exp-title {
  font-family: var(--font-playfair);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.exp-type-badge {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--gold);
}
.exp-meta { display: flex; flex-direction: column; gap: 4px; }
.exp-date {
  font-family: var(--font-barlow);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.exp-date i { color: var(--gold); margin-right: 4px; }
.exp-company-name {
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Exp stats strip */
.exp-stats-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.exp-stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  animation: fade-in 0.4s ease both;
}
.esc-icon { color: var(--gold); font-size: 14px; }
.esc-body { display: flex; flex-direction: column; gap: 1px; }
.esc-value {
  font-family: var(--font-playfair);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.esc-label {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Exp project boxes */
.exp-projects-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.exp-project-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 200px;
  animation: fade-in 0.4s ease both;
}
.epb-glow {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
}
.epb-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shine-sweep 4s ease-in-out infinite;
}
@keyframes shine-sweep { 0%,100%{left:-60%} 50%{left:160%} }
.epb-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  position: relative;
  flex-shrink: 0;
}
.epb-info { position: relative; flex: 1; min-width: 0; }
.epb-label {
  display: block;
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.epb-detail {
  display: block;
  font-family: var(--font-barlow);
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.exp-list li {
  font-family: var(--font-barlow);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.exp-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.exp-list li b { color: var(--text-primary); }

.exp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.exp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.2s, transform 0.2s;
}
.exp-btn:hover { background: rgba(183,110,121,0.14); transform: translateY(-1px); }

/* ============================================================
   13 · TECHNICAL ARSENAL
   ============================================================ */

.arsenal-section {}

.arsenal-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.arsenal-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.arsenal-category::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cat-color, var(--gold));
  opacity: 0.7;
}
.arsenal-category:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hov);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.arsenal-category.span-2 { grid-column: span 2; }

.ac-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ac-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--cat-color, var(--gold));
  flex-shrink: 0;
}
.ac-title {
  font-family: var(--font-barlow);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ac-subtitle {
  font-family: var(--font-barlow);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.ac-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.tool-chip i { color: var(--tool-color, var(--gold)); font-size: 11px; }
.tool-chip:hover { border-color: var(--border-gold); color: var(--text-primary); }

/* Languages */
.sub-block { margin-top: 12px; }
.sub-label {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.lang-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lang-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.lang-card:hover { border-color: var(--border-gold); }
.lang-name {
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.lang-level {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 2px 8px;
  background: var(--gold-faint);
  border-radius: 4px;
}

/* ============================================================
   14 · EDUCATION SECTION
   ============================================================ */

.edu-section {}

.folder-ui { }
.folder-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: -1px;
  flex-wrap: wrap;
}
.ftab {
  padding: 10px 20px;
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.ftab.active, .ftab:hover {
  color: var(--gold);
  background: rgba(183,110,121,0.06);
  border-color: var(--border-gold);
}

.folder-body {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.folder-pane { display: none; align-items: flex-start; gap: 24px; }
.folder-pane.active { display: flex; }

.fp-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.fp-content { display: flex; flex-direction: column; gap: 8px; }
.fp-date {
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fp-degree {
  font-family: var(--font-playfair);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.fp-inst {
  font-family: var(--font-barlow);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.fp-grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-barlow);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  width: fit-content;
}
.fp-grade-badge i { color: var(--gold); }
.fp-grade-distinction { background: rgba(183,110,121,0.10); }
.fp-note {
  font-family: var(--font-barlow);
  font-size: 13px;
  color: var(--text-muted);
}

/* Certificate button in education panes */
.fp-cert-actions {
  margin-top: 14px;
}
.fp-cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(183,110,121,0.08);
  border: 1px solid rgba(183,110,121,0.35);
  border-radius: 8px;
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.fp-cert-btn:hover {
  background: rgba(183,110,121,0.16);
  border-color: rgba(183,110,121,0.65);
  color: var(--gold-dark);
  box-shadow: 0 0 12px rgba(183,110,121,0.15);
}
.fp-cert-btn i:first-child { font-size: 13px; }
.fp-cert-ext { font-size: 9px; opacity: 0.7; margin-left: 2px; }
.fp-year-grades { display: flex; flex-direction: column; gap: 6px; }
.fp-year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.fp-year-label {
  font-family: var(--font-barlow);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.fp-year-score {
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.fp-year-score.distinction { color: var(--gold); }

/* ============================================================
   15 · CERTIFICATIONS SECTION
   ============================================================ */

.certs-section {}

.cert-featured {
  margin-bottom: 28px;
}
.cert-featured-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(183,110,121,0.07), rgba(183,110,121,0.02));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.cert-featured-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cert-ribbon {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-barlow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: var(--gold);
  color: #fff;
  border-radius: 4px;
}
.cert-icon-wrap {
  width: 70px; height: 70px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--gold);
  flex-shrink: 0;
}
.cert-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cert-title {
  font-family: var(--font-playfair);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}
.cert-subtitle {
  font-family: var(--font-barlow);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.cert-issuer, .cert-date, .cert-code {
  font-family: var(--font-barlow);
  font-size: 13px;
  color: var(--text-muted);
}
.cert-date i { color: var(--gold); margin-right: 4px; }
.cert-seal {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(183,110,121,0.3);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.cert-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hov);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}
.cert-card-inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-icon {
  width: 40px; height: 40px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
}
.cc-title {
  font-family: var(--font-barlow);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}
.cc-desc {
  font-family: var(--font-barlow);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   16 · CONTACT SECTION
   ============================================================ */

.contact-section {}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-intro {
  font-family: var(--font-barlow);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-items { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.contact-item:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hov);
  transform: translateX(4px);
}
.contact-item-whatsapp:hover { border-color: rgba(37,211,102,0.3); }
.contact-item-static { cursor: default; }
.contact-item-static:hover { transform: none; }

.ci-icon {
  width: 42px; height: 42px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.ci-icon-whatsapp { background: rgba(37,211,102,0.07); border-color: rgba(37,211,102,0.25); color: #25D366; }
.ci-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ci-label {
  font-family: var(--font-barlow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ci-value {
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.ci-ext { color: var(--text-dim); font-size: 12px; }

/* Social panel */
.social-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.social-heading {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  color: var(--text-primary);
}
.social-btn:hover {
  border-color: var(--border-gold);
  background: var(--gold-faint);
  transform: translateX(4px);
}
.social-btn-whatsapp:hover { border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.05); }
.social-btn > i:first-child {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gold-faint);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.social-btn-whatsapp > i:first-child { color: #25D366; border-color: rgba(37,211,102,0.25); background: rgba(37,211,102,0.07); }
.sb-title {
  display: block;
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.sb-sub {
  display: block;
  font-family: var(--font-barlow);
  font-size: 11px;
  color: var(--text-muted);
}
.sb-ext { margin-left: auto; color: var(--text-dim); font-size: 12px; }

.availability-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: var(--radius-md);
  margin-top: 4px;
  font-family: var(--font-barlow);
  font-size: 13px;
  color: rgba(5,150,105,0.95);
}
.avail-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* ============================================================
   17 · FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  position: relative;
  z-index: 10;
  background: rgba(243,229,230,0.6);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-name {
  font-family: var(--font-playfair);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-role {
  font-family: var(--font-barlow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-barlow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-family: var(--font-barlow);
  font-size: 11px;
  color: var(--text-dim);
}

/* ============================================================
   18 · SKELETON LOADER
   ============================================================ */

.projects-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.projects-skeleton::before,
.projects-skeleton::after {
  content: '';
  display: block;
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ============================================================
   19 · AOS / STAGGER ANIMATIONS
   ============================================================ */

.stagger-child {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-child.stagger-visible,
.bento-item.stagger-visible,
.cert-card.stagger-visible,
.ach-item.stagger-visible,
.lang-item.stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   20 · PRESSED STATE (iOS touch feedback)
   ============================================================ */

.pressed { opacity: 0.75; transform: scale(0.97); }

/* ============================================================
   21 · RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
  .id-card { width: 280px; }
  .hero-copy { align-items: center; text-align: center; }
  .eyebrow-line { max-width: 30px; }
  .hero-ctas { justify-content: center; }
  .hero-kpis { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .kpi-block { padding: 0 16px; }

  .about-layout { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: repeat(2,1fr); }
  .arsenal-bento { grid-template-columns: repeat(2,1fr); }
  .arsenal-category.span-2 { grid-column: span 2; }

  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  .hero-section { padding: calc(var(--nav-h) + 20px) 16px 50px; }
  .id-card { width: 100%; max-width: 300px; }
  .hero-kpis { gap: 4px; }
  .kpi-block { padding: 0 10px; }
  .kpi-num { font-size: 24px; }

  .projects-grid { grid-template-columns: 1fr; }
  .arsenal-bento { grid-template-columns: 1fr; }
  .arsenal-category.span-2 { grid-column: span 1; }

  .folder-ui { }
  .folder-pane { flex-direction: column; }

  .cert-featured-inner { flex-direction: column; align-items: flex-start; }
  .cert-seal { display: none; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .fab-container { bottom: 20px; right: 16px; }

  .hero-nodes { display: none; }
  .hero-glitch-lines { display: none; }
}

@media (max-width: 480px) {
  .hero-layout { gap: 24px; }
  .hero-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi-sep { display: none; }
  .kpi-block { padding: 12px; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border); }
  .about-stats-row { grid-template-columns: repeat(2,1fr); }
}
/* ============================================================
   22 · ENHANCED ANIMATIONS — Profile Logo, Nav, Cards & More
   ============================================================ */

/* ── 22.1  NAV LOGO IMAGE WRAP — spin-glow on hover ── */

.nav-logo-img-wrap {
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-logo-img-wrap:hover {
  transform: scale(1.10) rotate(4deg);
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(183,110,121,0.18),
    0 0 18px rgba(183,110,121,0.35);
}

/* Continuous subtle shimmer on the nav logo border */
@keyframes logo-border-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(183,110,121,0.12), 0 0 8px rgba(183,110,121,0.08); }
  50%      { box-shadow: 0 0 0 3px rgba(183,110,121,0.28), 0 0 16px rgba(183,110,121,0.20); }
}
.nav-logo-img-wrap {
  animation: logo-border-pulse 3s ease-in-out infinite;
}
.nav-logo-img-wrap:hover {
  animation: none; /* pause pulse when hovering so the hover style is clean */
}

/* ── 22.2  ID CARD — entrance & hover tilt ── */

@keyframes id-card-entrance {
  0%   { opacity: 0; transform: translateY(30px) rotateX(8deg) scale(0.96); }
  100% { opacity: 1; transform: translateY(0)    rotateX(0deg) scale(1); }
}
.id-card {
  animation: id-card-entrance 0.8s cubic-bezier(0.34,1.2,0.64,1) both;
  animation-delay: 0.15s;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.35s cubic-bezier(0.34,1.2,0.64,1),
    box-shadow 0.35s ease;
}
.id-card:hover {
  transform: translateY(-6px) rotate(-1.5deg) scale(1.015);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.14),
    0 0 0 1.5px rgba(183,110,121,0.22) inset,
    0 0 36px rgba(183,110,121,0.18);
}

/* ── 22.3  ID PHOTO — soft continuous float & hover glow ── */

@keyframes photo-float {
  0%,100% { transform: translateY(0px);   }
  50%     { transform: translateY(-5px);  }
}
@keyframes photo-glow-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(183,110,121,0.20); }
  50%     { box-shadow: 0 0 0 5px rgba(183,110,121,0.10), 0 0 20px rgba(183,110,121,0.22); }
}
.id-photo {
  animation: photo-float 4s ease-in-out infinite, photo-glow-pulse 4s ease-in-out infinite;
}
.id-photo:hover {
  animation: none;
  transform: scale(1.04);
  box-shadow: 0 0 0 3px var(--gold), 0 0 24px rgba(183,110,121,0.40);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ── 22.4  ID PHOTO FRAME — rotating dashed ring ── */

@keyframes frame-spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
.id-photo-frame {
  animation: frame-spin 12s linear infinite;
  border-style: dashed;
  border-color: rgba(183,110,121,0.22);
}

/* ── 22.5  HERO HEADLINE — staggered word reveal ── */

@keyframes word-rise {
  from { opacity: 0; transform: translateY(22px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0)     skewY(0deg); }
}
.headline-top {
  animation: word-rise 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.25s;
}
.headline-mid {
  animation: word-rise 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.42s;
}
.headline-bot {
  animation: word-rise 0.65s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.58s;
}

/* ── 22.6  HEADLINE-MID gradient shimmer sweep ── */

@keyframes gradient-sweep {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
.headline-mid {
  background-size: 200% 200%;
  animation:
    word-rise         0.65s cubic-bezier(0.22,1,0.36,1) both 0.42s,
    gradient-sweep    5s   ease-in-out               infinite 1.2s;
}

/* ── 22.7  HERO BRIEF — fade-up ── */

@keyframes brief-fade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.hero-brief {
  animation: brief-fade 0.7s ease both;
  animation-delay: 0.72s;
}

/* ── 22.8  KPI NUMBERS — count-in pop ── */

@keyframes kpi-pop {
  0%   { opacity: 0; transform: scale(0.6) translateY(8px); }
  70%  { transform: scale(1.12) translateY(-2px); }
  100% { opacity: 1; transform: scale(1)    translateY(0);  }
}
.kpi-block:nth-child(1) .kpi-inner { animation: kpi-pop 0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.9s; }
.kpi-block:nth-child(3) .kpi-inner { animation: kpi-pop 0.55s cubic-bezier(0.34,1.56,0.64,1) both 1.05s; }
.kpi-block:nth-child(5) .kpi-inner { animation: kpi-pop 0.55s cubic-bezier(0.34,1.56,0.64,1) both 1.20s; }

/* ── 22.9  CTA BUTTONS — slide-up entrance ── */

@keyframes cta-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.hero-ctas .btn:nth-child(1) { animation: cta-rise 0.6s ease both 1.0s; }
.hero-ctas .btn:nth-child(2) { animation: cta-rise 0.6s ease both 1.15s; }

/* ── 22.10  BTN-GOLD — shimmer sweep on hover ── */

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -200% 0;
  transition: background-position 0.5s ease;
}
.btn-gold:hover::after {
  background-position: 200% 0;
}

/* ── 22.11  SECTION HEADER — rule grow-in ── */

@keyframes rule-grow {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
.sec-rule {
  animation: rule-grow 0.8s cubic-bezier(0.22,1,0.36,1) both;
  transform-origin: left;
}
.section-header.stagger-visible .sec-rule { animation-delay: 0.2s; }

/* ── 22.12  SEC-NUM — flicker-in ── */

@keyframes num-flicker {
  0%  { opacity: 0; }
  40% { opacity: 0.6; }
  60% { opacity: 0.2; }
  80% { opacity: 0.9; }
  100%{ opacity: 0.7; }
}
.section-header.stagger-visible .sec-num {
  animation: num-flicker 0.6s ease both 0.1s;
}

/* ── 22.13  PROJECT CARDS — lift + icon spin on hover ── */

.project-card {
  transition:
    border-color 0.25s,
    background   0.25s,
    transform    0.30s cubic-bezier(0.34,1.2,0.64,1),
    box-shadow   0.30s ease;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.012);
}
.project-card:hover .pc-icon {
  transform: rotate(8deg) scale(1.12);
  background: rgba(183,110,121,0.14);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.25s;
}
.pc-icon {
  transition: transform 0.25s, background 0.25s;
}

/* ── 22.14  ABOUT STAT CARDS — bounce entrance ── */

@keyframes stat-bounce {
  0%   { opacity: 0; transform: scale(0.75) translateY(12px); }
  65%  { transform: scale(1.06) translateY(-3px); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}
.about-stat {
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.about-stat:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 24px rgba(183,110,121,0.14);
  transform: translateY(-3px) scale(1.03);
}
.about-stat.stagger-visible:nth-child(1) { animation: stat-bounce 0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.05s; }
.about-stat.stagger-visible:nth-child(2) { animation: stat-bounce 0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.15s; }
.about-stat.stagger-visible:nth-child(3) { animation: stat-bounce 0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.25s; }
.about-stat.stagger-visible:nth-child(4) { animation: stat-bounce 0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.35s; }

/* ── 22.15  ACH-ITEMS — slide from left ── */

@keyframes ach-slide {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0);     }
}
.ach-item.stagger-visible {
  animation: ach-slide 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.ach-item:hover .ach-icon {
  transform: scale(1.15) rotate(-6deg);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ach-icon { transition: transform 0.25s; }

/* ── 22.16  CERT CARDS — glow border on hover ── */

@keyframes cert-entrance {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.cert-card.stagger-visible {
  animation: cert-entrance 0.55s cubic-bezier(0.22,1,0.36,1) both;
}
.cert-card {
  transition:
    border-color 0.25s,
    box-shadow   0.3s,
    transform    0.3s cubic-bezier(0.34,1.2,0.64,1);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(183,110,121,0.18), 0 0 0 1.5px rgba(183,110,121,0.25);
}

/* ── 22.17  LANG-ITEM — flip-in ── */

@keyframes lang-flip {
  from { opacity: 0; transform: rotateY(25deg) translateX(10px); }
  to   { opacity: 1; transform: rotateY(0deg)  translateX(0);    }
}
.lang-item.stagger-visible {
  animation: lang-flip 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.lang-item {
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.lang-item:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(183,110,121,0.14);
  border-color: var(--border-gold);
}

/* ── 22.18  FAB MAIN — idle heartbeat ── */

@keyframes fab-heartbeat {
  0%,80%,100% { transform: scale(1);    }
  40%          { transform: scale(1.07); }
  60%          { transform: scale(1.04); }
}
.fab-main:not(:hover) {
  animation: fab-heartbeat 3.2s ease-in-out infinite;
}

/* ── 22.19  SOCIAL BUTTONS — icon bounce on hover ── */

.social-btn > i:first-child {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.25s;
}
.social-btn:hover > i:first-child {
  transform: scale(1.18) rotate(-8deg);
}

/* ── 22.20  CONTACT ITEMS — slide-right entrance ── */

@keyframes ci-slide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0);    }
}
.contact-item {
  transition:
    border-color 0.2s,
    background   0.2s,
    transform    0.28s cubic-bezier(0.34,1.2,0.64,1),
    box-shadow   0.28s;
}
.contact-item:hover {
  transform: translateX(-5px);
  box-shadow: 4px 0 20px rgba(183,110,121,0.12);
}

/* ── 22.21  SCROLL PROGRESS BAR — rainbow shimmer ── */

@keyframes progress-shimmer {
  0%   { background-position: 0%   50%; }
  100% { background-position: 200% 50%; }
}
.scroll-progress {
  background: linear-gradient(90deg, #8C4A55, #B76E79, #CD7F32, #D4A0A8, #B76E79, #8C4A55);
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  transition: width 0.1s linear;
}

/* ── 22.22  AVAILABILITY BANNER — glow pulse ── */

@keyframes avail-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  50%     { box-shadow: 0 0 14px 2px rgba(34,197,94,0.15); }
}
.availability-banner {
  animation: avail-glow 2.8s ease-in-out infinite;
}

/* ── 22.23  FOOTER BRAND NAME — hover shimmer ── */

.footer-name {
  display: inline-block;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--gold) 60%, var(--text-primary) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-position: 0% 50%;
  transition: background-position 0.6s ease;
}
.footer-name:hover {
  background-position: 100% 50%;
}

/* ── 22.24  BENTO ITEMS — scale-up on hover ── */

.bento-item {
  transition:
    border-color 0.22s,
    background   0.22s,
    transform    0.28s cubic-bezier(0.34,1.2,0.64,1),
    box-shadow   0.28s;
}
.bento-item:hover {
  transform: scale(1.025) translateY(-2px);
  box-shadow: 0 8px 28px rgba(183,110,121,0.14);
  border-color: var(--border-gold);
}

/* ── 22.25  NAV LINK ACTIVE INDICATOR — grow-in ── */

@keyframes active-dot-grow {
  from { width: 0; opacity: 0; }
  to   { width: 16px; opacity: 1; }
}
.nav-link.active::after {
  animation: active-dot-grow 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}

/* ── 22.26  RESPECT REDUCED MOTION ── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1  !important;
    transition-duration:  0.01ms !important;
  }
}
