/* KOKIO mobile flush - shared responsive source of truth for Home, About, Services and Contact. */
@media(max-width:767px){
  :root{--km-gutter:18px;--km-red:#EC1E24;--km-red-hot:#FF4A4F;--km-red-deep:#8F1117;--km-cream:#FFF4CB;--km-bg:#030507;--km-panel:#0c0b0e;--km-line:#2a2327;--km-muted:#9b9295}
  html,body{max-width:100%;overflow-x:hidden!important}
  body.page-id-15,body.page-id-16,body.page-id-17,body.page-id-18{background:var(--km-bg)!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{overflow:hidden!important;background:var(--km-bg)!important}

  /* Shared mobile header */
  .kokio-site-header{height:72px!important;background:rgba(3,5,7,.95)!important;border-bottom:1px solid rgba(255,255,255,.07)!important;backdrop-filter:blur(18px) saturate(130%)}
  .kokio-site-header.is-scrolled{height:72px!important;background:rgba(3,5,7,.985)!important;box-shadow:0 12px 28px rgba(0,0,0,.22)!important}
  .kokio-header-shell,.kokio-site-header.is-scrolled .kokio-header-shell{position:relative!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;width:calc(100vw - (var(--km-gutter) * 2))!important;max-width:none!important;min-height:72px!important;height:72px!important;margin:0 auto!important;padding:0!important;gap:12px!important}
  .kokio-header-logo{grid-column:1!important;grid-row:1!important;width:154px!important;max-width:154px!important;justify-self:start!important;z-index:3}
  .kokio-header-logo img{display:block!important;width:100%!important;height:auto!important}
  .kokio-mobile-menu-toggle{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #2d2427;background:#080709;color:#fff;cursor:pointer;z-index:4;transition:border-color .22s ease,background .22s ease}
  .kokio-mobile-menu-toggle span{display:block;width:18px;height:2px;margin:2.5px 0;background:#f5eded;transform-origin:center;transition:transform .28s cubic-bezier(.2,.72,.22,1),opacity .2s ease,width .2s ease}
  .kokio-mobile-menu-toggle:hover{border-color:rgba(236,30,36,.62);background:#10090b}
  .kokio-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .kokio-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;width:0}
  .kokio-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .kokio-header-nav{position:absolute!important;left:calc(var(--km-gutter) * -1)!important;right:calc(var(--km-gutter) * -1)!important;top:72px!important;z-index:2!important;grid-column:1/-1!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;width:auto!important;max-height:0!important;padding:0 var(--km-gutter)!important;overflow:hidden!important;background:rgba(3,5,7,.985)!important;border-top:1px solid rgba(255,255,255,.055)!important;border-bottom:1px solid rgba(236,30,36,0)!important;box-shadow:0 24px 44px rgba(0,0,0,0)!important;opacity:0!important;pointer-events:none!important;transform:translateY(-8px);transition:max-height .42s cubic-bezier(.2,.72,.22,1),padding .32s ease,opacity .24s ease,transform .32s cubic-bezier(.2,.72,.22,1),border-color .3s ease,box-shadow .3s ease!important}
  .kokio-header-nav.is-open{max-height:360px!important;padding:8px var(--km-gutter) 14px!important;opacity:1!important;pointer-events:auto!important;transform:translateY(0);border-bottom-color:rgba(236,30,36,.24)!important;box-shadow:0 24px 44px rgba(0,0,0,.36)!important}
  .kokio-header-link{width:100%!important;margin:0!important;border-bottom:1px solid rgba(255,255,255,.055)}
  .kokio-header-link:last-child{border-bottom:0}
  .kokio-header-link a{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:54px!important;width:100%!important;padding:0 2px!important;color:#bdb5b7!important;font-size:12px!important;font-weight:850!important;letter-spacing:.11em!important;text-transform:uppercase!important}
  .kokio-header-link a:before{content:"";width:7px;height:7px;border:1px solid #4b3438;border-radius:50%;background:#090708;transition:background .2s,border-color .2s,box-shadow .2s}
  .kokio-header-link a:after{display:none!important}
  .kokio-header-link.is-active a,.kokio-header-link a:hover{color:#fff!important}
  .kokio-header-link.is-active a:before{background:var(--km-red-hot);border-color:var(--km-cream);box-shadow:0 0 0 4px rgba(236,30,36,.08),0 0 14px rgba(236,30,36,.42)}
  .kokio-nav-tracker,.kokio-page-progress{display:none!important}
  .kokio-header-spacer{height:72px!important}

  /* Shared mobile section rhythm */
  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,
  body.page-id-15 .kokio-site-journey-panel,body.page-id-18 .kokio-site-journey-panel,
  body.page-id-16 .kokio-horizontal-panel,body.page-id-17 .kokio-horizontal-panel{padding:64px 0!important;min-height:auto!important;height:auto!important;overflow:hidden!important}
  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,
  .kokio-shell{width:calc(100vw - (var(--km-gutter) * 2))!important;max-width:none!important;margin-inline:auto!important}
  body.page-id-15 #brx-content .brxe-heading,body.page-id-16 #brx-content .brxe-heading,body.page-id-17 #brx-content .brxe-heading,body.page-id-18 #brx-content .brxe-heading{max-width:100%!important;overflow-wrap:anywhere}
  body.page-id-16 #brx-content h1,body.page-id-17 #brx-content h1,body.page-id-18 #brx-content h1{font-size:clamp(44px,13vw,62px)!important;line-height:.96!important;letter-spacing:-.055em!important}
  body.page-id-16 #brx-content h2,body.page-id-17 #brx-content h2,body.page-id-18 #brx-content h2{font-size:clamp(36px,10vw,50px)!important;line-height:1!important;letter-spacing:-.045em!important}
  body.page-id-16 #brx-content h3,body.page-id-17 #brx-content h3,body.page-id-18 #brx-content h3{line-height:1.08!important}
  body.page-id-16 #brx-content .brxe-text-basic,body.page-id-17 #brx-content .brxe-text-basic,body.page-id-18 #brx-content .brxe-text-basic{font-size:min(4.2vw,16px)!important;line-height:1.68!important}
  body.page-id-16 #brx-content .brxe-button,body.page-id-17 #brx-content .brxe-button,body.page-id-18 #brx-content .brxe-button,.kokio-btn{min-height:46px!important;width:auto!important;max-width:100%!important;padding:0 18px!important;font-size:12px!important;line-height:1.2!important}

  /* Home */
  body.page-id-15 .kokio-home-hero{padding:54px 0 60px!important;min-height:auto!important}
  body.page-id-15 .kokio-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:38px!important}
  body.page-id-15 .kokio-hero-copy{max-width:none!important}
  body.page-id-15 .kokio-display{font-size:clamp(46px,12.5vw,62px)!important;line-height:.94!important;letter-spacing:-.055em!important}
  body.page-id-15 .kokio-hero-intro{font-size:16px!important;line-height:1.68!important}
  body.page-id-15 .kokio-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:26px!important}
  body.page-id-15 .kokio-actions .kokio-btn{width:100%!important;justify-content:center!important;min-height:50px!important}
  body.page-id-15 .kokio-hero-visual{min-height:360px!important;width:100%!important}
  body.page-id-15 .kokio-particle-frame{inset:10px!important}
  body.page-id-15 .kokio-particle-label{left:15px!important;bottom:14px!important;font-size:7px!important;letter-spacing:.12em!important}
  body.page-id-15 .kokio-particle-clock{right:15px!important;top:14px!important;font-size:7px!important}
  body.page-id-15 .kokio-section-head,body.page-id-15 .kokio-about-grid{display:grid!important;grid-template-columns:1fr!important;gap:22px!important}
  body.page-id-15 .kokio-section-title{font-size:clamp(36px,10vw,50px)!important;line-height:1!important}
  body.page-id-15 .kokio-section-sidecopy,body.page-id-15 .kokio-about-text{font-size:15px!important;line-height:1.7!important}
  body.page-id-15 .kokio-card-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  body.page-id-15 .kokio-service-card{min-height:0!important;padding:26px 23px!important}
  body.page-id-15 .kokio-card-title{font-size:24px!important;margin:24px 0 10px!important}
  body.page-id-15 .kokio-card-copy{font-size:14px!important;line-height:1.7!important}
  body.page-id-15 .kokio-step-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;min-height:auto!important}
  body.page-id-15 .kokio-step-grid>.kokio-step{position:relative!important;inset:auto!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;min-height:0!important;padding:25px 22px!important;transform:none!important}
  body.page-id-15 .kokio-about-grid{align-items:start!important}
  body.page-id-15 .kokio-market-grid{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  body.page-id-15 .kokio-market-pill{font-size:8px!important;padding:9px 10px!important}
  body.page-id-15 .kokio-final-cta{padding:70px 0!important}
  body.page-id-15 .kokio-final-cta-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:18px!important}
  body.page-id-15 .kokio-cta-title{font-size:clamp(42px,12vw,58px)!important;line-height:.96!important}
  body.page-id-15 .kokio-cta-copy{font-size:15px!important;line-height:1.65!important}
  body.page-id-15 .kokio-final-cta .kokio-btn{width:100%!important;max-width:none!important}

  /* About */
  body.page-id-16 #brxe-ab1002{display:grid!important;grid-template-columns:1fr!important;gap:24px!important}
  body.page-id-16 #brxe-ab1002>#brxe-ab1003,body.page-id-16 #brxe-ab1002>#brxe-ab1004,body.page-id-16 #brxe-ab1002>#brxe-ab1005,body.page-id-16 #brxe-ab1002>#brxe-ab1006,body.page-id-16 #brxe-ab1002>#brxe-ab1007{grid-column:1!important}
  body.page-id-16 .kokio-about-signal-row{gap:7px!important}
  body.page-id-16 .kokio-about-signal{font-size:7px!important;padding:8px 9px!important}
  body.page-id-16 .kokio-about-network{grid-column:1!important;grid-row:auto!important;width:100%!important;min-height:auto!important;aspect-ratio:auto!important;padding:18px!important;margin:8px 0 0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;border-color:var(--km-line)!important;transform:none!important}
  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;left:auto!important;top:auto!important;grid-column:1/-1!important;width:100%!important;height:84px!important;transform:none!important;border-radius:0!important;margin:0!important;font-size:18px!important}
  body.page-id-16 .kokio-about-network-core:before{top:auto!important;bottom:12px!important;font-size:7px!important}
  body.page-id-16 .kokio-about-node[data-kokio-node]{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;min-width:0!important;height:46px!important;transform:none!important;font-size:8px!important;padding:0 8px!important}
  body.page-id-16 .kokio-about-node[data-kokio-node]:hover,body.page-id-16 .kokio-about-node[data-kokio-node].is-active{transform:none!important}
  body.page-id-16 #brxe-ab2002{display:grid!important;grid-template-columns:1fr!important;gap:28px!important}
  body.page-id-16 #brxe-ab2003{position:static!important;width:100%!important}
  body.page-id-16 #brxe-ab2004{width:100%!important;padding-left:0!important;border-left:0!important;gap:16px!important}
  body.page-id-16 #brxe-ab3004,body.page-id-16 #brxe-ab3004.is-sa-active,body.page-id-16 #brxe-ab3004.is-uk-active{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.page-id-16 #brxe-ab3101,body.page-id-16 #brxe-ab3201{width:100%!important;min-height:0!important;padding:26px 22px!important;opacity:1!important;transform:none!important}
  body.page-id-16 #brxe-ab4004{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding-top:0!important}
  body.page-id-16 #brxe-ab4004:before,body.page-id-16 #brxe-ab4004:after{display:none!important}
  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;min-height:0!important;padding:25px 22px!important;opacity:1!important;transform:none!important}
  body.page-id-16 #brxe-ab5002{align-items:stretch!important;text-align:left!important}
  body.page-id-16 #brxe-ab5003,body.page-id-16 #brxe-ab5004{text-align:left!important}
  body.page-id-16 #brxe-ab5005{width:100%!important;justify-content:center!important}

  /* Services */
  body.page-id-17 #brxe-sv1002{display:grid!important;grid-template-columns:1fr!important;gap:26px!important}
  body.page-id-17 #brxe-sv1002>#brxe-sv1003,body.page-id-17 #brxe-sv1002>#brxe-sv1004,body.page-id-17 #brxe-sv1002>#brxe-sv1005{grid-column:1!important}
  body.page-id-17 .kokio-services-console{grid-column:1!important;grid-row:auto!important;width:100%!important;min-height:auto!important;padding:18px!important;margin:8px 0 0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;border-color:var(--km-line)!important;transform:none!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;right:auto!important;top:auto!important;grid-column:1/-1!important;grid-row:1!important;margin:0 0 4px!important;font-size:7px!important}
  body.page-id-17 .kokio-services-console-core{position:relative!important;left:auto!important;top:auto!important;grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:90px!important;transform:none!important;border-radius:0!important;margin:0!important;font-size:18px!important}
  body.page-id-17 .kokio-services-console-node{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;min-width:0!important;min-height:48px!important;padding:9px 10px!important;transform:none!important;font-size:7.5px!important;line-height:1.3!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{display:flex!important;width:calc(100vw - (var(--km-gutter) * 2))!important;max-width:none!important;margin-left:0!important;padding:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:6px!important;scrollbar-width:none}
  body.page-id-17 .kokio-services-toolbar::-webkit-scrollbar{display:none}
  body.page-id-17 .kokio-services-filter{flex:0 0 auto!important;min-height:40px!important;padding:0 12px!important;font-size:7.5px!important}
  body.page-id-17 #brxe-sv2004{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.page-id-17 #brxe-sv2004>.kokio-card{width:100%!important;min-height:0!important;padding:26px 22px!important;transform:none!important;opacity:1!important}
  body.page-id-17 #brxe-sv2004>.kokio-card .brxe-heading{margin:26px 0 12px!important;font-size:25px!important}
  body.page-id-17 #brxe-sv2004>.kokio-card .brxe-text-basic{font-size:14px!important;line-height:1.7!important}
  body.page-id-17 #brxe-sv2004.is-filtering>.kokio-card:not(.is-active){opacity:1!important;transform:none!important}
  body.page-id-17 #brxe-sv3002{display:grid!important;grid-template-columns:1fr!important;gap:28px!important}
  body.page-id-17 #brxe-sv3003,body.page-id-17 #brxe-sv3004{grid-column:1!important;grid-row:auto!important;width:100%!important}
  body.page-id-17 .kokio-services-flow{grid-column:1!important;grid-row:auto!important;width:100%!important;min-height:320px!important;margin-top:4px!important}
  body.page-id-17 .kokio-services-flow-track{left:12%!important;right:12%!important}
  body.page-id-17 .kokio-services-flow-fill{left:12%!important;width:76%!important}
  body.page-id-17 .kokio-services-flow-node:before{width:38px!important;height:38px!important}
  body.page-id-17 .kokio-services-flow-caption{left:8%!important;right:8%!important;bottom:20px!important;font-size:6.5px!important;line-height:1.5!important}
  body.page-id-17 #brxe-sv3007,body.page-id-17 #brxe-sv4005{width:100%!important;justify-content:center!important}
  body.page-id-17 #brxe-sv4002{align-items:stretch!important;text-align:left!important}
  body.page-id-17 #brxe-sv4003,body.page-id-17 #brxe-sv4004{text-align:left!important}

  /* Contact */
  body.page-id-18 #brx-content>section{padding:64px 0!important}
  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(100vw - (var(--km-gutter) * 2))!important;max-width:none!important;margin-inline:auto!important}
  body.page-id-18 #brxe-ct2004{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.page-id-18 #brxe-ct2101,body.page-id-18 #brxe-ct2201{width:100%!important;min-height:0!important;padding:26px 22px!important;border-radius:0!important}
  body.page-id-18 #brxe-ct2104,body.page-id-18 #brxe-ct2204{width:100%!important;justify-content:center!important;overflow-wrap:anywhere}
  body.page-id-18 #brxe-ct3004{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.page-id-18 #brxe-ct3101,body.page-id-18 #brxe-ct3201,body.page-id-18 #brxe-ct3301{width:100%!important;min-height:0!important;padding:25px 22px!important;border-radius:0!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}
  body.page-id-18 #brxe-ct4005{width:100%!important;justify-content:center!important}
  body.page-id-18 #brxe-ct5003{font-size:12px!important;line-height:1.65!important}

  /* Shared footer */
  .kokio-footer-shell{width:calc(100vw - (var(--km-gutter) * 2))!important;max-width:none!important;padding:58px 0 26px!important}
  .kokio-footer-cta{display:grid!important;grid-template-columns:1fr!important;gap:24px!important;padding-bottom:38px!important}
  .kokio-footer-big{font-size:clamp(36px,10vw,50px)!important;line-height:.98!important}
  .kokio-footer-cta-copy{font-size:14px!important;line-height:1.7!important;margin-bottom:18px!important}
  .kokio-footer-button,.kokio-footer-button-clean{display:flex!important;width:100%!important;max-width:none!important;min-height:48px!important;justify-content:center!important}
  .kokio-footer-grid{display:grid!important;grid-template-columns:1fr!important;gap:30px!important;padding:38px 0 34px!important}
  .kokio-footer-brand-logo{width:164px!important}
  .kokio-footer-brand-copy{max-width:none!important;margin-top:18px!important;font-size:13px!important}
  .kokio-footer-col-title{margin-bottom:12px!important}
  .kokio-footer-col-copy{font-size:13px!important;line-height:1.9!important}
  .kokio-footer-bottom{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;padding-top:20px!important}
  .kokio-footer-status{font-size:8px!important;letter-spacing:.1em!important}
  .kokio-site-footer:after{font-size:42vw!important;bottom:-.08em!important}

  /* Keep mobile motion light and geometry stable. */
  .kokio-horizontal-chrome,.kokio-journey-progress,.kokio-journey-topline,.kokio-journey-word,.kokio-horizontal-panel:after,.kokio-timeline-rail,.kokio-scroll-rail{display:none!important}
  body.page-id-16 .kokio-card,body.page-id-16 .kokio-step,body.page-id-17 .kokio-card,body.page-id-17 .kokio-step,body.page-id-18 .kokio-card,body.page-id-18 .kokio-step{transform:none!important}
}

@media(min-width:768px){.kokio-mobile-menu-toggle{display:none!important}}

@media(max-width:390px){
  @media(max-width:767px){
    :root{--km-gutter:16px}
    .kokio-header-logo{width:142px!important;max-width:142px!important}
    body.page-id-15 .kokio-display,body.page-id-16 #brx-content h1,body.page-id-17 #brx-content h1,body.page-id-18 #brx-content h1{font-size:clamp(42px,12vw,54px)!important}
    body.page-id-16 .kokio-about-network,body.page-id-17 .kokio-services-console{padding:14px!important;gap:7px!important}
  }
}

@media(prefers-reduced-motion:reduce){
  .kokio-mobile-menu-toggle span,.kokio-header-nav{transition:none!important}
}
