:root {
  --bg: #0f1115;
  --bg-card: #181b22;
  --border: #262a33;
  --text: #e6e9ef;
  --text-dim: #9aa3b2;
  --accent: #5b9dff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  font-size: 3.5rem;
  line-height: 1;
}

.hero h1 {
  margin: 0.75rem 0 0.25rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  flex: 1;
}

.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card--placeholder {
  text-align: center;
  border-style: dashed;
  grid-column: 1 / -1;
}

.footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
