/* ═══════════════════════════════════════════════
   Jay Munagala Portfolio — Full Glassmorphism
   ═══════════════════════════════════════════════ */

:root {
  --bg:           #0d0f1a;
  --bg-alt:       #0b0d17;
  --glass:        rgba(255,255,255,0.04);
  --glass-b:      rgba(255,255,255,0.08);
  --glass-hover:  rgba(255,255,255,0.07);
  --text:         #eeeef8;
  --muted:        #7878a0;
  --blue:         #4f8ef7;
  --purple:       #a855f7;
  --teal:         #2dd4bf;
  --radius:       16px;
  --t:            0.28s ease;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html  { scroll-behavior:smooth; }
body  {
  background:var(--bg);
  color:var(--text);
  font-family:'DM Sans',sans-serif;
  font-size:16px;
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4 { font-family:'Syne',sans-serif; line-height:1.2; }
a  { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* ── Particle Canvas ─────────────────────────── */
#particles {
  position:fixed; inset:0;
  z-index:0;
  pointer-events:none;
  opacity:0.35;
}

/* ── Ambient Blobs ───────────────────────────── */
.ambient { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.blob { position:absolute; border-radius:50%; filter:blur(90px); opacity:.25; }
.blob-1 {
  width:700px;height:700px;
  background:radial-gradient(circle,#4f8ef7,transparent 65%);
  top:-180px;left:-200px;
  animation:drift1 24s ease-in-out infinite alternate;
}
.blob-2 {
  width:600px;height:600px;
  background:radial-gradient(circle,#a855f7,transparent 65%);
  bottom:0;right:-150px;
  animation:drift2 20s ease-in-out infinite alternate;
}
.blob-3 {
  width:500px;height:500px;
  background:radial-gradient(circle,#2dd4bf,transparent 65%);
  top:45%;left:38%;
  animation:drift3 28s ease-in-out infinite alternate;
}
@keyframes drift1 { from{transform:translate(0,0) scale(1)}   to{transform:translate(60px,-80px) scale(1.08)} }
@keyframes drift2 { from{transform:translate(0,0) scale(1)}   to{transform:translate(-50px,60px) scale(1.06)} }
@keyframes drift3 { from{transform:translate(0,0) scale(1)}   to{transform:translate(40px,-50px) scale(.94)} }

/* ── Glass Card ──────────────────────────────── */
.glass-card {
  position:relative;
  background:var(--glass);
  border:1px solid var(--glass-b);
  border-radius:var(--radius);
  padding:1.75rem;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transition:background var(--t),border-color var(--t),transform var(--t),box-shadow var(--t);
  overflow:hidden;
}
.glass-card::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.05) 0%,transparent 55%);
  pointer-events:none; border-radius:inherit;
}
.glass-card:hover {
  background:var(--glass-hover);
  border-color:rgba(255,255,255,.13);
  transform:translateY(-4px);
  box-shadow:0 20px 48px rgba(0,0,0,.35);
}

/* ── Navbar ──────────────────────────────────── */
.navbar {
  position:fixed; top:1.4rem; left:50%;
  transform:translateX(-50%); z-index:200;
}
.nav-pill {
  display:flex; gap:2px;
  background:rgba(10,12,22,.75);
  border:1px solid rgba(255,255,255,.09);
  border-radius:50px;
  padding:5px 8px;
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  box-shadow:0 4px 28px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.05);
}
.nav-link {
  padding:.42rem 1rem; border-radius:50px;
  font-size:.83rem; font-weight:500; color:var(--muted);
  transition:color var(--t),background var(--t); white-space:nowrap;
}
.nav-link:hover { color:var(--text); }
.nav-link.active { color:var(--text); background:rgba(79,142,247,.18); }

/* ── Layout ──────────────────────────────────── */
.section    { padding:7rem 0; position:relative; z-index:1; }
.section-sm { padding:4rem 0; }
.alt-bg::before {
  content:''; position:absolute; inset:0;
  background:rgba(255,255,255,.012); pointer-events:none;
}
.container       { max-width:880px;  margin:0 auto; padding:0 1.5rem; }
.container-wide  { max-width:1060px; margin:0 auto; padding:0 1.5rem; }

.section-header { text-align:center; margin-bottom:3.5rem; }
.section-title  {
  font-size:clamp(2rem,4vw,2.6rem); font-weight:700;
  background:linear-gradient(135deg,var(--text) 40%,var(--muted));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; margin-bottom:.8rem;
}
.section-line {
  width:44px; height:3px;
  background:linear-gradient(90deg,var(--blue),var(--purple));
  border-radius:2px; margin:0 auto .8rem;
}
.section-sub { color:var(--muted); font-size:.93rem; margin-top:.4rem; }

/* accent colours */
.accent-blue   { color:var(--blue); }
.accent-purple { color:var(--purple); }
.accent-teal   { color:var(--teal); }

/* ── Hero ────────────────────────────────────── */
.hero {
  min-height:100svh;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding:7rem 1.5rem 4rem;
  position:relative; z-index:1;
}
.hero-content { max-width:780px; }

/* Avatar */
.avatar-wrap {
  position:relative;
  width:128px; height:128px;
  margin:0 auto 1.5rem;
}
.avatar {
  width:100%; height:100%; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  display:flex; align-items:center; justify-content:center;
  font-family:'Syne',sans-serif; font-size:2.2rem; font-weight:800; color:#fff;
  position:relative; z-index:1;
  box-shadow:0 0 32px rgba(79,142,247,.3);
}
.avatar-ring-outer {
  position:absolute; inset:-8px; border-radius:50%;
  border:1.5px solid rgba(79,142,247,.35);
  animation:spin 14s linear infinite;
}
.avatar-ring-inner {
  position:absolute; inset:-18px; border-radius:50%;
  border:1px solid rgba(168,85,247,.2);
  animation:spin 22s linear infinite reverse;
}
@keyframes spin { to { transform:rotate(360deg); } }

.hero-greeting {
  font-size:1.05rem; color:var(--blue); font-weight:500;
  letter-spacing:.06em; margin-bottom:.4rem;
}
.hero-name {
  font-size:clamp(2.8rem,9vw,5.8rem); font-weight:800;
  background:linear-gradient(130deg,#fff 25%,var(--blue) 80%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; margin-bottom:.9rem; letter-spacing:-.02em;
}
.hero-typed-wrap {
  font-family:'Syne',sans-serif;
  font-size:clamp(1.1rem,3vw,1.6rem); font-weight:600; color:var(--purple);
  min-height:2.1rem; margin-bottom:.8rem;
}
.hero-prefix { color:var(--muted); }
.cursor { animation:blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-tagline {
  font-size:1rem; color:var(--muted); font-style:italic;
  margin-bottom:.8rem;
}
.hero-summary {
  color:var(--muted); font-size:.97rem; max-width:620px;
  margin:0 auto 2.25rem; line-height:1.85;
}

/* Stats bar */
.stats-bar {
  display:flex; justify-content:center; flex-wrap:wrap; gap:0;
  margin-bottom:2.5rem;
}
.stat-item {
  padding:.5rem 1.6rem;
  border-right:1px solid rgba(255,255,255,.08); text-align:center;
}
.stat-item:last-child { border-right:none; }
.stat-value {
  display:block; font-family:'Syne',sans-serif;
  font-size:2rem; font-weight:800; line-height:1;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.stat-label {
  display:block; font-size:.7rem; color:var(--muted);
  margin-top:.3rem; text-transform:uppercase; letter-spacing:.07em;
}

/* CTAs */
.hero-ctas { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.75rem; }

/* Social icons */
.hero-socials { display:flex; gap:.75rem; justify-content:center; }
.social-btn {
  width:44px; height:44px; border-radius:12px;
  background:var(--glass); border:1px solid var(--glass-b);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:all var(--t);
  backdrop-filter:blur(10px);
}
.social-btn:hover {
  color:var(--blue); border-color:rgba(79,142,247,.4);
  background:rgba(79,142,247,.08); transform:translateY(-3px);
}

/* Buttons */
.btn {
  display:inline-flex; align-items:center;
  padding:.7rem 1.9rem; border-radius:50px;
  font-family:'DM Sans',sans-serif; font-weight:600; font-size:.92rem;
  cursor:pointer; transition:all var(--t); border:none;
}
.btn-primary {
  background:linear-gradient(135deg,var(--blue),var(--purple));
  color:#fff; box-shadow:0 4px 22px rgba(79,142,247,.28);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(79,142,247,.4); }
.btn-ghost {
  background:transparent; color:var(--text); border:1px solid var(--glass-b);
}
.btn-ghost:hover { background:var(--glass); border-color:rgba(255,255,255,.16); transform:translateY(-2px); }
.btn-grad-blue   { background:linear-gradient(135deg,#2dd4bf,#4f8ef7); color:#fff; padding:.65rem 1.5rem; border-radius:12px; }
.btn-grad-purple { background:linear-gradient(135deg,var(--blue),var(--purple)); color:#fff; padding:.65rem 1.5rem; border-radius:12px; }
.btn-grad-teal   { background:linear-gradient(135deg,var(--teal),var(--blue)); color:#fff; padding:.65rem 1.5rem; border-radius:12px; }
.btn-grad-blue:hover,.btn-grad-purple:hover,.btn-grad-teal:hover { transform:translateY(-2px); filter:brightness(1.1); }

/* Scroll hint */
.scroll-hint {
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:.5rem; opacity:.4;
}
.scroll-mouse {
  width:22px; height:36px; border:1.5px solid var(--muted);
  border-radius:11px; display:flex; justify-content:center; padding-top:6px;
}
.scroll-dot {
  width:4px; height:7px; background:var(--blue); border-radius:2px;
  animation:scrolldown 2s ease infinite;
}
@keyframes scrolldown { 0%{transform:translateY(0);opacity:1} 100%{transform:translateY(12px);opacity:0} }
.scroll-label { font-size:.62rem; letter-spacing:.12em; color:var(--muted); text-transform:uppercase; }

/* ── About ───────────────────────────────────── */
.about-quote {
  position:relative; text-align:center;
  padding:2rem 3rem; margin-bottom:2.5rem;
}
.about-quote p {
  font-family:'Syne',sans-serif;
  font-size:clamp(1.1rem,2.5vw,1.4rem); font-style:italic;
  color:var(--text); line-height:1.6; max-width:700px; margin:0 auto;
}
.quote-mark {
  position:absolute; font-size:5rem; line-height:1;
  font-family:'Syne',sans-serif; font-style:italic;
  color:rgba(79,142,247,.15);
}
.quote-mark      { top:0; left:1rem; }
.quote-mark-r    { bottom:0; right:1rem; top:auto; left:auto; }

.about-body {
  max-width:700px; margin:0 auto 3rem;
  display:flex; flex-direction:column; gap:.9rem;
}
.about-body p { color:#a0a0c0; font-size:.97rem; line-height:1.8; }

.about-journey-title {
  font-size:1.5rem; font-weight:700; margin-bottom:1.5rem;
  text-align:center;
}

.journey-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1.1rem; margin-bottom:2.5rem;
}
.journey-card { display:flex; align-items:flex-start; gap:1rem; }
.journey-icon-wrap {
  width:46px; height:46px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem;
}
.grad-blue   { background:linear-gradient(135deg,rgba(79,142,247,.25),rgba(79,142,247,.1)); border:1px solid rgba(79,142,247,.3); }
.grad-purple { background:linear-gradient(135deg,rgba(168,85,247,.25),rgba(168,85,247,.1)); border:1px solid rgba(168,85,247,.3); }
.grad-teal   { background:linear-gradient(135deg,rgba(45,212,191,.25),rgba(45,212,191,.1)); border:1px solid rgba(45,212,191,.3); }
.journey-body h4  { font-size:.98rem; font-weight:700; margin-bottom:.2rem; }
.journey-loc  { font-size:.75rem; color:var(--blue); margin-bottom:.3rem; }
.journey-desc { font-size:.82rem; color:var(--muted); line-height:1.55; }

.traits-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:.9rem;
  max-width:640px; margin:0 auto;
}
.trait-tile {
  display:flex; flex-direction:column; align-items:center;
  padding:1.25rem .75rem; border-radius:var(--radius);
  border:1px solid; gap:.5rem;
  transition:transform var(--t),box-shadow var(--t);
}
.trait-tile:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,.3); }
.trait-blue   { background:rgba(79,142,247,.08);  border-color:rgba(79,142,247,.22); }
.trait-purple { background:rgba(168,85,247,.08); border-color:rgba(168,85,247,.22); }
.trait-teal   { background:rgba(45,212,191,.07); border-color:rgba(45,212,191,.2); }
.trait-icon  { font-size:1.5rem; }
.trait-label { font-size:.75rem; font-weight:600; color:var(--text); text-align:center; }

/* ── Career Milestones ───────────────────────── */
.milestones {
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:center; gap:.6rem;
  margin-bottom:2.5rem;
}
.ms-item {
  display:flex; flex-direction:column; align-items:center;
  gap:.45rem; min-width:110px; max-width:140px;
}
.ms-dot {
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; border:1px solid; flex-shrink:0;
  transition:transform var(--t),box-shadow var(--t);
}
.ms-dot:hover { transform:translateY(-3px); box-shadow:0 8px 20px rgba(0,0,0,.3); }
.ms-blue   { background:rgba(79,142,247,.12);  border-color:rgba(79,142,247,.3); }
.ms-purple { background:rgba(168,85,247,.12); border-color:rgba(168,85,247,.3); }
.ms-teal   { background:rgba(45,212,191,.1);  border-color:rgba(45,212,191,.28); }
.ms-body   { text-align:center; }
.ms-label  { display:block; font-size:.8rem; font-weight:700; color:var(--text); line-height:1.3; }
.ms-sub    { display:block; font-size:.7rem; color:var(--muted); margin-top:.15rem; }
.ms-clickable { cursor:pointer; }
.ms-clickable:hover .ms-dot {
  transform:translateY(-4px) scale(1.08);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}
.ms-clickable:hover .ms-label { color:var(--blue); }
.ms-clickable .ms-label { transition:color var(--t); }
.ms-arrow  {
  font-size:1.6rem; color:var(--muted); line-height:1;
  align-self:center; margin-top:-1.5rem;
}
@media(max-width:600px) {
  .milestones { flex-direction:column; align-items:stretch; gap:.4rem; }
  .ms-item { flex-direction:row; max-width:100%; min-width:0; text-align:left; }
  .ms-body { text-align:left; }
  .ms-arrow { transform:rotate(90deg); margin:0 auto; }
}

/* ── Timeline ────────────────────────────────── */
.timeline { display:flex; flex-direction:column; gap:0; }
.timeline-item {
  display:grid; grid-template-columns:28px 1fr;
  gap:0 1.25rem; padding-bottom:2.5rem;
}
.timeline-item:last-child { padding-bottom:0; }
.tl-spine { display:flex; flex-direction:column; align-items:center; padding-top:1.6rem; }
.tl-dot {
  width:13px; height:13px; border-radius:50%; border:2px solid;
  background:var(--bg); flex-shrink:0; position:relative; z-index:1;
}
.dot-blue   { border-color:var(--blue);   box-shadow:0 0 8px var(--blue); }
.dot-purple { border-color:var(--purple); box-shadow:0 0 8px var(--purple); }
.dot-teal   { border-color:var(--teal);   box-shadow:0 0 8px var(--teal); }
.tl-line { flex:1; width:1px; background:linear-gradient(to bottom,var(--glass-b),transparent); margin-top:4px; }

/* exp accordion */
.exp-card   { cursor:pointer; user-select:none; }
.exp-header {
  display:flex; justify-content:space-between; align-items:center;
  gap:1rem; flex-wrap:wrap;
}
.job-title   { font-size:1.18rem; font-weight:700; margin-bottom:.15rem; }
.job-company { font-size:.9rem; font-weight:600; }
.exp-right   { display:flex; align-items:center; gap:.75rem; flex-shrink:0; }
.job-period  { font-size:.8rem; color:var(--muted); }
.exp-chevron {
  font-size:1.3rem; color:var(--muted); line-height:1;
  display:inline-block;
  transition:transform .3s ease, color .2s;
}
.exp-card.open .exp-chevron { transform:rotate(90deg); color:var(--blue); }

.exp-summary {
  font-size:.88rem; color:var(--muted);
  margin-top:.75rem; line-height:1.6;
}

.exp-details {
  overflow:hidden;
  max-height:0;
  transition:max-height .4s ease, opacity .35s ease, margin .35s ease;
  opacity:0;
  margin-top:0;
}
.exp-card.open .exp-details {
  max-height:800px;
  opacity:1;
  margin-top:1rem;
}
.exp-details-inner {
  padding-top:.75rem;
  border-top:1px solid rgba(255,255,255,.06);
}

.job-bullets { display:flex; flex-direction:column; gap:.5rem; }
.job-bullets li {
  padding-left:1.15rem; position:relative;
  font-size:.87rem; color:#a0a0c0; line-height:1.62;
}
.job-bullets li::before {
  content:'▸'; position:absolute; left:0; top:.26rem;
  color:var(--blue); font-size:.62rem;
}

/* ── Projects ────────────────────────────────── */
.featured-projects { display:flex; flex-direction:column; gap:4rem; margin-bottom:3.5rem; }

.fp-row {
  display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:center;
}
.fp-row-reverse { direction:rtl; }
.fp-row-reverse > * { direction:ltr; }

.fp-img-wrap { position:relative; border-radius:var(--radius); overflow:hidden; }
.fp-img { width:100%; height:280px; object-fit:cover; display:block;
  transition:transform .5s ease; }
.fp-img-wrap:hover .fp-img { transform:scale(1.04); }
.fp-img-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(13,15,26,.8) 0%,transparent 60%);
}
.fp-icon {
  position:absolute; top:1rem; left:1rem;
  width:48px; height:48px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; backdrop-filter:blur(8px);
}
.fp-icon-blue   { background:linear-gradient(135deg,rgba(79,142,247,.5),rgba(45,212,191,.4)); }
.fp-icon-purple { background:linear-gradient(135deg,rgba(168,85,247,.5),rgba(79,142,247,.4)); }
.fp-icon-teal   { background:linear-gradient(135deg,rgba(45,212,191,.5),rgba(79,142,247,.4)); }

.fp-content { display:flex; flex-direction:column; gap:1rem; }
.fp-accent-line { height:3px; width:100%; border-radius:2px; }
.fp-line-blue   { background:linear-gradient(90deg,var(--teal),var(--blue)); }
.fp-line-purple { background:linear-gradient(90deg,var(--blue),var(--purple)); }
.fp-line-teal   { background:linear-gradient(90deg,var(--teal),var(--blue)); }
.fp-title { font-size:1.4rem; font-weight:700; }
.fp-desc  { font-size:.9rem; color:#a0a0c0; line-height:1.7; }
.fp-tags  { display:flex; flex-wrap:wrap; gap:.45rem; }
.fp-tag   { padding:.28rem .75rem; border-radius:50px; font-size:.75rem; font-weight:600; }
.fp-tag-blue   { background:rgba(79,142,247,.12);  border:1px solid rgba(79,142,247,.3);  color:#9ab8f8; }
.fp-tag-purple { background:rgba(168,85,247,.12); border:1px solid rgba(168,85,247,.3); color:#c799f9; }
.fp-tag-teal   { background:rgba(45,212,191,.1);  border:1px solid rgba(45,212,191,.28); color:#7de8d8; }
.fp-btn { align-self:flex-start; }

.mini-heading { font-size:1.4rem; font-weight:700; text-align:center; margin-bottom:1.5rem; }
.mini-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.1rem; margin-bottom:2.5rem; }
.mini-icon  { font-size:1.8rem; margin-bottom:.75rem; }
.mini-title { font-size:1rem; font-weight:700; margin-bottom:.5rem; }
.mini-desc  { font-size:.84rem; color:var(--muted); line-height:1.6; margin-bottom:.75rem; }
.mini-tags  { display:flex; flex-wrap:wrap; gap:.4rem; }

.projects-cta { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; padding-top:2rem; border-top:1px solid rgba(255,255,255,.05); }

/* ── Skills ──────────────────────────────────── */
.skills-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(255px,1fr)); gap:1.1rem; }
.skill-head { display:flex; align-items:center; gap:.7rem; margin-bottom:1rem; }
.skill-icon { font-size:1.4rem; line-height:1; }
.skill-cat  { font-size:.97rem; font-weight:700; }
.skill-tags { display:flex; flex-wrap:wrap; gap:.45rem; }
.tag { padding:.28rem .72rem; border-radius:50px; font-size:.76rem; font-weight:500; transition:all var(--t); cursor:default; }
.tag-blue   { background:rgba(79,142,247,.08);  border:1px solid rgba(79,142,247,.22);  color:#9ab8f8; }
.tag-blue:hover   { background:rgba(79,142,247,.18);  border-color:rgba(79,142,247,.45);  color:var(--text); }
.tag-purple { background:rgba(168,85,247,.08); border:1px solid rgba(168,85,247,.22); color:#c799f9; }
.tag-purple:hover { background:rgba(168,85,247,.18); border-color:rgba(168,85,247,.45); color:var(--text); }
.tag-teal   { background:rgba(45,212,191,.07); border:1px solid rgba(45,212,191,.2);  color:#7de8d8; }
.tag-teal:hover   { background:rgba(45,212,191,.15); border-color:rgba(45,212,191,.4);  color:var(--text); }

/* ── Education ───────────────────────────────── */
.edu-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1.25rem; max-width:740px; margin:0 auto; }
.edu-card { display:flex; align-items:center; gap:1.25rem; }
.edu-icon-wrap {
  width:56px; height:56px; border-radius:14px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:1.7rem;
}
.edu-icon-blue   { background:linear-gradient(135deg,rgba(79,142,247,.25),rgba(79,142,247,.08)); border:1px solid rgba(79,142,247,.3); }
.edu-icon-purple { background:linear-gradient(135deg,rgba(168,85,247,.25),rgba(168,85,247,.08)); border:1px solid rgba(168,85,247,.3); }
.edu-degree { font-size:1.05rem; font-weight:700; margin-bottom:.2rem; }
.edu-school { font-size:.88rem; font-weight:600; margin-bottom:.18rem; }
.edu-loc    { font-size:.78rem; color:var(--muted); margin-bottom:.25rem; }
.edu-period { font-size:.75rem; color:var(--muted); background:var(--glass); border:1px solid var(--glass-b); padding:.2rem .65rem; border-radius:50px; }

/* ── Contact ─────────────────────────────────── */
.contact-wrap {
  display:grid; grid-template-columns:1.4fr 1fr; gap:2rem; align-items:start;
  margin-bottom:3rem;
}
.contact-form-card { padding:2rem; }
.contact-form-title { font-size:1.3rem; font-weight:700; margin-bottom:.35rem; }
.contact-form-sub   { font-size:.88rem; color:var(--muted); margin-bottom:1.5rem; }
.contact-form { display:flex; flex-direction:column; gap:1.1rem; }
.form-group { display:flex; flex-direction:column; gap:.4rem; }
.form-group label { font-size:.82rem; font-weight:500; color:var(--muted); }
.form-group input,
.form-group textarea {
  background:rgba(255,255,255,.035); border:1px solid var(--glass-b);
  border-radius:10px; padding:.7rem 1rem;
  color:var(--text); font-family:'DM Sans',sans-serif; font-size:.92rem;
  transition:border-color var(--t), box-shadow var(--t);
  resize:none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--muted); }
.form-group input:focus,
.form-group textarea:focus {
  outline:none; border-color:rgba(79,142,247,.5);
  box-shadow:0 0 0 3px rgba(79,142,247,.1);
}
.form-submit { width:100%; justify-content:center; border-radius:12px; padding:.8rem; }
.form-status { font-size:.85rem; text-align:center; min-height:1.2rem; }
.form-status.ok  { color:#4ade80; }
.form-status.err { color:#f87171; }

.contact-info { display:flex; flex-direction:column; gap:.85rem; }
.contact-card {
  display:flex; align-items:center; gap:1rem; padding:1.1rem 1.25rem; cursor:pointer;
}
.contact-card:hover { border-color:rgba(79,142,247,.38); box-shadow:0 8px 24px rgba(79,142,247,.1); }
.contact-icon { font-size:1.4rem; flex-shrink:0; }
.contact-lbl  { font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); display:block; }
.contact-val  { font-size:.88rem; font-weight:500; word-break:break-all; }

.footer { text-align:center; color:var(--muted); font-size:.8rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.05); }

/* ── Experience highlight flash ─────────────── */
@keyframes exp-flash {
  0%,100% { border-color: rgba(255,255,255,.08); box-shadow: none; }
  40%      { border-color: rgba(79,142,247,.6);  box-shadow: 0 0 28px rgba(79,142,247,.25); }
}
.exp-highlight { animation: exp-flash 1.4s ease; }

/* ── Scroll Reveal ───────────────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .6s ease,transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── Responsive ──────────────────────────────── */
@media(max-width:800px) {
  .fp-row,.fp-row-reverse { grid-template-columns:1fr; direction:ltr; }
  .fp-row-reverse > * { direction:ltr; }
  .contact-wrap { grid-template-columns:1fr; }
  .traits-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:600px) {
  .nav-link { padding:.38rem .6rem; font-size:.76rem; }
  .stat-item { padding:.5rem .9rem; }
  .stat-value { font-size:1.6rem; }
  .timeline-item { grid-template-columns:20px 1fr; gap:0 .85rem; }
  .job-header { flex-direction:column; }
  .job-right { text-align:left; }
  .edu-grid { grid-template-columns:1fr; }
  .traits-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:420px) {
  .nav-pill { padding:4px 5px; }
  .nav-link { padding:.33rem .48rem; font-size:.72rem; }
}

