:root {
  color-scheme: light;
  --ink: #202423;
  --muted: #5c6663;
  --paper: #f3f5f4;
  --panel: #ffffff;
  --line: #d2dad6;
  --accent: #1f6f78;
  --accent-strong: #164e55;
  --focus: #d49a22;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 72px 0;
}

.intro {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 12vw, 6.75rem);
  line-height: 0.95;
  font-weight: 800;
}

.lede {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.projects {
  padding-top: 44px;
}

h2 {
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project + .project {
  margin-top: 24px;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.project p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-link,
.primary-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.project-link:hover,
.primary-link:hover {
  background: var(--accent-strong);
}

.project-link:focus-visible,
.primary-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.not-found-panel {
  width: 100%;
  padding-bottom: 0;
  border-bottom: 0;
}

.not-found .lede {
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 24px, 760px);
    padding: 48px 0;
  }

  .project {
    align-items: stretch;
    flex-direction: column;
  }

  .project-link {
    width: 100%;
  }
}
