/* ==========================================================================
   MOBILE LAYOUT  (<= 820px)

   The desktop design is a fixed 1586x992 canvas: everything is absolutely
   positioned from coordinates measured off the mockup, roughly 120 of them in
   inline style attributes. Nothing reflows, so on a phone the whole poster was
   scaled to 60% and panned sideways.

   Below the breakpoint the canvas is switched off in the fit script and this
   sheet lays the page out as an ordinary scrolling document, reusing the same
   markup, icons, copy and routes.

   The visual language follows loueimetalarts.com: a soft metal ground with the
   rhythm of alternating sections, large rounded cards that float on real
   shadows, big serif headings over small copper eyebrows, full width pill
   actions, and generous space. It is deliberately NOT the desktop chrome
   shrunk down — the recessed trays, rivets and engraved rules are frame
   detailing that only reads at poster size.

   Two mechanical notes that the layout depends on:
   - everything is returned to flow with `position: relative`, never `static`.
     Several elements draw their face in an absolutely positioned ::before, and
     a static parent hands that pseudo-element to the document as its
     containing block — one copper rectangle over the whole page.
   - all four offsets are neutralised, not just left/top. A leftover `right` on
     a relatively positioned element shifts it sideways.
   ========================================================================== */
@media (max-width: 820px) {

  :root {
    --m-pad: 20px;
    --m-radius: 18px;
    --m-card: 0 1px 0 rgba(255,255,255,.55) inset, 0 2px 5px rgba(60,52,42,.16), 0 12px 26px -12px rgba(60,52,42,.32);
    --m-cream: linear-gradient(180deg, #f2ece2 0%, #ece5d9 100%);
    --m-steel: linear-gradient(180deg, #cdc6ba 0%, #c3bbae 60%, #bcb4a7 100%);
  }

  /* ---- shell ----------------------------------------------------------------
     The phone is the desktop frame rotated a quarter turn: there the rails are
     pinned left and right and the centre panel is the only thing that scrolls;
     here the bands are pinned top and bottom and the SAME #heroScroll panel
     scrolls between them. The document itself never moves. */
  html, body {
    background: #17150f; height: 100%;
    /* the document is LOCKED — without this, any swipe that starts on the
       fixed chrome (the open column, the band, the badge) dead-ends on the
       document chain and Android Chrome turns it into pull-to-refresh:
       the page "snaps", jumps to the top, reloads */
    overscroll-behavior: none;
  }
  body { display: block; overflow: hidden; min-height: 0; }
  .viewport { position: relative; width: 100%; height: auto; margin: 0; }
  .stage {
    position: relative; width: 100% !important; height: auto;
    transform: none !important; overflow: visible;
    display: flex; flex-direction: column;
    background: var(--m-steel);
  }

  .side, .topbar, .hero {
    position: relative; left: auto; right: auto; top: auto;
    width: auto; height: auto; border-radius: 0;
  }
  .hero       { order: 1; overflow: visible; }
  /* The rails are desktop chrome. Everything they offered now lives in the
     page body itself (the doors, the situations, the capabilities) and in the
     mobile navigation — so on a phone they simply do not exist, and the page
     is: navigation → masthead → the guided body → its own dark footer. */
  .side.left, .side.right { display: none !important; }
  .topbar     { order: 0; position: sticky; top: 0; z-index: 40; }

  /* the centre panel: pinned between the two bands, the only scroller */
  .hero-scroll {
    position: fixed; left: 0; right: 0;
    top: calc(var(--mnav-top) + env(safe-area-inset-top, 0px));
    bottom: calc(var(--mdock-h) + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1;
  }
  .hero-screen { height: auto; background: linear-gradient(180deg, #f2ece2 0%, #ece5d9 100%); }

  /* frame detailing that only exists to dress the fixed canvas */
  .rivet, .recess, .slot, .hatch, .panel-seam, .hero-rim, .rim, .prv,
  .top-divider, .stat-div, .callouts, .rule, .rule-thick, .rule-short, .slashes,
  .plate::before, .side::before, .side::after, .card::after,
  .card > .card-link::before, .plate-copper::after { display: none !important; }

  /* ---- top bar -------------------------------------------------------------- */
  .topbar {
    height: 64px; padding: 0 var(--m-pad);
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #f4efe6 0%, #e9e2d6 100%);
    box-shadow: 0 1px 0 rgba(0,0,0,.10), 0 8px 20px -10px rgba(60,52,42,.45);
  }
  .logo { position: relative; left: auto !important; top: auto !important; right: auto !important;
          width: auto; height: 46px; display: flex; align-items: center; gap: 9px; flex: 1; }
  .logo-cube { position: relative; left: auto !important; top: auto !important;
               width: 27px !important; height: 40px !important; }
  .logo-name { position: relative; left: auto !important; top: auto !important;
               font-size: 24px; letter-spacing: .04em; }
  .logo-sub  { display: none; }
  .topnav    { display: none; }
  .btn-quote {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    width: auto; height: 46px; min-width: 124px; padding: 0 16px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  .btn-quote span { position: relative; left: auto !important; top: auto !important; font-size: 14.5px; }
  .btn-quote .rv { display: none; }
  /* the mail button leaves the bar and becomes a floating action, as on the
     sister site — always in reach, never competing with the logo for space */
  .btn-mail {
    position: fixed; left: auto !important; top: auto !important;
    right: 16px; bottom: 18px; width: 56px; height: 56px; z-index: 60;
    border-radius: 50%; background: #17150f;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.42);
  }
  .btn-mail .mail-svg { width: 34px; height: 34px; color: #f4efe6; }
  .btn-mail .mail-svg circle:first-child { display: none; }

  /* ---- hero ----------------------------------------------------------------- */
  .hero { background: var(--m-cream); box-shadow: none; }
  .art {
    position: relative; width: auto !important; height: auto; left: auto !important;
    display: flex; flex-direction: column;
    justify-content: flex-start; align-items: flex-start; /* the intro sits LEFT, below the open column's foot */
    padding: 434px var(--m-pad) 26px; background: none;
  }
  .hero-seo {
    position: relative; left: auto !important; top: auto !important;
    order: 0; margin: 0 0 6px; z-index: 2;
    font: 600 7.5px/12px var(--label); letter-spacing: .04em; text-transform: uppercase;
    color: #8a5327; white-space: normal; max-width: 140px; text-align: left;
    text-shadow: 0 0 4px rgba(240,232,220,.75);
  }
  /* on the stacked mobile column every row gets the dot, first one included,
     so the four keywords rank flush with each other */
  .hero-seo span:first-child::before { content: "\00B7\00A0"; opacity: .65; }
  .hero-title {
    position: relative; left: auto !important; top: auto !important;
    order: 1; margin: 0 0 6px; z-index: 2;
    font-size: 21px; line-height: 1.2; letter-spacing: -.006em;
    white-space: normal; max-width: 82%; text-align: left;
  }
  .hero-lede {
    position: relative; left: auto !important; top: auto !important;
    order: 2; margin: 0 0 10px; z-index: 2;
    font-size: 12.5px; line-height: 17.5px; white-space: normal; color: #453d34;
    max-width: 220px; text-align: left;
  }
  .hero-lede br, .hero-lede .lede-desk { display: none; }   /* the desktop line breaks land mid-sentence here */
  .hero-process {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    order: 3; margin: 0 0 24px; height: auto; padding: 10px 12px; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    border-radius: 16px; background: rgba(255,255,255,.55);
    box-shadow: var(--m-card);
    width: auto !important; align-self: flex-start; max-width: 62%;
  }
  .hero-process img { position: relative; width: 34px; height: 32px; flex: none; }
  .hero-process b, .hero-process span {
    position: relative; left: auto !important; top: auto !important;
    display: block; white-space: normal; }   /* the desktop nowrap overflows a 360px screen */
  .hero-process b { font-size: 13px; }
  .hero-process span { display: none; }   /* the lane is narrow: the title of the ride is enough */
  /* the render is the GROUND of the whole mobile masthead: the section
     takes the image's own aspect, so cover lays the full composition
     edge-to-edge with zero crop — and the intro stands ON it, over its
     calm left paper. A soft foot-fade melts it into the cream below. */
  .art { aspect-ratio: 760 / 1229; }
  .art-img {
    position: absolute !important; order: initial; z-index: 1;
    left: 0 !important; right: 0 !important; top: 0; bottom: 0;
    width: auto; height: auto; aspect-ratio: auto;
    border-radius: 0; box-shadow: none;
    background-image: url("assets/hero-m.jpg?h=2a5bcef8") !important;
    background-size: cover; background-position: center;
    -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  }

  .stats {
    position: relative; left: auto !important; top: auto !important;
    width: auto; height: auto;
    display: flex; gap: 8px; padding: 4px var(--m-pad) 34px;
    background: none;
  }
  .stat { position: relative; left: auto !important; top: auto !important; height: auto; flex: 1; }
  .stat-link {
    position: relative; inset: auto; display: flex; flex-direction: column;
    align-items: center; gap: 8px; text-align: center; padding: 14px 4px;
    border-radius: 14px; background: rgba(255,255,255,.42);
  }
  .stat-link .st-v { position: relative; left: auto; top: auto; transform: none; width: 32px; height: 32px; }
  .stat-link span {
    position: relative; left: auto !important; top: auto !important;
    margin: 0; font-size: 11px; line-height: 14px; }

  /* ---- section headings ------------------------------------------------------ */
  .rail-title {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    width: auto; text-align: left;
    font-size: 12px; letter-spacing: .2em; font-weight: 700; font-stretch: normal;
    color: #8a5327; margin: 0 0 14px;
  }
  .side.right .rail-q {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    width: auto; text-align: left; margin: 0 0 24px;
    font: 600 30px/34px var(--serif); color: #16140f; letter-spacing: -.01em;
    white-space: normal;                      /* the desktop nowrap widened the page on 360px screens */
  }
  @media (max-width: 380px) {
    .side.right .rail-q { font-size: 27px; line-height: 31px; }
    /* (the old hero-title override from the pre-image hero died here —
       the narrow regime at the end of this file owns small phones now) */
  }

  /* ---- the list rows, as cards ------------------------------------------------ */
  .menu, .features { position: relative; width: auto; height: auto; display: block; pointer-events: auto; }
  .menu .plate, .card {
    position: relative !important;
    left: auto !important; top: auto !important; right: auto !important; bottom: auto !important;
    width: auto !important; height: auto !important;
    min-height: 76px; border-radius: var(--m-radius);
    display: flex; align-items: center;
    margin: 0 0 12px; padding: 16px 18px;
    clip-path: none !important;
    background: linear-gradient(180deg, #ded7cb 0%, #d4ccbf 100%);
    box-shadow: var(--m-card);
  }

  /* ---- right rail: what are you trying to do? --------------------------------- */
  .side.right { padding: 40px var(--m-pad) 44px; background: var(--m-steel); }
  .side.right .rule, .side.right .rp-foot { display: none; }
  .m-foot {
    display: block; text-align: center; margin: 36px 0 0;
    font: 500 11.5px/16px var(--label); letter-spacing: .18em;
    text-transform: uppercase; color: #5b5248;
  }
  .m-foot b { margin: 0 9px; color: #8a5327; }
  .card { min-height: 84px; }
  .card-link {
    position: relative; inset: auto; width: 100%;
    display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  }
  .card-link > .ic-v {
    position: relative; left: auto !important; top: auto !important;
    transform: none !important; width: 42px; height: 42px; grid-row: 1 / span 2; }
  .card h3 {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    grid-column: 2; grid-row: 1; font-size: 18px; line-height: 22px; margin-bottom: 4px; }
  .card p {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    grid-column: 2; grid-row: 2; font-size: 13.5px; line-height: 18px; white-space: normal; }

  .fallback-label {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    display: block; text-align: left; margin: 26px 0 12px; font-size: 12px; letter-spacing: .18em; }

  /* ---- pill actions ----------------------------------------------------------- */
  .cta-copper, .footer-plate.fallback, .plate-copper {
    position: relative; left: auto !important; top: auto !important;
    right: auto !important; bottom: auto !important;
    width: auto; height: auto; min-height: 72px; border-radius: 999px;
    padding: 14px 26px; margin: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    box-shadow: 0 2px 5px rgba(60,40,20,.3), 0 14px 28px -14px rgba(60,40,20,.55);
  }
  .cta-copper b, .cta-copper span, .fallback-cta, .fallback-sub,
  .up-title, .up-sub {
    position: relative; left: auto !important; top: auto !important; right: auto !important;
    display: block; text-align: center; white-space: normal; }
  .cta-copper b, .fallback-cta, .up-title { font-size: 16px; line-height: 20px; }
  .cta-copper span, .fallback-sub, .up-sub { font-size: 12.5px; line-height: 16px; margin-top: 3px; }
  .plate-copper > .ic-v { display: none; }

  /* ---- the closing block ------------------------------------------------------
     Every service and every section already appears in the navigation at the
     top, so repeating the two lists at the foot of the home page was just the
     same links a second time. What is left of the left rail is the one thing
     the page is actually for: the action. -------------------------------------- */
  #lbl-services, .menu.services,
  #lbl-explore,  .menu.explore   { display: none !important; }

  /* ---- left rail: the action ---------------------------------------------- */
  /* skin-left.css and skin-right.css pin these to the canvas with .side.left
     {width:305px;height:872px}, which out-specifies the reset above — the rail
     stayed 872px tall and its content spilled past it onto the page ground. */
  .side.left, .side.right {
    left: auto !important; right: auto !important;
    width: auto !important; height: auto !important;
    box-shadow: none;
  }
  .topbar { height: 64px !important; width: auto !important; }
  .side.left {
    padding: 4px var(--m-pad) 40px; display: flex; flex-direction: column;
    background: var(--m-cream);
  }
  .plate-copper  { order: 1; margin-bottom: 0; }
  #lbl-services  { order: 2; }
  .menu.services { order: 3; }
  #lbl-explore   { order: 4; margin-top: 32px !important; }
  .menu.explore  { order: 5; }
  .plate-dark    { display: none; }

  .menu.services .plate { gap: 16px; }
  /* the first plate is chamfered to sit in the recessed tray; on a phone there
     is no tray, so it should match the rest of the list */
  .menu.services .plate:first-child {
    background: linear-gradient(180deg, #ded7cb 0%, #d4ccbf 100%) !important;
    clip-path: none !important; }
  .menu.services .plate:first-child::after { display: none !important; }
  .menu.services .plate > .ic-v {
    position: relative; left: auto !important; top: auto !important;
    transform: none !important; width: 40px; height: 40px; flex: none; }
  .menu.services .plate span, .menu.explore .plate span {
    position: relative; left: auto !important; top: auto !important;
    transform: none; margin: 0; white-space: normal; font-size: 16px; line-height: 20px;
    letter-spacing: .02em; }
  /* EXPLORE is secondary: quieter rows, no plate */
  .menu.explore .plate {
    min-height: 58px; border-radius: 12px; padding: 14px 18px;
    background: rgba(255,255,255,.34); box-shadow: none;
    border: 1px solid rgba(90,78,62,.16); margin-bottom: 8px; }
  .menu.explore .plate span { font-size: 15px; letter-spacing: .08em; }

  /* ---- section pages ---------------------------------------------------------- */
  /* the body of a section is 1fr beside a fixed 300px rail; at 358px the fixed
     column takes almost everything and the text collapses to one word a line */
  .view { position: relative; padding: 30px var(--m-pad) 44px; overflow: visible; }
  /* page swaps are instant on the phone (see app.js) — a ghost in flow would
     stack the old page above the new one */
  .view-ghost { display: none !important; }
  /* on a section page the desktop merely hides the masthead (the view covers
     it); here the view sits AFTER it in flow, so the masthead must collapse —
     and the panel keeps scrolling (the view has no scroller of its own) */
  .has-view .hero-screen > :not(.view) { display: none; }
  /* ...and the home page's own sections after it. home.css already hides them on a section page
     (.has-view .hp), but further down this file `#heroScroll .hp { display: flex }` has the same weight and
     comes later, so it won and every section page on the phone ended with the home page's sections repeated.
     Two ids outrank it. */
  .has-view #heroScroll #home-more { display: none; }
  .has-view .hero-scroll { overflow-x: hidden; overflow-y: auto; }
  .view-body { grid-template-columns: 1fr !important; gap: 28px !important; margin-top: 28px; }
  .view-figure { max-width: 100% !important; order: 2; }
  .view-main   { order: 1; }
  .view-cards  { grid-template-columns: 1fr !important; }
  .view-head   { max-width: none; padding-right: 92px; }
  .view-title  { font-size: 34px !important; line-height: 37px !important; margin-bottom: 16px; }
  .view-title::after { margin-top: 16px; }
  .view-eyebrow { margin-bottom: 18px !important; }
  .view-lede   { font-size: 16.5px !important; line-height: 26px !important; }
  .view-list li { font-size: 15px; line-height: 23px; }
  .view-close  { right: var(--m-pad) !important; top: 22px !important; min-height: 44px; }
  .spec, .spec-row { max-width: 100%; }


  /* ==========================================================================
     MOBILE NAVIGATION
     The badge, pill, chevron and action tiles are built to measurements taken
     off loueimetalarts.com — 88px badge, 194x38 pill, 28px rows at 13/500 with
     2.08px tracking, active row white on black, 0.6s height ease, 52px tiles.

     What differs is placement. There the pieces float over the page and the
     content scrolls under them; here they occupy two reserved bands — a sticky
     bar at the top and a docked bar at the bottom — and the document is padded
     to match, so navigation never sits on top of anything. The one exception is
     the menu while it is open, which is a deliberate overlay and gets a scrim.
     ========================================================================== */
  /* THE HANGING SIGNS (the founder's sketch, 2026-11-12; mnav_chain_1112). The belt that rode the top of the screen
     is gone, and with it the band it rode in: the page starts at the top edge (--mnav-top: 0). The navigator is a
     ladder of small metal signs on two chains - the black plate is the page you are on, the steel plates behind it
     are the list, lowered from above when it opens (the script at the foot of index.html moves them). Sizes are the
     sprites' own (assets/mnav, rendered at 3x): plates 184 wide, 20 high (the black one 24), 10 of chain between. */
  :root { --mnav-top: 0px; --mdock-h: 70px; --mnav-w: 184px; }

  .topbar { display: none !important; }
  html, body { background: #d5c5a9; }  /* the hero paper's tan */

  .mnav-top {
    display: block; position: fixed; z-index: 9000;
    left: 22px; top: calc(env(safe-area-inset-top, 0px) + 12px);
    width: var(--mnav-w); height: 24px;
    /* the whole ladder is drawn 1.1 times its unit size (owner, 2026-11-12: a little bigger, a little further
       right; its right edge stays at 227, left of what the pages set beside it); a short screen draws it smaller (script) */
    zoom: calc(var(--mnav-k, 1) * 1.1);
    transition: opacity .28s ease;
  }
  /* held invisible until its plates' pictures and its font are in (script removes it) */
  .mnav-wait .mnav-top, .mnav-wait .mnav-drop { opacity: 0; pointer-events: none; }

  /* ---- a plate: the link itself, dressed by the script with a face and the two chains above it ---- */
  .mnav-cur, .mnav-drop a {
    position: absolute; left: 0; width: var(--mnav-w);
    display: flex; align-items: center; justify-content: center;
    white-space: nowrap; text-transform: uppercase; text-decoration: none;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
  }
  .mnav-face {
    position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: 2px;
    background-repeat: no-repeat; background-position: -4px -4px; background-size: 192px 28px;
    /* the page is the wall behind it: a soft shadow down and to the right, and a tight one where it almost touches */
    box-shadow: 2px 5px 7px rgba(28,18,6,.34), 0 1px 2px rgba(28,18,6,.3);
  }
  .mnav-s1 { background-image: url("assets/mnav/plate_s1.webp?h=601bd723"); }
  .mnav-s2 { background-image: url("assets/mnav/plate_s2.webp?h=13ca25ac"); }
  .mnav-s3 { background-image: url("assets/mnav/plate_s3.webp?h=e43d2dbf"); }
  .mnav-s4 { background-image: url("assets/mnav/plate_s4.webp?h=3b6306bc"); }
  .mnav-last .mnav-face { background-image: url("assets/mnav/plate_e.webp?h=f28d4d41"); }   /* nothing hangs below the last plate */
  .mnav-k  { background-image: url("assets/mnav/plate_k.webp?h=e8bca4d7"); background-size: 192px 32px; }
  /* the light on brushed steel: a soft upright streak that slides along the plate as it twists (script) */
  .mnav-sheen {
    position: absolute; top: 0; bottom: 0; left: 60%; width: 104px; margin-left: -52px;
    /* a bright core in a wide soft field, as a lamp shows on brushed steel */
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.09) 28%, rgba(255,255,255,.4) 50%, rgba(255,255,255,.09) 72%, rgba(255,255,255,0) 100%);
    will-change: transform;
  }
  .mnav-s2 .mnav-sheen { left: 66%; } .mnav-s3 .mnav-sheen { left: 56%; } .mnav-s4 .mnav-sheen { left: 63%; }
  .mnav-k .mnav-sheen { background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 28%, rgba(255,255,255,.17) 50%, rgba(255,255,255,.04) 72%, rgba(255,255,255,0) 100%); }
  /* the chains above a plate: three links to the plate above (the sprite is cut where a plate hides a link) */
  .mnav-ch {
    position: absolute; left: 0; top: -17.5px; width: 12px; height: 25px; pointer-events: none;
    background: url("assets/mnav/chain_mid_a.webp?h=ab790d39") 0 0 / 12px 25px no-repeat;
    transform-origin: 6px 21.8px;        /* the hole it hangs the plate by */
    filter: drop-shadow(1.5px 3px 2px rgba(28,18,6,.3));
    will-change: transform;
  }
  .mnav-ch-r { left: auto; right: 0; background-image: url("assets/mnav/chain_mid_b.webp?h=8f953343"); }
  /* the long chains: the black plate's, up past the top of the screen (the list hangs from the black plate's lower holes) */
  .mnav-ch-long {
    top: -85.83px; height: 93.33px; transform-origin: 6px 90.13px;
    background-image: url("assets/mnav/chain_long_a.webp?h=14414cf6"); background-size: 12px 93.33px;
  }
  .mnav-ch-long.mnav-ch-r { background-image: url("assets/mnav/chain_long_b.webp?h=acfbbd33"); }

  /* ---- the black plate: the page you are on; a tap lowers or hoists the list ---- */
  .mnav-cur { top: 0; height: 24px; transform-origin: 50% 4.3px; }   /* it turns over about the holes it hangs by */
  /* (mnav_here_1113) while the list hangs, the top plate is its first row: steel, its picture drawn to the top plate's size */
  .mnav-cur .mnav-face.mnav-s1 { background-size: 192px 33.6px; background-position: -4px -4.8px; }
  .mnav-cur.mnav-steel span { color: #17120d; text-shadow: 0 .6px 0 rgba(255,255,255,.62), 0 -.34px .2px rgba(0,0,0,.4); }
  .mnav-cur::before { content: ''; position: absolute; inset: -12px -10px -8px -14px; }   /* a thumb's worth of plate */
  .mnav-cur span {
    font: 600 11px/1 var(--label); letter-spacing: 1.6px; color: #efe9dd;
    text-shadow: 0 -.5px 0 rgba(0,0,0,.7), 0 .5px .3px rgba(255,255,255,.14);
  }
  .mnav-cur .mnav-caret {
    position: absolute; left: 50%; top: 100%; width: 24px; height: 24px; margin: -1px 0 0 -12px; display: block;
    color: #000; filter: drop-shadow(0 0 1.5px rgba(255,255,255,.9)) drop-shadow(0 2px 2px rgba(0,0,0,.28));
    transition: opacity .25s ease .5s;    /* it shows once the list has been rolled up past it */
  }
  .mnav-top.is-open .mnav-cur .mnav-caret { opacity: 0; pointer-events: none; transition: opacity .1s ease 0s; }   /* hidden, it must not take the first plate's taps */

  /* ---- the list: one steel plate per page, hung behind the black plate ---- */
  .mnav-drop {
    position: fixed; z-index: 8900; display: block;
    left: 22px; top: calc(env(safe-area-inset-top, 0px) + 46px);
    width: var(--mnav-w); height: 0;
    zoom: calc(var(--mnav-k, 1) * 1.1);
  }
  html body .mnav-drop { overflow: visible; }   /* (story.css hid the old column's sideways overflow: the plates swing) */
  .mnav-drop[hidden] { display: none; }
  /* the roll: the plates not yet let out, rolled up on their chains (six pictures, a sixth of a plate's turn apart, and their blur).
     It runs down the ladder letting plates out and back up taking them in (script) */
  .mnav-roll {
    position: absolute; left: -4px; top: 0; width: 192px; height: 48px; z-index: 2; pointer-events: none;
    background: url("assets/mnav/roll.webp?h=76834f1b") 0 0 / 192px 336px no-repeat;
    transform-origin: 0 0; will-change: transform;
    filter: drop-shadow(2px 5px 5px rgba(28,18,6,.36));
  }
  /* the black arrow under the last plate: it sends the list up. It goes where that plate goes (script) */
  .mnav-fold {
    position: absolute; left: 50%; top: 0; width: 48px; height: 30px; margin: 0 0 0 -24px; padding: 0; border: 0;
    display: flex; align-items: flex-start; justify-content: center;
    background: none; color: #000; cursor: pointer;
    filter: drop-shadow(0 0 1.5px rgba(255,255,255,.9)) drop-shadow(0 2px 2px rgba(0,0,0,.28));
    will-change: transform; -webkit-tap-highlight-color: transparent;
  }
  .mnav-fold[hidden] { display: none; }
  .mnav-fold:active svg { transform: translateY(1px); }
  .mnav-drop a {
    top: 0; height: 20px; transform-origin: 50% 4.3px;   /* a plate leans, and is turned up into the roll, about the holes it hangs by */
    font: 700 10.5px/1 var(--label); letter-spacing: 1.5px;
    color: #17120d; text-shadow: 0 .6px 0 rgba(255,255,255,.62), 0 -.34px .2px rgba(0,0,0,.4);
  }
  .mnav-drop a::before { content: ''; position: absolute; inset: -5px 0; }   /* the chain between two plates is a place to tap too */
  .mnav-drop small.soon { margin-left: 4px; }
  .mnav-drop a.mnav-out { display: none; }   /* the top plate IS this row (Home, while the list hangs) */
  /* (mnav_here_1113) the page you are on: its own plate, in its own place, black (the black plate's picture drawn to a list plate's size) */
  .mnav-drop a.mnav-here .mnav-face { background-image: url("assets/mnav/plate_k.webp?h=e8bca4d7"); background-size: 192px 26.67px; background-position: -4px -3.33px; }
  .mnav-drop a.mnav-here .mnav-sheen { background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 28%, rgba(255,255,255,.17) 50%, rgba(255,255,255,.04) 72%, rgba(255,255,255,0) 100%); }
  .mnav-drop a.mnav-here { color: #efe9dd; text-shadow: 0 -.5px 0 rgba(0,0,0,.7), 0 .5px .3px rgba(255,255,255,.14); }
  .mnav-drop a:active .mnav-face { filter: brightness(.93); }
  .mnav-cur:focus-visible, .mnav-drop a:focus-visible { outline: 2px solid #b87333; outline-offset: 2px; }
  /* REVERSE ENGINEERING is the longest name: tracked tighter so it stays between the holes */
  .mnav-drop a[href="/scanning-reverse-engineering/"],
  #mnavCur[href="/scanning-reverse-engineering/"] span { letter-spacing: .9px; }
  /* LOUEI Metal Arts opens with the list up: its first words start below the black plate and its arrow (they
     stood under the old band, 64 down, and stand there still) */
  html .view.mx-page .mx-hero { padding-top: 76px; }
  /* the seven outcome pages show the ladder with all fourteen plates: it now ends 529 down the screen with its arrow.
     Their first button stood at 484 (under the old band's foot it was clear); the ground under the picture is given
     50 more, so the button and the words start below the ladder's foot. Each page's picture and title stay as built */
  html .view.need-page.need-page.need-page .o-low { padding-top: 64px; }
  html .view.need-page.need-page.need-page.need-multiple-copies .o-low { padding-top: 128px; }
  html .view.need-page.need-page.need-page.need-multiple-copies .o .o-h .sub { top: 538px; }




  /* ---- the page map on a phone: one thumb-scrollable line, not sticky ---- */
  .toc-band { position: relative; top: auto; }
  .hp-toc {
    width: auto; padding: 8px 16px; flex-wrap: nowrap; justify-content: flex-start;
    gap: 2px 20px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hp-toc::-webkit-scrollbar { display: none; }
  .hp-toc a { flex: none; min-height: 44px; }

  /* ---- home page sections ------------------------------------------------
     The multi-column grids below the masthead all collapse to one column; the
     five-step row and the four-up input grid are the two that break first. --- */
  .hp { background: linear-gradient(180deg, #17150f 0, #17150f 6px, #e7dbcb 6px); }
  .hw { width: calc(100% - 36px); }
  .hs { padding: 46px 0; }
  .hs-h { font-size: clamp(27px, 8vw, 34px); line-height: 1.08; }
  .hs-h2 { margin-top: 46px; }
  .hs-lede { font-size: 16px; line-height: 26px; margin-bottom: 26px; }
  .hs-eyebrow { margin-bottom: 14px; }
  .hs-orient { display: none; }        /* it describes the desktop rails */

  .two-ways, .cta-2, .conf, .paths, .faq-cols, .doors, .who, .work { grid-template-columns: 1fr; gap: 14px; }
  .doors::before, .cta-2::before { content: none; }   /* the desktop column divider */
  .hw-split { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .inputs   { grid-template-columns: 1fr; }
  .advisor  { font-size: 15px; line-height: 25px; min-height: 0; }
  .route    { height: 56px; }
  .split-head .detail, .sec-foot .detail { margin-left: auto; margin-right: auto; }
  .sec-foot { justify-content: center; }
  .hw-split-r .split-head { order: 0; }
  .hw-split-r .split-body { order: 1; }
  .caps-plate { padding: 18px 18px 8px; }
  .caps-title { letter-spacing: .18em; }
  .caps > div { grid-template-columns: 1fr; gap: 4px 0; padding: 13px 0 12px; }
  .caps > div::before { left: -12px; }
  .sit-filter button { min-height: 44px; }
  .qty-list { grid-template-columns: 1fr; }
  .steps    { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 18px 0; border-top: 1px solid rgba(122,76,34,.4); }
  .steps li:first-child { border-top-width: 2px; }
  .steps::before { display: none; }               /* the travelling diamond is a desktop ride */
  .steps li:not(:last-child)::after { display: none; }
  .stp { margin-bottom: 8px; }
  .work { grid-template-columns: 1fr; }

  .path { padding: 22px 16px 20px 50px; }
  .path-ic { left: 6px; top: 25px; width: 28px; height: 28px; }
  .path::before { position: relative; left: auto; top: auto; display: block; margin-bottom: 8px; }
  .path h3 { font-size: 19px; }
  .sep { display: block; width: 26px; margin: 6px 0; }
  .qty { padding: 24px 20px; }
  .conf li { padding-left: 16px; }
  .faq summary { font-size: 16px; padding-right: 34px; }
  .faq details p { padding-right: 34px; }
  .way, .cta-card { padding: 24px 22px 22px; }
  .hfoot { gap: 2px 22px; margin-top: 36px; }

  /* every link in the page body reaches the 44px touch minimum; the route
     chips and the audience chips are 34px on desktop, which is fine for a
     pointer but not for a thumb */
  .path-links a, .who li, .lnk { min-height: 44px; }
  .path-links a { padding: 10px 15px; }
  .who li { display: inline-flex; align-items: center; padding: 12px 17px; }



  /* ---- the dock: the phone's copper rails ---------------------------------- */
  /* five actions: about | get a quote | home | upload | mail —
     three small tiles, the two workhorses wide, home dead centre */
  .mdock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 8500;
    display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(23,21,15,.97), rgba(15,13,9,.98));
    box-shadow: 0 -1px 0 rgba(255,235,205,.14), 0 -10px 26px rgba(0,0,0,.4);
  }
  .mdock[hidden] { display: none; }
  .mdock a {
    display: flex; align-items: center; justify-content: center;
    min-height: 50px; border-radius: 10px;
    font: 700 12.5px/1.2 var(--sans); text-align: center; padding: 6px;
    white-space: nowrap;
  }
  .mdock-quote {
    flex: 1;
    background: linear-gradient(180deg, #9a6337 0%, #7d502c 55%, #6a4325 100%);
    color: #fff3e3;
    box-shadow: inset 0 1px 0 rgba(255,220,180,.35), inset 0 -1px 0 rgba(0,0,0,.5);
  }
  .mdock-up {
    flex: 1;
    background: linear-gradient(180deg, #33322c 0%, #222220 100%);
    color: #ece5da;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.6);
  }
  .mdock-about, .mdock-home, .mdock-mail {
    flex: none; width: 50px;
    background: linear-gradient(180deg, #33322c 0%, #222220 100%);
    color: #ece5da;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.6);
  }
  /* the panel already ends above the dock — the closing section keeps the
     ordinary section rhythm instead of dock clearance */
  .hs-cta { padding-bottom: 46px; }

  /* ---- touch ------------------------------------------------------------------ */
  a[href], button { -webkit-tap-highlight-color: rgba(184,115,51,.16); }
  .plate:hover, .card:hover, .plate-copper:hover, .cta-copper:hover { filter: none; }
  .plate:active, .card:active { filter: brightness(.97); }


  /* EXPERIMENT: the logo takes the dock's centre tile as the HOME action —
     on the badge's own light plate so the mark reads on the dark dock —
     and the floating badge stands down while this is tried */
  .mdock-logo {
    background: linear-gradient(150deg, rgba(255,255,255,.96) 0%, #efe8dd 55%, #e2d9cb 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 4px 10px rgba(0,0,0,.3);
  }
  .mdock-logo img { width: 20px; height: 30px; }

  /* ============================================================== 
     MOBILE HOME REWORK — the long scroll becomes a story.
     Three beats a visitor gets by the count of three: the hero says
     what we are, BEGIN says how easy it is to start, PATHS lets them
     recognise their own project. Everything below is scannable —
     swipe rails instead of mile-long stacks, a spec sheet instead of
     prose, chips instead of lists. Desktop is untouched: all of this
     lives inside the mobile media query.                            */

  /* --- the narrative order: proof follows the stories ------------
     the sections live inside .hp; flex order rearranges them so the
     visitor meets the stories, then the proof, then the facts */
  #heroScroll .hp { display: flex; flex-direction: column; }
  #heroScroll .toc-band { order: 0; }
  #heroScroll .hs-begin { order: 1; }
  #heroScroll .hs-paths { order: 2; }
  #heroScroll .hs-work { order: 3; }
  #heroScroll .hs-caps { order: 4; }
  #heroScroll .hs-flow { order: 5; }
  #heroScroll .hs-who { order: 6; }
  #heroScroll .hs-conf { order: 7; }
  #heroScroll .hs-faq { order: 8; }
  #heroScroll .hs-cta { order: 9; }
  #heroScroll .hs-family { order: 10; }
  /* the hero's desktop stat tiles sit under the open column here — retire them */
  #heroScroll .hero-screen .stats, #heroScroll .hero-screen .stat-div { display: none; }

  /* --- the section voice: quieter titles, kicker eyebrows -------- */
  #heroScroll .hs { padding: 38px 0 34px; }
  #heroScroll .hw { padding-left: 20px; padding-right: 20px; }
  #heroScroll .hs-h { font-size: clamp(21px, 6vw, 25px); line-height: 1.14; }
  #heroScroll .hs-eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 10px; }
  #heroScroll .hs-lede { font-size: 13px; line-height: 19px; margin-bottom: 18px; max-width: 92%; }
  #heroScroll .hs-note { font-size: 11.5px; line-height: 16.5px; }
  #heroScroll .who-mark svg { width: 26px; height: 26px; }

  /* --- swipe rails: the belt taught the gesture; reuse it -------- */
  #heroScroll .paths, #heroScroll .work {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; scroll-padding-left: 20px;
    margin: 0 -20px; padding: 4px 20px 14px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }
  #heroScroll .paths::-webkit-scrollbar, #heroScroll .work::-webkit-scrollbar { display: none; }
  #heroScroll .path, #heroScroll .wk { flex: 0 0 auto; scroll-snap-align: start; }
  #heroScroll .path { width: clamp(250px, 76vw, 330px); }
  #heroScroll .wk { width: clamp(240px, 80vw, 340px); }
  #heroScroll .hs-work .wk-wide .ph-slot { aspect-ratio: 16 / 9 !important; }

  /* --- 2: where to begin — chips, then the two doors ------------- */
  #heroScroll .hs-begin .hs-lede, #heroScroll .hs-begin .route, #heroScroll .hs-begin .advisor, #heroScroll .hs-begin .hs-note { display: none; }
  #heroScroll .inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
  #heroScroll .inputs a { font-size: 11.5px; line-height: 14px; padding: 8px 22px 8px 24px; min-height: 44px; }  /* room for the diamond and the arrow */
  #heroScroll .doors { gap: 10px; }
  #heroScroll .door { padding: 18px 16px 16px; }
  #heroScroll .door b { font-size: 15px; }
  #heroScroll .door > span { font-size: 11.5px; line-height: 16px; }

  /* --- 3: familiar situations — a deck you thumb through --------- */
  #heroScroll .hs-paths .sit-filter, #heroScroll .hs-paths .ph-slot, #heroScroll .hs-paths .detail { display: none; }
  #heroScroll .path { padding: 18px 16px 16px 16px; }
  #heroScroll .path-ic { position: static; display: block; margin-bottom: 8px; width: 26px; height: 26px; }
  #heroScroll .path h3 { font-size: 16px; line-height: 1.2; }
  #heroScroll .path-flow { font-size: 12px; line-height: 17.5px; }
  #heroScroll .path-links a { min-height: 40px; padding: 8px 12px; font-size: 11px; }
  #heroScroll .qty-list li { font-size: 12px; line-height: 17px; }
  #heroScroll .qty-note { font-size: 11px; }
  /* the rail whispers its gesture once, under the deck */
  #heroScroll .hs-paths .split-body::after {
    content: "\2039  swipe  \203A"; display: block; text-align: center;
    font: 600 9px/1 var(--label); letter-spacing: .3em; text-transform: uppercase;
    color: #8a5327; opacity: .75; margin-top: 2px;
  }

  /* --- 4: proof rides sideways too ------------------------------- */
  #heroScroll .hs-work .hs-lede { display: none; }
  #heroScroll .hs-work .hs-note { margin-top: 4px; }

  /* --- 5: the spec sheet, kept — set like a data plate ----------- */
  #heroScroll .hs-caps .hs-lede, #heroScroll .hs-caps .detail { display: none; }
  #heroScroll .caps-plate { padding: 14px 14px 6px; }
  #heroScroll .caps > div { display: grid; grid-template-columns: 96px 1fr; gap: 0 12px; padding: 9px 0 8px; }
  #heroScroll .caps dt { font-size: 9px; line-height: 13px; letter-spacing: .1em; }
  #heroScroll .caps dd { font-size: 11.5px; line-height: 15.5px; }

  /* --- 6: five stages, tight ------------------------------------- */
  #heroScroll .hs-flow .hs-lede { display: none; }
  #heroScroll .steps li { padding: 13px 0; }
  #heroScroll .steps h3 { font-size: 14.5px; }
  #heroScroll .steps li p { font-size: 11.5px; line-height: 16px; margin-top: 3px; }

  /* --- 7: industries as a chip cloud ----------------------------- */
  #heroScroll .hs-who .ph-slot { display: none; }
  #heroScroll .who { display: flex; flex-wrap: wrap; gap: 8px; }
  #heroScroll .who li { font-size: 11.5px; padding: 10px 13px; min-height: 44px; }

  /* --- 8: how we work — the promises, unpadded ------------------- */
  #heroScroll .hs-conf .ph-slot, #heroScroll .hs-conf .split-mark { display: none; }
  #heroScroll .conf li { padding: 12px 0 12px 16px; }
  #heroScroll .conf h3 { font-size: 14.5px; }
  #heroScroll .conf li p { font-size: 11.5px; line-height: 16px; margin-top: 3px; }

  /* --- 9: questions, compact disclosure -------------------------- */
  #heroScroll .faq summary::before { top: 15px; }  /* centred on the first line of the tighter rows */
  #heroScroll .faq summary:hover, #heroScroll .faq details.is-open summary,
  #heroScroll .faq:not(.faq-js) details[open] summary { padding-left: 19px; }  /* the hover shift outweighs the compact rule */
  #heroScroll .faq summary { font-size: 13.5px; line-height: 18px; padding: 12px 34px 12px 0; }
  #heroScroll .faq details p { font-size: 12px; line-height: 17px; }
  #heroScroll .faq-label { font-size: 9.5px; letter-spacing: .16em; }

  /* --- 10: the two doors out ------------------------------------- */
  #heroScroll .hs-cta .hs-lede { margin-bottom: 14px; }
  #heroScroll .cta-card { padding: 18px 16px 16px; }
  #heroScroll .cta-card h3 { font-size: 16px; }
  #heroScroll .cta-card p { font-size: 11.5px; line-height: 16px; }
  #heroScroll .hs-cta .sec-foot { font-size: 11.5px; }

  /* --- round 2: the deep compressions ---------------------------- */
  /* five stages read as a ledger: small coin, text beside it */
  #heroScroll .steps li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; align-items: center; padding: 11px 0; }
  #heroScroll .steps .stp { width: 28px; height: 28px; font-size: 10px; line-height: 28px; margin: 0; grid-row: 1 / span 2; align-self: start; }
  #heroScroll .steps h3 { margin: 0; }
  #heroScroll .steps li p { grid-column: 2; margin: 0; }
  /* the spec sheet tightens its leading */
  #heroScroll .caps > div { grid-template-columns: 86px 1fr; padding: 8px 0 7px; }
  #heroScroll .caps dd { font-size: 11px; line-height: 14.5px; }
  /* industry chips: the diamond rides inside the chip, not above it */
  #heroScroll .who { justify-content: center; gap: 7px; }
  #heroScroll .who li { font-size: 11px; line-height: 13px; padding: 7px 11px 7px 9px; min-height: 32px; }
  #heroScroll .who li::before { position: static; display: inline-block; margin: 0 7px 0 0; flex: 0 0 auto; transform: none; }
  /* questions: tighter rows */
  #heroScroll .faq summary { padding: 10px 30px 10px 0; }
  #heroScroll .faq details p { padding: 0 30px 10px 0; }
  /* the closing doors lose the decorative medallion, keep the words */
  #heroScroll .hs-cta .detail, #heroScroll .hs-cta .ph-slot { display: none; }
  #heroScroll .hs-conf li { padding-top: 10px; padding-bottom: 10px; }

  /* --- round 3: the last burrs off ------------------------------- */
  /* industry chips: the desktop fixed width made one chip per row */
  #heroScroll .who li { width: auto; margin: 0; flex: 0 0 auto; min-width: 0; max-width: 100%; justify-content: flex-start; text-align: left; }
  /* spec-sheet CTAs: two clean chips, no starved grid column */
  #heroScroll .hs-caps .sec-foot { display: block; }
  #heroScroll .caps-cta { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin: 0; }
  #heroScroll .caps-cta .lnk { white-space: nowrap; font-size: 12px; }
  /* the flow's foot: full-width note, no starved medallion column */
  #heroScroll .hs-flow .sec-foot { display: block; }
  #heroScroll .hs-flow .sec-foot .detail { display: none; }
  #heroScroll .hs-flow .hs-note { max-width: none; text-align: left; margin: 0 0 10px; }
  /* the on-this-page band: quieter, and it fades at its edges */
  #heroScroll .hp-toc { gap: 20px; padding: 13px 20px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
  #heroScroll .hp-toc a { font-size: 10.5px; letter-spacing: .13em; }

  /* --- VISUAL RHYTHM: a metal beat mid-page -----------------------
     from caps to who everything was cream; the spec sheet now sets on
     a dark machine plate (kin to the dock and the closing sections),
     and the five stages ride faint drafting-paper grid — the page
     reads magazine, not list. */
  #heroScroll .caps-plate {
    background: linear-gradient(180deg, #2c2823 0%, #232019 55%, #1c1915 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.65),
      inset 1px 0 0 rgba(255,255,255,.05), inset -1px 0 0 rgba(0,0,0,.35),
      0 1px 0 rgba(0,0,0,.35), 0 16px 32px -14px rgba(0,0,0,.55);
  }
  #heroScroll .caps-title { color: #d09a5e; }
  #heroScroll .caps-title span { color: #d09a5e; }
  #heroScroll .caps dt { color: #c98f55; }
  #heroScroll .caps dd { color: #e8ddc7; }
  #heroScroll .caps > div { border-color: rgba(240,230,214,.16); }
  #heroScroll .caps > div::before { filter: invert(1) opacity(.5); }
  #heroScroll .hs-flow {
    background-color: rgba(122,76,34,.045);
    background-image:
      repeating-linear-gradient(0deg, rgba(122,76,34,.06) 0 1px, transparent 1px 30px),
      repeating-linear-gradient(90deg, rgba(122,76,34,.06) 0 1px, transparent 1px 30px);
  }

  /* --- the page map sticks: 'where am I' in eleven screens --------- */
  #heroScroll .toc-band {
    position: sticky; top: 0; z-index: 6;
    background: linear-gradient(180deg, #f2ece2 0%, #eee7db 100%);
    box-shadow: 0 1px 0 rgba(122,76,34,.28), 0 10px 20px -14px rgba(0,0,0,.3);
  }
  #heroScroll .hp-toc a.is-here {
    color: #241e17; font-weight: 700;
    box-shadow: inset 0 -2px 0 #8f5a25;
  }

  /* --- littles: the proof rail whispers its gesture too ------------ */
  #heroScroll .hs-work .work + .hs-note::before {
    content: "\2039  swipe  \203A"; display: block; text-align: center;
    font: 600 9px/1 var(--label); letter-spacing: .3em; text-transform: uppercase;
    color: #8a5327; opacity: .75; margin: 2px 0 10px;
  }
  /* --- FAQ: six first, the rest behind one honest button ---------- */
  #heroScroll .faq-more {
    display: block; width: 100%; min-height: 44px; margin: 4px 0 0;
    background: none; border: 0; border-top: 1px solid rgba(122,76,34,.35);
    font: 600 11px/1 var(--label); letter-spacing: .18em; text-transform: uppercase;
    color: #8a5327; text-align: center; cursor: pointer;
  }

  /* --- the identity beat: who we are, set like a maker's plate ----- */
  #heroScroll .hs-intro {
    order: 1; display: block; margin: 0; padding: 30px 20px 26px;
    text-align: center;
    background:
      repeating-linear-gradient(0deg, rgba(240,230,214,.025) 0 1px, transparent 1px 26px),
      repeating-linear-gradient(90deg, rgba(240,230,214,.025) 0 1px, transparent 1px 26px),
      linear-gradient(180deg, #241e18 0%, #191510 62%, #15110d 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.5);
  }
  #heroScroll .hs-intro-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin: 0 0 12px; border-radius: 13px;
    background: linear-gradient(150deg, rgba(255,255,255,.96) 0%, #efe8dd 55%, #e2d9cb 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 6px 14px rgba(0,0,0,.45);
  }
  #heroScroll .hs-intro-kick {
    margin: 0 0 10px; font: 600 8.5px/1 var(--label); letter-spacing: .3em;
    text-transform: uppercase; color: #b98450;
    display: flex; align-items: center; justify-content: center; gap: 12px;
  }
  #heroScroll .hs-intro-kick::before, #heroScroll .hs-intro-kick::after {
    content: ""; width: 26px; height: 1px; background: rgba(185,132,80,.55);
  }
  #heroScroll .hs-intro-head {
    margin: 0 0 9px; font: 700 22px/1.2 var(--serif); letter-spacing: .002em; color: #f4ede1;
  }
  #heroScroll .hs-intro-head .dot { color: #d09a5e; }
  #heroScroll .hs-intro-line {
    margin: 0 auto 16px; font: 400 12.5px/18.5px var(--label); color: #cfc1ab; max-width: 300px;
  }
  #heroScroll .hs-intro-ways {
    list-style: none; margin: 0 auto 14px; padding: 0; max-width: 300px;
  }
  #heroScroll .hs-intro-ways li { border-top: 1px solid rgba(240,230,214,.09); }
  #heroScroll .hs-intro-ways li:last-child { border-bottom: 1px solid rgba(240,230,214,.09); }
  #heroScroll .hs-intro-ways a {
    display: flex; align-items: baseline; justify-content: center; gap: 7px;
    min-height: 42px; padding: 11px 4px; text-decoration: none;
    font: 400 12.5px/1.4 var(--label);
  }
  #heroScroll .hs-intro-ways span { color: #a99b86; }
  #heroScroll .hs-intro-ways b { color: #e9dcc4; font-weight: 700; }
  #heroScroll .hs-intro-cta { margin: 0; }
  #heroScroll .hs-intro-cta .lnk { color: #d09a5e; font-size: 12px; }

  /* --- service pages: the anchored blocks --- */
  .view-block { margin-bottom: 28px; padding-top: 18px; scroll-margin-top: 14px; }
  .view-block h2 { font-size: 21px; }
  .view-p { font-size: 14px; line-height: 21px; }
  .view-cmp { font-size: 12px; line-height: 16.5px; }
  .view-cmp th, .view-cmp td { padding: 8px 8px 8px 0; }
  .view-cmp tbody th { width: 84px; font-size: 9.5px; letter-spacing: .06em; }
  .view-needs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .view-needs li { padding: 10px 11px; }
  .view-needs span { font-size: 9px; letter-spacing: .1em; margin-bottom: 5px; }
  .view-needs b { font-size: 12.5px; }
  .view-needs em { font-size: 11.5px; line-height: 15.5px; }
  .view-list li { font-size: 14px; line-height: 21px; }
  .view-facts > div { grid-template-columns: 96px 1fr; gap: 0 12px; }
  .view-facts dt { font-size: 9.5px; }
  .view-facts dd { font-size: 12.5px; line-height: 17px; }

  .view-body.is-banner { gap: 20px; }
  .view-body.is-banner .view-figure img { height: 210px; }


  /* --- the service page hero, on the phone --- */
  .view-head.is-hero {
    margin: 44px 0 0 !important; padding: 34px 20px 30px !important; min-height: 420px; border-radius: 6px;
    text-align: center; max-width: none !important;
    /* the phone's own photograph — a portrait frame, not the desktop's wide band */
    background:
      linear-gradient(180deg, rgba(18,14,10,.30) 0%, rgba(18,14,10,.58) 55%, rgba(18,14,10,.78) 100%),
      var(--hero-m, var(--hero)) center / cover no-repeat;
    justify-content: flex-end;
  }
  /* the hero's two buttons are plain plates here — never the home CTA's notched shape */
  .view-hero-ctas .cta, .view-hero-ctas .cta-copper { position: relative; left: auto; top: auto; width: auto; height: 42px; display: inline-grid; place-items: center; border-radius: 6px; clip-path: none; }
  .view-hero-ctas .cta-copper { background: linear-gradient(180deg, #d9c2ad 0%, #a07a55 18%, #6a4527 45%, #5f3e22 60%, #7a5636 85%, #a07a55 100%); box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 2px 3px rgba(0,0,0,.5); }
  .view-head.is-hero .view-title { font-size: 30px !important; line-height: 34px !important; }
  .view-head.is-hero .view-lede { font-size: 15px !important; line-height: 23px !important; }
  .view-hero-ctas { flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .view-hero-ctas .cta { min-width: 0; padding: 0 16px; height: 42px; font-size: 14px; }
}

/* NARROW PHONES (Galaxy S-series compact, iPhone SE class): the cover-crop
   eats the side margins of the hero image, so the text lanes pull in a notch
   and the input chips take one column. */
@media (max-width: 374px) {
  .hero-title { font-size: 19px; line-height: 1.2; }
  .hero-process b { font-size: 11.5px; letter-spacing: .16em; white-space: nowrap; }
  .hero-lede { max-width: 218px; font-size: 12px; }
  #heroScroll .hs-h { font-size: 19.5px; }
  #heroScroll .inputs { grid-template-columns: 1fr; }
  #heroScroll .caps > div { grid-template-columns: 74px 1fr; }
  #heroScroll .door { padding: 16px 13px 14px; }
}

/* (p_nav 2026-10-15) CNC's "coming soon" on the phone's belt and its dropped page list: smaller than the name */
.mnav-cur small.soon, .mnav-drop small.soon { font-size: .72em; letter-spacing: .06em; font-weight: inherit; }

/* (p_nav 2026-10-15) THE TWO FILM PAGES' PHONE HEADS (owner, 2026-10-15: "fix the custom and bulk titles on the phone so they
   do not overlap"). The page list stands open on arrival from 59 px to its fold arrow (about 525 px), and on these two pages
   it covered the eyebrow, the title and the first lines (measured: custom words from 447 px at 390 wide, 380 px at 360;
   bulk from 96 px). Like the casting page and the plain pages, the head now starts its words at 576 px, under the list's
   foot, and the picture above them is the band the list sits on:
   - custom (the cinematic hero): its phone picture keeps its own 9:16 across the top - the printer's head and the part
     are at the top of that frame, to the right of the open list - and runs on into the frame's own dark (#0c0804, the
     photograph's tone), where the words are.
   - bulk (the opening film band): the film is a 560 px band from the head's top, its foot faded out, on the band's own
     #0d0d0d; the film itself is unchanged (the owner: keep it). The metal page shares the layout but not this (its list
     stays shut on arrival). Desktop: unchanged. */
@media (max-width: 820px) {
  .view:not(.cast-page) .view-head.is-hero.is-hero-cine { min-height: 0; padding-top: 438px !important; justify-content: flex-start; }
  .view:not(.cast-page) .view-head.is-hero.is-hero-cine { background: var(--hero-m-veil), var(--hero-m) 100% 0 / 100% auto no-repeat, #0c0804; }
  @supports (background-image: image-set(url("x.avif") type("image/avif"))) {
    .view:not(.cast-page) .view-head.is-hero.is-hero-cine { background: var(--hero-m-veil), var(--hero-m-set) 100% 0 / 100% auto no-repeat, #0c0804; }
  }
  .view.bulk-page .bulk:not(.is-metal) .bk-hero { min-height: 0; justify-content: flex-start; padding-top: 512px !important; background: #0d0d0d; }
  .view.bulk-page .bulk:not(.is-metal) .bk-hero > .bk-band-film {
    bottom: auto; height: 560px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  }
}

/* ==========================================================================
   THE SIDE RAILS (the owner's sketch, 2026-11-12; mrail_1112). Two thin black rails stand at the left and right
   edges of the phone, from the top of the screen down to the dock. The seven things a visitor comes to do (the
   desktop's right rail, in short) ride them in white as ONE belt going round the screen: up the left rail, over the top, down the right rail (the script after the
   navigator's builds the belt and sets its pace). The page stands BETWEEN the rails: the scroller moves in by a
   rail's width on each side, so nothing is ever under a rail. --pw is the width the
   page has left (100vw on a desktop): the phone rules that used to measure the screen measure that instead.
   A screen under 340 wide has no room to give and keeps the page as it was.
   ========================================================================== */
.mrail { display: none; }
:root { --pw: 100vw; --rail-in: 0px; }
@media (min-width: 340px) and (max-width: 820px) {
  :root { --rail-w: 14px; --pw: calc(100vw - 2 * var(--rail-w)); --rail-k: 1; --rail-in: 14px; }
  .hero-scroll { left: var(--rail-w); right: var(--rail-w); }
  /* THE HANGING SIGNS keep their place on the screen. The pages set words in the strip to the right of the signs,
     and that strip lost a rail on its far side: on a phone under 385 wide it would be too narrow for those words, so
     there the signs are drawn a little smaller (--rail-k, set by the screen's width below; `left` is divided back so
     the ladder's left edge stays put). --rail-in is how far a strip set in px from the page's left edge may move left
     to stand as near the signs as it did: the rail, plus what the signs gave up. */
  .mnav-top, .mnav-drop { zoom: calc(var(--mnav-k, 1) * 1.1 * var(--rail-k)); left: calc(22px / var(--rail-k)); }
  /* the contact page's three facts stood 14px into the page's right margin: two on the first line, the third under them */
  .view-specs { flex-wrap: wrap; row-gap: 14px; }

  .mrail {
    display: block; position: fixed; z-index: 30; top: 0; width: var(--rail-w);
    bottom: calc(var(--mdock-h) + env(safe-area-inset-bottom, 0px));
    overflow: hidden; contain: strict; pointer-events: none;
    -webkit-user-select: none; user-select: none;
    background: #0a0908;
    /* a hair of light on the inner edge, so a rail still reads against a dark page (the left rail is the right one
       turned half round, so its inner edge is this same edge) */
    box-shadow: inset 1px 0 0 rgba(255,255,255,.1);
  }
  .mrail-r { right: 0; }
  .mrail-l { left: 0; transform: rotate(180deg); }        /* reads upward, runs upward */
  .mrail-belt {
    position: absolute; left: 0; top: 0; width: 100%; height: max-content;
    /* a row of the rail's own writing (it runs down the rail); every piece is centred across the rail */
    writing-mode: vertical-rl; display: flex; align-items: center; white-space: nowrap;
    font: 600 8.5px/14px var(--label); font-stretch: 112%;
    letter-spacing: .26em; text-transform: uppercase; color: #fff;
    -webkit-font-smoothing: antialiased;
    animation: mrail 60s linear infinite;                  /* the script sets the real time from the belt's length */
    will-change: transform; backface-visibility: hidden;
  }
  .mrail-belt span { flex: none; line-height: 14px; }
  /* between two lines: a small white dot, dead centre on the rail (owner, 2026-11-12) */
  .mrail-belt i { flex: none; width: 3px; height: 3px; margin: 16px 0; border-radius: 50%; background: #fff; }
}
@media (min-width: 375px) and (max-width: 384.98px) { :root { --rail-k: .95; --rail-in: 24px; } }
@media (min-width: 360px) and (max-width: 374.98px) { :root { --rail-k: .87; --rail-in: 40px; } }
@media (min-width: 340px) and (max-width: 359.98px) { :root { --rail-k: .78; --rail-in: 58px; } }
@keyframes mrail { from { transform: translate3d(0, -33.3333%, 0); } to { transform: translate3d(0, 0, 0); } }
