:root {
  color-scheme: light;
  --ink: #182033;
  --muted: #647084;
  --paper: #ffffff;
  --line: #d9e0ea;
  --field: #f3f7fb;
  --blue: #2b6cb0;
  --teal: #0f766e;
  --coral: #c2410c;
  --gold: #b7791f;
  --shadow: 0 18px 46px rgba(24, 38, 64, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(183, 121, 31, 0.12), transparent 38%),
    var(--field);
  color: var(--ink);
}

.home-shell {
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.intro {
  max-width: 720px;
  padding: 12px 0 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 3rem;
  line-height: 1;
}

.summary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}

.project-card {
  display: grid;
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(43, 108, 176, 0.62);
  box-shadow: 0 22px 52px rgba(24, 38, 64, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.project-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-title {
  align-self: end;
  margin-top: 34px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
}

.project-description {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.project-link {
  align-self: end;
  width: fit-content;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 620px) {
  .home-shell {
    width: min(100vw - 20px, 1080px);
    padding: 22px 0;
  }

  .intro {
    padding-bottom: 20px;
  }

  h1 {
    font-size: 2.25rem;
  }
}
