/* ═══════════════════════════════════════════════════════
   HANSAKA ANUHAS — PORTFOLIO v4
   Centered hero · Premium footer · Dark form inputs
   ═══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg-deep:    #020617;
  --bg-base:    #0f172a;
  --indigo:     #6366f1;
  --cyan:       #22d3ee;
  --txt:        #f1f5f9;
  --txt-2:      #94a3b8;
  --txt-3:      #475569;
  --glass:      rgba(15,23,42,.65);
  --glass-bdr:  rgba(255,255,255,.08);
  --indigo-glow: rgba(99,102,241,.18);
  --cyan-glow:   rgba(34,211,238,.18);
  --success:    #34d399;
  --error:      #f87171;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;

  --ease: cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.34,1.56,.64,1);

  /* spacing scale (8px) */
  --s1: 8px;  --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 40px; --s6: 48px;  --s7: 56px;  --s8: 64px;
  --s9: 80px; --s10: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
textarea, input { font-family: inherit; }

/* ── Layout ── */
.container {
  width: 100%; max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--s4);
}

/* ═══════════════════════════════════════════════════════
   ANIMATED BACKGROUND
   ═══════════════════════════════════════════════════════ */
.bg-layer {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .45;
  will-change: transform;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%);
  top: -200px; left: -150px;
  animation: drift1 18s ease-in-out infinite alternate;
}
.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,.3), transparent 70%);
  bottom: -180px; right: -120px;
  animation: drift2 22s ease-in-out infinite alternate;
}
.blob-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(129,140,248,.25), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: drift3 15s ease-in-out infinite alternate;
}
.noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .5;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1);       } to { transform: translate(80px,60px) scale(1.12);  } }
@keyframes drift2 { from { transform: translate(0,0) scale(1);       } to { transform: translate(-60px,-80px) scale(1.1);} }
@keyframes drift3 { from { transform: translate(-50%,-50%) scale(1); } to { transform: translate(-45%,-55%) scale(1.08); } }

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(2,6,23,0);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
#site-header.scrolled {
  background: rgba(2,6,23,.82);
  border-color: var(--glass-bdr);
  backdrop-filter: blur(18px) saturate(1.4);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.3px;
  transition: opacity .25s;
}
.logo:hover { opacity: .75; }
.logo-accent { color: var(--indigo); }
.nav-menu { display: flex; gap: var(--s3); }
.nav-link {
  font-size: .82rem; font-weight: 500; color: var(--txt-2);
  letter-spacing: .02em; position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 2px; transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--txt); }
.nav-link.active::after,
.nav-link:hover::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
  z-index: 10;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--txt-2); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s, background .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — always flex so max-height transition works */
.mobile-menu {
  display: flex; flex-direction: column;
  background: rgba(7,11,24,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  max-height: 0; overflow: hidden;
  opacity: 0; pointer-events: none;
  transition: max-height .38s var(--ease), opacity .28s var(--ease),
              border-color .28s var(--ease);
}
.mobile-menu.open {
  max-height: 260px;
  opacity: 1; pointer-events: auto;
  border-bottom-color: var(--glass-bdr);
}
.mob-link {
  padding: 14px var(--s4); font-size: .9rem; font-weight: 500;
  color: var(--txt-2); border-bottom: 1px solid var(--glass-bdr);
  transition: color .2s, padding-left .2s;
}
.mob-link:hover { color: var(--txt); padding-left: var(--s5); }

/* ═══════════════════════════════════════════════════════
   GLASS CARD
   ═══════════════════════════════════════════════════════ */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(1.2);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 50px;
  background: linear-gradient(135deg, var(--indigo), #4f52e0);
  color: #fff; font-weight: 600; font-size: .875rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s;
  box-shadow: 0 4px 20px rgba(99,102,241,.25);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(99,102,241,.4);
  background: linear-gradient(135deg, #737bf8, var(--indigo));
}
.btn-primary:active { transform: scale(.97); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 50px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.14);
  color: var(--txt-2); font-weight: 600; font-size: .875rem;
  transition: transform .25s var(--ease), border-color .25s, color .25s,
              background .25s, box-shadow .25s;
}
.btn-outline:hover {
  transform: translateY(-2px);
  color: var(--txt); border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  box-shadow: 0 6px 22px rgba(0,0,0,.3);
}

.btn-tg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 50px;
  background: rgba(34,211,238,.12);
  border: 1.5px solid rgba(34,211,238,.25);
  color: var(--cyan); font-weight: 600; font-size: .875rem;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn-tg:hover {
  transform: translateY(-2px);
  background: rgba(34,211,238,.2);
  box-shadow: 0 6px 24px rgba(34,211,238,.25);
}

/* ═══════════════════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════════════════ */
.section {
  position: relative; z-index: 1;
  padding: var(--s10) 0;
  text-align: center;
}
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--indigo);
  margin-bottom: var(--s2);
}
.section-h {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.1;
  color: var(--txt); margin-bottom: var(--s3);
}
.section-sub {
  font-size: .97rem; color: var(--txt-2);
  max-width: 480px; margin: 0 auto var(--s7);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   HERO — Perfectly centered, single column
   ═══════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  position: relative; z-index: 1;
  padding-top: 64px; /* nav offset */
}
.hero-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 0;
}

/* Avatar */
.hero-avatar {
  position: relative; margin-bottom: var(--s4);
  width: 150px; height: 150px; flex-shrink: 0;
}
.avatar-ring-outer {
  position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--indigo), var(--cyan), var(--indigo));
  animation: spin 8s linear infinite;
  padding: 3px;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
}
.avatar-glow-bg {
  position: absolute; inset: -24px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.35), transparent 70%);
  filter: blur(20px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:.6;} 50%{opacity:1;} }
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-photo {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(15,23,42,.9);
  position: relative; z-index: 2;
}

/* Name */
.hero-name {
  font-size: clamp(3.8rem, 10vw, 6.5rem);
  font-weight: 900; letter-spacing: -.055em; line-height: .95;
  margin-bottom: var(--s2);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.name-line { color: #f1f5f9; display: block; }
.name-gradient {
  background: linear-gradient(120deg, var(--indigo) 0%, #a5b4fc 45%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Role */
.hero-role {
  font-size: clamp(.95rem, 2.2vw, 1.2rem);
  font-weight: 600; color: rgba(99,102,241,.85);
  letter-spacing: .04em; margin-bottom: var(--s3);
}

/* Tagline */
.hero-tagline {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--txt-2); max-width: 480px;
  line-height: 1.8; margin-bottom: var(--s5);
}

/* CTAs */
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about-card {
  padding: var(--s7);
  text-align: left;
  max-width: 820px; margin: 0 auto;
  transition: box-shadow .4s var(--ease);
}
.about-card:hover { box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 60px rgba(99,102,241,.06); }
.about-lead {
  font-size: 1.08rem; font-weight: 500; color: var(--txt);
  line-height: 1.8; margin-bottom: var(--s3);
}
.about-lead strong { color: #a5b4fc; font-weight: 700; }
.about-body {
  font-size: .95rem; color: var(--txt-2); line-height: 1.9;
  margin-bottom: var(--s3);
}
.about-body strong { color: var(--txt); font-weight: 600; }
.about-rule {
  height: 1px; margin: var(--s4) 0;
  background: linear-gradient(90deg, transparent, var(--glass-bdr), transparent);
}
.skill-list {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;  /* centered layout */
}
.skill {
  font-size: .76rem; font-weight: 600; letter-spacing: .05em;
  color: var(--cyan); background: rgba(34,211,238,.07);
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 6px; padding: 8px 20px;
  transition: background .22s var(--ease), border-color .22s, transform .22s;
}
.skill:hover {
  background: rgba(34,211,238,.15);
  border-color: rgba(34,211,238,.35);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   EXPERIENCE
   ═══════════════════════════════════════════════════════ */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4); margin-top: var(--s7);
  max-width: 860px; margin-inline: auto;
}
.stat-card {
  padding: var(--s6) var(--s4); text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 72px rgba(0,0,0,.5), 0 0 48px var(--indigo-glow);
}
.stat-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s3);
}
.ico-a { background: rgba(99,102,241,.12);  border: 1px solid rgba(99,102,241,.22); color: var(--indigo); }
.ico-b { background: rgba(34,211,238,.1);   border: 1px solid rgba(34,211,238,.2);  color: var(--cyan); }
.ico-c { background: rgba(129,140,248,.1);  border: 1px solid rgba(129,140,248,.2); color: #818cf8; }
.stat-num {
  display: flex; align-items: baseline;
  justify-content: center; gap: 1px;
  margin-bottom: var(--s1);
}
.count {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900; color: var(--txt); letter-spacing: -.04em;
}
.stat-sfx {
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl {
  font-size: .9rem; font-weight: 700; color: var(--txt);
  margin-bottom: 6px;
}
.stat-desc { font-size: .8rem; color: var(--txt-3); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: var(--s4); text-align: left; max-width: 980px; margin: 0 auto;
}

/* Info panel */
.info-panel {
  padding: var(--s5);
  display: flex; flex-direction: column;
}
.panel-title { font-size: 1rem; font-weight: 700; color: var(--txt); margin-bottom: 8px; }
.panel-sub   { font-size: .82rem; color: var(--txt-2); line-height: 1.6; margin-bottom: var(--s4); }
.contact-rows { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s3); }
/* Note at bottom of Direct Contact panel */
.panel-note {
  margin-top: auto; padding-top: var(--s3);
  font-size: .75rem; color: var(--txt-3);
  line-height: 1.6; font-style: italic;
  border-top: 1px solid rgba(255,255,255,.05);
}
.c-row {
  display: flex; align-items: center; gap: var(--s2); padding: 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  transition: background .25s, border-color .25s, transform .25s;
}
.c-row:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); transform: translateX(4px); }
.c-row-primary { border-color: rgba(99,102,241,.22); background: rgba(99,102,241,.06); }
.c-row-primary:hover { background: rgba(99,102,241,.12); }
.c-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.c-email { background: var(--indigo-glow); color: var(--indigo); }
.c-tg    { background: rgba(34,211,238,.12); color: var(--cyan); }
.c-gh    { background: rgba(255,255,255,.08); color: var(--txt-2); }
.c-info  { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.c-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-3); }
.c-val   { font-size: .84rem; font-weight: 600; color: var(--txt); }
.c-arrow { flex-shrink: 0; color: var(--txt-3); transition: transform .2s; }
.c-row:hover .c-arrow { transform: translate(2px,-2px); color: var(--txt-2); }

/* avail-badge removed */

/* ── Contact Form ── */
.form-col { display: flex; flex-direction: column; }
.c-form {
  position: relative; overflow: hidden;
  padding: var(--s5) var(--s5); flex: 1;
}
.form-hdr { margin-bottom: var(--s4); }
.form-title { font-size: 1rem; font-weight: 700; color: var(--txt); margin-bottom: 6px; }
.form-note  { font-size: .78rem; color: var(--txt-3); }

/* Floating label inputs */
.fg { margin-bottom: var(--s3); }
/* .ff wrapper — explicit dark + color-scheme to block browser autofill highlighting */
.ff {
  position: relative;
  background: rgba(7,11,24,.85);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  color-scheme: dark;                      /* tells browser: dark context */
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease);
}
.ff:focus-within {
  border-color: var(--indigo);
  background: rgba(7,11,24,.95);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15), 0 4px 24px rgba(99,102,241,.1);
}
/* Valid — keep same indigo ring as focus, no color change */
.fg.ok  .ff {
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 0 0 3px rgba(99,102,241,.08);
}
/* Error — very subtle, low-opacity red, no thick ring */
.fg.err .ff {
  border-color: rgba(248,113,113,.45);
  box-shadow: 0 0 0 2px rgba(248,113,113,.07);
  animation: shake .34s;
}
@keyframes shake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-5px);} 75%{transform:translateX(5px);} }

.fi {
  width: 100%; background: transparent !important; border: none;
  padding: 26px 18px 10px;
  color: var(--txt); font-size: .9rem; line-height: 1.5;
  outline: none; resize: none;
  color-scheme: dark;
  /* Strip browser default form appearance — prevents radius/outline overrides */
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;  /* .ff wrapper handles radius; input is flush inside it */
}
.fi::placeholder { color: transparent; }
.fi-ta { padding-top: 30px; min-height: 140px; }

.fl {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: .875rem; font-weight: 500; color: var(--txt-3);
  pointer-events: none;
  transition: top .25s var(--ease), font-size .25s var(--ease),
              letter-spacing .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease);
}
.fl-ta { top: 20px; transform: none; }

/* Floating label active state */
.fi:focus + .fl,
.fi:not(:placeholder-shown) + .fl {
  top: 9px; transform: none;
  font-size: .67rem; font-weight: 700; letter-spacing: .1em;
  color: var(--indigo);
}
.fi-ta:focus + .fl-ta,
.fi-ta:not(:placeholder-shown) + .fl-ta {
  top: 8px;
  font-size: .67rem; letter-spacing: .1em; color: var(--indigo);
}

/* Kill ALL browser autofill backgrounds AND restore rounded corners.
   Chrome removes border-radius on autofill unless explicitly re-applied here. */
.fi:-webkit-autofill,
.fi:-webkit-autofill:hover,
.fi:-webkit-autofill:focus,
.fi:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(7,11,24,.97) inset !important;
  box-shadow:         0 0 0 1000px rgba(7,11,24,.97) inset !important;
  -webkit-text-fill-color: var(--txt) !important;
  caret-color: var(--txt) !important;
  /* Re-state border-radius explicitly — Chrome autofill resets it */
  border-radius: var(--r-sm) !important;
  -webkit-border-radius: var(--r-sm) !important;
  transition: background-color 999999s 0s, color 999999s 0s !important;
}
/* Modern browsers: style the wrapper when a child is autofilled */
.ff:has(input:-webkit-autofill),
.ff:has(input:autofill) {
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 0 0 3px rgba(99,102,241,.08);
  border-radius: var(--r-sm);  /* belt-and-suspenders */
}

/* Error text — small and muted, not alarming */
.fe {
  display: none; font-size: .7rem; color: rgba(248,113,113,.75);
  padding-top: 5px; padding-left: 2px; letter-spacing: .01em;
}
.fg.err .fe { display: block; }

/* Submit */
.btn-submit {
  width: 100%; justify-content: center;
  padding: 15px; border-radius: var(--r-sm); margin-top: var(--s2);
  font-size: .9rem; letter-spacing: .015em;
  background: linear-gradient(135deg, #5153d4 0%, var(--indigo) 50%, #4e8de8 100%);
  box-shadow: 0 4px 18px rgba(99,102,241,.2);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), filter .28s;
}
.btn-submit:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 10px 30px rgba(99,102,241,.35);
  filter: brightness(1.08);
}
.btn-submit:active { transform: scale(.98); }
.sbtn-spin {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .6s linear infinite;
}
.sbtn-arrow {
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.btn-submit:hover .sbtn-arrow { transform: translateX(3px); }

/* Success overlay */
.form-ok {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  background: rgba(7,11,24,.92); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; animation: fadeRise .45s var(--ease);
}
.form-ok[hidden] { display: none; }
.ok-body {
  text-align: center; padding: var(--s4);
  display: flex; flex-direction: column; align-items: center; gap: var(--s3);
}
.ok-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px var(--indigo-glow);
  animation: popIn .45s var(--spring);
}
.ok-icon svg { stroke: #fff; }
.ok-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--txt); }
.ok-body p  { font-size: .875rem; color: var(--txt-2); max-width: 240px; }
@keyframes fadeRise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes popIn    { from { transform:scale(.2); opacity:0; }         to { transform:scale(1); opacity:1; } }

/* ═══════════════════════════════════════════════════════
   FOOTER — Minimal centered
   ═══════════════════════════════════════════════════════ */
.site-footer {
  position: relative; z-index: 2;
  background: rgba(2,6,23,.9);
}
.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,.65) 30%,
              rgba(34,211,238,.65) 70%, transparent 100%);
}
.footer-min {
  display: flex; align-items: center; justify-content: center;
  padding: var(--s5) var(--s4);
}
.footer-copy {
  font-size: .82rem; color: var(--txt-2);
  letter-spacing: .01em; line-height: 1.5;
}
.footer-name {
  color: var(--indigo); font-weight: 700;
  background: linear-gradient(90deg, var(--indigo), #818cf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.reveal-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-up.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .foot-right { align-items: flex-start; }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; max-width: 380px; }
  .footer-body { flex-direction: column; gap: var(--s4); }
  .foot-right  { align-items: flex-start; }
  .burger { display: flex; }
  .nav-menu { display: none; }
}
@media (max-width: 600px) {
  .hero-name   { font-size: clamp(3rem, 14vw, 4.5rem); }
  .avatar-photo { width: 120px; height: 120px; }
  .hero-avatar  { width: 120px; height: 120px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline, .btn-tg { justify-content: center; }
  .about-card  { padding: var(--s4) var(--s3); }
  .c-form, .info-panel { padding: var(--s4) var(--s3); }
  .scroll-cue  { bottom: var(--s2); }
  .fi { font-size: .875rem; } /* prevent iOS zoom */
  .scroll-cue { display: none; } /* just in case */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
