:root {
  --bg: #0a0e14;
  --panel: #111823;
  --line: #1e2a3a;
  --text: #dbe4f0;
  --muted: #8295ab;
  --accent: #39d98a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; padding-bottom: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .5px; text-decoration: none; color: var(--text);
  font-size: 15px;
}
.brand-mark { width: 32px; height: 32px; object-fit: cover; border-radius: 7px; }
.brand-text b { color: var(--accent); margin-left: 6px; font-weight: 800; }
.nav nav a {
  color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 14px;
}
.nav nav a:hover { color: var(--text); }

.hero { padding: 60px 20px 90px; }
.hero-logo {
  width: 190px; height: 190px; object-fit: cover; display: block; margin: 0 0 28px;
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(57, 217, 138, .08);
}
.kicker { color: var(--accent); font-family: ui-monospace, monospace; font-size: 13px; letter-spacing: 1px; }
h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.05; margin: 18px 0 20px; letter-spacing: -1px; }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; }
.btn {
  display: inline-block; margin-top: 30px; padding: 12px 22px;
  background: var(--accent); color: #05140c; font-weight: 700; text-decoration: none;
  border-radius: 8px; font-size: 15px;
}
.btn:hover { filter: brightness(1.08); }

section h2 { font-size: 24px; margin-bottom: 26px; }
#projects { padding: 30px 20px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column;
}
.tag {
  align-self: flex-start; font-family: ui-monospace, monospace; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; flex-grow: 1; margin-bottom: 16px; }
.link { color: var(--accent); text-decoration: none; font-size: 14px; }
.link:hover { text-decoration: underline; }

.about { padding: 60px 20px; }
.about p { color: var(--muted); max-width: 620px; margin-bottom: 14px; }

footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding: 26px 20px; margin-top: 40px;
  color: var(--muted); font-size: 13px;
}
@media (max-width: 520px) {
  .nav nav a { margin-left: 14px; }
  footer { flex-direction: column; gap: 10px; }
}
