:root {
  color: #202124;
  background: #f6f3ee;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 76px 0;
}

.intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #6d5f4f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #121314;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #555b60;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.project-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  border: 1px solid #d7d1c7;
  border-radius: 8px;
  padding: 24px;
  background: #fffdf9;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.project-card strong {
  color: #17191c;
  font-size: 1.45rem;
  line-height: 1.2;
}

.project-card span:last-child {
  color: #596069;
  line-height: 1.55;
}

.project-type {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ecf0f1;
  color: #475159;
  font-size: 0.78rem;
  font-weight: 700;
}

.featured {
  border-color: #b9c8ba;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 70%)),
    #dfe8dc;
}

.featured:hover,
.featured:focus-visible {
  border-color: #57735e;
  box-shadow: 0 18px 40px rgb(61 78 66 / 16%);
  transform: translateY(-3px);
  outline: none;
}

.muted {
  opacity: 0.72;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 1120px);
    padding: 44px 0;
  }

  .project-card {
    min-height: 190px;
    padding: 20px;
  }
}
