/* =====================================================================
   PHONE (<640px) — exact values from Figma "Home — Phone 375 · UI"
   Loaded last so these win.
   ===================================================================== */
.p{display:none}
@media (max-width:639px){
  .p{display:revert}span.p,small.p,b.p{display:inline}.np{display:none!important}
  ul.p{display:grid}
  /* rhythm */
  .section{padding:72px 0}
  .h2{font-size:28px;line-height:32px;letter-spacing:-.02em}
  .sub{font-size:14px;line-height:21px}
  .head{gap:12px;margin-bottom:24px;padding:0 20px}
  .container{padding:0 20px}
  .eyebrow{padding:6px 12px;font-size:11px;gap:8px}.eyebrow::before{width:7px;height:7px}

  /* announce + nav */
  .announce{font-size:11px;gap:10px;padding:10px 0;line-height:14px}
  .header{padding:12px 16px 0}
  .nav{height:55px;padding:8px 8px 8px 14px}
  .logo{font-size:22.3px;gap:10px}.logo__mark{width:36px;height:36px;border-radius:10px}
  .menu-btn{width:42px;height:37px;padding:0 12px;background:var(--ink)}.menu-btn span{background:#fff}

  /* hero */
  .hero{margin-top:-67px;padding-top:67px}
  .hero__copy{padding:36px 20px 0;gap:16px}
  .hero__copy .h-hero{font-size:36px;line-height:39px;letter-spacing:-.025em}
  .hero__copy .lead{font-size:15px;line-height:19px}
  .hero__copy .btn-row{gap:8px;padding-top:6px;margin-top:0;align-items:center}
  .hero__copy .btn{flex:none;padding:13px 18px;font-size:14px;line-height:18px;gap:8px}
  .hero__copy .btn--grad{width:163px}.hero__copy .btn--ghost{width:165px}
  .stage{height:286px;margin-top:0}
  .stage__canvas{inset:auto;top:0;left:50%;width:375px;height:286px;margin-left:-187.5px;transform:none}
  .stage__glow{left:58px;top:110px;width:260px;height:140px;transform:none;filter:blur(60px);background:rgba(180,156,255,.55)}
  .stage__main{left:58px;top:60px;width:300px;transform:none}
  .stage__side{display:none}
  .chip{white-space:nowrap}
  /* chips: tablet-size chips scaled down exactly as in Figma */
  .chip{padding:9px 14px 9px 9px;border-radius:16px;gap:10px;transform-origin:top left}
  .chip__ic{width:32px;height:32px;border-radius:10px}.chip__ic img{width:20px;height:20px}
  .chip b{font-size:17px}.chip small{font-size:11px}
  .chip--tl{left:60px;top:47px;right:auto;transform:scale(.56)}
  .chip--tr{left:260px;top:84px;right:auto;transform:scale(.56)}
  .chip--bl{left:78px;top:222px;right:auto;transform:scale(.53)}
  .chip--br{left:238px;top:212px;right:auto;transform:scale(.54)}
  .chip--bl small{font-size:0}.chip--bl small::after{content:"mins for UNICEF";font-size:11px}
  .trusted{gap:12px;padding:20px 0 40px}
  .trusted p{font-size:12px;line-height:15px}
  .trusted__logos{gap:28px;margin:0;padding:0 20px;width:100%}
  .trusted__logos img{height:26px;max-width:81px}

  /* numbers */
  .numbers{padding:24px 16px}
  .ribbon{padding:18px 4px;border-radius:22px}
  .stat{gap:5px;padding:2px}
  .stat__ic{width:28px;height:28px}.stat__ic img{width:16px;height:16px}
  .flags{height:28px}.flags img{width:24px;height:24px;border-width:1.5px}.flags img+img{margin-left:-7px}
  .stat b{font-size:20px;line-height:20px}.stat small{font-size:10px;line-height:13px}

  /* work */
  #work.section{padding:72px 0}
  #work .head-row{padding:0 20px;margin-bottom:24px}
  #work .head{padding:0;margin:0}
  .bento{gap:12px;padding:0 20px}
  .card--b,.card--c,.card--d,.card--e{display:none}
  .card{width:240px;height:440px;padding:22px 22px 0;border-radius:28px;display:flex;flex-direction:column;gap:8px}
  .card>.tag{align-self:flex-start;font-size:11px;padding:5px 10px}
  .card h3{margin:0}.card .h4{font-size:20px}.card p{font-size:13px;line-height:19px;max-width:none}
  .card .card__img{position:relative!important;width:196px!important;max-width:none;left:auto!important;right:auto!important;top:auto!important;bottom:auto;margin:auto auto 0}
  .card--feature{width:300px;padding:22px 22px 0;display:flex;flex-direction:column;gap:10px}
  /* Figma order: tags, title, text, badges, button */
  .card--feature .card__text{display:contents}
  .card--feature .card__text .tags{gap:6px}
  .card--feature .card__text .tag{font-size:11px;padding:5px 10px}
  .card--feature .h3{font-size:22px;line-height:28px}
  .card--feature .card__text p{font-size:13px;line-height:20px;width:256px;color:var(--ink-2)}
  .card--feature .card__text .btn{order:2;align-self:flex-start;padding:13px 18px;font-size:14px;position:relative;z-index:2}
  .badges{position:relative;flex-direction:row;margin:0;order:1;right:auto;top:auto}
  .badges img{width:56px;height:56px;border-width:2px}.badges img+img{margin:0 0 0 -10px}
  .card--feature .card__img{position:absolute!important;width:280px!important;left:40px!important;top:295px!important;margin:0}
  .go-btn{right:20px;bottom:20px;width:38px;height:38px}.go-btn img{width:15px}
  #work .dots{margin-top:24px}

  /* recognition */
  #about .head{margin-bottom:24px}
  .recog-cards{gap:12px;padding:0 20px}
  .rc{width:250px;height:250px;min-height:0;padding:16px 16px 18px;gap:12px;border-radius:22px}
  .rc .plate{height:80px;border-radius:14px}
  .rc--hi{background:#fff;border-color:var(--line)}
  .rc em{font-size:12px;line-height:15px}
  .stepper__tab.is-active .node img{filter:none}
  .stepper__tab.is-active .node::before{content:"";position:absolute;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.95)}
  .stepper__tab .node{position:relative}.stepper__tab .node img{position:relative}
  .rc b{font-size:17px;line-height:21px}
  .rc small{font-size:12px}
  .progress-row{margin-top:24px;gap:12px;padding:0 20px}
  .prog-count{font-size:12px;font-weight:500;color:var(--violet)}
  .progress{width:120px}

  /* how we work */
  #process .head{margin-bottom:24px}
  .stepper{margin-bottom:24px}
  .stepper__tab{gap:6px;font-size:11px}
  .stepper__tab .node{width:40px;height:40px}
  .stepper__tab.is-active .node{width:48px;height:48px}
  .stepper i{margin-top:24px;background:#E6E1F0}.stepper i:first-of-type{background:#C9B8FF}
  .step,.step:nth-child(n),.step:nth-of-type(n){padding:20px;border-radius:22px;gap:10px;height:auto!important;min-height:0!important}
  .step__top{gap:10px}.step__top b{font-size:30px}
  .step h3{font-size:20px;margin:-40px 0 0 46px}
  .step p{font-size:14px;line-height:21px;margin:0}
  .youget{margin-top:0;padding:10px 12px;border-radius:12px;font-size:13px}.youget small{font-size:10px;margin-bottom:2px}
  .principles{margin-top:24px;padding:16px;gap:14px 10px;border-radius:20px}
  .pr{gap:8px}.pr .mi{width:32px;height:32px;border-radius:10px}.pr .mi img{width:18px;height:18px}
  .pr b{font-size:12px;line-height:15px}

  /* services */
  #services .head{align-items:flex-start;text-align:left;margin-bottom:20px}
  #services .tabs{margin-bottom:20px;padding:4px;gap:4px}
  .tabs__btn{padding:10px 8px;font-size:13px}
  #services .container-bleed{padding:0 20px}
  .svc{padding:22px;gap:14px;border-radius:24px}
  .svc .mi--lg{width:48px;height:48px;border-radius:14px}.svc .mi--lg img{width:26px;height:26px}
  .svc__q{font-size:13px;margin:0;color:var(--muted)}
  .svc h3{font-size:22px;line-height:28px}
  .svc p{font-size:14px;line-height:21px}
  .svc .tags{margin:0;gap:6px}.tag--soft,.tag--more{font-size:12px;padding:6px 11px}
  .svc .btn{margin-top:0;padding:13px 18px;font-size:14px}

  /* industries */
  #industries .head{gap:16px;margin-bottom:20px;align-items:flex-start;text-align:left}
  #industries .tabs--inline{margin:0;padding:4px;gap:4px;width:100%}
  #industries .tabs--inline .tabs__btn{padding:10px 8px;font-size:13px}
  .ind__title{font-size:20px;line-height:25px;text-align:left;margin:0 0 20px;padding:4px 20px 0}
  .why{gap:12px;padding:0 20px}
  .why__card{width:250px;padding:18px;border-radius:20px}
  .why__t{font-size:14px;gap:10px;margin-bottom:12px}.why__t .mi{width:36px;height:36px;border-radius:10px}.why__t .mi img{width:20px;height:20px}
  .why ul{gap:12px}.why li{font-size:13px;line-height:19px;padding-left:14px}.why li::before{width:6px;height:6px;top:6px}
  .health{margin-top:20px}
  .health__head{padding:4px 20px 0;margin-bottom:10px}.health__head b{font-size:14px;font-weight:500}
  .health__row{gap:4px;padding:0 9px 0 17px}
  .hl{width:53px;height:40px;padding:6px;border-radius:8px;gap:2px;flex:none}
  .hl em{font-size:12.9px;line-height:13px}.hl b{font-size:4.3px;line-height:5px;letter-spacing:.06em}.hl small{font-size:4.7px;line-height:7px}
  .hl--p1{background:var(--grad)}.hl--p1 em,.hl--p1 b,.hl--p1 small{color:#fff;-webkit-text-fill-color:#fff;background:none}
  .projects-head{padding:8px 20px 0;margin:20px 0}
  .projects-head b{font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
  .projects-head a{font-size:13px}
  .projects{gap:12px;padding:0 20px}
  .proj{width:210px;height:190px;border-radius:20px;padding-bottom:14px;border:1px solid var(--line)}
  .proj__img{height:120px;padding-top:10px;margin:0}.proj__img img{height:110px}
  .proj b{font-size:14px;padding:12px 14px 0}
  .proj small{display:none}
  .metric{padding:4px 14px 0;font-size:11px}.metric em{font-size:16px}
  .proj .metric.p{display:flex}

  /* testimonials */
  #insights.section{padding:72px 0}
  #insights .head{margin-bottom:24px}
  .deck{padding:0 20px}
  .deck__stack{height:330px;max-width:335px}
  .deck__card{inset:20px 17px auto 17px;width:300px;height:290px;padding:14px 22px 22px}
  .deck__card .q__mark{font-size:56px;height:50px;line-height:50px}
  .deck__card p{font-size:18px;line-height:26px}
  .deck__card .person img{width:44px;height:44px}
  /* Figma rotates the back cards around their top-left corner */
  .deck__card[data-pos="1"]{height:280px;transform-origin:0 0;transform:translateY(-6px) rotate(4deg)}
  .deck__card[data-pos="2"]{height:280px;transform-origin:0 0;transform:translateY(4px) rotate(-6deg)}
  .deck__nav{margin-top:24px}
  .clients{margin-top:24px;gap:12px;padding:12px 20px 0}
  .clients p{font-size:12px}
  .logo-tile{width:120px;height:52px;border-radius:14px}.logo-tile img{max-width:84px;max-height:26px}
  .logo-marquee__row{gap:10px}

  /* CTA + footer */
  .end{padding:72px 20px 28px}
  .end .container{padding:0}
  .cta{gap:16px}
  .h-cta{font-size:32px;line-height:35px}
  .cta>p{font-size:14px;line-height:18px;max-width:300px}
  .cta .btn-row{width:auto}
  .cta .btn--grad{width:197px;padding:13px 18px;font-size:14px}
  .newsletter{margin-top:0;padding:6px 6px 6px 18px;max-width:none}
  .newsletter input{font-size:13px}
  .newsletter .btn{padding:13px 18px;font-size:14px}
  .end .foot{margin-top:48px;padding:28px 0 0;gap:20px}
  .end .foot::before{left:0;right:0}
  .logo--dark{font-size:17px;gap:8px}.logo--dark .logo__mark{width:29px;height:29px;border-radius:8px;padding:4px}
  .socials{gap:6px}.socials a{width:30px;height:30px}.soc{width:24px;height:24px}
  .fcol{border-bottom:1px solid rgba(255,255,255,.1)}
  .fcol summary{padding:16px 0;font-size:15px}
  .fcol summary::after{font-size:18px}
  .end .foot__bottom{padding:24px 0 0;font-size:11px}
  .end .foot__bottom>span:first-child{max-width:none}
}
