:root {
  --bg: #0d0d0f;
  --bg-alt: #131316;
  --border: #232327;
  --text: #f2f2f2;
  --muted: #9a9aa2;
  --accent: #4fd1c5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 15, 0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo { font-weight: 700; }

.nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav nav a {
  color: var(--muted);
  font-size: 14px;
}

.nav nav a:hover { color: var(--text); }

.github-home {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color 160ms ease, background 160ms ease;
}

.github-home:hover { border-color: var(--accent); background: var(--bg-alt); }
.github-home:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.github-home img { display: block; width: 19px; height: 19px; }

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero { padding: 80px 0 48px; }

.status {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; }

.hero h1 { font-size: 64px; margin: 12px 0 8px; font-weight: 800; letter-spacing: -1px; }
.hero h2 { font-size: 18px; font-weight: 600; color: var(--text); margin: 0 0 16px; }
.lead { color: var(--muted); max-width: 600px; font-size: 16px; }
.cta { margin-top: 24px; display: flex; gap: 12px; }

.btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: #0d0d0f; border-color: var(--accent); }

section { padding: 48px 0; border-top: 1px solid var(--border); }
section h3 { font-size: 22px; margin-bottom: 20px; }

.interests {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  color: var(--muted);
}

.interests li::before { content: "- "; color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.card:hover { border-color: var(--accent); }
.card h4 { margin: 0 0 8px; font-size: 17px; }
.card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.tag { font-size: 12px; color: var(--accent); border: 1px solid var(--border); padding: 2px 8px; border-radius: 4px; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

.tool-card {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.tool-card:hover { border-color: #45454d; background: #19191d; transform: translateY(-2px); }
.tool-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.tool-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #202025;
  border: 1px solid #2a2a30;
  border-radius: 12px;
}

.tool-logo img { display: block; width: 26px; height: 26px; object-fit: contain; }
.tool-card[aria-label="Amazon Web Services website"] .tool-logo img { width: 34px; height: 24px; }
.tool-name { font-size: 15px; font-weight: 650; line-height: 1.3; }
.tool-arrow { margin-left: auto; color: var(--muted); font-size: 17px; transition: color 160ms ease, transform 160ms ease; }
.tool-card:hover .tool-arrow { color: var(--accent); transform: translate(2px, -2px); }

.job h4 { margin-bottom: 8px; }
.job ul, .working-on ul { color: var(--muted); padding-left: 20px; }
.contact .links { display: flex; gap: 20px; flex-wrap: wrap; }
.contact .links a { color: var(--accent); font-weight: 600; }

footer { text-align: center; padding: 32px 24px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .interests { grid-template-columns: 1fr; }
  .nav-inner { gap: 10px; padding: 14px 16px; }
  .nav nav { justify-content: flex-end; gap: 8px 12px; flex-wrap: wrap; }
  .nav nav a { font-size: 12px; }
  .github-home { width: 32px; height: 32px; flex-basis: 32px; }
  .github-home img { width: 17px; height: 17px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { min-height: 82px; gap: 10px; padding: 12px; }
  .tool-logo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
  .tool-logo img { width: 22px; height: 22px; }
  .tool-card[aria-label="Amazon Web Services website"] .tool-logo img { width: 30px; height: 21px; }
  .tool-name { font-size: 13px; }
}
