.home-body {
  overflow-x: hidden;
  overflow-y: auto;
}

.public-home {
  width: 100%;
  min-height: 100vh;
  padding: 40px 24px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  color: #111;
  text-align: center;
  overflow: visible;
}

.public-content {
  width: 100%;
  max-width: 900px;
}

.public-logo {
  display: block;
  width: min(280px, 65vw);
  height: auto;
  margin: 0 auto 55px;
}

.public-home h1 {
  margin: 0 0 28px;
  color: #111;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 700;
}

.public-home h1 span {
  color: #777;
}

.public-description {
  max-width: 680px;
  margin: 0 auto;
  color: #666;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.public-pill {
  display: inline-block;
  margin-top: 42px;
  padding: 12px 23px;
  border: 1px solid #ddd;
  border-radius: 100px;
  background: #fafafa;
  color: #555;
  font-size: 14px;
  letter-spacing: .2px;
}

.public-experiences {
  width: min(100%, 900px);
  margin-top: 64px;
  text-align: left;
}

.public-section-label {
  margin: 0 0 16px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

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

.home-project-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fafafa;
  color: #111;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-project-card:hover,
.home-project-card:focus-visible {
  transform: translateY(-3px);
  border-color: #111;
  background: #fff;
  outline: none;
}

.home-project-card > span {
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-project-card strong {
  flex: 1;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.home-project-card small {
  color: #888;
  font-size: 12px;
}

.home-project-card small b {
  color: #111;
  font-size: 16px;
}

.public-home footer {
  position: static;
  width: 100%;
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  color: #aaa;
  font-size: 13px;
}

.public-footer-links {
  display: flex;
  gap: 20px;
}

.public-footer a {
  color: #777;
  text-decoration: none;
}

.public-footer a:hover {
  color: #111;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .public-home {
    padding: 30px 20px 80px;
  }

  .public-logo {
    width: min(230px, 65vw);
    margin-bottom: 42px;
  }

  .public-home h1 {
    font-size: clamp(38px, 11vw, 52px);
    letter-spacing: -1.8px;
  }

  .public-description {
    font-size: 16px;
    line-height: 1.6;
  }

  .public-pill {
    margin-top: 30px;
    padding: 11px 18px;
    font-size: 13px;
  }

  .public-experiences {
    margin-top: 44px;
  }

  .public-home footer {
    margin-top: 44px;
    align-items: flex-end;
    padding: 0 20px;
    font-size: 12px;
  }

  .public-footer-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
}
