/* ================================================
   LIL POKHREL PORTFOLIO — RESPONSIVE STYLESHEET
   Full fix: no horizontal scroll, mobile-first
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=JetBrains+Mono:wght@300;400;500&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── DESIGN TOKENS ── */
:root {
  --bg:        #faf8f4;
  --bg2:       #f3efe8;
  --bg3:       #ede8de;
  --surface:   #ffffff;
  --border:    #e8e1d5;
  --border2:   #d4ccbc;
  --text:      #1c1a16;
  --text2:     #4a4438;
  --text3:     #7a7060;
  --muted:     #9e9282;
  --accent:        #2a7d6f;
  --accent-mid:    #3a9d8c;
  --accent-light:  #e8f5f2;
  --accent-pale:   #f0faf8;
  --amber:         #c9783a;
  --amber-light:   #fdf3ea;
  --indigo:        #3d4fa8;
  --indigo-light:  #eef0fc;
  --ff:    'Plus Jakarta Sans', sans-serif;
  --ff-s:  'Lora', serif;
  --ff-m:  'JetBrains Mono', monospace;
  --nav-h: 62px;
  --r:     6px;
  --r-lg:  12px;
  --shadow-sm: 0 1px 4px rgba(44,40,30,.06), 0 2px 12px rgba(44,40,30,.04);
  --shadow-md: 0 4px 16px rgba(44,40,30,.08), 0 1px 4px rgba(44,40,30,.04);
  --shadow-lg: 0 12px 40px rgba(44,40,30,.12), 0 4px 12px rgba(44,40,30,.06);
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  height: var(--nav-h);
  z-index: 900;
  background: rgba(250,248,244,.95);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  gap: .75rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .45rem;
  font-weight: 800; font-size: 1rem;
  color: var(--text); letter-spacing: -.02em;
  flex-shrink: 0; text-decoration: none; white-space: nowrap;
}
.nav-logo-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--accent); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .82rem;
}

/* Desktop links — hidden mobile, shown desktop */
.nav-links {
  display: none;
  align-items: center;
  list-style: none;
  gap: .1rem;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--text2);
  padding: .38rem .8rem;
  border-radius: var(--r);
  transition: color .2s, background .2s;
  position: relative; white-space: nowrap; text-decoration: none;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: -1px; left: .8rem; right: .8rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta-wrap { display: none; flex-shrink: 0; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: .45rem 1.1rem !important;
  border-radius: var(--r) !important;
  font-weight: 700 !important; font-size: .76rem !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(42,125,111,.25);
  transition: transform .2s var(--ease), box-shadow .2s !important;
  text-decoration: none !important;
}
.nav-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 18px rgba(42,125,111,.32) !important; }
.nav-cta.active::after { display: none !important; }

/* Hamburger — always visible, hidden at 900px+ */
.nav-ham {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 5px; flex-shrink: 0; z-index: 1000;
}
.nav-ham span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s var(--ease); pointer-events: none;
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.1rem 1.5rem;
  z-index: 899;
  flex-direction: column; gap: .2rem;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: .95rem; font-weight: 600; color: var(--text2);
  padding: .72rem 1rem;
  border-radius: var(--r);
  border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
  text-decoration: none; display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--accent); background: var(--accent-light); }
.nav-mob-cta {
  margin-top: .5rem;
  background: var(--accent) !important; color: #fff !important;
  text-align: center; border-radius: var(--r) !important;
  border: none !important; font-weight: 700 !important;
}
.nav-mob-cta:hover { background: #236b5e !important; }

/* ── PAGE WRAPPER ── */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; width: 100%; }

/* ── SECTIONS ── */
.section { padding: 3.5rem 1.1rem; width: 100%; }
.section-sm { padding: 2.8rem 1.1rem; width: 100%; }
.container { max-width: 1160px; margin: 0 auto; width: 100%; }
.container-sm { max-width: 860px; margin: 0 auto; width: 100%; }

.eyebrow {
  font-family: var(--ff-m);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .8rem;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.section-title {
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.08; color: var(--text); word-break: break-word;
}
.section-title em { font-family: var(--ff-s); font-style: italic; color: var(--accent); font-weight: 600; }
.section-sub { font-size: .93rem; line-height: 1.75; color: var(--text3); max-width: 560px; margin-top: .7rem; }
.section-header { margin-bottom: 2.2rem; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--ff); font-weight: 700;
  font-size: .8rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .72rem 1.4rem; border-radius: var(--r);
  border: none; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 10px rgba(42,125,111,.22); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(42,125,111,.32); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }
.btn-ghost { background: var(--bg2); color: var(--text2); border: 1px solid var(--border2); }
.btn-ghost:hover { background: var(--bg3); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-sm { padding: .45rem .95rem; font-size: .73rem; }
.btn-lg { padding: .82rem 1.6rem; font-size: .85rem; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: .28rem; font-family: var(--ff-m); font-size: .61rem; padding: .18rem .62rem; border-radius: 20px; font-weight: 500; letter-spacing: .04em; }
.badge-green { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(42,125,111,.2); }
.badge-amber { background: var(--amber-light); color: var(--amber); border: 1px solid rgba(201,120,58,.2); }
.badge-indigo { background: var(--indigo-light); color: var(--indigo); border: 1px solid rgba(61,79,168,.2); }
.badge-neutral { background: var(--bg3); color: var(--text3); border: 1px solid var(--border); }

/* ── CARDS ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(42,125,111,.2); }

/* ── SKILL TAG ── */
.skill-tag { font-family: var(--ff-m); font-size: .65rem; padding: .22rem .65rem; background: var(--bg2); color: var(--text2); border: 1px solid var(--border); border-radius: 4px; transition: all .18s; cursor: default; white-space: nowrap; }
.skill-tag:hover { background: var(--accent-light); color: var(--accent); border-color: rgba(42,125,111,.25); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }

/* ── DIVIDER ── */
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border2), transparent); margin: 2rem 0; }

/* ── AVATAR ── */
.avatar-wrap { position: relative; display: inline-block; }
.avatar-bg { width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-light), var(--bg2)); border: 4px solid var(--surface); box-shadow: var(--shadow-lg), 0 0 0 6px var(--accent-light); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.avatar-initials { font-family: var(--ff-s); font-size: 4rem; font-weight: 700; color: var(--accent); letter-spacing: -.05em; z-index: 1; }
.avatar-badge { position: absolute; bottom: 6px; right: -10px; background: var(--surface); border: 2px solid var(--border); border-radius: 10px; padding: .35rem .75rem; box-shadow: var(--shadow-md); font-size: .68rem; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: .35rem; white-space: nowrap; }

/* ── PROGRESS BAR ── */
.progress-wrap { margin-bottom: 1rem; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.progress-label { font-size: .84rem; font-weight: 600; color: var(--text2); }
.progress-pct { font-family: var(--ff-m); font-size: .73rem; color: var(--text3); }
.progress-bar { height: 6px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-mid)); transition: width 1.2s var(--ease); width: 0; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ''; position: absolute; left: .55rem; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--bg3)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -1.68rem; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
.tl-dot.current { background: var(--accent); }
.tl-period { font-family: var(--ff-m); font-size: .63rem; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.tl-current-badge { display: inline-flex; align-items: center; gap: .28rem; font-size: .58rem; background: var(--accent-light); color: var(--accent); padding: .1rem .42rem; border-radius: 20px; font-weight: 600; }
.tl-current-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.3} }
.tl-role { font-size: 1.05rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-bottom: .2rem; line-height: 1.3; }
.tl-company { font-size: .85rem; color: var(--text3); margin-bottom: .85rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.tl-body { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.1rem; box-shadow: var(--shadow-sm); }
.tl-bullets { display: flex; flex-direction: column; gap: .42rem; }
.tl-bullets li { font-size: .85rem; color: var(--text2); line-height: 1.6; display: flex; gap: .55rem; }
.tl-bullets li::before { content: '▸'; color: var(--accent); flex-shrink: 0; font-size: .75rem; margin-top: .18rem; }
.tl-bullets li strong { color: var(--text); }
.tl-tags { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .9rem; }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: .38rem; margin-bottom: 1rem; width: 100%; }
.form-label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); }
.form-input, .form-textarea, .form-select { background: var(--bg); border: 1.5px solid var(--border2); border-radius: var(--r); padding: .75rem .88rem; font-size: .88rem; font-family: var(--ff); color: var(--text); transition: border-color .2s, box-shadow .2s; width: 100%; outline: none; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,125,111,.1); }
.form-textarea { resize: vertical; min-height: 115px; }
.form-select { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

/* ── PROJECT CARD ── */
.proj-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(42,125,111,.25); }
.proj-card-top { padding: 1.3rem 1.4rem .95rem; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--accent-pale), var(--surface)); display: flex; align-items: center; justify-content: space-between; }
.proj-icon { width: 42px; height: 42px; background: var(--surface); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); flex-shrink: 0; }
.proj-num { font-family: var(--ff-m); font-size: .6rem; color: var(--muted); letter-spacing: .1em; }
.proj-card-body { padding: 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.proj-title { font-size: .97rem; font-weight: 800; color: var(--text); margin-bottom: .52rem; line-height: 1.3; letter-spacing: -.01em; }
.proj-desc { font-size: .83rem; color: var(--text3); line-height: 1.65; margin-bottom: .95rem; flex: 1; }
.proj-tags { display: flex; flex-wrap: wrap; gap: .38rem; }
.proj-tag { font-family: var(--ff-m); font-size: .58rem; padding: .16rem .52rem; border-radius: 3px; }

/* ── STAT CARD ── */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.04em; }
.stat-num sup { font-size: 1rem; vertical-align: super; }
.stat-label { font-size: .76rem; color: var(--text3); margin-top: .4rem; font-weight: 500; line-height: 1.4; }

/* ── CONTACT INFO ITEM ── */
.contact-info-item { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; min-width: 0; }
.contact-info-item:hover { border-color: rgba(42,125,111,.3); transform: translateX(4px); box-shadow: var(--shadow-md); }
.ci-icon { width: 40px; height: 40px; background: var(--accent-light); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; border: 1px solid rgba(42,125,111,.15); }
.ci-label { font-family: var(--ff-m); font-size: .58rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .14rem; }
.ci-val { font-size: .86rem; font-weight: 600; color: var(--text); word-break: break-all; }

/* ── EDU CARD ── */
.edu-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.edu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.edu-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-mid)); }
.edu-degree-type { font-family: var(--ff-m); font-size: .63rem; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .55rem; }
.edu-degree { font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: .28rem; }
.edu-uni { font-size: .86rem; color: var(--text3); margin-bottom: .22rem; }
.edu-year { font-family: var(--ff-m); font-size: .68rem; color: var(--muted); margin-bottom: 1rem; }
.edu-modules { font-size: .82rem; color: var(--text2); line-height: 1.7; }
.edu-modules strong { color: var(--text); display: block; margin-bottom: .28rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); }

/* ── SKILL CATEGORY CARD ── */
.skill-cat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; }
.skill-cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(42,125,111,.2); }
.skill-cat-card::before { content: ''; position: absolute; top: 0; left: 1.4rem; right: 1.4rem; height: 3px; border-radius: 0 0 3px 3px; }
.scc-1::before { background: var(--accent); }
.scc-2::before { background: var(--amber); }
.scc-3::before { background: var(--indigo); }
.scc-4::before { background: #2a7d6f; }
.scc-5::before { background: #7d2a6f; }
.scc-6::before { background: #6f7d2a; }
.skill-cat-head { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; flex-wrap: wrap; }
.skill-cat-icon { width: 34px; height: 34px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.skill-cat-name { font-size: .86rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.skill-tags-wrap { display: flex; flex-wrap: wrap; gap: .42rem; }

/* ── VALUE CARD ── */
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 1.65rem; margin-bottom: .75rem; }
.value-title { font-size: .94rem; font-weight: 700; color: var(--text); margin-bottom: .42rem; }
.value-desc { font-size: .82rem; color: var(--text3); line-height: 1.62; }

/* ── AVAILABILITY PILL ── */
.avail-pill { display: inline-flex; align-items: center; gap: .42rem; background: var(--accent-light); border: 1px solid rgba(42,125,111,.2); border-radius: 20px; padding: .36rem .9rem; font-size: .74rem; font-weight: 600; color: var(--accent); }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.5s ease-in-out infinite; flex-shrink: 0; }

/* ── MARQUEE ── */
.marquee-wrap { overflow: hidden; padding: 1.1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); width: 100%; }
.marquee-track { display: flex; animation: marquee 28s linear infinite; width: max-content; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item { font-family: var(--ff-m); font-size: .68rem; color: var(--text3); letter-spacing: .12em; text-transform: uppercase; padding: 0 1.6rem; white-space: nowrap; display: flex; align-items: center; gap: 1.6rem; }
.marquee-item::after { content: '✦'; color: var(--accent); font-size: .52rem; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; gap: .42rem; flex-wrap: wrap; }
.filter-tab { font-family: var(--ff); font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .36rem .88rem; border: 1.5px solid var(--border2); border-radius: 20px; background: transparent; color: var(--text3); cursor: pointer; transition: all .2s; }
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.2rem; }

/* ── FOOTER ── */
.footer { background: var(--text); color: rgba(255,255,255,.75); padding: 3rem 1.1rem 2rem; width: 100%; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: .85rem; }
.footer-logo-mark { width: 28px; height: 28px; background: var(--accent); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .78rem; flex-shrink: 0; }
.footer-desc { font-size: .83rem; line-height: 1.65; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.footer-social a { width: 32px; height: 32px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .85rem; color: rgba(255,255,255,.7); transition: all .2s; text-decoration: none; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col-title { font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.footer-col-links { display: flex; flex-direction: column; gap: .42rem; }
.footer-col-links a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .18s; text-decoration: none; word-break: break-word; }
.footer-col-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer-copy { font-size: .74rem; color: rgba(255,255,255,.35); font-family: var(--ff-m); }
.footer-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom-links a { font-size: .74rem; color: rgba(255,255,255,.35); transition: color .18s; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════ */

/* Desktop nav: show at 900px+ */
@media (min-width: 900px) {
  .nav-inner { padding: 0 2rem; }
  .nav-links { display: flex; }
  .nav-cta-wrap { display: block; }
  .nav-ham { display: none; }
  .section { padding: 5rem 2rem; }
  .section-sm { padding: 3.5rem 2rem; }
  .avatar-bg { width: 250px; height: 250px; }
  .avatar-initials { font-size: 5rem; }
}

@media (min-width: 1200px) {
  .section { padding: 5.5rem 2rem; }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 3rem 1.1rem; }
  .section-sm { padding: 2.5rem 1.1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .stat-num { font-size: 1.7rem; }
  .btn-lg { padding: .75rem 1.3rem; font-size: .8rem; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .section { padding: 2.5rem .9rem; }
  .nav-inner { padding: 0 .9rem; }
  .avatar-bg { width: 170px; height: 170px; }
  .avatar-initials { font-size: 3.2rem; }
  .avatar-badge { font-size: .62rem; padding: .28rem .6rem; }
  .btn { padding: .6rem 1.1rem; font-size: .76rem; }
  .btn-lg { padding: .68rem 1.15rem; }
  .tl-role { font-size: .97rem; }
  .timeline { padding-left: 1.9rem; }
  .tl-dot { left: -1.48rem; }
}

@media (max-width: 360px) {
  .section { padding: 2.2rem .75rem; }
  .nav-inner { padding: 0 .75rem; }
  .nav-logo { font-size: .88rem; }
  .nav-logo-mark { width: 28px; height: 28px; font-size: .72rem; }
  .filter-tabs { gap: .3rem; }
  .filter-tab { font-size: .68rem; padding: .3rem .7rem; }
}
.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}