:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #94a3b8;
  --brand: #2563eb;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --content-width: 640px;
  --header-height: 56px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --bg-alt: #18181b;
    --border: #3f3f46;
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --text-subtle: #71717a;
    --brand: #3b82f6;
  }
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  width: min(100% - 2.5rem, var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  font-weight: 600;
  font-size: 0.9375rem;
}

.header-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

main {
  flex: 1;
  padding-bottom: 3rem;
}

.hero {
  padding: 4rem 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.projects {
  padding-top: 0.5rem;
}

.section-title {
  margin: 0 0 1rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
  transition: border-color 0.2s, background-color 0.2s;
}

.project-card:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--bg-alt) 80%, var(--brand) 5%);
}

.project-card:hover .project-arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.project-body {
  flex: 1;
  min-width: 0;
}

.project-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.project-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.project-arrow {
  flex-shrink: 0;
  color: var(--text-subtle);
  font-size: 1.125rem;
  transition: color 0.2s, transform 0.2s;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
}

.footer-inner p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.875rem;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-inner a:hover {
  color: var(--brand);
}
