:root {
  color: #2d2521;
  background: #f5ead7;
  font-family:
    Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgb(255 255 255 / 70%), transparent 28rem),
    linear-gradient(145deg, #f8efdf 0%, #efd8c4 100%);
}

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 40px;
}

.hero {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8a4f3d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 10vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 620px;
  margin-bottom: 72px;
  color: #66574f;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.count {
  color: #8a7b72;
  font-size: 0.9rem;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgb(83 56 44 / 13%);
  border-radius: 28px;
  background: rgb(255 253 248 / 78%);
  box-shadow: 0 24px 70px rgb(94 57 39 / 12%);
  backdrop-filter: blur(14px);
}

.project-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform,
.status {
  padding: 7px 10px;
  border-radius: 999px;
}

.platform {
  color: #725d50;
  background: #f0e2d2;
}

.status {
  color: #365d3b;
  background: #dcebd9;
}

h3 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.project-copy > p {
  max-width: 600px;
  margin-bottom: 0;
  color: #6b5e56;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  color: #fff;
  background: #8a4f3d;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 150ms ease,
    background 150ms ease;
}

.project-link:hover {
  background: #713e2f;
  transform: translateY(-2px);
}

.project-link:focus-visible {
  outline: 3px solid #d39a72;
  outline-offset: 3px;
}

footer {
  padding-top: 48px;
  color: #8a7b72;
  font-size: 0.86rem;
}

@media (max-width: 680px) {
  .shell {
    padding-top: 64px;
  }

  .lead {
    margin-bottom: 52px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  .project-link {
    transition: none;
  }
}
