/* KOKIO mobile layout v2 - hard geometry reset and purpose-built phone layouts. */
@media (max-width:767px){
  *,*::before,*::after{box-sizing:border-box}
  html{width:100%;max-width:100%;overflow-x:clip!important}
  body.page-id-15,body.page-id-16,body.page-id-17,body.page-id-18{width:100%;max-width:100%;overflow-x:clip!important;margin:0!important}
  body.page-id-15 #brx-content,body.page-id-16 #brx-content,body.page-id-17 #brx-content,body.page-id-18 #brx-content{width:100%!important;max-width:100%!important;overflow:visible!important}
  body.page-id-15 #brx-content>*,body.page-id-16 #brx-content>*,body.page-id-17 #brx-content>*,body.page-id-18 #brx-content>*{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
  body.page-id-15 #brx-content section,body.page-id-16 #brx-content section,body.page-id-17 #brx-content section,body.page-id-18 #brx-content section{padding-left:0!important;padding-right:0!important;overflow:hidden!important}
  body.page-id-15 #brx-content .brxe-container,body.page-id-15 #brx-content .brxe-block,body.page-id-15 #brx-content .brxe-div,
  body.page-id-16 #brx-content .brxe-container,body.page-id-16 #brx-content .brxe-block,body.page-id-16 #brx-content .brxe-div,
  body.page-id-17 #brx-content .brxe-container,body.page-id-17 #brx-content .brxe-block,body.page-id-17 #brx-content .brxe-div,
  body.page-id-18 #brx-content .brxe-container,body.page-id-18 #brx-content .brxe-block,body.page-id-18 #brx-content .brxe-div{min-width:0!important;max-width:100%!important}
  body.page-id-15 #brx-content img,body.page-id-16 #brx-content img,body.page-id-17 #brx-content img,body.page-id-18 #brx-content img,
  body.page-id-15 #brx-content svg,body.page-id-16 #brx-content svg,body.page-id-17 #brx-content svg,body.page-id-18 #brx-content svg,
  body.page-id-15 #brx-content video,body.page-id-16 #brx-content video,body.page-id-17 #brx-content video,body.page-id-18 #brx-content video{max-width:100%!important;height:auto!important}

  /* One mobile content width. Never use 100vw inside content. */
  .kokio-shell,
  body.page-id-15 #brx-content>section>.brxe-container,body.page-id-16 #brx-content>section>.brxe-container,body.page-id-17 #brx-content>section>.brxe-container,body.page-id-18 #brx-content>section>.brxe-container,
  body.page-id-15 .kokio-site-journey-panel>.brxe-container,body.page-id-18 .kokio-site-journey-panel>.brxe-container,
  body.page-id-16 .kokio-horizontal-panel>.brxe-container,body.page-id-17 .kokio-horizontal-panel>.brxe-container,
  body.page-id-18 #brxe-ct1002,body.page-id-18 #brxe-ct2002,body.page-id-18 #brxe-ct3002,body.page-id-18 #brxe-ct4002,body.page-id-18 #brxe-ct5002{
    width:calc(100% - 32px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important
  }

  /* Kill desktop translation geometry on phone. */
  body.page-id-15 .kokio-hero-grid,body.page-id-15 .kokio-capability-row,body.page-id-15 .kokio-section-head,body.page-id-15 .kokio-card-grid,body.page-id-15 .kokio-step-grid,body.page-id-15 .kokio-about-grid,body.page-id-15 .kokio-market-grid,body.page-id-15 .kokio-final-cta-inner,
  body.page-id-16 #brxe-ab1002,body.page-id-16 #brxe-ab2002,body.page-id-16 #brxe-ab3004,body.page-id-16 #brxe-ab4004,
  body.page-id-17 #brxe-sv1002,body.page-id-17 #brxe-sv2004,body.page-id-17 #brxe-sv3002,
  body.page-id-18 #brxe-ct2004,body.page-id-18 #brxe-ct3004{transform:none!important;translate:none!important;left:auto!important;right:auto!important}

  .kokio-journey-word,.kokio-horizontal-panel:after,body.page-id-16 #brxe-ab1001:after,body.page-id-17 #brxe-sv1001:after{display:none!important}

  /* HOME - mobile composition */
  body.page-id-15 .kokio-home-hero{display:block!important;min-height:0!important;padding:46px 0 54px!important;background:radial-gradient(circle at 78% 82%,rgba(236,30,36,.11),transparent 30%),#030507!important}
  body.page-id-15 .kokio-hero-grid{display:flex!important;flex-direction:column!important;gap:30px!important;align-items:stretch!important}
  body.page-id-15 .kokio-hero-copy{width:100%!important;max-width:none!important}
  body.page-id-15 .kokio-eyebrow{font-size:9px!important;letter-spacing:.15em!important;line-height:1.4!important}
  body.page-id-15 .kokio-display{font-size:clamp(42px,11.5vw,56px)!important;line-height:.96!important;letter-spacing:-.052em!important;text-wrap:balance!important;overflow-wrap:normal!important}
  body.page-id-15 .kokio-hero-intro{width:100%!important;max-width:none!important;font-size:15px!important;line-height:1.65!important;margin-top:18px!important}
  body.page-id-15 .kokio-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:9px!important;margin-top:22px!important}
  body.page-id-15 .kokio-actions .kokio-btn{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;justify-content:center!important;min-height:48px!important}
  body.page-id-15 .kokio-signal-row{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:7px!important;margin-top:20px!important}
  body.page-id-15 .kokio-signal{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;padding:9px 8px!important;font-size:7.5px!important;text-align:center!important}
  body.page-id-15 .kokio-signal:last-child{grid-column:1/-1!important}
  body.page-id-15 .kokio-hero-visual{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:280px!important;margin:0!important;overflow:hidden!important;transform:none!important}
  body.page-id-15 .kokio-particle-canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important}
  body.page-id-15 .kokio-particle-frame{inset:8px!important}
  body.page-id-15 .kokio-particle-clock{right:12px!important;top:11px!important;font-size:6px!important}
  body.page-id-15 .kokio-particle-label{left:12px!important;bottom:11px!important;font-size:6px!important}

  body.page-id-15 .kokio-capability-rail{display:block!important;padding:22px 0!important;overflow:hidden!important}
  body.page-id-15 .kokio-capability-row{display:grid!important;grid-template-columns:1fr 1fr!important;width:calc(100% - 32px)!important;max-width:none!important;margin:0 auto!important;gap:7px!important}
  body.page-id-15 .kokio-capability-row>.brxe-text-basic{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:42px!important;padding:8px!important;border:1px solid #2a2327!important;background:#080709!important;font-size:8px!important;line-height:1.25!important;text-align:center!important;letter-spacing:.09em!important;transform:none!important}

  body.page-id-15 .kokio-services-section,body.page-id-15 .kokio-process-section,body.page-id-15 .kokio-about-section,body.page-id-15 .kokio-final-cta{padding:58px 0!important}
  body.page-id-15 .kokio-section-head,body.page-id-15 .kokio-about-grid{display:flex!important;flex-direction:column!important;gap:18px!important;width:100%!important}
  body.page-id-15 .kokio-section-title{font-size:clamp(34px,9.6vw,46px)!important;line-height:1!important;letter-spacing:-.045em!important}
  body.page-id-15 .kokio-section-sidecopy,body.page-id-15 .kokio-about-text{width:100%!important;max-width:none!important;font-size:14px!important;line-height:1.68!important}
  body.page-id-15 .kokio-card-grid,body.page-id-15 .kokio-step-grid{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important}
  body.page-id-15 .kokio-service-card,body.page-id-15 .kokio-step{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;min-height:0!important;padding:24px 20px!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
  body.page-id-15 .kokio-card-title,body.page-id-15 .kokio-step-title{font-size:23px!important;line-height:1.08!important;margin:22px 0 9px!important}
  body.page-id-15 .kokio-card-copy,body.page-id-15 .kokio-step-copy{font-size:13.5px!important;line-height:1.65!important}
  body.page-id-15 .kokio-market-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;width:100%!important}
  body.page-id-15 .kokio-market-pill{width:100%!important;text-align:center!important}
  body.page-id-15 .kokio-final-cta-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;width:calc(100% - 32px)!important;max-width:none!important}
  body.page-id-15 .kokio-cta-title{font-size:clamp(38px,10.5vw,52px)!important;line-height:.97!important;letter-spacing:-.05em!important}
  body.page-id-15 .kokio-cta-copy{font-size:14px!important;line-height:1.65!important}
  body.page-id-15 .kokio-final-cta .kokio-btn{display:flex!important;width:100%!important;max-width:none!important;justify-content:center!important}

  /* ABOUT - dedicated phone layout */
  body.page-id-16 #brx-content>section{padding:58px 0!important}
  body.page-id-16 #brxe-ab1001{padding-top:46px!important}
  body.page-id-16 #brxe-ab1002{display:flex!important;flex-direction:column!important;gap:18px!important;width:calc(100% - 32px)!important;max-width:none!important}
  body.page-id-16 #brxe-ab1002>*{width:100%!important;max-width:100%!important;min-width:0!important}
  body.page-id-16 #brxe-ab1004{font-size:clamp(40px,11vw,54px)!important;line-height:.97!important;letter-spacing:-.05em!important}
  body.page-id-16 #brxe-ab1005{font-size:15px!important;line-height:1.65!important}
  body.page-id-16 .kokio-about-network{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;aspect-ratio:auto!important;min-height:0!important;padding:14px!important;gap:7px!important;margin:8px 0 0!important;transform:none!important;overflow:hidden!important}
  body.page-id-16 .kokio-about-network style,body.page-id-16 .kokio-about-network:before,body.page-id-16 .kokio-about-network:after,body.page-id-16 .kokio-about-network-line{display:none!important}
  body.page-id-16 .kokio-about-network-core{position:relative!important;inset:auto!important;grid-column:1/-1!important;width:100%!important;height:76px!important;min-width:0!important;transform:none!important;border-radius:0!important;margin:0!important}
  body.page-id-16 .kokio-about-network .kokio-about-node[data-kokio-node],body.page-id-16 .kokio-about-network .kokio-about-node[data-kokio-node="0"],body.page-id-16 .kokio-about-network .kokio-about-node[data-kokio-node="1"],body.page-id-16 .kokio-about-network .kokio-about-node[data-kokio-node="2"],body.page-id-16 .kokio-about-network .kokio-about-node[data-kokio-node="3"],body.page-id-16 .kokio-about-network .kokio-about-node[data-kokio-node="4"]{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:44px!important;transform:none!important;padding:0 7px!important;font-size:7.5px!important}
  body.page-id-16 .kokio-about-network .kokio-about-node:hover,body.page-id-16 .kokio-about-network .kokio-about-node.is-active{transform:none!important}
  body.page-id-16 #brxe-ab2002{display:flex!important;flex-direction:column!important;gap:24px!important;width:calc(100% - 32px)!important}
  body.page-id-16 #brxe-ab2003{position:static!important;top:auto!important;width:100%!important}
  body.page-id-16 #brxe-ab2004{width:100%!important;padding:0!important;border-left:0!important;gap:14px!important}
  body.page-id-16 #brxe-ab3004,body.page-id-16 #brxe-ab4004{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:9px!important;padding-top:0!important}
  body.page-id-16 #brxe-ab3101,body.page-id-16 #brxe-ab3201,body.page-id-16 #brxe-ab4101,body.page-id-16 #brxe-ab4201,body.page-id-16 #brxe-ab4301,body.page-id-16 #brxe-ab4401{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:23px 20px!important;transform:none!important;opacity:1!important}
  body.page-id-16 #brxe-ab4004:before,body.page-id-16 #brxe-ab4004:after{display:none!important}

  /* SERVICES - dedicated phone layout */
  body.page-id-17 #brx-content>section{padding:58px 0!important}
  body.page-id-17 #brxe-sv1001{padding-top:46px!important}
  body.page-id-17 #brxe-sv1002{display:flex!important;flex-direction:column!important;gap:18px!important;width:calc(100% - 32px)!important;max-width:none!important}
  body.page-id-17 #brxe-sv1002>*{width:100%!important;max-width:100%!important;min-width:0!important}
  body.page-id-17 #brxe-sv1004{font-size:clamp(40px,11vw,54px)!important;line-height:.97!important;letter-spacing:-.05em!important}
  body.page-id-17 #brxe-sv1005{font-size:15px!important;line-height:1.65!important}
  body.page-id-17 .kokio-services-console{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:14px!important;gap:7px!important;margin:8px 0 0!important;transform:none!important;overflow:hidden!important}
  body.page-id-17 .kokio-services-console:before,body.page-id-17 .kokio-services-console-line,body.page-id-17 .kokio-services-console-pulse{display:none!important}
  body.page-id-17 .kokio-services-console:after{position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:auto!important;margin-bottom:3px!important}
  body.page-id-17 .kokio-services-console-core{position:relative!important;inset:auto!important;grid-column:1/-1!important;width:100%!important;height:78px!important;transform:none!important;border-radius:0!important;margin:0!important}
  body.page-id-17 .kokio-services-console-node,body.page-id-17 .kokio-services-console-node[data-index="0"],body.page-id-17 .kokio-services-console-node[data-index="1"],body.page-id-17 .kokio-services-console-node[data-index="2"],body.page-id-17 .kokio-services-console-node[data-index="3"],body.page-id-17 .kokio-services-console-node[data-index="4"],body.page-id-17 .kokio-services-console-node[data-index="5"]{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;padding:8px!important;transform:none!important;font-size:7px!important;white-space:normal!important}
  body.page-id-17 .kokio-services-console-node:hover,body.page-id-17 .kokio-services-console-node.is-active{transform:none!important}
  body.page-id-17 .kokio-services-toolbar{width:100%!important;max-width:100%!important;margin:0!important;padding:7px!important;overflow-x:auto!important;overscroll-behavior-x:contain;display:flex!important;flex-wrap:nowrap!important;gap:5px!important}
  body.page-id-17 .kokio-services-filter{flex:0 0 auto!important;min-height:38px!important;padding:0 10px!important;font-size:7px!important}
  body.page-id-17 #brxe-sv2004{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:9px!important}
  body.page-id-17 #brxe-sv2004>.kokio-card{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:23px 20px!important;transform:none!important;opacity:1!important}
  body.page-id-17 #brxe-sv2004>.kokio-card .brxe-heading{margin:24px 0 10px!important;font-size:24px!important}
  body.page-id-17 #brxe-sv2004>.kokio-card .brxe-text-basic{font-size:13.5px!important;line-height:1.65!important}
  body.page-id-17 #brxe-sv3002{display:flex!important;flex-direction:column!important;gap:22px!important;width:calc(100% - 32px)!important}
  body.page-id-17 #brxe-sv3003,body.page-id-17 #brxe-sv3004{width:100%!important;grid-column:auto!important;grid-row:auto!important}
  body.page-id-17 .kokio-services-flow{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:14px!important;margin:0!important;overflow:hidden!important}
  body.page-id-17 .kokio-services-flow:before{opacity:.35!important}
  body.page-id-17 .kokio-services-flow-track,body.page-id-17 .kokio-services-flow-fill{display:none!important}
  body.page-id-17 .kokio-services-flow-node,body.page-id-17 .kokio-services-flow-node:nth-child(3),body.page-id-17 .kokio-services-flow-node:nth-child(4),body.page-id-17 .kokio-services-flow-node:nth-child(5),body.page-id-17 .kokio-services-flow-node:nth-child(6){position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;min-height:74px!important;transform:none!important;justify-content:center!important;gap:8px!important;padding:10px 6px!important;border:1px solid #2a2327!important;background:#080709!important;font-size:7px!important}
  body.page-id-17 .kokio-services-flow-node:before{width:28px!important;height:28px!important;transform:rotate(45deg)!important}
  body.page-id-17 .kokio-services-flow-caption{position:relative!important;inset:auto!important;grid-column:1/-1!important;width:100%!important;padding:9px 3px 2px!important;font-size:6.5px!important;line-height:1.45!important}
  body.page-id-17 #brxe-sv3007,body.page-id-17 #brxe-sv4005{display:flex!important;width:100%!important;max-width:none!important;justify-content:center!important}

  /* CONTACT - true single column */
  body.page-id-18 #brx-content>section{padding:58px 0!important}
  body.page-id-18 #brxe-ct1001{padding-top:46px!important}
  body.page-id-18 #brxe-ct1004{font-size:clamp(40px,11vw,54px)!important;line-height:.98!important}
  body.page-id-18 #brxe-ct1005{font-size:15px!important;line-height:1.65!important}
  body.page-id-18 #brxe-ct2004,body.page-id-18 #brxe-ct3004{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:9px!important}
  body.page-id-18 #brxe-ct2101,body.page-id-18 #brxe-ct2201,body.page-id-18 #brxe-ct3101,body.page-id-18 #brxe-ct3201,body.page-id-18 #brxe-ct3301{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:23px 20px!important;border-radius:0!important}
  body.page-id-18 #brxe-ct2104,body.page-id-18 #brxe-ct2204,body.page-id-18 #brxe-ct4005{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;justify-content:center!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important}
  body.page-id-18 #brxe-ct4002{align-items:stretch!important;text-align:left!important}
  body.page-id-18 #brxe-ct4003,body.page-id-18 #brxe-ct4004{text-align:left!important}

  /* Footer safety */
  .kokio-site-footer{width:100%!important;max-width:100%!important;overflow:hidden!important}
  .kokio-footer-shell{width:calc(100% - 32px)!important;max-width:none!important;margin:0 auto!important}
  .kokio-footer-cta,.kokio-footer-grid,.kokio-footer-bottom{width:100%!important;max-width:100%!important;min-width:0!important}
  .kokio-footer-grid>*{width:100%!important;max-width:100%!important;min-width:0!important}
}

@media (max-width:380px){
  body.page-id-15 .kokio-display,body.page-id-16 #brxe-ab1004,body.page-id-17 #brxe-sv1004,body.page-id-18 #brxe-ct1004{font-size:40px!important}
  body.page-id-16 .kokio-about-network,body.page-id-17 .kokio-services-console,body.page-id-17 .kokio-services-flow{grid-template-columns:1fr!important}
  body.page-id-15 .kokio-signal-row,body.page-id-15 .kokio-capability-row{grid-template-columns:1fr!important}
}