.hh-card {
  border-radius: var(--hh-radius-card);
  box-shadow: var(--hh-shadow-card);
  height: 100%;
  margin-bottom: 0.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.hh-panel {
  border-radius: 2rem;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--hh-ink) 10%, transparent);
  margin-bottom: 0.25rem;
  margin-inline: auto;
  max-width: min(920px, 100%);
  padding: clamp(2rem, 4vw, 3.25rem);
  position: relative;
  z-index: 1;
}

.hh-panel--white {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--hh-sand-deep) 18%, white);
}

.hh-panel--centered {
  text-align: center;
}

.hh-panel--centered > * {
  margin-inline: auto;
}

.hh-panel--accent {
  border-top: 4px solid
    color-mix(in srgb, var(--hh-accent) 70%, var(--hh-brand));
}

.hh-panel p,
.hh-card p,
.hh-card li {
  color: var(--hh-ink-muted);
  font-family: var(--hh-font-body);
  max-width: var(--hh-prose-max);
}

.hh-card--white {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--hh-sand-deep) 16%, white);
}

.hh-card--sand {
  background: color-mix(in srgb, var(--hh-sand-deep) 28%, white);
  border: 1px solid color-mix(in srgb, var(--hh-sand-deep) 24%, white);
}

.hh-card h2,
.hh-panel h2 {
  color: var(--hh-ink);
  margin-bottom: var(--hh-space-h2-p);
  max-width: var(--hh-prose-max);
  text-wrap: balance;
}

.hh-card--white .wp-block-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.hh-card--sand .wp-block-list {
  list-style: none;
  padding-left: 0;
}

.hh-card--sand .wp-block-list li {
  padding-left: 1.35rem;
  position: relative;
}

.hh-card--sand .wp-block-list li::before {
  color: var(--hh-ink-muted);
  content: "—";
  left: 0;
  position: absolute;
}

.hh-pillars .hh-panel {
  max-width: 100%;
  text-align: left;
}

.hh-pillars .hh-panel h2 {
  margin-bottom: 0;
  text-align: center;
}

.hh-pillars .hh-panel > p:first-of-type {
  margin-inline: 0;
  max-width: none;
  text-align: left;
}

.hh-work .hh-panel {
  max-width: min(880px, 100%);
  text-align: left;
}

.hh-investment .hh-panel {
  max-width: min(900px, 100%);
}

.hh-about .wp-block-columns.hh-about__grid {
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hh-email-popup {
  inset: 0;
  place-items: center;
  position: fixed;
  z-index: 100001;
}

.hh-email-popup[hidden] {
  display: none;
}

.hh-email-popup.is-open {
  display: grid;
}

.hh-email-popup__backdrop {
  background: color-mix(in srgb, var(--hh-ink) 52%, transparent);
  inset: 0;
  position: absolute;
}

.hh-email-popup__dialog {
  background: color-mix(in srgb, white 88%, var(--hh-sand));
  border: 1px solid color-mix(in srgb, var(--hh-brand) 18%, transparent);
  border-radius: 1.75rem;
  box-shadow: var(--hh-shadow);
  box-sizing: border-box;
  margin: 1rem;
  max-height: min(92vh, 40rem);
  max-width: min(28rem, calc(100vw - 2rem));
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 2rem);
  position: relative;
  width: 100%;
  z-index: 1;
}

.hh-email-popup__close {
  align-items: center;
  background: color-mix(in srgb, var(--hh-sand) 70%, white);
  border: 0;
  border-radius: 999px;
  color: var(--hh-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.35rem;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 2.25rem;
}

.hh-email-popup__title {
  color: var(--hh-ink);
  font-family: var(--hh-font-heading);
  font-size: var(--hh-h3);
  font-weight: var(--hh-font-heading-weight);
  margin: 0 2rem 0.75rem 0;
  text-wrap: balance;
}

.hh-email-popup__lead {
  color: var(--hh-ink-muted);
  font-family: var(--hh-font-body);
  font-size: var(--hh-text-body);
  line-height: var(--hh-line-body);
  margin: 0 0 1.25rem;
}

.hh-email-popup__form .ml-embedded,
.hh-email-popup__form .ml-form-embedContainer,
.hh-email-popup__form .ml-form-embedWrapper,
.hh-email-popup__form .mailerlite-form,
.hh-email-popup__form .mailerlite-form form {
  margin: 0;
  max-width: 100%;
  width: 100% !important;
}

.hh-audio-card__link,
.hh-audio-card .hh-mini-link {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
}

body.hh-email-popup-open {
  overflow: hidden;
}
