.home #hero.dm-text-flow .sr-only,
.home #hero.dm-text-flow .h-text h1.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Match the local theme's responsive hero headline. */
.dm-text-flow .title-flow {
  font-family: var(--f);
  font-weight: 500;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: 32px;
  hyphens: none;
}
.dm-text-flow .title-flow[hidden] { display: none; }
@media (max-width: 768px) {
  .dm-text-flow .title-flow {
    font-size: clamp(38px, 7vw, 56px);
    line-height: 1.1;
    margin-bottom: 24px;
  }
}
.dm-text-flow .title-flow {
  display: block;
  position: relative;
  min-height: 1lh;
  white-space: normal;
  text-wrap: balance;
}
.dm-text-flow .copy { position: relative; }
.dm-text-flow .flow-intro,
.dm-text-flow .wrap-probe {
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  white-space: pre-wrap;
}
.dm-text-flow .wrap-probe {
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
  pointer-events: none;
}
.dm-text-flow .selection,
.dm-text-flow [data-part]::selection,
.dm-text-flow .flow-intro ::selection {
  background: #f1a2e2;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.dm-text-flow .caret {
  position: relative;
  padding-inline: .11em;
}
.dm-text-flow .caret::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  aspect-ratio: 6 / 56;
  border-radius: 999px;
  background: #00bfff;
  pointer-events: none;
}
.dm-text-flow .break-space .caret.after-break { padding-inline: 0; }
.dm-text-flow .break-space .caret.after-break::after { left: auto; right: .05em; transform: none; }
.dm-text-flow .title-flow .caret.at-title-end { position: absolute; padding: 0; width: .18em; }
.dm-text-flow .title-flow .caret.at-title-end::after { left: 0; transform: none; }
.dm-text-flow:not(.paused) .caret.waiting::after { animation: dm-flow-blink 1.02s linear infinite; }
@keyframes dm-flow-blink {
  0%, 61.5%, 100% { opacity: 1; }
  68.5%, 93.5% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-text-flow:not(.paused) .caret.waiting::after { animation: none; }
}

/* One envelope for the text block keeps both CTA anchors fixed while the
   headline and paragraph can continue to follow each other's natural flow. */
.home #hero.dm-text-flow .title-flow { max-width: 20ch; }
/* The insertion cursor paints over the text rather than changing its wraps. */
.dm-text-flow .caret { padding-inline: 0; }

.flow-envelope { display: none; }
.home #hero.dm-flow-reserved .h-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding-top: 32px;
}
.home #hero.dm-flow-reserved .h-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 0;
  color: inherit;
  text-decoration: none;
  background-image: none;
  border-bottom: 1px solid;
  font: 16px var(--fm);
}
.home #hero.dm-flow-reserved .h-cta::after { content: none; }
.home #hero.dm-text-flow .flow-fit-probe {
  position: fixed;
  left: 0;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  contain: layout style;
}
@media (max-width: 768px) {
  .home #hero.dm-flow-reserved .h-actions a { font-size: 14px; }
}
@media (max-width: 768px) {
  .home #hero.dm-compact-mobile .h-label {
    max-width: none;
    font-size: clamp(12px, 3.7vw, 14px);
  }
  .home #hero.dm-compact-mobile .flow-services {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.65em;
    overflow: clip;
  }
  .home #hero.dm-compact-mobile .flow-service-item {
    position: relative;
    white-space: nowrap;
  }
  /* A separator occupies the gap and disappears at the start of a new line. */
  .home #hero.dm-compact-mobile .flow-separator {
    position: absolute;
    right: 100%;
    width: 1.65em;
    text-align: center;
  }
  .home #hero.dm-compact-mobile .h-text .h-sub { font-size: clamp(24px, 6.67vw, 28px); line-height: 1.22; }
  .home #hero.dm-compact-mobile .h-actions {
    flex-direction: column;
    align-items: flex-start;
    row-gap: calc(var(--s1) / 2);
    padding-top: var(--s2);
  }
  .home #hero.dm-compact-mobile .h-actions .h-cta {
    font-size: var(--sz-u);
    line-height: var(--lh-u);
  }
  .home #hero.dm-compact-mobile .flow-long-tail { display: none; }
}

/* Keep the mobile edit marker out of inline wrapping; paint at its Text offset. */
@media (max-width: 768px) {
  .home #hero.dm-compact-mobile .h-label,
  .home #hero.dm-compact-mobile .flow-intro { position: relative; }
  .home #hero.dm-compact-mobile .caret.mobile-edit-caret {
    position: absolute;
    padding: 0;
    width: 0;
  }
}
