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

:root {
  --background: oklch(0.15 0.06 260);
  --foreground: oklch(0.98 0 0);
  --card: oklch(0.2 0.07 260);
  --card-foreground: oklch(0.98 0 0);
  --muted-foreground: oklch(0.65 0.03 260);
  --border: oklch(1 0 0 / 0.15);
  --radius: 0.625rem;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.5;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

main {
  flex: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
}

.avatar {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 2px solid #fff;
  object-fit: cover;
  object-position: center;
}

.projects-grid {
  display: grid;
  gap: 1rem;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: oklch(1 0 0 / 0.4);
}

.card span {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--foreground);
}

.project-title {
  margin-top: 2rem;
}

footer {
  border-top: 1px solid var(--border);
}

footer p {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .avatar {
    width: 10rem;
    height: 10rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
