/* ══════════════════════════════════════════════════════════════
   mobile.css — mobile-mode overlay
   Gated entirely by `body.deck-mobile` (set by app.js).
   See docs/superpowers/specs/2026-05-28-responsive-no-overlap-design.md
   ══════════════════════════════════════════════════════════════ */

/* All rules in this file MUST be scoped to body.deck-mobile so they
   are no-ops when the desktop path is active. */

/* ──────────────────────────────────────────────
   C2 — Bottom dock nav (replaces left-rail sidenav)
   TASK-063: 13-item strip replaced with prev/counter/next on mobile.
   TASK-064: proportionally shrunk by 40% (×0.6 on every dimension).
   TASK-065: top-right .slide-header hidden — bottom counter is enough.
   ────────────────────────────────────────────── */
body.deck-mobile .sidenav{
  position:fixed;
  left:0; right:0; bottom:0; top:auto;
  width:100%;
  height:calc(38px + env(safe-area-inset-bottom));
  padding:4px 12px env(safe-area-inset-bottom);
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  z-index:200;
  background:rgba(8,18,52,0.92); /* solid — no blur in mobile */
}
body.deck-mobile .sidenav::before{
  display:none;
}
body.deck-mobile .nav-logo,
body.deck-mobile .nav-divider,
body.deck-mobile .nav-item{
  display:none;
}
body.deck-mobile .nav-mobile-prev,
body.deck-mobile .nav-mobile-next{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center; /* TASK-070: ensure button vertically centers in the dock flex row */
  min-width:29px;
  min-height:29px;
  padding:0;
  background:transparent;
  border:0;
  color:var(--accent-soft);
  font-size:19px;
  line-height:1; /* TASK-070: kill default UA line-height that pushed the chevron glyph above center */
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
body.deck-mobile .nav-mobile-prev.is-disabled,
body.deck-mobile .nav-mobile-next.is-disabled{
  opacity:0.3;
  pointer-events:none;
}
body.deck-mobile .nav-mobile-counter{
  display:inline-flex;
  align-items:center;
  align-self:center; /* TASK-070: vertical center in the dock flex row */
  font-size:10px;
  line-height:1; /* TASK-070: match the chevrons' line-height so both controls share the same vertical metric */
  font-variant-numeric:tabular-nums;
  letter-spacing:0.05em;
  color:rgba(255,255,255,0.85);
}

/* TASK-065: hide top-right paging label on mobile (bottom dock covers it). */
body.deck-mobile .slide-header{
  display:none;
}

/* Slides container loses left rail. */
body.deck-mobile .slides{
  left:0;
}
/* TASK-066: shrink the slide area on mobile so .slide content can never
   render under the bottom dock. Each slide naturally caps at the dock-top
   instead of overflowing to the viewport edge. */
body.deck-mobile .slide{
  bottom:calc(38px + env(safe-area-inset-bottom));
}
body.deck-mobile .deck-aurora,
body.deck-mobile .deck-noise,
body.deck-mobile .deck-scan{
  left:0;
}

/* ──────────────────────────────────────────────
   C4 — Kill heavy decoration on mobile (perf + readability)
   ────────────────────────────────────────────── */
body.deck-mobile #wireCanvas{ display:none; }
body.deck-mobile .deck-aurora-blob:nth-child(2),
body.deck-mobile .deck-aurora-blob:nth-child(3){ display:none; }
body.deck-mobile .deck-scan{ display:none; }

/* Replace every blur surface with solid — readable text + cheaper paint */
body.deck-mobile .glass,
body.deck-mobile .pill,
body.deck-mobile .pill-dark,
body.deck-mobile .sidenav::before,
body.deck-mobile .s8-content,
body.deck-mobile .s8-detail-panel,
body.deck-mobile .s7-tam__viz,
body.deck-mobile .nav-label{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:rgba(8,18,52,0.78) !important;
}

/* ──────────────────────────────────────────────
   C5 — Per-slide mobile layouts
   ────────────────────────────────────────────── */

/* Slide 01 — Intro */
body.deck-mobile .slide[data-index="0"] .hands-wrap{
  display:none;
}
body.deck-mobile .slide[data-index="0"]{
  background:var(--deck-navy);
}
body.deck-mobile .s1-logo-wrap{
  top:var(--pill-reserve);
  transform:translateX(-50%);
  padding:0 24px;
}
body.deck-mobile #gagingLogo{
  width:min(280px,72vw);
}
/* TASK-079: on mobile portrait the GAGING wrap is wide + short (e.g.
   280×60). The desktop rotating ellipse (inset:-18% + transform:rotate)
   sweeps a much bigger area on rotation than its non-rotated extent —
   the glow visibly extends beyond the label. Replace the rotating
   conic-gradient with a STATIC soft radial halo centered on the wrap,
   sized to extend just slightly past the label. Same hue palette. */
body.deck-mobile .s1-logo-wrap.fx-brand::before,
body.deck-mobile .s1-sym-wrap.fx-brand::before{
  inset:0;
  border-radius:50%;
  background:radial-gradient(
    ellipse at center,
    rgba(187,187,255,0.22) 0%,
    rgba(0,82,245,0.16) 38%,
    transparent 72%
  );
  filter:blur(18px);
  opacity:0.8;
  animation:none;
  transform:none;
}
body.deck-mobile .s1-sym-wrap{
  top:50%;
}
body.deck-mobile #gagingSym{
  width:min(96px,22vw);
}
body.deck-mobile .s1-overlay{
  bottom:clamp(80px,12dvh,140px);
  padding:0 24px;
}
body.deck-mobile .s1-title-dark{
  font-size:clamp(36px,8vw,52px);
  text-align:center;
}

/* Slide 02 — Team carousel */
/* TASK-075: s2-team has asymmetric desktop padding (72px left, 20px right)
   that pushes the carousel off-center on mobile. Reset to symmetric. */
body.deck-mobile .s2-team{
  padding-left:16px;
  padding-right:16px;
}
/* Kill the 3-D perspective stack; show one card at a time */
body.deck-mobile .s2-team-carousel{
  perspective:none;
  padding:0 40px 8px; /* TASK-075: 52→40 to widen the card area; nav arrows still fit */
  display:flex;
  align-items:center;
  justify-content:center; /* TASK-075: center the carousel horizontally */
  width:100%;
}
body.deck-mobile .s2-team-deck{
  transform-style:flat;
  width:min(360px,calc(100vw - 88px)); /* TASK-075: was min(280px,84vw); wider card, leaves 44px each side for nav arrows */
  margin-inline:auto;
  /* height driven by the single visible card */
  min-height:clamp(360px,55dvh,520px);
  height:auto !important;
  max-height:none !important;
}
/* TASK-074: mobile logos ~0.65× of desktop so 4-5 logos fit on one line within
   the card footer. Reduce gap + padding + footer min-height proportionally. */
body.deck-mobile .s2-member-card__logos{
  gap:6px;
  padding:8px 10px;
  min-height:48px;
}
body.deck-mobile .s2-member-card__logos--count-1 .s2-member-card__logo-slot{
  width:min(125px,70%);
  height:34px;
}
body.deck-mobile .s2-member-card__logos--count-1 .s2-member-card__logo-slot img{
  max-height:30px;
}
body.deck-mobile .s2-member-card__logos--count-2 .s2-member-card__logo-slot{
  width:48px;
  height:37px;
}
body.deck-mobile .s2-member-card__logos--count-3 .s2-member-card__logo-slot{
  width:40px;
  height:34px;
}
body.deck-mobile .s2-member-card__logos--count-4 .s2-member-card__logo-slot{
  width:34px;
  height:31px;
}
body.deck-mobile .s2-member-card__logos--count-5 .s2-member-card__logo-slot{
  width:31px;
  height:27px;
}
/* Hide all non-front cards */
body.deck-mobile .s2-team-deck .s2-member-card:not(.card-pos-0){
  display:none !important;
}
/* Reset the front card to normal flow */
body.deck-mobile .s2-team-deck .s2-member-card.card-pos-0{
  position:static !important;
  transform:none !important;
  opacity:1 !important;
  filter:none !important;
  width:100%;
  height:clamp(360px,55dvh,520px);
}
/* Truncate bio to 3 lines */
body.deck-mobile .s2-member-card__bio{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  overflow-y:hidden;
}
/* Ensure nav buttons meet 44 px tap target */
body.deck-mobile .s2-team-nav{
  width:44px;
  height:44px;
  font-size:20px;
}

/* ──────────────────────────────────────────────
   Slide 03 — Mission
   ────────────────────────────────────────────── */
body.deck-mobile .s25-layout{
  padding:var(--pill-reserve) 16px 16px;
  gap:clamp(12px,2vh,24px);
}
body.deck-mobile .cardbeam-embed-wrap{
  --cardbeam-crop-w:min(92vw,520px);
  height:clamp(220px,42dvh,360px);
}

/* Slide 04 — Problem */
body.deck-mobile .s4-problem-layout{
  padding:var(--pill-reserve) 16px 16px;
  gap:clamp(12px,2vh,20px);
}
body.deck-mobile .s4-problem-hero-img{
  /* TASK-076: cap max-height by available column height so the bottom of the image
     never extends past the dock. Reserves: pill (--pill-reserve), dock (38px),
     title + gap (~100px), bottom padding (16px). */
  max-height:min(38dvh, calc(100dvh - var(--pill-reserve) - 38px - 100px));
  max-width:88vw;
}
body.deck-mobile .deck-slide-title{
  font-size:clamp(20px,5vw,32px);
}

/* Slide 05 — Solution */
body.deck-mobile .s5-layout{
  padding:var(--pill-reserve) 16px 16px;
  gap:clamp(8px,1.5vh,16px);
}
body.deck-mobile .s5-solution-title{
  font-size:clamp(22px,5.5vw,36px);
  max-width:92vw;
}
/* TASK-077d: tablet (iPad Mini portrait, mobile mode at ≥600px width) — bump
   subtitle + below text since 1.55vw collapses to the 15-20px clamp floor on
   tablets, making them feel small relative to the larger title. */
body.deck-mobile .s5-solution-title__sub{
  font-size:clamp(15px,3vw,22px);
}
body.deck-mobile .s5-solution-title__sub--below{
  font-size:clamp(21px,4.2vw,31px); /* TASK-077c+d: +40% relative to the bumped __sub */
}
body.deck-mobile .s5-joystick-img,
body.deck-mobile .s5-layout img{
  max-height:38dvh;
  max-width:80vw;
}

/* ──────────────────────────────────────────────
   Slide 06 — How It Works (TASK-R18)
   ────────────────────────────────────────────── */
body:not(.deck-mobile) .hiw-mobile-arrows{ display:none; }

body.deck-mobile .hiw-layout{
  padding:var(--pill-reserve) 16px 16px;
}
body.deck-mobile .hiw-phone-wrap,
body.deck-mobile .hiw-screen{
  display:none; /* drop phone illustration on mobile */
}
body.deck-mobile .hiw-arc-arrows{
  display:none; /* desktop ellipse arrows hidden on mobile */
}
body.deck-mobile .hiw-arc-stage{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-around;
  gap:10px; /* TASK-066: was 14px — tightened to prevent 4th card overflow under bottom dock */
  padding:0 36px 0 12px; /* right padding for return-loop arrow */
  width:100%;
  /* TASK-R18 fixup: flex:1 to fill remaining layout column, not a fixed
     dvh calc that ignored the title's height above the stage. */
  flex:1;
  min-height:0;
  overflow:hidden; /* TASK-066: belt + suspenders — clip any residual overflow at the stage boundary */
  /* Override desktop aspect-ratio + max-width that would force a fixed shape */
  aspect-ratio:auto;
  max-width:none;
  margin-block:0;
}
body.deck-mobile .hiw-arc-card{
  position:relative !important;
  left:auto !important; right:auto !important;
  top:auto !important; bottom:auto !important;
  transform:none !important;
  width:auto !important;
  max-width:none !important;
  height:auto !important; /* TASK-R18 fixup: override desktop fixed height (was 125-148px) */
  flex:0 0 auto; /* don't stretch beyond content */
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  background:rgba(0,82,245,0.18);
  border:1px solid rgba(187,187,255,0.4);
  border-radius:10px;
  min-height:44px;
  font-size:14px;
  color:#eef1ff;
  z-index:2;
  backdrop-filter:none !important; /* desktop has blur(18px), kill for mobile */
}
body.deck-mobile .hiw-arc-card__icon{
  flex:0 0 auto;
  width:24px; height:24px;
}
body.deck-mobile .hiw-arc-card__title{
  margin:0;
  font-size:13px;
  line-height:1.3;
}
body.deck-mobile .hiw-arc-card::before{
  content: attr(data-step);
  flex:0 0 auto;
  width:22px; height:22px;
  border-radius:50%;
  background:rgba(187,187,255,0.45);
  color:#000d2c;
  font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
body.deck-mobile .hiw-arc-card--1::before{ content:'1'; }
body.deck-mobile .hiw-arc-card--2::before{ content:'2'; }
body.deck-mobile .hiw-arc-card--3::before{ content:'3'; }
body.deck-mobile .hiw-arc-card--4::before{ content:'4'; }

body.deck-mobile .hiw-mobile-arrows{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%; /* TASK-R18 fixup: SVG intrinsic aspect-ratio (150:540) was making it 1177px tall instead of filling parent */
  z-index:1;
  pointer-events:none;
}

/* Animation: node pulse 1→2→3→4 then return arrow, 4s loop */
@keyframes hiwNodeFlash{
  0%, 100% { box-shadow: 0 0 0 0 rgba(187,187,255,0); }
  25%      { box-shadow: 0 0 0 4px rgba(187,187,255,0.5); }
  50%      { box-shadow: 0 0 0 0 rgba(187,187,255,0); }
}
@keyframes hiwReturnFlash{
  0%, 100% { stroke-opacity: 0.3; }
  50%      { stroke-opacity: 1; }
}
body.deck-mobile .hiw-arc-card--1{ animation: hiwNodeFlash 4s ease 0.0s infinite; }
body.deck-mobile .hiw-arc-card--2{ animation: hiwNodeFlash 4s ease 1.0s infinite; }
body.deck-mobile .hiw-arc-card--3{ animation: hiwNodeFlash 4s ease 2.0s infinite; }
body.deck-mobile .hiw-arc-card--4{ animation: hiwNodeFlash 4s ease 3.0s infinite; }
body.deck-mobile .hiw-m-arrow--return{
  animation: hiwReturnFlash 4s ease 3.5s infinite;
}

/* Slide 07 — TAM (desktop unchanged; mobile drops the 3 callout boxes) */
body.deck-mobile .tam-callout,
body.deck-mobile .tam-leaders,
body.deck-mobile .tam-leader-dot{
  display:none;
}
body.deck-mobile .s7-tam{
  padding:var(--pill-reserve) 16px 16px;
}
body.deck-mobile .s7-tam__head{
  gap:8px;
}
body.deck-mobile .s7-tam__subtitle{
  font-size:13px;
  -webkit-line-clamp:2;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.deck-mobile .tam-rings-wrap{
  margin:auto;
}
body.deck-mobile .tam-rings{
  width:min(78vw,260px) !important;
  height:min(78vw,260px) !important;
}

/* ──────────────────────────────────────────────
   Slide 08 — Market Timing (news carousel, TASK-R20)
   ────────────────────────────────────────────── */
body.deck-mobile .golden-rush__head{
  padding-top:var(--pill-reserve);
}
body.deck-mobile .golden-rush__stack{
  width:min(88vw,320px);
  margin:0 auto;
  aspect-ratio:auto;
  min-height:clamp(320px,50dvh,420px);
}
body.deck-mobile .golden-rush-card{
  position:static !important;
  width:100%;
  font-size:13px;
  transform:none !important;
  opacity:1 !important;
  display:none;
}
body.deck-mobile .golden-rush-card.golden-rush-card--landed{
  display:flex;
}
body.deck-mobile .golden-rush-card__headline{
  font-size:clamp(16px,3.5vw,20px);
}
body.deck-mobile .golden-rush-card__masthead{
  font-size:clamp(11px,0.85vw,13px);
}
body.deck-mobile .golden-rush-card__meta{
  font-size:clamp(9px,0.7vw,11px);
}
body.deck-mobile .golden-rush-card__lede{
  font-size:clamp(11px,0.8vw,13px);
  -webkit-line-clamp:3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ──────────────────────────────────────────────
   C9 — Viewport unit hardening
   (100vh → 100dvh handled in style.css)
   ────────────────────────────────────────────── */
body.deck-mobile{
  overscroll-behavior:contain;
}
html, body{
  height:100dvh;
}

/* ══════════════════════════════════════════════
   TASK-R21 — Slide 09 Competitor
   4-up quad → tab strip + 1 detail card on mobile
   ══════════════════════════════════════════════ */

/* Hide chip strip entirely on desktop */
body:not(.deck-mobile) .s8-mobile-chips{ display:none; }

/* On mobile: collapse the grid to a single-column flex,
   hide all cards by default, show only the active one. */
body.deck-mobile .s8-quad-grid{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  padding:0 !important;
}
body.deck-mobile .s8-quad{
  display:none !important;
}
body.deck-mobile .s8-quad.is-active{
  display:flex !important;
  flex:1 1 auto;
  max-height:calc(100dvh - var(--pill-reserve) - 64px - 56px);
  overflow:hidden;
}

/* Tab strip */
body.deck-mobile .s8-mobile-chips{
  display:flex;
  gap:6px;
  margin:8px auto 10px;
  padding:0 16px;
  width:100%;
  max-width:360px;
  justify-content:center;
  flex-shrink:0;
}
body.deck-mobile .s8-mobile-chip{
  flex:1;
  min-height:44px;
  padding:8px 6px;
  background:rgba(0,82,245,0.18);
  border:1px solid rgba(187,187,255,0.35);
  border-radius:99px;
  color:#eef1ff;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:background .15s, border-color .15s;
}
body.deck-mobile .s8-mobile-chip.is-active{
  background:rgba(0,82,245,0.4);
  border-color:#bbbbff;
}

/* Also override the existing 720px stacking rule on mobile
   so chips control visibility instead of CSS columns */
@media (max-width:720px){
  body.deck-mobile .s8-quad-grid{
    grid-template-columns:unset;
    grid-template-rows:unset;
  }
}

/* ══════════════════════════════════════════════
   TASK-R22 — Slide 10 Roadmap
   4 columns (timeline) → 4 rows (vertical) on mobile
   ══════════════════════════════════════════════ */

body.deck-mobile .s10-layout{
  padding:var(--pill-reserve) 16px 12px !important;
  gap:6px;
}

body.deck-mobile .s10-head{
  gap:4px;
}

body.deck-mobile .s10-head .deck-slide-title{
  font-size:clamp(18px,4.5vw,24px);
}

body.deck-mobile .s10-spine{
  display:none;
}

body.deck-mobile .s10-panel{
  padding:6px 8px 8px;
  gap:4px;
  flex:1;
  min-height:0;
  overflow:hidden;
}

body.deck-mobile .s10-journey{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  grid-template-columns:unset;
  grid-template-rows:unset;
  align-items:stretch;
  margin-top:0 !important;
  flex:1;
  min-height:0;
}

body.deck-mobile .s10-col{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:4px;
  padding:4px 6px;
  background:rgba(0,0,0,0.18);
  border:1px solid rgba(187,187,255,0.2);
  border-radius:6px;
  opacity:1;
  transform:none;
  flex:0 1 auto;
}

body.deck-mobile .s10-col::before{
  display:none;
}

body.deck-mobile .s10-col__head{
  flex:0 0 auto;
  min-width:50px;
  width:auto;
  padding:4px 6px;
  border-radius:6px;
  background:rgba(0,0,0,0.32);
  border:1px solid color-mix(in srgb,var(--s10-accent) 30%,rgba(255,255,255,0.08));
  text-align:left;
  gap:1px;
}

body.deck-mobile .s10-col__phase{
  font-size:5px;
  margin-bottom:0px;
  line-height:1;
}

body.deck-mobile .s10-col__q{
  font-size:clamp(10px,1.8vw,12px);
  margin:0;
  line-height:1.1;
}

body.deck-mobile .s10-col__cards{
  flex:1;
  gap:0;
  padding:0;
}

body.deck-mobile .s10-card{
  gap:4px;
  padding:4px 6px;
  font-size:9px;
  flex-direction:row;
  align-items:flex-start;
  min-height:0;
}

body.deck-mobile .s10-card__n{
  font-size:7px;
  flex-shrink:0;
}

body.deck-mobile .s10-card__text{
  font-size:9px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body.deck-mobile .s10-card--hero{
  padding:4px 6px;
  flex-direction:row;
  align-items:flex-start;
  text-align:left;
  gap:4px;
}

body.deck-mobile .s10-card--hero .s10-card__text{
  font-size:9px;
}

body.deck-mobile .s10-card__badge{
  padding:1px 6px;
  font-size:6px;
  flex-shrink:0;
  line-height:1;
}

body.deck-mobile .s10-card--premium{
  flex-direction:row;
  align-items:flex-start;
  gap:4px;
  padding:4px 6px;
}

body.deck-mobile .s10-card--premium .s10-card__badge{
  padding:1px 6px;
  font-size:6px;
  flex-shrink:0;
  line-height:1;
}

/* Slide 11 — Advisory (cards → 1-col stack) */
body.deck-mobile .slide[data-index="10"] .s2-team-carousel{
  perspective:none;
  padding:0;
  width:100%;
}
body.deck-mobile .slide[data-index="10"] .s2-team-deck{
  display:flex !important;
  flex-direction:column !important;
  gap:10px;
  padding:var(--pill-reserve) 16px 16px;
  width:100% !important;
  height:auto !important;
  min-height:auto !important;
  max-height:none !important;
  transform-style:flat;
}
body.deck-mobile .slide[data-index="10"] .s2-member-card{
  display:flex !important;
  flex-direction:row !important;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  min-height:96px;
  position:static !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  opacity:1 !important;
  filter:none !important;
  width:100% !important;
  height:auto !important;
}
body.deck-mobile .slide[data-index="10"] .s2-member-card__photo{
  flex:0 0 auto;
  width:56px;
  height:56px;
}
body.deck-mobile .slide[data-index="10"] .s2-member-card__body{
  flex:1;
  display:flex;
  flex-direction:column;
}
body.deck-mobile .slide[data-index="10"] .s2-member-card__bio{
  font-size:12px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0;
}
body.deck-mobile .slide[data-index="10"] .s2-team-nav{
  display:none;
}

/* ══════════════════════════════════════════════
   TASK-R24 — Slide 12 The Ask
   Hero raise card + funds breakdown + bullets → single column
   ══════════════════════════════════════════════ */

/* Override desktop 2-col grid → single flex column */
body.deck-mobile .s11-layout{
  display:flex;
  flex-direction:column;
  grid-template-columns:unset;
  gap:10px;
  padding:var(--pill-reserve) 16px 12px;
  min-height:0;
  overflow:hidden;
}

/* Hide the jump game entirely on mobile — it needs vertical space */
body.deck-mobile .s11-col--game{
  display:none !important;
}

/* Copy column: vertical flex, tight gap, clipped to viewport */
body.deck-mobile .s11-col--copy{
  gap:8px;
  align-self:stretch;
  min-height:0;
  overflow:hidden;
}

/* Raise hero: tighter padding, centred large number */
body.deck-mobile .s11-raise--hero{
  padding:clamp(10px,2vh,18px) clamp(14px,3.5vw,20px);
  text-align:center;
}

/* Shrink the $4M amount so it fits narrow viewports */
body.deck-mobile .s11-raise__num{
  font-size:clamp(56px,18vw,100px);
}
body.deck-mobile .s11-raise__sym{
  font-size:clamp(28px,8.5vw,48px);
}
body.deck-mobile .s11-raise__unit{
  font-size:clamp(34px,10.5vw,66px);
}

/* Runway text: smaller for tight screens */
body.deck-mobile .s11-raise__runway{
  font-size:clamp(12px,3vw,15px);
  margin-top:6px;
}

/* Funds card: stack pie left and legend right (horizontal) so it
   is compact enough to not overflow on landscape (393px height) */
body.deck-mobile .s11-funds{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  padding:clamp(8px,1.5vh,12px) clamp(12px,2.5vw,16px);
}

/* Shrink pie on narrow screens */
body.deck-mobile .s11-pie{
  width:clamp(64px,16vw,96px);
  height:clamp(64px,16vw,96px);
}

/* Legend items: tighten gap */
body.deck-mobile .s11-legend{
  gap:6px;
  width:100%;
}

body.deck-mobile .s11-legend li{
  gap:4px 6px;
  align-items:center;
}

/* Legend text: smaller for mobile */
body.deck-mobile .s11-legend__text strong{
  font-size:clamp(10px,2.6vw,12px);
}
body.deck-mobile .s11-legend__desc{
  font-size:clamp(9px,2.2vw,10px);
}
body.deck-mobile .s11-legend__pct{
  font-size:clamp(12px,3vw,14px);
}

/* Bullets: tighter padding, 1-line clamp to prevent overflow */
body.deck-mobile .s11-bullets{
  gap:8px;
  padding:clamp(8px,1.2vh,12px) clamp(12px,2.5vw,14px);
}
body.deck-mobile .s11-bullets li{
  font-size:clamp(11px,2.8vw,13px);
  -webkit-line-clamp:2;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ══════════════════════════════════════════════
   TASK-R25 — Slide 13 Contact
   Reflow: centre content, ensure touch targets
   ══════════════════════════════════════════════ */

body.deck-mobile .s9-content{
  padding:var(--pill-reserve) 16px 16px;
  text-align:center;
}

body.deck-mobile .s9-contact a,
body.deck-mobile .s9-contact a:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  min-width:44px;
  padding:10px 16px;
  text-decoration:none;
  border-radius:8px;
}

body.deck-mobile .s9-big{
  font-size:clamp(28px,6vw,40px);
}

/* ──────────────────────────────────────────────
   C10 — Tap-target audit (≥ 44×44 across mobile)
   ────────────────────────────────────────────── */
body.deck-mobile .s2-team-nav,
body.deck-mobile .s2-team__thumb,
body.deck-mobile .s8-group-btn,
body.deck-mobile .s8-thumb,
body.deck-mobile .s8-mobile-chip,
body.deck-mobile .s9-contact a,
body.deck-mobile .nav-item{
  min-width:44px;
  min-height:44px;
}

