<!-- -->
/* Phone layer (Nov 17 2026). Stefanie: "on mobile should have 'sliding' ... to make viewer experience better".
 *
 * On phones, sets of cards that used to stack one under another become swipe rows: one card on screen, the next one
 * peeking in from the right, a count and two arrow buttons under the row. Long detail folds behind a "Read More"
 * button. Nothing here changes a page above 767px.
 *
 * Approved by Stefanie Nov 18 2026 ("Yes to the mobile optimization previews... change them everywhere on the live
 * site"). Every rule sits under html.ph; a small script in the page head (PHONE_GATE in export.py) adds that class
 * on every visit. Opening a page with ?phone=0 shows that one page without the phone layer, for comparing.
 *
 * How a set becomes a swipe row: add its selector to ALL THREE copies of the list below (the row, its hidden
 * scrollbar, its cards). Keep the three the same.
 * phone.js reads the same rows by the --phs custom property, adds the count and arrows, and keeps them in step.
 */

.phs-nav, .phf-more { display: none; }

/* The cookie notice in the site's own colors and type, every width (it came black, with a serif face and bright blue
   buttons). Accept and Reject look the same as each other on purpose. Sample stage like the rest: under html.ph. */
html.ph .cky-consent-container .cky-consent-bar { background: #fff !important; border: 0 !important; box-shadow: 0 -10px 34px rgba(14, 30, 54, .3) !important; }
html.ph .cky-consent-container .cky-consent-bar,
html.ph .cky-consent-container .cky-consent-bar * { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
html.ph .cky-consent-container .cky-title,
html.ph .cky-consent-container .cky-notice-des,
html.ph .cky-consent-container .cky-notice-des * { color: #18355E !important; }
html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn { border-radius: 0 !important; font-weight: 700 !important; }
html.ph .cky-consent-container .cky-notice-btn-wrapper :is(.cky-btn-accept, .cky-btn-reject) { background: #18355E !important; border: 2px solid #18355E !important; color: #fff !important; }
html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize { background: #fff !important; border: 2px solid #18355E !important; color: #18355E !important; }
html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize::after { border-top-color: #18355E !important; }
html.ph .cky-consent-container .cky-consent-bar > div:last-child { filter: brightness(0); opacity: .6; }  /* the maker's credit was pale grey for a black bar */
/* Nov 18 2026 (B-032): the round "Consent Preferences" badge that stays after a choice sat bottom left over phone menu
   text, in a blue that is not hers. Bottom right, clear of the phone's home bar, in her navy. */
html.ph .cky-btn-revisit-wrapper { left: auto !important; right: 16px !important; bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important; background-color: #18355E !important; }
/* its hover label opens to the left now (the CookieYes bottom-right look), 15px, navy */
html.ph .cky-btn-revisit-wrapper.cky-revisit-bottom-left:hover::before { left: auto !important; right: calc(100% + 7px) !important; font-size: 15px !important; line-height: 20px !important; background: #0E1E36 !important; }
html.ph .cky-btn-revisit-wrapper.cky-revisit-bottom-left:hover::after { left: auto !important; right: calc(100% + 2px) !important; border-width: 5px 0 5px 5px !important; border-color: transparent transparent transparent #0E1E36 !important; }

@media (max-width: 767px) {

  /* ---- 1. swipe rows -------------------------------------------------------------------------------------- */
  html.ph :is(
    /* home */
    .gbha ul.chg__rows, .gbha ul.rack, .gbha ul.lp, .gbha ol.wwg__steps, .gbha .xs__doors,
    /* services */
    .sc-wins > .wrap:has(> .sc-win:nth-child(3)), ul.ob__list,
    /* who we help: manufacturers */
    ol.mf-stops, ul.mf-ledger,
    /* client stories */
    .sec .proc, .sec .ledger, .sec[id="website"] .reveal.t3, .gbsp-bk-grid, .gbsp-vid-list, .gbsp-bk-vgrid,
    /* the rest of the site (scan of all 210 pages at 390 wide, Nov 18 2026) */
    .abt-line, .abt-sides, .ba-stats, .bb-stops, .cr-board, .crew-four, .em-haul,
    .em-run__list, .ex-more, .ex-why__stats, .gbhub__sec .gbcat__grid, .gbsp-eps, .gbsp-steps, .gm-films__list,
    .gs-more__list, .gs-steps, .hw-films, .hw-list, .idk-planks, .igl-stage, .igl-svc, .ihw-rail, .ihw-shots,
    .ihw-wins, .ix-cards, .lb-bunks, .lb-tags, .ly-list, .mb-rows, .mb-ways, .mnc-jobs__list, .mrs-pick__list,
    .oa-pick__grid, .pg-rows, .pp-vids, .ptv-prod__grid, .ptv-walk, .pv-strip, .rt-ed__g, .sam-prods,
    .sc-cases, .sr-trio, .st-treads, .ta__rows, .td-roll__cols, .vgrid, .wd-cos, .wd-six__grid, .wl-dir__list, .wl-jobs__list, .wl-posts, .wn-rows, .ws-parts__grid
  ) {
    --phs: 1;
    position: relative;  /* so hidden helper text inside an off-screen card is clipped with its card, not left to widen the page */
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-start !important;  /* a short card is not stretched to a tall neighbour (blank boxes) */
    justify-content: flex-start !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 14px 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    list-style: none;
  }
  html.ph :is(
    .gbha ul.chg__rows, .gbha ul.rack, .gbha ul.lp, .gbha ol.wwg__steps, .gbha .xs__doors,
    .sc-wins > .wrap:has(> .sc-win:nth-child(3)), ul.ob__list, ol.mf-stops, ul.mf-ledger,
    .sec .proc, .sec .ledger, .sec[id="website"] .reveal.t3, .gbsp-bk-grid, .gbsp-vid-list, .gbsp-bk-vgrid,
    /* the rest of the site (scan of all 210 pages at 390 wide, Nov 18 2026) */
    .abt-line, .abt-sides, .ba-stats, .bb-stops, .cr-board, .crew-four, .em-haul,
    .em-run__list, .ex-more, .ex-why__stats, .gbhub__sec .gbcat__grid, .gbsp-eps, .gbsp-steps, .gm-films__list,
    .gs-more__list, .gs-steps, .hw-films, .hw-list, .idk-planks, .igl-stage, .igl-svc, .ihw-rail, .ihw-shots,
    .ihw-wins, .ix-cards, .lb-bunks, .lb-tags, .ly-list, .mb-rows, .mb-ways, .mnc-jobs__list, .mrs-pick__list,
    .oa-pick__grid, .pg-rows, .pp-vids, .ptv-prod__grid, .ptv-walk, .pv-strip, .rt-ed__g, .sam-prods,
    .sc-cases, .sr-trio, .st-treads, .ta__rows, .td-roll__cols, .vgrid, .wd-cos, .wd-six__grid, .wl-dir__list, .wl-jobs__list, .wl-posts, .wn-rows, .ws-parts__grid
  )::-webkit-scrollbar { display: none; }

  html.ph :is(
    .gbha ul.chg__rows, .gbha ul.rack, .gbha ul.lp, .gbha ol.wwg__steps, .gbha .xs__doors,
    .sc-wins > .wrap:has(> .sc-win:nth-child(3)), ul.ob__list, ol.mf-stops, ul.mf-ledger,
    .sec .proc, .sec .ledger, .sec[id="website"] .reveal.t3, .gbsp-bk-grid, .gbsp-vid-list, .gbsp-bk-vgrid,
    /* the rest of the site (scan of all 210 pages at 390 wide, Nov 18 2026) */
    .abt-line, .abt-sides, .ba-stats, .bb-stops, .cr-board, .crew-four, .em-haul,
    .em-run__list, .ex-more, .ex-why__stats, .gbhub__sec .gbcat__grid, .gbsp-eps, .gbsp-steps, .gm-films__list,
    .gs-more__list, .gs-steps, .hw-films, .hw-list, .idk-planks, .igl-stage, .igl-svc, .ihw-rail, .ihw-shots,
    .ihw-wins, .ix-cards, .lb-bunks, .lb-tags, .ly-list, .mb-rows, .mb-ways, .mnc-jobs__list, .mrs-pick__list,
    .oa-pick__grid, .pg-rows, .pp-vids, .ptv-prod__grid, .ptv-walk, .pv-strip, .rt-ed__g, .sam-prods,
    .sc-cases, .sr-trio, .st-treads, .ta__rows, .td-roll__cols, .vgrid, .wd-cos, .wd-six__grid, .wl-dir__list, .wl-jobs__list, .wl-posts, .wn-rows, .ws-parts__grid
  ) > * {
    flex: 0 0 var(--phs-w, 84%) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    --phs: 0;  /* the mark is for the row only: custom properties pass down to children otherwise */
  }
  /* small cards: one and a half fit */
  html.ph .gbha .xs__doors { --phs-w: 62%; }

  /* ---- 1b. cards that need a trim to sit well side by side ------------------------------------------------- */
  /* a card stretched to its tallest neighbour keeps its parts at the top, not spread out */
  html.ph [data-phs] > * { align-content: start !important; }
  /* Services: inside a swipe card the service rows show their name and arrow; the one-line note is on the
     service's own page. Keeps each card to about one screen. */
  html.ph .sc-wins > .wrap[data-phs] .sc-doors a { min-height: 56px; padding: 12px 0 10px; }
  html.ph .sc-wins > .wrap[data-phs] .sc-doors span { display: none; }
  html.ph .sc-wins > .wrap[data-phs] .sc-win { gap: 18px !important; }
  /* Manufacturers chain: the pink line that joined the stacked stops has nothing to join in a row */
  html.ph ol.mf-stops::before { display: none; }
  html.ph ol.mf-stops > .mf-stop { padding: 0 !important; border-top: 0 !important; gap: 14px !important; }
  html.ph ol.mf-stops .mf-stop__who { margin-left: 0 !important; }
  /* Then-and-now rows ("Sound familiar?", 39 pages). Stacked, each row paints its navy top edge to edge with a very
     large shadow; side by side that shadow covers the neighbours. In a swipe row each card keeps its own navy top with
     the slanted lower edge, and its own white lower half. */
  html.ph ol.ta__rows { padding-top: 22px !important; }
  html.ph ol.ta__rows > .ta__row { background: #fff; outline: 1px solid #D9DDE3; outline-offset: -1px; }
  html.ph ol.ta__rows .ta__cols { display: block; padding: 0 !important; }
  html.ph ol.ta__rows .ta__then {
    align-items: flex-start; padding: 26px 20px 46px !important; box-shadow: none !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%) !important;
  }
  html.ph ol.ta__rows .ta__then p { font-size: clamp(1.75rem, 7.4vw, 2.1rem); }
  html.ph ol.ta__rows .ta__now { padding: 16px 20px 24px !important; }
  html.ph ol.ta__rows .ta__now::after { display: none; }
  /* client story: the numbered rows sit as cards, so the rule between rows goes */
  html.ph .sec .ledger[data-phs] > .ledger-row { border: 0 !important; }

  /* rows whose cards are within 60px of each other stay even, so boxed cards and their links still line up */
  html.ph [data-phs].phs-even { align-items: stretch !important; }

  /* a keyboard user who lands on the row sees where they are */
  html.ph [data-phs]:focus-visible { outline: 3px solid #FF1894; outline-offset: -3px; }

  /* ---- 2. the count and arrows under a row ---------------------------------------------------------------- */
  html.ph .phs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 6px 0 32px;
    min-height: 48px;
    color: inherit;
  }
  html.ph .phs-nav--edge { padding-inline: 20px; }
  html.ph .phs-count {
    font: 700 15px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;  /* her rule: nothing under 15px */
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  html.ph .phs-count b { font-weight: 700; }  /* same color as the words: pink this small is too faint on white */
  html.ph .phs-btns { display: flex; gap: 10px; }
  html.ph .phs-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color .18s ease, opacity .18s ease;
  }
  html.ph .phs-btn svg { width: 22px; height: 22px; stroke: #FF1894; fill: none; stroke-width: 2.6; stroke-linecap: square; }
  html.ph .phs-btn:active { background: rgba(255, 24, 148, .16); }
  html.ph .phs-btn:focus-visible { outline: 3px solid #FF1894; outline-offset: 3px; }
  html.ph .phs-btn[aria-disabled="true"] { opacity: .32; cursor: default; }

  /* ---- 3. fold-away detail -------------------------------------------------------------------------------- */
  html.ph .phf:not(.is-open) {
    max-height: var(--phf-h, 11.5em);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 58%, transparent);
    mask-image: linear-gradient(#000 58%, transparent);
  }
  html.ph .phf-more {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: 700 17px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  html.ph .phf-more span { border-bottom: 2px solid #FF1894; padding-bottom: 4px; }
  html.ph .phf-more:focus-visible { outline: 3px solid #FF1894; outline-offset: 4px; }

  /* ---- 4. the cookie notice ------------------------------------------------------------------------------- */
  /* It stood 292 to 316px tall on a phone (over a third of the first screen) and sat on the hero's call button.
     Same words, same three choices at the same size as each other, in about half the height. */
  html.ph .cky-consent-container .cky-notice-content-wrapper { padding: 12px 0 6px !important; }
  html.ph .cky-consent-container .cky-title {
    position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important;
    clip-path: inset(50%) !important; white-space: nowrap !important; padding: 0 !important; margin: 0 !important;
  }
  html.ph .cky-consent-container .cky-notice-des,
  html.ph .cky-consent-container .cky-notice-des * { font-size: 15px !important; line-height: 20px !important; }  /* her rule: nothing under 15px */
  html.ph .cky-consent-container .cky-notice-des { padding: 0 16px !important; margin: 0 !important; }
  html.ph .cky-consent-container .cky-notice-des p { margin: 0 !important; }
  html.ph .cky-consent-container .cky-notice-btn-wrapper {
    flex-flow: row nowrap !important; gap: 8px !important; padding: 0 16px !important; margin: 10px 0 0 !important;
  }
  html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn {
    flex: 1 1 0 !important; order: 0 !important; width: auto !important; min-width: 0 !important; min-height: 44px !important;
    margin: 0 !important; padding: 8px 4px !important; font-size: 15px !important; line-height: 20px !important; white-space: nowrap !important;
  }
  html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize { padding-right: 16px !important; }
  html.ph .cky-consent-container .cky-consent-bar > div:last-child { padding: 0 16px 6px !important; }
}

@media (max-width: 359px) {
  html.ph .cky-consent-container .cky-notice-btn-wrapper { gap: 6px !important; padding: 0 12px !important; }
  html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn { font-size: 15px !important; }  /* her 15px floor (B-032); was 14px */
  /* Customise is the longest word and carries the menu arrow: a little more room so the arrow never touches the word */
  html.ph .cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize { flex-grow: 1.25 !important; padding-right: 22px !important; }
  html.ph .cky-consent-container .cky-notice-des { padding: 0 12px !important; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  html.ph .phs-btn { transition: none; }
}
/*<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"phone.css","headline":"phone.css","url":"https://www.gritblueprint.com/assets/phone-f2b184df.css","mainEntityOfPage":"https://www.gritblueprint.com/assets/phone-f2b184df.css","datePublished":"2026-11-18T16:42:00.012Z","dateModified":"2026-11-18T17:01:18.629Z","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":"phone.css","item":"https://www.gritblueprint.com/assets/phone-f2b184df.css/"}]}</script><link rel="canonical" href="https://www.gritblueprint.com/assets/phone-f2b184df.css"><meta property="og:url" content="https://www.gritblueprint.com/assets/phone-f2b184df.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>*/
