/* syfter.com mobile layer, 2026-11-29.
   Desktop effect: only the homepage client wall (.logos). Every other rule sits inside max-width:767px. */

/* ---------- client wall (desktop and mobile) ---------- */
.logos{position:relative;z-index:2}
.logos .sechead{margin-bottom:30px}
.logos .marq ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.logos .marq li{display:flex;align-items:center;gap:10px}
.logos .marq img{width:40px;height:40px;border-radius:8px;background:#fff;object-fit:contain}
.logos.js-lg .marq{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lgw{display:grid;gap:14px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.lgw ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;width:max-content;animation:lgq 70s linear infinite}
.lgw ul.r{animation-direction:reverse;margin-left:-110px}
.lgw:hover ul,.lgw:active ul{animation-play-state:paused}
.lgw li{display:flex;align-items:center;gap:14px;border-radius:16px;padding:12px 22px 12px 12px;background:rgba(238,232,220,.05);border:1px solid rgba(238,232,220,.1)}
.lgw img{width:44px;height:44px;object-fit:contain;border-radius:10px;background:#fff}
.lgw span{font-family:"Hanken Grotesk",sans-serif;font-weight:600;font-size:17px;white-space:nowrap;color:#EEE8DC}
@keyframes lgq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.lgw ul{animation:none}}

/* ---------- phones ---------- */
@media (max-width:767px){
  html.m body{padding-bottom:96px}

  /* tap targets */
  #nav-burger{min-height:44px;padding:0 14px}
  footer .fcols a{padding:11px 0}
  footer .fbar a{display:inline-block;padding:12px 4px}

  /* inner pages: margin and wide tables */
  .page-hero{padding-left:20px!important;padding-right:20px!important}
  .prose table,.article-page table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

  /* client wall bricks */
  .logos{padding:56px 0 40px!important}
  .logos .sechead h2{font-size:34px!important;line-height:1.05!important;margin:0!important}
  .logos .sechead{padding:0 20px;margin-bottom:18px}
  .lgw{gap:10px;padding:6px 0 2px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
  .lgw ul{gap:10px;animation-duration:42s}
  .lgw ul.r{margin-left:-72px}
  .lgw li{gap:9px;border-radius:12px;padding:7px 13px 7px 7px}
  .lgw img{width:30px;height:30px;border-radius:7px}
  .lgw span{font-size:13px}

  /* ----- homepage hero: flat, swipeable ----- */
  html.m .stage{position:relative!important;inset:auto!important;height:auto!important;min-height:0;overflow:hidden;padding:76px 0 26px;z-index:2}
  html.m #fx,html.m .scene,html.m .hud,html.m #youbtn,html.m .light,html.m .vignette,html.m #fog,html.m .spine,html.m .ret,html.m .hint-line,html.m .ticker{display:none!important}
  html.m .spacer{display:none!important}
  html.m .hhero{position:relative!important;left:auto!important;right:auto!important;top:auto!important;max-width:none!important;padding:0 20px;z-index:2}
  html.m .hhero .hk{font-size:11px;line-height:1.6}
  html.m .content{background:#070B14}
  html.m .content::before{display:none}
  .mradar{position:absolute;left:50%;top:150px;width:560px;height:560px;margin-left:-280px;border-radius:50%;pointer-events:none;background:repeating-radial-gradient(circle,transparent 0 69px,rgba(105,189,255,.14) 69px 70px);z-index:1}
  .mradar::after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(105,189,255,.3),rgba(105,189,255,0) 22%,transparent);animation:mspin 4.5s linear infinite}
  .mradar i{position:absolute;width:7px;height:7px;border-radius:50%;background:#F2B15A;animation:mblip 4.5s infinite}
  @keyframes mspin{to{transform:rotate(360deg)}}
  @keyframes mblip{0%,100%{opacity:.15}10%{opacity:1}}
  .mdeckwrap{position:relative;z-index:2;margin-top:22px}
  .mdeck{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 45px 18px;scrollbar-width:none}
  .mdeck::-webkit-scrollbar{display:none}
  .mcard{flex:0 0 280px;scroll-snap-align:center;border-radius:18px;padding:18px;border:1px solid rgba(105,189,255,.4);background:linear-gradient(160deg,rgba(20,110,170,.34),rgba(7,11,20,.95));box-shadow:0 20px 50px rgba(62,158,234,.18);transition:transform .3s,opacity .3s;cursor:pointer;color:#EEE8DC;text-align:left;font:inherit}
  .mcard.off{transform:scale(.92);opacity:.5}
  .mcard .scan{display:none}
  .mcard .h{display:flex;justify-content:space-between;gap:8px;font:600 11px Rajdhani,sans-serif;letter-spacing:.16em;color:#7FB4CC}
  .mcard .h span:last-child{color:#F2B15A}
  .mcard .g{margin-top:18px;font:600 11px Rajdhani,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#7FB4CC}
  .mcard .t{font:500 26px/1 Rajdhani,sans-serif;text-transform:uppercase;margin-top:6px;min-height:52px}
  .mcard .rl{margin-top:12px;padding-top:10px;border-top:1px solid rgba(238,232,220,.2);font:600 11px Rajdhani,sans-serif;letter-spacing:.16em;color:#7FB4CC;display:flex;justify-content:space-between}
  .mcard .rl b{color:#EEE8DC}
  .mcard .meta{display:flex;justify-content:space-between;align-items:flex-end;margin-top:10px}
  .mcard .kv{font:600 11px/1.8 Rajdhani,sans-serif;letter-spacing:.14em;color:#B9B2A4}
  .mcard .kv b{color:#EEE8DC;font-weight:600}
  .mcard .spark{width:90px;height:30px;fill:none;stroke:#69BDFF;stroke-width:2}
  .mcard .spark .a{display:none}
  .mpts{display:flex;justify-content:center;gap:6px}
  .mpts span{width:8px;height:4px;border-radius:2px;background:rgba(105,189,255,.4);transition:width .25s,background .25s}
  .mpts span.on{width:22px;background:#69BDFF}
  .mswipe{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px;font:600 11px Rajdhani,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#7FB4CC}
  .marrow{width:44px;height:44px;border-radius:50%;border:1px solid rgba(238,232,220,.2);background:rgba(7,11,20,.6);color:#EEE8DC;display:grid;place-items:center;padding:0}

  /* ----- the chart: drawn top to bottom ----- */
  html.m #chart .sheet2 .sched::before{display:none}
  html.m #schedtab{display:none}
  .morg{margin-top:16px;display:grid;gap:8px}
  .morg .node{position:relative;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid rgba(105,189,255,.4);border-radius:10px;background:rgba(7,11,20,.9);font-size:14px;opacity:.3;transition:opacity .4s;color:#EEE8DC}
  .morg .node.on{opacity:1}
  .morg .node em{font:600 11px Rajdhani,sans-serif;letter-spacing:.14em;text-transform:uppercase;font-style:normal;color:#7FB4CC;white-space:nowrap}
  .morg .node:not(.top)::before{content:"";position:absolute;left:-12px;top:-9px;width:11px;height:31px;border-left:1px solid rgba(105,189,255,.4);border-bottom:1px solid rgba(105,189,255,.4)}
  .morg .node.top{border-color:rgba(238,232,220,.2);color:#B9B2A4}
  .morg .node.hire{border-color:#69BDFF;background:rgba(20,110,170,.3)}.morg .node.hire em{color:#69BDFF}
  .morg .node.srch{border-color:rgba(242,177,90,.6)}.morg .node.srch em{color:#F2B15A}
  .morg .node.fade,.morg .node.open{border-style:dashed}

  /* ----- verified before submission ----- */
  html.m #pts li{opacity:.3;transition:opacity .4s}
  html.m #pts li.on{opacity:1}
  html.m #certified .doss .stamp{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:18px auto 0;display:block}

  /* ----- the firm ----- */
  html.m .founders3 .person{grid-template-columns:84px 1fr!important;padding:18px;gap:14px}
  html.m .founders3 .face{width:84px!important;height:84px!important}

  /* ----- the record ----- */
  html.m .firm .proof{grid-template-columns:1fr 1fr!important}
  html.m .firm .proof > div{border-bottom:1px solid rgba(238,232,220,.2)}
  html.m .firm .proof > div:last-child{grid-column:1/-1}
  html.m .firm .proof a{display:inline-block;padding:10px 0}
  html.m #tl,html.m #tlcap{display:none!important}

  /* ----- floating bar ----- */
  .mbar{position:fixed;left:12px;right:12px;bottom:max(14px,env(safe-area-inset-bottom));height:72px;border-radius:22px;background:rgba(13,21,36,.94);border:1px solid rgba(238,232,220,.2);display:flex;align-items:center;gap:2px;padding:0 6px 0 8px;box-shadow:0 10px 40px rgba(0,0,0,.6);z-index:60;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  .mbar a.ico,.mbar button.ico{width:50px;height:56px;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#B9B2A4;font:600 10px Rajdhani,sans-serif;letter-spacing:.1em;text-transform:uppercase;padding:0;text-decoration:none}
  .mbar .go,.mpill{margin-left:auto;height:54px;padding:0 16px;border:0;border-radius:16px;background:#EEE8DC;color:#02060C;font:700 14px Rajdhani,sans-serif;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
  .mbar .x{width:40px}
  .mpill{position:fixed;right:14px;bottom:max(18px,env(safe-area-inset-bottom));height:48px;border-radius:24px;padding:0 18px;font-size:13px;z-index:60;box-shadow:0 10px 30px rgba(0,0,0,.5)}
  .msheet{position:fixed;inset:0;z-index:70}
  .msheet .bg{position:absolute;inset:0;width:100%;border:0;background:rgba(0,0,0,.6)}
  .msheet .pn{position:absolute;left:0;right:0;bottom:0;background:#0D1524;border-radius:24px 24px 0 0;border-top:1px solid rgba(238,232,220,.2);padding:12px 20px max(26px,env(safe-area-inset-bottom));animation:mup .28s ease-out;color:#EEE8DC}
  @keyframes mup{from{transform:translateY(100%)}}
  .msheet .grab{width:40px;height:5px;border-radius:3px;background:rgba(238,232,220,.2);margin:0 auto 16px}
  .msheet .k{font:600 11px Rajdhani,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#69BDFF}
  .msheet h2{font:500 30px/1 Rajdhani,sans-serif;text-transform:uppercase;margin:6px 0 0}
  .mpick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 12px}
  .mpick button{height:52px;border-radius:12px;border:1px solid rgba(105,189,255,.4);background:#070B14;color:#D9F4FF;font:700 15px Rajdhani,sans-serif;letter-spacing:.1em}
  .mpick button[aria-pressed=true]{background:#69BDFF;color:#02060C;border-color:#69BDFF}
  .msheet .cont{display:flex;align-items:center;justify-content:space-between;width:100%;height:56px;padding:0 20px;border:0;border-radius:14px;background:#69BDFF;color:#02060C;font:700 16px Rajdhani,sans-serif;letter-spacing:.14em;text-transform:uppercase;text-decoration:none}
  .msheet p{color:#8A8476;font-size:12px;margin:10px 0 0}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){
  .mradar::after,.mradar i,.lgw ul{animation:none}
  .mcard,.morg .node,html.m #pts li{transition:none}
}
