<!-- -->
/* Phone tap targets for the site header, phone menu and footer (Nov 8 2026, technical pass, no look change).
 * Every link or button is at least 44px tall on phones. Where the link must not move, the hit area grows with
 * padding plus an equal negative margin, so nothing on screen shifts. Stacked footer links get real 44px rows.
 * Loaded after nav.css (chrome/inc.php). Homepage rules live in redesign/options/new-4-yard.css. */

@media (max-width:1179px){
  /* Header logo (30px mark on phones, full logo in the menu): 44px tall hit area, same spot. */
  html body .gbx-bar .gbx-logo{padding:7px;margin:-7px;}
  html body .gbx-drawer .gbx-logo{padding:9px 0;margin:-9px 0;}
  /* Phone menu: section names (37px), logo links (40px) and "All Services" style links (40px). */
  html body .gbx-mpanel .gbx-signname,
  html body .gbx-mpanel .gbx-aisles.is-many .gbx-signname{padding:12px 0;margin:-4px 0;}
  html body .gbx-mpanel .gbx-aisles--logos .gbx-signname--logo{padding:2px 0;margin:-2px 0;}
  html body .gbx-mpanel .gbx-footlink{min-height:44px;margin-top:-2px;margin-bottom:-2px;}
  html body .gbx-mpanel .gbx-panel .gbx-footlink,
  html body .gbx-panel .gbx-footlink{min-height:44px;}
}

@media (max-width:1179px){
  /* Nov 18 2026 (B-029): breadcrumb links (Home, Services...) were about 20px tall. 44px+ tap box, nothing moves.
     The extra room goes on top only: most crumbs draw their pink line as a bottom border, which bottom padding would
     push down. An inline link's top padding does not touch its line (the browser ignores the margin there); a crumb
     link that is a box of its own (Stefanie page) takes the equal negative margin. */
  html body nav[aria-label="Breadcrumb"] a{padding-top:26px;margin-top:-26px;}
}

/* Nov 18 2026 (B-055): the footer rules below were phones only (760px); tablets had 32px link rows. Now up to 1179px. */
@media (max-width:1179px){
  /* Footer link lists: 32px rows become 44px rows. */
  html body .gbf3-tag a{display:flex;align-items:center;min-height:44px;padding:4px 0;box-sizing:border-box;}
  /* Footer email / phone: 26px lines get a 44px+ hit area without moving (10px, Nov 18: 9px measured 43.9). */
  html body .gbf3-addr a{padding:10px 0;margin:-10px 0;}
  /* Footer logo links (30-40px tall): 44px+ hit area without moving. */
  html body .gbf3-logolink{padding:7px 0;margin:-7px 0;}
  /* Footer legal links (Privacy, Terms, Accessibility): 17px tall become 44px rows, 8px apart. */
  html body .gbf3-legal nav{row-gap:8px;column-gap:26px;}
  html body .gbf3-legal a{display:flex;align-items:center;min-height:44px;}
}
/*<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"touch.css","headline":"touch.css","url":"https://www.gritblueprint.com/assets/touch-97042010.css","mainEntityOfPage":"https://www.gritblueprint.com/assets/touch-97042010.css","datePublished":"2026-11-18T16:42:00.012Z","dateModified":"2026-11-18T17:01:18.818Z","publisher":{"@type":"Organization","name":"Grit Blueprint"}}</script><script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.gritblueprint.com/"},{"@type":"ListItem","position":2,"name":"Assets","item":"https://www.gritblueprint.com/assets/"},{"@type":"ListItem","position":3,"name":"touch.css","item":"https://www.gritblueprint.com/assets/touch-97042010.css/"}]}</script><link rel="canonical" href="https://www.gritblueprint.com/assets/touch-97042010.css"><meta property="og:url" content="https://www.gritblueprint.com/assets/touch-97042010.css"><meta property="og:title" content="Grit Blueprint"><meta property="og:type" content="website"><meta property="og:image" content="https://www.gritblueprint.com/_og/9b8cb6e740d327bf.png"><meta name="twitter:image" content="https://www.gritblueprint.com/_og/9b8cb6e740d327bf.png"><meta name="twitter:card" content="summary_large_image"><meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"><script id="so-hp">
/* so-hp-v1: site-wide form honeypot (Grit, 2026-11-18; tools/honeypot.py installs it in publishConfig.customHead).
   1. Every lead form without a trap field gets one: an off-screen text input named _company (StaticOwl's own trap
      name; its {% form %} tag already renders it). People never see or reach it; form-filling bots fill it.
   2. When a trap is filled and the page posts a lead (StaticOwl /api/public/forms/<token>/submit, HubSpot, an n8n
      webhook, /__sc/), nothing is sent and the page gets a normal-looking success response. Checked 2026-11-18:
      StaticOwl does score a filled _company 100, but it STILL fires the form.submitted integration (lead email), so
      the block has to happen here. A trap the browser's own autofill filled is ignored (people, not bots). */
(function () {
  if (window.__soHp) return;
  window.__soHp = 1;
  var TRAP = 'input[name="_company"],input[name="company_website"],.gform_validation_container input,' +
    '.gfield--type-honeypot input,.elementor-field-type-honeypot input,.k-nl__trap input,input[name="website"][tabindex="-1"],input.so-hp-in';
  var SO_SUBMIT = /\/api\/public\/forms\/[^\/]+\/submit/;
  var OTHER_LEAD = /hsforms\.com\/submissions|\/webhook(-test)?\/|\/__sc\//;

  function isSearch(f) {
    try {
      return f.matches('[role=search],.search-form,.elementor-search-form,.woocommerce-product-search') ||
        !!f.querySelector('input[name=s],input[name=q],input[type=search]');
    } catch (e) { return false; }
  }
  function isLead(f) {
    if (isSearch(f)) return false;
    /* not lead forms (shop/filter), and third-party embeds that serialise every input themselves (HubSpot) */
    try {
      if (f.matches('.variations_form,.woocommerce-ordering,form.cart,.rs-form,.hs-form,.hsfc-Form,form[id^="hsForm_"],' +
          '[action*="hsforms.com"],[action*="hsforms.net"],.hbspt-form form,.hsfc-FormWrapper form,[data-so-nohp]')) return false;
    } catch (e) {}
    return !!f.querySelector('input[type=email],input[name*=email],input[type=tel],textarea');
  }
  function addTrap(f) {
    if (f.__soHp || !isLead(f) || f.querySelector(TRAP)) return;
    f.__soHp = 1;
    var w = document.createElement('div');
    w.setAttribute('aria-hidden', 'true');
    w.style.cssText = 'position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;';
    var l = document.createElement('label');
    l.textContent = 'Leave this field empty';
    var i = document.createElement('input');
    i.type = 'text'; i.name = '_company'; i.className = 'so-hp-in'; i.tabIndex = -1;
    i.setAttribute('autocomplete', 'off'); i.setAttribute('data-lpignore', 'true'); i.setAttribute('data-1p-ignore', '');
    l.appendChild(i); w.appendChild(l);
    f.insertBefore(w, f.firstChild);
  }
  function scan() { try { [].forEach.call(document.querySelectorAll('form'), addTrap); } catch (e) {} }
  function trapValue() {
    try {
      var t = document.querySelectorAll(TRAP);
      for (var k = 0; k < t.length; k++) if (t[k].value && t[k].type !== 'hidden' && !autofilled(t[k])) return String(t[k].value).slice(0, 200);
    } catch (e) {}
    return '';
  }
  function autofilled(el) {
    try { if (el.matches(':autofill')) return true; } catch (e) {}
    try { if (el.matches(':-webkit-autofill')) return true; } catch (e) {}
    return false;
  }

  var orig = window.fetch;
  if (orig) {
    window.fetch = function (u, o) {
      try {
        var url = typeof u === 'string' ? u : (u && u.url) || '';
        var post = o && String(o.method || 'GET').toUpperCase() === 'POST';
        if (post && (SO_SUBMIT.test(url) || OTHER_LEAD.test(url)) && trapValue()) {
          window.__soHpBlocked = (window.__soHpBlocked || 0) + 1;
          return Promise.resolve(new Response('{"ok":true,"id":"formsub:0","inlineMessage":"Thanks!"}',
            { status: SO_SUBMIT.test(url) ? 201 : 200, headers: { 'Content-Type': 'application/json' } }));
        }
      } catch (e) {}
      return orig.apply(this, arguments);
    };
  }

  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', scan); else scan();
  window.addEventListener('load', scan);
  setTimeout(scan, 2500);
  try {
    var pending = 0;
    var mo = new MutationObserver(function () { if (!pending) pending = setTimeout(function () { pending = 0; scan(); }, 150); });
    var start = function () { mo.observe(document.body, { childList: true, subtree: true }); setTimeout(function () { mo.disconnect(); }, 10000); };
    if (document.body) start(); else document.addEventListener('DOMContentLoaded', start);
  } catch (e) {}
})();
</script></head>*/
