/**
 * AnimateBox.dev — Unraveling Text
 * https://animatebox.dev
 *
 * Scroll-driven Verlet string paragraph. Theme via --ab-ut-* variables.
 * Default visual system: DM Sans, near-black / white, solid backgrounds.
 */

.ab-unraveling-text {
  --ab-ut-bg: #0b0b0c;
  --ab-ut-color: #f3f1ec;
  --ab-ut-font: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --ab-ut-size: 34px;
  --ab-ut-weight: 700;
  --ab-ut-leading: 1.4;
  --ab-ut-tracking: 0;

  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--ab-ut-bg);
  color: var(--ab-ut-color);
  font-family: var(--ab-ut-font);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ab-unraveling-text__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ab-unraveling-text__stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ab-unraveling-text__glyph {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: var(--ab-ut-size);
  font-weight: var(--ab-ut-weight);
  letter-spacing: 0;
  white-space: pre;
  pointer-events: none;
  will-change: transform;
}

.ab-unraveling-text[data-reduced="true"] .ab-unraveling-text__glyph {
  will-change: auto;
}
