/* ===== Default (Dark) theme variables ===== */
:root{
  --bg:#0b0b0c; --panel:#101013; --muted:#9ca3af; --text:#e5e7eb; --line:#1f2937;

  --role-bg:#3b82f6; --role-fg:#ffffff; --role-br:#60a5fa;

  --skill-bg: rgba(96,165,250,.14);
  --skill-br: rgba(96,165,250,.35);
  --skill-fg: #dbeafe;

  --header-bg: rgba(11,11,12,.6);
  --brand-grad: linear-gradient(135deg,#ffffff 10%, #93c5fd 50%, #c4b5fd 95%);
  --title-grad: linear-gradient(135deg,#fff 10%, #93c5fd 45%, #c4b5fd 90%);
}

/* ===== Light theme overrides ===== */
[data-theme='light']{
  --bg:#f7fafc;
  --panel:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;

  --role-bg:#2563eb;
  --role-fg:#ffffff;
  --role-br:#93c5fd;

  --skill-bg: rgba(37,99,235,.10);
  --skill-br: rgba(37,99,235,.35);
  --skill-fg: #1e3a8a;

  --header-bg: rgba(255,255,255,.75);
  --brand-grad: linear-gradient(135deg,#0f172a 10%, #2563eb 50%, #7c3aed 95%);
  --title-grad: linear-gradient(135deg,#0b1020 10%, #2563eb 45%, #7c3aed 90%);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{
  margin:0; padding:0;
  background:var(--bg); color:var(--text);
  font-family: Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:0 20px}

.sitefx{display:none}
header, main, footer{position:relative; z-index:1}

/* ===== HEADER ===== */
header{
  position:sticky; top:0; z-index:40;
  -webkit-backdrop-filter:saturate(180%) blur(8px);
  backdrop-filter:saturate(180%) blur(8px);
  background:var(--header-bg); border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:12px;
}
.nav a{
  font-size:14px; color:var(--muted); margin-left:20px;
  position:relative; transition:color .2s ease;
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:-6px;
  height:2px; width:0; background:currentColor; transition:width .2s ease;
}
.nav a:hover{color:var(--text)}
.nav a:hover::after{width:100%}
.nav a.active{color:var(--text); font-weight:600}
.nav a.active::after{width:100%}

/* Theme toggle */
.theme-toggle{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line); background:var(--panel); color:var(--text);
  padding:6px 10px; border-radius:999px; font-size:12px; font-weight:600;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.theme-toggle:hover{transform:translateY(-1px); box-shadow:0 8px 18px rgba(0,0,0,.15)}
.theme-toggle .toggle-text{display:none}
.icon-moon, .icon-sun{display:block}
[data-theme='light'] .icon-sun{display:none}
[data-theme='light'] .icon-moon{display:block}
[data-theme='dark'] .icon-moon{display:none}
[data-theme='dark'] .icon-sun{display:block}

.brand{display:flex; align-items:center; gap:10px; transition:transform .3s ease}
.brand:hover{transform:scale(1.1)}
.logo{
  position:relative; width:22px; height:22px; border-radius:6px;
  display:grid; place-items:center; color:var(--text);
  background:#0c0e12; border:1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  transition:transform .3s ease;
}
.logo::before{
  content:""; position:absolute; inset:-1.5px; border-radius:8px;
  background:linear-gradient(135deg, rgba(96,165,250,.85), rgba(167,139,250,.85));
  z-index:-1; filter:blur(.6px);
}
.brand:hover .logo{transform:rotate(180deg)}
.brand-name{
  font-weight:800; letter-spacing:.3px;
  background:var(--brand-grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.nav nav { margin-left: auto; }
.theme-toggle { margin-left: 12px; }

/* ===== HERO ===== */
.hero{position:relative; overflow:hidden; padding:80px 0 36px}
.bgfx{
  position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.75; filter: blur(12px);
  background:
    radial-gradient(1100px 460px at 80% 0%, rgba(34,211,238,.24), transparent 58%),
    radial-gradient(900px 340px at 12% 18%, rgba(167,139,250,.22), transparent 60%),
    radial-gradient(1200px 560px at 50% 100%, rgba(59,130,246,.26), transparent 62%);
  animation: gradientMove 12s ease-in-out infinite alternate;
}
.hero-inner{
  position:relative; z-index:1; text-align:center;
}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line); background:#0f1115; color:#b3b8c6;
  padding:6px 10px; border-radius:999px; font-size:12px;
}
[data-theme='light'] .pill{background:#ffffff; color:var(--muted)}

.h1{
  font-size:56px; font-weight:800; margin:10px 0 6px; line-height:1.05;
  background:var(--title-grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 8px 32px rgba(59,130,246,.15);
}

/* ===== ROLE SWITCHER (replaces old hero-toggle-row) ===== */

/* Wrapper: centered below h1 */
.role-switcher{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:20px auto 0;
  flex-wrap:wrap;
  justify-content:center;
}

/* "I'm hiring a" label */
.role-switcher-label{
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}

/* Pill track */
.role-segment{
  display:inline-flex;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px;
  gap:2px;
}

/* Individual segment */
.role-btn{
  position:relative;
  border:none;
  background:transparent;
  color:var(--muted);
  padding:6px 16px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.03em;
  cursor:pointer;
  white-space:nowrap;
  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease;
}

.role-btn:hover:not(.active){
  color:var(--text);
}

.role-btn.active{
  background:var(--role-bg);
  color:var(--role-fg);
  box-shadow:0 2px 10px rgba(37,99,235,.40);
}

[data-theme='light'] .role-btn.active{
  box-shadow:0 2px 8px rgba(37,99,235,.25);
}

/* ===== HERO SUBTITLES ===== */
.subtitle{max-width:640px; margin:20px auto 0; color:var(--muted); line-height:1.7; font-size:15px}
.subtitle-full, .subtitle-scrum, .subtitle-dev{ display:none; }
body[data-role="full"]  .subtitle-full  { display:block; }
body[data-role="scrum"] .subtitle-scrum { display:block; }
body[data-role="dev"]   .subtitle-dev   { display:block; }

/* Subtitle fade-in on switch */
.subtitle{
  animation: subtitleFade .25s ease both;
}
@keyframes subtitleFade{
  from{ opacity:0; transform:translateY(6px); }
  to{   opacity:1; transform:translateY(0); }
}

/* ===== METRIC PILLS (scrum + dev modes only) ===== */
.hero-metrics{
  display:none;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin:18px auto 0;
  max-width:640px;
}
body[data-role="scrum"] .hero-metrics,
body[data-role="dev"]   .hero-metrics{ display:flex; }

.metric-pill{
  display:flex;
  flex-direction:column;
  align-items:center;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 20px;
  min-width:100px;
  transition:transform .15s ease, box-shadow .15s ease;
}
.metric-pill:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}
[data-theme='light'] .metric-pill:hover{
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.metric-value{
  font-size:22px;
  font-weight:800;
  background:var(--title-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.metric-label{
  font-size:11px;
  color:var(--muted);
  margin-top:2px;
  text-align:center;
}

.metric-scrum{ display:none; }
body[data-role="scrum"] .metric-scrum{ display:flex; }

.metric-dev{ display:none; }
body[data-role="dev"] .metric-dev{ display:flex; }

/* ===== CTA + CHIPS ===== */
.hero-cta{
  display:flex; gap:10px; justify-content:center;
  margin-top:20px; flex-wrap:wrap;
}
.btn{
  border-radius:14px; padding:12px 16px; font-weight:600; font-size:14px;
  display:inline-flex; align-items:center; gap:8px;
  transition:transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
}
.btn-primary{background:#fff; color:#000}
.btn-ghost{border:1px solid var(--line); background:#0f1115; color:#e5e7eb}
.btn-primary:hover{background:#3b82f6; color:#fff}
.btn-ghost:hover{background:#1f2937; color:#fff}
[data-theme='light'] .btn-primary{background:#111827; color:#ffffff}
[data-theme='light'] .btn-primary:hover{background:#2563eb}
[data-theme='light'] .btn-ghost{background:#ffffff; color:#111827}
[data-theme='light'] .btn-ghost:hover{background:#f3f4f6; color:#111827}
.btn:hover{transform:translateY(-1px); box-shadow:0 10px 22px rgba(0,0,0,.25)}

.chips{
  display:flex; gap:8px; justify-content:center;
  flex-wrap:wrap; margin-top:18px;
}
.chip{
  border:1px solid var(--line); padding:6px 12px;
  border-radius:999px; font-size:12px; font-weight:600; letter-spacing:.2px;
  display:inline-flex; align-items:center; gap:6px;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  cursor:default;
}
.chip-blue{background:rgba(59,130,246,.15); color:#bfdbfe; border-color:rgba(59,130,246,.35)}
.chip-violet{background:rgba(139,92,246,.14); color:#ddd6fe; border-color:rgba(139,92,246,.35)}
.chip-cyan{background:rgba(34,211,238,.14); color:#a5f3fc; border-color:rgba(34,211,238,.35)}
[data-theme='light'] .chip-blue{background:rgba(37,99,235,.10); color:#1e3a8a}
[data-theme='light'] .chip-violet{background:rgba(124,58,237,.10); color:#4c1d95}
[data-theme='light'] .chip-cyan{background:rgba(14,165,233,.10); color:#0e7490}
.chip:hover{transform:translateY(-1px)}
[data-theme='light'] .chip:hover{box-shadow:0 8px 20px rgba(0,0,0,.08)}

/* ===== SECTIONS ===== */
.section-head{
  display:flex; align-items:end; justify-content:space-between;
  gap:16px; margin:26px 0;
}
.kicker{color:var(--muted); text-transform:uppercase; letter-spacing:.22em; font-size:12px}
.h2{font-size:30px; font-weight:800; margin:10px 0 6px}
section{padding:44px 0 36px; scroll-margin-top:84px}

/* ===== GRIDS + CARDS ===== */
.grid{display:grid; gap:16px}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){.cards-3{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.cards-3,.cards-2{grid-template-columns:1fr}}

.card{
  border:1px solid var(--line); background:var(--panel); border-radius:18px; padding:18px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 52px rgba(0,0,0,.12), 0 0 0 1px rgba(147,197,253,.18) inset;
  border-color:#5e6f91;
}
[data-theme='light'] .card:hover{
  box-shadow:0 18px 28px rgba(0,0,0,.08), 0 0 0 1px rgba(37,99,235,.12) inset;
}
.card h3{margin:0 0 4px; font-size:16px}
.card p{color:var(--muted); font-size:14px; line-height:1.65}
.meta{color:var(--muted); font-size:12px; margin:6px 0 8px}

/* ===== LISTS ===== */
.bullets{list-style:disc; padding-left:1.25rem; margin:10px 0 0}
.bullets li{margin:.35rem 0; line-height:1.6}
.bullets li::marker{content:"▹ "; color:#60a5fa}

/* ===== TIMELINE + BADGES ===== */
.timeline{padding-left:12px; margin-left:6px}
@media(max-width:700px){.timeline{padding-left:0; margin-left:0}}
.badges{display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 8px}
.badge{
  font-size:11px; padding:4px 8px; border:1px solid var(--line);
  border-radius:999px; background:#0f1115; color:#cbd5e1;
}
.badge-muted{background:#0b0d11; color:#9ca3af}
[data-theme='light'] .badge{background:#f8fafc; color:#111827}
[data-theme='light'] .badge-muted{background:#eef2f7; color:#6b7280}
.badge-role{
  background:var(--role-bg);
  color:var(--role-fg);
  border-color:var(--role-br);
  font-weight:700;
  text-shadow:0 1px 0 rgba(0,0,0,.18);
}

/* ===== SKILL BADGES ===== */
.skills-row{
  display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;
}
.skill{
  border:1px solid var(--skill-br);
  background:var(--skill-bg);
  color:var(--skill-fg);
  padding:6px 10px; border-radius:999px; font-size:12px; font-weight:600;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.skill:hover{transform:translateY(-1px); box-shadow:0 6px 14px rgba(96,165,250,.25)}
[data-theme='light'] .skill:hover{box-shadow:0 6px 14px rgba(37,99,235,.18)}

/* ===== ABOUT ===== */
.about-card{padding:22px}
.about-top{display:flex; justify-content:center; margin-bottom:14px}

.avatar-circle {
  width: 184px;
  height: 184px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background:
    linear-gradient(#0b0b0c, #0b0b0c) padding-box,
    linear-gradient(135deg, rgba(96,165,250,.75), rgba(167,139,250,.65)) border-box;
  background-clip: padding-box, border-box;
  background-size: 200% 200%;
  box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 0 1px rgba(148,163,184,.15);
  margin: 0 auto;
  transition: transform .25s ease, box-shadow .25s ease;
}
.avatar-circle:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(148,163,184,.18);
  animation: gradientShift 4s ease infinite;
}
[data-theme="dark"] .avatar-circle:hover {
  animation:
    gradientShift 4s ease infinite,
    glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%   { box-shadow:
            0 8px 20px rgba(0,0,0,.55),
            0 0 0 1px rgba(148,163,184,.18),
            0 0 14px 3px rgba(96,165,250,.25),
            0 0 30px 8px rgba(167,139,250,.18); }
  50%  { box-shadow:
            0 8px 20px rgba(0,0,0,.55),
            0 0 0 1px rgba(148,163,184,.18),
            0 0 22px 6px rgba(96,165,250,.4),
            0 0 42px 12px rgba(167,139,250,.25); }
  100% { box-shadow:
            0 8px 20px rgba(0,0,0,.55),
            0 0 0 1px rgba(148,163,184,.18),
            0 0 14px 3px rgba(96,165,250,.25),
            0 0 30px 8px rgba(167,139,250,.18); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
[data-theme="dark"] .avatar-circle {
  box-shadow:
    0 8px 20px rgba(0,0,0,.55),
    0 0 0 1px rgba(148,163,184,.18),
    0 0 18px 4px rgba(96,165,250,.35),
    0 0 36px 10px rgba(167,139,250,.25);
}

.about-columns{
  display:grid; grid-template-columns:1fr 320px; gap:24px; align-items:stretch;
}
.about-left{display:flex; flex-direction:column; gap:12px}
.about-left-panel{
  background:#0f1115; border:1px solid var(--line);
  border-radius:14px; padding:16px; height:100%;
}
.about-right{
  background:#0f1115; border:1px solid var(--line);
  border-radius:14px; padding:16px; height:100%;
}
[data-theme='light'] .about-left-panel,
[data-theme='light'] .about-right{background:#ffffff}
.about-left-panel:hover,
.about-right:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 52px rgba(0,0,0,.12), 0 0 0 1px rgba(147,197,253,.18) inset;
  border-color:#5e6f91;
}
[data-theme='light'] .about-left-panel:hover,
[data-theme='light'] .about-right:hover{
  box-shadow:0 18px 28px rgba(0,0,0,.08), 0 0 0 1px rgba(37,99,235,.12) inset;
}
.about-left p{max-width:70ch; margin:0}
@media(max-width:900px){.about-columns{grid-template-columns:1fr}}

/* ===== CERTIFICATIONS ===== */
.certs{display:grid; gap:10px; margin-top:12px}
.cert{
  background:#0f1115; border:1px solid var(--line); border-radius:12px; padding:12px;
  display:flex; flex-direction:column; gap:4px;
}
[data-theme='light'] .cert{background:#ffffff}
.cert-badge{display:inline-flex; align-items:center; font-weight:700; font-size:13px}
.cert-meta{font-size:12px; color:var(--muted)}
.cert-badge .cert-logo {
  width: 46px;
  height: 46px;
  margin-right: 8px;
  object-fit: contain;
  border-radius: 4px;
}

/* ===== PROJECT ===== */
.project-balance{
  position:relative; overflow:hidden; padding-top:14px;
}
.project-balance::before{
  content:""; position:absolute; inset:-1px; border-radius:18px; padding:1px;
  background:linear-gradient(135deg, rgba(96,165,250,.35), rgba(167,139,250,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none;
}
.project-header{
  display:flex; flex-direction:column; align-items:center; gap:8px; margin:4px 0 12px;
}
.pamoja-logo{
  width:150px; height:auto; border-radius:8px; image-rendering:auto;
}
.project-header-text{text-align:center}
.project-title{margin:0; font-size:18px}
.project-sub{margin:6px 0 0; color:var(--muted); font-size:14px}

.project-grid{
  display:grid;
  grid-template-columns:1fr 12px 1fr;
  align-items:start;
  gap:12px;
}
.project-col{padding:12px}
.divider{
  width:100%; height:100%;
  background:linear-gradient(180deg, rgba(148,163,184,.0), rgba(148,163,184,.3), rgba(148,163,184,.0));
  border-radius:6px;
}
.learn-cards{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:12px;
}
.learn-card{
  background:#0f1115; border:1px solid var(--line); border-radius:12px; padding:12px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.learn-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 28px rgba(0,0,0,.35);
  border-color:#5e6f91;
}
[data-theme='light'] .learn-card{background:#ffffff}
[data-theme='light'] .learn-card:hover{
  box-shadow:0 16px 28px rgba(0,0,0,.08);
  border-color:#cbd5e1;
}
.learn-title{font-weight:700; font-size:13px; margin-bottom:4px}
.learn-text{font-size:12px; color:var(--muted)}

@media(max-width:900px){
  .project-grid{grid-template-columns:1fr; gap:0}
  .divider{display:none}
  .learn-cards{grid-template-columns:1fr}
}

/* ===== CONNECT ===== */
.grid.cards-2{grid-auto-rows:1fr}
.connect-card{
  text-align:center; display:flex; flex-direction:column;
  justify-content:center; gap:10px;
}
.connect-card p{margin:0 auto; max-width:520px; color:var(--muted)}
.connect-actions{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:6px}
.connect-card .btn{justify-content:center}

.pamoja-btn{background:#fff !important; color:#000 !important; border-color:#fff !important}
.pamoja-btn:hover{
  background:#3b82f6 !important; color:#fff !important;
  box-shadow:0 8px 20px rgba(59,130,246,.25); transform:translateY(-1px);
}
[data-theme='light'] .pamoja-btn{
  background:#111827 !important; color:#fff !important; border-color:#111827 !important;
}
[data-theme='light'] .pamoja-btn:hover{background:#2563eb !important}

/* ===== ANIMATIONS ===== */
@keyframes gradientMove{from{transform:translateY(0)}to{transform:translateY(12px)}}
@keyframes fadeUp{from{opacity:0}to{opacity:1}}
.fade-up{animation:fadeUp .5s ease .05s both}
.reveal .card{opacity:0}
.reveal .card:nth-child(1){animation:fadeUp .45s ease .05s both}
.reveal .card:nth-child(2){animation:fadeUp .45s ease .12s both}
.reveal .card:nth-child(3){animation:fadeUp .45s ease .19s both}
.reveal .card:nth-child(4){animation:fadeUp .45s ease .26s both}
.reveal .card:nth-child(5){animation:fadeUp .45s ease .33s both}

/* ===== FOOTER ===== */
footer{
  border-top:1px solid var(--line);
  padding:28px 0; color:var(--muted); font-size:14px;
}

/* ===== LOGO ===== */
[data-theme='light'] .logo{
  background:#ffffff; border-color:#e5e7eb; color:#2563eb;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.02);
}
[data-theme='light'] .logo::before{
  background:linear-gradient(135deg, rgba(37,99,235,.45), rgba(124,58,237,.45));
  filter: blur(.6px);
}
.logo{
  border-color: transparent;
  background: transparent;
}
.logo::before{
  opacity: 0; transition: opacity 0.25s ease;
}
.brand:hover .logo{
  background:#0c0e12;
  border-color: var(--line);
}
.brand:hover .logo::before{ opacity: 1; }
[data-theme='light'] .logo{
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color:#2563eb;
}
[data-theme='light'] .logo::before{ opacity: 0; }
[data-theme='light'] .brand:hover .logo{
  background:#ffffff !important;
  border-color:#e5e7eb !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.02) !important;
}
[data-theme='light'] .brand:hover .logo::before{
  opacity:1;
  background:linear-gradient(135deg, rgba(37,99,235,.45), rgba(124,58,237,.45));
}

/* ===== PAMOJA LOGO THEME SWAP ===== */
.pamoja-logo { content: url("images/Pamoja Imports logo white.webp"); }
[data-theme='light'] .pamoja-logo {
  content: url("images/Pamoja Imports logo blue.webp");
}
[data-theme='dark'] .pamoja-btn { border: none !important; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  .fade-up, .reveal .card { opacity: 1 !important; transform: none !important; }
}

/* ===== MOBILE MENU ===== */
.menu-toggle{
  display:none;
  align-items:center; justify-content:center;
  border:1px solid var(--line); background:var(--panel); color:var(--text);
  width:36px; height:36px; border-radius:10px; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.menu-toggle:hover{transform:translateY(-1px); box-shadow:0 8px 18px rgba(0,0,0,.15)}

@media (max-width: 760px){
  .menu-toggle{display:inline-flex; order:2}
  #themeToggle{order:3}
  header .nav{gap:10px}

  header .nav #siteNav:not(.open){ display: none !important; }
  header .nav #siteNav.open{ display: flex !important; }
  header .nav #siteNav{
    position: fixed;
    top: 64px;
    right: 12px;
    z-index: 1000;
    flex-direction: column;
    min-width: 220px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(0,0,0,.28);
    padding: 8px;
  }
  header .nav #siteNav a{
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
  }
  header .nav #siteNav a:hover,
  header .nav #siteNav a.active{ background: rgba(96,165,250,.12); }
  .nav a{margin-left:0}
  .brand{flex:1}

  /* Stack role switcher on small screens */
  .role-switcher{ gap:8px; }
  .role-switcher-label{ display:none; }
  .role-btn{ padding:6px 12px; }
}

/* ===== PAMOJA LINK HOVER ===== */
.pamoja-link { display: inline-block; transition: transform .15s ease; }
.pamoja-link:hover { transform: translateY(-1px); }

/* ===== ROLE MODES ===== */

/* About variants */
.about-full, .about-scrum, .about-dev { display:none; }
body[data-role="full"]  .about-full  { display:block; }
body[data-role="scrum"] .about-scrum { display:block; }
body[data-role="dev"]   .about-dev   { display:block; }

/* Experience cards */
.scrum-role, .dev-role { display:block; }

body[data-role="scrum"] .dev-role { display:none; }

body[data-role="dev"] .scrum-role { display:none; }

/* Skills emphasis */
body[data-role="scrum"] .skill-dev,
body[data-role="scrum"] .skill-devops { opacity:.45; }
body[data-role="dev"] .skill-agile { opacity:.45; }