* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #f6f6f4;
  background: #0c0c0b;
  min-height: 100vh;
}

#bg { position: fixed; inset: 0; z-index: -1; }

a { color: #f6f6f4; text-decoration: none; transition: color 0.2s; }
a:hover {  color: #d97757;  }

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  margin-bottom: 36px;
  background: rgba(20, 20, 19, 0.66);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
}

.brand { font-family: ui-monospace, monospace; font-weight: 600; font-size: 15px; }

/* 999px like how my dih is 999 inches long */
.tabs {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 4px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
}

.tabs a {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: #a5a49a;
  transition: color 0.18s ease, background 0.18s ease;
}

.tabs a:hover { color: #d97757; }
.tabs a.on { color: #d97757; }

.page { flex: 1; }
.page.swap-in { animation: rise 0.28s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.hero { padding: 36px 4px 12px; }

.hero h1 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.05;
}

.tag { margin-top: 14px; font-size: 18px; max-width: 440px; color: #c3c2b7; }

.visits { margin: 6px 4px 0; font-family: ui-monospace, monospace; font-size: 13px; color: #a5a49a; }

.block {
  margin: 18px 4px;
  padding: 22px 24px;
  background: rgba(20, 20, 19, 0.66);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
}

.block h2 {
  margin-bottom: 12px;
  font-family: ui-monospace, monospace;
  font-size: 20px;
  text-transform: lowercase;
  color: #a5a49a;
}

.block p { margin-bottom: 12px; color: #c3c2b7; }
.block p:last-child { margin-bottom: 0; }
.muted { color: #a5a49a; }

ul { list-style: none; }

.projects li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.projects li:first-child { padding-top: 0; border-top: none; }
.projects li:last-child { padding-bottom: 0; }
.projects a { font-size: 18px; font-weight: 500; color: #f6f6f4; transition: color 0.18s ease; }
.projects a:hover { color: #d97757; }
.note { display: block; margin-top: 3px; font-size: 14px; color: #a5a49a; }
.projects + .muted { margin-top: 22px; }

.links li { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.links li:first-child { padding-top: 0; border-top: none; }
.links a { color: #c3c2b7; transition: color 0.18s ease; }
.links a:hover { color: #d97757; }

@media (max-width: 520px) {
  .nav { flex-direction: column; gap: 12px; border-radius: 10px; }
  .hero h1 { font-size: 32px; }
}
