/* MoveX shared mobile system: touch-first layouts, readable type, no sideways overflow. */
.mobile-swipe-note { display: none; }
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  body { min-width: 320px; overflow-x: hidden; }
  img, svg, video, canvas { max-width: 100%; }
  main { overflow: clip; }
  :is(.shell, .container, .wrap, .detail-shell, .page-shell) {
    width: min(100% - 32px, 100%) !important;
    max-width: 100%;
  }
  section { scroll-margin-top: 84px; }
  :is(h1, h2, h3, p, a, button, label, small) { overflow-wrap: anywhere; }

  :is(.hero-grid, .hero-layout, .hero-content-grid, .grid) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px;
  }
  :is(.hero, .home-hero) { padding-top: 34px; padding-bottom: 36px; }
  :is(.hero h1, .home-hero h1) {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 58px) !important;
    line-height: .98;
    letter-spacing: -.06em;
  }
  :is(.hero p, .home-hero .hero-copy) { font-size: 15px; line-height: 1.65; }
  :is(.hero-art, .hero-visual, .art, .home-art) { min-width: 0; max-width: 100%; }
  :is(.actions, .hero-actions, .audit-actions, .proof-actions) { flex-wrap: wrap; }
  :is(.button, .btn, .audit-primary, .audit-secondary) { min-height: 46px; }

  :is(.section-head, .heading, .detail-head, .fit-head, .engagement-head, .faq-head, .problem-heading) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start;
    gap: 10px;
  }
  :is(.section-head h2, .heading h2, .detail-head h2, .fit-head h2, .engagement-head h2, .faq-head h2, .problem-heading h2) {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.04;
  }
  :is(.section-head p, .heading p, .detail-head > p, .fit-head > p, .engagement-head > p, .faq-head > p, .problem-heading > p) {
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    border-left: 0;
    font-size: 14px;
    line-height: 1.6;
  }

  :is(.deliverables, .fit-grid, .engagement-grid, .problem-grid, .mini-cards, .work-teasers, .testimonial-grid, .tiers, .cards, .steps, .team-home, .goal-grid, .proof-stats) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(.deliverable, .fit-card, .engagement-card, .problem-card, .mini-card, .testimonial, .proof-stat) { min-width: 0; }
  :is(.contact-box-home, .contact-box, .contact-grid, .cta-box) { grid-template-columns: minmax(0, 1fr); }
  :is(.contact-box-home, .contact-box) { padding: 20px; }
  :is(.form-pair, .form-row) { grid-template-columns: minmax(0, 1fr); }
  :is(.contact-form-home, .contact-form) { min-width: 0; padding: 16px; }
  :is(.contact-form-home input, .contact-form-home select, .contact-form-home textarea, .contact-form input, .contact-form select, .contact-form textarea) { min-height: 44px; font-size: 16px; }
  :is(.contact-form-home textarea, .contact-form textarea) { min-height: 100px; }
  :is(.cta, .cta-box) { align-items: flex-start; flex-direction: column; gap: 14px; }
  :is(.detail-footer-grid, .detail-footer-layout, .footgrid) { grid-template-columns: minmax(0, 1fr); }
  :is(.detail-footer-services nav, .footnav) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.audit-cta, .audit-actions) { max-width: 100%; }

  .marketing-explorer { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 9px; }
  .marketing-art { min-height: 225px; }
  .marketing-preview-copy { padding: 14px; }
  .marketing-preview-copy h3 { font-size: 20px; }
  .marketing-preview-copy p { font-size: 14px; }

  #services, #service-finder, #who-we-work-with { scroll-margin-top: 84px; }
  #services .section-head { margin-bottom: 13px; }
  #services .section-head h2 { font-size: clamp(31px, 8.6vw, 43px); }
  #services .section-head p { margin-top: 8px; }
  #services .service-count { flex-wrap: wrap; gap: 5px 12px; margin: 0 0 11px; font-size: 11px; }
  #services .service-experience { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 9px; border-radius: 17px; }
  #services .service-options {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0 -1px;
    padding: 1px 1px 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #services .service-options::-webkit-scrollbar, #service-finder .challenge-rail::-webkit-scrollbar { display: none; }
  #services .service-option {
    flex: 0 0 min(78vw, 300px);
    min-height: 76px;
    padding: 11px 12px;
    border: 1px solid #dce6df;
    border-radius: 13px;
    background: #fff;
    scroll-snap-align: center;
  }
  #services .service-option strong { font-size: 13px; }
  #services .service-option small { font-size: 10px; }
  #services .service-option.active { border-color: #137c48; background: #137c48; }
  #services .mobile-swipe-note, #service-finder .mobile-swipe-note {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0 4px 2px;
    color: #6b7b70;
    font-size: 10px;
    font-weight: 700;
  }
  #services .mobile-swipe-note::after, #service-finder .mobile-swipe-note::after { content: "→"; color: #13834d; font-size: 15px; }
  #services .service-preview { grid-template-rows: minmax(190px, 48vw) auto; border-radius: 14px; }
  #services .service-visual { min-height: 190px; }
  #services .service-visual::before { width: 230px; height: 230px; box-shadow: 0 0 0 20px #16844708, 0 0 0 42px #16844706; }
  #services .service-visual::after { width: 155px; height: 155px; }
  #services .visual-card { width: min(88%, 370px); padding: 17px; }
  #services .visual-card::before { margin-bottom: 13px; padding: 10px 11px; }
  #services .visual-mark { margin-bottom: 9px; font-size: clamp(26px, 7vw, 34px); }
  #services .service-description { padding: 13px 14px 15px; }
  #services .service-tags { gap: 5px; }
  #services .service-tags span { padding: 5px 8px; font-size: 9px; }
  #services .service-description h3 { font-size: 20px; }
  #services .service-description p { font-size: 13px; }
  #services .service-description > a { min-height: 42px; align-items: center; font-size: 13px; }
  #services .services-more { margin-top: 12px; }

  #service-finder .diagnostic-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 13px; }
  #service-finder .diagnostic-heading h2 { font-size: clamp(31px, 8.6vw, 43px); line-height: 1.03; }
  #service-finder .diagnostic-heading p { margin: 0; font-size: 14px; line-height: 1.55; }
  #service-finder .diagnostic-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #service-finder .challenge-list { min-width: 0; padding: 11px; border-radius: 14px; }
  #service-finder .challenge-list > small { padding: 0 2px 8px; font-size: 9px; }
  #service-finder .challenge-rail {
    display: flex;
    gap: 8px;
    margin-right: -2px;
    padding: 1px 2px 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #service-finder .challenge-option {
    flex: 0 0 min(79vw, 300px);
    min-height: 72px;
    padding: 10px;
    border: 1px solid #e0e6df;
    border-radius: 12px;
    background: #fff;
    scroll-snap-align: center;
  }
  #service-finder .challenge-option.active { background: #285b44; border-color: #285b44; }
  #service-finder .challenge-option b { font-size: 12px; }
  #service-finder .challenge-option small { font-size: 10px; }
  #service-finder .diagnostic-result { min-width: 0; padding: 16px; border-radius: 15px; }
  #service-finder .diagnostic-main { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #service-finder .diagnostic-main h3 { font-size: clamp(24px, 7vw, 32px); line-height: 1.08; }
  #service-finder .diagnostic-main p { font-size: 13px; line-height: 1.55; }
  #service-finder .services-fit { padding: 12px; }
  #service-finder .services-fit #goal-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #service-finder .services-fit #goal-links a { min-height: 42px; }
  #service-finder .progress-watch { margin-top: 12px; }
  #service-finder .progress-watch > div { display: flex; flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 520px) {
  :is(.deliverables, .fit-grid, .engagement-grid, .problem-grid, .mini-cards, .work-teasers, .testimonial-grid, .tiers, .cards, .steps, .team-home) {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(.proof-stats, .goal-grid, .why-points) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.section, .detail, .problem-section, .fit-section, .related, .home-section) { padding-top: 38px; padding-bottom: 40px; }
  :is(.deliverable, .fit-card, .engagement-card, .problem-card, .mini-card, .testimonial) { padding: 17px; }
  :is(.audit-cta, .cta-box) { padding: 17px; }
  :is(.service-tags, .marketing-tags, .proof-country-list) { flex-wrap: wrap; }
  :is(.faq-list summary, .faq summary) { font-size: 14px; line-height: 1.4; }
  .detail-footer-bottom { align-items: flex-start; flex-direction: column; }
  .marketing-options {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .marketing-option { flex: 0 0 min(78vw, 280px); min-height: 66px !important; scroll-snap-align: center; }
  .marketing-art { min-height: 205px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Compact, swipe-first service carousel for touch screens. */
@media (max-width: 760px) {
  #services .service-experience { gap: 9px; padding: 8px; }
  #services .service-options {
    perspective: 900px;
    scroll-padding-inline: 8vw;
    padding: 5px 8vw 10px;
    margin-inline: -9px;
    gap: 9px;
  }
  #services .service-option {
    flex-basis: 78vw;
    min-height: 66px;
    transform-origin: center center;
    transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .28s ease, box-shadow .22s ease, background .22s ease;
    will-change: transform;
  }
  #services .service-option small { display: none; }
  #services .service-option strong { font-size: 15px; }
  #services .service-option.active { animation: service-focus-in .32s ease-out both; }
  #services .mobile-swipe-note { font-size: 11px; }
  #services .service-preview { grid-template-rows: minmax(165px, 42vw) auto; }
  #services .service-visual { min-height: 165px; }
  #services .visual-card { padding: 15px; }
  #services .visual-mark { font-size: clamp(25px, 6.8vw, 32px); }
  #services .service-description p { font-size: 13px; }
}
@keyframes service-focus-in {
  0% { translate: 0 2px; }
  60% { translate: 0 -2px; }
  100% { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  #services .service-option.active { animation: none; }
}

/* Full service cards become a peek-ahead carousel on phones. */
.mobile-service-carousel { display: none; }
@media (max-width: 760px) {
  #services .service-experience { display: none !important; }
  #services .mobile-service-carousel { display: block; margin: 0 -16px; }
  #services .mobile-service-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 16px 14px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #services .mobile-service-rail::-webkit-scrollbar { display: none; }
  #services .mobile-service-card {
    flex: 0 0 84%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe8e1;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 21, 45, .09);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    animation: mobile-service-enter .42s cubic-bezier(.2,.7,.2,1) both;
  }
  #services .mobile-service-card:nth-child(2) { animation-delay: .04s; }
  #services .mobile-service-card:nth-child(3) { animation-delay: .08s; }
  #services .mobile-service-card-link { display: block; height: 100%; color: inherit; }
  #services .mobile-service-art {
    position: relative;
    display: grid;
    min-height: 177px;
    place-items: center;
    overflow: hidden;
    padding: 20px;
    background: linear-gradient(135deg, #edf3e8 0%, #e4f0e8 54%, #f5ead7 100%);
  }
  #services .mobile-service-art::before,
  #services .mobile-service-art::after {
    content: "";
    position: absolute;
    width: 230px;
    aspect-ratio: 1;
    border: 1px solid rgba(22, 132, 71, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(22, 132, 71, .045), 0 0 0 43px rgba(22, 132, 71, .035);
  }
  #services .mobile-service-art::after { width: 166px; }
  #services .mobile-service-art-card {
    position: relative;
    z-index: 1;
    width: min(88%, 300px);
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 13px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 14px 32px rgba(7, 21, 45, .12);
  }
  #services .mobile-service-art-card small { display: block; color: #6d7c8e; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
  #services .mobile-service-art-card strong { display: block; margin: 14px 0 13px; color: #07152d; font-size: clamp(23px, 6vw, 31px); line-height: 1.02; letter-spacing: -.055em; }
  #services .mobile-service-art-card strong em { color: #168447; font-style: normal; }
  #services .mobile-service-colorline { display: flex; gap: 6px; }
  #services .mobile-service-colorline i { width: 26%; height: 6px; border-radius: 99px; background: #07152d; }
  #services .mobile-service-colorline i:nth-child(2) { background: #168447; }
  #services .mobile-service-colorline i:nth-child(3) { background: #fea61a; }
  #services .mobile-service-index { position: absolute; right: 13px; bottom: 11px; z-index: 2; color: #18314c; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
  #services .mobile-service-index i { color: #8290a0; font-style: normal; }
  #services .mobile-service-content { padding: 14px 15px 16px; }
  #services .mobile-service-tags { display: flex; gap: 5px; overflow: hidden; margin-bottom: 10px; }
  #services .mobile-service-tags span { flex: 0 0 auto; padding: 5px 8px; border-radius: 99px; background: #f0f2ef; color: #31415a; font-size: 9px; font-weight: 800; }
  #services .mobile-service-tags span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #ef3150; vertical-align: 1px; }
  #services .mobile-service-content h3 { margin: 0 0 5px; color: #07152d; font-size: 20px; line-height: 1.2; letter-spacing: -.035em; }
  #services .mobile-service-content p { min-height: 60px; margin: 0; color: #667487; font-size: 12px; line-height: 1.55; }
  #services .mobile-service-explore { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e9eeeb; color: #0f6c39; font-size: 12px; font-weight: 850; }
  #services .mobile-service-explore b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #168447; color: #fff; font-size: 14px; }
  #services .mobile-service-rail-footer { display: flex; align-items: center; gap: 9px; padding: 0 17px; color: #6b7b70; font-size: 10px; font-weight: 750; }
  #services .mobile-service-progress { flex: 1; height: 3px; overflow: hidden; border-radius: 99px; background: #dfe8e1; }
  #services .mobile-service-progress i { display: block; width: 14%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #168447, #fea61a); transition: width .2s ease; }
  #services .mobile-service-rail-arrow { color: #168447; letter-spacing: .06em; }
  #services .mobile-swipe-note { display: none !important; }
}
@keyframes mobile-service-enter { from { opacity: .72; transform: translateY(7px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 390px) { #services .mobile-service-card { flex-basis: 88%; } }
@media (prefers-reduced-motion: reduce) { #services .mobile-service-card { animation: none; } }

@media (max-width: 760px) {
  #contact .contact-box-home { gap: 18px; padding: 21px; }
  #contact .contact-form-home { padding: 20px; }
}
 
/* Home collage: feature the supplied Google Ads dashboard in the analytics tile. */
.home-art .home-google-ads-image { position:absolute; z-index:1; left:2.5%; bottom:4.5%; width:39.5%; height:35.5%; display:block; object-fit:cover; object-position:center; border:4px solid #f7f5ed; border-radius:16px 17px 20px 17px; box-shadow:0 12px 28px rgba(7,21,45,.24); transform:rotate(-1.4deg); transition:transform .25s ease,box-shadow .25s ease; }
.home-art:hover .home-google-ads-image { transform:rotate(0) scale(1.02); box-shadow:0 16px 32px rgba(7,21,45,.28); }
.business-discussion-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 26px; padding:18px 22px; border:1px solid #dbe7de; border-left:4px solid #168447; border-radius:17px; background:linear-gradient(110deg,#f4f8f4 0%,#fff 70%,#fff7e8 100%); box-shadow:0 10px 24px rgba(7,21,45,.045); }
.business-discussion-cta>div>span { display:block; margin-bottom:5px; color:#16804c; font-size:9px; font-weight:850; letter-spacing:.13em; }
.business-discussion-cta h3 { margin:0; color:#07152d; font-size:clamp(18px,2vw,23px); line-height:1.16; letter-spacing:-.035em; }
.business-discussion-cta p { margin:5px 0 0; color:#607087; font-size:12px; line-height:1.45; }
.business-discussion-cta .button { flex:none; min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 18px; }
@media(max-width:650px) { .business-discussion-cta { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:22px; padding:17px; } .business-discussion-cta .button { width:100%; } }
