/* =========================================================
   V52 - Mobile fit, hierarchy and design refinements
   Loaded after page styles and the global typography layer.
   ========================================================= */

/* Defensive fit baseline: contain layout without hiding component-level intent. */
html,body{max-width:100%;overflow-x:hidden}
@supports(overflow:clip){html,body{overflow-x:clip}}
main,section,article,aside,nav,header,footer,div{min-width:0}
iframe,video,canvas,svg{max-width:100%}
pre,code{max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}

/* Turn old text-arrow affordances into actual visual buttons. */
.vm-inline-cta,
.vm-card-cta{
  width:max-content;max-width:100%;min-height:38px;padding:0 13px;
  display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
  border:1px solid rgba(217,10,44,.34);border-radius:10px;
  background:rgba(217,10,44,.06);color:#c90b2b!important;
  text-decoration:none!important;font-size:10px!important;font-weight:700!important;
  line-height:1.25!important;letter-spacing:.015em!important;white-space:normal;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease
}
.vm-inline-cta svg,.vm-card-cta svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.vm-inline-cta:hover,.vm-card-cta:hover{transform:translateY(-1px);border-color:#d90a2c;background:#d90a2c;color:#fff!important}
.vm-inline-cta:hover svg,.vm-card-cta:hover svg{transform:translateX(2px)}
.vm-inline-cta--compact{min-height:34px;padding-inline:10px;font-size:9px!important}
.vm-inline-cta--dark-surface,.vm-inline-cta--menu{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.045);color:#fff!important}
.vm-inline-cta--dark-surface:hover,.vm-inline-cta--menu:hover{border-color:#d90a2c;background:#d90a2c}
.vm-inline-cta--light-surface{border-color:rgba(217,10,44,.30);background:rgba(217,10,44,.045);color:#c60a29!important}

/* Header: the call action should read as a primary action. */
.vm-header__cta{background:#d90a2c!important;border-color:#d90a2c!important;box-shadow:0 10px 28px rgba(217,10,44,.18)}
.vm-header__cta:hover{background:#ef1236!important;border-color:#ef1236!important}
.vm-industry-menu-intro .vm-inline-cta--menu{margin-top:14px}

/* Mobile navigation: make the existing hierarchy explicit and tap-friendly. */
@media(max-width:820px){
  .vm-mobile-menu{padding:14px 16px 22px!important;background:rgba(5,6,9,.995)!important}
  .vm-mobile-menu__inner{gap:6px!important}
  .vm-mobile-menu details{border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.018);overflow:hidden}
  .vm-mobile-menu details[open]{border-color:rgba(217,10,44,.22);background:rgba(217,10,44,.025)}
  .vm-mobile-menu summary{position:relative;display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:14px 42px 14px 13px!important;font-size:12px!important;font-weight:700!important}
  .vm-mobile-menu summary:after{content:"";position:absolute;right:15px;top:50%;width:8px;height:8px;border-right:1.5px solid rgba(255,255,255,.72);border-bottom:1.5px solid rgba(255,255,255,.72);transform:translateY(-68%) rotate(45deg);transition:transform .18s ease,border-color .18s ease}
  .vm-mobile-menu details[open]>summary:after{border-color:#ff4964;transform:translateY(-28%) rotate(225deg)}
  .vm-mobile-subnav{gap:2px;padding:4px 8px 10px 13px!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.065)}
  .vm-mobile-subnav a{padding:11px 10px!important;border:1px solid transparent;border-radius:8px;color:rgba(255,255,255,.72)!important;font-size:10px!important;line-height:1.35}
  .vm-mobile-subnav a:hover,.vm-mobile-subnav a:focus-visible{background:rgba(255,255,255,.045);color:#fff!important}
  .vm-mobile-group-label{display:block;padding:13px 10px 4px;color:#ff4964;font-size:8px;font-weight:700;letter-spacing:.16em}
  .vm-mobile-menu__inner>a:not(.vm-mobile-menu__cta){border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.012)}
  .vm-mobile-menu__cta{justify-content:center!important;background:#d90a2c!important;border-color:#d90a2c!important}
}

/* Service pages: calmer mobile hero scale + reusable TechBehemoths trust marker. */
.vm-service-award{width:min(360px,100%);margin-top:17px;padding:10px 12px;display:flex;align-items:center;gap:11px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035);color:#fff}
.vm-service-award img{width:42px;height:42px;object-fit:contain;flex:0 0 auto;border-radius:7px;background:#fff;padding:3px}
.vm-service-award span{min-width:0;display:grid;gap:3px}
.vm-service-award small{color:rgba(255,255,255,.42);font-size:8px;font-weight:700;letter-spacing:.12em}
.vm-service-award strong{color:#fff;font-size:10px;line-height:1.3;font-weight:700}

/* Add a compact visual icon to recurring service section labels. */
.page-website-design .wd-label,
.page-ecommerce .ec-label,
.page-digital-marketing .dm-label,
.page-graphic-design .gd-label,
.page-saas-solutions .saas-label,
.page-hosting .hs-label,
.page-website-maintenance .wm-label,
.page-ai-solutions .ai-label{display:inline-flex;align-items:center;gap:9px}
.page-website-design .wd-label:before,
.page-ecommerce .ec-label:before,
.page-digital-marketing .dm-label:before,
.page-graphic-design .gd-label:before,
.page-saas-solutions .saas-label:before,
.page-hosting .hs-label:before,
.page-website-maintenance .wm-label:before,
.page-ai-solutions .ai-label:before{content:"";width:27px;height:27px;flex:0 0 auto;border:1px solid rgba(217,10,44,.24);border-radius:8px;background-color:rgba(217,10,44,.05);background-position:center;background-repeat:no-repeat;background-size:15px 15px}
.page-website-design .wd-label:before{background-image:url('/assets/icons/nav/website-design-custom-websites-built-for-speed-ux-and-conve-6357063fd1.svg')}
.page-ecommerce .ec-label:before{background-image:url('/assets/icons/nav/ecommerce-website-design-conversion-focused-stores-and-comme-a228d238cf.svg')}
.page-digital-marketing .dm-label:before{background-image:url('/assets/icons/nav/digital-marketing-data-led-campaigns-designed-around-measura-1f0793bf0e.svg')}
.page-graphic-design .gd-label:before{background-image:url('/assets/icons/nav/graphic-design-brand-systems-visual-design-and-campaign-ass-f83af357e0.svg')}
.page-saas-solutions .saas-label:before{background-image:url('/assets/icons/nav/saas-solutions-mvps-software-platforms-and-custom-digital-p-f1dc3c6cd7.svg')}
.page-hosting .hs-label:before{background-image:url('/assets/icons/nav/web-email-hosting-reliable-hosting-migration-and-infrastr-4d7117bc01.svg')}
.page-website-maintenance .wm-label:before{background-image:url('/assets/icons/nav/website-maintenance-security-updates-performance-and-ongoi-2e96a8855a.svg')}
.page-ai-solutions .ai-label:before{background-image:url('/assets/icons/nav/ai-solutions-services-ai-automation-assistants-integrati-e534b25058.svg')}

@media(max-width:620px){
  .page-website-design .wd-hero h1,
  .page-ecommerce .ec-hero h1,
  .page-digital-marketing .dm-hero h1,
  .page-graphic-design .gd-hero h1,
  .page-saas-solutions .saas-hero h1,
  .page-hosting .hs-hero h1,
  .page-website-maintenance .wm-hero h1,
  .page-ai-solutions .ai-hero h1{
    font-size:clamp(36px,10.6vw,48px)!important;line-height:.94!important;letter-spacing:-.052em!important;overflow-wrap:normal;word-break:normal
  }
  .vm-service-award{width:100%;margin-top:14px}
}

/* Industries: prevent long construction taxonomy labels from hanging off mobile. */
.ih-card .vm-card-cta{margin-top:24px}
@media(max-width:620px){
  .page-industries .ih-hero h1{font-size:clamp(38px,11vw,50px)!important;line-height:.95!important}
  .ih-card{padding:22px!important;overflow:hidden!important}
  .ih-card>span,.ih-category__cards .ih-card>span{position:static!important;display:block!important;max-width:100%;margin-top:18px;overflow-wrap:anywhere;word-break:normal;line-height:1.45}
  .ih-card h3,.ih-category__cards .ih-card h3{margin:28px 0 10px!important;font-size:24px!important;line-height:1.08!important;overflow-wrap:anywhere}
  .ih-category__head{padding:22px!important}
  .ih-category__head strong{margin-top:22px!important}
}

/* Search visibility: smaller hero typography and mobile-safe system/compare content. */
.sv-page .sv-system,.sv-page .sv-system__core,.sv-page .sv-system__nodes,.sv-page .sv-compare__row{min-width:0}
.sv-page .sv-system__core strong,.sv-page .sv-system__nodes span,.sv-page .sv-compare__row span{overflow-wrap:anywhere}
@media(max-width:620px){
  .sv-hero h1{font-size:clamp(36px,10.4vw,47px)!important;line-height:.94!important;letter-spacing:-.052em!important}
  .sv-page h2{font-size:clamp(31px,9vw,42px)!important;line-height:1!important}
  .sv-system{width:calc(100% - 22px)!important;left:11px!important;right:auto!important}
  .sv-system__core strong{font-size:18px!important;line-height:1!important}
  .sv-system__nodes{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sv-system__nodes span{font-size:9px!important;letter-spacing:.04em!important;padding:8px 4px!important}
  .sv-compare__row{padding:15px 10px!important}
  .sv-compare__row span{font-size:11px!important;line-height:1.45!important}
}

/* Courses/resources: collapse the actual resource hero at tablet size and fit long names. */
.crs-page *, .res-page *{min-width:0}
.crs-card h3 a,.res-related__grid h3 a,.res-files__grid strong,.res-breadcrumbs span{overflow-wrap:anywhere}
@media(max-width:920px){
  .res-hero__layout{grid-template-columns:minmax(0,1fr)!important;gap:34px!important;margin-top:42px!important}
  .res-cover-wrap{width:min(520px,100%);margin-inline:auto}
  .res-cover{width:100%!important;max-width:100%!important}
}
@media(max-width:620px){
  .crs-hero h1{font-size:clamp(36px,10.5vw,47px)!important;line-height:.95!important;letter-spacing:-.052em!important}
  .crs-page h2{font-size:clamp(30px,8.7vw,40px)!important;line-height:1!important}
  .crs-kicker,.res-kicker{overflow-wrap:anywhere}
  .crs-filters{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:5px}
  .crs-filters button{flex:0 0 auto;white-space:nowrap}
  .crs-card h3{font-size:17px!important;line-height:1.2!important}
  .res-hero h1{font-size:clamp(32px,9.3vw,43px)!important;line-height:.98!important;letter-spacing:-.045em!important;overflow-wrap:anywhere}
  .res-overview aside h2,.res-related__head h2,.res-files__head h2,.res-gallery-section__head h2{font-size:clamp(29px,8.5vw,39px)!important;line-height:1!important}
  .res-content h2{font-size:30px!important;line-height:1.08!important}
  .res-content h3{font-size:22px!important;line-height:1.15!important}
  .res-meta>div{min-width:0}
}

/* About: turn the location panel into a stronger global network visual. */
.page-about .a2-office-map{height:500px;border:1px solid rgba(255,255,255,.10)!important;border-radius:24px;background:#08090c!important;box-shadow:0 30px 80px rgba(15,16,20,.14);isolation:isolate}
.page-about .a2-office-map:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 50%,rgba(217,10,44,.12),transparent 35%),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:auto,48px 48px,48px 48px;mask-image:linear-gradient(#000,rgba(0,0,0,.55))}
.page-about .a2-office-map:before{border-color:rgba(217,10,44,.20)!important;box-shadow:0 0 80px rgba(217,10,44,.05)}
.page-about .a2-office-map__axis{background:rgba(255,255,255,.08)!important}
.page-about .a2-office-map__orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(255,255,255,.075);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.page-about .a2-office-map__orbit--a{width:390px;height:390px}
.page-about .a2-office-map__orbit--b{width:255px;height:255px;border-color:rgba(217,10,44,.16)}
.page-about .a2-office-map__route{position:absolute;left:50%;top:50%;height:1px;width:56%;transform-origin:left center;background:linear-gradient(90deg,rgba(217,10,44,.08),rgba(255,73,100,.75),rgba(217,10,44,.06));pointer-events:none}
.page-about .a2-office-map__route--a{transform:rotate(22deg)}
.page-about .a2-office-map__route--b{transform:rotate(154deg)}
.page-about .a2-office{width:210px;padding:15px 16px 15px 45px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(11,12,16,.82);box-shadow:0 15px 40px rgba(0,0,0,.18);backdrop-filter:blur(8px)}
.page-about .a2-office i{left:18px!important;top:20px!important;box-shadow:0 0 18px rgba(217,10,44,.62)!important}
.page-about .a2-office span{margin-bottom:5px!important;color:rgba(255,255,255,.43)!important}
.page-about .a2-office strong{display:block;color:#fff;font-size:17px!important}
.page-about .a2-office small{display:block;margin-top:5px;color:rgba(255,255,255,.45);font-size:9px;font-weight:600;letter-spacing:.05em}
.page-about .a2-cta__inner .a2-label{color:#fff!important}
@media(max-width:620px){
  .page-about .a2-office-map{height:auto!important;min-height:0!important;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .page-about .a2-office-map:before,.page-about .a2-office-map__axis,.page-about .a2-office-map__orbit,.page-about .a2-office-map__route{display:none!important}
  .page-about .a2-office{position:relative!important;left:auto!important;top:auto!important;width:auto!important;min-height:118px;padding:17px 12px 15px 40px!important}
  .page-about .a2-office i{left:15px!important;top:20px!important}
  .page-about .a2-office strong{font-size:15px!important}
}
@media(max-width:390px){.page-about .a2-office-map{grid-template-columns:1fr}}

/* Blog archive: preserve the whole supplied image rather than cropping it. */
.bl-feature__image,.bl-card__image,.ba-related__grid article>a:first-child{background:#0a0b0e}
.bl-feature__image img,.bl-card__image img,.ba-related__grid img{object-fit:contain!important;object-position:center!important;transform:none!important}
.bl-card__read,.ba-related__read{margin-left:auto}
.ba-feature{height:auto!important;aspect-ratio:auto!important;display:flex;align-items:center;justify-content:center;background:#090a0d;overflow:hidden!important}
.ba-feature img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
.ba-hero h1{font-size:clamp(42px,5.4vw,74px)!important;line-height:.98!important;letter-spacing:-.052em!important}
@media(max-width:620px){
  .bl-hero h1{font-size:clamp(36px,10.4vw,47px)!important;line-height:.96!important}
  .bl-feature{height:320px!important}
  .bl-feature__overlay h2{font-size:clamp(24px,7.5vw,34px)!important;line-height:1.04!important}
  .bl-card__footer{align-items:flex-start!important;flex-direction:column!important}
  .bl-card__read{margin-left:0!important}
  .ba-hero h1{font-size:clamp(30px,8.9vw,41px)!important;line-height:1.02!important;letter-spacing:-.043em!important;overflow-wrap:anywhere}
  .ba-hero__copy>p{font-size:13px!important;line-height:1.72!important}
  .ba-feature{margin-top:38px!important}
  .ba-content{font-size:15px!important;line-height:1.78!important}
  .ba-content h2{margin-top:48px!important;font-size:29px!important;line-height:1.08!important}
  .ba-content h3{margin-top:34px!important;font-size:21px!important;line-height:1.15!important}
  .ba-content table{display:block;max-width:100%;overflow-x:auto}
  .ba-related__head{align-items:flex-start!important;flex-direction:column!important}
  .ba-related__head h2{font-size:38px!important}
}

/* Contact: keep the dark form visually stable under browser autofill. */
.page-contact .contact-field>label,
.page-contact .contact-budget__title,
.page-contact .contact-budget label{color:#fff!important}
.page-contact .contact-field label small,.page-contact .contact-budget__title small{color:rgba(255,255,255,.46)!important}
.page-contact input:-webkit-autofill,
.page-contact input:-webkit-autofill:hover,
.page-contact input:-webkit-autofill:focus,
.page-contact textarea:-webkit-autofill,
.page-contact textarea:-webkit-autofill:hover,
.page-contact textarea:-webkit-autofill:focus,
.page-contact select:-webkit-autofill{
  -webkit-text-fill-color:#fff!important;caret-color:#fff!important;
  -webkit-box-shadow:0 0 0 1000px #090a0d inset!important;
  box-shadow:0 0 0 1000px #090a0d inset!important;
  border-radius:0!important;transition:background-color 9999s ease-out 0s!important
}
.page-contact .contact-field:focus-within input:-webkit-autofill,
.page-contact .contact-field:focus-within textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #0d0f13 inset!important;box-shadow:0 0 0 1000px #0d0f13 inset!important}
.page-contact input:autofill,.page-contact textarea:autofill,.page-contact select:autofill,
.page-contact input:-moz-autofill,.page-contact textarea:-moz-autofill,.page-contact select:-moz-autofill{background:#090a0d!important;color:#fff!important;caret-color:#fff!important}

/* Careers: load the Google iframe eagerly and keep an actionable fallback visible while it initializes. */
.cr-form-shell{position:relative}
.cr-form-status{padding:12px 16px;background:#fff4f5;border-bottom:1px solid #f1cfd5;color:#7d1024;font-size:11px;line-height:1.5}
.cr-form-status a{color:#b00825;font-weight:700}
.cr-form-status.is-loaded{background:#eff8f1;border-color:#cfe6d4;color:#286236}
.cr-form-status.is-delayed{background:#fff7e8;border-color:#efdcb4;color:#78540d}
.cr-form-fallback{margin:0;padding:16px;background:#fff;color:#111;font-size:12px}.cr-form-fallback a{color:#b00825;font-weight:700}
.cr-form-iframe{display:block!important;width:100%!important;max-width:100%!important;border:0!important;background:#fff!important}

@media(max-width:620px){
  .cr-hero h1{font-size:clamp(36px,10.5vw,48px)!important;line-height:.95!important}
  .cr-form-shell{margin-inline:-2px}
  .cr-form-iframe{height:3600px!important}
}

/* Final narrow-screen typography guards for long hero copy. */
@media(max-width:620px){
  .ind-page .ind-hero h1{font-size:clamp(35px,10.2vw,47px)!important;line-height:.97!important;overflow-wrap:anywhere}
  .page-about .a2-hero h1{font-size:clamp(36px,10.4vw,48px)!important;line-height:.96!important;overflow-wrap:anywhere}
  .page-contact .contact-hero h1{font-size:clamp(38px,11vw,50px)!important;line-height:.96!important;overflow-wrap:anywhere}
  .page-contact .contact-form__signal strong{white-space:normal!important;overflow-wrap:anywhere}
}


/* V53 - Course library cards: one readable column below desktop widths. */
@media(max-width:920px){
  .crs-grid{grid-template-columns:1fr!important}
}
@media(min-width:621px) and (max-width:920px){
  .crs-card{display:grid!important;grid-template-columns:210px minmax(0,1fr);align-items:stretch}
  .crs-card__image{height:100%;min-height:220px;aspect-ratio:auto!important;border-bottom:0!important;border-right:1px solid rgba(0,0,0,.09)}
  .crs-card__body{padding:24px!important}
  .crs-card h3{font-size:19px!important;line-height:1.16!important}
  .crs-card p{font-size:11px!important;line-height:1.7!important;min-height:0!important;-webkit-line-clamp:5!important}
}
@media(max-width:620px){
  .crs-card__body{padding:18px!important}
  .crs-card h3{margin-top:16px!important}
  .crs-card p{font-size:11px!important;line-height:1.68!important;min-height:0!important}
}

/* V53 - Blog archive counter replaces the old latest-article promo and verbose feed heading. */
.bl-counter{position:relative;min-height:420px;display:flex;flex-direction:column;justify-content:flex-end;padding:34px;border:1px solid rgba(255,255,255,.12);background:radial-gradient(circle at 72% 24%,rgba(217,10,44,.18),transparent 30%),linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px),#090a0d;background-size:auto,46px 46px,46px 46px;overflow:hidden}
.bl-counter:before{content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border:1px solid rgba(217,10,44,.22);border-radius:50%;box-shadow:0 0 0 52px rgba(217,10,44,.035),0 0 0 104px rgba(255,255,255,.018)}
.bl-counter__eyebrow{position:relative;z-index:1;color:#ff4964;font-size:10px;font-weight:700;letter-spacing:.16em}
.bl-counter__number{position:relative;z-index:1;margin-top:auto;color:#fff;font-size:clamp(112px,12vw,184px);font-weight:600;line-height:.72;letter-spacing:-.09em}
.bl-counter>strong{position:relative;z-index:1;margin-top:25px;color:#fff;font-size:18px;font-weight:600}
.bl-counter>p{position:relative;z-index:1;max-width:440px;margin:10px 0 0;color:rgba(255,255,255,.48);font-size:11px;line-height:1.7}
.bl-counter__signals{position:absolute;right:28px;bottom:31px;display:flex;gap:6px}
.bl-counter__signals i{width:7px;height:7px;border:1px solid rgba(255,255,255,.22);transform:rotate(45deg)}
.bl-counter__signals i:first-child{background:#d90a2c;border-color:#d90a2c;box-shadow:0 0 12px rgba(217,10,44,.55)}
.bl-tools{padding-top:34px!important}
@media(max-width:920px){.bl-counter{min-height:300px}.bl-tools{padding-top:26px!important}}
@media(max-width:620px){.bl-counter{min-height:270px;padding:24px}.bl-counter__number{font-size:104px}.bl-counter__signals{right:20px;bottom:22px}}

/* V53 - Recognition component spacing inside service families. */
.vm-recognition--services{margin:0}
