/* aGROcomm — restoration overrides (static rebuild, 2026) */
html { scroll-behavior: smooth; }
body { margin: 0; background: #fafafa; color: #000; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* Texture (original bg-texture.svg was not recoverable; faithful light substitute) */
.textured, .header { background-color: #f4f4f6; background-image: url(/assets/img/bg-texture.svg); }
@media (max-width: 1199px) { .nav__menu { background-color: #f4f4f6; } }

/* Typing headline: cursor follows the typed text */
#typing-line > span.cursor { display: none; }
#typing-line p { min-height: 49px; }
.header__sound {
  position: absolute; left: -38px; top: 58px; width: 34px; height: 34px; border-radius: 17px;
  border: 1px solid rgba(66,25,230,.25); background: rgba(255,255,255,.7); color: #4219e6;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
  transition: background .2s, border-color .2s;
}
.header__sound:hover { background: #fff; border-color: #4219e6; }
.header__sound .wave { display: none; }
.header__sound[aria-pressed="true"] .wave { display: inline; }
.header__sound[aria-pressed="true"] .mute { display: none; }
@media (max-width: 768px) { .header__sound { left: -34px; top: 40px; width: 30px; height: 30px; } }

/* Fixed nav sits over textured header: keep it legible */
.nav.--slided-down { box-shadow: 0 2px 12px rgba(0,0,0,.04); }

/* Clients carousel (replaces the Slick plugin) */
.clients__slider { position: relative; margin-top: 10px; }
.clients__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
}
.clients__track::-webkit-scrollbar { display: none; }
.clients__slider .slider-item { flex: 0 0 auto; scroll-snap-align: start; }
.clients__slider .chevron-left, .clients__slider .chevron-right {
  border: 0; padding: 0; background-color: transparent; background-repeat: no-repeat;
  background-position: center; z-index: 2;
}
.client-logo { background: #fff; }

/* Connect section CTAs are links now (no server-side forms) */
a.btn.connect__link { line-height: 50px; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible { outline: 2px solid #4219e6; outline-offset: 3px; }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; padding: 140px 25px 80px; font-family: Montserrat, sans-serif; }
.legal h1 { color: #4219e6; font-size: 36px; line-height: 44px; margin-bottom: 10px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 24px; font-weight: 500; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .muted { color: #666; font-size: 13px; }
.legal a { color: #4219e6; }

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide-up-layer { display: none; }
}
