/* Allgo Construction Services - small additions to Tailwind */

dialog::backdrop {
  background: rgba(26, 29, 33, 0.72);
}

body:has(dialog[open]) {
  overflow: hidden;
}

/* Sections receive focus after in-page navigation; no outline needed there */
[tabindex="-1"]:focus {
  outline: none;
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hazard-stripe {
  background-image: repeating-linear-gradient(
    -45deg,
    #F2A900 0,
    #F2A900 12px,
    #1A1D21 12px,
    #1A1D21 24px
  );
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
