/* ASD Home — corporate refinement, isolated to home page */
/* Background images still crossfade, but do not zoom or translate. Only text slides. */
.hero .hero-slide.active { animation:none !important; transform:none !important; }
.hero .hero-content { max-width: 910px; }
.hero .hero-content .eyebrow { color:#bed9ef; letter-spacing:.18em; font-size:.76rem; }
.hero .hero-content h1 {max-width:820px;font-size:clamp(3rem,5.2vw,5.8rem);line-height:1.09;letter-spacing:-.045em;text-wrap:balance;}
.hero .hero-content p {max-width:610px;line-height:1.6;}
.hero .hero-shade {background:linear-gradient(90deg,rgba(9,27,49,.73) 0%,rgba(9,33,56,.54) 48%,rgba(10,40,65,.24) 100%);}
/* Hero: text alone enters on a strictly horizontal track. */
@keyframes asdHomeHorizontalOnly {
  0% { opacity: 0; translate: -88px 0; }
  100% { opacity: 1; translate: 0 0; }
}
.hero .hero-content > .eyebrow,
.hero .hero-content > h1,
.hero .hero-content > p {
  transform: none !important;
  animation: asdHomeHorizontalOnly 2.3s cubic-bezier(.22,.61,.36,1) both !important;
}
.hero .hero-content > .eyebrow { animation-delay: .1s !important; }
.hero .hero-content > h1 { animation-delay: .36s !important; }
.hero .hero-content > p { animation-delay: .7s !important; }
/* CTA buttons do not animate on page load, but respond on hover. */
.hero .hero-content > .actions,
.hero .hero-content > .actions .btn {
  animation: none !important;
  translate: none !important;
  opacity: 1 !important;
}
.hero .hero-content > .actions .btn {
  transform: translateY(0) !important;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease !important;
}
.hero .hero-content > .actions .btn:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}
.hero .hero-content > .actions .btn:active { transform: translateY(-1px) !important; }
/* Leaner service presentation */
main > .section {padding-block:76px;}
main > .section > .container > h2 {color:#173653;letter-spacing:-.035em;}
.home-credentials {margin:22px 0 0;color:#566f84;font-size:.94rem;}
.home-credentials strong {color:#1d507b;}
main > .section .grid {gap:20px;margin-top:32px;align-items:stretch;}
main > .section .grid > .card {border:1px solid #e4eaf0;border-radius:10px;box-shadow:0 8px 25px rgba(14,41,65,.045);padding:27px 28px 29px;transition:transform .25s ease,box-shadow .25s ease;}
main > .section .grid > .card:hover {transform:translateY(-3px);box-shadow:0 13px 28px rgba(14,41,65,.08);}
main > .section .grid .card .number {height:56px !important;margin-bottom:17px !important;justify-content:flex-start !important;}
main > .section .grid .card .number svg {width:43px;height:43px;}
main > .section .grid .card h3 {font-size:1.13rem;line-height:1.35;}
main > .section .grid .card p {font-size:.95rem;line-height:1.65;margin:0;}
/* Project images and cards are retained, with a more polished edge. */
.project-grid .project {border-radius:9px;border:1px solid #e2e9ef;box-shadow:0 8px 26px rgba(17,46,69,.045);}
.project-grid .project-image {height:220px;}
.project-grid .project-details {padding:23px 24px;}
@media(max-width:700px){
 .hero .hero-content h1 {font-size:clamp(2.55rem,10vw,4rem);}
 .hero .hero-content {padding-bottom:100px;}
 main > .section {padding-block:58px;}
 .home-credentials {font-size:.9rem;}
 .hero .hero-content > .eyebrow,
 .hero .hero-content > h1,
 .hero .hero-content > p {animation-duration:2s !important;}
}
@media(prefers-reduced-motion:reduce){
 .hero .hero-content > .eyebrow,
 .hero .hero-content > h1,
 .hero .hero-content > p {animation:none !important;transform:none !important;translate:none !important;opacity:1 !important;}
 main > .section .grid > .card {transition:none;}
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-content > .actions .btn { transition:none !important; }
}

/* Review 02 — homepage service and project sections: compact corporate treatment */
main > .home-feature-section { padding: 47px 0 53px; }
main > .home-services { background: #f4f7fa; border-bottom: 1px solid #e4ebf0; }
main > .home-projects { background: #fff; }
.home-section-header { display:flex; align-items:end; justify-content:space-between; gap:28px; padding-bottom:16px; border-bottom:1px solid #d8e4ec; }
.home-section-heading { min-width:0; }
.home-section-header .eyebrow { margin:0 0 7px; color:#2677a7; letter-spacing:.17em; font-size:.69rem; }
main > .home-feature-section .home-section-header h2 { margin:0; color:#173653; font-size:clamp(1.65rem,2.5vw,2.35rem); line-height:1.2; letter-spacing:-.035em; }
.home-section-link { flex-shrink:0; font-size:.89rem; font-weight:700; color:#1d668f; text-decoration:none; border-bottom:1px solid currentColor; padding:0 0 3px; line-height:1.4; }
.home-section-link::after { content:'  →'; }
.home-section-link:hover { color:#123653; }
main > .home-feature-section .grid, main > .home-feature-section .project-grid { margin-top:20px; gap:16px; }
main > .home-feature-section .grid > .card { border-radius:5px; padding:20px 22px 21px; box-shadow:none; border:1px solid #dfe7ee; border-top:3px solid #397ba7; }
main > .home-feature-section .grid .card .number { height:43px !important; margin:0 0 9px !important; }
main > .home-feature-section .grid .card .number svg { width:36px; height:36px; }
main > .home-feature-section .grid .card h3 { margin-bottom:6px; font-size:1.04rem; }
main > .home-feature-section .grid .card p { line-height:1.5; font-size:.9rem; }
main > .home-feature-section .project-grid .project { border-radius:5px; box-shadow:none; border-color:#dfe7ee; }
main > .home-feature-section .project-grid .project-image { height:184px; }
main > .home-feature-section .project-grid .project-details { padding:16px 19px 18px; }
main > .home-feature-section .project-grid .project-details h3 { font-size:1.04rem; line-height:1.3; margin-bottom:6px; }
main > .home-feature-section .project-grid .project-details p { margin:0 0 6px; font-size:.87rem; line-height:1.45; }
main > .home-feature-section .project-grid .project-details p:last-child { margin-bottom:0; }
@media(max-width:700px) {
 main > .home-feature-section { padding:38px 0 42px; }
 .home-section-header { align-items:flex-start; flex-direction:column; gap:10px; padding-bottom:13px; }
 main > .home-feature-section .grid, main > .home-feature-section .project-grid { margin-top:16px; }
 main > .home-feature-section .project-grid .project-image { height:205px; }
}


/* Review 03 — restrained homepage scroll entrance and card interaction. */
@media (prefers-reduced-motion: no-preference) {
  .home-feature-section.asd-reveal-pending .home-section-header,
  .home-feature-section.asd-reveal-pending .grid > .card,
  .home-feature-section.asd-reveal-pending .project-grid > .project {
    opacity: 0;
    transform: translateY(19px);
  }
  .home-feature-section .home-section-header,
  .home-feature-section .grid > .card,
  .home-feature-section .project-grid > .project {
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.25,1),
      box-shadow .3s ease, border-color .3s ease;
  }
  .home-feature-section.asd-reveal-visible .home-section-header,
  .home-feature-section.asd-reveal-visible .grid > .card,
  .home-feature-section.asd-reveal-visible .project-grid > .project {
    opacity: 1;
    transform: translateY(0);
  }
  .home-feature-section .grid > .card:nth-child(2),
  .home-feature-section .project-grid > .project:nth-child(2) { transition-delay: .09s; }
  .home-feature-section .grid > .card:nth-child(3),
  .home-feature-section .project-grid > .project:nth-child(3) { transition-delay: .18s; }
  /* Hover overrides reveal position after the section is visible. */
  .home-feature-section.asd-reveal-visible .grid > .card:hover,
  .home-feature-section.asd-reveal-visible .project-grid > .project:hover {
    transform: translateY(-5px);
    border-color: #b8cbdc;
    box-shadow: 0 14px 29px rgba(18, 55, 88, .12);
  }
  .home-feature-section .project-image img {
    transition: transform .6s cubic-bezier(.2,.7,.25,1);
  }
  .home-feature-section .project:hover .project-image img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .home-feature-section .home-section-header,
  .home-feature-section .grid > .card,
  .home-feature-section .project-grid > .project,
  .home-feature-section .project-image img {
    animation: none !important;
    transition: none !important;
  }
}
