/* ==============================================
   SCALE PEEDIA  |  style.css
   ============================================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
img { max-width:100%; display:block; }
ul  { list-style:none; }
a   { text-decoration:none; }
button, input, textarea { border:none; outline:none; font-family:inherit; }

:root {
  --bg:        #030f0f;
  --bg2:       #071818;
  --bg3:       #0d2020;
  --green:     #018c54;
  --accent:    #0ddf82;
  --light:     #f5f5f5;
  --muted:     rgba(245,245,245,.5);
  --border:    rgba(255,255,255,.07);
  --display:   'Comfortaa', cursive;
  --body:      'Outfit', sans-serif;
  --ease:      cubic-bezier(.4,0,.2,1);
  --radius:    16px;
}

html { scroll-behavior:smooth; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--light);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}
@media (pointer:coarse) {
  body { cursor:auto; }
  #cursor, #cursor-trail { display:none !important; }
}

/* ---- Cursor ---- */
#cursor {
  position:fixed; width:10px; height:10px;
  background:var(--accent); border-radius:50%;
  pointer-events:none; z-index:9999; top:0; left:0;
  transition:transform .12s ease; mix-blend-mode:difference;
}
#cursor-trail {
  position:fixed; width:34px; height:34px;
  border:1.5px solid var(--accent); border-radius:50%;
  pointer-events:none; z-index:9998; top:0; left:0;
  opacity:.45; transition:transform .2s ease, opacity .2s ease;
}

/* ---- Preloader ---- */
#preloader {
  position:fixed; inset:0; background:var(--bg);
  z-index:99999; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:24px;
  transition:opacity .6s ease, visibility .6s ease;
}
#preloader.done { opacity:0; visibility:hidden; }
.pre-logo {
  font-family:var(--display); font-size:2.5rem; font-weight:700;
  color:var(--light);
}
.pre-logo span { color:var(--accent); }
.pre-bar {
  width:200px; height:2px; background:rgba(255,255,255,.1);
  border-radius:100px; overflow:hidden;
}
.pre-fill {
  height:100%; width:0; background:var(--accent); border-radius:100px;
  animation:preLoad 2s var(--ease) forwards;
}
@keyframes preLoad { to { width:100%; } }

/* ---- Header ---- */
#header {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:1.1rem 5%;
  display:flex; align-items:center;
  transition:all .4s ease;
}
#header.scrolled {
  background:rgba(3,15,15,.95);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(13,223,130,.1);
  padding:.8rem 5%;
}
.nav-inner {
  width:100%; max-width:1200px; margin:0 auto;
  display:flex; align-items:center; gap:2rem;
}
.nav-logo {
  display:flex; align-items:center; gap:9px;
  font-family:var(--display); font-size:1.3rem; font-weight:700;
  color:var(--light); background:none; border:none;
  cursor:pointer !important; flex-shrink:0;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  pointer-events:all !important;
  text-decoration:none;
}
.nav-logo span { color:var(--accent); }
.logo-img {
  width:34px; height:34px; border-radius:50%;
  object-fit:cover; border:1.5px solid rgba(13,223,130,.4);
}

.nav-menu { display:flex; gap:2rem; margin-left:auto; }
.nav-link {
  color:var(--muted); font-size:.88rem; letter-spacing:.3px;
  position:relative; transition:color .3s; cursor:none;
}
.nav-link::after {
  content:''; position:absolute; bottom:-3px; left:0;
  width:0; height:1.5px; background:var(--accent);
  transition:width .3s ease;
}
.nav-link:hover, .nav-link.active { color:var(--light); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }

.nav-cv-btn {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--accent); color:var(--bg);
  padding:9px 20px; border-radius:100px;
  font-size:.82rem; font-weight:600;
  transition:all .3s ease; cursor:none; flex-shrink:0; margin-left:1.5rem;
}
.nav-cv-btn:hover { background:var(--light); transform:translateY(-2px); }

.hamburger {
  display:none; flex-direction:column; gap:5px;
  width:40px; height:40px; align-items:center; justify-content:center;
  cursor:pointer; z-index:1001; padding:6px; margin-left:auto;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background:var(--accent); border-radius:2px;
  transition:all .35s var(--ease);
}
.hamburger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display:none; position:fixed; inset:0; z-index:999;
  background:rgba(3,15,15,.6); backdrop-filter:blur(4px);
  opacity:0; transition:opacity .35s ease;
}
.nav-overlay.show { opacity:1; }

/* ---- Container ---- */
.container { max-width:1200px; margin:0 auto; padding:0 5%; }
.section    { padding:7rem 0; }

/* ---- Buttons ---- */
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--accent); color:var(--bg);
  padding:14px 32px; border-radius:100px;
  font-weight:600; font-size:.95rem;
  transition:all .3s ease; cursor:none;
}
.btn-primary:hover {
  background:var(--light); transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(13,223,130,.25);
}
.btn-secondary {
  display:inline-flex; align-items:center;
  border:1.5px solid rgba(245,245,245,.2); color:var(--light);
  padding:14px 32px; border-radius:100px;
  font-size:.95rem; transition:all .3s ease; cursor:none;
}
.btn-secondary:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-3px); }

/* ---- Section headers ---- */
.sec-head { margin-bottom:3.5rem; }
.sec-tag {
  display:inline-block; color:var(--accent);
  font-size:.77rem; letter-spacing:3px;
  text-transform:uppercase; font-weight:500; margin-bottom:.6rem;
}
.sec-title {
  font-family:var(--display);
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:700; letter-spacing:-.5px; line-height:1.1;
}
.sec-line { width:50px; height:2px; background:var(--accent); margin-top:1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  padding:80px 5% 0; position:relative; overflow:hidden;
}
.hero-content {
  max-width:1200px; margin:0 auto; width:100%;
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center; gap:4rem;
  padding:4rem 0;
}

/* text side */
.hero-greeting {
  font-size:1rem; color:var(--muted); letter-spacing:2px;
  text-transform:uppercase; margin-bottom:.5rem;
  opacity:0; animation:fadeUp .7s ease .3s forwards;
}
.hero-name {
  font-family:var(--display);
  font-size:clamp(2.8rem,6vw,5.5rem);
  font-weight:700; line-height:1; letter-spacing:-1px;
  color:var(--light); margin-bottom:.75rem;
  opacity:0; animation:fadeUp .8s ease .5s forwards;
}
.hero-role-wrap {
  font-size:clamp(1.1rem,2.5vw,1.5rem);
  color:var(--muted); margin-bottom:1.5rem; min-height:2em;
  opacity:0; animation:fadeUp .8s ease .7s forwards;
}
.hero-role-prefix { color:var(--muted); }
.hero-typed { color:var(--accent); font-weight:600; }
.blink {
  display:inline-block; width:2px; height:.85em;
  background:var(--accent); margin-left:2px;
  vertical-align:middle; animation:blink .85s step-end infinite;
}
.hero-desc {
  font-size:1rem; color:var(--muted); font-weight:300;
  max-width:480px; margin-bottom:2rem; line-height:1.8;
  opacity:0; animation:fadeUp .8s ease .9s forwards;
}
.hero-desc strong { color:var(--accent); font-weight:500; }
.hero-actions {
  display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.5rem;
  opacity:0; animation:fadeUp .8s ease 1.1s forwards;
}
.hero-socials {
  display:flex; gap:.75rem;
  opacity:0; animation:fadeUp .8s ease 1.3s forwards;
}
.hero-social-link {
  width:40px; height:40px; border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:all .3s; cursor:none;
}
.hero-social-link:hover {
  border-color:var(--accent); color:var(--accent);
  background:rgba(13,223,130,.08); transform:translateY(-3px);
}

/* photo / blob side */
.hero-image-wrap {
  position:relative; display:flex; align-items:center; justify-content:center;
  opacity:0; animation:fadeIn .9s ease 1s forwards;
}

/* the animated blob rings */
.blob-ring {
  position:absolute; border-radius:50%;
  border:1.5px solid rgba(13,223,130,.18);
  animation:blobPulse 4s ease-in-out infinite;
}
.ring-1 { width:360px; height:360px; animation-delay:0s; }
.ring-2 { width:420px; height:420px; animation-delay:.6s; opacity:.6; }
.ring-3 { width:480px; height:480px; animation-delay:1.2s; opacity:.3; }

/* the glowing background blob shape */
.hero-blob {
  position:absolute;
  width:320px; height:340px;
  background:radial-gradient(ellipse at 50% 60%,
    rgba(13,223,130,.22) 0%,
    rgba(1,140,84,.15) 40%,
    transparent 70%);
  border-radius:60% 40% 70% 30% / 50% 60% 40% 50%;
  animation:morphBlob 8s ease-in-out infinite alternate;
  filter:blur(4px);
}

/* photo inside blob-shaped clip */
.hero-photo-frame {
  position:relative; z-index:2;
  width:300px; height:360px;
  border-radius:60% 40% 55% 45% / 50% 55% 45% 50%;
  overflow:hidden;
  animation:morphFrame 8s ease-in-out infinite alternate;
  border:2px solid rgba(13,223,130,.25);
  box-shadow:0 0 60px rgba(13,223,130,.15), 0 0 120px rgba(1,140,84,.08);
}
.hero-photo {
  width:100%; height:100%;
  object-fit:cover; object-position:top center;
  filter:grayscale(15%); transition:filter .4s;
}
.hero-photo-frame:hover .hero-photo { filter:grayscale(0%); }

/* floating chips */
.float-chip {
  position:absolute; z-index:3;
  background:rgba(7,24,24,.9);
  border:1px solid rgba(13,223,130,.25);
  padding:9px 16px; border-radius:100px;
  font-size:.78rem; font-weight:500;
  display:flex; align-items:center; gap:8px;
  color:var(--light); backdrop-filter:blur(8px);
  white-space:nowrap;
  animation:chipFloat 3s ease-in-out infinite alternate;
}
.chip-top    { top:10%; left:-5%; animation-delay:0s; }
.chip-bottom { bottom:10%; right:-5%; animation-delay:1.5s; }
.chip-dot    { width:7px; height:7px; background:var(--accent); border-radius:50%; animation:pulse 2s infinite; flex-shrink:0; }
.chip-icon   { font-size:1rem; }

/* scroll indicator */
.scroll-down {
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color:var(--muted); font-size:.7rem; letter-spacing:2px; text-transform:uppercase;
  opacity:0; animation:fadeIn 1s ease 1.8s forwards; cursor:none;
}
.scroll-mouse {
  width:22px; height:34px; border:1.5px solid rgba(255,255,255,.25);
  border-radius:100px; display:flex; justify-content:center; padding-top:5px;
}
.scroll-wheel {
  width:3px; height:7px; background:var(--accent); border-radius:100px;
  animation:scrollWheel 2s ease-in-out infinite;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display:grid; grid-template-columns:1fr 1.1fr;
  gap:5rem; align-items:center;
}
.about-img-col { position:relative; }
.about-img-wrap {
  position:relative; max-width:400px; margin:0 auto;
}
.about-blob {
  position:absolute; inset:-20px;
  background:radial-gradient(ellipse at 40% 60%,
    rgba(13,223,130,.15) 0%, rgba(1,140,84,.08) 45%, transparent 70%);
  border-radius:40% 60% 55% 45% / 45% 55% 60% 40%;
  animation:morphBlob 9s ease-in-out infinite alternate;
  filter:blur(6px); z-index:0;
}
.about-img {
  position:relative; z-index:1;
  width:100%; aspect-ratio:3/4;
  object-fit:cover; object-position:top center;
  border-radius:24px;
  border:1px solid rgba(13,223,130,.15);
  filter:grayscale(15%); transition:filter .4s;
}
.about-img:hover { filter:grayscale(0%); }
.about-exp-badge {
  position:absolute; bottom:-16px; right:-16px; z-index:2;
  width:110px; height:110px; border-radius:50%;
  background:var(--accent); color:var(--bg);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center;
  font-family:var(--display); font-weight:700;
}
.exp-num { font-size:2rem; line-height:1; }
.exp-label { font-size:.62rem; line-height:1.3; margin-top:2px; }

.about-p {
  color:var(--muted); margin-bottom:1.25rem;
  font-size:1rem; font-weight:300; line-height:1.9;
}
.about-p strong { color:var(--accent); font-weight:500; }

.about-info-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:.85rem; margin:2rem 0;
}
.info-item {
  background:rgba(255,255,255,.025); border:1px solid var(--border);
  border-radius:12px; padding:1rem 1.1rem;
  display:flex; flex-direction:column; gap:3px;
  transition:border-color .3s;
}
.info-item:hover { border-color:rgba(13,223,130,.25); }
.info-label { font-size:.72rem; color:var(--muted); letter-spacing:1px; text-transform:uppercase; }
.info-val { font-size:.88rem; color:var(--light); font-weight:500; word-break:break-word; }
.avail { display:flex; align-items:center; gap:7px; color:var(--accent); }
.avail-dot {
  width:7px; height:7px; background:var(--accent); border-radius:50%;
  flex-shrink:0; animation:pulse 2s infinite;
}

.about-btns { display:flex; gap:1rem; flex-wrap:wrap; margin-top:2rem; }
.btn-cv {
  display:inline-flex; align-items:center; gap:8px;
  border:1.5px solid rgba(13,223,130,.35); color:var(--accent);
  padding:14px 28px; border-radius:100px;
  font-size:.95rem; transition:all .3s ease; cursor:none;
}
.btn-cv:hover { background:rgba(13,223,130,.08); transform:translateY(-3px); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background:rgba(255,255,255,.02);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  position:relative; z-index:1;
}
.stats-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:2.5rem 5%; flex-wrap:wrap; gap:1.5rem;
}
.stat-item {
  display:flex; flex-direction:column; align-items:center; gap:4px; flex:1; min-width:100px;
}
.stat-num {
  font-family:var(--display); font-size:2.5rem; font-weight:700;
  color:var(--accent); line-height:1;
}
.stat-lbl { color:var(--muted); font-size:.82rem; }
.stat-sep { width:1px; height:50px; background:var(--border); flex-shrink:0; }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-wrap {
  display:grid; grid-template-columns:1.1fr .9fr; gap:5rem; align-items:start;
}
.skills-about {
  color:var(--muted); font-weight:300; line-height:1.8;
  margin-bottom:2rem; font-size:.95rem;
}
.skill-list { display:flex; flex-direction:column; gap:1.5rem; }
.skill-row  { }
.skill-info { display:flex; align-items:center; justify-content:space-between; margin-bottom:.55rem; }
.skill-name-wrap {
  display:flex; align-items:center; gap:10px;
  font-size:.9rem; font-weight:500; color:var(--light);
}
.skill-ico  { width:22px; height:22px; flex-shrink:0; }
.skill-pct  { font-size:.82rem; color:var(--accent); font-weight:600; }
.skill-track { background:rgba(255,255,255,.07); border-radius:100px; height:5px; overflow:hidden; }
.skill-fill  { height:100%; background:linear-gradient(90deg,var(--green),var(--accent)); border-radius:100px; width:0; transition:width 1.4s var(--ease); }

.tools-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1rem;
}
.tool-card {
  background:rgba(255,255,255,.02); border:1px solid var(--border);
  border-radius:var(--radius); padding:1.5rem 1rem;
  display:flex; flex-direction:column; align-items:center; gap:.75rem;
  font-size:.8rem; color:var(--muted); text-align:center;
  transition:all .35s var(--ease); cursor:default;
}
.tool-card:hover {
  border-color:rgba(13,223,130,.3);
  background:rgba(13,223,130,.04);
  color:var(--light); transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(1,140,84,.1);
}
.tool-icon {
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
}
.tool-icon svg { width:100%; height:100%; }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-filters {
  display:flex; gap:.75rem; flex-wrap:wrap; margin-bottom:2.5rem;
}
.filter-btn {
  padding:8px 20px; border-radius:100px; font-size:.82rem;
  border:1px solid var(--border); color:var(--muted);
  background:transparent; cursor:none;
  transition:all .3s ease;
}
.filter-btn:hover, .filter-btn.active {
  border-color:var(--accent); color:var(--accent);
  background:rgba(13,223,130,.08);
}

.proj-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem;
}
.proj-card {
  background:rgba(255,255,255,.02); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  transition:all .4s var(--ease);
}
.proj-card:hover {
  border-color:rgba(13,223,130,.25);
  transform:translateY(-6px);
  box-shadow:0 20px 60px rgba(1,140,84,.12);
}
.proj-card.hidden { display:none; }

.proj-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
}
/* The actual image */
.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-img {
  transform: scale(1.06);
}
/* dark overlay always present so text is readable */
.proj-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 12, 0.45);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.proj-card:hover .proj-thumb::after {
  background: rgba(3, 12, 12, 0.25);
}
/* proj-num and overlay sit above the dark layer */
.proj-num,
.proj-overlay-hover {
  z-index: 2;
}

.proj-overlay-hover {
  position:absolute; inset:0; z-index:4;
  background:rgba(3,12,12,.82);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .35s;
}
.proj-card:hover .proj-overlay-hover { opacity:1; }

.proj-view-btn {
  display:inline-flex; align-items:center; gap:8px;
  border:1.5px solid var(--accent); color:var(--accent);
  padding:11px 24px; border-radius:100px;
  font-size:.82rem; font-weight:500;
  cursor:none; transform:translateY(10px);
  transition:all .35s var(--ease);
}
.proj-card:hover .proj-view-btn { transform:translateY(0); }
.proj-view-btn:hover { background:var(--accent); color:var(--bg); }

.proj-body { padding:1.4rem; }
.proj-meta {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:.6rem;
}
.proj-cat {
  background:rgba(13,223,130,.1); color:var(--accent);
  font-size:.62rem; letter-spacing:.8px; text-transform:uppercase;
  padding:4px 10px; border-radius:100px; white-space:nowrap;
}
.proj-year { color:var(--muted); font-size:.78rem; }
.proj-title {
  font-family:var(--display); font-size:1.1rem; font-weight:700;
  color:var(--light); margin-bottom:.5rem;
}
.proj-desc { font-size:.82rem; color:var(--muted); line-height:1.65; margin-bottom:1rem; }
.proj-tags { display:flex; flex-wrap:wrap; gap:.5rem; }
.proj-tags span {
  background:rgba(255,255,255,.04); color:var(--muted);
  border:1px solid var(--border);
  font-size:.67rem; padding:3px 9px; border-radius:6px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display:grid; grid-template-columns:1fr 1.4fr; gap:4rem; align-items:start;
}
.contact-subhead {
  font-family:var(--display); font-size:1.5rem; font-weight:700;
  margin-bottom:1rem; color:var(--light);
}
.contact-desc { color:var(--muted); font-weight:300; font-size:.95rem; line-height:1.8; margin-bottom:2rem; }
.contact-details { display:flex; flex-direction:column; gap:1.25rem; margin-bottom:2rem; }
.contact-detail-item { display:flex; align-items:flex-start; gap:1rem; }
.cd-icon {
  width:42px; height:42px; border-radius:50%;
  background:rgba(13,223,130,.08); border:1px solid rgba(13,223,130,.2);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent); flex-shrink:0;
}
.cd-label { display:block; font-size:.72rem; color:var(--muted); letter-spacing:1px; text-transform:uppercase; margin-bottom:2px; }
.cd-val { font-size:.9rem; color:var(--light); }
.cd-val.avail { display:inline-flex; align-items:center; gap:6px; color:var(--accent); }
a.cd-val:hover { color:var(--accent); }

.contact-socials { display:flex; gap:.75rem; }
.c-soc-btn {
  width:40px; height:40px; border-radius:50%;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:all .3s; cursor:none;
}
.c-soc-btn:hover { border-color:var(--accent); color:var(--accent); background:rgba(13,223,130,.08); transform:translateY(-3px); }

/* Form */
.contact-form {
  background:rgba(255,255,255,.02); border:1px solid var(--border);
  border-radius:24px; padding:2.5rem;
  display:flex; flex-direction:column; gap:1.25rem;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.form-group { display:flex; flex-direction:column; gap:.5rem; }
.form-group label { font-size:.8rem; color:var(--muted); letter-spacing:.5px; }
.form-group input,
.form-group textarea {
  background:rgba(255,255,255,.04); border:1px solid var(--border);
  border-radius:12px; padding:13px 16px;
  color:var(--light); font-size:.9rem;
  transition:border-color .3s, background .3s;
  resize:none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color:rgba(13,223,130,.4);
  background:rgba(13,223,130,.03);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color:rgba(245,245,245,.25); }

.form-submit { align-self:flex-start; }
.form-success {
  display:none; align-items:center; gap:8px;
  color:var(--accent); font-size:.88rem; padding:.75rem 0;
}
.form-success.show { display:flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top:1px solid var(--border); background:rgba(3,10,10,.6); }
.footer-top-inner {
  display:grid; grid-template-columns:1.8fr 1fr 1fr 1.3fr;
  gap:3rem; padding:4rem 5% 3rem;
}
.footer-brand .footer-logo {
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--display); font-size:1.2rem; font-weight:700;
  color:var(--light); margin-bottom:1rem;
  cursor:pointer; pointer-events:all;
  touch-action: manipulation;
}
.footer-brand .footer-logo span { color:var(--accent); }
.footer-tagline { color:var(--muted); font-size:.88rem; line-height:1.7; max-width:260px; margin-bottom:1.5rem; }
.footer-socials { display:flex; gap:.75rem; }
.fsoc {
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:all .3s; cursor:none;
}
.fsoc:hover { border-color:var(--accent); color:var(--accent); background:rgba(13,223,130,.08); transform:translateY(-3px); }

.footer-col h4 {
  font-family:var(--display); font-size:.85rem; font-weight:700;
  color:var(--light); text-transform:uppercase; letter-spacing:.5px;
  margin-bottom:1.25rem;
}
.footer-col ul { display:flex; flex-direction:column; gap:.8rem; }
.footer-col a { color:var(--muted); font-size:.87rem; transition:color .3s; cursor:none; }
.footer-col a:hover { color:var(--accent); }

.footer-avail-item {
  display:flex; align-items:center; gap:8px;
  color:var(--accent); font-size:.87rem;
}

.footer-cv-btn {
  display:inline-flex; align-items:center; gap:7px; margin-top:1.25rem;
  border:1px solid rgba(13,223,130,.3); color:var(--accent);
  padding:9px 20px; border-radius:100px; font-size:.82rem;
  transition:all .3s; cursor:none;
}
.footer-cv-btn:hover { background:rgba(13,223,130,.08); transform:translateY(-2px); }

.footer-bottom-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:1.5rem 5%; flex-wrap:wrap; gap:.75rem;
  border-top:1px solid rgba(255,255,255,.05);
}
.footer-bottom-inner p { color:var(--muted); font-size:.82rem; }
.footer-bottom-inner strong { color:var(--light); }
.back-top {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--muted); font-size:.82rem; transition:color .3s; cursor:none;
}
.back-top:hover { color:var(--accent); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal       { opacity:0; transform:translateY(36px);  transition:opacity .8s var(--ease),transform .8s var(--ease); }
.reveal-left  { opacity:0; transform:translateX(-44px); transition:opacity .85s var(--ease),transform .85s var(--ease); }
.reveal-right { opacity:0; transform:translateX(44px);  transition:opacity .85s var(--ease),transform .85s var(--ease); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity:1; transform:none; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp   { from{opacity:0;transform:translateY(28px)}   to{opacity:1;transform:none} }
@keyframes fadeIn   { from{opacity:0}                               to{opacity:1} }
@keyframes blink    { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes pulse    { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.7);opacity:.4} }

@keyframes morphBlob {
  0%  { border-radius:60% 40% 70% 30% / 50% 60% 40% 50%; }
  25% { border-radius:45% 55% 40% 60% / 60% 45% 55% 40%; }
  50% { border-radius:55% 45% 60% 40% / 40% 55% 45% 60%; }
  75% { border-radius:40% 60% 50% 50% / 55% 40% 60% 45%; }
  100%{ border-radius:70% 30% 45% 55% / 45% 65% 35% 55%; }
}
@keyframes morphFrame {
  0%  { border-radius:60% 40% 55% 45% / 50% 55% 45% 50%; }
  50% { border-radius:45% 55% 65% 35% / 60% 40% 55% 45%; }
  100%{ border-radius:55% 45% 40% 60% / 45% 60% 40% 55%; }
}
@keyframes blobPulse {
  0%,100% { transform:scale(1); opacity:.18; }
  50%     { transform:scale(1.06); opacity:.1; }
}
@keyframes chipFloat {
  0%   { transform:translateY(0); }
  100% { transform:translateY(-10px); }
}
@keyframes scrollWheel {
  0%   { transform:translateY(0); opacity:1; }
  100% { transform:translateY(12px); opacity:0; }
}


/* ============================================================
   TESTIMONIALS  — infinite auto-scroll marquee
   ============================================================ */
#testimonials .sec-head { align-items:center; }

.testi-marquee-outer {
  overflow: hidden;
  margin-top: 3rem;
  /* fade edges */
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask:         linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testi-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.testi-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testi-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 2rem;
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color .35s, transform .35s;
}
.testi-card:hover {
  border-color: rgba(13,223,130,.3);
  transform: translateY(-5px);
}

.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testi-quote-icon { color: var(--accent); opacity:.7; }
.testi-stars { color:#f59e0b; font-size:1rem; letter-spacing:2px; }

.testi-text {
  font-size: .88rem;
  color: rgba(245,245,245,.7);
  line-height: 1.8;
  flex: 1;
}

.testi-client {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight:700; font-size:.82rem;
  color:#fff; flex-shrink:0;
}
.testi-info { display:flex; flex-direction:column; gap:2px; }
.testi-info strong { font-size:.88rem; color:var(--light); font-weight:600; }
.testi-info span   { font-size:.75rem; color:var(--muted); }
.testi-proj-tag {
  display:inline-block !important;
  background: rgba(13,223,130,.1) !important;
  color: var(--accent) !important;
  font-size:.62rem !important; letter-spacing:1px;
  text-transform:uppercase; padding:2px 8px;
  border-radius:100px; margin-top:2px;
}

@media (max-width:600px) {
  .testi-card { width:280px; padding:1.4rem; }
}


/* ═══════════════════════════════════════════════
   WELCOME SCREEN — Yassin style
   ═══════════════════════════════════════════════ */
#welcomeScreen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #030f0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#welcomeScreen.wc-exit {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* radial glow in center */
.wc-glow {
  position: absolute;
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(1,140,84,0.28) 0%,
    rgba(13,223,130,0.08) 40%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: wcGlowPulse 3s ease-in-out infinite alternate;
}
@keyframes wcGlowPulse {
  from { transform: scale(0.95); opacity: 0.8; }
  to   { transform: scale(1.05); opacity: 1; }
}

/* 3 icon circles */
.wc-icons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.wc-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(13,223,130,0.35);
  background: rgba(13,223,130,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  opacity: 0;
  transform: translateY(-20px);
  animation: wcIconIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
  box-shadow: 0 0 18px rgba(13,223,130,0.12),
              inset 0 0 18px rgba(13,223,130,0.04);
  backdrop-filter: blur(8px);
}
@keyframes wcIconIn {
  to { opacity: 1; transform: translateY(0); }
}

/* main text */
.wc-text {
  text-align: center;
}
.wc-line-wrap {
  overflow: hidden;
  line-height: 1.1;
}
.wc-top, .wc-bottom {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(100%);
  display: block;
  animation: wcTextReveal 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}
.wc-top {
  color: var(--light);
}
.wc-bottom {
  background: linear-gradient(90deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes wcTextReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* website link */
.wc-link-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 1px;
  opacity: 0;
  animation: wcFadeIn 0.4s ease forwards;
}
@keyframes wcFadeIn {
  to { opacity: 1; }
}

/* enter button */
.wc-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid rgba(13,223,130,0.4);
  color: var(--accent);
  padding: 12px 30px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-family: var(--body);
  letter-spacing: 1px;
  cursor: pointer;
  opacity: 0;
  animation: wcFadeIn 0.4s ease forwards;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.wc-enter:hover {
  background: rgba(13,223,130,0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(13,223,130,0.2);
}
.wc-enter:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .wc-icon-circle { width: 48px; height: 48px; }
  .wc-glow { width: 340px; height: 300px; }
  .wc-top, .wc-bottom { font-size: 2.4rem; }
}



/* ============================================================
   LIGHT MODE
   ============================================================ */
:root.light {
  --bg:        #f0f4f0;
  --bg2:       #e4ece4;
  --bg3:       #d8e8d8;
  --green:     #016b40;
  --accent:    #018c54;
  --light:     #111111;
  --muted:     rgba(17,17,17,0.55);
  --border:    rgba(0,0,0,0.1);
}

/* body bg in light mode */
:root.light body {
  background: var(--bg);
  color: var(--light);
}

/* nav in light mode */
:root.light #header.scrolled {
  background: rgba(240,244,240,0.95);
  border-bottom: 1px solid rgba(1,140,84,0.2);
}
:root.light #header {
  background: rgba(240,244,240,0.6);
}

/* cards in light mode */
:root.light .sk-card,
:root.light .proj-card,
:root.light .testi-card,
:root.light .contact-form,
:root.light .info-item,
:root.light .stat {
  background: rgba(255,255,255,0.85);
  border-color: rgba(1,140,84,0.15);
}
:root.light .sk-card:hover,
:root.light .proj-card:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(1,140,84,0.4);
}

/* text in light mode */
:root.light .about-p,
:root.light .proj-desc,
:root.light .sk-card p,
:root.light .testi-text,
:root.light .contact-desc,
:root.light .footer-tagline,
:root.light .footer-copy { color: rgba(17,17,17,0.65); }

:root.light .proj-title,
:root.light .sk-card h3,
:root.light .proj-body h3 { color: #111; }

/* form inputs in light mode */
:root.light .form-group input,
:root.light .form-group textarea {
  background: #fff;
  border-color: rgba(1,140,84,0.25);
  color: #111;
}
:root.light .form-group input::placeholder,
:root.light .form-group textarea::placeholder { color: rgba(17,17,17,0.35); }

/* footer in light mode */
:root.light .footer {
  background: rgba(220,235,220,0.8);
}
:root.light .stats-bar {
  background: rgba(255,255,255,0.6);
}

/* bg effects hidden in light */
:root.light .bg-grid,
:root.light .bg-glow,
:root.light .bg-glow2 { opacity: 0.3; }

/* about visual card */
:root.light .av-card {
  background: linear-gradient(145deg,#d8ead8,rgba(1,140,84,0.12));
}

/* skills bar track */
:root.light .skill-track,
:root.light .bar-bg {
  background: rgba(0,0,0,0.08);
}

/* contact box */
:root.light .contact-box {
  background: rgba(255,255,255,0.85);
}

/* proj tags */
:root.light .proj-tags span,
:root.light .proj-stack span {
  background: rgba(1,140,84,0.08);
  color: #016b40;
  border-color: rgba(1,140,84,0.2);
}

/* hero text */
:root.light .hero-greeting { color: rgba(17,17,17,0.55); }

/* welcome screen */
:root.light #welcomeScreen { background: #f0f4f0; }

/* ---- Theme Toggle Button ---- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(13,223,130,0.35);
  background: rgba(13,223,130,0.06);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  pointer-events: all !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(13,223,130,0.2);
  z-index: 1002;
}
.theme-toggle:hover {
  background: rgba(13,223,130,0.15);
  border-color: var(--accent);
  transform: rotate(20deg);
}
.theme-toggle:active {
  transform: scale(0.9);
}

/* dark mode → show moon, hide sun */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* light mode → show sun, hide moon */
:root.light .theme-toggle .icon-moon { display: none; }
:root.light .theme-toggle .icon-sun  { display: block; }

:root.light .theme-toggle {
  border-color: rgba(1,107,64,0.4);
  background: rgba(1,107,64,0.08);
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px) {
  .hero-content { grid-template-columns:1fr 1fr; gap:2rem; }
  .proj-grid    { grid-template-columns:repeat(2,1fr); }
  .about-grid   { gap:3rem; }
  .footer-top-inner { grid-template-columns:1fr 1fr; gap:2rem; }
}

@media (max-width:900px) {
  .skills-wrap    { grid-template-columns:1fr; gap:3rem; }
  .contact-grid   { grid-template-columns:1fr; gap:3rem; }
  .tools-grid     { grid-template-columns:repeat(3,1fr); }
  .stat-sep       { display:none; }
  .stats-inner    { justify-content:space-around; }
}

@media (max-width:768px) {
  .hamburger { display:flex; }
  .nav-menu  {
    position:fixed; top:0; right:-100%; bottom:0;
    width:min(300px,80vw);
    background:#071a1a; flex-direction:column; gap:2rem;
    padding:6rem 2.5rem 3rem; z-index:1000;
    transition:right .38s var(--ease);
    border-left:2px solid rgba(13,223,130,.25);
  }
  .nav-menu.open { right:0; }
  .nav-overlay { display:block; }
  .nav-link { font-size:1.15rem; color:var(--light); }
  .nav-cv-btn { display:none; }

  #header { padding:.9rem 5%; }

  .hero-content {
    grid-template-columns:1fr; text-align:center;
    gap:3rem; padding:3rem 0 2rem;
  }
  .hero-desc   { margin:0 auto 2rem; }
  .hero-actions { justify-content:center; }
  .hero-socials { justify-content:center; }
  .hero-image-wrap { order:-1; }
  .hero-photo-frame { width:240px; height:290px; }
  .ring-1 { width:280px; height:280px; }
  .ring-2 { width:330px; height:330px; }
  .ring-3 { width:380px; height:380px; }
  .chip-top    { top:5%; left:0; }
  .chip-bottom { bottom:5%; right:0; }
  .scroll-down { display:none; }

  .section  { padding:5rem 0; }
  .container { padding:0 4%; }

  .about-grid   { grid-template-columns:1fr; gap:3rem; }
  .about-img-col { max-width:300px; margin:0 auto; }
  .about-exp-badge { width:90px; height:90px; bottom:-12px; right:-12px; }
  .exp-num { font-size:1.7rem; }

  .proj-grid   { grid-template-columns:1fr; }
  .form-row    { grid-template-columns:1fr; }
  .contact-form { padding:1.75rem; }

  .footer-top-inner { grid-template-columns:1fr; gap:2rem; padding:2.5rem 4%; }
  .footer-bottom-inner { flex-direction:column; align-items:center; text-align:center; padding:1.25rem 4%; }
}

@media (max-width:480px) {
  .hero-name    { font-size:2.6rem; }
  .hero-actions { flex-direction:column; align-items:center; }
  .btn-primary, .btn-secondary { width:100%; justify-content:center; }
  .about-info-grid { grid-template-columns:1fr; }
  .tools-grid   { grid-template-columns:repeat(2,1fr); }
  .stats-inner  { flex-direction:column; align-items:center; gap:1.5rem; }
  .proj-filters { gap:.5rem; }
  .filter-btn   { padding:7px 14px; font-size:.78rem; }
  .sec-title    { font-size:1.9rem; }
}

/* ============================================================
   LIGHT MODE — specific element fixes
   ============================================================ */

/* ============================================================
   LIGHT MODE — TARGETED FIXES
   ============================================================ */

/* ── Hero floating chips ── */
:root.light .float-chip {
  background: rgba(3,15,15,0.85);
  color: #f5f5f5;
  border-color: rgba(13,223,130,.5);
}
:root.light .chip-dot { background: var(--accent); }

/* ── Experience badge + Open to Work ring ── */
:root.light .about-exp-badge,
:root.light .av-badge {
  background: var(--accent);
  color: #030f0f;
}

/* ── "3+ Years Experience" hero chip ── */
:root.light .chip-bottom {
  background: rgba(3,15,15,0.85);
  color: #f5f5f5;
  border-color: rgba(13,223,130,.5);
}

/* ── GitHub icon — its path is fill="#fff" so invisible on white ── */
/* Give GitHub tool card a dark background */
:root.light .tool-card:nth-child(8) {
  background: #1a1a2e !important;
  border-color: rgba(255,255,255,0.15) !important;
}
:root.light .tool-card:nth-child(8) span {
  color: #f5f5f5 !important;
}

/* All SVG paths that are white — make dark in light mode */
:root.light .skill-ico path[fill="#fff"],
:root.light .skill-ico path[fill="white"],
:root.light .skill-ico path[fill="#1B1817"] { fill: #1a1a1a !important; }

:root.light .tool-card .tool-icon svg path[fill="#fff"],
:root.light .tool-card .tool-icon svg path[fill="white"] { fill: #1a1a1a !important; }

/* ── Nav ── */
:root.light .nav-link         { color: rgba(17,17,17,0.65); }
:root.light .nav-link:hover,
:root.light .nav-link.active  { color: #111; }
:root.light .nav-logo         { color: #111; }
:root.light .nav-logo span    { color: var(--accent); }
:root.light .nav-cv-btn       { background: var(--accent); color: #030f0f; }
:root.light .hamburger span   { background: #111 !important; }

/* ── Hero text ── */
:root.light .hero-name        { color: #111; }
:root.light .hero-greeting,
:root.light .hero-role-wrap,
:root.light .hero-desc        { color: rgba(17,17,17,0.65); }
:root.light .scroll-cue       { color: rgba(17,17,17,0.5); }

/* ── Section headers ── */
:root.light .sec-title,
:root.light .title            { color: #111; }
:root.light .sec-tag          { color: var(--accent); }

/* ── About ── */
:root.light .stat             { background:rgba(255,255,255,0.9); border-color:rgba(1,140,84,0.2); }
:root.light .sl               { color: rgba(17,17,17,0.6); }
:root.light .av-card          { background:linear-gradient(145deg,#d8ead8,rgba(1,140,84,.1)); }
:root.light .about-img        { border-color: rgba(1,140,84,.25); }

/* ── Skills ── */
:root.light .skill-track,
:root.light .bar-bg           { background: rgba(0,0,0,0.1); }
:root.light .skill-name,
:root.light .skill-name-wrap  { color: #111; }
:root.light .skill-pct        { color: var(--accent); }
:root.light .sk-card          { background:rgba(255,255,255,0.85); border-color:rgba(1,140,84,.15); }
:root.light .sk-card h3       { color: #111; }
:root.light .sk-card p        { color: rgba(17,17,17,0.6); }
:root.light .tool-card        { background:rgba(255,255,255,0.9); border-color:rgba(1,140,84,0.2); color:#111; }
:root.light .tool-card span   { color: #111; }

/* ── Projects ── */
:root.light .proj-card        { background:rgba(255,255,255,0.9); border-color:rgba(1,140,84,.15); }
:root.light .proj-title,
:root.light .proj-body h3     { color: #111; }
:root.light .proj-desc        { color: rgba(17,17,17,0.6); }
:root.light .proj-tags span   { background:rgba(1,140,84,.08); color:#016b40; border-color:rgba(1,140,84,.2); }
:root.light .proj-num         { color: rgba(17,17,17,0.1); }
:root.light .filter-btn       { border-color:rgba(1,140,84,.25); color:rgba(17,17,17,0.6); }
:root.light .filter-btn.active,
:root.light .filter-btn:hover { border-color:var(--accent); color:var(--accent); background:rgba(1,140,84,.08); }

/* ── Testimonials ── */
:root.light .testi-card       { background:rgba(255,255,255,0.9); border-color:rgba(1,140,84,.15); }
:root.light .testi-text       { color:rgba(17,17,17,0.65); }
:root.light .testi-info span  { color:rgba(17,17,17,0.55); }
:root.light .testi-info strong{ color:#111; }
:root.light .testi-quote-icon { color:var(--accent); }

/* ── Contact ── */
:root.light .contact-box      { background:rgba(255,255,255,0.9); border-color:rgba(1,140,84,.2); }
:root.light .contact-title    { color:#111; }
:root.light .contact-sub,
:root.light .contact-desc     { color:rgba(17,17,17,0.6); }
:root.light .contact-form     { background:rgba(255,255,255,0.9); border-color:rgba(1,140,84,.15); }
:root.light .form-group label { color:rgba(17,17,17,0.65); }
:root.light .form-group input,
:root.light .form-group textarea {
  background:#fff; border-color:rgba(1,140,84,.25); color:#111;
}
:root.light .form-group input::placeholder,
:root.light .form-group textarea::placeholder { color:rgba(17,17,17,0.3); }
:root.light .cd-label         { color:rgba(17,17,17,0.55); }
:root.light .cd-val           { color:#111; }

/* ── Social icons ── */
:root.light .fsoc,
:root.light .c-soc-btn,
:root.light .hero-social-link {
  border-color:rgba(1,140,84,.25); color:rgba(17,17,17,0.6);
  background:rgba(255,255,255,0.5);
}
:root.light .fsoc:hover,
:root.light .c-soc-btn:hover,
:root.light .hero-social-link:hover {
  border-color:var(--accent); color:var(--accent); background:rgba(1,140,84,.08);
}

/* ── Footer ── */
:root.light .footer-col h4    { color:#111; }
:root.light .footer-logo      { color:#111; }
:root.light .footer-bottom-inner { border-color:rgba(0,0,0,0.08); }
:root.light .footer-bottom-inner p { color:rgba(17,17,17,0.55); }
:root.light .back-top         { color:rgba(17,17,17,0.5); }

/* ── Stats bar ── */
:root.light .stats-bar        { background:rgba(255,255,255,0.7); border-color:rgba(1,140,84,.15); }
:root.light .stat-lbl         { color:rgba(17,17,17,0.6); }

/* ── Preloader ── */
:root.light #preloader        { background:#f0f4f0; }
:root.light .pre-logo         { color:#111; }

/* ── BG effects (soften in light) ── */
:root.light .bg-grid,
:root.light .bg-glow,
:root.light .bg-glow2         { opacity:0.25; }