/* Asteria prototype, round 2 v13: the line under the hero. One calm sentence whose last word
   changes, with the same words drifting behind it in large outlined letters. */
/* A full screen while it holds, so the pause is a calm moment, not a band with gaps around it. */
.pulse { position: relative; overflow: hidden; min-height: 100svh; display: grid; align-content: center; background: var(--paper); padding-block: 96px; text-align: center; }
/* The sentence sits small on its own line; the changing word is large below it, so nothing jumps. */
.pulse-line { position: relative; z-index: 1; margin: 0 auto; padding-inline: var(--pad); max-width: 1200px; font: 600 clamp(48px, 8vw, 124px)/1.05 var(--display); letter-spacing: -0.02em; color: var(--cocoa); text-wrap: balance; }
.pulse-lead { display: block; margin-bottom: 0.14em; font-size: clamp(18px, 2vw, 28px); font-weight: 500; letter-spacing: 0.01em; color: var(--taupe); }
.pulse-roll { position: relative; display: inline-block; vertical-align: bottom; overflow: hidden; padding: 0.04em 0.06em 0.2em; color: var(--clay); white-space: nowrap; }
.pulse-word { display: inline-block; }
.pulse-word .ch { display: inline-block; will-change: transform; }
.pulse-ul { position: absolute; inset-inline: 0.06em; bottom: 0.02em; width: calc(100% - 0.12em); height: 0.24em; overflow: visible; }
.pulse-ul path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Behind: the words again, large and hollow, moving only as you scroll. */
.pulse-bg { position: absolute; inset: 0; display: grid; align-items: center; pointer-events: none; }
.pulse-track { display: flex; gap: 0.5em; width: max-content; white-space: nowrap; font: 700 clamp(150px, 24vw, 380px)/1 var(--display); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.2px rgba(160, 99, 74, 0.34); }
.pulse-track span::after { content: "✦"; margin-inline-start: 0.5em; font-size: 0.25em; vertical-align: middle; -webkit-text-stroke: 0; color: rgba(201, 164, 92, 0.45); }

@media (max-width: 760px) {
  .pulse-line { font-size: 52px; }
}
