﻿.particle-text {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  touch-action: pan-y;
  isolation: isolate;
}

.particle-text__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

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

/* ---------- Hero integration ---------- */
.hero-particle-root {
  width: 100%;
  pointer-events: auto;
}

.hero-particles {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-particle-line {
  width: min(1120px, 94vw);
  height: clamp(88px, 10vw, 150px);
}

.hero-particle-line + .hero-particle-line {
  margin-top: -6px;
}

.hero-particle-line .particle-text {
  min-height: 0;
  height: 100%;
}

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

@media (max-width: 860px) {
  .hero-particle-line {
    width: 96vw;
    height: 96px;
  }
}

