
/* ---- Scope everything under .pjh-eps ------------------------------- */
.pjh-eps,
.pjh-eps *,
.pjh-eps *::before,
.pjh-eps *::after {
  box-sizing: border-box;
}

.pjh-eps {
  /* Local theme tokens – tweak here only */
  --pjhe-teal: #1f9c8e;          /* accent rule + optional button */
  --pjhe-teal-hover: #35c0af;    /* optional button fill on hover */
  --pjhe-ink: #2b2b2b;           /* heading */
  --pjhe-body: #5c6b70;          /* paragraph text */
  --pjhe-bg: transparent;        /* section background; set to a colour (e.g. #f5f5f4) to add a band */
  --pjhe-max: 720px;             /* text column width */

  display: block;
  width: 100%;
  margin: 0;
  padding: 64px 24px;
  background: var(--pjhe-bg);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

.pjh-eps__inner {
  max-width: var(--pjhe-max);
  margin: 0 auto;
}

/* ---- Heading ----------------------------------------------------- */
.pjh-eps__title {
  margin: 0;
  font-size: clamp(1.8rem, 1.1rem + 2vw, 2.5rem); /* fluid: scales with viewport */
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pjhe-ink);
}

/* ---- Accent rule ----------------------------------------------------- */
.pjh-eps__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 22px auto 26px;
  background: var(--pjhe-teal);
  border-radius: 2px;
}

/* ---- Body copy -------------------------------------------------- */
.pjh-eps__text {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pjhe-body);
}

.pjh-eps__text + .pjh-eps__text {
  margin-top: 18px;
}

/* ---- Optional CTA — matches the site's pill button ------------- */
.pjh-eps__cta {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 34px;
  border: 1.5px solid var(--pjhe-teal);
  border-radius: 999px;
  background: transparent;
  color: var(--pjhe-teal);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  -webkit-text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease,
              transform 0.25s ease;
}

/* kill any theme underline on every state */
.pjh-eps a.pjh-eps__cta,
.pjh-eps a.pjh-eps__cta:link,
.pjh-eps a.pjh-eps__cta:visited,
.pjh-eps a.pjh-eps__cta:hover,
.pjh-eps a.pjh-eps__cta:focus,
.pjh-eps a.pjh-eps__cta:active {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

.pjh-eps__cta:hover,
.pjh-eps__cta:focus-visible {
  background: var(--pjhe-teal-hover);
  border-color: var(--pjhe-teal-hover);
  color: #ffffff;
  box-shadow: 0 12px 26px -6px rgba(31, 156, 142, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.pjh-eps__cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px -6px rgba(31, 156, 142, 0.45);
}

/* ---- Responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .pjh-eps {
    padding: 48px 22px;
  }
}

@media (max-width: 560px) {
  .pjh-eps {
    padding: 36px 18px;
  }
  .pjh-eps__rule {
    margin: 18px auto 22px;
  }
  .pjh-eps__text {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .pjh-eps__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 24px;
    white-space: normal;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pjh-eps__cta {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .pjh-eps__cta:hover,
  .pjh-eps__cta:focus-visible,
  .pjh-eps__cta:active {
    transform: none;
  }
}
