/* ================= TOKENS ================= */
:root {
  --bg: #070b14;
  --bg-2: #0a1020;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e8ecf4;
  --muted: #8b95a9;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --amber: #fbbf24;
  --grad: linear-gradient(100deg, #22d3ee 0%, #8b5cf6 55%, #f472b6 100%);
  --radius: 20px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* subtle grid */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: .5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139, 92, 246, .13), transparent 65%);
  transform: translate(-50%, -50%); left: -600px; top: -600px; transition: opacity .3s;
}

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100% - 1180px) / 2));
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 11, 20, .78); backdrop-filter: blur(14px); padding-block: 12px; border-color: var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #070b14; font-weight: 700; font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { color: var(--text); padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .2s, background .2s; }
.nav-links .nav-cta:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--text); margin-inline: auto; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
#circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, transparent 0%, var(--bg) 80%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin-inline: auto; padding: 120px 0 80px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 11, 20, .6); backdrop-filter: blur(6px); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-title { font-family: var(--display); font-size: clamp(48px, 9vw, 112px); line-height: .98; letter-spacing: -0.04em; margin: 26px 0 18px; font-weight: 700; }
.hero-role { font-size: clamp(17px, 2.3vw, 24px); color: var(--cyan); min-height: 1.6em; }
.caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-desc { max-width: 640px; margin-top: 18px; color: #b7c0d1; font-size: clamp(15.5px, 1.6vw, 18px); }
.hero-desc strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--grad); color: #070b14; box-shadow: 0 10px 40px -10px rgba(139, 92, 246, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(139, 92, 246, .9); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(7, 11, 20, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px; max-width: 880px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hero-stats li { background: rgba(7, 11, 20, .82); backdrop-filter: blur(8px); padding: 20px 22px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 32px; line-height: 1.1; font-weight: 700; }
.hero-stats b i { font-style: normal; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; z-index: 2; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); transform: translateX(-50%); animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 24px; } }

/* ================= SECTIONS ================= */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
h2, .section-title { font-family: var(--display); font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 17px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: #c3cad8; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ================= ABOUT ================= */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about-photo { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.photo-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; padding: 2px; background: var(--grad); }
.photo-frame img, .photo-placeholder { object-position: center 20%; width: 100%; height: 100%; border-radius: 26px; object-fit: cover; }
.photo-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #1a2340, #0a1020 70%); }
.photo-placeholder span { font-family: var(--display); font-size: 110px; font-weight: 700; letter-spacing: -0.05em; }
.photo-placeholder span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.photo-ring { position: absolute; inset: -18px; border: 1px dashed var(--line-2); border-radius: 36px; animation: spin 40s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip-float { position: absolute; padding: 9px 14px; border-radius: 12px; font-size: 13px; background: rgba(13, 20, 36, .9); border: 1px solid var(--line-2); backdrop-filter: blur(8px); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); animation: float 6s ease-in-out infinite; }
.chip-a { top: 10%; left: -24px; color: var(--amber); }
.chip-b { top: 46%; right: -30px; color: var(--violet); animation-delay: -2s; }
.chip-c { bottom: 8%; left: -10px; color: #34d399; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.about-text p:not(.eyebrow) { color: #b7c0d1; margin-top: 18px; font-size: 16.5px; }
.about-text strong { color: var(--text); }
.about-text h2 { font-size: clamp(28px, 3.8vw, 44px); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.mini-card { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.mini-card span { font-size: 14px; color: var(--muted); }
.mini-label { font-size: 11.5px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan) !important; margin-bottom: 6px; }
.mini-badge { align-self: flex-start; margin-top: 10px; font-family: var(--mono); font-size: 12px !important; padding: 3px 10px; border-radius: 999px; background: rgba(139, 92, 246, .14); color: #c4b5fd !important; }

/* ================= SKILLS ================= */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.skill-card {
  position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s, border-color .35s, background .35s;
}
.skill-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.skill-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.skill-card:hover::before { opacity: 1; }
.skill-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); margin-bottom: 18px; }
.skill-icon svg { width: 25px; height: 25px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skill-card h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.skill-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }

/* Buoy */
@keyframes sig { 0%, 100% { opacity: 0; } 30%, 60% { opacity: 1; } }
.buoy-svg .buoy { animation: bob 4s ease-in-out infinite; transform-origin: 200px 190px; }
@keyframes bob { 50% { transform: translateY(7px) rotate(2deg); } }
.buoy-svg .wave { animation: wave 6s linear infinite; }
.buoy-svg .w2 { animation-duration: 4s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-100px); } }

/* ================= PROJECTS ================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 30px; }
.filter { font: 500 14px var(--font); color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); border-color: var(--line-2); }
.filter.active { color: #070b14; background: var(--text); border-color: var(--text); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.project:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .45); box-shadow: 0 24px 60px -24px rgba(139, 92, 246, .45); }
.project.hide { display: none; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 12px; }
.project-cat { color: var(--cyan); }
.project-num { color: var(--muted); }
.project h3 { font-family: var(--display); font-size: 20px; line-height: 1.25; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.inline-logo { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; }
.project p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; flex: 1; }

/* thumbnails */
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1424; border-bottom: 1px solid var(--line); }
.thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.project:hover .thumb > img { transform: scale(1.05); }
.thumb-swap > img { object-position: center; }
.thumb-swap > img.alt { opacity: 0; }
.project:hover .thumb-swap > img.alt { opacity: 1; }
.thumb-device > img.phone { left: auto; right: 6%; top: 12%; bottom: auto; width: 26%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 12px; border: 4px solid #0b0d12; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.project:hover .thumb-device > img.phone { transform: translateY(-6px); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 20, .55)); pointer-events: none; }
.thumb-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 11px; padding: 5px 10px; border-radius: 999px; background: rgba(7, 11, 20, .78); border: 1px solid var(--line-2); backdrop-filter: blur(6px); color: #c3cad8; }
.thumb-badge.award { color: var(--amber); border-color: rgba(251, 191, 36, .4); }
.thumb-illu { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--t2), var(--t1) 70%); }
.thumb-illu > svg { width: 92%; height: 92%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project:hover .thumb-illu > svg { transform: scale(1.04); }
.blink { animation: blinkdot 1.4s infinite; }
@keyframes blinkdot { 50% { opacity: .2; } }
.draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 4s ease-in-out infinite; }
@keyframes draw { 50%, 100% { stroke-dashoffset: 0; } }
.dash { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -8; } }
.spin-slow { animation: spin 12s linear infinite; }
.sway path { transform-origin: bottom; animation: sway 4s ease-in-out infinite; }
.sway path:nth-child(2n) { animation-delay: -2s; }
@keyframes sway { 50% { transform: skewX(4deg); } }
.scan { animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateX(-70px); } 50% { transform: translateX(90px); } }
.pins path { animation: float 3s ease-in-out infinite; }
.pins path:nth-child(2) { animation-delay: -1s; } .pins path:nth-child(3) { animation-delay: -2s; }
.signal path { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: sig 2.4s infinite; }
.signal path:nth-child(2) { animation-delay: .3s; } .signal path:nth-child(3) { animation-delay: .6s; }

/* ================= EXPERIENCE ================= */
.exp-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 70px); }
.timeline { margin-top: 40px; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--violet), transparent); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.tl-date { font-size: 12.5px; color: var(--cyan); }
.tl-item h3 { font-family: var(--display); font-size: 22px; margin: 4px 0 10px; }
.tl-item h3 small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 400; }
.tl-item ul { list-style: none; display: grid; gap: 6px; }
.tl-item li { color: #b7c0d1; font-size: 15px; padding-left: 18px; position: relative; }
.tl-item li::before { content: "›"; position: absolute; left: 0; color: var(--violet); }
.org-col { display: grid; gap: 16px; align-content: start; }
.org-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.org-card .mini-label { display: block; }
.org { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.org:last-child { border: 0; padding-bottom: 0; }
.org span { font-size: 13.5px; color: var(--muted); }
.org em { font-style: normal; font-size: 13.5px; color: #c4b5fd; margin-top: 2px; }
.award-card { background: linear-gradient(135deg, rgba(251, 191, 36, .1), rgba(139, 92, 246, .06)); border-color: rgba(251, 191, 36, .25); }
.award-card b { display: block; font-family: var(--display); font-size: 18px; margin: 4px 0 8px; }
.award-card p { font-size: 14px; color: var(--muted); }

/* ================= TECH STACK ================= */
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 46px; }
.stack-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.stack-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.stack-card:first-child { grid-column: 1 / -1; }
.stack-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.stack-card h3 small { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.stack-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.tools { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tool { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; transition: transform .25s, border-color .25s, background .25s; }
.tool:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.tool-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.06); flex-shrink: 0; }
.tool-ic img { width: 22px; height: 22px; object-fit: contain; }
.tool-txt { font-family: var(--mono); font-weight: 700; font-size: 12px; }
img.inv { filter: invert(1); }

/* ================= MARQUEE ================= */
.marquee-section { padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 12px; animation: marquee 70s linear infinite; }
.logo-pill { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; color: #c3cad8; padding: 9px 18px 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.logo-pill img { width: 22px; height: 22px; object-fit: contain; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* secret project card */
.project-secret { border: 1.5px dashed var(--line-2); background: repeating-linear-gradient(135deg, rgba(139,92,246,.05) 0 12px, transparent 12px 24px), var(--surface); }
.secret-inner { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 30px 26px; }
.secret-lock { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); margin-bottom: 20px; box-shadow: 0 12px 30px -10px rgba(139,92,246,.7); }
.secret-lock svg { width: 28px; height: 28px; fill: none; stroke: #070b14; stroke-width: 2; stroke-linecap: round; }
.project-secret .project-cat { font-size: 12px; margin-bottom: 8px; }
.project-secret h3 { font-size: 22px; }
.secret-cta { align-self: flex-start; font-weight: 600; font-size: 14.5px; color: var(--cyan); }
.secret-cta:hover { text-decoration: underline; }

/* ================= CONTACT ================= */
.contact-card { position: relative; text-align: center; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 60px); border-radius: 32px; background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .22), transparent 60%), var(--surface); border: 1px solid var(--line-2); overflow: hidden; }
.contact-card h2 { font-size: clamp(28px, 4.4vw, 50px); }
.contact-card > p.muted { margin-top: 14px; font-size: 17px; }
.contact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; text-align: left; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(7, 11, 20, .6); border: 1px solid var(--line); transition: border-color .2s, transform .2s; min-width: 0; }
.contact-link:hover { border-color: var(--cyan); transform: translateY(-3px); }
.contact-link > span:last-child { display: flex; flex-direction: column; font-size: 14.5px; overflow-wrap: anywhere; min-width: 0; }
.contact-link small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.cl-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 211, 238, .12); }
.cl-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.footer { padding: 30px 0; border-top: 1px solid var(--line); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-wrap { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 11, 20, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 10px 16px 20px; transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--line-2); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 300px; }
  .contact-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .skills-grid, .projects-grid, .about-cards { grid-template-columns: 1fr; }
  .chip-a { left: -6px; } .chip-b { right: -6px; } .chip-c { left: 0; }
  .hero-stats b { font-size: 26px; }
  .logo-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
