* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111110;
  color: #d6d3cd;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
}

.label {
  font-size: 13px;
  font-weight: 500;
  color: #7d7971;
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  color: #f5f3ef;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: #111110;
  border-bottom: 1px solid #2c2b28;
  padding: 16px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 500;
  color: #f5f3ef;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #a8a49c;
}

.nav-links a:hover {
  color: #f5f3ef;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 48px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #2c2b28;
  padding-bottom: 8px;
  margin-bottom: 48px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7d7971;
}

.about {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.frame {
  width: 42%;
  border: 1px solid #2c2b28;
  background-color: #161614;
  padding: 8px;
}

.frame-head,
.frame-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7d7971;
  padding: 4px;
}

.frame-head {
  border-bottom: 1px solid #2c2b28;
  margin-bottom: 8px;
}

.frame-foot {
  border-top: 1px solid #2c2b28;
  margin-top: 8px;
}

.photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.info {
  width: 58%;
}

.info .title {
  margin-top: 8px;
  margin-bottom: 24px;
}

.bio {
  font-size: 18px;
  margin-bottom: 24px;
}

.skills-head {
  border-top: 1px solid #2c2b28;
  padding-top: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7d7971;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills li {
  border: 1px solid #2c2b28;
  background-color: #161614;
  padding: 5px 12px;
  font-size: 13px;
  color: #f5f3ef;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
}

.card {
  width: 48%;
  border: 1px solid #2c2b28;
  background-color: #161614;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  border-color: #f5f3ef;
}

.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid #2c2b28;
}

.card-body {
  padding: 24px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.card-head h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 500;
  color: #f5f3ef;
}

.card-body p {
  font-size: 15px;
  color: #a8a49c;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags li {
  border: 1px solid #2c2b28;
  background-color: #111110;
  padding: 3px 9px;
  font-size: 12px;
  color: #a8a49c;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #2c2b28;
  background-color: #1c1c1a;
  font-size: 13px;
  color: #7d7971;
}

.card-foot a {
  color: #f5f3ef;
  font-weight: 500;
}

.card-foot a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 96px 48px;
}

.hero-box {
  max-width: 768px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.1;
  color: #f5f3ef;
  margin-top: 12px;
  margin-bottom: 32px;
}

.hero-bio {
  font-size: 20px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #2c2b28;
  padding-top: 24px;
  margin-bottom: 40px;
}

.hero-tags li {
  border: 1px solid #2c2b28;
  background-color: #161614;
  padding: 8px 14px;
  font-size: 14px;
  color: #f5f3ef;
}

.hero-tags span {
  font-weight: 500;
  color: #7d7971;
}

.bottom {
  background-color: #161614;
  border-top: 1px solid #2c2b28;
}

.contact {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-bottom: 1px solid #2c2b28;
}

.contact-title {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 400;
  color: #f5f3ef;
  margin-top: 8px;
}

.contact-info p {
  font-size: 15px;
  color: #a8a49c;
}

.contact-info .label {
  color: #7d7971;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid #2c2b28;
  background-color: #111110;
  color: #f5f3ef;
  font-size: 14px;
  font-weight: 500;
}

.btn:hover {
  border-color: #f5f3ef;
}

.main-btn {
  background-color: #f5f3ef;
  color: #111110;
  border-color: #f5f3ef;
}

.main-btn:hover {
  background-color: transparent;
  color: #f5f3ef;
}

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #7d7971;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #a8a49c;
}

.footer-links a:hover {
  color: #f5f3ef;
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
  }

  .section {
    padding: 48px 16px;
  }

  .title {
    font-size: 32px;
  }

  .about {
    flex-direction: column;
  }

  .frame,
  .info,
  .card {
    width: 100%;
  }

  .card-img {
    height: 200px;
  }

  .hero {
    padding: 56px 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-bio {
    font-size: 17px;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 16px;
  }

  .contact-title {
    font-size: 28px;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
  }
}
