@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --primary: oklch(0.546 0.245 262.881);
  --border: oklch(0.922 0 0);
  --ring: oklch(0.546 0.245 262.881);
  --radius: 0.375rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

h1 {
  font-size: 2.25rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.subheading {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0.75rem 0 0;
}

section {
  margin-top: 3.5rem;
}

h2 {
  font-size: 0.8125rem;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

.bio p {
  margin: 0 0 1rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.375rem;
}

.projects li {
  margin-bottom: 0.75rem;
}

.projects strong {
  font-weight: 600;
}

.projects strong::after {
  content: ".";
}

.work {
  margin: 3rem 0 0;
}

.work img {
  display: block;
  width: 100%;
  height: auto;
}

.work figcaption {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.logo-line {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  align-items: center;
  gap: 2rem 2.5rem;
}

.logo-line li {
  margin: 0;
  min-width: 0;
}

.logo {
  display: flex;
  max-width: 100%;
  color: var(--muted-foreground);
}

.logo svg {
  height: calc(var(--logo-height, 1.5rem) * var(--logo-scale, 1));
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 30rem) {
  .logo-line {
    gap: 1.75rem;
    --logo-scale: 0.85;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius);
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 40%, transparent);
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

footer p {
  margin: 0;
}
