:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #152028;
  --muted: #66727d;
  --line: #dce3e9;
  --accent: #0f766e;
  --accent-soft: #e1f3ef;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

.shell {
  width: min(760px, calc(100% - 32px));
  padding: 56px 0;
}

.intro {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.links {
  display: grid;
  gap: 12px;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 46px rgba(21, 32, 40, 0.09);
  color: inherit;
  text-decoration: none;
}

.project:hover,
.project:focus-visible {
  border-color: rgba(15, 118, 110, 0.45);
  outline: 0;
  background: var(--panel);
}

.project strong,
.project small {
  display: block;
}

.project strong {
  font-size: 1.05rem;
}

.project small {
  margin-top: 4px;
  color: var(--muted);
}

.project > span:last-child {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
}

@media (max-width: 560px) {
  body {
    place-items: start center;
  }

  .shell {
    padding-top: 40px;
  }

  .project {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .project > span:last-child {
    width: fit-content;
  }
}
