/* ══════════════════════════════════════════════════
   SIGNAL FROM THE VOID — Main Stylesheet
   Palette: Black · Cream · Lime · Orange
   Fonts: Unbounded · Bricolage Grotesque · Fira Code
   ══════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────── */
:root {
  --bg:         #060606;
  --bg2:        #0c0c0c;
  --surface:    #101010;
  --surface2:   #161616;
  --text:       #f2ede6;
  --text-2:     #7a756e;
  --text-3:     #3d3a36;
  --heading:    #f5f0e8;
  --lime:       #d4ff1a;
  --lime-dim:   rgba(212,255,26,0.1);
  --lime-glow:  rgba(212,255,26,0.15);
  --orange:     #ff5533;
  --orange-dim: rgba(255,85,51,0.1);
  --violet:     #a855f7;
  --violet-dim: rgba(168,85,247,0.1);
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(212,255,26,0.25);
  --shadow:     0 8px 48px rgba(0,0,0,0.6);
  --shadow-lime: 0 0 40px rgba(212,255,26,0.12);

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body:    'Bricolage Grotesque', system-ui, sans-serif;
  --f-mono:    'Fira Code', 'Courier New', monospace;

  --ease:      cubic-bezier(0.16,1,0.3,1);
  --ease-in:   cubic-bezier(0.4,0,1,1);
  --ease-out:  cubic-bezier(0,0,0.2,1);
  --t:         0.4s var(--ease);
  --t-fast:    0.2s var(--ease);
  --t-slow:    0.8s var(--ease);

  --r:         10px;
  --r-lg:      18px;
  --r-xl:      26px;
  --r-full:    9999px;

  --header-h:  68px;
  --max-w:     1240px;
  --accent:    var(--lime);
}

/* LIGHT THEME */
body.light, [data-theme="light"] {
  --bg:         #f5f2ec;
  --bg2:        #edeae3;
  --surface:    rgba(255,255,255,0.9);
  --surface2:   #ffffff;
  --text:       #1a1814;
  --text-2:     #5a5650;
  --text-3:     #9a9690;
  --heading:    #0f0d0a;
  --lime:       #7a9200;
  --lime-dim:   rgba(122,146,0,0.08);
  --lime-glow:  rgba(122,146,0,0.12);
  --orange:     #cc3311;
  --border:     rgba(0,0,0,0.08);
  --border-h:   rgba(122,146,0,0.3);
  --shadow:     0 8px 48px rgba(0,0,0,0.1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

body.loading { overflow: hidden; }
body.no-cursor * { cursor: none !important; }

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

h1,h2,h3,h4 {
  font-family: var(--f-body);
  color: var(--heading);
  line-height: 1.05;
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: var(--r);
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--lime); border-radius: 2px; }

/* ─── CURSOR ──────────────────────────────────── */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease),
              background .3s, border-color .3s, opacity .3s;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: opacity .3s;
}
.cursor-ring.visible, .cursor-dot.visible { opacity: 1; }
.cursor-ring.hover  { width: 54px; height: 54px; background: var(--lime-dim); border-color: var(--orange); }
.cursor-ring.click  { width: 26px; height: 26px; background: var(--lime-glow); }

@media (hover: none) {
  .cursor-ring, .cursor-dot { display: none !important; }
}

/* ─── NOISE ───────────────────────────────────── */
.noise-overlay {
  position: fixed; inset: 0;
  z-index: 9998; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ─── LOADER ──────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9997;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.loader-logo {
  font-family: var(--f-display);
  font-size: 2rem; font-weight: 900;
  color: var(--lime); letter-spacing: -0.05em;
}
.loader-bar-wrap {
  display: flex; align-items: center; gap: 16px;
  width: 180px;
}
.loader-bar {
  flex: 1; height: 1px;
  background: var(--border); border-radius: var(--r-full);
  overflow: hidden; position: relative;
}
.loader-fill {
  height: 100%; width: 0%;
  background: var(--lime);
  border-radius: var(--r-full);
  transition: width .1s linear;
}
.loader-pct {
  font-family: var(--f-mono);
  font-size: .7rem; color: var(--text-2);
  letter-spacing: 2px; min-width: 2.5ch;
}

/* ─── CONTAINER ───────────────────────────────── */
.container {
  width: min(90%, var(--max-w));
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── HEADER ──────────────────────────────────── */
.header {
  position: fixed; top: 0; width: 100%;
  height: var(--header-h); z-index: 1000;
  transition: background var(--t), border-color var(--t);
}
.header.scrolled {
  background: rgba(6,6,6,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
body.light .header.scrolled {
  background: rgba(245,242,236,0.9);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  width: min(90%, var(--max-w));
  margin: 0 auto; padding: 0 20px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  transition: opacity var(--t-fast);
}
.logo:hover { opacity: .75; }
.logo-badge {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--lime); color: #000;
  font-family: var(--f-display); font-size: .65rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.5px;
}
.logo-name {
  font-family: var(--f-body); font-weight: 600;
  font-size: .9rem; color: var(--text);
  letter-spacing: .3px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--f-mono); font-size: .78rem;
  color: var(--text-2); padding: 7px 14px;
  border-radius: var(--r);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative; letter-spacing: .2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--text); background: rgba(255,255,255,0.05);
}
.nav-link.active { color: var(--lime); }
.nav-link.nav-cta {
  border: 1px solid var(--border-h); color: var(--lime);
  margin-left: 8px;
}
.nav-link.nav-cta:hover {
  background: var(--lime-dim);
  box-shadow: var(--shadow-lime);
}

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-2); font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t-fast); margin-left: 6px;
}
.theme-toggle:hover {
  border-color: var(--lime); color: var(--lime);
  background: var(--lime-dim);
}
.theme-toggle .fa-sun  { display: none; }
.theme-toggle .fa-moon { display: block; }
body.light .theme-toggle .fa-sun  { display: block; }
body.light .theme-toggle .fa-moon { display: none; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: 4px;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}
.burger.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── ORBS ────────────────────────────────────── */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(100px); opacity: .6;
}
.orb-1 {
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(212,255,26,.06) 0%, transparent 70%);
  top: 5%; right: 0;
  animation: orbDrift1 18s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,85,51,.05) 0%, transparent 70%);
  bottom: 0; left: 0;
  animation: orbDrift2 22s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(-40px, 30px); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(30px,-20px); }
}

/* ─── HERO ────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden;
}

#helix-canvas {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
#helix-canvas.ready { opacity: 1; }

.hero-content {
  position: relative; z-index: 1;
  width: min(90%, var(--max-w));
  margin: 0 auto; padding: 80px 20px;
  max-width: 65%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .75rem;
  color: var(--lime); background: var(--lime-dim);
  border: 1px solid rgba(212,255,26,.2);
  padding: 6px 16px; border-radius: var(--r-full);
  margin-bottom: 28px; letter-spacing: .3px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--lime); border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,255,26,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(212,255,26,0); }
}

/* HERO TITLE — THE CENTREPIECE */
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.6rem, 11vw, 10rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .lw   { display: inline-block; }

.hero-title .line--serif {
  font-family: var(--f-body);
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  font-size: .62em;
  opacity: .7;
  margin-left: 4px;
}
.hero-title .line--accent .lw {
  background: linear-gradient(90deg, var(--lime) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: clamp(.9rem,1.6vw,1.2rem);
  color: var(--text-2); margin-bottom: 22px;
}
.sub-dash  { color: var(--lime); }
.sub-role  { color: var(--text); }
.sub-cursor {
  color: var(--lime);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-desc {
  max-width: 520px; color: var(--text-2);
  font-size: 1.05rem; line-height: 1.8; margin-bottom: 40px;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

/* CTA Buttons */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r);
  font-family: var(--f-mono); font-size: .83rem; font-weight: 500;
  letter-spacing: .3px; cursor: pointer; border: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08); opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--lime); color: #000; font-weight: 700;
  box-shadow: 0 4px 24px rgba(212,255,26,.25);
}
.btn-primary:hover { box-shadow: 0 8px 36px rgba(212,255,26,.4); }
.btn-arrow { font-size: 1.1em; transition: transform var(--t-fast); }
.btn:hover .btn-arrow { transform: translate(2px,-2px); }
.btn-outline {
  background: transparent; border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--lime); background: var(--lime-dim); color: var(--lime); }

/* Stats */
.hero-numbers {
  display: flex; align-items: center; gap: 0;
}
.h-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 32px;
}
.h-stat:first-child { padding-left: 0; }
.h-num {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.h-plus { font-size: .7em; }
.h-lbl {
  font-family: var(--f-mono); font-size: .68rem;
  color: var(--text-3); letter-spacing: 1px; text-transform: uppercase;
}
.h-divider {
  width: 1px; height: 40px;
  background: var(--border); margin-right: 32px; flex-shrink: 0;
}

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: scFade 1s 2.5s ease-out both;
}
@keyframes scFade {
  from { opacity:0; transform: translateX(-50%) translateY(10px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.sc-text {
  font-family: var(--f-mono); font-size: .58rem;
  color: var(--text-3); letter-spacing: 3px;
  writing-mode: vertical-lr; transform: rotate(180deg);
}
.sc-track {
  width: 1px; height: 52px;
  background: var(--border); overflow: hidden; border-radius: 2px;
}
.sc-thumb {
  width: 100%; height: 50%;
  background: var(--lime); border-radius: 2px;
  animation: scSlide 2s ease-in-out infinite;
}
@keyframes scSlide {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ─── SECTIONS ────────────────────────────────── */
.section { padding: 128px 0; position: relative; }

.s-bg-num {
  position: absolute; top: 40px; right: -20px;
  font-family: var(--f-display); font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900; color: var(--text);
  opacity: .025; line-height: 1; pointer-events: none;
  user-select: none; letter-spacing: -0.06em;
}

.s-eyebrow {
  display: block; font-family: var(--f-mono); font-size: .7rem;
  color: var(--lime); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 20px;
}

.s-title {
  font-family: var(--f-display); font-size: clamp(2rem,4.5vw,3.5rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.0;
  margin-bottom: 72px; text-transform: uppercase;
}
.s-title em {
  font-family: var(--f-body); font-style: italic;
  font-weight: 300; text-transform: none; font-size: .85em;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── ABOUT ───────────────────────────────────── */
.s-about {
  background: radial-gradient(ellipse 70% 60% at 5% 50%, rgba(212,255,26,.03) 0%, transparent 60%);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-lead {
  font-size: 1.2rem; font-weight: 500;
  color: var(--heading); margin-bottom: 20px; line-height: 1.65;
}
.about-body {
  font-size: 1rem; color: var(--text-2);
  line-height: 1.85; margin-bottom: 36px;
}
.about-body strong { color: var(--text); font-weight: 600; }

.skills-label {
  font-family: var(--f-mono); font-size: .65rem;
  color: var(--text-3); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 20px;
}
.skill-cats { display: flex; flex-direction: column; gap: 20px; }
.scat-name {
  display: block; font-family: var(--f-mono); font-size: .65rem;
  color: var(--orange); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}
.scat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag {
  font-family: var(--f-mono); font-size: .72rem;
  padding: 4px 12px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); transition: var(--t-fast); cursor: default;
}
.stag:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); transform: translateY(-1px); }
.stag--accent { border-color: rgba(255,85,51,.25); color: var(--orange); background: var(--orange-dim); }
.stag--accent:hover { background: rgba(255,85,51,.18); border-color: var(--orange); }

/* Code terminal */
.code-terminal {
  background: #090909; border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--t);
}
.code-terminal:hover {
  box-shadow: var(--shadow), var(--shadow-lime);
  border-color: rgba(212,255,26,.12);
}
body.light .code-terminal { background: #111214; }

.ct-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ct-dots { display: flex; gap: 6px; }
.ct-dot  { width: 11px; height: 11px; border-radius: 50%; }
.ct-red   { background: #ff5f57; }
.ct-amber { background: #febc2e; }
.ct-green { background: #28c840; }
.ct-title {
  flex: 1; text-align: center; font-family: var(--f-mono);
  font-size: .68rem; color: rgba(255,255,255,.2);
}
.ct-shell {
  font-family: var(--f-mono); font-size: .62rem;
  color: var(--lime); opacity: .5; letter-spacing: 1px;
}
.ct-body { padding: 20px 22px; font-family: var(--f-mono); font-size: .82rem; line-height: 1.7; }
.ct-prompt { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-bottom: 10px; }
.ct-user  { color: #c3e88d; }
.ct-at    { color: rgba(255,255,255,.3); }
.ct-host  { color: #82aaff; }
.ct-sep   { color: rgba(255,255,255,.3); }
.ct-path  { color: #82aaff; }
.ct-dollar { color: rgba(255,255,255,.3); margin-right: 6px; }
.ct-cmd   { color: var(--text-2); }
.ct-next  { margin-top: 12px; margin-bottom: 0; }
.ct-cursor-blink {
  color: var(--lime); opacity: .9;
  animation: blink 1s step-end infinite;
}
.ct-output {
  font-family: var(--f-mono); font-size: .82rem; line-height: 1.7;
  white-space: pre; overflow-x: auto;
}
.c-brace { color: #89ddff; }
.c-key   { color: #f07178; }
.c-col   { color: #89ddff; }
.c-str   { color: #c3e88d; }
.c-p     { color: #89ddff; }
.c-bool  { color: var(--lime); }

/* ─── TILT CARD ───────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .1s var(--ease-out);
}

/* ─── PROJECTS / BENTO ────────────────────────── */
.s-projects {
  background: radial-gradient(ellipse 60% 60% at 95% 50%, rgba(255,85,51,.04) 0%, transparent 60%);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.bento--featured { grid-column: span 7; }
.bento-item:not(.bento--featured) { grid-column: span 5; }

@media (max-width: 1024px) {
  .bento--featured { grid-column: span 12; }
  .bento-item:not(.bento--featured) { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento-item:not(.bento--featured) { grid-column: span 12; }
}

.bento-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-fast);
  display: flex; flex-direction: column;
  position: relative;
}
.bento-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease); z-index: 1;
}
.bento-item[data-color="lime"]::before   { background: var(--lime); }
.bento-item[data-color="orange"]::before { background: var(--orange); }
.bento-item[data-color="violet"]::before { background: var(--violet); }

.bento-item:hover::before { transform: scaleX(1); }
.bento-item:hover {
  border-color: rgba(212,255,26,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 30px rgba(212,255,26,.06);
}

.bento-visual {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.bento--featured .bento-visual { height: 200px; }
.bento-item:not(.bento--featured) .bento-visual { height: 130px; }

.bv--1 { background: linear-gradient(135deg, #0a0a0a 0%, #0f1a00 100%); }
.bv--2 { background: linear-gradient(135deg, #0a0a0a 0%, #1a0800 100%); }
.bv--3 { background: linear-gradient(135deg, #0a0a0a 0%, #1a0020 100%); }

.bv-icon {
  font-size: 2.8rem; position: relative; z-index: 1;
  animation: iconFloat 7s ease-in-out infinite;
}
.bv--1 .bv-icon { color: var(--lime); filter: drop-shadow(0 0 20px var(--lime-glow)); }
.bv--2 .bv-icon { color: var(--orange); filter: drop-shadow(0 0 20px var(--orange-dim)); }
.bv--3 .bv-icon { color: var(--violet); filter: drop-shadow(0 0 20px var(--violet-dim)); }

@keyframes iconFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-7px) rotate(2deg); }
  66%      { transform: translateY(3px) rotate(-1deg); }
}
.bv-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,255,26,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212,255,26,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.bv-glow {
  position: absolute; width: 120px; height: 120px;
  border-radius: 50%; filter: blur(50px); opacity: .3;
}
.bv--1 .bv-glow { background: var(--lime); }
.bv--2 .bv-glow { background: var(--orange); }
.bv--3 .bv-glow { background: var(--violet); }

.bento-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.bento-head {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 10px;
}
.bento-num {
  font-family: var(--f-mono); font-size: .62rem;
  color: var(--text-3); letter-spacing: 1px;
}
.bento-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono); font-size: .62rem;
  color: #4ade80; background: rgba(74,222,128,.07);
  border: 1px solid rgba(74,222,128,.18);
  padding: 2px 9px; border-radius: var(--r-full);
}
.live-dot {
  width: 5px; height: 5px; background: #4ade80; border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
.bento-title {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 10px; color: var(--heading);
}
.bento-desc {
  font-size: .88rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 16px; flex: 1;
}
.bento-tags {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px;
}
.bento-tags li {
  font-family: var(--f-mono); font-size: .65rem;
  padding: 3px 9px; border-radius: var(--r-full);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text-3);
}
.bento-links { display: flex; gap: 8px; }
.bl-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: .75rem;
  padding: 8px 16px; border-radius: var(--r);
  border: 1px solid var(--border); color: var(--text-2);
  background: rgba(255,255,255,.03); transition: var(--t-fast);
}
.bl-link:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); transform: translateY(-1px); }
.bl-primary {
  background: var(--lime); color: #000; border-color: transparent; font-weight: 700;
}
.bl-primary:hover { box-shadow: 0 4px 20px rgba(212,255,26,.3); background: var(--lime); color: #000; transform: translateY(-2px); }

.bl-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--r);
  border: 1px solid var(--border); color: var(--text-2);
  background: rgba(255,255,255,.03); transition: var(--t-fast);
  font-size: .82rem;
}
.bl-icon:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); transform: translateY(-1px); }
.bl-icon-primary { background: var(--lime); color: #000; border-color: transparent; }
.bl-icon-primary:hover { box-shadow: 0 4px 16px rgba(212,255,26,.3); transform: translateY(-2px); }

/* ─── CERTIFICATIONS ──────────────────────────── */
.s-certs {
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,85,51,.03) 0%, transparent 60%);
}
.certs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

.cert-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.cert-card:hover {
  border-color: rgba(212,255,26,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), var(--shadow-lime);
}
.cert-card--pending {
  border-style: dashed; opacity: .8;
}

.cert-img-wrap {
  position: relative; height: 210px; overflow: hidden;
  background: #0a0a0a; cursor: pointer;
}
.cert-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t);
}
.cert-card:hover .cert-img-wrap img { transform: scale(1.04); }
.cert-zoom-overlay {
  position: absolute; inset: 0;
  background: rgba(6,6,6,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t);
  font-size: 1.4rem; color: var(--lime);
}
.cert-card:hover .cert-zoom-overlay { opacity: 1; }

.cert-pending-visual {
  height: 210px; position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d100a 100%);
  display: flex; align-items: center; justify-content: center;
}
.cpv-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(212,255,26,.08); border: 1px solid rgba(212,255,26,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--lime); position: relative; z-index: 1;
}
.cpv-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cpv-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(212,255,26,.12);
}
.cpv-r1 { width: 110px; height: 110px; animation: ringPulse 3s ease-out infinite; }
.cpv-r2 { width: 160px; height: 160px; animation: ringPulse 3s ease-out infinite .8s; }
.cpv-r3 { width: 210px; height: 210px; animation: ringPulse 3s ease-out infinite 1.6s; }
@keyframes ringPulse {
  0%   { transform: scale(.8); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

.cert-info { padding: 22px; }
.cert-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono); font-size: .65rem;
  padding: 3px 10px; border-radius: var(--r-full);
}
.cert-badge--ok {
  color: #4ade80; background: rgba(74,222,128,.07);
  border: 1px solid rgba(74,222,128,.2);
}
.cert-badge--pending {
  color: var(--lime); background: var(--lime-dim);
  border: 1px solid rgba(212,255,26,.2);
}
.cert-yr { font-family: var(--f-mono); font-size: .65rem; color: var(--text-3); }
.cert-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.cert-desc { font-size: .85rem; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.cert-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.cert-skills span {
  font-family: var(--f-mono); font-size: .63rem;
  padding: 2px 8px; border-radius: var(--r-full);
  background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text-3);
}

/* Cert modal */
.cert-modal {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(0,0,0,.92); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: modalIn .3s var(--ease);
}
.cert-modal[hidden] { display: none; }
@keyframes modalIn { from { opacity:0; } to { opacity:1; } }
.cert-modal-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,.8);
  animation: modalImgIn .4s var(--ease);
}
@keyframes modalImgIn {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cert-modal-close {
  position: fixed; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: white; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t-fast);
}
.cert-modal-close:hover { background: rgba(255,255,255,.2); }

/* ─── CONTACT ─────────────────────────────────── */
.s-contact {
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(212,255,26,.03) 0%, transparent 60%);
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.contact-title {
  font-family: var(--f-display);
  font-size: clamp(2rem,4.5vw,3.8rem);
  font-weight: 900; letter-spacing: -.04em;
  text-transform: uppercase; margin: 16px 0 20px;
}
.contact-title em {
  font-family: var(--f-body); font-style: italic; font-weight: 300;
  text-transform: none; font-size: .8em;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.contact-body { color: var(--text-2); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.contact-meta { display: flex; flex-direction: column; gap: 20px; }
.avail-indicator {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .72rem; color: var(--text-2);
}
.avail-dot {
  width: 7px; height: 7px; background: #4ade80; border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.c-social {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: .75rem;
  padding: 9px 18px; border-radius: var(--r);
  border: 1px solid var(--border); color: var(--text-2);
  background: rgba(255,255,255,.03); transition: var(--t-fast);
}
.c-social:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); transform: translateY(-2px); }

.contact-email-block {
  display: block; padding: 36px 40px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); position: relative; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.contact-email-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.contact-email-block:hover {
  border-color: rgba(212,255,26,.25);
  box-shadow: var(--shadow-lime);
  transform: translateY(-3px);
}
.ceb-label {
  display: block; font-family: var(--f-mono); font-size: .65rem;
  color: var(--text-3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.ceb-addr {
  display: block; font-family: var(--f-mono);
  font-size: clamp(1rem,2.2vw,1.4rem);
  color: var(--lime); font-weight: 500; word-break: break-all;
}
.ceb-arrow {
  position: absolute; top: 36px; right: 40px;
  font-size: 1.4rem; color: var(--lime); opacity: .4;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.contact-email-block:hover .ceb-arrow { transform: translate(3px,-3px); opacity: 1; }

/* ─── FOOTER ──────────────────────────────────── */
.footer { padding: 28px 0; border-top: 1px solid var(--border); background: var(--bg2); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-l, .footer-r {
  font-family: var(--f-mono); font-size: .7rem; color: var(--text-3);
}
.footer-name { color: var(--lime); }
.heart { display: inline-block; color: var(--orange); animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ─── MOBILE MENU ─────────────────────────────── */
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-list {
    position: fixed; inset: 0;
    background: rgba(6,6,6,.97); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 8px; transform: translateX(100%);
    transition: transform .4s var(--ease); z-index: 999;
  }
  body.light .nav-list { background: rgba(245,242,236,.97); }
  .nav-list.open { transform: translateX(0); }
  .nav-link { font-size: 1.3rem; padding: 12px 24px; }
  .nav-link.nav-cta { margin-top: 16px; }
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .contact-inner { gap: 48px; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 88px 0; }
  .hero-content { max-width: 100%; }
  .certs-grid { grid-template-columns: 1fr; }
  .hero-numbers { flex-wrap: wrap; gap: 20px; }
  .h-divider { display: none; }
  .h-stat { padding-right: 0; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-email-block { padding: 24px; }
}

/* ─── REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .orb { animation: none; }
  .tilt-card { transform: none !important; }
  .cursor-ring, .cursor-dot { display: none !important; }
  .hero-title .lw { opacity: 1; transform: none; }
}
