/* =========================================================
   DEDICATED MOBILE VIEW (phones, <= 700px)
   Loaded only on small screens via <link media>
   ========================================================= */
@media(max-width:700px){
  html{scroll-padding-top:3.4rem}

  /* 1. Slim sticky header: small logo, low height */
  .header{padding:.35rem .6rem 0}
  .nav{padding: 0rem 0rem;box-shadow:0 6px 16px #0002}
  .brand{margin-left:.6rem}
  .brand-logo{width:110px}
  .nav-actions{margin-right:.35rem;gap:.4rem}
  .theme-toggle{width:1.85rem;height:1.85rem}
  .theme-toggle svg{width:15px;height:15px}
  .menu-btn{padding:.25rem .65rem;font-size:.7rem}
  .mobile-menu{margin-top:.3rem;padding:.4rem}
  .mobile-menu a{padding:.5rem}

  /* 2. Compact section rhythm */
  .page-shell{padding-top:2.25rem;padding-bottom:2.25rem}
  .section-grid{gap:1.5rem}
  .people-grid{gap:1.25rem}
  .stream-diagram{margin-top:1.5rem}
  .section-title{margin-top:.8rem}
  .wide-copy>p:last-of-type,.section-body{margin-top:1rem;line-height:1.65}
  .mt{margin-top:1.25rem}
  .gates{gap:.6rem}
  .gate{padding:.85rem}
  .alert-wrap{min-height:0}
  .alert-orbit{display:none}
  .alert-card h3{margin:1rem 0}
  .alert-note{margin-top:1.25rem}
  .advisory-core{min-height:15rem}
  .core{height:7.5rem;width:7.5rem}
  .tech-grid{margin:1.75rem 0 1.5rem;gap:1.1rem .75rem}
  .tech-visual{margin-bottom:.5rem}
  .tech-item{font-size:.9rem}
  .partner-section{padding-bottom:3rem}
  .partner-shield{margin-bottom:1rem;height:4rem;width:4rem}
  .partner-shield .shield{width:2rem;height:2rem}
  .footer{padding:1.5rem 1rem;margin:0 .6rem .6rem}
  .footer-in{gap:1rem}
  .footer-logo img{height:4.5rem}
  .footer-bottom{margin-top:1rem;padding-top:.9rem}

  /* 7. Tighter hero: copy first, reach CTAs faster */
  .hero{min-height:0;padding-top:4.25rem;padding-bottom:1.5rem;gap:1rem}
  .hero-title{margin-top:.6rem;font-size:clamp(2.3rem,11vw,3rem)}
  .hero-sub{margin-top:.75rem;font-size:1rem}
  .hero-text{margin-top:.75rem;line-height:1.6;font-size:.95rem}
  .actions{margin-top:1.1rem;gap:.5rem}
  .actions .btn{padding:.7rem 1rem}

  /* 4. Shield supports content rather than dominating */
  .hero-figure img{max-width:10.5rem}
  .people-figure img{max-width:19rem}
  .bg-art{display:none}

  /* ===== Dedicated mobile view additions ===== */
  html{-webkit-text-size-adjust:100%}
  body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .header{padding-top:calc(.35rem + env(safe-area-inset-top))}
  .footer{margin-bottom:calc(.6rem + env(safe-area-inset-bottom))}

  /* Comfortable tap targets */
  .menu-btn{min-height:2.1rem}
  .btn,.investigate,.next-scenario{min-height:44px}
  .mobile-menu a{min-height:44px;display:flex;align-items:center;justify-content:center}
  .mobile-menu.open{max-height:calc(100vh - 4.5rem);overflow:auto}

  /* Content is centred and readable at phone width */
  .eyebrow{font-size:.62rem;letter-spacing:.14em}
  .section-title{font-size:clamp(1.9rem,8.5vw,2.4rem)}
  .academy-title{font-size:clamp(1.6rem,7vw,2rem)}
  .btn{box-sizing:border-box;width:100%;max-width:100%;justify-content:center}
  .center .btn,.partners-copy .btn,.btn-quiet{width:auto}
  [style*="text-align:center"]{display:flex;justify-content:center}

  /* Advisory: tidy 2x2 module grid instead of scattered floating chips */
  .advisory-core{min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:.6rem;place-items:stretch}
  .advisory-core .core{grid-column:1/-1;justify-self:center;margin-bottom:.4rem}
  .advisory-core .module{position:static;inset:auto;display:flex;align-items:center;justify-content:center;text-align:center;padding:.7rem .6rem;font-size:.74rem;border-radius:.6rem;min-height:3rem}

  /* Footer legal bar: hide stray divider, stack cleanly */
  .footer-bottom>span{display:none}
  .footer-links{gap:.25rem 1rem;font-size:.92rem}

  /* Lighter page: no decorative canvases on phones */
  .scene,.bg-static{display:none}
}
