/* OMID TEXT POLISH V12 */
/* No changes to Hero cards or image positioning */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

body main :is(p, li, h1, h2, h3, h4, h5, small, blockquote) {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body main :is(p, li) {
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* About section */

body .about-v8-copy p {
  text-align: start !important;
  text-align-last: auto !important;
  font-size: clamp(15px, 1.08vw, 16.5px) !important;
  line-height: 1.78 !important;
  margin-bottom: 1.15em !important;
  max-width: 69ch;
}

body .about-v8-title {
  white-space: normal !important;
  text-wrap: balance;
  line-height: 1.22 !important;
  overflow-wrap: break-word !important;
}

/* Hero introduction */

body .hero .hero-lead {
  text-align: start !important;
  font-size: clamp(15px, 1.13vw, 17px) !important;
  line-height: 1.72 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  max-width: 64ch;
}

/* Services, projects and other text */

body :is(
  .service,
  .project,
  .domain-card,
  .contact-section,
  .featured-project
) p {
  text-align: start !important;
  text-align-last: auto !important;
  line-height: 1.68 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

body .about-v8-checks li {
  line-height: 1.6 !important;
}

/* Mobile readability */

@media (max-width: 600px) {
  body .about-v8-copy p {
    font-size: 15px !important;
    line-height: 1.72 !important;
  }

  body .hero .hero-lead {
    font-size: 15px !important;
    line-height: 1.72 !important;
  }
}