:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --border: #262a33;
  --text: #e7e9ee;
  --muted: #9aa2b1;
  --accent: #e0a458;
  --accent-soft: rgba(224, 164, 88, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  background: radial-gradient(1200px 600px at 50% -10%, #1a1e27 0%, var(--bg) 55%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 6rem) 1.5rem 3rem;
}

/* Hero */
.hero {
  text-align: center;
  padding-bottom: 3.5rem;
}

.mark {
  font-size: 3.25rem;
  line-height: 1;
  display: inline-block;
  animation: spin 14s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .mark { animation: none; }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin: 1rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 32ch;
}

/* Projects */
.projects h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
}

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

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

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

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

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

.card.is-soon {
  background: var(--accent-soft);
  border-style: dashed;
}

/* Footer */
.foot {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.dot {
  margin: 0 0.5rem;
  opacity: 0.5;
}
