/* CR8RLABS MOBILE CONTENT MODE
   Mobile-only presentation layer. Desktop is intentionally untouched. */
.mobile-content-mode{display:none}

@media (max-width:767px){
  .home-v08 .mobile-content-mode{display:block}
  .home-v08 .desktop-3d-mode{display:none!important}

  .home-v08 .mobile-content-mode{position:relative}
  .home-v08 .mobile-panel{position:relative;border:1px solid rgba(255,255,255,.11);background:linear-gradient(145deg,rgba(8,14,28,.96),rgba(3,6,14,.98));box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden}
  .home-v08 .mobile-panel:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(25,217,255,.055),transparent 34%,rgba(240,34,185,.045) 78%,transparent);pointer-events:none}
  .home-v08 .mobile-kicker{font-size:.56rem;letter-spacing:.19em;text-transform:uppercase;color:#74829b;font-weight:700}
  .home-v08 .mobile-label{font-size:.49rem;letter-spacing:.18em;text-transform:uppercase;color:#65738b}
  .home-v08 .mobile-body{font-size:.88rem;line-height:1.7;color:#9aa6bb}
  .home-v08 .mobile-accent{color:#e9effa}
  .home-v08 .mobile-gradient{background:linear-gradient(100deg,var(--cyan),#6a83ff 38%,var(--pink) 72%,var(--orange));-webkit-background-clip:text;background-clip:text;color:transparent}

  /* Hero replacement: editorial system card, no drawn 3D engine. */
  .home-v08 .mobile-hero-visual{margin-top:42px;padding:20px;border-radius:24px;min-height:320px}
  .home-v08 .mobile-hero-visual .mobile-panel-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,#000,transparent 92%);pointer-events:none}
  .home-v08 .mobile-system-top,.home-v08 .mobile-system-bottom{position:relative;display:flex;justify-content:space-between;gap:12px;font-size:.48rem;letter-spacing:.16em;color:#68758c;text-transform:uppercase}
  .home-v08 .mobile-hero-core{position:relative;margin:35px auto 28px;max-width:270px;padding:27px 24px;border:1px solid rgba(25,217,255,.25);border-radius:20px;background:rgba(5,12,26,.82);text-align:center;box-shadow:0 0 55px rgba(25,95,255,.12),inset 0 0 40px rgba(240,34,185,.045)}
  .home-v08 .mobile-hero-core strong{display:block;font-size:1.7rem;line-height:1;letter-spacing:-.055em;margin:9px 0}
  .home-v08 .mobile-hero-core p{margin:0;color:#8997ad;font-size:.68rem;line-height:1.5}
  .home-v08 .mobile-hero-core i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2ff2ce;box-shadow:0 0 18px #2ff2ce;margin-right:7px}
  .home-v08 .mobile-hero-steps{position:relative;display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
  .home-v08 .mobile-hero-step{padding:12px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025);border-radius:13px}
  .home-v08 .mobile-hero-step b{display:block;font-size:.52rem;letter-spacing:.14em;color:#dfe6f2}
  .home-v08 .mobile-hero-step span{display:block;margin-top:3px;color:#67758e;font-size:.46rem;letter-spacing:.12em;text-transform:uppercase}

  /* Idea: turn the loop into a readable process timeline. */
  .home-v08 .mobile-process{margin-top:58px;display:grid;gap:0}
  .home-v08 .mobile-process-item{position:relative;padding:0 0 27px 55px;border-left:1px solid rgba(255,255,255,.13)}
  .home-v08 .mobile-process-item:last-child{padding-bottom:0;border-left-color:transparent}
  .home-v08 .mobile-process-item:before{content:"";position:absolute;left:-6px;top:0;width:11px;height:11px;border-radius:50%;background:#07101f;border:1px solid rgba(25,217,255,.55);box-shadow:0 0 18px rgba(25,217,255,.18)}
  .home-v08 .mobile-process-item:nth-child(2):before{border-color:var(--blue)}
  .home-v08 .mobile-process-item:nth-child(3):before{border-color:var(--pink)}
  .home-v08 .mobile-process-item:nth-child(4):before{border-color:var(--orange)}
  .home-v08 .mobile-process-item b{font-size:.5rem;letter-spacing:.18em;color:#68768f}
  .home-v08 .mobile-process-item strong{display:block;margin-top:7px;font-size:1rem;letter-spacing:.08em}
  .home-v08 .mobile-process-item p{margin:7px 0 0;color:#8592a8;font-size:.76rem;line-height:1.55}

  /* Capabilities: six content cards replace the 3D field. */
  .home-v08 .mobile-capabilities{margin-top:44px;display:grid;gap:12px}
  .home-v08 .mobile-cap-card{padding:21px 19px 20px;border-radius:18px}
  .home-v08 .mobile-cap-card .mobile-cap-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .home-v08 .mobile-cap-card .mobile-number{font-size:.48rem;letter-spacing:.18em;color:#68768e}
  .home-v08 .mobile-cap-card .mobile-arrow{font-size:.8rem;color:#aeb9cc}
  .home-v08 .mobile-cap-card strong{display:block;margin:18px 0 9px;font-size:1.22rem;line-height:1.05;letter-spacing:-.035em}
  .home-v08 .mobile-cap-card p{margin:0;color:#8996ab;font-size:.75rem;line-height:1.6}
  .home-v08 .mobile-cap-card ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:5px}
  .home-v08 .mobile-cap-card li{font-size:.59rem;letter-spacing:.08em;color:#6f7d95}
  .home-v08 .mobile-cap-card li:before{content:"—";margin-right:7px;color:#25d9ff}

  /* Operating model: content-first explanatory cards. */
  .home-v08 .mobile-model{margin-top:45px;display:grid;gap:12px}
  .home-v08 .mobile-model-intro{padding:22px 20px;border-radius:18px}
  .home-v08 .mobile-model-intro strong{display:block;font-size:1.25rem;line-height:1.1;margin:10px 0}
  .home-v08 .mobile-model-intro p{margin:0;color:#8b98ad;font-size:.77rem;line-height:1.65}
  .home-v08 .mobile-principle{padding:19px;border-radius:17px;display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start}
  .home-v08 .mobile-principle b{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);font-size:.49rem;color:#cbd4e3}
  .home-v08 .mobile-principle strong{font-size:.86rem;letter-spacing:.1em}
  .home-v08 .mobile-principle p{margin:5px 0 0;color:#7f8ca2;font-size:.72rem;line-height:1.55}

  /* Work: replace the spatial model with a product case-study card. */
  .home-v08 .mobile-work-feature{padding:23px 20px 22px;border-radius:22px;margin-top:40px}
  .home-v08 .mobile-work-meta{display:flex;justify-content:space-between;gap:12px;font-size:.48rem;letter-spacing:.14em;color:#6d7a91;text-transform:uppercase}
  .home-v08 .mobile-work-feature h3{font-size:clamp(2.25rem,10vw,3.5rem);line-height:.94;letter-spacing:-.07em;margin:36px 0 18px}
  .home-v08 .mobile-work-feature h3 em{font-style:normal}
  .home-v08 .mobile-work-feature p{margin:0;color:#8996aa;font-size:.77rem;line-height:1.65}
  .home-v08 .mobile-work-points{margin-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .home-v08 .mobile-work-point{padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025)}
  .home-v08 .mobile-work-point b{display:block;font-size:.5rem;letter-spacing:.13em;color:#d8e0ed}
  .home-v08 .mobile-work-point span{display:block;margin-top:4px;color:#69778f;font-size:.49rem;line-height:1.45}
  .home-v08 .mobile-work-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}
  .home-v08 .mobile-work-actions a{font-size:.64rem;padding:12px 15px}

  /* Studio: three explicit operating promises instead of a 3D object. */
  .home-v08 .mobile-studio{margin-top:43px;display:grid;gap:12px}
  .home-v08 .mobile-studio-card{padding:22px 20px;border-radius:18px}
  .home-v08 .mobile-studio-card .mobile-studio-index{font-size:.48rem;letter-spacing:.18em;color:#6d7a91}
  .home-v08 .mobile-studio-card strong{display:block;font-size:1.2rem;line-height:1.05;margin:17px 0 9px}
  .home-v08 .mobile-studio-card p{margin:0;color:#8794a9;font-size:.75rem;line-height:1.62}

  .home-v08 .mobile-closing{padding-top:10px}
  .home-v08 .mobile-closing .mobile-panel{padding:28px 21px;border-radius:22px}
  .home-v08 .mobile-closing h3{font-size:clamp(2.6rem,13vw,4.2rem);line-height:.92;letter-spacing:-.075em;margin:12px 0 18px}
  .home-v08 .mobile-closing p{margin:0;color:#8996aa;font-size:.8rem;line-height:1.65}
  .home-v08 .mobile-closing .btn{margin-top:24px}

  /* Make the mobile page feel intentional, not like a squeezed desktop. */
  .home-v08 .v08-hero{padding-bottom:78px}
  .home-v08 .v08-idea{padding:88px 0 85px}
  .home-v08 .v08-capabilities{padding:88px 0 95px}
  .home-v08 .v08-model{padding:88px 0 95px}
  .home-v08 .v08-work{padding:88px 0 95px}
  .home-v08 .v08-studio{padding:88px 0 95px}
  .home-v08 .v08-closing{padding:88px 0 70px}
  .home-v08 .v08-marquee{padding:20px 0}
  .home-v08 .v08-marquee .marquee-track{font-size:.75rem}

  /* Mobile content mode replaces the visual-only desktop copy where the alternative
     card already carries the complete story and actions. */
  .home-v08 .mobile-model + .model-copy{display:none}
  .home-v08 .mobile-work-feature + .work-main-copy{display:none}
  .home-v08 .mobile-work-feature ~ .v08-work-stack{display:none}
}

@media (prefers-reduced-motion:reduce){
  .home-v08 .mobile-content-mode *{scroll-behavior:auto}
}

/* CAPABILITIES PAGE — mobile editorial rebuild */
@media (max-width:767px){
  .page-hero{padding:145px 0 72px}
  .page-hero .shell{width:min(calc(100% - 30px),var(--max))}
  .page-hero h1{font-size:clamp(3.15rem,14vw,5rem);line-height:.9;letter-spacing:-.075em;margin:17px 0 23px}
  .page-hero p{font-size:.92rem;line-height:1.7;color:#9ca8bc;max-width:560px}
  .cap-mobile-intro{display:block;margin-top:32px;padding:16px 0;border-top:1px solid rgba(255,255,255,.11);border-bottom:1px solid rgba(255,255,255,.11)}
  .cap-mobile-intro span{display:block;font-size:.49rem;letter-spacing:.18em;color:#66758e;text-transform:uppercase}
  .cap-mobile-intro strong{display:block;margin-top:8px;font-size:.77rem;line-height:1.55;color:#d9e1ed;font-weight:500}
  .capabilities-mobile-list{display:grid;gap:12px}
  .capabilities-mobile-card{padding:22px 19px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:linear-gradient(145deg,rgba(9,15,29,.97),rgba(3,6,14,.99));box-shadow:0 22px 60px rgba(0,0,0,.24)}
  .capabilities-mobile-card .cap-mobile-meta{display:flex;justify-content:space-between;align-items:center;font-size:.48rem;letter-spacing:.18em;color:#6d7a91;text-transform:uppercase}
  .capabilities-mobile-card h3{font-size:1.24rem;line-height:1.04;letter-spacing:-.04em;margin:19px 0 10px}
  .capabilities-mobile-card>p{font-size:.76rem;line-height:1.65;color:#8996aa;margin:0}
  .capabilities-mobile-card .cap-mobile-detail{margin-top:15px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07);display:grid;gap:6px}
  .capabilities-mobile-card .cap-mobile-detail span{font-size:.59rem;letter-spacing:.06em;color:#6d7a91}
  .capabilities-mobile-card .cap-mobile-detail span:before{content:"—";color:var(--cyan);margin-right:7px}
  .cap-mobile-principle{margin-top:42px;padding-top:25px;border-top:1px solid rgba(255,255,255,.11)}
  .cap-mobile-principle .eyebrow{font-size:.55rem}
  .cap-mobile-principle h2{font-size:clamp(2.5rem,11.5vw,4rem);line-height:.94;letter-spacing:-.07em;margin:14px 0 17px}
  .cap-mobile-principle p{font-size:.8rem;line-height:1.7;color:#8d99ad;margin:0}
  .cap-mobile-principle a{margin-top:21px}
}
@media (min-width:768px){
  .cap-mobile-intro,.capabilities-mobile-list,.cap-mobile-principle{display:none}
}

@media (max-width:767px){
  .home-v08 .loop-rail{display:none!important}
  .desktop-capabilities-manifest{display:none!important}
  body:has(.capabilities-mobile-list) .section-tight{display:none}
}

/* CR8RLABS MOBILE MODE — FINAL ISOLATION / V1.1
   These rules deliberately remove every desktop-only spatial layer from the mobile
   composition. Desktop selectors are untouched. */
@media (max-width:767px){
  /* Never render desktop 3D presentation layers in mobile mode. */
  .home-v08 .desktop-3d-mode{display:none!important}
  .home-v08 .v08-loop-rail{display:none!important}

  /* The mobile Work card is intentionally outside the desktop link so its
     independent CTA links remain valid HTML and cannot collapse/re-parent. */
  .home-v08 .v08-work-system{display:block!important}
  .home-v08 .v08-work-main{display:none!important}
  .home-v08 .mobile-work-feature{
    display:block!important;
    position:relative!important;
    width:100%;
    min-height:0!important;
    box-sizing:border-box;
    margin-top:40px;
  }
  .home-v08 .work-hud,
  .home-v08 .work-main-copy,
  .home-v08 .v08-work-stack{display:none!important}

  /* Remove desktop closing copy/meta so the mobile CTA is the single ending. */
  .home-v08 .closing-system,
  .home-v08 .closing-inner,
  .home-v08 .closing-meta{display:none!important}
  .home-v08 .v08-closing{
    min-height:0!important;
    display:block!important;
    padding:88px 0 70px!important;
    overflow:hidden;
  }

  /* Mobile content should never inherit desktop spatial dimensions. */
  .home-v08 .mobile-content-mode{position:relative;box-sizing:border-box}
  .home-v08 .mobile-process,
  .home-v08 .mobile-capabilities,
  .home-v08 .mobile-model,
  .home-v08 .mobile-studio,
  .home-v08 .mobile-closing{width:100%}

  /* Avoid oversized empty desktop wrappers around mobile content. */
  .home-v08 .v08-model-visual,
  .home-v08 .studio-system{display:none!important}
  .home-v08 .model-copy{display:none!important}

  /* Keep the mobile Work composition visually continuous with the page. */
  .home-v08 .v08-work .proof-head{display:block}
  .home-v08 .v08-work .proof-head .text-link{display:inline-flex;margin-top:22px}
}
