/* ASD five-page refinements — scoped additions, loaded after each page stylesheet.
   Preserves homepage text-slide, button hover effects, navigation, and existing images. */
:root { --asd-refine-ink: #1b3654; --asd-refine-rule: #e1e8ef; }
/* Comfortable line lengths support a cleaner engineering-company presentation. */
.about-asd .about-company-inner,
.about-asd .about-commitment-inner { max-width: 860px; }
.about-asd .about-company-inner h2,
.about-asd .about-commitment-inner h2 { text-wrap: balance; }
/* Restrained, balanced service summaries. */
.services-page .services-heading h2 { text-wrap: balance; }
.services-page .services-card { height: auto; }
.services-page .services-card p { max-width: 36ch; }
/* The directory is the comprehensive record; project gallery and case study are visual proof. */
.asd-project-index-heading h2,
.project-overview h2,
.featured-projects h2 { text-wrap: balance; }
.project-overview .project-details h3 { line-height: 1.35; }
/* Compact contact intro, readable form fields; do not modify form behavior. */
.contact-page .contact-info-intro { max-width: 38ch; }
.contact-page .contact-form-card h2 { text-wrap: balance; }
@media (max-width: 700px) {
  .about-asd .about-company-inner,
  .about-asd .about-commitment-inner { max-width: 100%; }
  .services-page .services-card p { max-width: none; }
}

/* Coordinated CSS review: keyboard, responsive text and low-motion affordances. */
:where(.btn,.contact-submit,.contact-hero-button,.services-video-link,.services-play-button,.slide-dot,.nav-toggle):focus-visible {
  outline: 3px solid #f6bf59; outline-offset: 4px;
}
:where(.about-asd,.services-page,.contact-page) h1,
:where(.about-asd,.services-page,.contact-page) h2 { text-wrap: balance; }
/* Mobile: allow the contact workflow words to wrap instead of spilling past the screen. */
@media (max-width: 700px) {
  .contact-intro .contact-graphic-caption {white-space:normal;line-height:1.9;text-align:center;}
  .contact-intro .contact-hero-grid {gap:15px;}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto;}
  .btn, a.btn {transition:none;}
  .btn:hover, a.btn:hover {transform:none;}
  .hero .hero-slide {transition:none;}
}
