/* Client reference, September 2026. Local artwork, native editable content. */
.site-header--home {
  position: relative;
  inset: auto;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.ag-highlight {
  color: #548d3a;
}
.ag-group-hero {
  position: relative;
  background: #f4f7f9;
}
.ag-group-hero__art {
  width: 100%;
  height: auto;
  aspect-ratio: 956/519;
  object-fit: cover;
}
.ag-group-hero__links {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.ag-group-hero__link {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 5%;
  border: 3px solid transparent;
  transition: background 0.2s;
}
.ag-group-hero__link > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 12px #061a2933;
  border-radius: 3px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.ag-group-hero__link:hover {
  background: #ffffff12;
}
.ag-group-hero__link:hover > span,
.ag-group-hero__link:focus-visible > span {
  opacity: 1;
  transform: none;
}
.ag-group-hero__link:focus-visible {
  outline-offset: -6px;
  outline: 3px solid var(--blue);
}
.ag-group-hero__optional {
  padding: 38px 0;
  background: #f4f8fa;
}
.ag-group-hero__optional h2 {
  margin-bottom: 18px;
}
.ag-group-hero__optional p {
  max-width: 750px;
}
.ag-home .companies-section {
  padding-block: 76px 40px;
}
.ag-home .companies-section .section-heading {
  align-items: flex-end;
  gap: 40px;
}
.ag-home .companies-section .section-heading > div {
  max-width: 68%;
}
.ag-home .companies-section h2 {
  font-size: clamp(1.9rem, 2.65vw, 2.65rem);
  line-height: 1.15;
}
.ag-home .companies-section .heading-description {
  max-width: 370px;
  font-size: 14px;
  line-height: 1.65;
  flex: 0 1 370px;
}
.ag-home .company-card__brand {
  min-height: 102px;
  padding: 20px 24px;
}
.ag-home .company-card__brand .brand-logo-image {
  max-width: 240px;
  max-height: 63px;
  width: auto;
}
.ag-home .company-card__visual {
  display: block;
  height: auto;
  aspect-ratio: 1.88;
}
.ag-home .company-card__summary {
  padding: 21px 23px;
  min-height: 105px;
}
.ag-home .company-card__summary p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}
.ag-home .company-card__link {
  font-size: 12px;
}
.ag-home .home-solutions {
  padding-block: 36px 76px;
}
.ag-home .solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ag-home .solution-tile {
  min-height: 200px;
  padding: 26px 23px;
}
.ag-home .solution-tile h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.ag-home .solution-tile__top > .ag-icon {
  width: 28px;
  height: 28px;
}
.ag-home .solution-tile__foot {
  margin-top: auto;
}
.ag-vision {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f2f6f8;
  padding-block: 60px;
}
.ag-vision__image {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: 59%;
  object-fit: cover;
  object-position: 55% 50%;
  z-index: -2;
}
.ag-vision::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f5f8fa 0%,
    #f5f8fa 39%,
    #f5f8fad9 50%,
    #f5f8fa00 72%
  );
  z-index: -1;
}
.ag-vision__copy {
  max-width: 570px;
}
.ag-vision__copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  max-width: 560px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.ag-vision__copy .eyebrow {
  color: #3e6380;
  font-size: 10px;
}
.ag-vision__copy > p:not(.eyebrow) {
  max-width: 490px;
  font-size: 13px;
  line-height: 1.6;
  color: #5c7283;
}
.ag-vision__copy .ag-vision__lead {
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
}
.ag-vision__copy .text-link {
  margin-top: 8px;
  font-size: 12px;
}
.ag-home-cta {
  padding-block: 43px;
  min-height: 190px;
}
.ag-home-cta__image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -3;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.ag-home-cta::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    #0c2c40 0%,
    #0c2c40ec 38%,
    #0a263aaa 70%,
    #09243877
  );
}
.ag-home-cta::before {
  inset: 0 30% 0 0;
  opacity: 0.65;
}
.ag-home-cta h2 {
  max-width: 650px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.ag-home-cta .ag-highlight {
  color: #98d47e;
}
.ag-home-cta .eyebrow {
  color: #aad4ee;
  font-size: 9px;
}
.site-footer {
  padding-top: 0;
}
.ag-footer-compact {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-block: 24px;
}
.ag-footer-compact > .footer-brand {
  max-width: 190px;
  flex-shrink: 0;
}
.ag-footer-compact .brand-logo-image {
  max-width: 185px;
  max-height: 55px;
}
.ag-footer-compact > p {
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.8;
  max-width: 340px;
  border-left: 1px solid #ffffff38;
  padding-left: 28px;
  margin: 0;
}
.ag-footer-compact > .button {
  margin-left: auto;
  min-height: 36px;
  padding: 8px 13px;
  font-size: 10px;
  gap: 20px;
}
.footer-bottom {
  font-size: 10px;
  padding-block: 15px;
}
.footer-directory {
  padding-top: 45px;
}
.mega-company__brand .brand-logo-image,
.footer-brand .brand-logo-image {
  background: #fff;
  border-radius: 3px;
  padding: 5px;
}
.company-card__brand .brand-logo-image {
  mix-blend-mode: multiply;
}
.contact-brands .brand-logo-image {
  max-width: 145px;
  max-height: 45px;
  width: 100%;
}
/* The carousel remains scrollable when scripts are unavailable. */
[data-ag-track] {
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
[data-ag-carousel-controls] button:disabled {
  cursor: default;
  opacity: 0.35;
}
[data-ag-dots] {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}
[data-ag-dots] button {
  padding: 0;
  width: 8px;
  height: 8px;
  min-height: 8px;
  border: 0;
  border-radius: 50%;
  background: #d9e2e8;
}
[data-ag-dots] button[aria-current="true"] {
  background: var(--brand, var(--blue));
}
@media (min-width: 1800px) {
  .ag-group-hero {
    max-height: 970px;
    overflow: hidden;
  }
  .ag-group-hero__art {
    height: 970px;
    object-fit: contain;
  }
}
@media (max-width: 1000px) {
  .ag-home .companies-section .section-heading {
    display: block;
  }
  .ag-home .companies-section .section-heading > div {
    max-width: none;
  }
  .ag-home .companies-section .heading-description {
    max-width: 720px;
    margin-top: 20px;
  }
  .ag-home .company-card__brand .brand-logo-image {
    max-width: 100%;
  }
  .ag-home .company-card__summary {
    padding: 18px;
  }
  .ag-home .company-card__summary p {
    font-size: 13px;
  }
  .ag-vision__copy {
    max-width: 53%;
  }
  .ag-vision__copy h2 {
    font-size: 2.2rem;
  }
  .ag-home-cta h2 {
    max-width: 540px;
  }
}
@media (max-width: 700px) {
  .ag-group-hero__links {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px 12px;
    gap: 6px;
    background: #f0f5f8;
  }
  .ag-group-hero__link {
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .ag-group-hero__link > span {
    opacity: 1;
    transform: none;
    padding: 10px 5px;
    box-shadow: none;
    border: 1px solid #d9e2e9;
    width: 100%;
    font-size: 10px;
    gap: 4px;
  }
  .ag-group-hero__link .ag-icon {
    width: 14px;
    height: 14px;
  }
  .ag-home .companies-section {
    padding-block: 45px 20px;
  }
  .ag-home .company-grid {
    grid-template-columns: 1fr;
  }
  .ag-home .company-card__visual {
    aspect-ratio: 1.8;
  }
  .ag-home .company-card__brand {
    min-height: 96px;
  }
  .ag-home .company-card__summary {
    min-height: auto;
    padding: 21px;
  }
  .ag-home .company-card__summary p {
    font-size: 14px;
  }
  .ag-home .home-solutions {
    padding-block: 28px 42px;
  }
  .ag-home .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ag-home .solution-tile {
    padding: 21px 17px;
    min-height: 185px;
  }
  .ag-home .solution-tile h3 {
    font-size: 19px;
  }
  .ag-vision {
    padding-block: 36px 0;
    display: flex;
    flex-direction: column;
  }
  .ag-vision > .container {
    order: 0;
  }
  .ag-vision__copy {
    max-width: none;
  }
  .ag-vision__copy h2 {
    font-size: 2rem;
  }
  .ag-vision__copy > p:not(.eyebrow) {
    max-width: none;
  }
  .ag-vision__copy .text-link {
    margin: 0 0 28px;
  }
  .ag-vision__image {
    position: relative;
    order: 1;
    height: 210px;
    width: 100%;
    object-position: 65% 50%;
    z-index: 0;
  }
  .ag-vision::after {
    display: none;
  }
  .ag-home-cta .project-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .ag-home-cta {
    padding-block: 38px;
  }
  .ag-home-cta__image {
    width: 100%;
    opacity: 0.55;
  }
  .ag-home-cta h2 {
    font-size: 2rem;
  }
  .ag-footer-compact {
    flex-wrap: wrap;
    gap: 20px;
  }
  .ag-footer-compact > p {
    max-width: calc(100% - 210px);
    font-size: 7px;
    padding-left: 18px;
  }
  .ag-footer-compact > .button {
    margin-left: 0;
  }
  .ag-footer-compact > .footer-brand {
    max-width: 170px;
  }
  .ag-footer-compact .brand-logo-image {
    max-width: 165px;
  }
}
@media (max-width: 420px) {
  .ag-footer-compact > p {
    max-width: none;
    padding: 0;
    border: 0;
    flex-basis: 100%;
  }
  .ag-home .solution-tile h3 {
    font-size: 17px;
  }
  .ag-home .solution-tile {
    padding: 18px 14px;
  }
  .ag-group-hero__link > span {
    font-size: 9px;
  }
  .ag-group-hero__link .ag-icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-ag-track] {
    scroll-behavior: auto;
  }
  .ag-group-hero__link,
  .ag-group-hero__link > span {
    transition: none;
  }
}
.footer-brand .brand-logo-image--light {
  filter: none;
  mix-blend-mode: normal;
}
@media (min-width: 1001px) {
  .ag-home .companies-section .section-heading > div {
    flex: 1;
    max-width: none;
    min-width: 0;
  }
  .ag-home .companies-section .heading-description {
    flex-basis: 330px;
  }
  .ag-home .companies-section h2 {
    font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  }
}
