/* ═══════════════════════════════════════════════════════════════
   JAMES MWANGI — GLOBAL DESIGN SYSTEM
   jamesmainamwangi.com | v3.0 | Cloudflare Pages ready
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&family=DM+Mono:wght@400;500;600&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,600&display=swap');

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --bg:           #0f172a;
  --bg2:          #1e293b;
  --bg3:          #253347;
  --bg4:          #334155;
  --text:         #f8fafc;
  --text2:        #94a3b8;
  --text3:        #475569;
  --accent:       #6366f1;
  --accent2:      #818cf8;
  --accent3:      #c7d2fe;
  --accent-glow:  rgba(99,102,241,0.35);
  --green:        #22d3a5;
  --green-dim:    rgba(34,211,165,0.12);
  --amber:        #f59e0b;
  --rose:         #f43f5e;

  /* Glass */
  --glass:        rgba(30,41,59,0.72);
  --glass-border: rgba(255,255,255,0.08);
  --glass-hover:  rgba(99,102,241,0.14);

  /* Surfaces */
  --border:       rgba(255,255,255,0.06);
  --border2:      rgba(255,255,255,0.10);
  --shadow:       0 24px 64px rgba(0,0,0,0.55);
  --shadow2:      0 4px 24px rgba(0,0,0,0.40);
  --shadow-glow:  0 8px 32px rgba(99,102,241,0.30);

  /* Radius */
  --r:    10px;
  --r2:   16px;
  --r3:   24px;

  /* Typography */
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'JetBrains Mono', monospace;
  --font-display: 'Fraunces', Georgia, serif;

  /* Fluid spacing */
  --space-xs:   clamp(0.25rem, 0.5vw,  0.5rem);
  --space-sm:   clamp(0.5rem,  1vw,    0.75rem);
  --space-md:   clamp(0.75rem, 1.5vw,  1.25rem);
  --space-lg:   clamp(1.25rem, 2.5vw,  2rem);
  --space-xl:   clamp(2rem,    4vw,    3.5rem);
  --space-2xl:  clamp(3rem,    6vw,    6rem);

  /* Fluid type */
  --text-xs:    clamp(0.625rem, 1.2vw,  0.7rem);
  --text-sm:    clamp(0.75rem,  1.5vw,  0.875rem);
  --text-base:  clamp(0.875rem, 1.8vw,  1rem);
  --text-lg:    clamp(1rem,     2vw,    1.125rem);
  --text-xl:    clamp(1.125rem, 2.5vw,  1.375rem);
  --text-2xl:   clamp(1.375rem, 3vw,    1.75rem);
  --text-3xl:   clamp(1.75rem,  4vw,    2.5rem);
  --text-4xl:   clamp(2.25rem,  5.5vw,  3.5rem);
  --text-5xl:   clamp(2.75rem,  7vw,    5rem);

  /* Transitions */
  --t:    all 0.25s cubic-bezier(0.4,0,0.2,1);
  --t-slow: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* Light theme */
[data-theme="light"] {
  --bg:           #f1f5f9;
  --bg2:          #ffffff;
  --bg3:          #f8fafc;
  --bg4:          #e2e8f0;
  --text:         #0f172a;
  --text2:        #475569;
  --text3:        #94a3b8;
  --glass:        rgba(255,255,255,0.75);
  --glass-border: rgba(0,0,0,0.08);
  --border:       rgba(0,0,0,0.06);
  --border2:      rgba(0,0,0,0.10);
  --shadow:       0 24px 64px rgba(0,0,0,0.10);
  --shadow2:      0 4px 24px rgba(0,0,0,0.07);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
ul, ol { list-style:none; }
::selection { background: var(--accent); color:#fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius:2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Skip link (accessibility) ─────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0.75rem;
  background: var(--accent); color: #fff;
  padding: 0.5rem 1rem; border-radius: 0 0 var(--r) var(--r);
  font-size: var(--text-sm); font-weight:700;
  z-index: 99999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.container { max-width:1180px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem); }
.section   { padding: var(--space-2xl) 0; }
.section-bg { background: var(--bg2); }

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
.display { font-family: var(--font-display); font-weight:900; letter-spacing:-0.03em; line-height:1.05; }
.mono    { font-family: var(--font-mono); }

.label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs); color: var(--accent2);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.label::before { content:'//'; opacity:0.4; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-sm); font-weight: 600; border-radius: var(--r);
  padding: clamp(0.65rem,1.5vw,0.85rem) clamp(1.25rem,2.5vw,1.75rem);
  transition: var(--t); font-family: var(--font-body);
  white-space: nowrap; cursor: pointer; position: relative;
  overflow: hidden;
}
.btn::after {
  content:''; position:absolute; inset:0;
  background: rgba(255,255,255,0.12);
  opacity:0; transition: opacity 0.2s;
}
.btn:hover::after { opacity:1; }

.btn-primary {
  background: var(--accent); color:#fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 1px solid var(--border2); color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent2);
  transform: translateY(-2px);
  background: rgba(99,102,241,0.06);
}

.btn-glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  border-color: var(--accent); transform: translateY(-2px);
}

.btn-wa { background:#25d366; color:#fff; }
.btn-wa:hover { background:#22c55e; transform:translateY(-2px); box-shadow:0 8px 24px rgba(37,211,102,.3); }

.btn-sm { padding: 0.45rem 1rem; font-size: var(--text-xs); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-base); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION (glassmorphism)
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:999;
  padding: 1rem 0; transition: var(--t);
}
.nav.stuck {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.65rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width:1180px; margin:0 auto; padding:0 clamp(1rem,4vw,2rem);
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.nav-logo {
  display:flex; align-items:center; gap:0.65rem;
  text-decoration:none; flex-shrink:0;
  overflow:visible;          /* Fix 3: never clip the logo area */
  min-width:0;
}
.nav-logo-mark { width:36px; height:36px; flex-shrink:0; }
.nav-logo-text {
  overflow:visible;          /* Fix 3: parent container must not clip */
  min-width:0;
}
.nav-logo-text .name {
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(0.78rem, 2.5vw, 1rem); /* Fix 1: fluid — scales down on mobile */
  color:var(--text); letter-spacing:-0.02em; line-height:1.1;
  white-space: nowrap;       /* Fix 1: always one line, never wraps */
  overflow: visible;         /* Fix 3: text never gets cut off */
}
.nav-logo-text .name span { color:var(--accent); }
.nav-logo-text .role {
  font-family: var(--font-mono);
  font-size: clamp(0.44rem, 1.2vw, 0.5rem); /* also fluid on mobile */
  color:var(--text3); letter-spacing:0.08em; line-height:1;
  white-space: nowrap;       /* subtitle stays on one line too */
}
.nav-links { display:flex; align-items:center; gap:0.2rem; }
.nav-links a {
  font-size: var(--text-sm); font-weight:500; color:var(--text2);
  padding:0.45rem 0.8rem; border-radius:var(--r);
  transition: var(--t);
}
.nav-links a:hover, .nav-links a.active {
  color:var(--text); background:rgba(255,255,255,0.07);
}
.nav-right { display:flex; align-items:center; gap:0.65rem; }
.theme-toggle {
  width:34px; height:34px; border-radius:8px;
  background: var(--bg3); border:1px solid var(--border2);
  color:var(--text2); font-size:0.9rem;
  display:flex; align-items:center; justify-content:center;
  transition: var(--t);
}
.theme-toggle:hover { background:var(--bg4); color:var(--text); }
.nav-cta {
  padding:0.48rem 1.2rem; background:var(--accent); color:#fff;
  font-size: var(--text-sm); font-weight:600; border-radius:8px;
  transition: var(--t);
}
.nav-cta:hover { background:var(--accent2); box-shadow:var(--shadow-glow); }
.hamburger {
  display:none; flex-direction:column; gap:5px;
  width:34px; height:34px; align-items:center;
  justify-content:center; background:var(--bg3);
  border:1px solid var(--border2); border-radius:8px;
}
.hamburger span {
  display:block; width:16px; height:1.5px;
  background:var(--text); border-radius:2px; transition:var(--t);
}
.mob-nav {
  display:none; position:fixed; inset:0; z-index:9000;
  background: var(--bg); flex-direction:column;
  align-items:center; justify-content:center; gap:2rem;
}
.mob-nav.open { display:flex; }
.mob-nav a, .mob-nav button {
  font-family:var(--font-display); font-size:clamp(1.5rem,5vw,2rem);
  font-weight:700; color:var(--text);
  background:none; border:none; cursor:pointer;
  transition:color 0.2s;
}
.mob-nav a:hover, .mob-nav button:hover { color:var(--accent2); }
.mob-close {
  position:absolute; top:1.5rem; right:1.5rem;
  font-size:1.2rem; color:var(--text2); width:36px; height:36px;
  border-radius:8px; background:var(--bg2); border:1px solid var(--border2);
  display:flex; align-items:center; justify-content:center;
}

/* ── Dropdown ────────────────────────────────────────────────── */
.nav-dropdown { position:relative; }
.nav-dropdown-btn {
  font-size:var(--text-sm); font-weight:500; color:var(--text2);
  padding:0.45rem 0.8rem; border-radius:var(--r);
  display:flex; align-items:center; gap:0.3rem; transition:var(--t);
  cursor:pointer;
}
.nav-dropdown-btn:hover { color:var(--text); background:rgba(255,255,255,0.07); }
.nav-dropdown-btn svg { width:11px; height:11px; transition:transform 0.25s; }
.nav-dropdown-btn.open svg { transform:rotate(180deg); }
.dropdown-menu {
  position:absolute; top:calc(100% + 0.5rem); right:0;
  width:220px; background:var(--glass);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  border:1px solid var(--glass-border); border-radius:var(--r2);
  padding:0.5rem; box-shadow:var(--shadow2);
  display:none; flex-direction:column; gap:0.15rem; z-index:10;
}
.dropdown-menu.open { display:flex; }
.dropdown-item {
  display:flex; align-items:center; gap:0.75rem;
  padding:0.75rem 0.9rem; border-radius:10px;
  transition:background 0.2s; cursor:pointer; text-decoration:none;
}
.dropdown-item:hover { background:var(--glass-hover); }
.dropdown-item-icon { font-size:1.1rem; flex-shrink:0; }
.dropdown-item-text .t { font-size:var(--text-sm); font-weight:600; color:var(--text); }
.dropdown-item-text .s { font-size:var(--text-xs); color:var(--text2); margin-top:0.1rem; }

/* ═══════════════════════════════════════════════════════════════
   GLASS CARD
   ═══════════════════════════════════════════════════════════════ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r2);
  transition: var(--t);
}
.glass-card:hover {
  border-color: rgba(99,102,241,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   TAGS / BADGES
   ═══════════════════════════════════════════════════════════════ */
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 5px;
  background: rgba(99,102,241,0.12); color: var(--accent2);
  border: 1px solid rgba(99,102,241,0.2);
}
.tag-green   { background:rgba(34,211,165,0.1); color:var(--green); border-color:rgba(34,211,165,0.2); }
.tag-amber   { background:rgba(245,158,11,0.1); color:var(--amber); border-color:rgba(245,158,11,0.2); }
.tag-rose    { background:rgba(244,63,94,0.1);  color:var(--rose);  border-color:rgba(244,63,94,0.2); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
.reveal       { opacity:0; transform:translateY(28px); transition:opacity 0.65s ease, transform 0.65s ease; }
.reveal-l     { opacity:0; transform:translateX(-28px); transition:opacity 0.65s ease, transform 0.65s ease; }
.reveal-r     { opacity:0; transform:translateX(28px); transition:opacity 0.65s ease, transform 0.65s ease; }
.reveal-scale { opacity:0; transform:scale(0.94); transition:opacity 0.65s ease, transform 0.65s ease; }
.reveal.in, .reveal-l.in, .reveal-r.in, .reveal-scale.in {
  opacity:1; transform:none;
}

/* ═══════════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ═══════════════════════════════════════════════════════════════ */
.read-progress {
  position: fixed; top:0; left:0; height:3px; z-index:9999;
  background: linear-gradient(90deg, var(--accent), var(--green));
  width: 0%; transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════════ */
.toast {
  position:fixed; bottom:2rem; left:50%;
  transform:translateX(-50%) translateY(80px);
  background:var(--bg2); border:1px solid var(--border2);
  color:var(--text); padding:0.65rem 1.5rem;
  border-radius:var(--r); font-size:var(--text-sm); font-weight:500;
  z-index:99999; transition:transform 0.35s;
  white-space:nowrap; box-shadow:var(--shadow2);
}
.toast.show { transform:translateX(-50%) translateY(0); }
.toast.error { border-color:var(--rose); color:var(--rose); }
.toast.success { border-color:var(--green); color:var(--green); }

/* ═══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════════════════════════════ */
.wa-fab {
  position:fixed; bottom:2rem; right:2rem; z-index:800;
  width:52px; height:52px; border-radius:50%;
  background:#25d366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.45);
  transition:var(--t); text-decoration:none;
}
.wa-fab:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.6); }
.wa-fab svg { width:26px; height:26px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg2); border-top:1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer-top {
  display:grid; grid-template-columns:1.4fr 1fr;
  gap:var(--space-xl); margin-bottom:var(--space-lg);
}
.footer-brand .fb-logo {
  display:flex; align-items:center; gap:0.65rem; margin-bottom:1rem;
}
.fb-name {
  font-family:var(--font-display);
  font-size: clamp(0.78rem, 2.5vw, 1rem); /* matches nav name sizing */
  font-weight:700; letter-spacing:-0.02em;
  white-space: nowrap;  /* never break the footer brand name */
  overflow: visible;
}
.fb-name span { color:var(--accent); }
.fb-role {
  font-family:var(--font-mono); font-size:0.52rem;
  color:var(--text3); margin-top:0.15rem;
  white-space: nowrap;
}
.footer-bio { font-size:var(--text-sm); color:var(--text3); line-height:1.7; max-width:340px; }
.footer-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.fc-title {
  font-family:var(--font-mono); font-size:var(--text-xs); color:var(--accent2);
  letter-spacing:0.15em; text-transform:uppercase; margin-bottom:0.85rem;
}
.footer-col { display:flex; flex-direction:column; gap:0.5rem; }
.footer-col a { font-size:var(--text-sm); color:var(--text3); transition:color 0.2s; }
.footer-col a:hover { color:var(--accent2); }
.footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:1rem;
  padding-top:1.5rem; border-top:1px solid var(--border);
}
.footer-copy { font-family:var(--font-mono); font-size:var(--text-xs); color:var(--text3); }
.footer-socials { display:flex; gap:0.5rem; }
.soc-btn {
  width:32px; height:32px; border-radius:7px;
  background:var(--bg3); border:1px solid var(--border2);
  color:var(--text3); display:flex; align-items:center;
  justify-content:center; transition:var(--t);
}
.soc-btn:hover { background:var(--accent); border-color:var(--accent); color:#fff; transform:translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════
   MODAL OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position:fixed; inset:0; z-index:8000;
  background:rgba(10,15,28,0.8);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center;
  padding:1rem; opacity:0; pointer-events:none;
  transition:opacity 0.3s;
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal {
  background:var(--bg2); border:1px solid var(--border2);
  border-radius:var(--r3); width:100%; max-width:520px;
  max-height:90vh; overflow-y:auto;
  transform:translateY(20px) scale(0.97);
  transition:transform 0.3s;
  box-shadow:var(--shadow);
}
.modal-overlay.open .modal { transform:none; }
.modal-head {
  display:flex; justify-content:space-between; align-items:center;
  padding:1.5rem 1.75rem; border-bottom:1px solid var(--border);
}
.modal-head h3 { font-size:var(--text-xl); font-weight:700; }
.modal-close {
  width:32px; height:32px; border-radius:7px;
  background:var(--bg3); border:1px solid var(--border2);
  color:var(--text2); display:flex; align-items:center;
  justify-content:center; font-size:1.1rem; cursor:pointer;
  transition:var(--t);
}
.modal-close:hover { background:var(--rose); border-color:var(--rose); color:#fff; }
.modal-body { padding:1.75rem; }

/* ═══════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════════════════════ */
.form-group {
  display:flex; flex-direction:column; gap:0.4rem;
  margin-bottom:1rem;
}
.form-group:last-of-type { margin-bottom:0; }
.form-group label {
  font-family:var(--font-mono); font-size:var(--text-xs);
  font-weight:600; color:var(--text2);
  letter-spacing:0.07em; text-transform:uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background:var(--bg3); border:1px solid var(--border2);
  color:var(--text); border-radius:var(--r);
  padding:0.75rem 1rem; font-size:var(--text-sm);
  font-family:var(--font-body); outline:none;
  transition:border-color 0.2s, box-shadow 0.2s; width:100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(99,102,241,0.14);
}
.form-group textarea { height:120px; resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

/* ═══════════════════════════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════════════════════════ */
.spinner {
  width:28px; height:28px; border:2.5px solid var(--bg4);
  border-top-color:var(--accent); border-radius:50%;
  animation:spin 0.7s linear infinite; margin:0 auto;
}
@keyframes spin { to { transform:rotate(360deg); } }

.loading-state {
  display:flex; flex-direction:column; align-items:center;
  gap:1rem; padding:4rem 2rem; color:var(--text3);
  font-size:var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE NAV
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:768px) {
  .nav-links, .nav-dropdown, .nav-cta { display:none; }
  .hamburger { display:flex; }
  .footer-top { grid-template-columns:1fr; gap:var(--space-lg); }
  .footer-cols { grid-template-columns:repeat(2,1fr); }
  .form-row { grid-template-columns:1fr; }
}
@media(max-width:480px) {
  .footer-cols { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════ */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0;
}
.text-accent  { color:var(--accent); }
.text-accent2 { color:var(--accent2); }
.text-green   { color:var(--green); }
.text-muted   { color:var(--text2); }
.text-center  { text-align:center; }
.flex-center  { display:flex; align-items:center; justify-content:center; }
.gap-sm { gap:0.5rem; }
.gap-md { gap:1rem; }

/* Lazy load fade-in */
img.lazy { opacity:0; transition:opacity 0.5s; }
img.lazy.loaded { opacity:1; }
