/* One semantic heading serves the mobile opening and the desktop type stage. */
@media (min-width: 992px) {
  .audit-home .mobile-opening {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .audit-home .mobile-opening p { display: none; }
}

@media (max-width: 991px) {
  .audit-home .hero-agency {
    --opening-gutter: clamp(20px, 6vw, 58px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    min-height: 0;
    height: auto;
    padding: 0 var(--opening-gutter) clamp(32px, 6vw, 56px);
    background: #f3f2e9;
    color: #29372d;
  }

  .audit-home .mobile-opening {
    grid-column: 1 / -1;
    padding-block: clamp(110px, 20vw, 150px) clamp(24px, 4vw, 40px);
  }

  .audit-home .mobile-opening h1 {
    margin: 0;
    font: 800 clamp(25px, 8.6vw, 72px)/.97 Syne, sans-serif;
    letter-spacing: -.055em;
    text-transform: uppercase;
  }

  .audit-home .mobile-opening h1 span { display: block; white-space: nowrap; }

  .audit-home .mobile-opening p {
    max-width: 35ch;
    margin: 18px 0 0;
    font: 400 clamp(16px, 2.4vw, 20px)/1.45 Inter, sans-serif;
  }

  .audit-home .hero-agency .hero-agency-panel {
    min-width: 0;
    min-height: 0;
    height: auto;
    border-radius: 8px;
    clip-path: none;
  }

  .audit-home .hero-agency .hero-agency-panel-inner {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
  }

  .audit-home .hero-agency .hero-agency-heading-wrap,
  .audit-home .hero-agency .hero-agency-panel-image,
  .audit-home .hero-agency .audit-hero-number { display: none; }

  .audit-home .hero-agency .audit-editorial-caption {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 56px;
    padding: 13px 16px 14px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
  }

  .audit-home .hero-agency .audit-editorial-caption:focus-visible {
    outline-color: currentColor !important;
    outline-offset: -5px;
    box-shadow: none !important;
  }

  .audit-home .hero-agency .audit-hero-title {
    margin: 0 0 4px;
    font-size: clamp(19px, 2.65vw, 24px);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
  }

  .audit-home .hero-agency .hero-agency-panel-text {
    margin: 0;
    max-width: 48ch;
    font-size: 15px;
    line-height: 1.4;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
  }

  .audit-home .audit-centered-statement {
    padding-block: clamp(36px, 7vw, 56px);
    border-top: 1px solid #29372d24;
  }

  .audit-home .audit-centered-statement .about-agency-statement {
    max-width: 29ch;
    font-size: clamp(23px, 4.1vw, 36px);
    line-height: 1.25;
  }

  html.w-mod-js .audit-home .audit-centered-statement h2.about-agency-statement {
    visibility: visible !important;
  }

  .audit-home .about-agency-statement .gsap_split_word-mask { overflow: visible !important; }
  .audit-home .about-agency-statement .gsap_split_word { transform: none !important; }

  .audit-home #services {
    padding-block: clamp(40px, 7vw, 68px);
  }

  .audit-home .services-agency-head {
    gap: 14px;
    margin-bottom: clamp(24px, 4vw, 42px);
  }

  .audit-home .services-agency-stack { gap: 12px; }
  .audit-home .services-agency-item { position: static; }

  .audit-home .service-card-agency {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(68px, 23vw, 176px);
    align-items: start;
    gap: clamp(10px, 3vw, 24px);
    min-height: 0;
    padding: clamp(14px, 3vw, 24px);
  }

  .audit-home .audit-service-card-copy { display: contents; }
  .audit-home .service-card-agency-mid { gap: 12px; }
  .audit-home .service-card-agency-left { gap: 6px; }
  .audit-home .service-card-agency-title {
    font-size: clamp(18px, 3.2vw, 28px);
    line-height: 1.12;
    text-transform: none;
  }

  .audit-home .service-card-agency-mid { grid-column: 1 / -1; grid-row: 2; }
  .audit-home .service-card-agency-text { font-size: 15px; line-height: 1.45; }
  .audit-home .service-card-agency-tags { gap: 6px; }
  .audit-home .service-card-agency-tag { font-size: 12px; }

  .audit-home .service-card-agency-image-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: none;
    align-self: start;
    grid-column: 2;
    grid-row: 1;
  }

  .audit-home .service-card-agency-image[data-library-artwork] {
    height: 100%;
    padding: 6%;
    scale: none !important;
    transform: none !important;
  }
}

@media (min-width: 660px) and (max-width: 991px) {
  .audit-home .hero-agency { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
