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

:root {
  --bg: #0f0f0f;
  --bg-subtle: #1a1a1a;
  --text: #faf9f0;
  --text-muted: #a8a8a0;
  --accent: #d97757;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

section {
  margin-bottom: 5rem;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Hero */
.hero {
  padding: 4rem 0 2rem;
  margin-bottom: 2rem;
}

.hero .role {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero .intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
}

.hero .focus {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero .meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Current Work Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--bg-subtle);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: #3a3a3a;
}

.card h3 {
  color: var(--text);
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.link {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.link:hover {
  text-decoration: underline;
}

.link::after {
  content: '\2192';
  transition: transform 0.2s ease;
}

.link:hover::after {
  transform: translateX(4px);
}

/* Background Highlights */
.highlights {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.highlight {
  border-left: 2px solid #2a2a2a;
  padding-left: 1.5rem;
}

.highlight-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.highlight-header h3 {
  margin-bottom: 0;
}

.period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.highlight p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Links */
.links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
