/* Homepage only. Desktop keeps its existing content and geometry. */
.ap-home .ap-home-mobile-copy, .ap-home .ap-home-mobile-only { display: none; }
.ap-home .ap-home-disclosure { display: contents; }
.ap-home .ap-home-disclosure > summary { display: none; }
.ap-home h2 > .ap-home-desktop-copy { display: contents; color: inherit; }
.ap-home .ap-main h2 > .ap-home-desktop-copy > span { color: var(--ap-red); }
.ap-home .ap-capability-section h2 > .ap-home-desktop-copy > span { color: #fff; }
@media (min-width: 761px) {
  .ap-home .ap-home-disclosure::details-content { display: contents; }
  .ap-home .ap-footer-grid > div > .ap-home-footer-details > a { display: block; margin-bottom: 10px; }
}
@media (max-width: 760px) {
  .ap-home h2 > .ap-home-desktop-copy { display: contents; }
  .ap-home h2 > .ap-home-mobile-copy { display: none; }
  .ap-home .ap-home-mobile-copy { display: block; }
  .ap-home h2 { font-size: 29px; }
  .ap-home .ap-hero, .ap-home .ap-hero-inner { min-height: 0; }
  .ap-home .ap-hero-inner { padding-block: 30px 32px; }
  .ap-home .ap-hero .ap-kicker { font-size: 11px !important; line-height: 1.5; margin-bottom: 16px !important; }
  .ap-home .ap-hero h1 { font-size: clamp(34px, 9vw, 48px); margin-bottom: 16px; }
  .ap-home .ap-main .ap-hero-copy > p.ap-home-mobile-copy { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
  .ap-home .ap-hero-badges { display: none; }
  .ap-home .ap-hero .ap-actions { gap: 16px; flex-wrap: wrap; }
  .ap-home .ap-hero-proof { margin-top: 18px; }
  .ap-home .ap-promise-strip .ap-wrap { display: flex; justify-content: center; padding-block: 13px; }
  .ap-home .ap-promise-strip .ap-wrap > span { display: none; }
  .ap-home .ap-promise-strip a { font-size: 12px; }
  .ap-home .ap-section, .ap-home .ap-review-wall { padding-block: 32px; }
  .ap-home .ap-services .ap-section-heading { margin-bottom: 20px; }
  .ap-home .ap-services .ap-section-heading > div:last-child { margin-top: 12px; }
  .ap-home .ap-services .ap-kicker,
  .ap-home .ap-service-content p,
  .ap-home .ap-service-content .ap-card-eyebrow,
  .ap-home .ap-service-content .ap-card-link { display: none; }
  .ap-home .ap-service-grid { grid-template-columns: 1fr; gap: 10px; }
  .ap-home .ap-service-card { flex-direction: row; align-items: center; min-height: 80px; }
  .ap-home .ap-service-card:hover { transform: none; }
  .ap-home .ap-service-photo { width: 88px; height: 80px; flex: none; }
  .ap-home .ap-service-icon { display: none; }
  .ap-home .ap-service-content { padding: 14px 17px; flex: 1; }
  .ap-home .ap-service-content h3 { font-size: 17px; line-height: 1.35; margin: 0; letter-spacing: -.02em; }
  .ap-home .ap-service-content h3 br { display: none; }
  .ap-home .ap-service-card::after { content: '↗'; padding-right: 18px; color: white; font-size: 21px; }
  .ap-home .ap-more-services { margin-top: 18px; gap: 12px 16px; }
  .ap-home .ap-more-services > span { display: none; }
  .ap-home .ap-home-disclosure { display: block; }
  .ap-home .ap-home-disclosure > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 52px; padding: 16px 0; list-style: none; cursor: pointer;
    font: 700 16px/1.4 var(--ap-font); color: var(--ap-navy);
    border-block: 1px solid var(--ap-line);
  }
  .ap-home .ap-home-disclosure > summary::-webkit-details-marker { display: none; }
  .ap-home .ap-home-disclosure > summary > span { font-size: 24px; font-weight: 400; }
  .ap-home .ap-home-disclosure[open] > summary > span { transform: rotate(45deg); }
  .ap-home .ap-home-disclosure > summary:focus-visible { outline: 3px solid var(--ap-blue); outline-offset: 4px; }
  .ap-home .ap-home-about { width: calc(100% - 40px); margin: 0 auto; }
  .ap-home .ap-home-about .ap-wrap { width: 100%; }
  .ap-home .ap-home-about .ap-family-section { padding-block: 24px; }
  .ap-home .ap-home-about .ap-family-art > img { height: 230px; }
  .ap-home .ap-home-about .ap-difference { padding-block: 24px; }
  .ap-home .ap-review-wall .ap-review-head { margin-bottom: 18px; text-align: left; }
  .ap-home .ap-review-wall .ap-kicker { display: none; }
  .ap-home .ap-review-wall .ap-review-summary { flex-direction: row; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; padding: 0; align-items: center; }
  .ap-home .ap-review-wall .ap-rating > strong { font-size: 30px; }
  .ap-home .ap-review-wall .ap-combined-reviews > strong { font-size: 15px; }

  .ap-home .ap-review-wall .ap-review-cards { grid-template-columns: 1fr; gap: 12px; }
  .ap-home .ap-review-wall:not(.ap-reviews-expanded) .ap-review-card:nth-child(n+3) { display: none; }
  .ap-home .ap-review-wall .ap-review-card { padding: 18px; }
  .ap-home .ap-review-wall .ap-quote-mark { display: none; }
  .ap-home .ap-review-wall .ap-review-card blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
  .ap-home .ap-review-wall .ap-review-toggle { margin-top: 16px; font-size: 14px; }
  .ap-home .ap-review-wall[data-ap-review-feed]:has(.ap-review-card:nth-child(3)) .ap-review-toggle[hidden] { display: block !important; }
  .ap-home .ap-review-wall .ap-review-bottom { margin-top: 18px; gap: 12px; }
  .ap-home .ap-review-wall .ap-review-source { font-size: 13px; }
  .ap-home .ap-capability-section { padding-block: 32px; }
  .ap-home .ap-capability-section .ap-kicker { display: none; }
  .ap-home .ap-capability-intro { gap: 14px; }
  .ap-home .ap-main .ap-capability-copy p.ap-home-mobile-copy { font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
  .ap-home .ap-capability-services { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .ap-home .ap-home-project-details { margin-top: 20px; }
  .ap-home .ap-home-project-details > summary { color: #fff; border-color: #ffffff40; }
  .ap-home .ap-capability-proof { margin-top: 20px; padding-top: 0; border: 0; }
  .ap-home .ap-area-section .ap-kicker { display: none; }
  .ap-home .ap-city-list { margin-top: 18px; }
  .ap-home .ap-city-list a { font-size: 13px; padding-block: 10px; }
  .ap-home .ap-area-grid { gap: 20px; }
  .ap-home .ap-home-map-details[open] .ap-map { padding-top: 16px; }
  .ap-home .ap-map iframe { height: 250px; }
  .ap-home .ap-home-faq-intro > .ap-kicker { display: none; }
  .ap-home .ap-home-faq-intro .ap-text-link { margin-top: 12px; }
  .ap-home .ap-home-faq-layout { gap: 20px; }
  .ap-home .ap-faq-item > summary { font-size: 15px; padding-block: 16px; }
  .ap-home .ap-request-section { padding-block: 32px; }
  .ap-home .ap-request-section .ap-kicker, .ap-home .ap-request-card > .ap-card-eyebrow { display: none; }
  .ap-home .ap-request-layout { gap: 20px; }
  .ap-home .ap-request-card { padding: 20px; }
  .ap-home .ap-footer-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .ap-home .ap-footer-brand > a { display: none; }
  .ap-home .ap-footer-brand .ap-social a { font-size: 13px; }
  .ap-home .ap-home-footer-details > h3 { display: none; }
  .ap-home .ap-home-footer-details > summary { padding-block: 12px; color: #fff; border-color: #ffffff40; }
  .ap-home .ap-home-footer-details[open] > a { display: block; padding-block: 8px; }
}

/* Full wording stays available through native disclosures on mobile. */
@media (min-width: 761px) {
  .ap-home .ap-home-disclosure.ap-home-mobile-only { display: none; }
  .ap-home .ap-main .ap-hero-copy > .ap-home-hero-details > p:not(.ap-kicker) { max-width: 480px; color: #e1e4ed; font-size: 18px; line-height: 1.75; margin: 0 0 25px; }
  .ap-home .ap-main .ap-area-grid .ap-home-copy-details > p.ap-area-intro { font-size: 17px; line-height: 1.8; font-weight: 700; color: var(--ap-navy); margin: 23px 0 14px; }
}
@media (max-width: 760px) {
  .ap-home .ap-home-copy-details { margin-block: 0 18px; }
  .ap-home .ap-home-copy-details > p { padding-top: 14px; }
  .ap-home .ap-home-service-details { margin-block: 18px 0; }
  .ap-home .ap-home-service-details h3 { font-size: 17px; margin: 18px 0 8px; }
  .ap-home .ap-home-service-details p { margin-bottom: 18px; }
  .ap-home .ap-hero .ap-home-copy-details > summary,
  .ap-home .ap-capability-section .ap-home-copy-details > summary { color: #fff; border-color: #ffffff40; }
  .ap-home .ap-hero .ap-home-copy-details p { font-size: 16px; line-height: 1.6; }
  .ap-home .ap-home-footer-details[open] > a { font-size: 14px; }
  .ap-home .ap-footer-bottom > div { flex-wrap: wrap; gap: 12px 23px; }
}
