/* Phone layer: only applies on narrow screens when <html> has class "mp".
   Aim: a calm, minimal version of the desktop site. One idea per section,
   generous space, nothing competing for attention. */
@media (max-width: 700px) {
  html.mp { --pad: 24px; }
  html.mp body { font-size: 16px; line-height: 1.65; }
  html.mp .section { padding: 64px 0; }
  html.mp .label { font-size: 11px; letter-spacing: .28em; }
  html.mp h2 { font-size: 30px; line-height: 1.05; }
  html.mp .rule { margin: 18px 0 22px; }
  html.mp .lede { font-size: 19px; line-height: 1.5; }
  html.mp main p { margin-bottom: 0; }
  html.mp .split, html.mp .split.rev { gap: 36px; }

  /* Header: small Donate button beside the menu */
  html.mp .m-donate { display: inline-flex; align-items: center; margin-left: auto; margin-right: auto; transform: translateX(12px); padding: 7px 13px; background: var(--ember); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 2px; }

  html.mp .nav .brand .name { font-size: 13px; }
  html.mp main section:not(.hero):not(.band) .btn { margin-top: 28px; }
  html.mp #survey .split > div:first-child, html.mp #policy .split > div:first-child { order: 2; }

  /* Heroes: shorter, one call to action */
  html.mp .hero .wrap { min-height: 0; padding-top: 72px; padding-bottom: 56px; }
  html.mp .hero .inner { gap: 18px; }
  html.mp .hero p { font-size: 16px; }
  html.mp .hero h1 { font-size: clamp(30px, 8.4vw, 38px); overflow-wrap: anywhere; }
  html.mp .hero.short .wrap { min-height: 320px; justify-content: flex-end; }
  html.mp .hero .actions .btn.ghost { display: none; }

  /* Stats: airy 2x2 */
  html.mp .stats .wrap { gap: 28px 18px; padding-top: 36px; padding-bottom: 36px; }
  html.mp .stat { padding-left: 12px; }
  html.mp .stat b { font-size: 30px; margin-bottom: 6px; }
  html.mp .stat span { font-size: 13px; line-height: 1.4; display: block; }

  /* Read more (Our Work case studies and Publications only) */
  html.mp .m-hide { display: none !important; }
  html.mp .m-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  html.mp .m-more { display: block; background: none; border: 0; padding: 0; margin: 14px 0 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ash-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  html.mp .ink .m-more { color: #bdb8ae; }

  /* Swipe rows */
  html.mp .m-swipe { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px !important; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; grid-template-columns: none !important; }
  html.mp .m-swipe::-webkit-scrollbar { display: none; }
  html.mp .m-swipe > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }
  html.mp .m-swipe.m-narrow > * { flex-basis: 60%; }

  /* Photo pairs and stacks: one image per section */
  html.mp .pair > *:not(:first-child),
  html.mp .split > div > div[style*="display:grid"] > *:not(:first-child),
  html.mp .split > div[style*="display:grid"] > *:not(:last-child) { display: none; }
  html.mp .pair img { height: auto; aspect-ratio: 3 / 2; }

  /* Bands: headline and button only */
  html.mp .band .wrap { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  html.mp .band .quote p { display: none; }

  /* Home */
  html.mp .fl-cows, html.mp .fl-cam { display: none; }
  html.mp .fl-copy .btn { margin-top: 28px !important; }
  html.mp .fl-strap { margin-top: 18px; }
  html.mp .fl-map { margin-top: 8px; }
  html.mp .stack4 { display: none; }
  html.mp .scout-home .figure { margin-top: 32px; }
  html.mp .case img { margin-bottom: 14px; }
  html.mp .case p { font-size: 14px; }

  /* Our Work timelines */
  html.mp .timeline::before { display: none; }

  /* Team */
  html.mp .team.m-swipe > .member p { font-size: 14px; }
  html.mp .pw-copy { display: none; }

  /* SCOUT */
  html.mp #how .lede { display: none; }
  html.mp .cycle { display: flex !important; flex-direction: column; gap: 44px !important; margin-top: 8px; }
  html.mp .cycle .centre { display: none !important; }
  html.mp .cycle .s1 { order: 1; } html.mp .cycle .s2 { order: 2; } html.mp .cycle .s3 { order: 3; } html.mp .cycle .s4 { order: 4; }
  html.mp .cmp-row:last-child { border-bottom: 0; }
  html.mp svg.stream { display: none !important; }
  html.mp .stream-list { display: grid !important; gap: 18px; }
  html.mp .stream-list .dot { width: 14px; height: 14px; }
  html.mp .stream-list li { grid-template-columns: 14px 1fr; gap: 16px; align-items: start; }
  html.mp .stream-list li .dot { margin-top: 4px; }
  html.mp .stream-list .src { padding-bottom: 18px; }

  /* Donate */
  html.mp #partner .split p.muted { display: none; }
  html.mp .tiers td:nth-child(3) { display: none; }
  html.mp #sites .stats .wrap { grid-template-columns: 1fr !important; gap: 18px; padding: 28px 24px !important; }
  html.mp #sites .stat b { font-size: 30px; }

  /* Home (phone): drop the Murchison map and legend */
  html.mp .fl-map { display: none !important; }
  /* Home (phone): partner strip on white so logos with white backgrounds sit cleanly (iPhone Safari won't blend them) */
  html.mp .fl-track .logo { mix-blend-mode: normal; }
  /* Home (phone): SCOUT numbered steps nudged right ~1cm */
  html.mp .scout-home .figure ol { margin-left: 56px; }

  html.mp .fl-partners { margin-top: 28px; }
  html.mp section:has(.fl-partners) { padding-bottom: 12px !important; }
  html.mp #now .split > div[style*="display:grid"] > video { display: block !important; }
  html.mp #now .split > div[style*="display:grid"] > img { display: none !important; }
  html.mp #now .btn { display: none !important; }
  html.mp #now { padding-top: 36px; }
  html.mp section:has(.timeline) { display: none !important; }
  html.mp main:has(#how) .why-scout { display: none !important; }
  html.mp main:has(#how) .section { padding: 44px 0; }
  html.mp main:has(#how) .band .wrap { padding-top: 40px; padding-bottom: 40px; gap: 20px; }
  html.mp main:has(#how) h2 { font-size: 25px; }
  html.mp main:has(#how) .rule { margin: 14px 0 16px; }
  html.mp main:has(#how) .lede { font-size: 16px; }
  html.mp main:has(#how) p, html.mp main:has(#how) li { font-size: 14px; line-height: 1.55; }
  html.mp main:has(#how) .cycle { gap: 30px !important; }
  html.mp main:has(#how) .stream-list { gap: 12px; }
  html.mp main:has(#how) .stream-list b { font-size: 14px; }
  html.mp main:has(#how) .stream-list span { font-size: 13px; }
  html.mp main:has(#how) .stream-list .src { padding-bottom: 12px; }
  html.mp main:has(.team) .hero h1 { font-size: 7.8vw; overflow-wrap: normal; }
  html.mp .pub .m-more { display: none !important; }
  html.mp .pub > div:not(.year):not(.logos) { display: contents; }
  html.mp .pub .year { order: 1; }
  html.mp .pub h3 { order: 2; }
  html.mp .pub p:not(.cite) { order: 3; }
  html.mp .pub .logos { order: 4; margin-top: 10px; }
  html.mp .pub .cite { order: 5; margin-top: 4px; }
  html.mp .split > .pledge-card { order: -1; }
  html.mp section:has(.pledge-card) { padding-top: 36px; padding-bottom: 20px; }
  html.mp .pledge-btn { font-size: 15px; padding: 11px 16px; border-radius: 10px; white-space: nowrap; margin-top: 18px; box-shadow: 0 3px 0 #9c3d08; }
  html.mp .pledge-btn .pi { width: 20px; height: 21px; }
  html.mp .pledge-btn .arr { width: 20px; height: 20px; }
  html.mp #sites { padding-top: 12px; padding-bottom: 40px; }
  html.mp #sites .split > div:first-child { order: -1; }
  html.mp #sites .split { gap: 24px; }
  html.mp .shoebill-note { padding: 16px 18px !important; margin-top: 18px !important; }
  html.mp .shoebill-note p { font-size: 14px; line-height: 1.5; }
  html.mp .shoebill-note .label { font-size: 10px; }
  html.mp #partner { padding: 40px 0; }
  html.mp #partner h2 { font-size: 24px; }
  html.mp #partner .rule { margin: 12px 0 14px; }
  html.mp #partner .split > div[style*="background"] { padding: 14px !important; }
  html.mp #partner .tiers { font-size: 13px; }
  html.mp #partner .tiers td, html.mp #partner .tiers th { padding-top: 8px; padding-bottom: 8px; }
  html.mp .shoebill-note p { font-size: 13px !important; line-height: 1.45; }
  html.mp .shoebill-note .label { letter-spacing: .16em; line-height: 1.4; display: block; margin-bottom: 6px; }
  html.mp #sites .legend li { padding-top: 4px; padding-bottom: 4px; }
  html.mp #sites .stats.dark { margin-top: 16px !important; }
  html.mp #sites .stats.dark .wrap { padding: 16px 18px !important; gap: 12px !important; }
  html.mp #sites .stats.dark .stat b { font-size: 22px; margin-bottom: 2px; }
  html.mp #sites .stats.dark .stat span { font-size: 12px; }
  html.mp #partner .tiers td { padding-top: 2px !important; padding-bottom: 2px !important; }
  html.mp #partner .tiers tr { padding: 10px 0 !important; }
  html.mp #partner .tiers td:first-child { padding-top: 10px !important; }
  html.mp #partner .tiers td:last-child { padding-bottom: 10px !important; }
  html.mp #partner .split { gap: 0 !important; }
  html.mp #partner .split > div[style*="background"] { margin-top: 0 !important; }
  /* Footer: brand, contact and credit only (navigation lives in the menu) */
  html.mp footer .wrap { gap: 0; padding-top: 48px; padding-bottom: 32px; }
  html.mp footer .wrap > div:not(:first-child) { display: none; }
  html.mp footer .wrap > div:first-child > p:first-of-type { display: none; }
}
.stream-list { display: none; list-style: none; margin: 32px 0 0; padding: 0; }
.stream-list li { display: grid; }
.stream-list .dot { border-radius: 50%; background: var(--ember); }
.stream-list b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 16px; }
.stream-list span { font-size: 14px; color: var(--ash-dark); }
.stream-list .src { border-bottom: 1px solid var(--bone-2); }
.stream-list .src .dot { background: var(--ink); }
.m-donate, .m-more { display: none; }