/* Touch layouts only. No declarations apply above 1024px. */
.hire-swipe-hero .hire-swipe-arrows { display:none; }

@media (max-width:1024px) {
  .container,.container-wide { padding-inline:24px; }
  main,section,.container,.container-wide { min-width:0; }
  .hero-content,.detail-hero-grid,.detail-two-col,.contact-grid,.about-grid,.about-details-grid { grid-template-columns:minmax(0,1fr); gap:32px; }
  .section,.work-detail-section,.orbit-section { padding-block:60px; }
  .work-detail-hero,.work-library-hero { padding:112px 0 48px; }
  .detail-hero-grid { margin-top:24px; }
  .detail-status { max-width:none; padding:22px; }
  .detail-summary,.detail-lead { font-size:16px; line-height:1.7; }
  .nav-hamburger { min-width:44px; min-height:44px; justify-content:center; }
  .nav .hire-swipe {
    --swipe-x:0px; --swipe-progress:0;
    position:relative; width:clamp(190px,56vw,228px); min-height:46px;
    display:flex; align-items:center; justify-content:flex-start;
    padding:4px 14px; overflow:hidden; border:1px solid rgba(255,255,255,.56);
    border-radius:16px; color:#fff; background:linear-gradient(135deg,rgba(255,255,255,.26),rgba(255,255,255,.11));
    -webkit-backdrop-filter:blur(18px) saturate(150%); backdrop-filter:blur(18px) saturate(150%);
    box-shadow:0 10px 28px rgba(111,31,3,.2),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(255,255,255,.12);
    touch-action:pan-y; user-select:none; cursor:grab; transform:none;
  }
  .nav .hire-swipe::before {
    content:''; position:absolute; inset:-1px auto -1px -45%; width:42%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);
    transform:skewX(-18deg); animation:hireSwipeShimmer 3s ease-in-out infinite;
  }
  .nav .hire-swipe::after {
    content:'SWIPE'; position:absolute; right:12px; bottom:4px;
    color:rgba(255,255,255,.68); font-size:7px; font-weight:900; letter-spacing:.17em;
  }
  .hire-swipe-content {
    position:relative; z-index:1; display:flex; align-items:center; gap:12px;
    transform:translateX(var(--swipe-x)); transition:transform .28s cubic-bezier(.22,1,.36,1);
  }
  .hire-swipe.is-swiping { cursor:grabbing; box-shadow:0 13px 34px rgba(111,31,3,.28),0 0 0 3px rgba(255,255,255,.16),inset 0 1px 0 rgba(255,255,255,.62); }
  .hire-swipe.is-swiping .hire-swipe-content { transition:none; }
  .hire-swipe-content b { color:#fff; font-size:14px; font-weight:850; white-space:nowrap; }
  .hire-swipe-arrows { display:inline-flex!important; color:rgba(255,255,255,.92); font-style:normal; font-size:18px; font-weight:900; letter-spacing:-3px; animation:hireSwipeArrows 1.2s ease-in-out infinite; }
  .hire-swipe.swipe-complete { background:linear-gradient(135deg,rgba(255,255,255,.42),rgba(255,255,255,.2)); }
  @keyframes hireSwipeShimmer { 0%,58%{left:-45%;opacity:0} 72%{opacity:1} 100%{left:115%;opacity:0} }
  @keyframes hireSwipeArrows { 0%,100%{transform:translateX(0);opacity:.55} 50%{transform:translateX(5px);opacity:1} }
  .nav-drawer { top:78px; max-height:calc(100vh - 94px); max-height:calc(100dvh - 94px); overflow-y:auto; overscroll-behavior:contain; padding-bottom:calc(20px + env(safe-area-inset-bottom)); }
  .nav-drawer a,.nav-drawer button { min-height:44px; }
  .services-grid,.cases-grid,.certs-grid,.cert-detail-grid,.values-grid,.education-grid,.authority-grid,.stats-grid-4,.results-metrics,.summary-mobile-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:20px; }
  .footer-grid.footer-grid-seo { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tools-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .weekly-proof-grid,.wordpress-project-grid,.linkedin-case-grid,.mern-proof-grid,.ecommerce-proof-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .meta-media-grid,.report-dashboard-card,.shopify-store-card,.award-frame { grid-template-columns:minmax(0,1fr); }
  .report-dashboard-image,.shopify-store-image { border-left:0; border-top:1px solid #dbe4e0; }
  .pmax-metrics,.ecommerce-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pmax-metrics>div,.ecommerce-metrics>div { min-width:0; padding:18px; }
  .pmax-metrics b,.ecommerce-metrics b { font-size:22px; overflow-wrap:anywhere; }
  .pmax-metrics small,.ecommerce-metrics small { font-size:11px; line-height:1.5; }
  .pmax-proof-copy p,.detail-point p,.process-step p,.wordpress-project-card p,.shopify-store-card p,.report-dashboard-card p,.ecommerce-proof-card p,.linkedin-case-card p { font-size:15px; line-height:1.65; }
  .detail-point b,.process-step b { font-size:16px; line-height:1.5; }
  .process-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-orbit { height:auto; display:block; width:100%; }
  .orbit-rings { display:none; }
  .orbit-core,.orbit-core.work-reveal,.orbit-core.work-reveal.work-visible { position:relative; top:auto; left:auto; width:100%; height:auto; margin:0 0 24px; padding:24px; border-radius:20px; transform:none; }
  #orbitServices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .orbit-service { position:relative; top:auto; left:auto; width:100%; height:auto; min-height:144px; border-radius:20px; opacity:1; transform:none!important; animation:none!important; }
  .orbit-card-face { min-height:144px; padding:24px; border-radius:20px; gap:12px; }
  .orbit-service b { font-size:18px; line-height:1.3; }
  .orbit-service small { font-size:13px; line-height:1.5; }
  .orbit-service:hover .orbit-card-face,.orbit-service:focus-visible .orbit-card-face { transform:none!important; }
  .orbit-service:focus-visible { outline:3px solid #203f52; outline-offset:4px; }
  .profile-hero-card { width:100%; max-width:470px; margin-inline:auto; }
  .profile-float-note { display:none; }
  .award-frame { gap:20px; }
  .award-photo-wrap,.award-photo-wrap>img { min-height:0; }
  .award-photo-wrap>img { height:auto; }
  .award-photo-caption { position:relative; inset:auto; border-radius:0; }
  .hire-dialog { max-height:calc(100dvh - 32px); overflow:auto; }
  .whatsapp-widget { left:14px; bottom:calc(14px + env(safe-area-inset-bottom)); padding:8px; border-radius:50%; grid-template-columns:38px; }
  .whatsapp-widget b,.whatsapp-widget small { display:none; }
  .portfolio-bot { right:14px; bottom:calc(14px + env(safe-area-inset-bottom)); }
  .bot-panel { position:fixed; left:auto; right:14px; bottom:calc(82px + env(safe-area-inset-bottom)); width:min(480px,calc(100vw - 28px)); max-height:calc(100dvh - 106px - env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; }
  .bot-messages { min-height:100px; max-height:32dvh; }
  .bot-input,.form-input,.form-select,.form-textarea { font-size:16px; }
  .bot-message { font-size:15px; line-height:1.6; }
  .bot-choices button,.bot-handoff,.bot-input-form button { min-height:44px; }
  .client-marquee { overflow-x:auto; padding:0 24px 16px; }
  .client-marquee::before,.client-marquee::after { display:none; }
  .client-marquee-track { animation:none; transform:none; }
  .client-logo-group[aria-hidden="true"] { display:none; }
  .profile-hero-card,.profile-hero-frame,.profile-hero-caption,.profile-float-note,.award-float-primary,.award-float-secondary,.award-orbit,.award-year,.funnel-section .funnel-card,.funnel-section .f-bar::after { animation:none!important; }
  .reveal,.work-reveal { transform:translateY(12px); transition:opacity .35s ease,transform .35s ease; transition-delay:0s!important; }
  .reveal.revealed,.work-reveal.work-visible { transform:none; }
  .authority-card:hover,.cert-detail-card:hover,.value-card:hover,.service-card:hover,.case-card:hover,.detail-point:hover,.process-step:hover,.education-card:hover { transform:none!important; }
  .pmax-proof-image:hover img,.meta-media:hover img,.mern-proof-image:hover img,.shopify-store-image:hover img,.wordpress-project-card>a:hover img,.ecommerce-hero-proof:hover img,.report-dashboard-image:hover img { transform:none; }
  .funnel-section .f-stage:hover .f-bar { transform:none; }
}

@media (max-width:767px) {
  .container,.container-wide { padding-inline:20px; }
  .nav { justify-content:space-between; gap:10px; padding-inline:14px; }
  .nav-cta { order:1; margin-left:0; margin-right:auto; }
  .nav-hamburger { order:2; flex:0 0 44px; }
  .btn-nav-primary { min-height:44px; padding:10px 18px; }
  .section,.work-detail-section,.orbit-section { padding-block:48px; }
  .hero-content { padding:36px 0 48px; gap:28px; }
  .hero-name { font-size:clamp(34px,9vw,46px); line-height:1.1; }
  .hero-sub { font-size:16px; line-height:1.7; }
  .page-hero { padding:100px 0 40px; }
  .page-hero-title,.work-library-hero h1,.detail-hero-grid h1 { font-size:clamp(32px,9vw,46px); line-height:1.12; overflow-wrap:anywhere; }
  .detail-section-title,.orbit-heading h2 { font-size:clamp(27px,7vw,36px); line-height:1.18; }
  .detail-next b { font-size:22px; }
  .services-grid,.cases-grid,.certs-grid,.cert-detail-grid,.values-grid,.education-grid,.authority-grid,.stats-grid-4,.results-metrics,.summary-mobile-grid,.weekly-proof-grid,.wordpress-project-grid,.linkedin-case-grid,.mern-proof-grid,.ecommerce-proof-grid,.process-grid,.svc-grid-3,.about-stat-row,#orbitServices { grid-template-columns:minmax(0,1fr)!important; gap:20px; }
  .wordpress-project-wide,.ecommerce-proof-wide { grid-column:auto; }
  .tools-grid,.about-tools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .hero-badges { grid-template-columns:1fr; gap:12px; }
  .footer-grid.footer-grid-seo { grid-template-columns:1fr; gap:28px; }
  .footer { padding-bottom:100px; }
  .footer-col a { display:inline-block; padding-block:8px; }
  .nav-drawer {
    top:0; bottom:0; left:auto; right:0; z-index:2400;
    display:flex; width:min(88vw,380px); height:100dvh; max-height:none;
    padding:0; gap:0; overflow:hidden; border:0; border-radius:24px 0 0 24px;
    background:#fffdf9; opacity:0; visibility:visible; pointer-events:none;
    transform:translateX(105%); transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .2s ease;
    box-shadow:none;
  }
  .nav-drawer.open {
    opacity:1; pointer-events:auto; transform:translateX(0);
    box-shadow:-100vw 0 0 100vw rgba(25,30,32,.48),-24px 0 60px rgba(24,31,34,.18);
  }
  .mobile-nav-open { overflow:hidden; }
  .mobile-nav-head { flex:0 0 72px; display:flex; align-items:center; justify-content:space-between; padding:0 18px 0 24px; border-bottom:1px solid #eadfd3; }
  .mobile-nav-head>span { color:#1f2a30; font:800 18px/1 var(--font-display); }
  .mobile-nav-close { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:#fff1e9; color:#dc4f18; font-size:28px; line-height:1; }
  .mobile-nav-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:14px 14px calc(24px + env(safe-area-inset-bottom)); }
  .nav-drawer .mobile-nav-main { min-height:54px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; border-radius:14px; color:#26333a; font-size:16px; font-weight:750; }
  .nav-drawer .mobile-nav-main>span { color:#9aa7af; font-size:20px; }
  .nav-drawer .mobile-nav-main.active { color:#d94f18; background:#fff0e8; }
  .mobile-work-menu { margin:5px 0; border-radius:18px; background:#fff5ef; overflow:hidden; }
  .mobile-work-toggle { width:100%; min-height:58px; display:flex; align-items:center; justify-content:space-between; padding:0 16px; color:#d94f18; font-size:16px; font-weight:800; text-align:left; }
  .mobile-work-toggle i { width:9px; height:9px; margin-right:4px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .24s ease; }
  .mobile-work-menu.open .mobile-work-toggle i { transform:translateY(2px) rotate(225deg); }
  .mobile-work-panel { max-height:0; opacity:0; overflow:hidden; transition:max-height .42s cubic-bezier(.22,1,.36,1),opacity .2s ease; }
  .mobile-work-menu.open .mobile-work-panel { max-height:760px; opacity:1; padding-bottom:10px; }
  .nav-drawer .mobile-work-panel a { min-height:60px; display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:12px; padding:7px 14px; border-radius:13px; color:#3d4d58; }
  .nav-drawer .mobile-work-panel a:hover,.nav-drawer .mobile-work-panel a.active { background:#fff; color:#d94f18; }
  .mobile-work-panel a>i { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#eaf3f8; color:#347aa6; }
  .mobile-work-panel a:nth-child(3n+2)>i { background:#f2ebfb; color:#8256d8; }
  .mobile-work-panel a:nth-child(3n)>i { background:#e9f7ed; color:#279657; }
  .mobile-work-panel svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-work-panel a>span { min-width:0; font-size:14px; font-weight:750; }
  .mobile-work-panel small { display:block; margin-top:2px; color:#7b8991; font-size:10px; font-weight:550; line-height:1.35; }
  .detail-breadcrumb { flex-wrap:wrap; }
  .detail-status .detail-icon { width:56px; height:56px; border-radius:16px; }
  .detail-status p { font-size:13px; }
  .orbit-core b { font-size:25px; }
  .orbit-core small { font-size:14px; }
  .orbit-card-face { align-items:flex-start; text-align:left; min-height:150px; }
  .orbit-service { min-height:150px; }
  .orbit-service svg { width:32px; height:32px; }
  .pmax-proof-copy,.weekly-proof-card-copy,.shopify-store-card>div,.wordpress-project-card>div,.report-dashboard-card>div,.ecommerce-proof-card>div { padding:22px 20px 18px; }
  .pmax-metrics,.ecommerce-metrics,.weekly-proof-card .pmax-metrics { margin:0 20px 22px; }
  .pmax-metrics b,.weekly-proof-card .pmax-metrics b,.ecommerce-metrics b { font-size:20px; }
  .meta-metrics-three,.whatsapp-metrics-three { grid-template-columns:1fr; }
  .meta-media-grid,.mern-proof-grid { padding:0 20px 20px; }
  .meta-media,.mern-proof-image,.shopify-store-image,.report-dashboard-image { display:block; min-height:0; }
  .meta-media img,.mern-proof-image img { width:100%; height:auto; max-height:none; }
  .meta-media-creative img { width:auto; max-width:100%; max-height:420px; margin-inline:auto; }
  .pmax-proof-image span,.meta-media span,.mern-proof-image span,.ecommerce-hero-proof span,.ecommerce-proof-card a span,.wordpress-project-card>a span,.report-dashboard-image span,.shopify-store-image span { position:static; display:block; padding:14px 16px; border-radius:0; font-size:13px; text-align:center; box-shadow:none; }
  .shopify-store-card li { font-size:14px; line-height:1.5; }
  .shopify-store-card>div>a,.report-dashboard-card>div>a { font-size:14px; padding-block:12px; }
  .process-step { padding:24px; }
  .process-step b { margin-top:14px; }
  .svc-hdr,.svc-body,.cd-header,.cd-body,.contact-form-wrap { padding:24px 20px; }
  .svc-cta-bar { padding:20px; }
  .filter-tabs { flex-wrap:wrap; }
  .funnel-card { padding:22px 16px; }
  .funnel-section .f-bar { min-width:100%; }
  .funnel-section .f-name { font-size:13px; white-space:normal; }
  .award-frame { margin-top:28px; padding:14px; }
  .award-social-proof { grid-template-columns:1fr; width:100%; }
  .award-social-proof img { width:100%; height:180px; object-position:top; }
  .award-story>p:not(.award-eyebrow) { font-size:16px; }
  .award-lightbox-dialog { max-height:94dvh; }
  .award-lightbox-close,.hire-close { min-width:44px; min-height:44px; }
  .hire-modal { padding:16px; }
  .hire-dialog { width:min(360px,100%); max-height:calc(100dvh - 32px); padding:26px 20px 20px; border-radius:20px; }
  .hire-close { right:10px; top:8px; font-size:25px; }
  .hire-kicker { font-size:10px; letter-spacing:.13em; }
  .hire-dialog h2 { max-width:290px; margin:7px 0; font-size:24px; line-height:1.16; }
  .hire-dialog>p { margin:0; font-size:13px; line-height:1.55; }
  .hire-options { grid-template-columns:1fr; gap:9px; margin-top:16px; }
  .hire-option { display:grid; grid-template-columns:38px minmax(0,1fr); grid-template-rows:auto auto; column-gap:11px; align-items:center; padding:11px 13px; border-radius:13px; }
  .hire-option span { grid-row:1/3; width:38px; height:38px; display:grid; place-items:center; margin:0; border-radius:11px; background:#fff1e9; font-size:18px; }
  .hire-option b { margin:0; font-size:14px; line-height:1.2; }
  .hire-option small { margin-top:2px; font-size:10px; line-height:1.3; overflow-wrap:anywhere; }
  .profile-hero-card { min-height:440px; }
  .profile-hero-caption { left:12px; right:12px; max-width:calc(100% - 24px); }
  .bot-panel { left:12px; right:12px; width:auto; border-radius:18px; }
  .bot-panel header { padding:12px; gap:10px; }
  .bot-panel header b { font-size:15px; }
  .bot-panel header small { font-size:11px; }
  .bot-panel>footer { font-size:11px; }
  .bot-input-form { padding:12px; gap:8px; }
  .bot-choices { padding:12px; }
  .form-row,.hire-options { grid-template-columns:1fr; }

  /* Homepage phone layout: compact, readable grids without changing desktop. */
  .hero .hire-swipe-hero {
    --swipe-x:0px; --swipe-progress:0;
    position:relative; width:100%; min-height:58px; display:flex; align-items:center;
    justify-content:flex-start; padding:5px 20px; overflow:hidden; border:1px solid rgba(255,255,255,.7);
    border-radius:18px; color:#fff;
    background:linear-gradient(135deg,rgba(240,100,34,.88),rgba(255,122,53,.7));
    -webkit-backdrop-filter:blur(18px) saturate(150%); backdrop-filter:blur(18px) saturate(150%);
    box-shadow:0 14px 34px rgba(142,57,17,.24),inset 0 1px 0 rgba(255,255,255,.68),inset 0 -1px 0 rgba(255,255,255,.14);
    touch-action:pan-y; user-select:none; cursor:grab; transform:none;
  }
  .hero .hire-swipe-hero::before {
    content:''; position:absolute; inset:-1px auto -1px -45%; width:42%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent);
    transform:skewX(-18deg); animation:hireSwipeShimmer 3s ease-in-out infinite;
  }
  .hero .hire-swipe-hero::after {
    content:'SWIPE'; position:absolute; right:15px; bottom:5px; color:rgba(255,255,255,.72);
    font-size:7px; font-weight:900; letter-spacing:.18em;
  }
  .hero .hire-swipe-hero .hire-swipe-content { margin-left:4px; }
  .hero .hire-swipe-hero .hire-swipe-content b { font-size:16px; }
  .hero .hero-actions { gap:12px; }
  .hero .hero-actions .btn { width:100%; }

  .hero .hero-badges { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px; }
  .hero .hero-badge { min-width:0; min-height:104px; padding:16px 13px; display:flex; flex-direction:column; justify-content:center; }
  .hero .hero-badge-val { font-size:20px; }
  .hero .hero-badge-label { font-size:10.5px; line-height:1.35; overflow-wrap:anywhere; }

  .hero .profile-hero-card { min-height:500px; padding-top:0; }
  .hero .profile-hero-accent { top:8px; left:0; right:0; text-align:center; font-size:10px; letter-spacing:.12em; white-space:nowrap; }
  .hero .profile-hero-frame { inset:48px 10px 70px 16px; border-radius:120px 22px 100px 22px; }
  .hero .profile-hero-caption { bottom:0; padding:15px 17px; }
  .hero .profile-hero-caption strong { font-size:14px; }
  .hero .profile-hero-caption span { font-size:10px; }

  .industries-strip { overflow:hidden; }
  .industries-strip .container-wide { overflow:visible; }
  .industries-grid { width:max-content; max-width:none; justify-content:flex-start; flex-wrap:nowrap; animation:industryMobilePan 18s ease-in-out infinite alternate; will-change:transform; }
  .industries-grid .industry-chip { flex:0 0 auto; }
  @keyframes industryMobilePan { from{transform:translateX(0)} to{transform:translateX(calc(-100% + 100vw - 40px))} }

  .authority-section .authority-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px; }
  .authority-section .authority-card { min-width:0; padding:16px 13px; border-radius:17px; }
  .authority-section .authority-icon { width:40px; height:40px; margin-bottom:12px; border-radius:11px; }
  .authority-section .authority-icon svg { width:19px; height:19px; }
  .authority-section .authority-title { font-size:14px; line-height:1.25; overflow-wrap:anywhere; }
  .authority-section .authority-desc { font-size:10.5px; line-height:1.48; overflow-wrap:anywhere; }

  .client-marquee-section { padding:48px 0 54px; }
  .client-marquee-heading { margin-bottom:22px; }
  .client-marquee-heading h2 { font-size:27px; }
  .client-marquee-heading>p { font-size:12px; line-height:1.55; }
  .client-marquee { overflow:hidden; padding:0; }
  .client-marquee-track { animation:clientMarquee 56s linear infinite; transform:none; }
  .client-logo-group[aria-hidden="true"] { display:flex; }
  .client-logo-group { gap:12px; padding-right:12px; }
  .client-logo-card { width:150px; min-height:108px; gap:7px; padding:10px; border-radius:15px; }
  .client-logo-card img { width:118px; height:55px; }
  .client-logo-card strong { font-size:11px; }

  .funnel-section .funnel-steps { margin-top:26px!important; }
  .funnel-section .funnel-step { display:grid; grid-template-columns:24px minmax(0,1fr); gap:10px; }
  .funnel-section .funnel-step-line { width:24px; min-height:100%; }
  .funnel-section .funnel-step-dot { width:12px; height:12px; }
  .funnel-section .funnel-step-connector { min-height:38px; }
  .funnel-section .funnel-step-body { min-width:0; padding-bottom:12px; }
  .funnel-section .funnel-step-title { font-size:14px; }
  .funnel-section .funnel-step-desc { font-size:11.5px; line-height:1.45; }
  .funnel-section .funnel-card { padding:20px 14px; }
  .funnel-section .f-stage { width:100%; }
  .funnel-section .f-bar { min-width:0!important; max-width:100%; height:48px; padding:0 11px; }
  .funnel-section .f-name { font-size:11px; white-space:nowrap; }
  .funnel-section .f-bar .f-val { font-size:12px; }
  .funnel-section .f-bar .f-pct { font-size:9px; }
  .funnel-section .funnel-footer { gap:10px; justify-content:space-between; }

  .services-section .services-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px; }
  .services-section .service-card { min-width:0; padding:16px 13px; border-radius:17px; }
  .services-section .service-icon { width:39px; height:39px; margin-bottom:12px; }
  .services-section .service-title { font-size:14px; line-height:1.25; overflow-wrap:anywhere; }
  .services-section .service-desc { margin-bottom:12px; font-size:10.5px; line-height:1.48; overflow-wrap:anywhere; }
  .services-section .service-tags { gap:4px; margin-bottom:12px; }
  .services-section .service-tag { padding:3px 6px; font-size:8.5px; }
  .services-section .service-arrow { font-size:10px; line-height:1.3; }

  .results-snap .results-metrics { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:1px; margin-top:32px; border-radius:18px; }
  .results-snap .metric-box { min-width:0; min-height:132px; padding:24px 10px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
  .results-snap .metric-val { font-size:clamp(27px,8vw,36px); }
  .results-snap .metric-label { font-size:10.5px; line-height:1.4; }

  .tools-section .tools-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:9px; }
  .tools-section .tool-card { min-width:0; min-height:112px; padding:13px 7px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:14px; }
  .tools-section .tool-logo { height:43px; margin-bottom:8px; }
  .tools-section .tool-logo img,.tools-section .tool-card-ga4 .tool-logo img { width:43px; height:43px; }
  .tools-section .tool-name { font-size:9.5px; line-height:1.3; overflow-wrap:anywhere; }

  .footer { padding:46px 0 calc(86px + env(safe-area-inset-bottom)); }
  .footer .footer-grid.footer-grid-seo { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:22px 14px; margin-bottom:28px; }
  .footer .footer-grid.footer-grid-seo>div:first-child { grid-column:1/-1; }
  .footer-logo { margin-bottom:8px; font-size:19px; }
  .footer-tagline { max-width:none; margin-bottom:14px; font-size:11px; line-height:1.55; }
  .footer-socials { gap:6px; }
  .footer .social-link { width:32px; height:32px; }
  .footer-col h4 { margin-bottom:10px; font-size:10px; letter-spacing:.08em; }
  .footer-col li { margin-bottom:2px; }
  .footer-col a { padding-block:4px; font-size:10.5px; line-height:1.3; overflow-wrap:anywhere; }
  .footer-bottom { align-items:flex-start; gap:8px; padding-top:18px; }
  .footer-copy,.footer-loc { flex:1; font-size:9px; line-height:1.45; }
}

@media (max-width:380px) {
  .container,.container-wide { padding-inline:16px; }
  .pmax-metrics,.ecommerce-metrics,.weekly-proof-card .pmax-metrics { grid-template-columns:1fr; }
  .bot-choices { grid-template-columns:1fr; }
}

/* Keep the same touch navigation system on tablets without changing desktop. */
@media (min-width:768px) and (max-width:1024px) {
  .nav { justify-content:space-between; gap:12px; }
  .nav-cta { order:1; margin-left:0; margin-right:auto; }
  .nav-hamburger { order:2; flex:0 0 44px; }
  .nav-drawer {
    top:0; bottom:0; left:auto; right:0; z-index:2400;
    display:flex; width:min(70vw,430px); height:100dvh; max-height:none;
    padding:0; gap:0; overflow:hidden; border:0; border-radius:26px 0 0 26px;
    background:#fffdf9; opacity:0; visibility:visible; pointer-events:none;
    transform:translateX(105%); transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .2s ease;
    box-shadow:none;
  }
  .nav-drawer.open { opacity:1; pointer-events:auto; transform:translateX(0); box-shadow:-100vw 0 0 100vw rgba(25,30,32,.48),-24px 0 60px rgba(24,31,34,.18); }
  .mobile-nav-open { overflow:hidden; }
  .mobile-nav-head { flex:0 0 76px; display:flex; align-items:center; justify-content:space-between; padding:0 20px 0 26px; border-bottom:1px solid #eadfd3; }
  .mobile-nav-head>span { color:#1f2a30; font:800 19px/1 var(--font-display); }
  .mobile-nav-close { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:#fff1e9; color:#dc4f18; font-size:28px; }
  .mobile-nav-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:16px 16px calc(26px + env(safe-area-inset-bottom)); }
  .nav-drawer .mobile-nav-main { min-height:56px; display:flex; align-items:center; justify-content:space-between; padding:0 15px; border-radius:14px; color:#26333a; font-size:16px; font-weight:750; }
  .nav-drawer .mobile-nav-main>span { color:#9aa7af; font-size:20px; }
  .nav-drawer .mobile-nav-main.active { color:#d94f18; background:#fff0e8; }
  .mobile-work-menu { margin:6px 0; border-radius:18px; background:#fff5ef; overflow:hidden; }
  .mobile-work-toggle { width:100%; min-height:60px; display:flex; align-items:center; justify-content:space-between; padding:0 17px; color:#d94f18; font-size:16px; font-weight:800; }
  .mobile-work-toggle i { width:9px; height:9px; margin-right:4px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .24s ease; }
  .mobile-work-menu.open .mobile-work-toggle i { transform:translateY(2px) rotate(225deg); }
  .mobile-work-panel { max-height:0; opacity:0; overflow:hidden; transition:max-height .42s cubic-bezier(.22,1,.36,1),opacity .2s ease; }
  .mobile-work-menu.open .mobile-work-panel { max-height:780px; opacity:1; padding-bottom:10px; }
  .nav-drawer .mobile-work-panel a { min-height:62px; display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:12px; padding:7px 15px; border-radius:13px; color:#3d4d58; }
  .mobile-work-panel a>i { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#eaf3f8; color:#347aa6; }
  .mobile-work-panel a:nth-child(3n+2)>i { background:#f2ebfb; color:#8256d8; }
  .mobile-work-panel a:nth-child(3n)>i { background:#e9f7ed; color:#279657; }
  .mobile-work-panel svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-work-panel a>span { min-width:0; font-size:14px; font-weight:750; }
  .mobile-work-panel small { display:block; margin-top:2px; color:#7b8991; font-size:10px; font-weight:550; line-height:1.35; }
}

@media (max-width:1024px) and (prefers-reduced-motion:reduce) {
  .reveal,.work-reveal { opacity:1; transform:none; transition:none; }
  .nav .hire-swipe::before,.hire-swipe-arrows { animation:none; }
  html { scroll-behavior:auto; }
}
